﻿/* ==========================================================================
   reper.css - Single comprehensive stylesheet for REPER Democratic
   Replaces Tailwind CSS + base.css + individual component stylesheets.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("/static/fonts/sora-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Playwright hero audit follow-up: keep Despre as the reference, but relax
   aggressive title locks on pages whose copy is naturally longer. */
@media (min-width: 1280px) {
  .body-homepage .page-hero-title,
  .body-map .page-hero-title,
  .body-champions .page-hero-title {
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .body-homepage .fig-home-title {
    max-width: 13.5ch !important;
    font-size: clamp(2.95rem, 4.4vw, 4.05rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.045em !important;
  }

  .body-homepage .fig-home-title-line {
    white-space: nowrap !important;
  }

  .body-homepage .fig-home-summary {
    max-width: 29rem !important;
    font-size: 1.02rem !important;
    line-height: 1.55 !important;
  }

  .body-map .map-hero-title {
    max-width: 15.4ch !important;
    font-size: clamp(2.6rem, 3.6vw, 3.3rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
  }

  .body-map .map-hero-title-line {
    white-space: nowrap !important;
  }

  .body-map .map-hero-text {
    max-width: 28rem !important;
  }

  .body-champions .champions-hero-title {
    max-width: 13.2ch !important;
    font-size: clamp(2.8rem, 4vw, 3.7rem) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.045em !important;
  }

  .body-champions .champions-hero-title-line {
    white-space: nowrap !important;
  }

  .body-champions .champions-hero-summary {
    max-width: 29rem !important;
  }
}

/* Despre remains the master hero reference and must not inherit the more
   aggressive title clipping used while aligning the other public pages. */
@media (min-width: 1280px) {
  .body-about .page-hero-title,
  .body-about .about-title {
    width: 560px !important;
    max-width: 560px !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    font-size: clamp(2.55rem, 3.35vw, 3.45rem) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.05em !important;
    margin: 0 0 24px !important;
  }

  .body-about .about-title-line {
    display: block !important;
    white-space: nowrap !important;
  }

  .body-about .about-title-line-brand {
    display: inline-flex !important;
    gap: 0.24rem !important;
    align-items: baseline !important;
  }

  .body-about .page-hero-summary,
  .body-about .about-summary {
    width: 560px !important;
    max-width: 29rem !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .body-about .page-hero-actions,
  .body-about .about-hero-actions {
    width: auto !important;
    max-width: none !important;
    justify-content: flex-start !important;
    margin-top: 0 !important;
  }
}

/* TRUE REAL EOF homepage hero vertical centering fix */
@media (min-width: 1280px) {
  .body-homepage .fig-home-hero-grid {
    align-items: center !important;
  }

  .body-homepage .fig-home-visual {
    align-self: center !important;
    align-items: center !important;
    align-content: center !important;
  }

  .body-homepage .fig-home-visual-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important;
  }

  .body-homepage .fig-home-community-footer {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* Final grassroots hero title lock: keep the heading on exactly two lines on desktop. */
.body-grassroots .grassroots-browser-title {
  max-width: 15.5ch !important;
}

.body-grassroots .grassroots-browser-title-line-primary {
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  .body-grassroots .grassroots-browser-title {
    max-width: 100% !important;
  }

  .body-grassroots .grassroots-browser-title-line-primary {
    white-space: normal !important;
  }
}

/* Final grassroots list layout lock: filters full-width on top, cards below. */
.body-grassroots .grassroots-browser-list-shell {
  display: block !important;
}

.body-grassroots .grassroots-browser-filter-card {
  display: grid !important;
  width: 100% !important;
}

.body-grassroots .grassroots-browser-zone-toolbar,
.body-grassroots #grassroots-results {
  width: 100% !important;
}

.body-grassroots .map-zone-toolbar-grid {
  grid-template-columns: 1fr !important;
}

.body-grassroots .grassroots-browser-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 900px) {
  .body-grassroots .grassroots-browser-filter-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Absolute final hero primary CTA width contract */
.body-homepage .fig-home-btn-primary,
.body-consultations .public-list-btn-primary,
.body-grassroots .public-list-btn-primary,
.body-champions .fig-home-btn-primary,
.body-about .about-hero .about-btn-primary,
.body-map .map-hero-btn-primary,
.body-events .events-browser-primary {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  flex: 0 0 250px !important;
  justify-content: center !important;
  text-align: center !important;
}

@media (min-width: 768px) {
  .body-about,
  .body-consultations,
  .body-grassroots,
  .body-champions,
  .body-map,
  .body-events,
  .body-about .main-full-bleed,
  .body-consultations .main-full-bleed,
  .body-grassroots .main-full-bleed,
  .body-champions .main-full-bleed,
  .body-map .main-full-bleed,
  .body-events .main-full-bleed {
    background: #f1f2ef !important;
  }

  .body-about .about-hero,
  .body-consultations .public-list-hero,
  .body-grassroots .public-list-hero,
  .body-champions .fig-home-hero,
  .body-map .map-hero-section,
  .body-events .events-browser-hero {
    background:
      radial-gradient(circle at 22% 14%, rgba(62, 184, 164, 0.04), transparent 7.5%),
      radial-gradient(circle at 45% 67%, rgba(247, 181, 0, 0.05), transparent 3.2%),
      radial-gradient(circle at 88% 18%, rgba(62, 184, 164, 0.04), transparent 3.8%),
      radial-gradient(circle at 13% 58%, rgba(78, 158, 76, 0.08), transparent 2.2%),
      radial-gradient(circle at 72% 78%, rgba(62, 184, 164, 0.08), transparent 2.1%),
      radial-gradient(circle at 2.8% 27%, rgba(247, 181, 0, 0.42) 0 0.34%, rgba(247, 181, 0, 0.16) 0.72%, rgba(247, 181, 0, 0.06) 1.18%, transparent 1.95%),
      radial-gradient(circle at 57% 38%, rgba(62, 184, 164, 0.42) 0 0.34%, rgba(62, 184, 164, 0.16) 0.72%, rgba(62, 184, 164, 0.06) 1.18%, transparent 1.95%),
      radial-gradient(circle at 41% 79%, rgba(78, 158, 76, 0.42) 0 0.34%, rgba(78, 158, 76, 0.16) 0.72%, rgba(78, 158, 76, 0.06) 1.18%, transparent 1.95%),
      radial-gradient(circle at 76% 21%, rgba(62, 184, 164, 0.4) 0 0.28%, rgba(62, 184, 164, 0.16) 0.62%, rgba(62, 184, 164, 0.06) 1.06%, transparent 1.8%),
      radial-gradient(circle at 69% 88%, rgba(247, 181, 0, 0.38) 0 0.26%, rgba(247, 181, 0, 0.16) 0.6%, rgba(247, 181, 0, 0.05) 1.02%, transparent 1.72%),
      linear-gradient(180deg, #ffffff, #f7f8f6) !important;
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  .body-map .map-hero-section {
    min-height: 600px !important;
  }

  .body-consultations .public-list-filter-wrap,
  .body-grassroots .public-list-filter-wrap,
  .body-champions #champions-filters,
  .body-map .map-layout-section,
  .body-events .events-browser-filter-bar,
  .body-about .about-section {
    background: #f1f2ef !important;
    margin-top: 0 !important;
    border-top: 0 !important;
  }

  .body-consultations .consultation-browser-hero-shell,
  .body-grassroots .grassroots-browser-hero-shell,
  .body-about .about-hero-grid,
  .body-map .map-hero-layout,
  .body-events .events-browser-hero-grid {
    min-height: 483px !important;
  }

  .body-consultations .consultation-browser-visual-card,
  .body-grassroots .grassroots-browser-visual-card {
    gap: 0.4rem !important;
  }

  .body-consultations .consultation-browser-stats-side,
  .body-grassroots .grassroots-browser-stats-side {
    gap: 0.6rem !important;
  }

  .body-consultations .consultation-browser-stat-card,
  .body-grassroots .grassroots-browser-stat-card {
    padding: 0.72rem 0.85rem !important;
  }

  .body-consultations .consultation-browser-heading-art,
  .body-grassroots .grassroots-browser-hero-image {
    max-height: 384px !important;
  }

  .body-champions .fig-home-hero-fade {
    display: none !important;
  }

  .body-champions .fig-home-hero {
    padding-top: 69px !important;
    padding-bottom: 69px !important;
  }
}

@font-face {
  font-family: "Sora";
  src: url("/static/fonts/sora-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/static/fonts/sora-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ==========================================================================
   Section 1: Custom Properties (:root)
   ========================================================================== */
:root {
  --albastru: #2D79B7;
  --brand-100: #d1f0ea;
  --brand-200: #a3dbc4;
  --brand-300: #6ec5a4;
  --brand-400: #3EB8A4;
  --brand-50: #f0faf8;
  --brand-500: #319C8B;
  --brand-600: #278375;
  --brand-700: #1F695E;
  --brand-800: #19544B;
  --brand-900: #14433C;
  --brand-950: #0C2D28;
  --civic-amber: #F7B500;
  --civic-green: #4E9E4C;
  --color-bg: #f9fafb;
  --color-bg-muted: #f3f4f6;
  --color-border: #e5e7eb;
  --color-border-muted: #f3f4f6;
  --color-text: #1a1a1a;
  --color-text-muted: #6b7280;
  --font-family-base: system-ui, -apple-system, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-xs: 0.75rem;
  --galben: #F7B500;
  --gri: #B0ACA5;
  --portocaliu: #E67821;
  --radius-lg: 0.5rem;
  --radius-md: 0.375rem;
  --radius-sm: 0.25rem;
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --spacing-lg: 1.5rem;
  --spacing-md: 1rem;
  --spacing-sm: 0.5rem;
  --spacing-xl: 2rem;
  --spacing-xs: 0.25rem;
  --terracotta: #E35336;
  --turcoaz: #3EB8A4;
  --verde: #4E9E4C;
}

@media (min-width: 768px) {
  .fig-home-btn,
  .public-list-btn,
  .body-about .about-hero .about-btn,
  .map-hero-btn,
  .events-browser-primary,
  .events-browser-secondary {
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 1.25rem !important;
    font-size: 14px !important;
    line-height: 21px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .fig-home-btn span,
  .public-list-btn span,
  .body-about .about-hero .about-btn span,
  .map-hero-btn span,
  .events-browser-primary span,
  .events-browser-secondary span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

@media (min-width: 768px) {
  .fig-home-btn,
  .public-list-btn,
  .body-about .about-hero .about-btn,
  .map-hero-btn,
  .events-browser-primary,
  .events-browser-secondary {
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 1.25rem !important;
    font-size: 14px !important;
    line-height: 21px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .fig-home-btn span,
  .public-list-btn span,
  .body-about .about-hero .about-btn span,
  .map-hero-btn span,
  .events-browser-primary span,
  .events-browser-secondary span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

/* Final hero CTA sizing contract */
@media (min-width: 768px) {
  .fig-home-btn,
  .public-list-btn,
  .body-about .about-hero .about-btn,
  .map-hero-btn,
  .events-browser-primary,
  .events-browser-secondary {
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 1.25rem !important;
    font-size: 14px !important;
    line-height: 21px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .fig-home-btn span,
  .public-list-btn span,
  .body-about .about-hero .about-btn span,
  .map-hero-btn span,
  .events-browser-primary span,
  .events-browser-secondary span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

/* ---------- Dark mode (system preference) ---------- */
@media (prefers-color-scheme: dark) {
:root {
  color-scheme: dark;

  /* Semantic surfaces */
  --color-bg:            #111827;
  --color-bg-muted:      #1f2937;
  --color-bg-white:      #1f2937;
  --color-text:          #f9fafb;
  --color-text-muted:    #9ca3af;
  --color-text-secondary:#d1d5db;
  --color-border:        #374151;
  --color-border-muted:  #374151;

  /* Brand - nav/footer backgrounds need darkening */
  --brand-50:  #0C2D28;
  --brand-100: #14433C;
  --brand-200: #d7f3e8;
  --brand-300: #a3dbc4;
  --brand-500: #319C8B;
  --brand-600: #278375;
  --brand-800: #19544B;
  --brand-950: #071f1c;

  /* Gray scale inversion */
  --color-gray-50:  #1f2937;
  --color-gray-100: #374151;
  --color-gray-200: #4b5563;
  --color-gray-300: #6b7280;
  --color-gray-400: #9ca3af;
  --color-gray-500: #9ca3af;
  --color-gray-600: #d1d5db;
  --color-gray-700: #e5e7eb;
  --color-gray-800: #f9fafb;

  /* Status color backgrounds */
  --color-green-50: #052e16;  --color-green-100: #14532d;
  --color-red-50:   #450a0a;  --color-red-100:   #7f1d1d;
  --color-blue-50:  #172554;  --color-blue-100:  #1e3a5f;
  --color-yellow-50:#422006;  --color-yellow-100:#713f12;
  --color-amber-50: #451a03;  --color-amber-100: #78350f;
  --color-purple-100:#3b0764;
  --color-emerald-100:#064e3b;
  --color-indigo-100:#312e81;
  --color-cyan-100: #164e63;

  /* Text colors on dark badges */
  --color-green-500: #22c55e; --color-green-600: #4ade80; --color-green-700: #86efac; --color-green-800: #bbf7d0;
  --color-red-500: #ef4444; --color-red-600: #f87171; --color-red-700: #fca5a5; --color-red-800: #fecaca;
  --color-blue-600: #60a5fa; --color-blue-700: #93c5fd; --color-blue-800: #bfdbfe;
  --color-yellow-600: #facc15; --color-yellow-700: #fde047; --color-yellow-800: #fde68a;
  --color-amber-600: #f59e0b; --color-amber-700: #fbbf24; --color-amber-800: #fcd34d;
  --color-purple-600: #c084fc; --color-purple-700: #d8b4fe; --color-purple-800: #e9d5ff;
  --color-emerald-600: #34d399; --color-emerald-700: #6ee7b7; --color-emerald-800: #a7f3d0;
  --color-indigo-600: #818cf8; --color-indigo-700: #a5b4fc; --color-indigo-800: #c7d2fe;
  --color-cyan-600: #22d3ee; --color-cyan-700: #67e8f9; --color-cyan-800: #a5f3fc;

  /* Brand colors for headings/sections in dark mode */
  --brand-700: #6ec5a4;
  --brand-900: #a3dbc4;

  /* Shadows - stronger on dark backgrounds */
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -4px rgba(0,0,0,0.3);

  /* Shell + homepage semantic tokens */
  --surface-shell: rgba(12, 23, 21, 0.82);
  --surface-shell-border: rgba(163, 219, 196, 0.12);
  --surface-hero:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(52, 211, 153, 0.2), transparent 32%),
    linear-gradient(135deg, #091816 0%, #0c2d28 46%, #102b40 100%);
  --surface-hero-card: rgba(15, 23, 31, 0.72);
  --surface-home-alt: linear-gradient(180deg, rgba(17, 27, 35, 0.95), rgba(12, 23, 21, 0.92));
  --surface-home-dark:
    radial-gradient(circle at top left, rgba(110, 197, 164, 0.12), transparent 32%),
    linear-gradient(135deg, #081513 0%, #0c2d28 48%, #0a1824 100%);
  --surface-newsletter: linear-gradient(135deg, #11362f 0%, #17486f 100%);
  --color-shell-text: #eff6f4;
  --color-shell-muted: #c0d4ce;
  --color-shell-border: rgba(255, 255, 255, 0.08);
  --color-display: #f4fbf8;
  --color-display-inverse: #f8fafc;
  --color-cta-primary-bg: var(--color-accent-green);
  --color-cta-primary-hover: #256530;
  --color-cta-secondary-bg: rgba(15, 23, 31, 0.72);
  --color-cta-secondary-border: rgba(147, 197, 253, 0.18);
  --color-cta-secondary-text: #eff6ff;
  --color-home-tag-bg: rgba(15, 23, 31, 0.75);
  --color-home-tag-text: #d2ecff;
  --color-home-card-border: rgba(255, 255, 255, 0.08);
  --shadow-shell: 0 18px 45px -28px rgba(0, 0, 0, 0.72);
}

@supports (backdrop-filter: blur(12px)) {
  html .nav-bar {
    background: hsl(168 20% 8% / 0.7);
  }
}

html select,
html .form-select {
  background: var(--color-bg-white);
  color: var(--color-text);
  border-color: var(--color-border);
}

html select option {
  background: var(--color-bg-white);
  color: var(--color-text);
}

html .detail-header {
  background: #0c2d28;
  color: #f8fafc;
}

html .detail-header .text-muted {
  color: #d7f3e8;
}

html :is(.detail-header, .surface-hero-card) .glass-inset {
  background: rgba(15, 23, 31, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
  color: #f8fafc;
}

html :is(.detail-header, .surface-hero-card) .glass-inset :is(.surface-card-label, .text-muted) {
  color: #d7f3e8;
}

html .status-box {
  background: rgba(12, 45, 40, 0.82);
  border-left-color: #6ec5a4;
}

html :is(.lifecycle-dot-future, .lifecycle-dot-future-muted) {
  background: #374151;
  border: 1px solid rgba(248, 250, 252, 0.18);
  color: #f8fafc;
}

html :is(.lifecycle-connector-future, .lifecycle-mobile-line-future) {
  background: #4b5563;
}

html :is(.map-pin-count, .map-status-normal) {
  background: rgba(31, 41, 55, 0.9);
  color: var(--color-text);
}

html .map-filter-toggle {
  background: var(--color-bg-white);
  color: var(--color-text);
}

html .map-hero-section {
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.18), transparent 32%),
    linear-gradient(135deg, #091816 0%, #0c2d28 48%, #10263a 100%);
}

html :is(.map-kicker, .map-sidebar, .map-frame, .map-result-card, .map-empty-state) {
  background: rgba(15, 23, 31, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
}

html :is(.map-kicker, .map-results-count, .theme-tone-green.is-active, .theme-tone-teal.is-active, .theme-tone-blue.is-active, .theme-tone-amber.is-active) {
  box-shadow: none;
}

html .map-kicker {
  color: #d8f3ee;
}

html :is(.map-sidebar-title, .map-frame-title, .map-results-title, .map-filter-title, .map-result-title a, .popup-title) {
  color: var(--color-display);
}

html :is(.map-hero-text, .map-filter-copy, .map-legend-title, .map-legend-item, .map-zoom-hint, .map-result-summary, .map-result-meta, .popup-summary, .popup-meta) {
  color: var(--color-text-secondary);
}

html :is(.map-zone-select, .map-theme-chip, .map-checkbox-card) {
  background: rgba(17, 27, 35, 0.92);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.08);
}

html :is(.map-frame-header, .map-frame-footer) {
  border-color: rgba(255, 255, 255, 0.08);
}

html :is(.map-result-status, .popup-badge) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
}

html .map-results-count {
  background: rgba(62, 184, 164, 0.16);
  color: #b9f3e8;
}

html :is(.map-filter-toggle, .map-sidebar-close) {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(17, 27, 35, 0.94);
  color: var(--color-text);
}

html .popup-type.popup-tone-consultation { color: #86efac; }
html .popup-type.popup-tone-grassroots { color: #67e8f9; }
html .popup-type.popup-tone-event { color: #fbbf24; }

html .map-marker {
  border-color: rgba(15, 23, 31, 0.92);
}

html .nav-mobile {
  background: rgba(10, 16, 24, 0.92);
}

html .nav-auth-btn:hover {
  background: rgba(26, 35, 49, 0.92);
}

html .nav-search-input {
  background: rgba(15, 23, 31, 0.78);
}

html .nav-search-input:focus {
  background: rgba(15, 23, 31, 0.92);
}

html .home-hero-floating {
  background: rgba(15, 23, 31, 0.88);
  color: #f8fafc;
}

html .home-floating-label {
  color: #c0d4ce;
}

html .home-hero-image {
  mix-blend-mode: normal;
  opacity: 0.94;
}

html .home-callout-card {
  background: linear-gradient(180deg, rgba(45, 121, 183, 0.12), rgba(78, 158, 76, 0.12));
}
}


/* ==========================================================================
   Section 2: Reset / Normalize
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-family-base); color: var(--color-text); line-height: 1.5; -webkit-font-smoothing: antialiased; background: var(--color-bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:not([class]) {
  color: var(--brand-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}
a:not([class]):hover { color: var(--brand-900); }
:is(
  .card-title,
  .public-card-title,
  .fig-home-card-title,
  .fig-home-consultation-title,
  .fig-home-proposal-title,
  .events-browser-card-title,
  .champion-name,
  .map-result-title
) a {
  color: inherit;
  text-decoration: none;
}
:is(
  .card-title,
  .public-card-title,
  .fig-home-card-title,
  .fig-home-consultation-title,
  .fig-home-proposal-title,
  .events-browser-card-title,
  .champion-name,
  .map-result-title
) a:hover {
  color: var(--color-accent-blue);
  text-decoration: none;
}

/* ==========================================================================
   Section 3: Layout
   ========================================================================== */

/* Body layout */
.body-layout { display: flex; flex-direction: column; min-height: 100vh; background: var(--color-bg); color: var(--color-text); }

/* Navigation */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2400;
  color: var(--color-shell-text);
  background: var(--surface-shell);
  border-bottom: 1px solid var(--surface-shell-border);
  box-shadow: var(--shadow-shell);
}
.nav-inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--shell-nav-height);
}

/* Frosted glass (Josh Comeau technique) */
.nav-backdrop {
  position: absolute; inset: 0;
  -webkit-backdrop-filter: blur(6px) saturate(1.8);
  backdrop-filter: blur(6px) saturate(1.8);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1) 100%);
  pointer-events: none;
}
.nav-backdrop-edge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px) brightness(1.1);
  backdrop-filter: blur(8px) brightness(1.1);
  transform: translateY(100%);
  pointer-events: none;
}
@supports (backdrop-filter: blur(6px)) or (-webkit-backdrop-filter: blur(6px)) {
  .nav-bar { background: var(--surface-shell); }
}
@supports (mask-image: none) or (-webkit-mask-image: none) {
  .nav-backdrop {
    height: 200%;
    -webkit-mask-image: linear-gradient(to bottom, black 0% 50%, transparent 50%);
    mask-image: linear-gradient(to bottom, black 0% 50%, transparent 50%);
  }
}
.nav-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-family-display);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s;
}
.nav-logo:hover { opacity: 0.9; }
.nav-logo-mark {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent-green);
  text-transform: uppercase;
}
.nav-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-shell-text);
}
.nav-links { display: none; align-items: center; gap: 0.4rem; font-size: var(--font-size-sm); font-weight: 500; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-shell-text);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
  border-radius: var(--radius-full);
  padding: 0.55rem 0.85rem;
}
.nav-link:hover { color: var(--color-accent-blue); background: rgba(45, 121, 183, 0.08); text-decoration: none; }
.nav-link-indicator {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent-green), var(--color-accent-blue));
  flex-shrink: 0;
}
.nav-link-label { display: inline-block; }
.nav-search { display: none; align-items: center; }
.nav-search-input {
  width: 11rem;
  padding: 0.65rem 0.75rem 0.65rem 2.25rem;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-shell-text);
  border: 1px solid var(--color-shell-border);
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.nav-search-input::placeholder { color: var(--color-shell-muted); }
.nav-search-input:focus { outline: none; border-color: var(--color-accent-blue); box-shadow: 0 0 0 3px rgba(45, 121, 183, 0.16); background: rgba(255, 255, 255, 0.9); }
.nav-search-icon { position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--color-shell-muted); }
.nav-auth { display: flex; align-items: center; gap: 1rem; }
.nav-user { display: none; font-size: var(--font-size-sm); color: var(--color-shell-muted); text-decoration: none; transition: color 0.15s; border-radius: var(--radius-sm); }
.nav-user:hover { color: var(--color-shell-text); }
.nav-auth-btn {
  font-size: var(--font-size-sm);
  background: var(--color-cta-secondary-bg);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--color-shell-text);
  border: 1px solid var(--color-cta-secondary-border);
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s;
}
.nav-auth-btn:hover { background: rgba(255, 255, 255, 0.95); border-color: rgba(45, 121, 183, 0.28); text-decoration: none; transform: translateY(-1px); }
.nav-hamburger { display: block; padding: 0.25rem; border-radius: var(--radius-sm); background: none; border: none; cursor: pointer; color: inherit; transition: background-color 0.15s; }
.nav-hamburger:hover { background: rgba(255, 255, 255, 0.18); }
.nav-hamburger svg { width: 1.5rem; height: 1.5rem; }
.nav-mobile { position: relative; z-index: 1; display: none; border-top: 1px solid var(--surface-shell-border); background: rgba(255, 255, 255, 0.88); }
.nav-mobile-links { display: flex; flex-direction: column; padding: 0.75rem 1rem; gap: 0.25rem; font-size: var(--font-size-sm); font-weight: 500; list-style: none; margin: 0; }
.nav-mobile-link { display: block; padding: 0.65rem 0.25rem; color: var(--color-shell-text); text-decoration: none; transition: color 0.15s; border-radius: var(--radius-sm); }
.nav-mobile-link:hover { color: var(--color-accent-blue); text-decoration: none; }
.nav-mobile-profile { padding: 0 1rem 0.75rem; }
.nav-hidden { display: none; }

/* Global site header based on the /despre/ topbar */
.about-shell-hero {
  width: var(--page-hero-shell-width);
  margin: 0 auto;
}
.about-shell-wide {
  width: min(100% - 3rem, 87.4167rem);
  margin: 0 auto;
}
.fig-home-hero > .fig-home-shell,
.public-list-hero > .public-list-shell,
.surface-hero > .surface-shell,
.map-hero-section > .home-container,
.body-about .about-hero > .about-shell-wide {
  width: var(--page-hero-shell-width);
  max-width: none;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
.about-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 3000;
  height: 4.6rem;
  border-bottom: 1px solid rgba(176, 172, 165, 0.3);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.about-topbar-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.about-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.about-topbar-mark {
  display: block;
  width: 2.85rem;
  height: 2.85rem;
  flex-shrink: 0;
}
.about-topbar-brand-text {
  display: inline-flex;
  gap: 0.28rem;
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.about-topbar-brand-text span:first-child { color: #2d79b7; }
.about-topbar-brand-text span:last-child { color: #4e9e4c; }
.about-topbar-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.about-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  color: #314158;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.about-topbar-link:hover {
  color: #2d79b7;
  text-decoration: none;
}
.about-topbar-link-active {
  background: rgba(45, 121, 183, 0.08);
}
.about-topbar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.12);
}
.about-topbar-badge-green { background: #2f7c39; color: white; }
.about-topbar-badge-amber { background: #f7b500; color: #0f172b; }
.about-topbar-badge-blue { background: #2d79b7; color: white; }
.about-topbar-badge-orange { background: #e67821; color: #0f172b; }
.about-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.about-topbar-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.about-topbar-search {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  border: 1px solid #2d79b7;
  border-radius: 0.45rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(45, 121, 183, 0.12);
  line-height: 1;
}
.about-topbar-search input {
  width: 7rem;
  height: 1.9rem;
  border: none;
  border-radius: 0;
  background: #ffffff;
  padding: 0 0.55rem;
  color: #314158;
  font-size: 0.78rem;
}
.about-topbar-search input::placeholder {
  color: #9aa7ba;
}
.about-topbar-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  width: 2rem;
  padding: 0;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: #2d79b7;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.about-topbar-search-submit:hover {
  background: #24689f;
}
.about-topbar-search-submit svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}
.about-topbar-login,
.about-topbar-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0 0.95rem;
  border-radius: 0.65rem;
  background: #2d79b7;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(45, 121, 183, 0.18);
}
.about-topbar-login:hover,
.about-topbar-logout:hover {
  color: white;
  text-decoration: none;
}
.about-topbar-logout {
  border: 1px solid rgba(49, 65, 88, 0.16);
  background: #ffffff;
  color: #314158;
  box-shadow: none;
}
.about-topbar-logout:hover {
  background: #f8fafc;
  color: #2d79b7;
}
.about-topbar-menu {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(176, 172, 165, 0.4);
  border-radius: 0.75rem;
  background: #fafaf9;
  color: #314158;
  cursor: pointer;
}
.about-topbar-menu svg {
  width: 1.25rem;
  height: 1.25rem;
}
.about-topbar-mobile {
  display: none;
  border-top: 1px solid rgba(176, 172, 165, 0.3);
  background: rgba(255, 255, 255, 0.98);
}
.about-topbar-mobile-inner {
  padding: 0.75rem 0 1rem;
}
.about-topbar-mobile-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.about-topbar-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.1rem;
  color: #314158;
  text-decoration: none;
  font-weight: 600;
}
.about-topbar-mobile-link:hover {
  color: #2d79b7;
  text-decoration: none;
}

/* Main content */
.main-content { flex: 1; max-width: 80rem; width: 100%; margin: 0 auto; padding: calc(var(--shell-nav-height) + 1.5rem) 1rem 3rem; }
.main-full-bleed { flex: 1; padding-top: var(--shell-nav-height); }

/* Footer */
.site-footer { background: linear-gradient(180deg, #0d211f, #102b40); color: #f8fafc; margin-top: auto; }
.footer-shell { max-width: 80rem; margin: 0 auto; padding: 2.75rem 1rem 1.5rem; display: grid; gap: 2rem; }
.footer-brand { display: grid; gap: 0.9rem; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; width: fit-content; }
.footer-logo .about-topbar-mark { width: 3rem; height: 3rem; }
.footer-logo-text { font-family: var(--font-family-display); font-size: 1.05rem; font-weight: 700; color: #f8fafc; }
.about-topbar-brand-footer .about-topbar-mark,
.consultation-browser-footer-logo .about-topbar-mark,
.events-browser-footer-logo .about-topbar-mark,
.initiative-browser-footer-logo .about-topbar-mark {
  width: 3rem;
  height: 3rem;
}
.footer-summary { max-width: 30rem; color: rgba(248, 250, 252, 0.78); margin: 0; }
.footer-newsletter-link { width: fit-content; color: #d2ecff; text-decoration: none; border-bottom: 1px solid rgba(210, 236, 255, 0.35); padding-bottom: 0.15rem; }
.footer-newsletter-link:hover { color: #ffffff; text-decoration: none; }
.footer-columns { display: grid; gap: 1.5rem; }
.footer-column { display: grid; gap: 0.85rem; }
.footer-heading { margin: 0; font-family: var(--font-family-display); font-size: var(--font-size-base); font-weight: 700; color: #f8fafc; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-links a { color: rgba(248, 250, 252, 0.78); text-decoration: none; }
.footer-links a:hover { color: #ffffff; text-decoration: none; }
.footer-note { margin: 0; color: rgba(248, 250, 252, 0.74); max-width: 22rem; }
.footer-meta { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-copyright { color: rgba(248, 250, 252, 0.68); margin: 0; }
.footer-meta-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-meta-links a { color: #d2ecff; text-decoration: none; }
.footer-meta-links a:hover { color: #ffffff; text-decoration: none; }

/* Container */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 28rem; margin: 0 auto; }
.container-md { max-width: 42rem; margin: 0 auto; }
.container-lg { max-width: 64rem; margin: 0 auto; }

/* Grid */
.grid-1 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-2-gap-lg { display: grid; grid-template-columns: 1fr; gap: 2rem; }

/* Responsive */
@media (min-width: 640px) {
  .nav-user { display: inline; }
  .grid-2-sm { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-search { display: flex; }
  .nav-hamburger { display: none; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .nav-search-input { width: 15rem; }
  .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-meta { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-shell { grid-template-columns: minmax(16rem, 1.15fr) minmax(0, 2fr); align-items: start; }
}
@media (max-width: 1199px) {
  .about-topbar {
    height: auto;
  }
  .about-topbar-inner {
    padding: 0.9rem 0;
  }
  .about-topbar-links,
  .about-topbar-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 899px) {
  .about-shell-hero {
    width: var(--page-hero-shell-width-mobile);
  }
  .about-shell-wide {
    width: min(100% - 1.5rem, 100%);
  }
  .fig-home-hero > .fig-home-shell,
  .public-list-hero > .public-list-shell,
  .surface-hero > .surface-shell,
  .map-hero-section > .home-container,
  .body-about .about-hero > .about-shell-wide {
    width: var(--page-hero-shell-width-mobile);
  }
  .about-topbar-links {
    display: none;
  }
  .about-topbar-search {
    width: 100%;
  }
  .about-topbar-search input {
    flex: 1 1 auto;
    width: auto;
  }
  .about-topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .about-topbar-login {
    width: 100%;
  }
  .about-topbar-menu {
    display: inline-flex !important;
    width: 100%;
  }
  .about-topbar-mobile:not(.nav-hidden) {
    display: block;
  }
}

/* ==========================================================================
   Section 4: Hero / Map
   ========================================================================== */

/* Hero section (landing, vision, etc.) */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 0; }
.hero-title { font-family: var(--font-family-display); font-size: var(--font-size-4xl); font-weight: 800; color: var(--brand-900); line-height: 1.1; }
.hero-subtitle { margin-top: 1rem; font-size: var(--font-size-lg); color: var(--color-text-muted); max-width: 42rem; }

/* Detail header (dark pine green) */
.detail-header { background: var(--brand-900); color: #fff; width: 100%; padding-top: calc(var(--shell-nav-height) + 1rem); }
.detail-header .section-heading,
.detail-header .page-title { color: inherit; }
.detail-header .text-muted { color: var(--brand-200); }
.detail-header .tag-zone,
.detail-header .tag-theme { background: var(--brand-800); color: var(--brand-100); border-color: var(--brand-700); }
.detail-header-inner { max-width: 56rem; margin: 0 auto; padding: 0 1rem; }
.detail-body { max-width: 56rem; margin: 0 auto; padding: 2rem 1rem; display: flex; flex-direction: column; gap: 2.5rem; }

/* Hero map */
.hero-map-section { position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.hero-map-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-map-svg { position: absolute; top: 0; bottom: 0; }
.glass-card { position: relative; z-index: 10; padding: 2em; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); background: rgba(128,128,128,0.1); border: 1.5px solid; border-color: rgba(255,255,255,0.7) rgba(160,160,160,0.4) rgba(160,160,160,0.4) rgba(255,255,255,0.7); border-radius: 1em; }
.glass-inset { border: 1px solid; border-color: rgba(160,160,160,0.4) rgba(255,255,255,0.7) rgba(255,255,255,0.7) rgba(160,160,160,0.4); border-radius: 0.5em; padding: 1em; margin-top: 1rem; }
.detail-header .glass-card { background: rgba(15, 35, 30, 0.65); }
.detail-header .glass-inset { background: rgba(255, 255, 255, 0.08); }

@media (min-width: 768px) {
  .hero { padding: 7rem 0; }
  .hero-title { font-size: var(--font-size-5xl); }
  .hero-subtitle { font-size: var(--font-size-xl); }
}

/* ==========================================================================
   Section 5: Cards
   ========================================================================== */
.card { background: var(--color-bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; transition: box-shadow 0.15s; }
.card:hover { box-shadow: var(--shadow-md); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.card-title { font-family: var(--font-family-display); font-size: var(--font-size-lg); font-weight: 600; color: var(--brand-900); line-height: 1.3; text-decoration: none; }
.card-title:hover { text-decoration: underline; }
.card-summary { font-size: var(--font-size-sm); color: var(--color-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.card-meta { font-size: var(--font-size-xs); color: var(--color-gray-500); }
.card-xl { border-radius: var(--radius-xl); padding: 2rem; border-width: 2px; }
.card-blue { border-color: var(--color-blue-100); }
.card-green { border-color: var(--color-green-100); }
.card-info { background: var(--color-bg-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-sm); }
.card-info-title { font-size: var(--font-size-sm); font-weight: 600; color: var(--brand-700); margin-bottom: 0.25rem; }
.card-info-text { font-size: var(--font-size-sm); color: var(--color-text-muted); }

/* Pathway cards on landing */
.pathway-label { display: inline-block; padding: 0.25rem 0.75rem; font-size: var(--font-size-xs); font-weight: 600; border-radius: var(--radius-full); margin-bottom: 1rem; }
.pathway-label-blue { background: var(--color-blue-100); color: var(--color-blue-800); }
.pathway-label-green { background: var(--color-green-100); color: var(--color-green-800); }

/* Pro/contra cards */
.card-pro { background: var(--color-green-50); border: 1px solid var(--color-green-200); border-radius: var(--radius-lg); padding: 1rem; }
.card-contra { background: var(--color-red-50); border: 1px solid var(--color-red-200); border-radius: var(--radius-lg); padding: 1rem; }
.card-response { background: var(--color-blue-50); border: 1px solid var(--color-blue-100); border-radius: var(--radius-lg); padding: 1rem; }

/* Failure callout */
.callout-danger { background: var(--color-red-50); border-left: 4px solid var(--color-red-400); padding: 1rem; }
.callout-danger-title { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-red-800); }
.callout-danger-text { font-size: var(--font-size-sm); color: var(--color-red-700); }

/* Bias/interest callout */
.callout-amber { background: var(--color-amber-50); border-left: 4px solid var(--color-amber-300); padding: 0.5rem; margin-top: 0.5rem; }
.callout-amber-title { font-size: var(--font-size-xs); font-weight: 500; color: var(--color-amber-800); }
.callout-amber-text { font-size: var(--font-size-xs); color: var(--color-amber-700); }

/* Video */
.video-container { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-gray-100); }
.video-container iframe { width: 100%; height: 100%; }

/* Details/accordion */
.details-card { background: var(--color-bg-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.details-summary { cursor: pointer; font-weight: 500; font-size: var(--font-size-sm); color: var(--color-gray-800); padding: 1rem; }
.details-content { padding: 0 1rem 1rem; font-size: var(--font-size-sm); color: var(--color-text-muted); white-space: pre-line; }
.details-muted { background: var(--color-gray-50); border-radius: var(--radius-lg); padding: 1rem; }
.details-muted-summary { cursor: pointer; font-weight: 500; font-size: var(--font-size-sm); color: var(--color-gray-700); }
.details-muted-content { margin-top: 0.75rem; font-size: var(--font-size-sm); color: var(--color-text-muted); white-space: pre-line; }

/* ==========================================================================
   Section 6: Badges / Tags
   ========================================================================== */
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; font-size: var(--font-size-sm); font-weight: 600; border-radius: var(--radius-full); }
.badge { display: inline-block; padding: 0.125rem 0.5rem; font-size: var(--font-size-xs); font-weight: 500; border-radius: var(--radius-full); flex-shrink: 0; }
.badge-green { background: var(--color-green-100); color: var(--color-green-800); }
.badge-blue { background: var(--color-blue-100); color: var(--color-blue-800); }
.badge-yellow { background: var(--color-yellow-100); color: var(--color-yellow-800); }
.badge-red { background: var(--color-red-100); color: var(--color-red-800); }
.badge-gray { background: var(--color-gray-100); color: var(--color-gray-800); }
.badge-gray-muted { background: var(--color-gray-100); color: var(--color-gray-600); }
.badge-emerald { background: var(--color-emerald-100); color: var(--color-emerald-800); }
.badge-purple { background: var(--color-purple-100); color: var(--color-purple-800); }
.badge-amber { background: var(--color-amber-100); color: var(--color-amber-800); }
.badge-indigo { background: var(--color-indigo-100); color: var(--color-indigo-800); }
.badge-cyan { background: var(--color-cyan-100); color: var(--color-cyan-800); }
.badge-brand { background: var(--brand-100); color: var(--brand-700); }

.tag-zone { display: inline-block; padding: 0.125rem 0.5rem; font-size: var(--font-size-xs); font-weight: 500; background: var(--brand-50); color: var(--brand-700); border-radius: var(--radius-sm); }
.tag-theme { display: inline-block; padding: 0.125rem 0.5rem; font-size: var(--font-size-xs); font-weight: 500; background: var(--color-amber-100); color: var(--color-amber-800); border-radius: var(--radius-sm); }

/* Search result type badges */
.badge-type-consultation { background: var(--color-blue-100); color: var(--color-blue-800); }
.badge-type-grassroots { background: var(--color-green-100); color: var(--color-green-800); }
.badge-type-champion { background: var(--color-purple-100); color: var(--color-purple-800); }
.badge-type-event { background: var(--color-amber-100); color: var(--color-amber-800); }

/* Version badge */
.badge-version { display: inline-block; padding: 0.25rem 0.75rem; font-size: var(--font-size-sm); font-weight: 600; background: var(--brand-100); color: var(--brand-700); border-radius: var(--radius-full); }

/* ==========================================================================
   Section 7: Buttons
   ========================================================================== */
.btn { display: inline-block; padding: 0.5rem 1.5rem; font-weight: 600; border-radius: var(--radius-lg); text-decoration: none; transition: all 0.15s; cursor: pointer; border: none; font-size: var(--font-size-sm); }
.btn:focus { outline: none; box-shadow: 0 0 0 2px var(--brand-500); }
.btn-primary { background: var(--brand-600); color: white; }
.btn-primary:hover { background: var(--brand-700); }
.btn-secondary { background: var(--color-gray-100); color: var(--color-gray-700); }
.btn-secondary:hover { background: var(--color-gray-200); }
.btn-danger { background: var(--color-red-600); color: white; }
.btn-danger:hover { background: var(--color-red-700); }
.btn-ghost { background: transparent; border: 1px solid var(--brand-600); color: var(--brand-600); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-blue,
.btn-albastru { background: #2D79B7; color: white; box-shadow: var(--shadow-sm); }
.btn-blue:hover,
.btn-albastru:hover { opacity: 0.9; }
.btn-green,
.btn-verde { background: #2f7c39; color: white; box-shadow: var(--shadow-sm); }
.btn-green:hover,
.btn-verde:hover { background: #256530; opacity: 1; }
.btn-vote-da { background: #15803d; color: white; }
.btn-vote-da:hover { background: #166534; }
.btn-vote-da:focus { box-shadow: 0 0 0 2px var(--color-green-500); }
.btn-vote-nu { background: var(--color-red-600); color: white; }
.btn-vote-nu:hover { background: var(--color-red-700); }
.btn-vote-nu:focus { box-shadow: 0 0 0 2px var(--color-red-500); }
.btn-disabled { background: var(--color-gray-400); color: white; cursor: not-allowed; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: var(--font-size-sm); }
.btn-lg { padding: 0.75rem 1.5rem; font-size: var(--font-size-lg); }
.btn-full { width: 100%; }
.btn-icon { display: inline-flex; align-items: center; gap: 0.375rem; }

.btn-primary,
.btn-blue,
.btn-albastru,
.btn-green,
.btn-verde,
.btn-danger,
.btn-vote-da,
.btn-vote-nu,
.public-list-btn-primary,
.proposal-entry-btn-primary,
.about-btn-primary,
.fig-home-btn-primary,
.consultation-browser-sheet-button {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-blue::after,
.btn-albastru::after,
.btn-green::after,
.btn-verde::after,
.btn-danger::after,
.btn-vote-da::after,
.btn-vote-nu::after,
.public-list-btn-primary::after,
.proposal-entry-btn-primary::after,
.about-btn-primary::after,
.fig-home-btn-primary::after,
.consultation-browser-sheet-button::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 1.12rem solid #f7b500;
  border-left: 1.12rem solid transparent;
  pointer-events: none;
}

/* ==========================================================================
   Section 8: Forms
   ========================================================================== */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: var(--font-size-sm); font-weight: 500; color: var(--color-gray-700); margin-bottom: 0.25rem; }
.form-label-legend { font-size: var(--font-size-xs); font-weight: 600; color: var(--color-gray-500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.form-input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--color-gray-300); border-radius: var(--radius-md); font-size: var(--font-size-sm); color: var(--color-text); transition: border-color 0.15s; }
.form-input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500); }
.form-input-error { border-color: var(--color-red-400); box-shadow: 0 0 0 1px var(--color-red-400); }
/* Suppress browser :invalid styling until form is submitted */
.form-input:invalid { box-shadow: none; }
.was-validated .form-input:invalid { border-color: var(--color-red-400); box-shadow: 0 0 0 1px var(--color-red-400); }
/* Character counter */
.char-counter { font-size: var(--font-size-xs); margin-top: 0.25rem; transition: color 0.15s; }
.form-select { display: block; padding: 0.375rem 0.5rem; border: 1px solid var(--color-gray-300); border-radius: var(--radius-md); font-size: var(--font-size-sm); box-shadow: var(--shadow-sm); background: var(--color-bg-white); color: var(--color-text); }
.form-select:focus { border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500); outline: none; }
.form-select-w { width: 11rem; }
.form-select-full { width: 100%; border-radius: var(--radius-lg); padding: 0.375rem 0.5rem; }
.form-radio { color: var(--brand-600); }
.form-radio:focus { box-shadow: 0 0 0 2px rgba(49, 156, 139, 0.3); }
.form-error { font-size: var(--font-size-sm); color: var(--color-red-600); margin-top: 0.25rem; }
.form-error-box { background: var(--color-red-50); border: 1px solid var(--color-red-200); color: var(--color-red-700); font-size: var(--font-size-sm); border-radius: var(--radius-sm); padding: 0.75rem; }
.form-helper { font-size: var(--font-size-sm); color: var(--color-gray-500); margin-bottom: 0.5rem; }
.form-scrollable { max-height: 16rem; overflow-y: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0.75rem; }
.form-stack { display: flex; flex-direction: column; gap: 1rem; }
.form-stack-lg { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: flex; gap: 0.75rem; }
.form-flex { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

/* ==========================================================================
   Section 9: Voting
   ========================================================================== */
.vote-area { display: flex; flex-direction: column; gap: 0.75rem; }
.vote-buttons { display: flex; gap: 1rem; }
.vote-status { font-size: var(--font-size-sm); color: var(--color-text-muted); }
.vote-status strong { font-weight: 700; }
.vote-status-da { color: var(--color-green-700); }
.vote-status-nu { color: var(--color-red-700); }

.rating-area { display: flex; flex-direction: column; gap: 0.75rem; }
.rating-stars { display: flex; gap: 0.25rem; }
.rating-star { font-size: 1.5rem; transition: color 0.15s; cursor: pointer; background: none; border: none; padding: 0; border-radius: var(--radius-sm); }
.rating-star:focus { outline: none; box-shadow: 0 0 0 2px var(--brand-500); }
.rating-star-active { color: #facc15; }
.rating-star-inactive { color: var(--color-gray-300); }
.rating-star-inactive:hover { color: #fde68a; }

.support-area { display: flex; flex-direction: column; gap: 0.75rem; }
.support-progress { width: 100%; }
.support-progress-header { display: flex; justify-content: space-between; font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: 0.25rem; }
.support-progress-bar { background: var(--color-gray-200); border-radius: var(--radius-full); height: 0.625rem; }
.support-progress-fill { background: var(--brand-600); height: 0.625rem; border-radius: var(--radius-full); transition: width 0.3s; }

/* Vote bar (metrics display) */
.vote-bar { display: flex; height: 0.75rem; border-radius: var(--radius-full); overflow: hidden; background: var(--color-gray-200); margin-top: 0.5rem; }
.vote-bar-da { background: var(--color-green-500); }
.vote-bar-nu { background: var(--color-red-500); }

/* Auth CTA for unauthenticated users */
.auth-cta { font-size: var(--font-size-sm); color: var(--color-text-muted); }
.auth-cta a,
.auth-link,
a.text-brand,
a.site-link {
  color: var(--brand-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}
.auth-cta a:hover,
.auth-link:hover,
a.text-brand:hover,
a.site-link:hover {
  color: var(--brand-900);
  text-decoration: underline;
}
.auth-cta-buttons { display: flex; gap: 0.75rem; }

/* ==========================================================================
   Section 10: Lifecycle Bar
   ========================================================================== */

/* Desktop lifecycle bar */
.lifecycle-bar { display: none; }
.lifecycle-steps { display: flex; align-items: flex-start; width: 100%; }
.lifecycle-step { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lifecycle-dot { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-full); font-size: var(--font-size-sm); font-weight: 600; flex-shrink: 0; }
.lifecycle-dot-current { background: var(--brand-600); color: white; box-shadow: 0 0 0 2px var(--brand-300), 0 0 0 4px white; }
.lifecycle-dot-done { background: var(--civic-green); color: white; }
.lifecycle-dot-future { background: var(--color-gray-200); color: var(--color-gray-500); }
.lifecycle-dot-future-muted { background: var(--color-gray-200); color: var(--color-gray-400); }
.lifecycle-label { margin-top: 0.375rem; font-size: var(--font-size-xs); font-weight: 500; text-align: center; line-height: 1.2; }
.lifecycle-label-current { color: var(--brand-700); }
.lifecycle-label-done { color: var(--color-green-700); }
.lifecycle-label-future { color: var(--color-gray-500); }
.lifecycle-connector { flex: 1; margin: 0 0.25rem; height: 2px; border-radius: var(--radius-full); margin-top: 1rem; }
.lifecycle-connector-done { background: var(--civic-green); }
.lifecycle-connector-future { background: var(--color-gray-200); }

/* Mobile lifecycle */
.lifecycle-mobile { position: relative; display: flex; flex-direction: column; }
.lifecycle-mobile-step { position: relative; display: flex; align-items: flex-start; gap: 0.75rem; padding-bottom: 1.5rem; }
.lifecycle-mobile-line { position: absolute; left: 17px; top: 2.25rem; bottom: 0; width: 2px; }
.lifecycle-mobile-line-done { background: var(--civic-green); }
.lifecycle-mobile-line-future { background: var(--color-gray-200); }
.lifecycle-mobile-content { padding-top: 0.375rem; }
.lifecycle-mobile-title { font-size: var(--font-size-sm); font-weight: 500; }
.lifecycle-mobile-current-label { margin-left: 0.5rem; font-size: var(--font-size-xs); color: var(--brand-500); font-weight: 500; }

@media (min-width: 768px) {
  .lifecycle-bar { display: block; }
  .lifecycle-mobile { display: none; }
}

/* ==========================================================================
   Section 11: Tabs / Filters
   ========================================================================== */
.tab-bar { display: flex; border-bottom: 1px solid var(--color-border); margin-bottom: 1.5rem; }
.tab { padding: 0.5rem 1rem; font-size: var(--font-size-sm); font-weight: 500; color: var(--color-text-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.15s, border-color 0.15s; }
.tab:hover { color: var(--brand-700); }
.tab-active { color: var(--brand-700); border-bottom-color: var(--brand-500); }

.pill-bar { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.pill { padding: 0.5rem 1rem; font-size: var(--font-size-sm); font-weight: 500; border-radius: var(--radius-lg); text-decoration: none; transition: all 0.15s; }
.pill-active { background: var(--brand-600); color: white; }
.pill-inactive { background: var(--color-bg-white); color: var(--color-gray-700); border: 1px solid var(--color-gray-300); }
.pill-inactive:hover { background: var(--color-gray-50); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.page-link { padding: 0.5rem 0.75rem; font-size: var(--font-size-sm); font-weight: 500; color: var(--brand-700); background: var(--color-bg-white); border: 1px solid var(--color-gray-300); border-radius: var(--radius-md); text-decoration: none; }
.page-link:hover { background: var(--color-gray-50); }
.page-link-active { background: var(--brand-600); color: white; border-color: var(--brand-600); }
.page-link-disabled { color: var(--color-gray-400); cursor: not-allowed; }

/* ==========================================================================
   Section 12: Detail Page Sections
   ========================================================================== */
.section-heading { font-size: var(--font-size-xl); font-weight: 700; color: var(--brand-900); }
.section-stack { display: flex; flex-direction: column; gap: 1rem; }
.page-title { font-size: var(--font-size-3xl); font-weight: 700; color: var(--brand-900); margin-bottom: 2rem; }
.page-subtitle { font-size: var(--font-size-lg); color: var(--color-gray-700); margin-top: 0.5rem; }

/* Counter circles (for how-it-works) */
.counter-circle { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-full); background: var(--brand-100); color: var(--brand-700); font-weight: 700; font-size: var(--font-size-lg); }

/* Section with items header */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title { font-size: var(--font-size-2xl); font-weight: 700; color: var(--brand-900); }
.section-link { font-size: var(--font-size-sm); font-weight: 500; text-decoration: none; }
.section-link:hover { text-decoration: underline; }
.section-link-blue { color: #2D79B7; }
.section-link-green { color: #2f7c39; }

/* Status box (vision) */
.status-box { background: var(--brand-50); border-left: 4px solid var(--brand-500); padding: 1rem; margin-bottom: 1.5rem; }
.status-box-title { font-size: var(--font-size-sm); font-weight: 600; color: var(--brand-900); margin-bottom: 0.25rem; }
.status-box-text { font-size: var(--font-size-sm); color: var(--brand-700); }

/* Document list items */
.doc-item { display: flex; align-items: center; gap: 0.75rem; background: var(--color-bg-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 0.75rem; box-shadow: var(--shadow-sm); }
.doc-icon { width: 1.25rem; height: 1.25rem; color: var(--color-gray-400); flex-shrink: 0; }
.doc-title { font-size: var(--font-size-sm); font-weight: 500; color: var(--color-gray-800); }
.doc-meta { font-size: var(--font-size-xs); color: var(--color-gray-500); }
.doc-link { margin-left: auto; font-size: var(--font-size-sm); color: var(--brand-600); font-weight: 500; text-decoration: none; }
.doc-link:hover { color: var(--brand-700); }

/* Champion cards in detail */
.champion-card { background: var(--color-bg-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-sm); }
.champion-name { font-size: var(--font-size-base); font-weight: 600; color: var(--brand-900); }
.champion-bio { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-top: 0.25rem; }
.champion-avatar { width: 4rem; height: 4rem; border-radius: var(--radius-full); object-fit: cover; border: 2px solid var(--brand-100); }

/* Champion detail page */
.champion-photo-lg { width: 10rem; height: 10rem; border-radius: var(--radius-full); object-fit: cover; border: 4px solid var(--brand-100); box-shadow: var(--shadow-sm); }
.champion-photo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--brand-100); }
.champion-photo-placeholder svg { color: var(--brand-500); }

/* Social links */
.social-link { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: var(--font-size-sm); font-weight: 500; border-radius: var(--radius-lg); transition: background-color 0.15s; text-decoration: none; }
.social-link svg { width: 1rem; height: 1rem; }
.social-link-facebook { background: var(--color-blue-50); color: var(--color-blue-700); }
.social-link-facebook:hover { background: var(--color-blue-100); }
.social-link-instagram { background: #fdf2f8; color: #be185d; }
.social-link-instagram:hover { background: #fce7f3; }
.social-link-tiktok { background: var(--color-gray-100); color: var(--color-gray-700); }
.social-link-tiktok:hover { background: var(--color-gray-200); }
.social-link-website { background: var(--brand-50); color: var(--brand-700); }
.social-link-website:hover { background: var(--brand-100); }

/* Tag links (expertise, zone) */
.tag-expertise { display: inline-block; padding: 0.25rem 0.5rem; font-size: var(--font-size-xs); background: var(--color-amber-50); color: var(--color-amber-700); border-radius: var(--radius-sm); }
.tag-expertise-lg { padding: 0.25rem 0.75rem; font-size: var(--font-size-sm); border-radius: var(--radius-lg); }
.tag-expertise-lg:hover { background: var(--color-amber-100); transition: background-color 0.15s; }
.tag-zone-link { display: inline-block; padding: 0.25rem 0.75rem; font-size: var(--font-size-sm); background: var(--brand-50); color: var(--brand-700); border-radius: var(--radius-lg); text-decoration: none; transition: background-color 0.15s; }
.tag-zone-link:hover { background: var(--brand-100); }

/* Related items list */
.related-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--brand-600); font-weight: 500; text-decoration: none; }
.related-link:hover { color: var(--brand-700); text-decoration: underline; }
.related-link-green { color: var(--civic-green); }
.related-link-green:hover { color: var(--color-green-700); }
.related-link svg { width: 1rem; height: 1rem; }

/* Back links */
.back-link { font-size: var(--font-size-sm); color: var(--brand-600); font-weight: 500; text-decoration: none; }
.back-link:hover { color: var(--brand-700); text-decoration: underline; }

/* Event card image */
.event-card-img { width: 100%; aspect-ratio: 2 / 1; overflow: hidden; background: var(--color-gray-100); }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card-img svg { width: 100%; height: 100%; display: block; }

/* Event detail image */
.event-detail-img { width: 100%; max-height: 400px; overflow: hidden; border-radius: var(--radius-lg); }
.event-detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Event detail meta */
.event-meta-group { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: var(--font-size-sm); color: var(--color-text-muted); }
.event-meta-item { display: flex; align-items: center; gap: 0.5rem; }
.event-meta-item svg { width: 1.25rem; height: 1.25rem; color: var(--color-gray-400); }
.event-icon { display: inline-block; width: 1rem; height: 1rem; color: var(--color-gray-400); vertical-align: middle; margin-right: 0.25rem; }

/* Auth form card */
.form-card { max-width: 28rem; margin: 3rem auto; padding: 1.5rem; background: var(--color-bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-card-lg { max-width: 42rem; }
.form-card-title { font-size: var(--font-size-2xl); font-weight: 700; color: var(--brand-700); margin-bottom: 1.5rem; }
.form-card-subtitle { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.form-stack { display: flex; flex-direction: column; gap: 1rem; }

/* Info callout (blue) */
.callout-blue { background: var(--color-blue-50); border: 1px solid var(--color-blue-100); color: var(--color-blue-800); font-size: var(--font-size-sm); border-radius: var(--radius-md); padding: 0.75rem; margin-bottom: 1rem; }

/* Confirmation card */
.confirmation-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 1rem; text-align: center; }
.confirmation-inner { background: var(--color-bg-white); box-shadow: var(--shadow-md); border-radius: var(--radius-lg); padding: 2rem; max-width: 28rem; width: 100%; }
.confirmation-icon { margin: 0 auto; width: 3rem; height: 3rem; margin-bottom: 1rem; }
.confirmation-icon-success { color: var(--civic-green); }
.confirmation-icon-error { color: var(--color-red-500); }

/* Newsletter form */
.newsletter-signup { width: 100%; }
.newsletter-form { width: 100%; }
.newsletter-row { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-input {
  flex: 1;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
}
.newsletter-input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.4); outline: none; }
.newsletter-submit {
  min-height: 3.25rem;
  padding: 0.75rem 1.35rem;
  background: white;
  color: var(--brand-800);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}
.newsletter-submit:hover { background: #f8fafc; }
.newsletter-helper { margin: 0.75rem 0 0; font-size: var(--font-size-xs); color: rgba(248, 250, 252, 0.78); }
.newsletter-result { padding: 0.75rem 0 0; }
.newsletter-result-message { margin: 0; font-size: var(--font-size-sm); font-weight: 600; }
.newsletter-result-error { color: #fee2e2; }
.newsletter-result-success { color: #dcfce7; }
@media (min-width: 640px) { .newsletter-row { flex-direction: row; } }

/* Zone champion card on zone_landing */
.champion-zone-card { background: var(--color-bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); padding: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; transition: box-shadow 0.15s; }
.champion-zone-card:hover { box-shadow: var(--shadow-md); }

/* Search results */
.search-form { display: flex; gap: 0.5rem; max-width: 36rem; }
.search-input { flex: 1; border-radius: var(--radius-lg); border: 1px solid var(--color-gray-300); padding: 0.625rem 1rem; font-size: var(--font-size-sm); box-shadow: var(--shadow-sm); }
.search-input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500); }
.result-count { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: 1.5rem; }
.result-card { display: flex; align-items: flex-start; gap: 0.75rem; }

/* Empty state */
.empty-state { color: var(--color-gray-500); font-style: italic; }

/* Profile page */
.profile-section { margin-bottom: 2rem; padding: 1rem; background: var(--color-gray-50); border-radius: var(--radius-md); }
.profile-section-title { font-size: var(--font-size-lg); font-weight: 600; color: var(--color-gray-700); margin-bottom: 0.5rem; }

/* Wizard */
.wizard-title { font-size: var(--font-size-2xl); font-weight: 700; color: var(--brand-900); }
.wizard-subtitle { color: var(--color-text-muted); margin-top: 0.25rem; }
.wizard-progress { display: flex; align-items: center; width: 100%; }
.wizard-step { display: flex; flex-direction: column; align-items: center; }
.wizard-step-dot { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-full); font-size: var(--font-size-sm); font-weight: 600; transition: all 0.15s; }
.wizard-step-dot-done { background: var(--civic-green); color: white; }
.wizard-step-dot-current { background: var(--brand-600); color: white; box-shadow: 0 0 0 2px var(--brand-300), 0 0 0 4px white; }
.wizard-step-dot-future { background: var(--color-gray-200); color: var(--color-gray-500); }
.wizard-step-label { margin-top: 0.375rem; font-size: var(--font-size-xs); font-weight: 500; }
.wizard-step-label-hidden { display: none; }
.wizard-connector { flex: 1; margin: 0 0.5rem; height: 2px; border-radius: var(--radius-full); }
.wizard-connector-done { background: var(--civic-green); }
.wizard-connector-future { background: var(--color-gray-200); }
.wizard-mobile-indicator { margin-top: 0.75rem; text-align: center; font-size: var(--font-size-sm); color: var(--color-gray-500); }
.wizard-card { background: var(--color-bg-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); padding: 1.5rem; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 2rem; }

@media (min-width: 640px) {
  .wizard-step-label-hidden { display: block; }
  .wizard-mobile-indicator { display: none; }
}
@media (min-width: 768px) {
  .wizard-title { font-size: var(--font-size-3xl); }
  .wizard-card { padding: 2rem; }
}


/* ==========================================================================
   Section 13: Bucharest Enamel Plates (buc-plates)
   ========================================================================== */

:root{
  --buc-blue-0: #101742;
  --buc-blue-1: #26346b;
  --buc-blue-2: #3a4f8b;

  --buc-ivory: #f3f4f6;
  --buc-ivory-dim: rgba(243,244,246,.84);
  --buc-shadow: rgba(0,0,0,.28);
}

/* ---------- Base plate ---------- */

.buc-plate{
  --plate-h: 64px;

  --radius: calc(var(--plate-h) * 0.16);
  --pad-x:  calc(var(--plate-h) * 0.34);
  --pad-y:  calc(var(--plate-h) * 0.18);

  --border-w: 2px;
  --inner-inset: 7px;
  --inner-w: 1.5px;

  --notch-r: 9px;
  --notch-inset: 5px;

  --font: "Roboto Condensed", system-ui, -apple-system, Segoe UI, Arial, sans-serif;

  position: relative;
  display: inline-grid;
  align-content: center;
  justify-items: center;

  height: var(--plate-h);
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius);

  color: var(--buc-ivory);
  font-family: var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow:
    -2px -2px 2px rgba(255,255,255,0.25),
    2px 2px 2px rgba(0,0,0,0.3);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.18),
      rgba(255,255,255,.08) 22%,
      rgba(255,255,255,0) 46%
    ),
    radial-gradient(
      130% 110% at 50% 10%,
      rgba(255,255,255,.10),
      rgba(0,0,0,0) 52%
    ),
    radial-gradient(
      120% 120% at 50% 120%,
      rgba(0,0,0,.22),
      rgba(0,0,0,0) 52%
    ),
    linear-gradient(
      180deg,
      var(--buc-blue-2),
      var(--buc-blue-1) 42%,
      var(--buc-blue-0)
    );

  border: var(--border-w) solid var(--buc-ivory);
  box-shadow:
    0 10px 24px var(--buc-shadow),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -10px 18px rgba(0,0,0,.18);
}

/* Inner border ring with concave (inverted) corner arcs */
.buc-plate::before{
  content:"";
  position:absolute;
  inset: var(--inner-inset);
  border-radius: 0;
  pointer-events:none;

  border: var(--inner-w) solid transparent;

  background:
    radial-gradient(
      circle at 0 0,
      var(--buc-blue-0) 0 calc(var(--notch-r) + 1px),
      transparent calc(var(--notch-r) + 2px)
    ),
    radial-gradient(
      circle at 100% 0,
      var(--buc-blue-0) 0 calc(var(--notch-r) + 1px),
      transparent calc(var(--notch-r) + 2px)
    ),
    radial-gradient(
      circle at 0 100%,
      var(--buc-blue-0) 0 calc(var(--notch-r) + 1px),
      transparent calc(var(--notch-r) + 2px)
    ),
    radial-gradient(
      circle at 100% 100%,
      var(--buc-blue-0) 0 calc(var(--notch-r) + 1px),
      transparent calc(var(--notch-r) + 2px)
    ),
    linear-gradient(var(--buc-ivory-dim), var(--buc-ivory-dim));

  padding: 1px;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  box-shadow: inset 0 0 0 1px rgba(0,0,0,.10);
}

/* Subtle screw holes at the concave corners */
.buc-plate::after{
  content:"";
  position:absolute;
  inset: var(--inner-inset);
  border-radius: 0;
  pointer-events:none;
  opacity: .55;

  background:
    radial-gradient(circle at var(--notch-inset) var(--notch-inset),
      rgba(0,0,0,.35) 0 2.2px,
      rgba(255,255,255,.18) 2.2px 3.1px,
      transparent 3.2px),
    radial-gradient(circle at calc(100% - var(--notch-inset)) var(--notch-inset),
      rgba(0,0,0,.35) 0 2.2px,
      rgba(255,255,255,.18) 2.2px 3.1px,
      transparent 3.2px),
    radial-gradient(circle at var(--notch-inset) calc(100% - var(--notch-inset)),
      rgba(0,0,0,.35) 0 2.2px,
      rgba(255,255,255,.18) 2.2px 3.1px,
      transparent 3.2px),
    radial-gradient(circle at calc(100% - var(--notch-inset)) calc(100% - var(--notch-inset)),
      rgba(0,0,0,.35) 0 2.2px,
      rgba(255,255,255,.18) 2.2px 3.1px,
      transparent 3.2px);
}

/* ---------- Address plate layout: prefix + name + large number ---------- */

.buc-plate--address{
  height: auto;
  min-height: var(--plate-h);
  grid-template-rows: auto auto 1fr;
  row-gap: 2px;
  justify-items: center;
  text-align: center;
  letter-spacing: .10em;
}

.buc-plate__prefix{
  font-weight: 700;
  opacity: .95;
}

.buc-plate--address .buc-plate__prefix{
  font-size: calc(var(--plate-h) * 0.16);
  letter-spacing: .18em;
}

.buc-plate__name{
  font-weight: 600;
}

.buc-plate--address .buc-plate__name{
  font-size: calc(var(--plate-h) * 0.18);
  letter-spacing: .14em;
  max-width: 26ch;
  line-height: 1.05;
}

.buc-plate__no{
  font-family:
    "Bodoni 72 Poster",
    "Bodoni MT Poster Compressed",
    "Monotype Bodoni",
    "Libre Bodoni",
    serif;
  font-weight: 700;
  font-size: calc(var(--plate-h) * 0.58);
  line-height: 1;
  letter-spacing: .06em;
  margin-top: 2px;
  font-variant-numeric: lining-nums;
  font-feature-settings:
    "lnum" 1,
    "swsh" 1,
    "salt" 1,
    "ss01" 1;
  text-shadow:
    -2px -2px 2px rgba(255,255,255,0.25),
    2px 2px 2px rgba(0,0,0,0.3),
    0 1px 0 rgba(0,0,0,.38),
    0 -1px 0 rgba(255,255,255,.10);
}

/* ---------- Street plate layout: elongated single line ---------- */

.buc-plate--street{
  justify-items: center;
  padding-left: calc(var(--plate-h) * 0.38);
  padding-right: calc(var(--plate-h) * 0.38);
}

.buc-plate__streetline{
  display: inline-flex;
  align-items: baseline;
  gap: .55em;
  white-space: nowrap;
}

.buc-plate--street .buc-plate__prefix{
  font-size: calc(var(--plate-h) * 0.30);
  letter-spacing: .18em;
}

.buc-plate--street .buc-plate__name{
  font-size: calc(var(--plate-h) * 0.34);
  letter-spacing: .10em;
}

/* ---------- Responsive ---------- */

@media (max-width: 520px){
  .buc-plate__streetline{
    white-space: normal;
    text-align: center;
  }
  .buc-plate--street .buc-plate__name{
    font-size: calc(var(--plate-h) * 0.30);
  }
}

/* ==========================================================================
   Section 14: Zone Treeview Widget
   ========================================================================== */

/* â”€â”€ Container â”€â”€ */
.zone-treeview {
  max-height: 24rem;
  overflow-y: auto;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.5rem;
  background: #fff;
}

/* â”€â”€ Search input â”€â”€ */
.zone-treeview__search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  outline: none;
  box-sizing: border-box;
}
.zone-treeview__search-input:focus {
  border-color: #3EB8A4;
  box-shadow: 0 0 0 2px rgba(62, 184, 164, 0.2);
}

/* â”€â”€ Tree list â”€â”€ */
.zone-treeview__list {
  list-style: none;
  margin: 0;
  padding-left: 1.25rem;
}
.zone-treeview__tree > .zone-treeview__list {
  padding-left: 0;
}
.zone-treeview__list--collapsed {
  display: none;
}

/* â”€â”€ Item row â”€â”€ */
.zone-treeview__row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.25rem;
  cursor: default;
}
.zone-treeview__row:hover {
  background: #f0faf8;
  border-radius: 0.25rem;
}

/* â”€â”€ Toggle arrow â”€â”€ */
.zone-treeview__toggle {
  width: 1.25rem;
  text-align: center;
  font-size: 0.625rem;
  color: #6b7280;
  cursor: default;
  user-select: none;
  flex-shrink: 0;
  line-height: 1;
}
.zone-treeview__toggle--has-children {
  cursor: pointer;
}
.zone-treeview__toggle--has-children:hover {
  color: #1f2937;
}

/* â”€â”€ Checkbox â”€â”€ */
.zone-treeview__checkbox {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #3EB8A4;
}
.zone-treeview__checkbox:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* â”€â”€ Label â”€â”€ */
.zone-treeview__label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #1f2937;
  flex: 1;
  min-width: 0;
}

/* â”€â”€ Type badge â”€â”€ */
.zone-treeview__type-badge {
  display: inline-block;
  padding: 0.0625rem 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 0.25rem;
  flex-shrink: 0;
  letter-spacing: 0.025em;
}

/* Badge colors per zone type */
.zone-treeview__type-badge--judet     { background: #dbeafe; color: #1e40af; }
.zone-treeview__type-badge--municipiu { background: #ede9fe; color: #5b21b6; }
.zone-treeview__type-badge--oras      { background: #d1fae5; color: #065f46; }
.zone-treeview__type-badge--comuna    { background: #fef3c7; color: #92400e; }
.zone-treeview__type-badge--sector    { background: #fce7f3; color: #9d174d; }
.zone-treeview__type-badge--sat       { background: #f3f4f6; color: #374151; }
.zone-treeview__type-badge--cartier   { background: #e0f2fe; color: #0369a1; }

/* â”€â”€ Name â”€â”€ */
.zone-treeview__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* â”€â”€ Search match highlight â”€â”€ */
.zone-treeview__item--search-match > .zone-treeview__row {
  background: #fefce8;
}

/* â”€â”€ Search hidden â”€â”€ */
.zone-treeview__item--search-hidden {
  display: none;
}

/* â”€â”€ Hidden inputs container (never visible) â”€â”€ */
.zone-treeview__values {
  display: none;
}

/* â”€â”€ Dark mode - django-unfold admin (.dark on <body>) â”€â”€ */
.dark .zone-treeview {
  background: #1f2937;
  border-color: #374151;
}
.dark .zone-treeview__search-input {
  background: #111827;
  border-color: #374151;
  color: #f9fafb;
}
.dark .zone-treeview__search-input::placeholder {
  color: #6b7280;
}
.dark .zone-treeview__search-input:focus {
  border-color: #3EB8A4;
}
.dark .zone-treeview__row:hover {
  background: #374151;
}
.dark .zone-treeview__toggle {
  color: #9ca3af;
}
.dark .zone-treeview__toggle--has-children:hover {
  color: #f9fafb;
}
.dark .zone-treeview__label {
  color: #f9fafb;
}
.dark .zone-treeview__item--search-match > .zone-treeview__row {
  background: #422006;
}

/* ==========================================================================
   Section 15: Map / Leaflet Overrides
   ========================================================================== */

.map-hero-section {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(circle at 22% 14%, rgba(62, 184, 164, 0.04), transparent 7.5%),
    radial-gradient(circle at 45% 67%, rgba(247, 181, 0, 0.05), transparent 3.2%),
    radial-gradient(circle at 88% 18%, rgba(62, 184, 164, 0.04), transparent 3.8%),
    radial-gradient(circle at 13% 58%, rgba(78, 158, 76, 0.08), transparent 2.2%),
    radial-gradient(circle at 72% 78%, rgba(62, 184, 164, 0.08), transparent 2.1%),
    radial-gradient(circle at 2.8% 27%, rgba(247, 181, 0, 0.42) 0 0.34%, rgba(247, 181, 0, 0.16) 0.72%, rgba(247, 181, 0, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 57% 38%, rgba(62, 184, 164, 0.42) 0 0.34%, rgba(62, 184, 164, 0.16) 0.72%, rgba(62, 184, 164, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 41% 79%, rgba(78, 158, 76, 0.42) 0 0.34%, rgba(78, 158, 76, 0.16) 0.72%, rgba(78, 158, 76, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 76% 21%, rgba(62, 184, 164, 0.4) 0 0.28%, rgba(62, 184, 164, 0.16) 0.62%, rgba(62, 184, 164, 0.06) 1.06%, transparent 1.8%),
    radial-gradient(circle at 69% 88%, rgba(247, 181, 0, 0.38) 0 0.26%, rgba(247, 181, 0, 0.16) 0.6%, rgba(247, 181, 0, 0.05) 1.02%, transparent 1.72%),
    linear-gradient(180deg, #ffffff, #f7f8f6);
}

.map-hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 55, 48, 0.08), transparent);
}

.map-hero-layout {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.map-hero-visual {
  position: relative;
  margin: 0;
  min-height: 100%;
  display: grid;
  justify-items: center;
}

.map-hero-visual::before {
  content: "";
  position: absolute;
  inset: -0.8rem auto auto -0.8rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 184, 164, 0.2) 0%, rgba(62, 184, 164, 0) 72%);
  pointer-events: none;
}

.map-hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: multiply;
  opacity: 0.96;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 56%, rgba(0, 0, 0, 0.92) 68%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 56%, rgba(0, 0, 0, 0.92) 68%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
}

.map-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.78);
  color: #175553;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-sm);
}

.map-kicker-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: var(--radius-full);
  background: var(--color-accent-teal);
}

.map-hero-title {
  margin: 1rem 0 0.85rem;
  max-width: 18ch;
  display: grid;
  gap: 0.08em;
  font-family: var(--font-family-display);
  font-size: clamp(2.3rem, 4.1vw, 4.35rem);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.04em;
  color: var(--color-display);
}

.map-hero-title-line {
  display: block;
  white-space: nowrap;
}

.map-hero-title-warm {
  color: var(--color-accent-amber);
}

.map-hero-title-accent {
  color: var(--color-accent-green);
}

.map-hero-text {
  max-width: 42rem;
  margin: 0;
  font-size: var(--page-hero-text-size);
  line-height: var(--page-hero-text-line-height);
  color: var(--color-shell-muted);
}

.map-hero-cta-grid {
  margin-top: 1.35rem;
}

.map-layout-section { padding: 50px 0 4.5rem; }

.map-layout-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
  overflow: visible;
}

.map-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: var(--color-bg-white);
  border: 1px solid var(--color-home-card-border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-shell);
  padding: 1.2rem;
}

.map-sidebar-header,
.map-frame-header,
.map-results-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.map-sidebar-eyebrow,
.map-frame-eyebrow,
.map-results-eyebrow {
  margin: 0 0 0.35rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-blue);
}

.map-sidebar-title,
.map-frame-title,
.map-results-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  color: var(--color-display);
}

.map-sidebar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
}

.map-sidebar-close svg,
.map-filter-toggle svg { width: 1rem; height: 1rem; }

.map-sidebar-sections {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 1.05rem;
  margin-top: 0.75rem;
  flex: 1 1 auto;
}

.map-filter-section { display: grid; gap: 0.65rem; }

.map-filter-section-compact { gap: 0.45rem; }

.map-filter-title {
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-display);
}

.map-filter-copy {
  margin: 0.2rem 0 0;
  font-size: var(--font-size-xs);
  line-height: 1.5;
  color: var(--color-text-muted);
}

.map-checkbox-group {
  display: grid;
  gap: 0.5rem;
}

.map-checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.95rem;
  border: 1px solid var(--color-home-card-border);
  background: var(--color-bg-white);
  color: var(--color-display);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.map-checkbox-card input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-accent-blue);
}

.map-status-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.map-status-chip {
  position: relative;
  display: block;
}

.map-status-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  pointer-events: none;
}

.map-status-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-text-secondary);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.map-status-chip input:checked + span {
  border-color: rgba(45, 121, 183, 0.18);
  background: rgba(45, 121, 183, 0.1);
  color: #1d4f7a;
  box-shadow: inset 0 0 0 1px rgba(45, 121, 183, 0.08);
}

.map-zone-toolbar {
  position: relative;
  z-index: 1200;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
  padding: 0.9rem 1.1rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.88)),
    radial-gradient(circle at top left, rgba(62, 184, 164, 0.08), transparent 28%);
  box-shadow: 0 22px 48px -42px rgba(15, 23, 42, 0.3);
}

.map-zone-toolbar-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.map-zone-toolbar-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-shell-muted);
}

.map-zone-toolbar-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.2;
  color: var(--color-display);
}

.map-zone-toolbar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.map-zone-region-card {
  position: relative;
  overflow: visible;
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.map-zone-region-head {
  display: grid;
  gap: 0.18rem;
}

.map-zone-region-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-display);
}

.map-zone-region-copy {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.map-zone-dropdown-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.map-zone-dropdown {
  position: relative;
  z-index: 1;
}

.map-zone-dropdown-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--color-home-card-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-display);
  cursor: pointer;
  list-style: none;
}

.map-zone-dropdown-summary::-webkit-details-marker {
  display: none;
}

.map-zone-dropdown-summary::after {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.55;
}

.map-zone-dropdown[open] .map-zone-dropdown-summary::after {
  transform: rotate(-135deg);
  margin-top: 0.35rem;
}

.map-zone-dropdown-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-zone-dropdown-count {
  margin-left: auto;
  font-size: 0.76rem;
  font-weight: 700;
  color: #174d77;
}

.map-zone-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 1300;
  display: grid;
  gap: 0.65rem;
  max-height: 20rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.7rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 40px -30px rgba(15, 23, 42, 0.35);
}

.map-zone-empty-hint {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px dashed rgba(17, 24, 39, 0.12);
  color: var(--color-shell-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.map-zone-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  min-width: 0;
}

.map-zone-checklist-compact {
  grid-template-columns: 1fr;
}

.map-zone-child-groups {
  display: grid;
  gap: 0.65rem;
}

.map-zone-child-group {
  display: grid;
  gap: 0.35rem;
}

.map-zone-child-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-display);
}

.map-zone-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  min-width: 0;
  padding: 0.5rem 0.15rem 0.5rem 2.1rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--color-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.map-zone-option-chip {
  min-height: 2.75rem;
  justify-content: flex-start;
  text-align: left;
}

.map-zone-checkbox {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.map-zone-option span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.map-zone-option span::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid rgba(23, 77, 119, 0.42);
  border-radius: 0.32rem;
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-50%);
}

.map-zone-option:has(.map-zone-checkbox:checked) span::before {
  border-color: var(--color-accent-blue);
  background:
    linear-gradient(135deg, transparent 0 42%, #fff 43% 55%, transparent 56%),
    linear-gradient(45deg, transparent 0 50%, #fff 51% 63%, transparent 64%),
    var(--color-accent-blue);
}

.map-zone-option:has(.map-zone-checkbox:focus-visible) span::before {
  outline: 3px solid rgba(45, 121, 183, 0.22);
  outline-offset: 2px;
}

.map-zone-option:has(input:checked) {
  background: transparent;
  border-color: transparent;
  color: #174d77;
}

.map-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.5rem;
}

.map-theme-chip {
  display: grid;
  grid-template-rows: 4.35rem minmax(2.1rem, 1fr);
  align-items: stretch;
  align-content: start;
  justify-items: stretch;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-home-card-border);
  border-radius: 1rem;
  min-height: 7.45rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-shell-text);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
  text-align: center;
}

.map-theme-chip:hover,
.map-theme-chip.is-active {
  transform: translateY(-1px);
}

.map-theme-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 4.35rem;
  padding: 0.55rem;
  border-radius: 0.75rem;
  box-sizing: border-box;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
}

.map-theme-art::before,
.map-theme-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.map-theme-art::before {
  width: 3.6rem;
  height: 3.6rem;
  right: -0.8rem;
  top: -1rem;
  background: rgba(255, 255, 255, 0.2);
}

.map-theme-art::after {
  width: 2.8rem;
  height: 2.8rem;
  left: -0.45rem;
  bottom: -1.1rem;
  background: rgba(255, 255, 255, 0.15);
}

.map-theme-icon {
  display: block;
  width: 2.7rem;
  height: 2.7rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-theme-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: 0.4rem 0.2rem 0.05rem;
  text-align: center;
  line-height: 1.25;
}

.map-theme-chip:focus-visible,
.map-reset-btn:focus-visible,
.map-filter-toggle:focus-visible,
.map-sidebar-close:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
}

.theme-tone-green .map-theme-art { background-color: rgba(78, 158, 76, 0.22); color: #225c23; }
.theme-tone-teal .map-theme-art { background-color: rgba(62, 184, 164, 0.24); color: #15665b; }
.theme-tone-blue .map-theme-art { background-color: rgba(45, 121, 183, 0.24); color: #174d77; }
.theme-tone-amber .map-theme-art { background-color: rgba(230, 120, 33, 0.24); color: #8e4a16; }

.theme-tone-green .map-result-theme-tag { color: #225c23; }
.theme-tone-teal .map-result-theme-tag { color: #15665b; }
.theme-tone-blue .map-result-theme-tag { color: #174d77; }
.theme-tone-amber .map-result-theme-tag { color: #8e4a16; }

.theme-tone-green.is-active { background: rgba(78, 158, 76, 0.12); border-color: rgba(78, 158, 76, 0.48); color: #225c23; }
.theme-tone-teal.is-active { background: rgba(62, 184, 164, 0.12); border-color: rgba(62, 184, 164, 0.48); color: #15665b; }
.theme-tone-blue.is-active { background: rgba(45, 121, 183, 0.12); border-color: rgba(45, 121, 183, 0.42); color: #174d77; }
.theme-tone-amber.is-active { background: rgba(230, 120, 33, 0.12); border-color: rgba(230, 120, 33, 0.42); color: #8e4a16; }

.map-filter-footer {
  margin-top: 0;
  padding-top: 0.9rem;
}

.map-reset-btn {
  width: 100%;
  border: none;
  border-radius: 0.95rem;
  padding: 0.8rem 1rem;
  background: var(--color-accent-blue);
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 700;
  cursor: pointer;
}

.map-reset-hidden { display: none; }

.map-stage-column { display: grid; gap: 1rem; }

.map-frame {
  position: relative;
  z-index: 1;
  border-radius: 1.4rem;
  border: 1px solid var(--color-home-card-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 250, 0.95));
  box-shadow: var(--shadow-shell);
  overflow: hidden;
}

.map-frame-header,
.map-frame-footer {
  padding: 1.1rem 1.15rem;
}

.map-frame-header {
  border-bottom: 1px solid var(--color-border);
}

.map-frame-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  border-top: 1px solid var(--color-border);
}

.map-container {
  position: relative;
  z-index: 1;
  height: 31rem;
  width: 100%;
}

.map-pin-count {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  padding: 0.45rem 0.9rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.map-status-normal {
  background: rgba(255,255,255,0.88);
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.map-status-error {
  background: var(--color-red-50);
  color: var(--color-red-700);
  border-color: var(--color-red-200);
}

.map-legend { display: grid; gap: 0.5rem; }

.map-legend-title {
  margin: 0;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.map-legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

.map-legend-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: var(--radius-full);
}

.legend-green { background: #4E9E4C; }
.legend-teal { background: #3EB8A4; }
.legend-amber { background: #E67821; }

.map-zoom-hint {
  margin: 0;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.map-filter-toggle {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0.9rem;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-display);
  cursor: pointer;
}

.map-results-section {
  padding: 0 0 4.5rem;
}

.map-results-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(62, 184, 164, 0.12);
  color: #19655a;
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.map-results-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
  align-items: stretch;
}

.map-result-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 18.5rem;
  border-radius: 1.15rem;
  border: 1px solid var(--color-home-card-border);
  background: var(--color-bg-white);
  padding: 1rem 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
}

.map-tone-green { --map-tone: #4E9E4C; --map-tone-soft: rgba(78, 158, 76, 0.12); }
.map-tone-teal { --map-tone: #3EB8A4; --map-tone-soft: rgba(62, 184, 164, 0.12); }
.map-tone-amber { --map-tone: #E67821; --map-tone-soft: rgba(230, 120, 33, 0.12); }

.map-result-card {
  border-top: 4px solid var(--map-tone);
}

.map-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.map-result-type,
.map-result-status,
.popup-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding: 0.32rem 0.7rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.map-result-type {
  background: var(--map-tone-soft);
  color: var(--map-tone);
}

.map-result-status,
.popup-badge {
  background: rgba(15, 23, 31, 0.06);
  color: var(--color-text-muted);
}

.map-result-title {
  margin: 0.8rem 0 0.45rem;
  font-family: var(--font-family-display);
  font-size: 1.15rem;
  line-height: 1.3;
}

.map-result-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.map-result-title a,
.map-result-link,
.popup-link {
  color: inherit;
  text-decoration: none;
}

.map-result-title a:hover,
.map-result-link:hover,
.popup-link:hover {
  text-decoration: none;
}

.map-result-summary,
.popup-summary {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.map-result-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.map-result-theme-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-text-muted);
}

.map-result-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.map-result-corner {
  margin-top: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
}

.map-result-theme-art {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border-radius: 0;
  background: transparent;
}

.map-result-theme-icon {
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.popup-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: 0.7rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

.map-result-divider { opacity: 0.65; }

.map-result-link,
.popup-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  padding-top: 0;
  color: var(--map-tone);
  font-weight: 700;
}

.popup-card { font-size: var(--font-size-sm); }
.popup-type { margin: 0 0 0.35rem; font-size: var(--font-size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.popup-tone-consultation { color: #2b7b2a; }
.popup-tone-grassroots { color: #16766a; }
.popup-tone-event { color: #a35517; }
.popup-title { margin: 0; font-family: var(--font-family-display); color: var(--color-display); }
.popup-meta { color: var(--color-text-muted); font-size: var(--font-size-xs); }

.map-marker {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  border: 2px solid #fff;
}

.marker-consultation { background: #4E9E4C; }
.marker-grassroots { background: #3EB8A4; }
.marker-event { background: #E67821; }

.leaflet-interactive { cursor: pointer; }
.leaflet-container {
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 121, 183, 0.08), rgba(62, 184, 164, 0.06));
  color: var(--color-text);
}

.leaflet-pane,
.leaflet-top,
.leaflet-bottom,
.leaflet-control {
  z-index: 10;
}
.leaflet-popup-content { max-width: 320px; margin: 10px 14px; }
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--color-bg-white);
  color: var(--color-text);
}
.map-tooltip { font-size: var(--font-size-xs); font-weight: 600; }
.map-noscript { padding: 2rem; text-align: center; color: var(--color-text-muted); }

.map-empty-state {
  grid-column: 1 / -1;
  padding: 2rem 1.5rem;
  border-radius: 1.15rem;
  border: 1px dashed var(--color-border);
  background: rgba(255,255,255,0.72);
  text-align: center;
}

.map-empty-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-family-display);
  color: var(--color-display);
}

.map-empty-text { margin: 0; color: var(--color-text-muted); }

@media (max-width: 1023px) {
  .map-sidebar {
    position: fixed;
    top: 5.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 1005;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .map-sidebar.panel-hidden {
    transform: translateY(-1rem);
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 768px) {
  .map-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .map-zone-toolbar-header,
  .map-zone-toolbar-grid {
    grid-template-columns: 1fr;
  }

  .map-zone-toolbar-header {
    display: grid;
  }
}

/* Keep opened geographic filters in document flow where they share space with
   other controls; desktop map dropdowns retain their overlay behavior. */
.body-grassroots .grassroots-browser-zone-toolbar .map-zone-dropdown-panel,
.body-champions .champions-zone-toolbar .map-zone-dropdown-panel {
  position: static;
  inset: auto;
  z-index: auto;
  margin-top: 0.45rem;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.02);
}

@media (max-width: 1023px) {
  .map-zone-dropdown-row {
    grid-template-columns: 1fr;
  }

  .map-zone-dropdown-panel {
    position: static;
    inset: auto;
    z-index: auto;
    margin-top: 0.45rem;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.02);
  }

  .public-list-filter-card {
    position: static;
    top: auto;
  }
}

@media (max-width: 639px) {
  .map-zone-toolbar-grid,
  .map-zone-dropdown-row,
  .map-zone-checklist {
    grid-template-columns: 1fr;
  }

  .map-theme-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .map-hero-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.92fr);
    align-items: center;
  }

  .map-layout-grid {
    grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 2fr);
  }

  .map-filter-toggle,
  .map-sidebar-close {
    display: none;
  }

  .map-sidebar.panel-hidden {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .map-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-color-scheme: dark) {
.map-hero-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(52, 211, 153, 0.22), transparent 0 18%),
    radial-gradient(circle at 85% 18%, rgba(96, 165, 250, 0.22), transparent 0 20%),
    radial-gradient(circle at 72% 78%, rgba(251, 191, 36, 0.12), transparent 0 14%),
    linear-gradient(180deg, rgba(9, 24, 22, 0.96) 0%, rgba(10, 31, 27, 0.96) 52%, rgba(10, 24, 36, 0.9) 100%);
}

.map-hero-section::after {
  background: linear-gradient(90deg, transparent, rgba(163, 219, 196, 0.16), transparent);
}

.map-hero-image {
  background: transparent;
  box-shadow: none;
  mix-blend-mode: normal;
  opacity: 0.94;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.88) 72%, rgba(0, 0, 0, 0.45) 84%, transparent 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.88) 72%, rgba(0, 0, 0, 0.45) 84%, transparent 100%);
}

:is(.map-kicker, .map-sidebar, .map-frame, .map-result-card, .map-empty-state, .leaflet-popup-content-wrapper, .leaflet-popup-tip) {
  background: rgba(15, 23, 31, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
}

.map-surface-message {
  background: rgba(15, 23, 31, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-display);
  box-shadow: none;
}

.map-base-blocked {
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(12, 23, 21, 0.96), rgba(16, 38, 58, 0.92));
}

.map-kicker {
  color: #d8f3ee;
}

.map-hero-title-accent {
  color: #9fe69b;
}

:is(.map-sidebar-title, .map-frame-title, .map-results-title, .map-filter-title, .map-result-title a, .popup-title) {
  color: var(--color-display);
}

:is(.map-hero-text, .map-filter-copy, .map-legend-title, .map-legend-item, .map-zoom-hint, .map-result-summary, .map-result-meta, .popup-summary, .popup-meta, .map-empty-text) {
  color: var(--color-text-secondary);
}

:is(.map-zone-region-card, .map-zone-dropdown-summary, .map-zone-dropdown-panel, .map-zone-option, .map-theme-chip, .map-checkbox-card) {
  background: rgba(17, 27, 35, 0.94);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.08);
}

.map-status-chip span {
  background: rgba(17, 27, 35, 0.94);
  color: var(--color-text-secondary);
  border-color: rgba(255, 255, 255, 0.08);
}

.map-status-chip input:checked + span {
  background: rgba(45, 121, 183, 0.22);
  color: #d2ecff;
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.14);
}

.map-zone-toolbar {
  background:
    linear-gradient(180deg, rgba(15, 23, 31, 0.9), rgba(17, 27, 35, 0.9)),
    radial-gradient(circle at top left, rgba(62, 184, 164, 0.12), transparent 30%);
  border-color: rgba(255, 255, 255, 0.08);
}

:is(.map-zone-toolbar-title, .map-zone-region-title, .map-zone-child-title) {
  color: var(--color-display);
}

:is(.map-zone-toolbar-copy, .map-zone-region-copy) {
  color: var(--color-text-secondary);
}

.map-zone-dropdown-count {
  color: #dbeafe;
}

.map-zone-dropdown-summary::after {
  opacity: 0.8;
}

.map-zone-empty-hint {
  background: rgba(17, 27, 35, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-text-secondary);
}

.map-zone-option:has(input:checked) {
  background: transparent;
  border-color: transparent;
  color: #dbeafe;
}

.map-theme-chip {
  box-shadow: none;
}

.map-theme-art {
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

:is(.map-frame-header, .map-frame-footer) {
  border-color: rgba(255, 255, 255, 0.08);
}

:is(.map-pin-count, .map-status-normal) {
  background: rgba(17, 27, 35, 0.94);
  color: var(--color-text-secondary);
  border-color: rgba(255, 255, 255, 0.08);
}

:is(.map-result-status, .popup-badge) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
}

.map-results-count {
  background: rgba(62, 184, 164, 0.16);
  color: #b9f3e8;
}

:is(.map-filter-toggle, .map-sidebar-close) {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(17, 27, 35, 0.94);
  color: var(--color-text);
}

.popup-type.popup-tone-consultation { color: #86efac; }
.popup-type.popup-tone-grassroots { color: #67e8f9; }
.popup-type.popup-tone-event { color: #fbbf24; }

.leaflet-container {
  background: linear-gradient(180deg, rgba(15, 23, 31, 0.9), rgba(12, 23, 21, 0.78));
}

.map-marker {
  border-color: rgba(15, 23, 31, 0.92);
}
}


/* ==========================================================================
   Section 17: Homepage
   ========================================================================== */

.home-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.home-section { padding: 4.5rem 0; position: relative; }
.home-section-muted { background: var(--surface-home-alt); }
.home-section-dark { background: var(--surface-home-dark); color: var(--color-display-inverse); }
.home-section-newsletter { padding-top: 0; }

.home-hero-section {
  position: relative;
  overflow: hidden;
  background: var(--surface-hero);
  padding: 3rem 0 4.5rem;
}

.home-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.home-hero-copy,
.home-hero-visual { position: relative; z-index: 1; }

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--color-home-tag-bg);
  color: var(--color-home-tag-text);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-kicker-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent-green), var(--color-accent-blue));
}

.home-hero-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--color-display);
  max-width: 12ch;
}

.home-hero-text {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.7;
  color: var(--color-shell-muted);
}

.home-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.home-btn:hover { text-decoration: none; transform: translateY(-1px); }

.home-btn-primary {
  background: var(--color-cta-primary-bg);
  color: white;
  box-shadow: var(--shadow-md);
}

.home-btn-primary:hover { background: var(--color-cta-primary-hover); }

.home-btn-secondary {
  background: var(--color-cta-secondary-bg);
  color: var(--color-cta-secondary-text);
  border: 1px solid var(--color-cta-secondary-border);
}

.home-hero-brief {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.home-brief-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-xl);
  background: var(--surface-hero-card);
  border: 1px solid var(--color-home-card-border);
  box-shadow: var(--shadow-sm);
}

.home-brief-label {
  margin: 0 0 0.35rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-shell-text);
}

.home-brief-text {
  margin: 0;
  color: var(--color-shell-muted);
  line-height: 1.65;
}

.home-hero-art-shell {
  position: relative;
  min-height: 20rem;
}

.home-hero-art-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 1.2rem;
  background: var(--surface-hero-card);
  border: 1px solid var(--color-home-card-border);
  box-shadow: var(--shadow-lg);
}

.home-hero-art-card::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 121, 183, 0.3), transparent);
}

.home-hero-image {
  width: 100%;
  min-height: 18rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-hero-floating {
  position: absolute;
  display: grid;
  gap: 0.2rem;
  max-width: 13rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-home-card-border);
  box-shadow: var(--shadow-md);
  font-size: var(--font-size-sm);
  color: #102b40;
}

.home-hero-floating strong { font-family: var(--font-family-display); font-size: var(--font-size-base); }
.home-hero-floating-top { top: 1rem; right: -0.5rem; }
.home-hero-floating-bottom { left: -0.25rem; bottom: 1rem; }
.home-floating-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-shell-muted);
}

.home-section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.home-section-header-stack { align-items: flex-start; }

.home-section-eyebrow {
  margin: 0 0 0.35rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-blue);
}

.home-section-eyebrow-inverse { color: rgba(255, 255, 255, 0.74); }

.home-section-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.06;
  color: var(--color-display);
}

.home-section-title-inverse { color: var(--color-display-inverse); }

.home-section-text {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.home-section-text-wide { max-width: 42rem; }
.home-section-text-inverse { color: rgba(255, 255, 255, 0.78); }

.home-inline-link {
  width: fit-content;
  color: var(--color-accent-blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 121, 183, 0.25);
}

.home-inline-link:hover { text-decoration: none; color: var(--color-accent-teal); }
.home-inline-link-inverse { color: #d2ecff; border-bottom-color: rgba(210, 236, 255, 0.35); }
.home-inline-link-inverse:hover { color: #ffffff; }

.home-card-grid,
.home-capability-grid,
.home-step-grid,
.home-metric-grid {
  display: grid;
  gap: 1rem;
}

.home-list-card,
.home-capability-card,
.home-step-card,
.home-metric-card,
.home-callout-card {
  position: relative;
  border-radius: 1.35rem;
  border: 1px solid var(--color-home-card-border);
  box-shadow: var(--shadow-sm);
}

.home-list-card,
.home-capability-card,
.home-metric-card,
.home-callout-card {
  background: var(--color-bg-white);
}

.home-step-card {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-display-inverse);
}

.home-list-card,
.home-capability-card,
.home-metric-card {
  padding: 1.25rem;
}

.home-step-card,
.home-callout-card {
  padding: 1.4rem;
}

.home-list-card::before,
.home-capability-card::before,
.home-step-card::before,
.home-metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.38rem;
  border-radius: 1.35rem 0 0 1.35rem;
  background: var(--home-tone);
}

.home-tone-green { --home-tone: var(--color-accent-green); --home-tone-soft: rgba(78, 158, 76, 0.08); }
.home-tone-teal { --home-tone: var(--color-accent-teal); --home-tone-soft: rgba(62, 184, 164, 0.08); }
.home-tone-blue { --home-tone: var(--color-accent-blue); --home-tone-soft: rgba(45, 121, 183, 0.08); }
.home-tone-amber { --home-tone: var(--color-accent-amber); --home-tone-soft: rgba(230, 120, 33, 0.08); }

.home-list-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.home-status-badge,
.home-capability-eyebrow,
.home-callout-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--home-tone-soft);
  color: var(--home-tone);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-card-meta-text {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.home-card-title,
.home-capability-title,
.home-step-title,
.home-metric-title,
.home-callout-title {
  margin: 0;
  font-family: var(--font-family-display);
}

.home-card-title { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.18; }
.home-card-title a { text-decoration: none; color: var(--color-display); }
.home-card-title a:hover { text-decoration: none; color: var(--home-tone); }
.home-card-summary,
.home-capability-text,
.home-step-text,
.home-metric-text,
.home-callout-text {
  margin: 0.8rem 0 0;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.home-step-title,
.home-step-text { color: inherit; }
.home-step-text { color: rgba(255, 255, 255, 0.78); }

.home-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.home-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--home-tone-soft);
  color: var(--home-tone);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.home-card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 1rem;
  color: var(--home-tone);
  font-weight: 700;
  text-decoration: none;
}

.home-card-link:hover { text-decoration: none; }

.home-capability-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, var(--color-bg-white), rgba(255, 255, 255, 0.94));
  text-decoration: none;
}

.home-capability-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.home-capability-title { font-size: clamp(1.25rem, 1.7vw, 1.65rem); color: var(--color-display); margin-top: 1rem; }
.home-step-grid { counter-reset: home-steps; }

.home-step-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 100%;
}

.home-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-family: var(--font-family-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.home-step-title { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.18; }

.home-impact-layout {
  display: grid;
  gap: 1rem;
}

.home-metric-card {
  display: grid;
  align-content: start;
  gap: 0.2rem;
}

.home-metric-value {
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 3vw, 2.9rem);
  color: var(--home-tone);
  line-height: 1;
}

.home-metric-title { font-size: var(--font-size-lg); color: var(--color-display); }

.home-callout-card {
  --home-tone: var(--color-accent-blue);
  --home-tone-soft: rgba(45, 121, 183, 0.08);
  background: linear-gradient(180deg, rgba(45, 121, 183, 0.08), rgba(78, 158, 76, 0.08));
}

.home-callout-title { font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.16; color: var(--color-display); margin-top: 0.85rem; }
.home-callout-text { max-width: 34rem; }

.home-newsletter-shell {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.2rem;
  border-radius: 2rem;
  background: var(--surface-newsletter);
  color: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(2rem);
}

.home-newsletter-form { width: 100%; }
.home-empty-state {
  margin: 0;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--color-bg-white);
  color: var(--color-text-muted);
  border: 1px solid var(--color-home-card-border);
}

@media (min-width: 640px) {
  .home-hero-actions { flex-direction: row; flex-wrap: wrap; }
  .home-btn { width: auto; }
  .home-hero-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .home-section { padding: 5.5rem 0; }
  .home-section-header { flex-direction: row; align-items: end; justify-content: space-between; }
  .home-card-grid,
  .home-capability-grid,
  .home-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-newsletter-shell { padding: 2.5rem; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.9fr); align-items: center; }
}

@media (min-width: 1024px) {
  .home-hero-section { padding: 4rem 0 5rem; }
  .home-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr); gap: 3rem; }
  .home-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-capability-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-impact-layout { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr) minmax(18rem, 0.72fr); align-items: start; }
}

@media (max-width: 767px) {
  .home-hero-floating { position: static; margin-top: 0.9rem; max-width: none; }
}

/* ==========================================================================
   Section 18: Public Lists + Proposal Entry
   ========================================================================== */

.public-list-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
}

@media (min-width: 1024px) {
  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero,
  .events-browser-hero {
    min-height: var(--page-primary-hero-min-height);
    display: flex;
    align-items: center;
  }
}

.public-list-hero-consultations {
  background:
    radial-gradient(circle at top left, rgba(78, 158, 76, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(45, 121, 183, 0.12), transparent 34%),
    linear-gradient(135deg, #f7fbfa 0%, #ffffff 48%, #eef6fb 100%);
}

.public-list-hero-grassroots {
  background:
    radial-gradient(circle at top left, rgba(247, 181, 0, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(62, 184, 164, 0.14), transparent 34%),
    linear-gradient(135deg, #fff9ed 0%, #ffffff 50%, #eef9f7 100%);
}

.public-list-shell,
.proposal-entry-shell {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.public-list-shell {
  display: grid;
  gap: 1.25rem;
}

.public-list-hero > .public-list-shell {
  max-width: none;
}

.public-list-hero-copy {
  display: grid;
  gap: 1rem;
}

.public-list-kicker,
.proposal-entry-kicker,
.wizard-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-accent-blue);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-list-title,
.proposal-entry-title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-family-display);
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.04em;
  color: var(--color-display);
}

.public-list-text,
.proposal-entry-text {
  margin: 0;
  max-width: 42rem;
  color: var(--color-shell-muted);
  font-size: var(--page-hero-text-size);
  line-height: var(--page-hero-text-line-height);
}

.public-list-actions,
.proposal-entry-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.public-list-btn,
.proposal-entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.public-list-btn:hover,
.proposal-entry-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.public-list-btn-primary,
.proposal-entry-btn-primary {
  background: var(--color-cta-primary-bg);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.public-list-btn-primary:hover,
.proposal-entry-btn-primary:hover {
  background: var(--color-cta-primary-hover);
}

.public-list-btn-secondary,
.proposal-entry-btn-secondary,
.proposal-entry-btn-light,
.proposal-entry-btn-ghost {
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-display);
  border-color: var(--color-home-card-border);
}

.proposal-entry-btn-light {
  background: #fff;
  color: #103730;
}

.proposal-entry-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.public-list-hero-panel {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 1.25rem;
  border-radius: 1.4rem;
  border: 1px solid var(--color-home-card-border);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-shell);
}

.public-list-hero-panel strong {
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--color-display);
  line-height: 1;
}

.public-list-hero-panel span,
.public-list-hero-panel p {
  margin: 0;
  color: var(--color-shell-muted);
  line-height: 1.65;
}

.public-list-info-bar {
  background: rgba(247, 181, 0, 0.08);
  border-top: 1px solid rgba(247, 181, 0, 0.2);
  border-bottom: 1px solid rgba(247, 181, 0, 0.2);
}

.public-list-info-shell {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.public-list-info-copy {
  margin: 0;
  color: var(--color-display);
  font-weight: 600;
}

.public-list-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.public-inline-link {
  width: fit-content;
  color: var(--color-accent-blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 121, 183, 0.22);
}

.public-inline-link:hover {
  text-decoration: none;
  color: var(--color-accent-teal);
}

.public-list-filter-wrap {
  padding: 2rem 0 4.5rem;
}

.public-list-filter-card,
.proposal-entry-panel,
.proposal-entry-step,
.proposal-entry-benefit,
.proposal-entry-example {
  border-radius: 1.35rem;
  border: 1px solid var(--color-home-card-border);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.public-list-filter-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.3rem;
  position: sticky;
  top: calc(var(--shell-nav-height) + 1rem);
  z-index: 5;
}

.public-list-filter-head,
.public-list-results-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.public-list-filter-eyebrow,
.public-list-results-eyebrow,
.proposal-entry-section-eyebrow {
  display: inline-block;
  margin: 0 0 0.25rem;
  color: var(--color-accent-blue);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proposal-entry-section-eyebrow-inverse {
  color: rgba(255, 255, 255, 0.74);
}

.public-list-filter-title,
.public-list-results-title,
.proposal-entry-section-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(1.55rem, 2.2vw, 2.3rem);
  line-height: 1.1;
  color: var(--color-display);
}

.proposal-entry-section-title-inverse {
  color: #fff;
}

.public-list-results-text {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.public-list-filter-grid {
  display: grid;
  gap: 1rem;
}

.public-field {
  display: grid;
  gap: 0.45rem;
}

.public-field-search {
  grid-column: 1 / -1;
}

.public-field-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.public-field-input,
.public-field-select {
  width: 100%;
  min-height: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  color: var(--color-text);
  padding: 0.8rem 1rem;
  font: inherit;
}

.public-field-input:focus,
.public-field-select:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(45, 121, 183, 0.12);
}

.public-list-filter-actions,
.public-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.public-list-results {
  display: grid;
  gap: 1.35rem;
}

.public-card-grid {
  display: grid;
  gap: 1rem;
}

.public-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.35rem;
  border: 1px solid var(--color-home-card-border);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.public-card-consultation {
  border-top: 4px solid var(--color-accent-green);
}

.public-card-grassroots {
  border-top: 4px solid var(--color-accent-teal);
}

.public-card-top,
.public-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.public-card-badges,
.public-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.public-pill,
.public-tag,
.public-card-meta-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.public-pill-tone-green {
  background: rgba(78, 158, 76, 0.12);
  color: var(--color-accent-green);
}

.public-pill-tone-blue {
  background: rgba(45, 121, 183, 0.12);
  color: var(--color-accent-blue);
}

.public-pill-tone-teal {
  background: rgba(62, 184, 164, 0.12);
  color: var(--color-accent-teal);
}

.public-pill-tone-amber {
  background: rgba(230, 120, 33, 0.12);
  color: var(--color-accent-amber);
}

.public-card-meta-chip {
  background: rgba(15, 23, 31, 0.06);
  color: var(--color-text-muted);
}

.public-card-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.22;
}

.public-card-title a,
.public-card-link {
  color: inherit;
  text-decoration: none;
}

.public-card-title a:hover,
.public-card-link:hover {
  text-decoration: none;
  color: var(--color-accent-blue);
}

.public-card-summary {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.public-tag-theme,
.public-tag-zone {
  background: rgba(17, 24, 39, 0.05);
  color: var(--color-shell-text);
  font-weight: 600;
}

.public-card-metrics {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.public-card-metrics div {
  display: grid;
  gap: 0.2rem;
}

.public-card-metrics dt {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.public-card-metrics dd {
  margin: 0;
  color: var(--color-display);
  font-weight: 600;
}

.public-card-link {
  font-weight: 700;
  color: var(--color-accent-blue);
}

.public-progress-block {
  display: grid;
  gap: 0.45rem;
}

.public-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.public-progress-track {
  width: 100%;
  height: 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 31, 0.08);
  overflow: hidden;
}

.public-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #F7B500, #E67821);
}

.public-pagination {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.public-pagination-link,
.public-pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.public-pagination-link {
  border: 1px solid var(--color-home-card-border);
  text-decoration: none;
}

.public-pagination-link:hover {
  text-decoration: none;
  border-color: rgba(45, 121, 183, 0.28);
}

.public-pagination-current {
  background: rgba(15, 23, 31, 0.04);
  color: var(--color-text-muted);
}

.public-empty-state {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: 1.4rem;
  border: 1px dashed var(--color-home-card-border);
  background: rgba(255, 255, 255, 0.7);
}

.public-empty-title {
  margin: 0;
  font-family: var(--font-family-display);
  color: var(--color-display);
}

.public-empty-text {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.public-list-loading {
  display: none;
  gap: 1rem;
  margin-top: 1rem;
}

.public-list-skeleton {
  min-height: 14rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 25%, rgba(17, 24, 39, 0.1) 37%, rgba(17, 24, 39, 0.05) 63%);
  background-size: 400% 100%;
  animation: public-skeleton 1.2s ease infinite;
}

.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: grid;
}

@keyframes public-skeleton {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.proposal-entry-hero,
.proposal-entry-section,
.proposal-entry-cta {
  padding: 4rem 0;
}

.proposal-entry-hero {
  background:
    radial-gradient(circle at top left, rgba(247, 181, 0, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(45, 121, 183, 0.12), transparent 34%),
    linear-gradient(135deg, #fff9ed 0%, #ffffff 48%, #eef7fb 100%);
}

.proposal-entry-copy {
  display: grid;
  gap: 1rem;
}

.proposal-entry-visual {
  position: relative;
  min-height: 20rem;
}

.proposal-entry-pattern {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 2rem;
  border: 1px solid var(--color-home-card-border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 238, 0.88)),
    radial-gradient(circle at 30% 30%, rgba(247, 181, 0, 0.18), transparent 34%);
  box-shadow: var(--shadow-shell);
}

.proposal-entry-shape,
.proposal-entry-line {
  position: absolute;
}

.proposal-entry-shape-circle {
  width: 9rem;
  height: 9rem;
  top: 1.5rem;
  right: 2rem;
  border-radius: 50%;
  border: 3px solid rgba(62, 184, 164, 0.42);
}

.proposal-entry-shape-square {
  width: 5rem;
  height: 5rem;
  left: 2rem;
  bottom: 2rem;
  border: 3px solid rgba(45, 121, 183, 0.34);
  transform: rotate(12deg);
}

.proposal-entry-shape-dot {
  width: 1rem;
  height: 1rem;
  left: 50%;
  top: 30%;
  border-radius: 50%;
  background: #E67821;
}

.proposal-entry-line-a,
.proposal-entry-line-b {
  height: 2px;
  background: rgba(16, 55, 48, 0.18);
}

.proposal-entry-line-a {
  width: 11rem;
  left: 20%;
  top: 45%;
  transform: rotate(18deg);
}

.proposal-entry-line-b {
  width: 9rem;
  right: 18%;
  bottom: 28%;
  transform: rotate(-22deg);
}

.proposal-entry-note {
  position: absolute;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-home-card-border);
  box-shadow: var(--shadow-sm);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-display);
}

.proposal-entry-note-top { left: 1.4rem; top: 1.4rem; }
.proposal-entry-note-bottom { right: 1.4rem; bottom: 1.4rem; }

.proposal-entry-section-alt {
  background: linear-gradient(180deg, rgba(240, 250, 248, 0.75), rgba(255, 255, 255, 0.95));
}

.proposal-entry-section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.proposal-entry-grid-two,
.proposal-entry-steps,
.proposal-entry-benefits {
  display: grid;
  gap: 1rem;
}

.proposal-entry-panel,
.proposal-entry-step,
.proposal-entry-benefit,
.proposal-entry-example {
  padding: 1.25rem;
}

.proposal-entry-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--color-text-secondary);
}

.proposal-entry-list li + li {
  margin-top: 0.65rem;
}

.proposal-entry-examples {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.proposal-entry-step h3,
.proposal-entry-benefit h3,
.proposal-entry-example strong {
  margin: 0;
  font-family: var(--font-family-display);
  color: var(--color-display);
}

.proposal-entry-step p,
.proposal-entry-benefit p,
.proposal-entry-example p {
  margin: 0.65rem 0 0;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.proposal-entry-step {
  position: relative;
  padding-top: 3.25rem;
}

.proposal-entry-step-no {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-family: var(--font-family-display);
  font-size: 1.1rem;
  color: var(--color-accent-blue);
}

.proposal-entry-cta {
  background: linear-gradient(135deg, #103730 0%, #17486f 100%);
}

.proposal-entry-cta-shell {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.proposal-entry-actions-end {
  align-items: flex-start;
}

.wizard-shell {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.wizard-intro {
  display: grid;
  gap: 1rem;
}

.wizard-intro-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.wizard-back-link {
  width: fit-content;
  color: var(--color-accent-blue);
  font-weight: 700;
  text-decoration: none;
}

.wizard-back-link:hover {
  text-decoration: none;
  color: var(--color-accent-teal);
}

.wizard-title {
  color: var(--color-display);
}

.wizard-info-card {
  padding: 1.1rem 1.15rem;
  border-radius: 1.2rem;
  border: 1px solid var(--color-home-card-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.wizard-info-card strong {
  display: block;
  color: var(--color-display);
}

.wizard-info-card p {
  margin: 0.5rem 0 0;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

@media (min-width: 640px) {
  .public-list-actions,
  .proposal-entry-actions,
  .public-list-filter-actions,
  .public-empty-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .public-list-btn,
  .proposal-entry-btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .public-list-filter-grid,
  .public-card-grid,
  .proposal-entry-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-card-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proposal-entry-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizard-intro-grid,
  .proposal-entry-cta-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  }
}

@media (min-width: 1024px) {
  .public-list-shell,
  .proposal-entry-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.72fr);
  }

  .public-list-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .public-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proposal-entry-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proposal-entry-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-color-scheme: dark) {
:is(.public-list-hero-panel, .public-list-filter-card, .public-card, .public-empty-state, .proposal-entry-panel, .proposal-entry-step, .proposal-entry-benefit, .proposal-entry-example, .proposal-entry-pattern, .proposal-entry-note, .wizard-info-card) {
  background: rgba(15, 23, 31, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
}

.public-list-info-bar {
  background: rgba(247, 181, 0, 0.08);
}

:is(.public-field-input, .public-field-select) {
  background: rgba(17, 27, 35, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

:is(.public-list-title, .proposal-entry-title, .public-list-filter-title, .public-list-results-title, .proposal-entry-section-title, .public-card-title, .public-empty-title, .proposal-entry-step h3, .proposal-entry-benefit h3, .proposal-entry-example strong, .wizard-info-card strong) {
  color: var(--color-display);
}

:is(.public-list-text, .proposal-entry-text, .public-list-results-text, .public-empty-text, .proposal-entry-step p, .proposal-entry-benefit p, .proposal-entry-example p, .proposal-entry-list, .wizard-info-card p, .public-card-summary, .public-card-metrics dd) {
  color: var(--color-text-secondary);
}

.proposal-entry-btn-ghost {
  color: #fff;
}

:is(.public-card-meta-chip, .public-pagination-current, .public-tag-theme, .public-tag-zone) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
}

.public-progress-track {
  background: rgba(255, 255, 255, 0.08);
}

.public-list-skeleton {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 37%, rgba(255, 255, 255, 0.05) 63%);
  background-size: 400% 100%;
}
}


/* ==========================================================================
   Section 19: Utilities + Responsive
   ========================================================================== */

/* Screen-reader only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.sr-only:focus { position: absolute; width: auto; height: auto; padding: 0.5rem; margin: 0; overflow: visible; clip: auto; white-space: normal; z-index: 50; background: white; color: var(--brand-900); }

/* Text utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-muted { color: var(--color-text-muted); }
.text-brand { color: var(--brand-700); }
.text-danger { color: var(--color-red-600); }
.text-success { color: var(--color-green-700); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.whitespace-pre-line { white-space: pre-line; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.flex-1 { flex: 1; }

/* Spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
/* Lists */
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Width */
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }

/* Borders */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }
.border { border: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }

/* Backgrounds */
.bg-white { background-color: var(--color-bg-white); }
.bg-gray-50 { background-color: var(--color-gray-50); }
.bg-brand-50 { background-color: var(--brand-50); }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }

/* Transitions */
.transition { transition: all 0.15s ease; }
.transition-colors { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* Relative/Absolute positioning */
.relative { position: relative; }
.absolute { position: absolute; }

/* Aspect ratio */
.aspect-video { aspect-ratio: 16/9; }

/* Object fit */
.object-cover { object-fit: cover; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* Opacity */
.opacity-50 { opacity: 0.5; }

/* Misc responsive show/hide */
@media (min-width: 640px) {
  .sm\:hidden { display: none; }
  .sm\:inline { display: inline; }
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
}
@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
/* Print */
@media print {
  .nav-bar, .site-footer, .nav-hamburger { display: none; }
  body { background: white; color: black; }
}

/* Extended public surfaces */
.surface-hero {
  padding: clamp(2rem, 4vw, 4rem) 0 2rem;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.15), transparent 28%),
    radial-gradient(circle at bottom right, rgba(217, 119, 6, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(244, 239, 229, 0.92), rgba(255, 255, 255, 0.96));
}
.surface-shell {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: 0 1rem;
}
.surface-hero-shell,
.surface-detail-layout {
  display: grid;
  gap: 1.5rem;
}
.surface-hero-copy,
.surface-hero-visual,
.surface-main,
.surface-sidebar {
  min-width: 0;
}
.surface-badge-row,
.surface-chip-row,
.surface-metric-grid,
.surface-hero-card-grid,
.surface-card-grid,
.surface-stack-tight,
.wizard-mini-metrics,
.wizard-checklist,
.wizard-form-grid {
  display: grid;
  gap: 0.9rem;
}
.surface-badge-row,
.surface-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.surface-kicker,
.surface-card-label,
.wizard-step-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.surface-title,
.error-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.04em;
  color: var(--brand-950);
}
.surface-text,
.error-text {
  color: var(--color-text-muted);
  line-height: 1.7;
}
.surface-text-lg {
  font-size: var(--page-hero-text-size);
  max-width: 46rem;
  line-height: var(--page-hero-text-line-height);
}
.surface-inline-note {
  margin: 0;
  color: var(--color-text-muted);
}
.surface-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--color-text);
  font-size: var(--font-size-sm);
}
.surface-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.surface-metric-card,
.surface-panel,
.surface-media-card,
.surface-profile-card,
.auth-card,
.error-shell,
.wizard-review-card,
.wizard-aside-card,
.wizard-evidence-row,
.wizard-map-frame {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}
.surface-metric-card {
  padding: 1rem 1.1rem;
}
.surface-metric-card strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--brand-900);
}
.surface-metric-card span {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}
.surface-map-card,
.surface-media-card,
.surface-profile-card {
  overflow: hidden;
}
.surface-hero-card {
  padding: 1rem;
}
.surface-card-grid {
  grid-template-columns: 1fr;
}
.surface-card-grid-two {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.surface-section {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.surface-section-head {
  display: grid;
  gap: 0.4rem;
}
.surface-section-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--brand-900);
}
.surface-panel {
  padding: 1.2rem;
}
.surface-panel-label {
  margin: 0 0 0.45rem;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--brand-800);
}
.surface-panel p:last-child,
.surface-panel ul:last-child {
  margin-bottom: 0;
}
.surface-panel-alert {
  background: rgba(254, 242, 242, 0.96);
}
.surface-panel-success {
  background: rgba(240, 253, 244, 0.96);
}
.surface-panel-danger {
  background: rgba(254, 242, 242, 0.98);
}
.surface-panel-muted,
.wizard-review-evidence {
  background: rgba(248, 250, 252, 0.98);
}
.surface-panel-sticky {
  position: sticky;
  top: 1.5rem;
}
.surface-bullet-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-text-muted);
}
.surface-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.surface-mini-callout {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(244, 247, 248, 0.95);
}
.surface-evidence-image {
  width: 100%;
  max-height: 16rem;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
}
.surface-evidence-link {
  color: var(--brand-700);
  font-weight: 700;
  text-decoration: underline;
}
.surface-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}
.surface-image-fallback {
  min-height: 18rem;
  display: grid;
  align-content: end;
  gap: 0.6rem;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(217, 119, 6, 0.12));
}
.surface-profile-card {
  min-height: 18rem;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.surface-main {
  padding-bottom: 2rem;
}
.public-list-hero-events,
.surface-hero-events {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.98));
}
.public-list-hero-champions,
.surface-hero-champions {
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(245, 243, 255, 0.92), rgba(255, 255, 255, 0.98));
}
.public-list-hero-search {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(236, 253, 245, 0.88), rgba(255, 255, 255, 0.98));
}
.fig-home-hero-champions {
  background:
    radial-gradient(circle at 18% 16%, rgba(124, 58, 237, 0.08), transparent 10%),
    radial-gradient(circle at 79% 20%, rgba(14, 165, 233, 0.08), transparent 12%),
    radial-gradient(circle at 72% 74%, rgba(124, 58, 237, 0.1), transparent 11%),
    linear-gradient(180deg, #fdfcff, #f6f8fc);
}
.body-champions .main-full-bleed {
  padding-top: 73.6px;
}
.champions-hero-grid {
  min-height: 41rem;
}
.champions-hero-copy {
  max-width: 38rem;
}
.champions-hero-pill {
  background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
  border-color: rgba(76, 29, 149, 0.28);
}
.champions-hero-title {
  max-width: 10.8ch;
}
.champions-hero-summary {
  max-width: 36rem;
  margin: 0;
  color: #42516b;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.75;
}
.champions-hero-actions {
  margin-top: 0.2rem;
}
.champions-hero-btn-consultations {
  border-color: #4e9e4c;
  color: #2f7c39;
}
.champions-hero-btn-consultations:hover {
  border-color: #3f8740;
  color: #256530;
}
.champions-hero-visual {
  align-self: stretch;
}
.champions-hero-panel {
  width: 100%;
  min-height: 45rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.champions-hero-visual-stage {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100%;
}
.champions-hero-visual-image {
  width: min(100%, 61.5rem);
  height: auto;
  max-height: 51rem;
  object-fit: contain;
  filter: drop-shadow(0 26px 40px rgba(109, 40, 217, 0.14));
}
.champions-intro-shell {
  margin-top: -2rem;
  margin-bottom: 1.5rem;
}
.champions-intro-card {
  width: min(100%, 72rem);
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(109, 40, 217, 0.08);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
}
.champions-intro-eyebrow {
  margin-bottom: 0.55rem;
}
.champions-intro-card strong {
  font-family: var(--font-family-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.1;
  color: #111827;
}
.champions-intro-card p {
  margin: 0;
  color: #516076;
  font-size: 1rem;
  line-height: 1.7;
}
.champions-intro-points {
  display: grid;
  gap: 0.9rem;
}
.champions-intro-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  background: rgba(247, 244, 255, 0.86);
  border: 1px solid rgba(109, 40, 217, 0.08);
}
.champions-intro-point-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #6d28d9;
  color: #fff;
  font-family: var(--font-family-display);
  font-size: 1rem;
  font-weight: 700;
}
.champions-intro-point p,
.champions-intro-point strong {
  margin: 0;
}
.champions-intro-point strong {
  font-size: 1.02rem;
}
.champions-intro-point p {
  margin-top: 0.25rem;
  color: #607087;
  font-size: 0.95rem;
  line-height: 1.55;
}
.champions-filter-card {
  width: 100%;
  gap: 1.1rem;
  position: static;
  top: auto;
  padding: 1.45rem 1.5rem;
}
.body-champions #champions-filters {
  width: min(100% - 1.5rem, 1200px);
}
.champions-filter-head {
  gap: 0.5rem;
}
.champions-filter-text {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.champions-filter-form {
  display: grid;
  gap: 0.9rem 1rem;
  align-items: end;
  grid-template-columns: 1fr;
}
.champions-zone-toolbar {
  margin-bottom: 0;
}
.champions-zone-toolbar-grid {
  width: 100%;
}
.champions-zone-child-group {
  display: grid;
}
.champions-filter-reset {
  width: fit-content;
}
.champions-directory-shell {
  width: min(100% - 1.5rem, 1200px);
  padding-bottom: 4.5rem;
}
.champions-results {
  width: 100%;
  gap: 1.5rem;
}
.champions-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.2rem;
}
.champions-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 1.5rem;
}
.champions-card-top {
  display: flex;
  justify-content: center;
  padding: 1.55rem 1.25rem 0;
}
.champions-card-avatar-wrap {
  padding: 0;
}
.champions-card-avatar {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1.75rem;
  object-fit: cover;
}
.champions-card-avatar-icon {
  width: 2.35rem;
  height: 2.35rem;
}
.champions-card-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.9rem;
  padding: 1rem 1.25rem 1.2rem;
  height: 100%;
  align-content: start;
}
.champions-card-head {
  display: grid;
  gap: 0.45rem;
  min-height: 6.15rem;
  text-align: center;
  align-content: start;
}
.champions-card-title {
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
}
.champions-card-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.45;
}
.champions-card-spacer {
  min-height: 0.5rem;
}
.champions-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: auto;
}
.champions-card-zone {
  flex: 0 0 auto;
  min-height: 2rem;
  color: #31546d;
  background: rgba(45, 121, 183, 0.08);
}
.champions-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  justify-self: start;
  line-height: 1.2;
}
.champions-empty-state {
  display: grid;
  gap: 0.5rem;
}
.champions-empty-state strong,
.champions-empty-state p {
  margin: 0;
}
.public-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}
.public-card-body {
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
}
.public-card-body-center {
  justify-items: center;
  text-align: center;
}
.public-card-avatar {
  display: flex;
  justify-content: center;
  padding: 1.25rem 1.25rem 0;
}
.public-card-title {
  margin: 0;
  font-size: var(--font-size-xl);
}
.public-card-summary {
  color: var(--color-text-muted);
}
.public-card-stats,
.public-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}
.search-result-card .badge {
  width: fit-content;
}
.public-search-form {
  margin-top: 1rem;
}
.auth-shell {
  width: min(100%, 70rem);
  margin: 0 auto;
  padding: 2.5rem 1rem;
  display: grid;
  gap: 1.5rem;
}
.auth-shell-centered {
  width: min(100%, 40rem);
}
.auth-shell-copy {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.auth-card {
  padding: 1.5rem;
}
.auth-card-center {
  text-align: center;
}
.auth-card-wide {
  max-width: 50rem;
}
.auth-card select,
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
  width: 100%;
}
.profile-checkbox-card {
  max-height: 16rem;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  background: rgba(248, 250, 252, 0.9);
}
.error-shell {
  gap: 0;
  margin: 4rem auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: grid;
  gap: 1rem;
}
.wizard-shell {
  padding-bottom: 3rem;
}
.wizard-step-shell,
.wizard-step-head {
  display: grid;
  gap: 0.75rem;
}
.wizard-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
  background: rgba(15, 23, 31, 0.08);
  color: var(--color-text);
}
.wizard-mini-metrics {
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.wizard-mini-metric {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.wizard-mini-metric strong {
  display: block;
  color: var(--brand-900);
}
.wizard-mini-metric span,
.wizard-char-counter {
  font-size: var(--font-size-xs);
}
.wizard-checklist {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
}
.wizard-checklist-compact {
  gap: 0.5rem;
}
.wizard-aside-card {
  padding: 1.1rem;
}
.wizard-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
}
.wizard-map-frame {
  overflow: hidden;
  padding: 0.35rem;
}
.wizard-evidence-row {
  padding: 1rem;
}
.wizard-review-card {
  overflow: hidden;
  margin-bottom: 1rem;
}
.wizard-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid var(--color-border);
}
.surface-chip-row-center {
  justify-content: center;
}
@media (min-width: 900px) {
  .surface-hero-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
    align-items: center;
  }
  .surface-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem);
  }
  .auth-shell {
    grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 0.95fr);
    align-items: start;
  }
}
@media (max-width: 899px) {
  .wizard-form-grid {
    grid-template-columns: 1fr;
  }
  .surface-panel-sticky {
    position: static;
  }
}

@media (max-width: 420px) {
  .body-grassroots-detail .surface-section > *,
  .body-grassroots-detail .surface-panel,
  .body-grassroots-detail .lifecycle-progress,
  .body-grassroots-detail .lifecycle-steps {
    min-width: 0;
    max-width: 100%;
  }

  .body-grassroots-detail .lifecycle-steps {
    flex-wrap: wrap;
    row-gap: 0.85rem;
  }

  .body-grassroots-detail .lifecycle-step {
    flex: 0 1 33.333%;
  }
}

/* Homepage fidelity pass */
.body-homepage {
  background: #f7f8f6;
}
.body-homepage .nav-bar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(176, 172, 165, 0.3);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  color: #314158;
}
.body-homepage .nav-backdrop,
.body-homepage .nav-backdrop-edge {
  display: none;
}
.body-homepage .nav-inner {
  max-width: 112.5rem;
  padding: 0.9rem 1rem;
}
.body-homepage .nav-logo-mark {
  color: #2d79b7;
  font-size: 1.15rem;
}
.body-homepage .nav-logo-text {
  color: #4e9e4c;
  font-size: 1.12rem;
}
.body-homepage .nav-link {
  padding: 0.45rem 0.7rem;
  border-radius: 0.625rem;
  color: #314158;
}
.body-homepage .nav-link:hover,
.body-homepage .nav-link:focus-visible {
  background: #f1f5f9;
}
.body-homepage .nav-search-input {
  background: #fafaf9;
  border-color: rgba(176, 172, 165, 0.4);
  color: #64748b;
}
.body-homepage .nav-auth-btn {
  background: #2d79b7;
  border-color: #2d79b7;
  color: white;
}
.body-homepage .site-footer {
  background: linear-gradient(180deg, #0d2130, #14243f);
}
.body-homepage .footer-shell {
  max-width: 112rem;
}
.body-homepage .footer-summary {
  color: #90a1b9;
}
.body-homepage .footer-heading {
  color: white;
}
.body-homepage .footer-links a,
.body-homepage .footer-note,
.body-homepage .footer-copyright {
  color: #90a1b9;
}
.body-homepage .footer-meta-links a:first-child {
  color: #4e9e4c;
}
.body-homepage .footer-meta-links a:last-child {
  color: #3eb8a4;
}
.fig-home-shell {
  width: min(100%, 80rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.fig-home-hero .fig-home-shell {
  width: var(--page-hero-shell-width);
  padding: 0 0.75rem;
}
.fig-home-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background:
    linear-gradient(90deg, rgba(78, 158, 76, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(45, 121, 183, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff, #f7f8f6);
  background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto;
}
.fig-home-hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  min-height: 41rem;
}
.fig-home-copy {
  display: grid;
  gap: 1.65rem;
}
.fig-home-platform-pill {
  width: fit-content;
  padding: 0.32rem 10px 0.3rem;
  border-radius: 0.18rem;
  background: linear-gradient(180deg, #4b97d4 0%, #2d79b7 100%);
  border: 1px solid rgba(23, 72, 116, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 5px 10px -6px rgba(15, 23, 42, 0.28),
    0 2px 4px rgba(15, 23, 42, 0.14);
  position: relative;
  overflow: hidden;
}

.map-container {
  position: relative;
}

.map-surface-message {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 450;
  padding: 0.8rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--color-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 14px 28px -24px rgba(15, 35, 30, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-base-blocked {
  background:
    radial-gradient(circle at top left, rgba(62, 184, 164, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(246, 251, 250, 0.96), rgba(238, 246, 251, 0.9));
}
.fig-home-platform-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  clip-path: polygon(0 0, 100% 0, 100% 88%, 96.5% 100%, 0 100%);
}
.fig-home-platform-pill span {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fig-home-title {
  margin: 0;
  max-width: 12.2ch;
  font-family: var(--font-family-display);
  font-size: clamp(3.25rem, 5.6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #0f172b;
  position: relative;
}
.fig-home-title::before,
.fig-home-title::after {
  display: none;
}
.fig-home-title::before {
  top: -1rem;
  right: 5.6rem;
  width: 1.4rem;
  height: 1.4rem;
  background: rgba(62, 184, 164, 0.42);
  filter: blur(3px);
}
.fig-home-title::after {
  right: -1.2rem;
  top: 6.3rem;
  width: 1.05rem;
  height: 1.05rem;
  background: rgba(230, 120, 33, 0.65);
}
.fig-home-title-line {
  display: block;
}
.fig-home-title-line-nowrap {
  white-space: nowrap;
}
.fig-home-title-line-accent {
  color: #3eb8a4;
}
.fig-home-title-line-emphasis {
  position: relative;
}
.fig-home-title-line-emphasis::after {
  display: none;
}
.fig-home-title-underline {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.fig-home-title-underline::after {
  content: "";
  position: absolute;
  left: -0.02rem;
  right: -0.52rem;
  bottom: -0.15rem;
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 214, 205, 0.78), rgba(143, 231, 224, 0.58));
  opacity: 1;
  z-index: -1;
  transform: rotate(-0.6deg);
}
.fig-home-summary {
  max-width: 38rem;
  margin: -0.15rem 0 0;
  color: #45556c;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.75;
}
.fig-home-summary-line {
  display: block;
}
.fig-home-summary-line-first {
  white-space: nowrap;
}
.fig-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.15rem;
}
.fig-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 3.55rem;
  min-width: 12.1rem;
  padding: 1.05rem 2rem;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.fig-home-btn span {
  position: relative;
  z-index: 1;
}
.fig-home-btn-primary {
  overflow: hidden;
  background: #2f7c39;
  color: white;
}
.fig-home-btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 1.05rem solid #f7b500;
  border-left: 1.05rem solid transparent;
  pointer-events: none;
}
.fig-home-btn-secondary {
  background: white;
  color: #0f172a;
  border: 3px solid #2d79b7;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.fig-home-btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0.26rem;
  border: 2px dashed rgba(86, 154, 209, 0.58);
  border-radius: 0.5rem;
  pointer-events: none;
}
.fig-home-btn-compact {
  min-height: 2.85rem;
  padding: 0.72rem 1.35rem;
}
.fig-home-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.fig-home-btn-primary:hover {
  color: white;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.body-champions .fig-home-btn-primary.champions-hero-btn-initiative {
  background: #f7b500;
  color: #0f172a;
}
.body-champions .fig-home-btn-primary.champions-hero-btn-initiative::after {
  border-top-color: #4e9e4c;
}
.body-champions .fig-home-btn-primary.champions-hero-btn-initiative:hover {
  background: #dfab0d;
  color: #0f172a;
}
.fig-home-btn-secondary:hover {
  color: #15334d;
  background: #fafaf9;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.body-champions .fig-home-btn-secondary.champions-hero-btn-consultations {
  border-color: #4e9e4c;
  color: #2f7c39;
}
.body-champions .fig-home-btn-secondary.champions-hero-btn-consultations::before {
  border-color: rgba(78, 158, 76, 0.45);
}
.body-champions .fig-home-btn-secondary.champions-hero-btn-consultations:hover {
  border-color: #3f8740;
  color: #256530;
}
@media (min-width: 900px) {
  .champions-filter-form { justify-content: start; }
}
@media (min-width: 1024px) {
  .body-champions #champions-filters,
  .body-champions .champions-directory-shell {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1099px) {
  .champions-filter-form {
    grid-template-columns: 1fr;
    justify-content: start;
  }
}
@media (max-width: 699px) {
  .champions-card-top {
    justify-content: center;
  }
}
.fig-home-community {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.45rem;
}
.fig-home-community-footer {
  flex-wrap: nowrap;
  gap: 0.72rem;
  width: min(100%, 29rem);
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(209, 215, 224, 0.92);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
}
.fig-home-community-avatars {
  display: flex;
  align-items: center;
}
.fig-home-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 4px solid white;
  margin-left: -0.65rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  object-fit: cover;
  background: #dbe5ee;
}
.fig-home-community-footer .fig-home-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-width: 3px;
  margin-left: -0.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.fig-home-avatar:first-child {
  margin-left: 0;
}
.fig-home-avatar-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f7b500, #e67821);
  color: white;
  font-weight: 700;
}
.fig-home-community-copy strong,
.fig-home-community-copy span {
  display: block;
}
.fig-home-community-copy strong {
  color: #0f172b;
  font-size: 1.02rem;
}
.fig-home-community-footer .fig-home-community-copy strong {
  font-size: 0.9rem;
  line-height: 1.25;
}
.fig-home-community-highlight {
  color: #4e9e4c;
}
.fig-home-community-copy span {
  color: #45556c;
  font-size: 0.9rem;
}
.fig-home-community-footer .fig-home-community-copy span {
  font-size: 0.82rem;
  line-height: 1.45;
}
.fig-home-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.fig-home-visual-card {
  position: relative;
  width: min(100%, 46rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 1.1rem;
  overflow: visible;
  background: transparent;
}
.fig-home-visual-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(31rem, 44vw, 39rem);
  object-fit: contain;
}
.fig-home-hero-fade {
  height: 4rem;
  background: linear-gradient(180deg, rgba(247, 248, 246, 0), rgba(196, 196, 196, 0.55), rgba(247, 248, 246, 0));
  opacity: 0.35;
}
.fig-home-section {
  padding: 3rem 0;
}
.fig-home-consultations-section {
  padding: 5.75rem 0 5.2rem;
  background: white;
}
.fig-home-consultations-shell {
  width: min(100%, 80rem);
}
.fig-home-section-muted {
  background: #f1f2ef;
}
.fig-home-proposals-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 22%, rgba(176, 172, 165, 0.08), transparent 12%),
    radial-gradient(circle at 81% 18%, rgba(176, 172, 165, 0.05), transparent 16%),
    linear-gradient(180deg, #fafaf9 0%, #f4f4f2 100%);
}
.fig-home-section-participate,
.fig-home-impact {
  background: #f8faf8;
}
.fig-home-section-newsletter {
  padding-bottom: 4rem;
}
.fig-home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.fig-home-section-head-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.fig-home-section-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  color: #0f172b;
}
.fig-home-section-subtitle,
.fig-home-free-note {
  margin: 0;
  color: #64748b;
}
.fig-home-section-kicker {
  color: #8b7c5b;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fig-home-section-kicker-light {
  color: rgba(255, 255, 255, 0.84);
}
.fig-home-inline-link {
  color: #2d79b7;
  font-weight: 700;
  text-decoration: none;
}
.fig-home-consultations-head {
  align-items: center;
  margin-bottom: 3rem;
}
.fig-home-consultations-title-wrapper {
  position: relative;
}
.fig-home-consultations-title {
  font-size: clamp(2.25rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}
.fig-home-consultations-underline {
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 12rem;
  height: 0.75rem;
}
.fig-home-consultations-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-sans);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}
.fig-home-consultations-view-all svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}
.fig-home-consultations-view-all:hover {
  color: #3eb8a4;
}
.fig-home-consultations-view-all:hover svg {
  transform: translateX(0.25rem);
}
.fig-home-card-grid,
.fig-home-capability-grid,
.fig-home-step-grid,
.fig-home-impact-grid {
  display: grid;
  gap: 1rem;
}
.fig-home-consultations-grid {
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .fig-home-consultations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.fig-home-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
  background: white;
  border: 1px solid rgba(202, 213, 226, 0.8);
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
}
.fig-home-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}
.fig-home-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}
.fig-home-card-title a {
  color: #0f172b;
  text-decoration: none;
}
.fig-home-status {
  white-space: nowrap;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: #4e9e4c;
  font-size: 0.78rem;
  font-weight: 700;
}
.fig-home-status-public {
  background: #ecfdf3;
}
.fig-home-consultation-card {
  position: relative;
  overflow: hidden;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid #e7e5e4;
  border-top: 4px solid #4e9e4c;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 18px -16px rgba(15, 23, 42, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fig-home-consultation-card:hover {
  border-color: #4e9e4c;
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.fig-home-consultation-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}
.fig-home-consultation-status-badge {
  position: static;
  flex: none;
}
.fig-home-consultation-status-badge-inner {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(78, 158, 76, 0.1);
  border: 1px solid rgba(78, 158, 76, 0.3);
  border-radius: 0.375rem;
}
.fig-home-consultation-status-text {
  color: #4e9e4c;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fig-home-consultation-title-wrapper {
  margin-bottom: 0.35rem;
  padding-right: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.fig-home-consultation-title {
  font-size: 1.25rem;
  line-height: 1.35;
}
.fig-home-consultation-title a {
  color: #0f172a;
  text-decoration: underline;
  text-decoration-color: rgba(45, 121, 183, 0.3);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}
.fig-home-consultation-title a:hover {
  color: #2d79b7;
}
.fig-home-consultation-description {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #475569;
  margin-bottom: 0.4rem;
}
.fig-home-consultation-meta {
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.fig-home-consultation-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.4;
}
.fig-home-consultation-meta-icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}
.fig-home-consultation-meta-icon-clock {
  color: #e67821;
}
.fig-home-consultation-meta-icon-users {
  color: #3eb8a4;
}
.fig-home-consultation-organizer {
  padding-top: 1rem;
  border-top: 1px solid #e7e5e4;
}
.fig-home-consultation-organizer-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(62, 184, 164, 0.1);
  color: #3eb8a4;
  font-family: var(--font-family-sans);
  font-size: 0.75rem;
  font-weight: 500;
}
.fig-home-consultation-corner-accent {
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 2rem;
  height: 2rem;
  background: rgba(247, 181, 0, 0.32);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.fig-home-consultation-card:hover .fig-home-consultation-corner-accent {
  opacity: 1;
}
.fig-home-proposals-head {
  align-items: center;
  margin-bottom: 2.5rem;
}
.fig-home-proposals-header-text {
  display: grid;
  gap: 0.3rem;
}
.fig-home-proposals-title {
  font-size: clamp(2.15rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}
.fig-home-proposals-title-accent {
  color: #4e9e4c;
}
.fig-home-proposals-subtitle {
  font-size: 1rem;
  color: #475569;
}
.fig-home-proposals-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}
.fig-home-proposals-view-all svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}
.fig-home-proposals-view-all:hover {
  color: #3eb8a4;
}
.fig-home-proposals-view-all:hover svg {
  transform: translateX(0.25rem);
}
.fig-home-proposals-grid {
  gap: 1.5rem;
}
.fig-home-proposal-card {
  position: relative;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid #e7e5e4;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 18px -16px rgba(15, 23, 42, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.fig-home-proposal-card:hover {
  border-color: #3eb8a4;
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.fig-home-proposal-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.fig-home-proposal-status-badge-inner {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(78, 158, 76, 0.1);
  border: 1px solid rgba(78, 158, 76, 0.3);
  border-radius: 0.375rem;
}
.fig-home-proposal-status-text {
  color: #4e9e4c;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fig-home-proposal-title-wrapper {
  margin-bottom: 0.4rem;
  padding-right: 5rem;
}
.fig-home-proposal-title {
  font-size: 1.25rem;
  line-height: 1.35;
}
.fig-home-proposal-title a {
  color: #0f172a;
  text-decoration: underline;
  text-decoration-color: rgba(45, 121, 183, 0.3);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}
.fig-home-proposal-title a:hover {
  color: #2d79b7;
}
.fig-home-proposal-description {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #475569;
  margin-bottom: 0.3rem;
}
.fig-home-proposal-engagement {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e7e5e4;
}
.fig-home-proposal-engagement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
}
.fig-home-proposal-engagement-icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}
.fig-home-proposal-engagement-icon-support {
  color: #4e9e4c;
}
.fig-home-proposal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.fig-home-proposal-sector-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(62, 184, 164, 0.1);
  color: #3eb8a4;
  font-size: 0.75rem;
  font-weight: 500;
}
.fig-home-proposal-sector-tag svg {
  width: 0.75rem;
  height: 0.75rem;
  flex: none;
}
.fig-home-proposal-date {
  margin-left: auto;
  color: #64748b;
  font-size: 0.75rem;
}
.fig-home-proposal-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.5rem;
  height: 5rem;
  border-top-left-radius: 1rem;
  background: #4e9e4c;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fig-home-proposal-card:hover .fig-home-proposal-accent-bar {
  opacity: 1;
}
.fig-home-proposals-cta-wrapper {
  margin-top: 3rem;
}
.fig-home-proposals-cta-button {
  min-height: 3rem;
  padding: 0.95rem 2.45rem;
}
.fig-home-proposals-cta-button span {
  position: relative;
  z-index: 1;
}
.fig-home-card-text {
  margin: 0;
  color: #45556c;
  font-size: 0.92rem;
  line-height: 1.5;
}
.fig-home-card-meta {
  display: grid;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.82rem;
}
.fig-home-card-meta-split {
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: space-between;
}
.fig-home-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.fig-home-card-tags span {
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: #f5f7f8;
  color: #45556c;
  font-size: 0.82rem;
}
.fig-home-center-action {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.fig-home-capability {
  display: grid;
  gap: 0.75rem;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  border-radius: 0.85rem;
  background: white;
  border: 2px solid transparent;
  color: inherit;
}
.fig-home-capability-green { border-color: rgba(78, 158, 76, 0.65); }
.fig-home-capability-teal { border-color: rgba(62, 184, 164, 0.65); }
.fig-home-capability-amber { border-color: rgba(230, 120, 33, 0.55); }
.fig-home-capability-blue { border-color: rgba(45, 121, 183, 0.6); }
.fig-home-capability-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}
.fig-home-capability-label {
  font-weight: 700;
  color: #0f172b;
  font-size: 0.98rem;
}
.fig-home-capability-chip {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.76rem;
}
.fig-home-capability-text {
  margin: 0;
  color: #45556c;
  font-size: 0.9rem;
  line-height: 1.5;
}
.fig-home-capability-link {
  color: #2d79b7;
  font-weight: 700;
}
.body-homepage .home-capability-eyebrow {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fig-home-step-grid {
  position: relative;
  margin-top: 1.6rem;
}
.fig-home-step-card {
  position: relative;
  padding: 1.25rem 1.1rem;
  background: white;
  border: 1px solid rgba(202, 213, 226, 0.88);
  border-radius: 0.85rem;
  text-align: center;
}
.fig-home-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #2d79b7;
  color: white;
  font-weight: 700;
}
.fig-home-step-title {
  margin: 0 0 0.45rem;
  color: #0f172b;
  font-size: 1rem;
}
.fig-home-step-text {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}
.fig-home-impact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 52rem;
  margin: 1.6rem auto;
}
.fig-home-impact-stat {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  align-content: start;
  min-width: 0;
  padding: 1.1rem 0.95rem;
  border: 1px solid rgba(202, 213, 226, 0.88);
  border-radius: 0.85rem;
  background: white;
  text-align: center;
}
.fig-home-impact-stat strong {
  font-family: var(--font-family-display);
  font-size: 1.85rem;
  line-height: 1;
}
.fig-home-impact-stat span {
  color: #45556c;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}
.fig-home-impact-stat p {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.45;
}
.fig-home-impact-stat-green strong { color: #4e9e4c; }
.fig-home-impact-stat-blue strong { color: #2d79b7; }
.fig-home-impact-stat-amber strong { color: #e67821; }
.fig-home-impact-stat-teal strong { color: #3eb8a4; }
.fig-home-impact-stat-purple strong { color: #8b5cf6; }
.fig-home-transparency-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.2rem;
  background: white;
  border: 1px solid rgba(202, 213, 226, 0.88);
  border-radius: 0.85rem;
}
.fig-home-transparency-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #2d79b7;
  color: white;
  font-weight: 700;
}
.fig-home-transparency-copy {
  display: grid;
  gap: 0.5rem;
}
.fig-home-transparency-copy h3 {
  margin: 0;
  color: #0f172b;
  font-size: 1.05rem;
  line-height: 1.35;
}
.fig-home-transparency-copy p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}
.fig-home-newsletter {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(78, 158, 76, 0.35);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}
.fig-home-newsletter-art {
  padding: 2rem 1.4rem;
  background: linear-gradient(135deg, #3eb8a4, #4e9e4c);
  color: white;
}
.fig-home-newsletter-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-family-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.fig-home-newsletter-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}
.fig-home-newsletter-form-shell {
  padding: 2rem 1.4rem;
  background: white;
}
@media (prefers-color-scheme: dark) {
  .body-homepage {
    background: #0f172a;
    color: #e5edf5;
  }

  .body-homepage .about-topbar {
    background: rgba(15, 23, 42, 0.94);
    border-bottom-color: rgba(148, 163, 184, 0.18);
  }

  .body-homepage :is(.about-topbar-link, .about-topbar-search input, .about-topbar-login, .about-topbar-menu) {
    color: #e5edf5;
  }

  .body-homepage .about-topbar-search input {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(148, 163, 184, 0.28);
  }

  .body-homepage .fig-home-hero {
    background:
      linear-gradient(90deg, rgba(78, 158, 76, 0.08) 1px, transparent 1px),
      linear-gradient(180deg, rgba(45, 121, 183, 0.08) 1px, transparent 1px),
      linear-gradient(180deg, #111827, #0f172a);
    background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto;
  }

  .body-homepage :is(.fig-home-consultations-section, .fig-home-section-participate, .fig-home-impact, .fig-home-section-newsletter) {
    background: #0f172a;
  }

  .body-homepage .fig-home-section-muted,
  .body-homepage .fig-home-proposals-section {
    background: #111827;
  }

  .body-homepage :is(.fig-home-title, .fig-home-section-title, .fig-home-card-title a, .fig-home-consultation-title a, .fig-home-proposal-title a, .fig-home-capability-label, .fig-home-step-title, .fig-home-transparency-copy h3) {
    color: #f8fafc;
  }

  .body-homepage :is(.fig-home-summary, .fig-home-section-subtitle, .fig-home-card-text, .fig-home-consultation-description, .fig-home-proposal-description, .fig-home-capability-text, .fig-home-step-text, .fig-home-impact-stat p, .fig-home-transparency-copy p, .fig-home-community-copy span) {
    color: #cbd5e1;
  }

  .body-homepage :is(.fig-home-card, .fig-home-consultation-card, .fig-home-proposal-card, .fig-home-capability, .fig-home-step-card, .fig-home-impact-stat, .fig-home-transparency-card, .fig-home-newsletter-form-shell, .fig-home-community-footer) {
    background: rgba(15, 23, 42, 0.86);
    border-color: rgba(148, 163, 184, 0.24);
  }

  .body-homepage .fig-home-community-copy strong {
    color: #f8fafc;
  }

  .body-homepage .fig-home-btn-secondary {
    background: #f8fafc;
  }

  .body-homepage .fig-home-newsletter {
    border-color: rgba(62, 184, 164, 0.42);
  }
}
@media (min-width: 900px) {
  .fig-home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 4.5rem;
  }
  .fig-home-visual-card {
    width: min(100%, 68rem);
    min-height: 45rem;
    justify-content: center;
  }
  .fig-home-visual-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    transform: translateY(-8.6rem);
  }
  .fig-home-community-footer {
    position: absolute;
    left: 50%;
    bottom: 14.5rem;
    transform: translateX(-50%);
    z-index: 2;
  }
  .fig-home-card-grid,
  .fig-home-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fig-home-consultations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fig-home-proposals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fig-home-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fig-home-impact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .fig-home-newsletter {
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr);
  }
}
@media (max-width: 899px) {
  .fig-home-hero {
    padding: 3.25rem 0 1rem;
  }
  .champions-hero-panel {
    min-height: auto;
  }
  .champions-hero-visual-stage {
    justify-items: flex-start;
  }
  .champions-hero-visual-image {
    width: 100%;
  }
  .champions-intro-shell {
    margin-top: -0.5rem;
  }
  .champions-intro-card {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .fig-home-copy {
    gap: 1rem;
  }
  .fig-home-title {
    max-width: 12ch;
    font-size: clamp(2.75rem, 12vw, 3.6rem);
    line-height: 1.06;
  }
  .fig-home-title-line-nowrap {
    white-space: normal;
  }
  .fig-home-title::before {
    right: 4rem;
    top: -0.75rem;
    width: 1rem;
    height: 1rem;
  }
  .fig-home-title::after {
    right: -0.4rem;
    top: 5.1rem;
    width: 0.8rem;
    height: 0.8rem;
  }
  .fig-home-title-line-emphasis::after {
    left: 2.6rem;
    width: 0.85rem;
    height: 0.85rem;
  }
  .fig-home-summary {
    max-width: 100%;
    font-size: 1.02rem;
    line-height: 1.65;
  }
  .fig-home-summary-line-first {
    white-space: normal;
  }
  .fig-home-consultations-shell {
    width: min(100% - 1.5rem, 100%);
  }
  .fig-home-consultations-head {
    align-items: start;
    margin-bottom: 2rem;
  }
  .fig-home-proposals-head {
    align-items: start;
  }
  .fig-home-consultations-view-all {
    font-size: 0.95rem;
  }
  .fig-home-proposals-view-all {
    font-size: 0.95rem;
  }
  .fig-home-actions {
    margin-top: 0.35rem;
  }
  .fig-home-community {
    margin-top: 0.45rem;
  }
  .fig-home-community-footer {
    position: static;
    width: min(100%, 28rem);
    margin: 0.35rem auto 0;
    transform: none;
  }
  .fig-home-btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0.95rem 1.4rem;
    font-size: 1rem;
  }
  .fig-home-consultation-card {
    padding: 1.2rem;
  }
  .fig-home-proposal-card {
    padding: 1.2rem;
  }
  .fig-home-consultation-title-wrapper {
    padding-right: 0;
  }
  .fig-home-proposal-title-wrapper {
    padding-right: 0;
  }
  .fig-home-consultation-status-badge {
    position: static;
  }
  .fig-home-proposal-status-badge {
    position: static;
    margin-bottom: 0.2rem;
  }
  .fig-home-proposal-engagement {
    flex-wrap: wrap;
    gap: 0.9rem 1.3rem;
  }
  .fig-home-proposal-meta {
    flex-wrap: wrap;
  }
  .fig-home-impact-grid {
    grid-template-columns: 1fr;
  }
  .fig-home-transparency-card {
    grid-template-columns: 1fr;
  }
  .fig-home-consultation-head {
    flex-direction: column;
    gap: 0.65rem;
  }
  .fig-home-visual {
    justify-content: center;
  }
  .fig-home-visual-card {
    width: min(100%, 34rem);
    justify-content: center;
  }
  .fig-home-visual-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    transform: none;
  }
}

/* About page */
.body-about .nav-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}
.about-hero {
  padding: 2.4rem 0 4.8rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(62, 184, 164, 0.12), transparent 18%),
    radial-gradient(circle at 76% 20%, rgba(247, 181, 0, 0.14), transparent 16%),
    linear-gradient(180deg, #ffffff, #f8faf8);
}
.about-hero-grid,
.about-mission-grid,
.about-cta-band,
.about-champion-top,
.about-actions,
.about-cta-actions {
  display: grid;
  gap: 1rem;
}
.about-hero-grid {
  align-items: center;
}
.about-hero-copy {
  display: grid;
  gap: 1.1rem;
}
.about-pill,
.about-section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(78, 158, 76, 0.22);
  background: rgba(78, 158, 76, 0.1);
  color: #4e9e4c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-title {
  margin: 0;
  max-width: 24rem;
  font-family: var(--font-family-display);
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  color: #0f172b;
}
.about-title span {
  display: block;
  color: #2d79b7;
}
.about-summary,
.about-section-text,
.about-mission-copy p,
.about-journey-card p,
.about-board-body p,
.about-champion-bio,
.about-cta-band p {
  color: #45556c;
  line-height: 1.65;
}
.about-summary {
  max-width: 22rem;
  margin: 0;
  font-size: 0.96rem;
}
.about-actions {
  grid-template-columns: repeat(auto-fit, minmax(11rem, max-content));
  align-items: start;
}
.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.15rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.about-btn-primary {
  background: #4e9e4c;
  color: white;
}
.about-btn-secondary {
  background: white;
  border-color: rgba(230, 120, 33, 0.35);
  color: #b45309;
}
.about-btn-ghost {
  background: #e9f1fb;
  color: #2d79b7;
}
.about-hero-visual {
  display: flex;
  justify-content: flex-end;
}
.about-network-card {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 1.06;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0%, rgba(245, 247, 248, 0.98) 60%),
    linear-gradient(135deg, rgba(45, 121, 183, 0.08), rgba(78, 158, 76, 0.08));
  border: 1px solid rgba(176, 172, 165, 0.24);
  overflow: hidden;
}
.about-network-card::before,
.about-network-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(45, 121, 183, 0.08);
}
.about-network-card::before {
  width: 14rem;
  height: 3.2rem;
  left: 54%;
  top: 7%;
}
.about-network-card::after {
  width: 1rem;
  height: 1rem;
  left: 14%;
  bottom: 16%;
  background: rgba(78, 158, 76, 0.22);
}
.about-network-center,
.about-node,
.about-network-point,
.about-network-line {
  position: absolute;
}
.about-network-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #fff7db;
  color: #0f172b;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}
.about-node {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: white;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}
.about-node-orange { left: 10%; top: 46%; color: #e67821; }
.about-node-blue { right: 8%; top: 26%; color: #2d79b7; }
.about-node-green { right: 13%; bottom: 20%; color: #4e9e4c; }
.about-node-gold { left: 28%; top: 12%; color: #b45309; }
.about-node-teal { left: 18%; bottom: 17%; color: #0f766e; }
.about-network-point {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(62, 184, 164, 0.45);
}
.about-point-a { left: 30%; top: 22%; }
.about-point-b { left: 69%; top: 17%; }
.about-point-c { left: 76%; top: 61%; }
.about-point-d { left: 21%; top: 72%; }
.about-network-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(45, 121, 183, 0.18), rgba(78, 158, 76, 0.22));
  transform-origin: left center;
}
.about-line-a { left: 35%; top: 27%; width: 28%; transform: rotate(16deg); }
.about-line-b { left: 47%; top: 47%; width: 26%; transform: rotate(-30deg); }
.about-line-c { left: 27%; top: 56%; width: 23%; transform: rotate(27deg); }
.about-line-d { left: 42%; top: 33%; width: 13%; transform: rotate(-88deg); }
.about-section {
  padding: 4rem 0;
}
.about-section-muted {
  background: #fafaf9;
}
.about-section-community {
  background: linear-gradient(180deg, rgba(78, 158, 76, 0.08), rgba(78, 158, 76, 0.12));
}
.body-about .about-section-mission {
  background: #f1f2ef;
}
.body-about .about-section-mission .about-mission-grid {
  position: relative;
}
.body-about .about-section-mission .about-mission-title {
  color: #0f172b;
}
.body-about .about-section-mission .about-mission-copy p {
  color: #45556c;
}
.body-about .about-section-mission .about-metric-card {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.about-section-headline {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.about-section-headline-centered {
  justify-items: center;
  text-align: center;
}
.about-section-title {
  margin: 0;
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 3vw, 2.9rem);
  color: #0f172b;
}
.about-section-text {
  margin: 0;
  max-width: 42rem;
}
.about-mission-grid {
  align-items: start;
}
.about-feature-metric,
.about-metric-card,
.about-journey-card,
.about-board-card,
.about-champion-card,
.about-cta-band {
  background: white;
  border: 1px solid rgba(176, 172, 165, 0.24);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}
.about-feature-metric,
.about-metric-card {
  padding: 1.5rem;
}
.about-feature-metric {
  display: grid;
  gap: 0.55rem;
  min-height: 100%;
}
.about-feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4e9e4c, #3eb8a4);
}
.about-feature-metric strong,
.about-metric-card strong {
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #0f172b;
}
.about-feature-metric span,
.about-metric-card span {
  color: #45556c;
}
.about-metrics-grid,
.about-board-grid,
.about-journey-grid,
.about-champions-grid {
  display: grid;
  gap: 1rem;
}
.about-metric-card-green,
.about-feature-metric-green { background: linear-gradient(145deg, rgba(78, 158, 76, 0.1), rgba(78, 158, 76, 0.04)); }
.about-metric-card-teal { background: linear-gradient(145deg, rgba(62, 184, 164, 0.12), rgba(62, 184, 164, 0.04)); }
.about-metric-card-amber { background: linear-gradient(145deg, rgba(247, 181, 0, 0.12), rgba(247, 181, 0, 0.05)); }
.about-metric-card-blue { background: linear-gradient(145deg, rgba(45, 121, 183, 0.12), rgba(45, 121, 183, 0.05)); }
.about-metric-card-orange { background: linear-gradient(145deg, rgba(230, 120, 33, 0.12), rgba(230, 120, 33, 0.05)); }
.about-metric-card-green-soft { background: linear-gradient(145deg, rgba(78, 158, 76, 0.09), rgba(78, 158, 76, 0.03)); }
.about-journey-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.4rem;
  text-decoration: none;
  color: inherit;
  min-height: 18.5rem;
}
.about-journey-card h3,
.about-board-body h3,
.about-champion-top h3 {
  margin: 0;
  color: #0f172b;
}
.about-journey-card p,
.about-board-body p,
.about-champion-bio {
  margin: 0;
  font-size: 0.93rem;
}
.about-journey-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.about-journey-icon img {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  max-width: 100%;
  max-height: 100%;
}
.about-journey-icon-green { color: #4e9e4c; background: rgba(78, 158, 76, 0.1); }
.about-journey-icon-amber { color: #d97706; background: rgba(247, 181, 0, 0.14); }
.about-journey-icon-teal { color: #0f766e; background: rgba(62, 184, 164, 0.12); }
.about-journey-icon-orange { color: #c2410c; background: rgba(230, 120, 33, 0.12); }
.about-journey-card-green { border-color: rgba(78, 158, 76, 0.32); }
.about-journey-card-amber { border-color: rgba(247, 181, 0, 0.32); }
.about-journey-card-teal { border-color: rgba(62, 184, 164, 0.32); }
.about-journey-card-orange { border-color: rgba(230, 120, 33, 0.32); }
.about-journey-card-green,
.about-journey-card-amber,
.about-journey-card-teal,
.about-journey-card-orange {
  border-width: 1.5px;
}
.about-inline-link {
  color: #2d79b7;
  font-weight: 700;
  text-decoration: none;
}
.about-board-card {
  overflow: hidden;
}
.about-board-portrait {
  position: relative;
  min-height: 19rem;
  padding: 1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.about-board-role {
  align-self: start;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f172b;
  font-size: 0.74rem;
  font-weight: 700;
}
.about-board-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  color: #0f172b;
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 2;
}
.about-board-figure {
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 9rem;
  height: 11rem;
}
.about-board-head,
.about-board-body-shape {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.82);
}
.about-board-head {
  top: 1rem;
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 999px;
}
.about-board-body-shape {
  bottom: 0;
  width: 8.2rem;
  height: 7.6rem;
  border-radius: 2.2rem 2.2rem 1.2rem 1.2rem;
}
.about-board-portrait-sunset { background: linear-gradient(135deg, #d97706, #facc15 55%, #fff7ed); }
.about-board-portrait-stone { background: linear-gradient(135deg, #57534e, #d6d3d1 60%, #fafaf9); }
.about-board-portrait-pearl { background: linear-gradient(135deg, #f5f5f4, #d6d3d1 60%, #fff); }
.about-board-portrait-night { background: linear-gradient(135deg, #111827, #374151 55%, #1f2937); }
.about-board-portrait-sky { background: linear-gradient(135deg, #0ea5e9, #bae6fd 60%, #f0f9ff); }
.about-board-body {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.1rem 1.2rem;
}
.about-champions-grid {
  margin-bottom: 2rem;
}
.about-champion-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}
.about-champion-top {
  grid-template-columns: auto 1fr;
  align-items: center;
}
.about-champion-top h3 a {
  color: #0f172b;
  text-decoration: none;
}
.about-champion-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2d79b7, #3eb8a4);
  color: white;
  font-weight: 700;
}
.about-champion-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-champion-role {
  color: #64748b;
  font-size: 0.84rem;
}
.about-champion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.about-champion-meta span {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #f5f7f8;
  color: #45556c;
  font-size: 0.78rem;
}
.about-cta-band {
  align-items: center;
  padding: 1.35rem;
  max-width: 40rem;
  margin: 0 auto;
}
.about-cta-band h3 {
  margin: 0 0 0.35rem;
  color: #0f172b;
}
.about-cta-band p {
  margin: 0;
}
.about-cta-actions {
  grid-template-columns: repeat(auto-fit, minmax(10rem, max-content));
  justify-content: end;
}
@media (min-width: 900px) {
  .about-hero-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(25rem, 0.92fr);
    gap: 3rem;
  }
  .about-mission-grid {
    grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
    gap: 1.5rem 2rem;
  }
  .about-mission-copy {
    grid-column: 2;
  }
  .about-metrics-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "spot1 spot2 spot3"
      "spot4 spot5 .";
    align-items: stretch;
  }
  .about-metric-card-spot-1 { grid-area: spot1; }
  .about-metric-card-spot-2 { grid-area: spot2; }
  .about-metric-card-spot-3 { grid-area: spot3; }
  .about-metric-card-spot-4 { grid-area: spot4; }
  .about-metric-card-spot-5 { grid-area: spot5; }
  .about-journey-grid,
  .about-champions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .about-board-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* About page fidelity pass */
.body-about {
  background: #f3f2ec;
  color: #0f172b;
}
.body-about .main-full-bleed {
  background: #f3f2ec;
}
.body-about .about-shell-wide {
  width: min(100% - 3rem, 87.4167rem);
  margin: 0 auto;
}
.body-about .about-shell-hero {
  width: var(--page-hero-shell-width);
  margin: 0 auto;
}
.body-about .about-shell-narrow {
  width: min(100% - 3rem, 64rem);
  margin: 0 auto;
}
.body-about .about-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 3000;
  height: 4.6rem;
  border-bottom: 1px solid rgba(176, 172, 165, 0.3);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.body-about .about-topbar-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.body-about .about-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.body-about .about-topbar-mark {
  width: 2.85rem;
  height: 2.85rem;
}
.body-about .about-topbar-brand-text {
  display: inline-flex;
  gap: 0.28rem;
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.body-about .about-topbar-brand-text span:first-child {
  color: #2d79b7;
}
.body-about .about-topbar-brand-text span:last-child {
  color: #4e9e4c;
}
.body-about .about-topbar-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.body-about .about-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  color: #314158;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.body-about .about-topbar-link-active {
  background: rgba(45, 121, 183, 0.08);
}
.body-about .about-topbar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.12);
}
.body-about .about-topbar-badge-green {
  background: #4e9e4c;
  color: white;
}
.body-about .about-topbar-badge-amber {
  background: #f7b500;
  color: #0f172b;
}
.body-about .about-topbar-badge-blue {
  background: #2d79b7;
  color: white;
}
.body-about .about-topbar-badge-orange {
  background: #e67821;
  color: white;
}
.body-about .about-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.body-about .about-topbar-search input {
  width: 7rem;
  height: 1.9rem;
  border: none;
  border-radius: 0;
  background: #ffffff;
  padding: 0 0.55rem;
  color: #314158;
  font-size: 0.78rem;
}
.body-about .about-topbar-search input::placeholder {
  color: #9aa7ba;
}
.body-about .about-topbar-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0 0.95rem;
  border-radius: 0.65rem;
  background: #2d79b7;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(45, 121, 183, 0.18);
}
.body-about .about-page {
  background: #f5f5f0;
}
.body-about .about-hero {
  position: relative;
  overflow: hidden;
  padding: 5.25rem 0 5.6rem;
  background:
    radial-gradient(circle at 22% 14%, rgba(62, 184, 164, 0.04), transparent 7.5%),
    radial-gradient(circle at 45% 67%, rgba(247, 181, 0, 0.05), transparent 3.2%),
    radial-gradient(circle at 88% 18%, rgba(62, 184, 164, 0.04), transparent 3.8%),
    radial-gradient(circle at 13% 58%, rgba(78, 158, 76, 0.08), transparent 2.2%),
    radial-gradient(circle at 72% 78%, rgba(62, 184, 164, 0.08), transparent 2.1%),
    radial-gradient(circle at 2.8% 27%, rgba(247, 181, 0, 0.42) 0 0.34%, rgba(247, 181, 0, 0.16) 0.72%, rgba(247, 181, 0, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 57% 38%, rgba(62, 184, 164, 0.42) 0 0.34%, rgba(62, 184, 164, 0.16) 0.72%, rgba(62, 184, 164, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 41% 79%, rgba(78, 158, 76, 0.42) 0 0.34%, rgba(78, 158, 76, 0.16) 0.72%, rgba(78, 158, 76, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 76% 21%, rgba(62, 184, 164, 0.4) 0 0.28%, rgba(62, 184, 164, 0.16) 0.62%, rgba(62, 184, 164, 0.06) 1.06%, transparent 1.8%),
    radial-gradient(circle at 69% 88%, rgba(247, 181, 0, 0.38) 0 0.26%, rgba(247, 181, 0, 0.16) 0.6%, rgba(247, 181, 0, 0.05) 1.02%, transparent 1.72%),
    linear-gradient(180deg, #ffffff, #f7f8f6);
  border-bottom: 1px solid rgba(176, 172, 165, 0.16);
}
.body-about .about-hero-grid {
  display: grid;
  align-items: center;
  justify-content: space-between;
  gap: 4.5rem;
  grid-template-columns: 35rem minmax(28rem, 35.5rem);
}
.body-about .about-hero-copy {
  max-width: 35rem;
  gap: 1.45rem;
}
.body-about .about-pill {
  border-color: rgba(45, 121, 183, 0.24);
  background: rgba(45, 121, 183, 0.08);
  color: #2d79b7;
}
.body-about .about-section-kicker {
  border-color: rgba(78, 158, 76, 0.3);
  background: rgba(78, 158, 76, 0.1);
  color: #4e9e4c;
}
.body-about .about-title {
  max-width: 35rem;
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.05em;
}
.body-about .about-title-line {
  display: block;
  color: #0f172b;
  white-space: nowrap;
}
.body-about .about-title-line-brand {
  display: inline-flex;
  gap: 0.42rem;
  align-items: baseline;
}
.body-about .about-title-word-blue {
  color: #2d79b7;
}
.body-about .about-title-word-green {
  color: #4e9e4c;
}
.body-about .about-title-accent {
  display: block;
  color: #2d79b7;
  white-space: nowrap;
}
.body-about .about-summary {
  max-width: 27rem;
  font-size: var(--page-hero-text-size);
  line-height: var(--page-hero-text-line-height);
  color: #4d5b6e;
}
.body-about .about-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.body-about .about-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #4d5b6e;
}
.body-about .about-hero-stat strong {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172b;
}
.body-about .about-hero-stat-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.body-about .about-hero-stat-green .about-hero-stat-dot { background: #4e9e4c; }
.body-about .about-hero-stat-teal .about-hero-stat-dot { background: #3eb8a4; }
.body-about .about-hero-stat-amber .about-hero-stat-dot { background: #f2ac16; }
.body-about .about-hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
  width: 100%;
  max-width: 34rem;
  margin-top: calc(0.35rem + 50px);
}
.body-about .about-btn {
  min-height: 3.2rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.7rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.07);
}
.body-about .about-hero .about-btn {
  --about-hero-notch-size: 1.05rem;
  position: relative;
  min-height: 3.55rem;
  padding: 1.05rem 2rem;
  border-radius: 0.75rem;
  border-width: 2px;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.body-about .about-hero .about-btn span {
  position: relative;
  z-index: 2;
}
.body-about .about-hero .about-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.body-about .about-hero .about-btn-primary { min-width: 13.4rem; }
.body-about .about-hero .about-btn-secondary { min-width: 14.25rem; }
.body-about .about-hero .about-btn-ghost { min-width: 13.5rem; }
.body-about .about-btn-primary {
  background: #4e9e4c;
}
.body-about .about-btn-secondary {
  background: #fffdf9;
  border-color: rgba(230, 120, 33, 0.38);
  color: #0f172b;
}
.body-about .about-hero .about-btn-secondary {
  overflow: hidden;
  background: #2d79b7;
  border-width: 2px;
  border-color: #2d79b7;
  color: #ffffff;
  box-shadow: 0 22px 30px -10px rgba(45, 121, 183, 0.34);
}
.body-about .about-hero .about-btn-secondary::after,
.body-about .about-hero .about-btn-ghost::before {
  content: "";
  position: absolute;
  pointer-events: none;
}
.body-about .about-hero .about-btn-secondary::after {
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: var(--about-hero-notch-size) solid #f7b500;
  border-left: var(--about-hero-notch-size) solid transparent;
}
.body-about .about-hero .about-btn-ghost::before {
  inset: 0.26rem;
  border-radius: 0.5rem;
}
.body-about .about-btn-ghost {
  background: #ffffff;
  border-color: rgba(45, 121, 183, 0.45);
  color: #2d79b7;
  box-shadow: 0 4px 8px rgba(45, 121, 183, 0.06);
}
.body-about .about-hero .about-btn-ghost {
  background: #ffffff;
  border-width: 3px;
  border-color: #f2ac16;
  color: #7c4a00;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.body-about .about-hero .about-btn-ghost::before {
  border: 2px dashed rgba(242, 172, 22, 0.62);
}
.body-about .about-hero .about-btn-ghost:hover {
  background: #fffdf7;
  border-color: #e5a000;
  color: #6e4100;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
.body-about .about-hero .about-btn-secondary:hover {
  color: #ffffff;
  background: #256ca5;
  border-color: #256ca5;
  box-shadow: 0 26px 36px -12px rgba(37, 108, 165, 0.38);
}
.body-about .about-hero-visual {
  justify-content: flex-end;
}
.body-about .about-hero-logo-scene {
  position: relative;
  width: min(100%, 31.9375rem);
  aspect-ratio: 1.06;
  margin-right: 0;
  display: grid;
  place-items: center;
  padding: 1.8rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(179, 190, 176, 0.26);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.98), rgba(248, 249, 246, 0.94) 58%, rgba(244, 246, 242, 0.88) 100%);
  box-shadow: 0 1.75rem 3rem rgba(15, 23, 42, 0.08);
}
.body-about .about-hero-logo-scene::before {
  content: "";
  position: absolute;
  inset: 7% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(201, 225, 201, 0.34) 0%, rgba(255, 255, 255, 0.06) 46%, transparent 74%);
  filter: blur(0.18rem);
}
.body-about .about-hero-logo-mark {
  width: min(100%, 22rem);
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1rem 2rem rgba(15, 23, 42, 0.08));
}
.body-about .about-hero-word {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.body-about .about-hero-word-top {
  left: 50%;
  top: 7%;
  transform: translateX(-50%);
}
.body-about .about-hero-word-left {
  left: 2%;
  top: 31%;
}
.body-about .about-hero-word-right {
  right: 1%;
  top: 23%;
}
.body-about .about-hero-word-center {
  left: 50%;
  top: 49.5%;
  transform: translate(-50%, -50%);
  min-height: 2.15rem;
  padding-inline: 0.95rem;
}
.body-about .about-hero-word-bottom-left {
  left: 7%;
  bottom: 21%;
}
.body-about .about-hero-word-bottom {
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
}
.body-about .about-hero-word-bottom-right {
  right: 4%;
  bottom: 21%;
}
.body-about .about-hero-word-gold {
  color: #b86b00;
  border-color: rgba(247, 181, 0, 0.42);
  background: rgba(255, 248, 230, 0.98);
}
.body-about .about-hero-word-blue {
  color: #2d79b7;
  border-color: rgba(45, 121, 183, 0.3);
  background: rgba(241, 248, 255, 0.98);
}
.body-about .about-hero-word-teal {
  color: #227d70;
  border-color: rgba(62, 184, 164, 0.34);
  background: rgba(238, 251, 248, 0.98);
}
.body-about .about-hero-word-green {
  color: #2d6f2b;
  border-color: rgba(78, 158, 76, 0.32);
  background: rgba(240, 249, 240, 0.98);
}
.body-about .about-hero-word-orange {
  color: #b55a11;
  border-color: rgba(230, 120, 33, 0.3);
  background: rgba(255, 244, 236, 0.98);
}
.body-about .about-hero-word-leaf {
  color: #3e7a3c;
  border-color: rgba(78, 158, 76, 0.3);
  background: rgba(243, 249, 242, 0.98);
}
.body-about .about-hero-word-coral {
  color: #b94c33;
  border-color: rgba(225, 82, 52, 0.28);
  background: rgba(255, 241, 238, 0.98);
}
.body-about .about-section {
  padding: 5rem 0;
}
.body-about #consiliul-director,
.body-about #campioni-locali {
  scroll-margin-top: calc(var(--shell-nav-height) + 1.75rem);
}
.body-about .about-page > .about-section:first-of-type {
  background: #ffffff;
}
.body-about .about-section-muted {
  background: #fafaf9;
}
.body-about .about-section-community {
  background: linear-gradient(180deg, #dce8d8, #d3e0cf);
}
.body-about .about-section-headline {
  margin-bottom: 2.5rem;
}
.body-about .about-section-title {
  font-size: clamp(2.4rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.body-about .about-section-title span {
  color: #2d79b7;
}
.body-about .about-section-headline-centered .about-section-title {
  max-width: 38rem;
}
.body-about .about-section-text {
  max-width: 42rem;
  font-size: 0.98rem;
}
.body-about .about-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  justify-content: space-between;
  gap: 2rem 2.4rem;
  align-items: start;
}
.body-about .about-feature-metric,
.body-about .about-metric-card,
.body-about .about-journey-card,
.body-about .about-board-card,
.body-about .about-champion-card,
.body-about .about-cta-band {
  border: 1px solid rgba(176, 172, 165, 0.24);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.body-about .about-feature-icon,
.body-about .about-journey-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
}
.body-about .about-metric-card strong {
  font-size: 2.35rem;
  line-height: 1;
}
.body-about .about-mission-copy {
  display: grid;
  grid-column: auto;
  gap: 1.15rem;
  width: 100%;
  max-width: 34rem;
  justify-self: start;
  text-align: left;
}
.body-about .about-mission-title {
  max-width: 18rem;
  margin-bottom: 0.15rem;
}
.body-about .about-mission-copy p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.62;
}
.body-about .about-metrics-grid {
  display: grid;
  grid-column: auto;
  gap: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "spot1 spot2"
    "spot3 spot4"
    "spot5 spot6";
  width: 100%;
  margin: 0 0 0 auto;
  justify-content: stretch;
  align-items: stretch;
  justify-self: end;
}
.body-about .about-metric-card {
  min-height: 12.35rem;
  padding: 1.75rem;
  display: grid;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  --about-metric-accent: #4e9e4c;
  --about-metric-accent-soft: rgba(78, 158, 76, 0.14);
}
.body-about .about-metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.75rem;
  width: 4.35rem;
  height: 0.32rem;
  border-radius: 999px;
  background: var(--about-metric-accent);
}
.body-about .about-metric-card::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: -1rem;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 999px;
  background: radial-gradient(circle, var(--about-metric-accent-soft) 0 36%, transparent 70%);
}
.body-about .about-metric-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.body-about .about-metric-icon img {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  max-width: 100%;
  max-height: 100%;
}
.body-about .about-metric-icon-green { background: rgba(78, 158, 76, 0.09); }
.body-about .about-metric-icon-teal { background: rgba(62, 184, 164, 0.09); }
.body-about .about-metric-icon-amber { background: rgba(247, 181, 0, 0.1); }
.body-about .about-metric-icon-blue { background: rgba(45, 121, 183, 0.1); }
.body-about .about-metric-icon-orange { background: rgba(230, 120, 33, 0.1); }
.body-about .about-metric-icon-green-soft { background: rgba(78, 158, 76, 0.08); }
}
.body-about .about-metric-card-spot-1 { grid-area: spot1; }
.body-about .about-metric-card-spot-2 { grid-area: spot2; }
.body-about .about-metric-card-spot-3 { grid-area: spot3; }
.body-about .about-metric-card-spot-4 { grid-area: spot4; }
.body-about .about-metric-card-spot-5 { grid-area: spot5; }
.body-about .about-metric-card-spot-6 { grid-area: spot6; }
.body-about .about-metric-card-teal {
  --about-metric-accent: #3eb8a4;
  --about-metric-accent-soft: rgba(62, 184, 164, 0.16);
}
.body-about .about-metric-card-amber {
  --about-metric-accent: #f2ac16;
  --about-metric-accent-soft: rgba(247, 181, 0, 0.18);
}
.body-about .about-metric-card-blue {
  --about-metric-accent: #2d79b7;
  --about-metric-accent-soft: rgba(45, 121, 183, 0.16);
}
.body-about .about-metric-card-orange {
  --about-metric-accent: #e67821;
  --about-metric-accent-soft: rgba(230, 120, 33, 0.16);
}
.body-about .about-metric-card-green-soft {
  --about-metric-accent: #4e9e4c;
  --about-metric-accent-soft: rgba(78, 158, 76, 0.14);
}
.body-about .about-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.body-about .about-journey-card {
  min-height: 24.8rem;
  padding: 2rem 1.6rem 1.7rem;
  gap: 1rem;
}
.body-about .about-journey-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
}
.body-about .about-journey-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}
.body-about .about-journey-icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.body-about .about-journey-icon img {
  width: 1.6rem;
  height: 1.6rem;
}
.body-about .about-journey-icon-green { color: #4e9e4c; background: rgba(78, 158, 76, 0.1); }
.body-about .about-journey-icon-amber { color: #d18f00; background: rgba(247, 181, 0, 0.12); }
.body-about .about-journey-icon-teal { color: #189d87; background: rgba(62, 184, 164, 0.12); }
.body-about .about-journey-icon-orange { color: #d06a18; background: rgba(230, 120, 33, 0.12); }
.body-about .about-journey-card-green { border-color: rgba(78, 158, 76, 0.34); }
.body-about .about-journey-card-amber { border-color: rgba(247, 181, 0, 0.34); }
.body-about .about-journey-card-teal { border-color: rgba(62, 184, 164, 0.34); }
.body-about .about-journey-card-orange { border-color: rgba(230, 120, 33, 0.34); }
.body-about .about-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.body-about .about-board-card {
  padding: 1.5rem;
}
.body-about .about-board-status-card {
  display: grid;
  grid-template-columns: minmax(13rem, 18rem) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  max-width: 58rem;
  margin: 0 auto;
}
.body-about .about-board-status-visual {
  max-width: 18rem;
}
.body-about .about-board-photo-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #f3f4f6;
}
.body-about .about-board-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.body-about .about-board-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(180deg, #e7eef5 0%, #d6e1eb 100%);
  color: #0f172b;
}
.body-about .about-board-placeholder-sunset {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 244, 232, 0.8), transparent 26%),
    linear-gradient(180deg, #f7c489 0%, #ee8f57 100%);
}
.body-about .about-board-placeholder-stone {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.75), transparent 26%),
    linear-gradient(180deg, #d8e0e8 0%, #b8c4d2 100%);
}
.body-about .about-board-placeholder-pearl {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.88), transparent 26%),
    linear-gradient(180deg, #f7f5ef 0%, #e8e2d5 100%);
}
.body-about .about-board-placeholder-night {
  background:
    radial-gradient(circle at 18% 18%, rgba(118, 162, 209, 0.42), transparent 24%),
    linear-gradient(180deg, #23364e 0%, #0f1d31 100%);
  color: #f8fafc;
}
.body-about .about-board-placeholder-sky {
  background:
    radial-gradient(circle at 20% 18%, rgba(229, 242, 255, 0.82), transparent 24%),
    linear-gradient(180deg, #8bc5ee 0%, #3b83c0 100%);
}
.body-about .about-board-placeholder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: inherit;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.body-about .about-board-role {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #2d79b7;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.body-about .about-board-body {
  padding: 1rem 0.1rem 0;
  gap: 0.45rem;
}
.body-about .about-board-status-copy {
  padding: 0.25rem 0 0;
  display: grid;
  gap: 0.8rem;
}
.body-about .about-board-body h3 {
  font-size: 1rem;
}
.body-about .about-board-status-copy h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}
.body-about .about-board-body p {
  font-size: 0.84rem;
  line-height: 1.55;
}
.body-about .about-board-status-note {
  margin: 0;
  font-size: 0.9rem;
  color: #2d79b7;
  font-weight: 600;
}
.body-about .about-champions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.body-about .about-champion-card {
  color: inherit;
  text-decoration: none;
  padding: 1rem 1.15rem;
}
.body-about .about-champion-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
}
.body-about .about-champion-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
}
.body-about .about-champion-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.body-about .about-champion-copy {
  display: grid;
  gap: 0.45rem;
}
.body-about .about-champion-copy h3 {
  font-size: 0.96rem;
  line-height: 1.25;
}
.body-about .about-champion-copy h3,
.body-about .about-champion-copy h3 a {
  color: #0f172b;
  text-decoration: none;
}
.body-about .about-champion-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 1.65rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: #f4f8fb;
  border: 1px solid rgba(45, 121, 183, 0.18);
  color: #2d79b7;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.body-about .about-cta-band {
  max-width: 48rem;
  min-height: 18.42rem;
  margin: 1.5rem auto 0;
  padding: 2.5rem 2.65rem 2.1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: center;
  text-align: center;
  border-radius: 0.95rem;
  background: rgba(255, 252, 246, 0.96);
}
.body-about .about-cta-band h3 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  line-height: 1.22;
  max-width: 34rem;
  justify-self: center;
}
.body-about .about-cta-band p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 29rem;
  justify-self: center;
}
.body-about .about-cta-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.75rem;
}
.body-about .about-cta-band .about-btn-primary { min-width: 13.4rem; }
.body-about .about-cta-band .about-btn-secondary { min-width: 12.4rem; }
.body-about .about-cta-band .about-btn-ghost { min-width: 10.85rem; }
@media (max-width: 1023px) {
  .body-about .about-cta-actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  .body-about .about-hero-actions {
    flex-wrap: wrap;
    max-width: 100%;
  }
}
.about-page-footer {
  margin-top: 0;
}
.body-about .about-page-footer {
  margin-top: 0;
}
.about-page-footer-surface {
  background:
    radial-gradient(circle at 14% 14%, rgba(78, 158, 76, 0.1), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(45, 121, 183, 0.1), transparent 18%),
    linear-gradient(180deg, #f8fbfd, #eff5f8);
  color: #0f172b;
  padding: 5rem 0 1.6rem;
  border-top: 1px solid rgba(176, 172, 165, 0.18);
}
.body-about .about-page-footer-surface {
  background:
    radial-gradient(circle at 14% 14%, rgba(78, 158, 76, 0.1), transparent 18%),
    radial-gradient(circle at 86% 18%, rgba(45, 121, 183, 0.1), transparent 18%),
    linear-gradient(180deg, #f8fbfd, #eff5f8);
  color: #0f172b;
  padding: 5rem 0 1.6rem;
  border-top: 1px solid rgba(176, 172, 165, 0.18);
}
.about-page-footer-rule {
  display: grid;
  grid-template-columns: 3rem 0.5rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.about-page-footer-rule-green {
  display: block;
  height: 0.25rem;
  border-radius: 999px;
  background: #4e9e4c;
}
.about-page-footer-rule-dot {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #3eb8a4;
}
.about-page-footer-rule-line {
  display: block;
  height: 1px;
  background: rgba(148, 163, 184, 0.4);
}
.about-page-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(10rem, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.about-topbar-brand-footer .about-topbar-brand-text span:first-child {
  color: #4e9e4c;
}
.about-topbar-brand-footer .about-topbar-brand-text span:last-child {
  color: #0f172b;
}
.body-about .about-topbar-brand-footer .about-topbar-brand-text span:first-child {
  color: #4e9e4c;
}
.body-about .about-topbar-brand-footer .about-topbar-brand-text span:last-child {
  color: #0f172b;
}
.about-page-footer-brand {
  display: grid;
  gap: 1rem;
}
.about-page-footer-brand p {
  max-width: 24rem;
  margin: 0;
  color: #526276;
  line-height: 1.65;
}
.about-page-footer-social {
  display: flex;
  gap: 0.75rem;
}
.about-page-footer-social span {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.78);
}
.about-page-footer-column h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-family-display);
  font-size: 1rem;
  color: #0f172b;
}
.about-page-footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.about-page-footer-column a {
  color: #526276;
  text-decoration: none;
  font-size: 0.875rem;
}
.about-page-footer-meta {
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.about-page-footer-meta p {
  margin: 0;
  font-size: 0.875rem;
  color: #526276;
}
.about-page-footer-meta div {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
}
.about-page-footer-meta a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}
.about-page-footer-meta a:first-child {
  color: #4e9e4c;
}
.about-page-footer-meta a:last-child {
  color: #3eb8a4;
}
.about-page-footer-meta span {
  color: #7b8da3;
}
@media (max-width: 1199px) {
  .body-about .about-topbar-inner,
  .body-about .about-hero-grid,
  .about-page-footer-grid {
    grid-template-columns: 1fr;
  }
  .body-about .about-topbar {
    height: auto;
  }
  .body-about .about-topbar-inner {
    padding: 0.9rem 0;
  }
  .body-about .about-topbar-links,
  .body-about .about-topbar-actions {
    justify-content: flex-start;
  }
  .body-about .about-hero-copy,
  .body-about .about-summary {
    max-width: none;
  }
  .body-about .about-hero-visual {
    order: -1;
  }
  .body-about .about-mission-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.6rem;
  }
  .body-about .about-mission-copy,
  .body-about .about-metrics-grid {
    grid-column: auto;
  }
  .body-about .about-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "spot1 spot2"
      "spot3 spot4"
      "spot5 spot6";
  }
  .body-about .about-metric-card-spot-2,
  .body-about .about-metric-card-spot-5 {
    transform: none;
  }
  .body-about .about-journey-grid,
  .body-about .about-board-grid,
  .body-about .about-champions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .body-about .about-board-status-card {
    grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
    gap: 1.35rem;
  }
}
@media (max-width: 1023px) {
  .body-about .about-mission-grid {
    grid-template-columns: 1fr;
  }
  .body-about .about-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "spot1 spot2 spot3"
      "spot4 spot5 spot6";
    justify-self: stretch;
    margin-left: 0;
  }
}
@media (max-width: 899px) {
  .body-about .about-shell-wide,
  .body-about .about-shell-narrow {
    width: min(100% - 1.5rem, 100%);
  }
  .body-about .about-topbar-links {
    display: none;
  }
  .body-about .about-topbar-search input {
    width: 100%;
  }
  .body-about .about-topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .body-about .about-topbar-login {
    width: 100%;
  }
  .body-about .about-hero {
    padding-top: 9.5rem;
  }
  .body-about .about-title {
    max-width: none;
    font-size: clamp(1.9rem, 8.9vw, 3.35rem);
  }
  .body-about .about-summary {
    max-width: 24rem;
  }
  .body-about .about-hero-logo-scene {
    width: min(100%, 22rem);
    margin-right: 0;
    padding: 1rem;
  }
  .body-about .about-hero-logo-mark {
    width: min(100%, 14rem);
  }
  .body-about .about-hero-word {
    min-height: 1.7rem;
    padding: 0.26rem 0.58rem;
    font-size: 0.62rem;
  }
  .body-about .about-section {
    padding: 3.75rem 0;
  }
  .body-about .about-section-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }
  .body-about .about-mission-copy p {
    font-size: 1rem;
  }
  .body-about .about-metrics-grid,
  .body-about .about-journey-grid,
  .body-about .about-board-grid,
  .body-about .about-champions-grid,
  .body-about .about-cta-band,
  .about-page-footer-meta {
    grid-template-columns: 1fr;
  }
  .body-about .about-board-status-card {
    grid-template-columns: 1fr;
    max-width: 30rem;
  }
  .body-about .about-board-status-visual {
    max-width: none;
  }
  .about-page-footer-meta,
  .about-page-footer-grid {
    display: grid;
  }
  .about-page-footer-grid {
    gap: 2rem;
  }
  .about-page-footer-meta div {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-color-scheme: dark) {
.body-about {
  background: #07131d;
  color: #d7e4f0;
}

.body-about .about-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(78, 158, 76, 0.14), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(45, 121, 183, 0.16), transparent 20%),
    linear-gradient(180deg, #07131d 0%, #0b1723 36%, #0f1d2d 100%);
}

.body-about .about-hero {
  background:
    radial-gradient(circle at 22% 14%, rgba(62, 184, 164, 0.08), transparent 7.5%),
    radial-gradient(circle at 45% 67%, rgba(247, 181, 0, 0.08), transparent 3.2%),
    radial-gradient(circle at 88% 18%, rgba(62, 184, 164, 0.08), transparent 3.8%),
    radial-gradient(circle at 13% 58%, rgba(78, 158, 76, 0.12), transparent 2.2%),
    radial-gradient(circle at 72% 78%, rgba(62, 184, 164, 0.12), transparent 2.1%),
    radial-gradient(circle at 2.8% 27%, rgba(247, 181, 0, 0.34) 0 0.34%, rgba(247, 181, 0, 0.14) 0.72%, rgba(247, 181, 0, 0.05) 1.18%, transparent 1.95%),
    radial-gradient(circle at 57% 38%, rgba(62, 184, 164, 0.32) 0 0.34%, rgba(62, 184, 164, 0.14) 0.72%, rgba(62, 184, 164, 0.05) 1.18%, transparent 1.95%),
    radial-gradient(circle at 41% 79%, rgba(78, 158, 76, 0.32) 0 0.34%, rgba(78, 158, 76, 0.14) 0.72%, rgba(78, 158, 76, 0.05) 1.18%, transparent 1.95%),
    radial-gradient(circle at 76% 21%, rgba(62, 184, 164, 0.3) 0 0.28%, rgba(62, 184, 164, 0.13) 0.62%, rgba(62, 184, 164, 0.05) 1.06%, transparent 1.8%),
    radial-gradient(circle at 69% 88%, rgba(247, 181, 0, 0.28) 0 0.26%, rgba(247, 181, 0, 0.13) 0.6%, rgba(247, 181, 0, 0.05) 1.02%, transparent 1.72%),
    linear-gradient(180deg, rgba(7, 19, 29, 0.98), rgba(10, 28, 42, 0.94));
}

.body-about :is(.about-pill, .about-section-kicker) {
  border-color: rgba(110, 231, 183, 0.24);
  background: rgba(16, 40, 35, 0.72);
  color: #d8efe5;
}

.body-about :is(.about-title, .about-title-line, .about-title-accent, .about-section-title, .about-board-body h3, .about-champion-copy h3 a, .about-cta-band h3) {
  color: #f8fafc;
}

.body-about :is(.about-summary, .about-section-text, .about-mission-copy p, .about-board-body p, .about-cta-band p, .about-page-footer-brand p, .about-page-footer-column a, .about-page-footer-meta p, .about-page-footer-meta span) {
  color: #9fb0c3;
}

.body-about :is(.about-hero-stat, .about-feature-metric, .about-metric-card, .about-journey-card, .about-board-card, .about-champion-card, .about-cta-band) {
  border-color: rgba(120, 143, 170, 0.22);
  background: rgba(10, 25, 39, 0.78);
  box-shadow: 0 1.5rem 3rem rgba(1, 8, 14, 0.32);
}

.body-about .about-section-muted {
  background: rgba(6, 16, 27, 0.72);
}

.body-about .about-section-community {
  background:
    radial-gradient(circle at 18% 16%, rgba(78, 158, 76, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(7, 19, 29, 0) 0%, rgba(9, 22, 35, 0.86) 24%, rgba(7, 19, 29, 0.98) 100%);
}

.body-about .about-feature-dot {
  background: rgba(248, 250, 252, 0.78);
}

.body-about .about-btn-primary {
  box-shadow: 0 1rem 2rem rgba(35, 103, 40, 0.26);
}

.body-about .about-btn-secondary {
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(14, 33, 52, 0.84);
  color: #eff6ff;
}

.body-about .about-hero .about-btn-secondary {
  border-color: #3b82f6;
  background: #1d4f85;
  color: #eff6ff;
  box-shadow: 0 1rem 2rem rgba(17, 58, 99, 0.34);
}

.body-about .about-hero .about-btn-secondary::after {
  border-top-color: #f7b500;
  border-left-color: transparent;
}

.body-about .about-btn-ghost {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(12, 24, 36, 0.58);
  color: #dbe7f3;
}

.body-about .about-hero .about-btn-ghost {
  border-color: #fbbf24;
  background: #ffffff;
  color: #7c4a00;
  box-shadow: 0 1rem 2rem rgba(2, 10, 16, 0.28);
}

.body-about .about-hero .about-btn-ghost::before {
  border-color: rgba(251, 191, 36, 0.68);
}

.body-about .about-title-word-blue {
  color: #60a5fa;
}

.body-about .about-title-word-green {
  color: #86efac;
}

.body-about .about-hero-logo-scene {
  border-color: rgba(128, 149, 176, 0.24);
  background: linear-gradient(180deg, rgba(7, 19, 29, 0.96) 0%, rgba(10, 28, 42, 0.92) 100%);
  box-shadow: 0 1.75rem 3rem rgba(2, 10, 16, 0.32);
}

.body-about .about-hero-logo-scene::before {
  background:
    radial-gradient(circle at center, rgba(47, 160, 146, 0.26) 0%, rgba(12, 38, 57, 0.12) 44%, transparent 72%);
}
.body-about .about-hero-word {
  box-shadow: 0 1rem 2rem rgba(2, 10, 16, 0.24);
}

.body-about .about-hero-word-gold {
  background: rgba(88, 63, 13, 0.84);
  color: #fde68a;
}

.body-about .about-hero-word-blue {
  background: rgba(18, 54, 92, 0.84);
  color: #bfdbfe;
}

.body-about .about-hero-word-teal {
  background: rgba(12, 71, 64, 0.84);
  color: #ccfbf1;
}

.body-about .about-hero-word-green,
.body-about .about-hero-word-leaf {
  background: rgba(25, 70, 27, 0.84);
  color: #dcfce7;
}

.body-about .about-hero-word-orange {
  background: rgba(99, 48, 14, 0.84);
  color: #fdba74;
}

.body-about .about-hero-word-coral {
  background: rgba(112, 40, 28, 0.84);
  color: #fecaca;
}

.body-about .about-board-photo-wrap {
  background: linear-gradient(180deg, #142536 0%, #0d1825 100%);
  border: 1px solid rgba(128, 149, 176, 0.22);
}

.body-about .about-board-placeholder {
  box-shadow: inset 0 0 0 1px rgba(241, 245, 249, 0.08);
}

.body-about .about-board-placeholder-badge {
  background: rgba(7, 19, 29, 0.72);
  color: #f8fafc;
  box-shadow: 0 1rem 2rem rgba(2, 10, 16, 0.26);
}

.body-about .about-board-role {
  background: #20588b;
}

.body-about .about-champion-avatar {
  background: linear-gradient(180deg, #1c3045 0%, #101d2d 100%);
}

.body-about .about-champion-tag {
  background: rgba(16, 35, 55, 0.9);
  border-color: rgba(95, 166, 223, 0.32);
  color: #8ecaf8;
}

.about-page-footer-surface {
  background: linear-gradient(180deg, #07131d, #091421);
}
.body-about .about-page-footer-surface {
  background: linear-gradient(180deg, #07131d, #091421);
}

.about-page-footer-social span {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.42);
}

.body-about :is(.about-topbar, .nav-bar) {
  background: rgba(7, 19, 29, 0.9);
  border-color: rgba(128, 149, 176, 0.16);
}

.body-about :is(.about-topbar-link, .about-page-footer-meta a, .about-page-footer-column h2),
:is(.about-page-footer-meta a, .about-page-footer-column h2) {
  color: #f8fafc;
}
}

/* Hero alignment */
.main-full-bleed {
  padding-top: 73.6px;
}

.fig-home-hero,
.public-list-hero,
.surface-hero,
.map-hero-section,
.body-about .about-hero,
.body-consultations .consultation-browser-hero,
.body-grassroots .grassroots-browser-hero,
.body-events .events-browser-hero {
  padding-top: 100px;
}

.fig-home-copy,
.public-list-hero-copy,
.map-hero-copy,
.body-about .about-hero-copy,
.events-browser-copy,
.consultation-browser-copy,
.grassroots-browser-copy,
.fig-home-visual,
.consultation-browser-visual,
.grassroots-browser-visual,
.champions-hero-visual,
.map-hero-visual,
.body-about .about-hero-visual,
.events-browser-visual {
  align-self: start;
}

.consultation-browser-copy,
.grassroots-browser-copy {
  align-content: start;
}

.fig-home-title,
.public-list-title,
.map-hero-title,
.body-about .about-title,
.events-browser-title {
  font-size: var(--page-hero-title-size, clamp(2.55rem, 4.8vw, 4.7rem));
  line-height: var(--page-hero-title-line-height, 0.96);
}

.fig-home-summary,
.public-list-text,
.map-hero-text,
.body-about .about-summary,
.events-browser-text {
  font-size: var(--page-hero-text-size, clamp(1rem, 1.35vw, 1.12rem));
  line-height: var(--page-hero-text-line-height, 1.65);
}

.fig-home-btn,
.public-list-btn,
.body-about .about-hero .about-btn,
.events-browser-primary,
.events-browser-secondary {
  min-height: var(--page-hero-cta-min-height, 3rem);
  padding-block: var(--page-hero-cta-padding-y, 0.85rem);
  padding-inline: var(--page-hero-cta-padding-x, 1.25rem);
  font-size: var(--page-hero-cta-font-size, 0.875rem);
  line-height: 1.5;
}

@media (prefers-color-scheme: light) {
body,
.body-layout,
.main-full-bleed,
:is(.body-homepage, .body-consultations, .body-grassroots, .body-champions, .body-about, .body-events) {
  background: #f3f2ec;
}

:is(
  .fig-home-section:not(.fig-home-section-muted):not(.fig-home-section-dark),
  .public-list-filter-wrap,
  .map-layout-section,
  .body-champions #champions-filters,
  .events-browser-filter-bar,
  .body-about .about-page
) {
  background: #f5f5f0;
}
}

@media (prefers-color-scheme: dark) {
  body.body-homepage,
  .body-homepage,
  .body-homepage.body-layout,
  .body-homepage .main-full-bleed {
    background: #0f172a;
    color: #e5edf5;
  }

  .body-homepage .fig-home-section:not(.fig-home-section-muted):not(.fig-home-section-dark),
  .body-homepage .fig-home-consultations-section,
  .body-homepage .fig-home-section-participate,
  .body-homepage .fig-home-impact,
  .body-homepage .fig-home-section-newsletter {
    background: #0f172a;
  }

  .body-homepage .fig-home-section-muted,
  .body-homepage .fig-home-proposals-section {
    background: #111827;
  }
}

.body-events .main-full-bleed {
  padding-top: 97.6px;
}

@media (prefers-color-scheme: dark) {
.body-about .about-topbar-search input {
  border-color: rgba(128, 149, 176, 0.24);
  background: rgba(10, 25, 39, 0.88);
  color: #f8fafc;
}

.body-about .about-topbar-search input::placeholder {
  color: #7f95ac;
}
}

.body-consultations .consultation-browser-hero,
.body-grassroots .grassroots-browser-hero {
  padding-top: 100px;
}

.body-consultations .consultation-browser-copy,
.body-grassroots .grassroots-browser-copy {
  align-self: start;
  align-content: start;
}


/* ==========================================================================
   Section 26: Consultation Browser Refresh
   ========================================================================== */

.consultation-browser-hero {
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(138, 201, 118, 0.18), transparent 18%),
    radial-gradient(circle at 88% 24%, rgba(109, 189, 227, 0.16), transparent 20%),
    linear-gradient(180deg, #fcfdfb 0%, #f7faf7 46%, #f5f7f7 100%);
}

.consultation-browser-hero-shell,
.consultation-browser-list-shell {
  max-width: 87.5rem;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2.25rem;
}

.consultation-browser-copy {
  align-content: center;
  gap: 1.15rem;
  padding: 2rem 0;
}

.consultation-browser-kicker {
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(126, 175, 122, 0.24);
  background: rgba(126, 175, 122, 0.12);
  color: #4c8d52;
}

.consultation-browser-kicker svg,
.consultation-browser-filter-headline svg,
.consultation-browser-card-meta-item svg,
.consultation-browser-card-link svg,
.consultation-browser-stat-icon svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.consultation-browser-title {
  max-width: 8.5ch;
  font-size: clamp(2.85rem, 5vw, 4.7rem);
  color: #172033;
}

.consultation-browser-title span {
  color: #6fae55;
}

.consultation-browser-text {
  max-width: 34rem;
  color: #5f6d7f;
}

.consultation-browser-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.consultation-browser-stat-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 13rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(126, 175, 122, 0.22);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(26, 35, 52, 0.08);
}

.consultation-browser-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: rgba(126, 175, 122, 0.14);
  color: #5ea165;
}

.consultation-browser-stat-card strong {
  display: block;
  font-family: var(--font-family-display);
  font-size: 1.5rem;
  line-height: 1;
  color: #172033;
}

.consultation-browser-stat-card span:last-child {
  display: block;
  margin-top: 0.22rem;
  color: #6f7b8b;
  font-size: 0.92rem;
}

.consultation-browser-visual {
  position: relative;
  min-height: 28rem;
}

.consultation-browser-heading-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 2rem;
}

.consultation-browser-heading-art-muted {
  position: absolute;
  inset: 0.9rem;
  width: calc(100% - 1.8rem);
  height: calc(100% - 1.8rem);
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: saturate(0.75) contrast(0.92);
}

.consultation-browser-heading-art-plain {
  object-fit: contain;
  object-position: center;
  padding: 0;
  mix-blend-mode: multiply;
  filter: none;
  opacity: 1;
}

.consultation-browser-visual-card {
  position: relative;
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.consultation-browser-visual-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.consultation-browser-sheet {
  position: absolute;
  top: 1.75rem;
  left: 50%;
  width: min(19rem, 62vw);
  padding: 1rem 1rem 1.2rem;
  border: 2px solid #223149;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, #edf6ed, #ffffff);
  box-shadow: -0.35rem 0.35rem 0 #dbe7db;
  transform: translateX(-50%);
  z-index: 2;
}

.consultation-browser-sheet-label {
  display: inline-flex;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(97, 126, 95, 0.15);
  color: #253245;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.consultation-browser-sheet-lines,
.consultation-browser-sheet-note {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.consultation-browser-sheet-lines span,
.consultation-browser-sheet-note span {
  display: block;
  height: 0.32rem;
  border-radius: 999px;
  background: rgba(34, 49, 73, 0.32);
}

.consultation-browser-sheet-lines span:first-child {
  width: 88%;
}

.consultation-browser-sheet-lines span:last-child {
  width: 74%;
}

.consultation-browser-checklist {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.consultation-browser-checklist li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.consultation-browser-checklist span {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid rgba(34, 49, 73, 0.7);
  border-radius: 0.2rem;
}

.consultation-browser-checklist em {
  display: block;
  width: 68%;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(34, 49, 73, 0.32);
}

.consultation-browser-rating {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: #223149;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.consultation-browser-rating strong {
  color: #d4a11e;
  letter-spacing: 0.12em;
}

.consultation-browser-sheet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  min-height: 2.5rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 0.7rem;
  background: #4d9955;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 22px rgba(77, 153, 85, 0.22);
}

.consultation-browser-sheet-votes {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 49, 73, 0.08);
  color: #223149;
  font-size: 0.78rem;
}

.consultation-browser-bubble,
.consultation-browser-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.65rem;
  border: 1px dashed rgba(34, 49, 73, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #35576d;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

.consultation-browser-bubble-left {
  left: 10%;
  top: 10rem;
}

.consultation-browser-bubble-right {
  right: 10%;
  top: 9rem;
}

.consultation-browser-chip-top {
  right: 22%;
  top: 2rem;
  border-style: solid;
  border-color: rgba(82, 179, 194, 0.34);
  color: #38a7b5;
}

.consultation-browser-dot {
  position: absolute;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  z-index: 1;
}

.consultation-browser-dot-a {
  top: 4rem;
  left: 18%;
  background: #f3bf45;
}

.consultation-browser-dot-b {
  top: 12rem;
  right: 14%;
  background: #7dd2d8;
}

.consultation-browser-dot-c {
  bottom: 3rem;
  right: 18%;
  background: #9ecb85;
}

.consultation-browser-info-bar {
  background: rgba(111, 174, 85, 0.08);
  border-color: rgba(111, 174, 85, 0.16);
}

.consultation-browser-section {
  padding-top: 1.25rem;
}

.consultation-browser-filter-card {
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  border-color: rgba(83, 95, 114, 0.14);
  box-shadow: 0 14px 36px rgba(21, 32, 52, 0.08);
  position: static;
}

.consultation-browser-filter-headline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.consultation-browser-filter-headline svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #4b85af;
}

.consultation-browser-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.consultation-browser-filter-caption {
  margin: 0;
  color: #6c7889;
  font-size: 0.92rem;
}

.consultation-browser-results {
  gap: 1.5rem;
}

.consultation-browser-card-grid {
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.consultation-browser-card {
  gap: 1rem;
  min-height: 100%;
  padding: 1.5rem;
  border-top: 0;
  border-radius: 1rem;
  border: 1px solid rgba(83, 95, 114, 0.14);
  box-shadow: 0 12px 28px rgba(21, 32, 52, 0.08);
}

.consultation-browser-card-top {
  align-items: flex-start;
}

.consultation-browser-card-tag,
.consultation-browser-card-status {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 0.72rem;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.consultation-browser-card-tag {
  background: rgba(109, 189, 227, 0.14);
  color: #4c90aa;
}

.consultation-browser-card-status {
  background: rgba(229, 234, 241, 0.9);
  color: #6b7787;
}

.consultation-browser-card-status-in-consultation {
  background: rgba(111, 174, 85, 0.14);
  color: #4b8d52;
}

.consultation-browser-card-status-submitted {
  background: rgba(243, 191, 69, 0.18);
  color: #9c7720;
}

.consultation-browser-card-title {
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.14;
  color: #1b2435;
}

.consultation-browser-card-summary {
  color: #607080;
}

.consultation-browser-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: auto;
  color: #667487;
  font-size: 0.95rem;
}

.consultation-browser-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.consultation-browser-card-meta-item-reference {
  color: rgba(102, 116, 135, 0.78);
  font-size: 0.82rem;
}

.consultation-browser-card-icon-sector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(109, 189, 227, 0.18);
  color: #4b85af;
  font-size: 0.8rem;
  font-weight: 800;
}

.consultation-browser-card-meta-item-response {
  color: #5ca44f;
}

.consultation-browser-card-footer {
  margin-top: 0.1rem;
  justify-content: flex-start;
}

.consultation-browser-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #34597e;
}

.consultation-browser-card-link:hover {
  color: #1f4264;
}

@media (max-width: 1023px) {
  .consultation-browser-hero-shell,
  .consultation-browser-list-shell {
    grid-template-columns: 1fr;
  }

  .consultation-browser-visual {
    min-height: 24rem;
  }

  .consultation-browser-filter-grid,
  .consultation-browser-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .consultation-browser-hero {
    padding-top: 2rem;
  }

  .consultation-browser-filter-card {
    padding: 1.15rem;
  }

  .consultation-browser-filter-grid,
  .consultation-browser-card-grid {
    grid-template-columns: 1fr;
  }

  .consultation-browser-visual {
    min-height: 21rem;
  }

  .consultation-browser-bubble-left {
    left: 0;
  }

  .consultation-browser-bubble-right {
    right: 0;
  }

  .consultation-browser-sheet {
    width: min(17rem, 88vw);
  }
}

/* ==========================================================================
   Section 27: Consultation Browser Sizing Tune
   ========================================================================== */

.consultation-browser-hero {
  padding: 3.9rem 0 3.15rem;
}

.consultation-browser-hero-shell {
  max-width: 1600px;
  min-height: 31.5rem;
  grid-template-columns: minmax(0, 0.88fr) minmax(22rem, 1.12fr);
  gap: 2.8rem;
  align-items: center;
}

.consultation-browser-list-shell {
  max-width: 64rem;
  gap: 1.4rem;
}

.consultation-browser-copy {
  max-width: 31rem;
  padding: 0;
}

.consultation-browser-kicker {
  padding: 0.36rem 0.72rem;
  font-size: 0.64rem;
}

.consultation-browser-title {
  max-width: 7.6ch;
  font-size: clamp(2.55rem, 4.4vw, 4rem);
  line-height: 0.96;
}

.consultation-browser-text {
  max-width: 25rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.consultation-browser-stats {
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.consultation-browser-stat-card {
  min-width: 9.6rem;
  padding: 0.72rem 0.82rem;
  border-radius: 0.82rem;
  box-shadow: 0 10px 24px rgba(26, 35, 52, 0.06);
}

.consultation-browser-stat-icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.6rem;
}

.consultation-browser-stat-card strong {
  font-size: 1.12rem;
}

.consultation-browser-stat-card span:last-child {
  font-size: 0.76rem;
}

.consultation-browser-visual {
  min-height: 24.5rem;
}

.consultation-browser-sheet {
  top: 1rem;
  width: 17.25rem;
  padding: 0.8rem 0.9rem 0.95rem;
  border-width: 1.8px;
  border-radius: 0.72rem;
}

.consultation-browser-sheet-label {
  padding: 0.24rem 0.45rem;
  font-size: 0.62rem;
}

.consultation-browser-sheet-lines,
.consultation-browser-sheet-note {
  gap: 0.34rem;
  margin-top: 0.72rem;
}

.consultation-browser-checklist {
  gap: 0.42rem;
  margin-top: 0.78rem;
}

.consultation-browser-checklist span {
  width: 0.82rem;
  height: 0.82rem;
}

.consultation-browser-checklist em {
  height: 0.22rem;
}

.consultation-browser-rating {
  margin-top: 0.82rem;
  font-size: 0.74rem;
}

.consultation-browser-sheet-button {
  min-height: 2rem;
  margin-top: 0.82rem;
  padding: 0.5rem 0.82rem;
  font-size: 0.68rem;
}

.consultation-browser-sheet-votes {
  margin-top: 0.55rem;
  padding: 0.2rem 0.42rem;
  font-size: 0.68rem;
}

.consultation-browser-bubble,
.consultation-browser-chip {
  padding: 0.18rem 0.46rem;
  font-size: 0.62rem;
}

.consultation-browser-bubble-left {
  left: 16%;
  top: 8.8rem;
}

.consultation-browser-bubble-right {
  right: 14%;
  top: 8.2rem;
}

.consultation-browser-chip-top {
  right: 24%;
  top: 1rem;
}

.consultation-browser-dot-a {
  top: 3.2rem;
  left: 21%;
}

.consultation-browser-dot-b {
  top: 10.8rem;
  right: 17%;
}

.consultation-browser-dot-c {
  bottom: 3.1rem;
  right: 20%;
}

.consultation-browser-section {
  padding-top: 1.8rem;
}

.consultation-browser-filter-card {
  padding: 1.15rem 1.25rem 1rem;
  border-radius: 0.9rem;
}

.consultation-browser-filter-headline {
  gap: 0.6rem;
}

.consultation-browser-filter-headline svg {
  width: 0.9rem;
  height: 0.9rem;
}

.consultation-browser-filter-grid {
  gap: 0.8rem;
}

.consultation-browser-filter-caption {
  font-size: 0.76rem;
}

.consultation-browser-results {
  gap: 1rem;
}

.consultation-browser-card-grid {
  gap: 0.7rem;
}

.consultation-browser-card {
  padding: 0.95rem 1rem 0.9rem;
  border-radius: 0.88rem;
  box-shadow: 0 8px 18px rgba(21, 32, 52, 0.06);
}

.consultation-browser-card-tag,
.consultation-browser-card-status {
  min-height: 1.45rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.42rem;
  font-size: 0.54rem;
}

.consultation-browser-card-title {
  font-size: clamp(1.12rem, 1.55vw, 1.45rem);
  line-height: 1.08;
}

.consultation-browser-card-summary {
  font-size: 1.17rem;
  line-height: 1.52;
}

.consultation-browser-card-meta {
  gap: 0.45rem 0.72rem;
  font-size: 0.67rem;
}

.consultation-browser-card-icon-sector {
  width: 1rem;
  height: 1rem;
  font-size: 0.56rem;
}

.consultation-browser-card-link {
  font-size: 0.74rem;
}

.consultation-browser-card-link svg {
  width: 0.78rem;
  height: 0.78rem;
}

.public-field-label {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.public-field-input,
.public-field-select {
  min-height: 2.4rem;
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
}

@media (max-width: 1023px) {
  .consultation-browser-hero-shell,
  .consultation-browser-list-shell {
    max-width: 92vw;
  }

  .consultation-browser-hero-shell {
    min-height: 0;
    gap: 1.8rem;
  }
}

/*
==========================================================================
   Section 28: Consultation Browser Figma Lock
==========================================================================
*/

.consultation-browser-hero {
  padding: 2.65rem 0 1.7rem;
  overflow: clip;
}

.consultation-browser-hero-shell {
  max-width: 1600px;
  min-height: 22.5rem;
  grid-template-columns: minmax(0, 0.86fr) minmax(22rem, 1.14fr);
  gap: 2rem;
  align-items: start;
}

.consultation-browser-copy {
  max-width: 25.5rem;
  padding-top: 1.7rem;
  gap: 0.95rem;
}

.consultation-browser-kicker {
  width: fit-content;
  padding: 0.32rem 0.66rem;
  border-radius: 0.42rem;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.consultation-browser-title {
  max-width: 7.1ch;
  margin: 0;
  font-size: clamp(2.15rem, 3.7vw, 3.55rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
}

.consultation-browser-text {
  max-width: 21.5rem;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
}

.consultation-browser-stats {
  gap: 0.72rem;
  margin-top: 0.2rem;
}

.consultation-browser-stat-card {
  min-width: 8.7rem;
  padding: 0.64rem 0.72rem;
  gap: 0.7rem;
  border-radius: 0.7rem;
  box-shadow: 0 10px 24px rgba(26, 35, 52, 0.05);
}

.consultation-browser-stat-icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.5rem;
}

.consultation-browser-stat-card strong {
  font-size: 1rem;
}

.consultation-browser-stat-card span:last-child {
  margin-top: 0.16rem;
  font-size: 0.7rem;
}

.consultation-browser-visual {
  min-height: 20.75rem;
}

.consultation-browser-sheet {
  top: 0.55rem;
  width: 14.3rem;
  padding: 0.68rem 0.74rem 0.82rem;
  border-width: 1.65px;
  border-radius: 0.64rem;
  box-shadow: -0.28rem 0.28rem 0 #dbe7db;
}

.consultation-browser-sheet-label {
  padding: 0.21rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.56rem;
  letter-spacing: 0.05em;
}

.consultation-browser-sheet-lines,
.consultation-browser-sheet-note {
  gap: 0.28rem;
  margin-top: 0.58rem;
}

.consultation-browser-sheet-lines span,
.consultation-browser-sheet-note span {
  height: 0.16rem;
  border-radius: 999px;
}

.consultation-browser-checklist {
  gap: 0.32rem;
  margin-top: 0.6rem;
}

.consultation-browser-checklist span {
  width: 0.68rem;
  height: 0.68rem;
}

.consultation-browser-checklist em {
  height: 0.18rem;
}

.consultation-browser-rating {
  margin-top: 0.58rem;
  font-size: 0.64rem;
}

.consultation-browser-sheet-button {
  min-height: 1.72rem;
  margin-top: 0.62rem;
  padding: 0.36rem 0.68rem;
  border-radius: 0.38rem;
  font-size: 0.58rem;
}

.consultation-browser-sheet-votes {
  margin-top: 0.4rem;
  padding: 0.16rem 0.34rem;
  border-radius: 0.25rem;
  font-size: 0.58rem;
}

.consultation-browser-bubble,
.consultation-browser-chip {
  padding: 0.12rem 0.36rem;
  border-radius: 999px;
  font-size: 0.53rem;
  letter-spacing: 0.04em;
}

.consultation-browser-bubble-left {
  top: 5.4rem;
  left: 3.3rem;
}

.consultation-browser-bubble-right {
  top: 6rem;
  right: 3.6rem;
}

.consultation-browser-chip-top {
  top: 0.45rem;
  left: 50%;
  transform: translateX(2.9rem);
}

.consultation-browser-dot-a {
  top: 2.1rem;
  left: 0.9rem;
}

.consultation-browser-dot-b {
  top: 3.7rem;
  right: 1.8rem;
}

.consultation-browser-dot-c {
  right: 3rem;
  bottom: 2rem;
}

.consultation-browser-section {
  padding: 0 0 2.8rem;
}

.consultation-browser-list-shell {
  display: block;
  max-width: 57.5rem;
}

.consultation-browser-filter-card {
  display: grid;
  gap: 0.88rem;
  padding: 0.98rem 1.08rem 0.86rem;
  border-radius: 0.78rem;
  box-shadow: 0 10px 24px rgba(21, 32, 52, 0.06);
}

.consultation-browser-filter-headline {
  gap: 0.52rem;
}

.consultation-browser-filter-headline svg {
  width: 0.82rem;
  height: 0.82rem;
}

.consultation-browser-filter-headline .public-list-filter-eyebrow {
  font-size: 0.56rem;
}

.consultation-browser-filter-headline .public-list-filter-title {
  font-size: 0.9rem;
}

.consultation-browser-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
}

.consultation-browser-filter-card .public-field {
  gap: 0.26rem;
}

.consultation-browser-filter-card .public-field-label {
  font-size: 0.54rem;
  letter-spacing: 0.03em;
}

.consultation-browser-filter-card .public-field-select {
  min-height: 2rem;
  padding: 0.44rem 0.62rem;
  border-radius: 0.42rem;
  font-size: 0.72rem;
}

.consultation-browser-filter-caption {
  font-size: 0.67rem;
}

.consultation-browser-results {
  margin-top: 1rem;
  gap: 0.8rem;
}

.consultation-browser-card-grid {
  gap: 0.88rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.consultation-browser-card {
  gap: 0.72rem;
  min-height: 11.75rem;
  padding: 0.88rem 0.92rem 0.82rem;
  border-radius: 0.76rem;
  box-shadow: 0 8px 18px rgba(21, 32, 52, 0.055);
}

.consultation-browser-card-top {
  gap: 0.5rem;
}

.consultation-browser-card-tag,
.consultation-browser-card-status {
  min-height: 1.28rem;
  padding: 0.16rem 0.42rem;
  border-radius: 0.34rem;
  font-size: 0.48rem;
  letter-spacing: 0.05em;
}

.consultation-browser-card-title {
  font-size: clamp(1rem, 1.3vw, 1.28rem);
  line-height: 1.02;
}

.consultation-browser-card-summary {
  font-size: 0.96rem;
  line-height: 1.48;
}

.consultation-browser-card-meta {
  gap: 0.38rem 0.56rem;
  font-size: 0.56rem;
}

.consultation-browser-card-icon-sector {
  width: 0.92rem;
  height: 0.92rem;
  font-size: 0.5rem;
}

.consultation-browser-card-link {
  gap: 0.22rem;
  font-size: 0.62rem;
}

.consultation-browser-card-link svg {
  width: 0.7rem;
  height: 0.7rem;
}

.consultation-browser-footer {
  margin-top: 2.4rem;
  padding: 2.6rem 0 1.05rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(43, 178, 143, 0.16), transparent 18%),
    linear-gradient(180deg, #0d2140 0%, #0b1830 100%);
  color: rgba(240, 245, 252, 0.9);
}

.consultation-browser-footer-shell {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
}

.consultation-browser-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f6fbff;
  text-decoration: none;
}

.consultation-browser-footer-logo-text {
  font-family: var(--font-family-display);
  font-size: 1rem;
}

.consultation-browser-footer-brand {
  max-width: 18rem;
}

.consultation-browser-footer-brand p {
  margin: 0.7rem 0 0;
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(216, 229, 244, 0.86);
}

.consultation-browser-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.consultation-browser-footer-column h2 {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  color: #f6fbff;
}

.consultation-browser-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.46rem;
}

.consultation-browser-footer-column a,
.consultation-browser-footer-meta a {
  color: rgba(218, 230, 244, 0.84);
  text-decoration: none;
  font-size: 0.7rem;
}

.consultation-browser-footer-column a:hover,
.consultation-browser-footer-meta a:hover,
.consultation-browser-footer-logo:hover {
  color: #ffffff;
}

.consultation-browser-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(190, 206, 228, 0.14);
}

.consultation-browser-footer-meta p,
.consultation-browser-footer-meta div {
  margin: 0;
  display: flex;
  gap: 0.85rem;
  font-size: 0.64rem;
  color: rgba(206, 220, 238, 0.78);
}

@media (max-width: 1023px) {
  .consultation-browser-hero {
    padding: 2.25rem 0 1.45rem;
  }

  .consultation-browser-hero-shell,
  .consultation-browser-list-shell {
    max-width: min(100% - 1.5rem, 57rem);
  }

  .consultation-browser-hero-shell {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .consultation-browser-copy {
    max-width: 100%;
    padding-top: 0;
  }

  .consultation-browser-title {
    max-width: 8.5ch;
  }

  .consultation-browser-visual {
    min-height: 18rem;
  }

  .consultation-browser-filter-grid,
  .consultation-browser-card-grid,
  .consultation-browser-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .consultation-browser-hero {
    padding-top: 1.8rem;
  }

  .consultation-browser-title {
    font-size: clamp(1.95rem, 11vw, 2.75rem);
  }

  .consultation-browser-text {
    max-width: 100%;
  }

  .consultation-browser-stats {
    flex-direction: column;
  }

  .consultation-browser-stat-card {
    min-width: 0;
  }

  .consultation-browser-visual {
    min-height: 15.5rem;
  }

  .consultation-browser-sheet {
    width: 12.7rem;
  }

  .consultation-browser-bubble-left {
    left: 0.2rem;
  }

  .consultation-browser-bubble-right {
    right: 0.2rem;
  }

  .consultation-browser-chip-top {
    transform: translateX(2.1rem);
  }

  .consultation-browser-filter-card {
    padding: 0.92rem;
  }

  .consultation-browser-filter-grid,
  .consultation-browser-card-grid,
  .consultation-browser-footer-columns {
    grid-template-columns: 1fr;
  }

  .consultation-browser-footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*
==========================================================================
   Section 29: Consultation Browser Shell Alignment
==========================================================================
*/

.body-consultations {
  background:
    radial-gradient(circle at top left, rgba(62, 184, 164, 0.07), transparent 24%),
    linear-gradient(180deg, #fbfdfd 0%, #f5faf8 22%, #f8fbfc 100%);
}

.body-consultations .consultation-browser-hero {
  position: relative;
  padding: 5.1rem 0 4.6rem;
  background:
    radial-gradient(circle at 19% 16%, rgba(62, 184, 164, 0.04), transparent 7.5%),
    radial-gradient(circle at 53% 63%, rgba(247, 181, 0, 0.05), transparent 3.2%),
    radial-gradient(circle at 84% 14%, rgba(62, 184, 164, 0.04), transparent 3.8%),
    radial-gradient(circle at 10% 64%, rgba(78, 158, 76, 0.08), transparent 2.2%),
    radial-gradient(circle at 78% 74%, rgba(62, 184, 164, 0.08), transparent 2.1%),
    radial-gradient(circle at 30% 84%, rgba(45, 121, 183, 0.07), transparent 2.4%),
    radial-gradient(circle at 4.6% 23%, rgba(247, 181, 0, 0.42) 0 0.34%, rgba(247, 181, 0, 0.16) 0.72%, rgba(247, 181, 0, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 61% 34%, rgba(62, 184, 164, 0.42) 0 0.34%, rgba(62, 184, 164, 0.16) 0.72%, rgba(62, 184, 164, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 36% 76%, rgba(78, 158, 76, 0.42) 0 0.34%, rgba(78, 158, 76, 0.16) 0.72%, rgba(78, 158, 76, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 81% 26%, rgba(62, 184, 164, 0.4) 0 0.28%, rgba(62, 184, 164, 0.16) 0.62%, rgba(62, 184, 164, 0.06) 1.06%, transparent 1.8%),
    radial-gradient(circle at 66% 86%, rgba(247, 181, 0, 0.38) 0 0.26%, rgba(247, 181, 0, 0.16) 0.6%, rgba(247, 181, 0, 0.05) 1.02%, transparent 1.72%),
    radial-gradient(circle at 47% 18%, rgba(45, 121, 183, 0.34) 0 0.24%, rgba(45, 121, 183, 0.14) 0.58%, rgba(45, 121, 183, 0.04) 0.98%, transparent 1.7%),
    linear-gradient(180deg, #ffffff, #f7f8f6);
}

.body-consultations .consultation-browser-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 55, 48, 0.08), transparent);
}

.body-consultations .consultation-browser-hero-shell {
  width: var(--page-hero-shell-width);
  max-width: none;
  min-height: 32rem;
  grid-template-columns: minmax(0, 35rem) minmax(33rem, 41rem);
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.body-consultations .consultation-browser-copy {
  max-width: 35rem;
  padding-top: 0;
  gap: 1.45rem;
}

.body-consultations .consultation-browser-title {
  color: var(--color-display);
  max-width: 10.8ch;
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.05em;
  text-wrap: initial;
}

.body-consultations .consultation-browser-title-line {
  display: block;
  white-space: nowrap;
}

.body-consultations .consultation-browser-title-line-primary {
  color: #111827;
}

.body-consultations .consultation-browser-title-line-accent {
  color: var(--color-accent-green);
}

.body-consultations .consultation-browser-text {
  max-width: 27rem;
  margin-top: 0;
  color: var(--color-shell-muted);
}

.body-consultations .consultation-browser-stats {
  gap: 0.95rem 1.4rem;
  margin-top: 0.4rem;
}

.body-consultations .consultation-browser-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 42rem);
  min-height: 32rem;
}

.body-consultations .consultation-browser-heading-art {
  filter: drop-shadow(0 0.75rem 1.4rem rgba(15, 35, 30, 0.04));
}

.body-consultations .consultation-browser-visual::before,
.body-consultations .consultation-browser-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.body-consultations .consultation-browser-visual::before {
  inset: 1rem auto auto 1.4rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(78, 158, 76, 0.16) 0%, rgba(78, 158, 76, 0.03) 62%, transparent 74%);
}

.body-consultations .consultation-browser-visual::after {
  inset: auto 1.25rem 1rem auto;
  width: 11rem;
  height: 11rem;
  background: radial-gradient(circle, rgba(45, 121, 183, 0.16) 0%, rgba(45, 121, 183, 0.03) 64%, transparent 76%);
}

.body-consultations .consultation-browser-sheet {
  top: 0.45rem;
  width: 14.6rem;
}

.body-consultations .consultation-browser-bubble-left {
  left: 2.25rem;
}

.body-consultations .consultation-browser-bubble-right {
  right: 2.35rem;
}

.body-consultations .consultation-browser-chip-top {
  transform: translateX(2.25rem);
}

.body-consultations .consultation-browser-stat-card,
.body-consultations .consultation-browser-sheet,
.body-consultations .consultation-browser-filter-card,
.body-consultations .consultation-browser-card,
.body-consultations .public-empty-state {
  border-color: rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 38px -28px rgba(15, 35, 30, 0.28);
}

.body-consultations .consultation-browser-stat-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  min-width: 10.4rem;
  padding: 0.92rem 1rem;
  gap: 0.82rem;
}

.body-consultations .consultation-browser-stat-card strong {
  font-size: 1.14rem;
}

.body-consultations .consultation-browser-stat-card span:last-child {
  margin-top: 0.22rem;
  font-size: 0.8rem;
}

.body-consultations .consultation-browser-list-shell {
  display: block;
  width: min(100% - 1.5rem, 72rem);
  max-width: 72rem;
}

.body-consultations .consultation-browser-section {
  padding: 0 0 3.6rem;
}

.body-consultations .consultation-browser-filter-card {
  position: static;
  width: 100%;
  padding: 1.1rem 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.body-consultations #consultation-results {
  display: block;
  width: 100%;
}

.body-consultations .consultation-browser-results {
  margin-top: 1.15rem;
}

.body-consultations .consultation-browser-scroll-trigger {
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
}

.body-consultations .consultation-browser-scroll-trigger-complete {
  display: none;
}

.body-consultations .consultation-browser-scroll-status {
  min-height: 2.5rem;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 121, 183, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: #5f7280;
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(21, 32, 52, 0.05);
}

.body-consultations .consultation-browser-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 250, 0.94));
}

.body-consultations .consultation-browser-card-title {
  color: #183247;
}

.body-consultations .consultation-browser-card-summary,
.body-consultations .consultation-browser-card-meta,
.body-consultations .consultation-browser-filter-caption {
  color: #5f7280;
}

.body-consultations .public-pagination {
  margin-top: 0.2rem;
}

@media (prefers-color-scheme: dark) {
.body-consultations {
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.1), transparent 26%),
    linear-gradient(180deg, #081513 0%, #0b1f1b 24%, #0d1b29 100%);
}

.body-consultations .consultation-browser-hero {
  background:
    radial-gradient(circle at 18% 14%, rgba(52, 211, 153, 0.22), transparent 0 18%),
    radial-gradient(circle at 82% 16%, rgba(96, 165, 250, 0.22), transparent 0 20%),
    radial-gradient(circle at 68% 84%, rgba(251, 191, 36, 0.12), transparent 0 14%),
    radial-gradient(circle at 46% 20%, rgba(96, 165, 250, 0.14), transparent 0 12%),
    linear-gradient(180deg, rgba(9, 24, 22, 0.96) 0%, rgba(10, 31, 27, 0.96) 52%, rgba(10, 24, 36, 0.9) 100%);
}

.body-consultations .consultation-browser-hero::after {
  background: linear-gradient(90deg, transparent, rgba(163, 219, 196, 0.16), transparent);
}

.body-consultations :is(
  .consultation-browser-stat-card,
  .consultation-browser-sheet,
  .consultation-browser-filter-card,
  .consultation-browser-card,
  .public-empty-state
) {
  background: rgba(15, 23, 31, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 38px -30px rgba(0, 0, 0, 0.6);
}

.body-consultations :is(
  .consultation-browser-title,
  .consultation-browser-card-title,
  .public-empty-title
) {
  color: var(--color-display);
}

.body-consultations .consultation-browser-title-line-primary {
  color: var(--color-display);
}

.body-consultations .consultation-browser-title-line-accent {
  color: #8ee08c;
}

.body-consultations :is(
  .consultation-browser-text,
  .consultation-browser-card-summary,
  .consultation-browser-card-meta,
  .consultation-browser-filter-caption,
  .public-empty-text,
  .public-pagination-current
) {
  color: var(--color-text-secondary);
}

.body-consultations .consultation-browser-sheet-votes {
  background: rgba(255, 255, 255, 0.08);
  color: #dceaf4;
}

.body-consultations .consultation-browser-visual::before {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, rgba(52, 211, 153, 0.03) 62%, transparent 74%);
}

.body-consultations .consultation-browser-visual::after {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.22) 0%, rgba(96, 165, 250, 0.04) 64%, transparent 76%);
}

.body-consultations .consultation-browser-bubble,
.body-consultations .consultation-browser-chip {
  background: rgba(15, 23, 31, 0.9);
  color: #d8ebf8;
  border-color: rgba(148, 190, 216, 0.38);
}

.body-consultations .consultation-browser-card-status {
  background: rgba(255, 255, 255, 0.08);
  color: #d3dee7;
}

.body-consultations .consultation-browser-card-status-in-consultation {
  background: rgba(78, 158, 76, 0.18);
  color: #9fe69b;
}

.body-consultations .consultation-browser-card-status-submitted {
  background: rgba(247, 181, 0, 0.18);
  color: #f6d27a;
}

.body-consultations .consultation-browser-card-tag,
.body-consultations .consultation-browser-card-icon-sector {
  background: rgba(45, 121, 183, 0.16);
  color: #b6ddff;
}

.body-consultations .consultation-browser-card-meta-item-reference {
  color: rgba(211, 222, 231, 0.72);
}

.body-consultations .consultation-browser-card-link {
  color: #b6ddff;
}

.body-consultations .public-pagination-link {
  background: rgba(15, 23, 31, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--color-display);
}

.body-consultations .consultation-browser-scroll-status {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 31, 0.78);
  color: var(--color-text-secondary);
}
}

@media (max-width: 1023px) {
  .body-consultations .consultation-browser-hero-shell {
    width: min(100% - 1.5rem, 57rem);
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .body-consultations .consultation-browser-copy {
    max-width: 100%;
    padding-top: 0;
  }

  .body-consultations .consultation-browser-title {
    max-width: 100%;
  }

  .body-consultations .consultation-browser-title-line {
    white-space: normal;
  }

  .body-consultations .consultation-browser-list-shell {
    width: min(100% - 1.5rem, 57rem);
  }

  .body-consultations .consultation-browser-visual {
    width: min(100%, 26rem);
    justify-self: center;
  }

  .consultation-browser-visual-card {
    padding: 0;
    gap: 0.8rem;
    border-radius: 0;
  }

  .consultation-browser-social-poll-meta {
    flex-wrap: wrap;
  }

  .consultation-browser-social-poll-title {
    font-size: 1.08rem;
  }
}

/*
==========================================================================
   Section 30: Grassroots Browser Shell Alignment
==========================================================================
*/

.body-grassroots {
  background:
    radial-gradient(circle at top left, rgba(62, 184, 164, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f8f6 24%, #f8fbfc 100%);
}

.body-grassroots .grassroots-browser-hero {
  position: relative;
  padding: 5.1rem 0 4.5rem;
  background:
    radial-gradient(circle at 22% 14%, rgba(62, 184, 164, 0.04), transparent 7.5%),
    radial-gradient(circle at 45% 67%, rgba(247, 181, 0, 0.05), transparent 3.2%),
    radial-gradient(circle at 88% 18%, rgba(62, 184, 164, 0.04), transparent 3.8%),
    radial-gradient(circle at 13% 58%, rgba(78, 158, 76, 0.08), transparent 2.2%),
    radial-gradient(circle at 72% 78%, rgba(62, 184, 164, 0.08), transparent 2.1%),
    radial-gradient(circle at 2.8% 27%, rgba(247, 181, 0, 0.42) 0 0.34%, rgba(247, 181, 0, 0.16) 0.72%, rgba(247, 181, 0, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 57% 38%, rgba(62, 184, 164, 0.42) 0 0.34%, rgba(62, 184, 164, 0.16) 0.72%, rgba(62, 184, 164, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 41% 79%, rgba(78, 158, 76, 0.42) 0 0.34%, rgba(78, 158, 76, 0.16) 0.72%, rgba(78, 158, 76, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 76% 21%, rgba(62, 184, 164, 0.4) 0 0.28%, rgba(62, 184, 164, 0.16) 0.62%, rgba(62, 184, 164, 0.06) 1.06%, transparent 1.8%),
    radial-gradient(circle at 69% 88%, rgba(247, 181, 0, 0.38) 0 0.26%, rgba(247, 181, 0, 0.16) 0.6%, rgba(247, 181, 0, 0.05) 1.02%, transparent 1.72%),
    linear-gradient(180deg, #ffffff, #f7f8f6);
}

.body-grassroots .grassroots-browser-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 55, 48, 0.08), transparent);
}

.body-grassroots .grassroots-browser-hero-shell {
  width: min(100% - 1.5rem, 1600px);
  max-width: none;
  min-height: 32rem;
  display: grid;
  grid-template-columns: minmax(0, 35rem) minmax(33rem, 41rem);
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.body-grassroots .grassroots-browser-copy {
  max-width: 35rem;
  display: grid;
  gap: 1.45rem;
}

.body-grassroots .grassroots-browser-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  width: fit-content;
  padding: 0.4rem 0.72rem;
  border-radius: 0.45rem;
  background: #f6b617;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.body-grassroots .grassroots-browser-kicker svg,
.body-grassroots .grassroots-browser-filter-headline svg {
  width: 0.9rem;
  height: 0.9rem;
}

.body-grassroots .grassroots-browser-title {
  color: var(--color-display);
  max-width: 15ch;
  margin: 0;
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.05em;
}

.body-grassroots .grassroots-browser-title-line {
  display: block;
}

.body-grassroots .grassroots-browser-title-line-primary {
  white-space: nowrap;
}

.body-grassroots .grassroots-browser-title-line-primary {
  color: #111827;
}

.body-grassroots .grassroots-browser-title-line-accent {
  color: #4e9e4c;
}

.body-grassroots .grassroots-browser-text {
  max-width: 29rem;
  margin: 0;
  color: var(--color-shell-muted);
}

.body-grassroots .grassroots-browser-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.body-grassroots .grassroots-browser-cta-primary {
  position: relative;
  overflow: hidden;
  min-height: 3rem;
  padding-inline: 1.35rem;
  border-color: transparent;
  border-radius: 0.6rem;
  background: #f0aa00;
  color: #fff;
  box-shadow: 0 16px 28px rgba(240, 170, 0, 0.24);
}

.body-grassroots .grassroots-browser-cta-primary::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 0.95rem solid #4e9e4c;
  border-left: 0.95rem solid transparent;
  pointer-events: none;
}

.body-grassroots .grassroots-browser-cta-primary:hover {
  background: #f0aa00;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.body-grassroots .grassroots-browser-cta-secondary {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
}

.body-grassroots .grassroots-browser-cta-secondary::before {
  content: "";
  position: absolute;
  inset: 0.26rem;
  border: 2px dashed #4e9e4c;
  border-radius: 0.5rem;
  pointer-events: none;
  opacity: 0.52;
}

.body-grassroots .grassroots-browser-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.35rem;
}

.body-grassroots .grassroots-browser-stat-card,
.body-grassroots .grassroots-browser-filter-card,
.body-grassroots .grassroots-browser-card,
.body-grassroots .public-empty-state,
.body-grassroots .grassroots-browser-visual-card,
.body-grassroots .grassroots-browser-step,
.body-grassroots .grassroots-browser-visual-note {
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 38px -28px rgba(15, 35, 30, 0.28);
}

.body-grassroots .grassroots-browser-stat-card {
  min-width: 11rem;
  display: flex;
  align-items: center;
  gap: 0.82rem;
  padding: 0.92rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.body-grassroots .grassroots-browser-stat-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(78, 158, 76, 0.12);
  color: #2a6a42;
}

.body-grassroots .grassroots-browser-stat-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.body-grassroots .grassroots-browser-stat-card strong {
  display: block;
  font-size: 1.14rem;
  color: #183247;
}

.body-grassroots .grassroots-browser-stat-card span:last-child {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #5f7280;
}

.body-grassroots .grassroots-browser-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 42rem);
  min-height: 32rem;
}

.body-grassroots .grassroots-browser-visual::before,
.body-grassroots .grassroots-browser-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.body-grassroots .grassroots-browser-visual::before {
  inset: 0.8rem auto auto 0.9rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(247, 181, 0, 0.18) 0%, rgba(247, 181, 0, 0.03) 62%, transparent 74%);
}

.body-grassroots .grassroots-browser-visual::after {
  inset: auto 1rem 1rem auto;
  width: 11rem;
  height: 11rem;
  background: radial-gradient(circle, rgba(45, 121, 183, 0.16) 0%, rgba(45, 121, 183, 0.03) 64%, transparent 76%);
}

.body-grassroots .grassroots-browser-visual-card {
  position: relative;
  min-height: 100%;
  padding: 1rem 0.5rem 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.body-grassroots .grassroots-browser-hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 48rem;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 1rem 2rem rgba(15, 35, 30, 0.08));
}

.body-grassroots .grassroots-browser-dot {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  pointer-events: none;
}

.body-grassroots .grassroots-browser-dot-a {
  top: 5.6rem;
  left: 1.8rem;
  background: rgba(247, 181, 0, 0.92);
  box-shadow: 0 0 0 0.38rem rgba(247, 181, 0, 0.14);
}

.body-grassroots .grassroots-browser-dot-b {
  top: 2.8rem;
  right: 4.6rem;
  background: rgba(78, 158, 76, 0.92);
  box-shadow: 0 0 0 0.38rem rgba(78, 158, 76, 0.12);
}

.body-grassroots .grassroots-browser-dot-c {
  right: 7.2rem;
  bottom: 4rem;
  background: rgba(45, 121, 183, 0.9);
  box-shadow: 0 0 0 0.38rem rgba(45, 121, 183, 0.12);
}

.body-grassroots .grassroots-browser-list-shell {
  width: min(100% - 1.5rem, 72rem);
  max-width: 72rem;
}

.body-grassroots .grassroots-browser-section {
  padding: 0 0 3.6rem;
}

.body-grassroots .grassroots-browser-filter-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.body-grassroots .grassroots-browser-filter-headline {
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
}

.body-grassroots .grassroots-browser-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.68rem;
}

.body-grassroots .grassroots-browser-filter-caption {
  margin: 0;
  font-size: 0.67rem;
  color: #5f7280;
}

.body-grassroots .grassroots-browser-results {
  margin-top: 1.15rem;
}

.body-grassroots .grassroots-browser-card-grid {
  gap: 0.88rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.body-grassroots .grassroots-browser-card {
  gap: 0.78rem;
  min-height: 14.5rem;
  padding: 0.95rem 1rem 0.9rem;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 250, 0.94));
}

.body-grassroots .grassroots-browser-card-top,
.body-grassroots .grassroots-browser-card-tags {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  justify-content: space-between;
}

.body-grassroots .grassroots-browser-card-tags {
  justify-content: flex-start;
}

.body-grassroots .grassroots-browser-card-tag,
.body-grassroots .grassroots-browser-card-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.28rem;
  padding: 0.16rem 0.42rem;
  border-radius: 0.34rem;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.body-grassroots .grassroots-browser-card-tag {
  background: rgba(45, 121, 183, 0.1);
  color: #26658d;
}

.body-grassroots .grassroots-browser-card-status {
  background: rgba(226, 232, 240, 0.8);
  color: #516072;
}

.body-grassroots .grassroots-browser-card-status-public,
.body-grassroots .grassroots-browser-card-status-in-discutie,
.body-grassroots .grassroots-browser-card-status-in_discutie {
  background: rgba(78, 158, 76, 0.12);
  color: #347242;
}

.body-grassroots .grassroots-browser-card-status-in-moderare,
.body-grassroots .grassroots-browser-card-status-in_moderare {
  background: rgba(247, 181, 0, 0.14);
  color: #8c5f00;
}

.body-grassroots .grassroots-browser-card-status-eligibil,
.body-grassroots .grassroots-browser-card-status-campionat {
  background: rgba(62, 184, 164, 0.14);
  color: #1a7b73;
}

.body-grassroots .grassroots-browser-card-status-in-derulare,
.body-grassroots .grassroots-browser-card-status-in_derulare {
  background: rgba(230, 120, 33, 0.12);
  color: #ac5d18;
}

.body-grassroots .grassroots-browser-card-status-rezultat {
  background: rgba(45, 121, 183, 0.12);
  color: #26658d;
}

.body-grassroots .grassroots-browser-card-status-arhivat {
  background: rgba(100, 116, 139, 0.12);
  color: #5f7280;
}

.body-grassroots .grassroots-browser-card-title {
  color: #183247;
  font-size: clamp(1rem, 1.3vw, 1.28rem);
  line-height: 1.05;
}

.body-grassroots .grassroots-browser-card-summary,
.body-grassroots .grassroots-browser-card-author,
.body-grassroots .grassroots-browser-progress-foot,
.body-grassroots .grassroots-browser-card-meta {
  color: #5f7280;
}

.body-grassroots .grassroots-browser-card-author {
  margin: -0.15rem 0 0;
  font-size: 0.62rem;
  font-weight: 600;
}

.body-grassroots .grassroots-browser-progress {
  display: grid;
  gap: 0.35rem;
}

.body-grassroots .grassroots-browser-progress-head,
.body-grassroots .grassroots-browser-progress-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.58rem;
}

.body-grassroots .grassroots-browser-progress-head strong {
  color: #183247;
}

.body-grassroots .grassroots-browser-progress-track {
  height: 0.36rem;
  border-radius: 999px;
  background: #dfe7e3;
  overflow: hidden;
}

.body-grassroots .grassroots-browser-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #77b960 0%, #3aa56d 100%);
}

.body-grassroots .grassroots-browser-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  font-size: 0.58rem;
}

.body-grassroots .grassroots-browser-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.body-grassroots .grassroots-browser-card-icon,
.body-grassroots .grassroots-browser-card-meta-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.body-grassroots .grassroots-browser-card-icon-zone {
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(45, 121, 183, 0.12);
  color: #26658d;
  font-size: 0.52rem;
  font-weight: 800;
}

.body-grassroots .grassroots-browser-card-footer {
  margin-top: auto;
}

.body-grassroots .grassroots-browser-card-link {
  gap: 0.22rem;
  color: #183247;
}

.body-grassroots .grassroots-browser-card-link svg {
  width: 0.7rem;
  height: 0.7rem;
}

@media (prefers-color-scheme: dark) {
.body-grassroots {
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.1), transparent 24%),
    linear-gradient(180deg, #091816 0%, #0b1f1b 24%, #0d1b29 100%);
}

.body-grassroots .grassroots-browser-hero {
  background:
    radial-gradient(circle at 12% 14%, rgba(52, 211, 153, 0.14), transparent 0 18%),
    radial-gradient(circle at 84% 20%, rgba(96, 165, 250, 0.2), transparent 0 19%),
    radial-gradient(circle at 71% 79%, rgba(52, 211, 153, 0.12), transparent 0 14%),
    linear-gradient(180deg, rgba(9, 24, 22, 0.96) 0%, rgba(10, 31, 27, 0.96) 52%, rgba(10, 24, 36, 0.9) 100%);
}

.body-grassroots .grassroots-browser-hero::after {
  background: linear-gradient(90deg, transparent, rgba(163, 219, 196, 0.16), transparent);
}

.body-grassroots :is(
  .grassroots-browser-stat-card,
  .grassroots-browser-filter-card,
  .grassroots-browser-card,
  .public-empty-state
) {
  background: rgba(15, 23, 31, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 38px -30px rgba(0, 0, 0, 0.6);
}

.body-grassroots :is(
  .grassroots-browser-title,
  .grassroots-browser-card-title,
  .public-empty-title,
  .grassroots-browser-progress-head strong
) {
  color: var(--color-display);
}

.body-grassroots .grassroots-browser-title-line-primary {
  color: var(--color-display);
}

.body-grassroots .grassroots-browser-title-line-accent {
  color: #9fe69b;
}

.body-grassroots :is(
  .grassroots-browser-text,
  .grassroots-browser-filter-caption,
  .grassroots-browser-card-summary,
  .grassroots-browser-card-author,
  .grassroots-browser-progress-foot,
  .grassroots-browser-card-meta,
  .public-empty-text,
  .public-pagination-current
) {
  color: var(--color-text-secondary);
}

.body-grassroots .grassroots-browser-kicker {
  background: #f6b617;
  color: #fff;
}

.body-grassroots .grassroots-browser-cta-secondary {
  background: rgba(15, 23, 31, 0.78);
  color: var(--color-display);
  border-color: rgba(255, 255, 255, 0.08);
}

.body-grassroots .grassroots-browser-cta-secondary::before {
  border-color: #8ee08c;
  opacity: 0.6;
}

.body-grassroots .grassroots-browser-cta-primary {
  background: #f0aa00;
  color: #fff;
}

.body-grassroots .grassroots-browser-stat-icon {
  background: rgba(52, 211, 153, 0.16);
  color: #9fe69b;
}

.body-grassroots .grassroots-browser-dot-a {
  background: #f6b617;
  box-shadow: 0 0 0 0.42rem rgba(246, 182, 23, 0.18);
}

.body-grassroots .grassroots-browser-dot-b {
  background: #8ee08c;
  box-shadow: 0 0 0 0.42rem rgba(142, 224, 140, 0.16);
}

.body-grassroots .grassroots-browser-dot-c {
  background: #7ac5ff;
  box-shadow: 0 0 0 0.42rem rgba(122, 197, 255, 0.16);
}

.body-grassroots .grassroots-browser-card-tag,
.body-grassroots .grassroots-browser-card-icon-zone {
  background: rgba(45, 121, 183, 0.16);
  color: #b6ddff;
}

.body-grassroots .grassroots-browser-card-status {
  background: rgba(255, 255, 255, 0.08);
  color: #d3dee7;
}

.body-grassroots .grassroots-browser-card-status-public,
.body-grassroots .grassroots-browser-card-status-in-discutie,
.body-grassroots .grassroots-browser-card-status-in_discutie {
  background: rgba(78, 158, 76, 0.18);
  color: #9fe69b;
}

.body-grassroots .grassroots-browser-card-status-in-moderare,
.body-grassroots .grassroots-browser-card-status-in_moderare {
  background: rgba(247, 181, 0, 0.18);
  color: #f7d27c;
}

.body-grassroots .grassroots-browser-card-status-eligibil,
.body-grassroots .grassroots-browser-card-status-campionat {
  background: rgba(62, 184, 164, 0.18);
  color: #99f0e1;
}

.body-grassroots .grassroots-browser-card-status-in-derulare,
.body-grassroots .grassroots-browser-card-status-in_derulare {
  background: rgba(230, 120, 33, 0.18);
  color: #f3bd8c;
}

.body-grassroots .grassroots-browser-card-status-rezultat {
  background: rgba(45, 121, 183, 0.18);
  color: #b6ddff;
}

.body-grassroots .grassroots-browser-progress-track {
  background: rgba(255, 255, 255, 0.1);
}

.body-grassroots .grassroots-browser-card-link,
.body-grassroots .public-pagination-link {
  color: var(--color-display);
}
}

@media (max-width: 1023px) {
  .body-grassroots .grassroots-browser-hero-shell {
    width: min(100% - 1.5rem, 57rem);
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .body-grassroots .grassroots-browser-copy,
  .body-grassroots .grassroots-browser-title {
    max-width: 100%;
  }

  .body-grassroots .grassroots-browser-visual {
    width: min(100%, 30rem);
    justify-self: center;
    min-height: 20rem;
  }

  .body-grassroots .grassroots-browser-list-shell {
    width: min(100% - 1.5rem, 57rem);
  }

  .body-grassroots .grassroots-browser-filter-grid,
  .body-grassroots .grassroots-browser-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .body-grassroots .grassroots-browser-hero {
    padding-top: 4.6rem;
  }

  .body-grassroots .grassroots-browser-title {
    font-size: clamp(1.95rem, 11vw, 2.75rem);
  }

  .body-grassroots .grassroots-browser-title-line-primary {
    white-space: normal;
  }

  .body-grassroots .grassroots-browser-text,
  .body-grassroots .grassroots-browser-stat-card,
  .body-grassroots .grassroots-browser-cta-primary,
  .body-grassroots .grassroots-browser-cta-secondary {
    width: 100%;
  }

  .body-grassroots .grassroots-browser-visual {
    min-height: auto;
  }

  .body-grassroots .grassroots-browser-visual-card {
    padding: 0.25rem 0 0;
  }

  .body-grassroots .grassroots-browser-filter-grid,
  .body-grassroots .grassroots-browser-card-grid {
    grid-template-columns: 1fr;
  }

  .body-grassroots .grassroots-browser-dot-a {
    top: 3.5rem;
    left: 0.25rem;
  }

  .body-grassroots .grassroots-browser-dot-b {
    top: 1.1rem;
    right: 1.25rem;
  }

  .body-grassroots .grassroots-browser-dot-c {
    right: 2.25rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero {
    padding-top: 100px !important;
  }

  .body-consultations .consultation-browser-copy,
  .body-grassroots .grassroots-browser-copy {
    align-self: start;
    align-content: start;
    padding-top: 0;
  }

  .body-consultations .consultation-browser-visual,
  .body-grassroots .grassroots-browser-visual {
    align-self: start;
  }
}

@media (prefers-color-scheme: light) {
:is(.body-map) {
  background: #f3f2ec;
}
}

@media (min-width: 768px) {
  .fig-home-title,
  .champions-hero-title,
  .body-about .about-title,
  .consultation-browser-title,
  .grassroots-browser-title,
  .map-hero-title,
  .events-browser-title {
    font-size: clamp(3.25rem, 5.6vw, 4.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.05em !important;
  }

  .fig-home-summary,
  .champions-hero-summary,
  .body-about .about-summary,
  .consultation-browser-text,
  .grassroots-browser-text,
  .map-hero-text,
  .events-browser-text {
    font-size: clamp(1.05rem, 1.3vw, 1.3rem) !important;
    line-height: 1.75 !important;
  }

  .fig-home-btn,
  .public-list-btn,
  .body-about .about-hero .about-btn,
  .map-hero-btn,
  .events-browser-primary,
  .events-browser-secondary {
    min-height: 3.55rem !important;
    min-width: 12.1rem !important;
    padding: 1.05rem 2rem !important;
    border-radius: 0.75rem !important;
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
    font-weight: 700 !important;
  }

  .map-hero-actions,
  .consultation-browser-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .body-map .map-hero-btn-primary {
    background: #3eb8a4 !important;
    border: 2px solid #3eb8a4 !important;
    color: #ffffff !important;
  }

  .body-map .map-hero-btn-secondary {
    background: #ffffff !important;
    border: 3px solid #3eb8a4 !important;
    color: #1f695e !important;
  }

  .consultation-browser-visual-card,
  .body-grassroots .grassroots-browser-visual-card {
    display: grid !important;
    gap: 1.25rem !important;
    align-content: start !important;
  }

  .consultation-browser-stats-side,
  .grassroots-browser-stats-side {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem !important;
    width: 100% !important;
  }

  .consultation-browser-stat-card,
  .grassroots-browser-stat-card {
    min-width: 0 !important;
    width: 100% !important;
  }

  .fig-home-visual-card,
  .champions-hero-panel,
  .consultation-browser-visual-media,
  .body-grassroots .grassroots-browser-visual-card,
  .body-about .about-hero-logo-scene,
  .events-browser-calendar {
    min-height: 0 !important;
    max-height: 487px !important;
  }

  .fig-home-visual-card,
  .champions-hero-panel {
    height: auto !important;
  }

  .fig-home-visual-image,
  .champions-hero-visual-image,
  .consultation-browser-heading-art,
  .body-grassroots .grassroots-browser-hero-image,
  .map-hero-image {
    max-height: 487px !important;
    width: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 767px) {
  .consultation-browser-stats-side,
  .grassroots-browser-stats-side {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .fig-home-visual-card,
  .consultation-browser-visual-media,
  .body-grassroots .grassroots-browser-visual-card,
  .champions-hero-panel,
  .body-about .about-hero-logo-scene,
  .events-browser-calendar,
  .map-hero-visual {
    padding-inline: 1.25rem !important;
    justify-items: center !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .fig-home-visual-image,
  .consultation-browser-heading-art,
  .body-grassroots .grassroots-browser-hero-image,
  .champions-hero-visual-image,
  .map-hero-image {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 487px !important;
    margin-inline: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

@media (min-width: 768px) {
  .fig-home-hero > .fig-home-shell,
  .public-list-hero > .public-list-shell,
  .map-hero-section > .home-container,
  .body-about .about-hero > .about-shell-wide,
  .body-events .events-browser-hero > .events-browser-shell {
    width: min(100% - 1.5rem, 1600px) !important;
    max-width: none !important;
    padding-inline: 0 !important;
  }

  .fig-home-hero,
  .public-list-hero,
  .map-hero-section,
  .body-about .about-hero,
  .body-events .events-browser-hero,
  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .body-champions .fig-home-hero,
  .body-consultations .public-list-hero,
  .body-grassroots .public-list-hero,
  .body-map .map-hero-section,
  .body-about .about-hero,
  .body-events .events-browser-hero {
    max-height: 600px !important;
  }

  .body-champions .fig-home-hero {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .fig-home-hero-grid,
  .champions-hero-grid,
  .about-hero-grid,
  .consultation-browser-hero-shell,
  .grassroots-browser-hero-shell,
  .map-hero-layout,
  .events-browser-hero-grid {
    min-height: 0 !important;
    align-items: start !important;
    gap: 2.5rem !important;
  }

  .fig-home-copy,
  .champions-hero-copy,
  .body-about .about-hero-copy,
  .consultation-browser-copy,
  .grassroots-browser-copy,
  .map-hero-copy,
  .events-browser-copy,
  .fig-home-visual,
  .champions-hero-visual,
  .body-about .about-hero-visual,
  .consultation-browser-visual,
  .grassroots-browser-visual,
  .map-hero-visual,
  .events-browser-visual {
    align-self: start !important;
    min-height: 0 !important;
  }

  .fig-home-title,
  .champions-hero-title,
  .body-about .about-title,
  .consultation-browser-title,
  .grassroots-browser-title,
  .map-hero-title,
  .events-browser-title {
    max-width: 12.2ch !important;
    font-size: clamp(3.25rem, 5.6vw, 4.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.05em !important;
  }

  .fig-home-summary,
  .champions-hero-summary,
  .body-about .about-summary,
  .consultation-browser-text,
  .grassroots-browser-text,
  .map-hero-text,
  .events-browser-text {
    max-width: 40rem !important;
    font-size: clamp(1.05rem, 1.3vw, 1.3rem) !important;
    line-height: 1.75 !important;
  }

  .fig-home-btn,
  .public-list-btn,
  .body-about .about-hero .about-btn,
  .events-browser-primary,
  .events-browser-secondary {
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 1.25rem !important;
    border-radius: 0.75rem !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 21px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1) !important;
  }

  .fig-home-btn-primary,
  .fig-home-btn-secondary,
  .public-list-btn-primary,
  .public-list-btn-secondary,
  .body-about .about-hero .about-btn,
  .events-browser-primary,
  .events-browser-secondary {
    position: relative !important;
  }

  .body-homepage .fig-home-btn-primary {
    background: #2f7c39 !important;
    color: #ffffff !important;
  }

  .body-homepage .fig-home-btn-secondary {
    background: #ffffff !important;
    border: 3px solid #2d79b7 !important;
    color: #2d79b7 !important;
  }

  .body-consultations .public-list-btn-primary {
    background: #2f7c39 !important;
    border: 2px solid #2f7c39 !important;
    color: #ffffff !important;
  }

  .body-consultations .public-list-btn-secondary {
    background: #ffffff !important;
    border: 3px solid #4e9e4c !important;
    color: #2f7c39 !important;
  }

  .body-grassroots .public-list-btn-primary {
    background: #f7b500 !important;
    border: 2px solid #f7b500 !important;
    color: #0f172b !important;
  }

  .body-grassroots .public-list-btn-secondary {
    background: #ffffff !important;
    border: 3px solid #f7b500 !important;
    color: #b47f00 !important;
  }

  .body-champions .fig-home-btn-primary {
    background: #2d79b7 !important;
    border: 2px solid #2d79b7 !important;
    color: #ffffff !important;
  }

  .body-champions .fig-home-btn-secondary {
    background: #ffffff !important;
    border: 3px solid #2d79b7 !important;
    color: #2d79b7 !important;
  }

  .body-about .about-hero .about-btn-primary,
  .body-about .about-hero .about-btn-secondary {
    background: #2d79b7 !important;
    border: 2px solid #2d79b7 !important;
    color: #ffffff !important;
  }

  .body-about .about-hero .about-btn-ghost {
    background: #ffffff !important;
    border: 3px solid #2d79b7 !important;
    color: #2d79b7 !important;
  }

  .body-events .events-browser-primary {
    background: #e67821 !important;
    border: 2px solid #e67821 !important;
    color: #ffffff !important;
  }

  .body-events .events-browser-secondary {
    background: #ffffff !important;
    border: 3px solid #e67821 !important;
    color: #c56518 !important;
  }

  .fig-home-visual-card,
  .champions-hero-panel,
  .consultation-browser-visual-media,
  .body-grassroots .grassroots-browser-visual-card,
  .body-about .about-hero-logo-scene,
  .events-browser-calendar {
    height: auto !important;
    min-height: 0 !important;
    max-height: 487px !important;
  }

  .fig-home-visual-image,
  .champions-hero-visual-image,
  .consultation-browser-heading-art,
  .body-grassroots .grassroots-browser-hero-image,
  .map-hero-image {
    max-height: 487px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .map-hero-image {
    height: auto !important;
  }

  .events-browser-calendar,
  .body-about .about-hero-logo-scene {
    height: min(487px, 100%) !important;
  }

  .body-homepage .fig-home-hero-grid {
    align-items: center !important;
  }

  .body-homepage .fig-home-visual {
    align-self: center !important;
    align-items: center !important;
    align-content: center !important;
  }

  .body-homepage .fig-home-visual-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important;
  }

  .body-homepage .fig-home-community-footer {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* TRUE ACTUAL EOF consultation hero alignment fix - keep this block last */
@media (min-width: 1280px) {
  .body-consultations .consultation-browser-hero {
    display: block !important;
    box-sizing: border-box !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .body-consultations .consultation-browser-hero > .public-list-shell {
    width: 1600px !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .body-consultations .consultation-browser-hero-shell {
    width: 1600px !important;
    max-width: 1600px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    grid-template-columns: 560px 568px !important;
    justify-content: space-between !important;
    align-items: start !important;
    align-content: start !important;
    column-gap: 48px !important;
    row-gap: 0 !important;
  }

  .body-consultations .consultation-browser-copy {
    box-sizing: border-box !important;
    width: 560px !important;
    min-width: 560px !important;
    max-width: 560px !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    grid-template-rows: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .body-consultations .public-list-kicker {
    align-self: flex-start !important;
    margin: 0 0 38px !important;
  }

  .body-consultations .consultation-browser-title {
    box-sizing: border-box !important;
    width: 560px !important;
    max-width: 560px !important;
    min-height: 171px !important;
    margin: 0 0 23px !important;
    font-size: 4.25rem !important;
    line-height: 0.96 !important;
    letter-spacing: -0.055em !important;
  }

  .body-consultations .consultation-browser-text {
    box-sizing: border-box !important;
    width: 560px !important;
    max-width: 560px !important;
    min-height: 88px !important;
    margin: 0 0 76px !important;
    align-self: flex-start !important;
    justify-self: auto !important;
    text-align: left !important;
  }

  .body-consultations .consultation-browser-hero-actions {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 544px !important;
    max-width: 544px !important;
    min-height: 48px !important;
    margin: 0 !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .body-consultations .consultation-browser-visual {
    box-sizing: border-box !important;
    width: 568px !important;
    min-width: 568px !important;
    max-width: 568px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    display: grid !important;
    justify-self: end !important;
    justify-items: end !important;
    align-items: start !important;
    align-content: start !important;
    padding: 0 0 0 57px !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-visual-card {
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .body-consultations .consultation-browser-visual-media {
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    height: 402px !important;
    min-height: 402px !important;
    max-height: 402px !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-heading-art {
    width: 511px !important;
    max-width: 511px !important;
    height: auto !important;
    max-height: 402px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-stats-side {
    width: 511px !important;
    margin-top: 0 !important;
    padding-top: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (min-width: 1280px) {
  .page-hero-body {
    display: grid !important;
    gap: 16px !important;
    align-self: start !important;
    margin-top: 38px !important;
    margin-bottom: 38px !important;
  }

  .page-hero-copy,
  .body-homepage .fig-home-copy,
  .body-about .about-hero-copy,
  .body-consultations .consultation-browser-copy,
  .body-grassroots .grassroots-browser-copy,
  .body-champions .champions-hero-copy,
  .body-map .map-hero-copy,
  .body-events .events-browser-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  .page-hero-title,
  .body-homepage .fig-home-title,
  .body-about .about-title,
  .body-consultations .consultation-browser-title,
  .body-grassroots .grassroots-browser-title,
  .body-champions .champions-hero-title,
  .body-map .map-hero-title,
  .body-events .events-browser-title {
    margin: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .page-hero-summary,
  .body-homepage .fig-home-summary,
  .body-about .about-summary,
  .body-consultations .consultation-browser-text,
  .body-grassroots .grassroots-browser-text,
  .body-champions .champions-hero-summary,
  .body-map .map-hero-text,
  .body-events .events-browser-text {
    margin: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .page-hero-actions,
  .body-homepage .fig-home-actions,
  .body-about .about-hero-actions,
  .body-consultations .consultation-browser-hero-actions,
  .body-grassroots .grassroots-browser-cta-row,
  .body-champions .champions-hero-actions,
  .body-map .map-hero-actions,
  .body-events .events-browser-actions {
    margin-top: 0 !important;
    align-self: start !important;
  }
}

/* Final hero badge vertical alignment */
.page-hero-badge,
.subpage-kicker,
.body-account .public-list-kicker,
.body-error-page .public-list-kicker {
  transform: translateY(-25px) !important;
}

@media (min-width: 1280px) {
  .page-hero-body {
    display: grid !important;
    gap: 16px !important;
    align-self: start !important;
    margin-top: 38px !important;
    margin-bottom: 38px !important;
  }

  .page-hero-copy,
  .body-homepage .fig-home-copy,
  .body-about .about-hero-copy,
  .body-consultations .consultation-browser-copy,
  .body-grassroots .grassroots-browser-copy,
  .body-champions .champions-hero-copy,
  .body-map .map-hero-copy,
  .body-events .events-browser-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  .page-hero-badge,
  .body-homepage .fig-home-platform-pill,
  .body-about .about-pill,
  .body-consultations .public-list-kicker,
  .body-grassroots .public-list-kicker,
  .body-champions .fig-home-platform-pill,
  .body-map .map-kicker,
  .body-events .events-browser-kicker {
    margin: 0 !important;
  }

  .page-hero-title,
  .body-homepage .fig-home-title,
  .body-about .about-title,
  .body-consultations .consultation-browser-title,
  .body-grassroots .grassroots-browser-title,
  .body-champions .champions-hero-title,
  .body-map .map-hero-title,
  .body-events .events-browser-title {
    margin: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .page-hero-summary,
  .body-homepage .fig-home-summary,
  .body-about .about-summary,
  .body-consultations .consultation-browser-text,
  .body-grassroots .grassroots-browser-text,
  .body-champions .champions-hero-summary,
  .body-map .map-hero-text,
  .body-events .events-browser-text {
    margin: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .page-hero-actions,
  .body-homepage .fig-home-actions,
  .body-about .about-hero-actions,
  .body-consultations .consultation-browser-hero-actions,
  .body-grassroots .grassroots-browser-cta-row,
  .body-champions .champions-hero-actions,
  .body-map .map-hero-actions,
  .body-events .events-browser-actions {
    margin-top: 0 !important;
    align-self: start !important;
  }
}

/* Subpage convergence contract */
.body-about,
.body-map,
.body-consultations,
.body-grassroots,
.body-champions,
.body-events {
  --subpage-page-bg: #f5f5f0;
  --subpage-hero-bg:
    radial-gradient(circle at 22% 14%, rgba(62, 184, 164, 0.04), transparent 7.5%),
    radial-gradient(circle at 45% 67%, rgba(247, 181, 0, 0.05), transparent 3.2%),
    radial-gradient(circle at 88% 18%, rgba(62, 184, 164, 0.04), transparent 3.8%),
    radial-gradient(circle at 13% 58%, rgba(78, 158, 76, 0.08), transparent 2.2%),
    radial-gradient(circle at 72% 78%, rgba(62, 184, 164, 0.08), transparent 2.1%),
    radial-gradient(circle at 2.8% 27%, rgba(247, 181, 0, 0.42) 0 0.34%, rgba(247, 181, 0, 0.16) 0.72%, rgba(247, 181, 0, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 57% 38%, rgba(62, 184, 164, 0.42) 0 0.34%, rgba(62, 184, 164, 0.16) 0.72%, rgba(62, 184, 164, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 41% 79%, rgba(78, 158, 76, 0.42) 0 0.34%, rgba(78, 158, 76, 0.16) 0.72%, rgba(78, 158, 76, 0.06) 1.18%, transparent 1.95%),
    radial-gradient(circle at 76% 21%, rgba(62, 184, 164, 0.4) 0 0.28%, rgba(62, 184, 164, 0.16) 0.62%, rgba(62, 184, 164, 0.06) 1.06%, transparent 1.8%),
    radial-gradient(circle at 69% 88%, rgba(247, 181, 0, 0.38) 0 0.26%, rgba(247, 181, 0, 0.16) 0.6%, rgba(247, 181, 0, 0.05) 1.02%, transparent 1.72%),
    linear-gradient(180deg, #ffffff, #f7f8f6);
  --subpage-surface-bg: rgba(255, 255, 255, 0.86);
  --subpage-surface-border: rgba(15, 23, 42, 0.09);
  --subpage-surface-shadow: 0 18px 44px -30px rgba(15, 23, 42, 0.18);
  --subpage-title-color: #16213b;
  --subpage-text-color: #4d5b6e;
  --subpage-chip-bg: rgba(255, 255, 255, 0.78);
}

.body-about {
  --subpage-accent: #2d79b7;
  --subpage-accent-rgb: 45, 121, 183;
  --subpage-accent-contrast: #ffffff;
}

.body-map {
  --subpage-accent: #3eb8a4;
  --subpage-accent-rgb: 62, 184, 164;
  --subpage-accent-contrast: #ffffff;
}

.body-consultations {
  --subpage-accent: #4e9e4c;
  --subpage-accent-rgb: 78, 158, 76;
  --subpage-accent-contrast: #ffffff;
}

.body-grassroots {
  --subpage-accent: #f7b500;
  --subpage-accent-rgb: 247, 181, 0;
  --subpage-accent-contrast: #0f172b;
}

.body-champions {
  --subpage-accent: #2d79b7;
  --subpage-accent-rgb: 45, 121, 183;
  --subpage-accent-contrast: #ffffff;
}

.body-events {
  --subpage-accent: #e67821;
  --subpage-accent-rgb: 230, 120, 33;
  --subpage-accent-contrast: #ffffff;
}

.body-search-results,
.body-cum-functioneaza,
.body-vision-page,
.body-theme-landing,
.body-zone-landing,
.body-account,
.body-error-page,
.body-notification-status,
.body-consultation-detail,
.body-grassroots-detail,
.body-champion-detail,
.body-event-detail {
  background: var(--subpage-page-bg);
}

.subpage-shell {
  width: min(100% - 1.5rem, 1400px);
  margin-inline: auto;
}

.subpage-hero-shell {
  width: min(100% - 1.5rem, 1600px);
  margin-inline: auto;
}

.subpage-content-shell {
  padding-bottom: 4rem;
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  background: var(--subpage-hero-bg);
  border-bottom: 1px solid rgba(176, 172, 165, 0.16);
}

.subpage-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.subpage-hero-rich .subpage-hero-grid {
  grid-template-columns: minmax(0, 35rem) minmax(18rem, 31rem);
  justify-content: space-between;
}

.subpage-hero-compact .subpage-hero-grid {
  grid-template-columns: minmax(0, 52rem);
}

.subpage-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  min-width: 0;
}

.subpage-kicker,
.body-account .public-list-kicker,
.body-error-page .public-list-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(var(--subpage-accent-rgb), 0.52);
  background: rgba(255, 255, 255, 0.78);
  color: var(--subpage-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-title,
.body-account .proposal-entry-title,
.body-error-page .error-title {
  margin: 0;
  color: var(--subpage-title-color);
  font-family: "Sora", "Inter", system-ui, sans-serif;
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.05em;
}

.subpage-summary,
.body-account .proposal-entry-text,
.body-error-page .error-text {
  margin: 0;
  max-width: 29rem;
  color: var(--subpage-text-color);
  font-size: var(--page-hero-text-size);
  line-height: var(--page-hero-text-line-height);
}

.subpage-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.subpage-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--subpage-chip-bg);
  border: 1px solid rgba(var(--subpage-accent-rgb), 0.18);
  color: #304152;
  font-size: 0.94rem;
  font-weight: 600;
}

.subpage-actions,
.surface-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.subpage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 1rem;
  border: 1.5px solid var(--subpage-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.subpage-btn:hover {
  transform: translateY(-1px);
}

.subpage-btn-primary {
  background: var(--subpage-accent);
  color: var(--subpage-accent-contrast);
  box-shadow: 0 16px 28px -24px rgba(var(--subpage-accent-rgb), 0.9);
}

.subpage-btn-secondary {
  background: #ffffff;
  color: var(--subpage-accent);
}

.subpage-hero-panel,
.body-account .auth-card,
.body-error-page .error-shell,
.body-notification-status .confirmation-inner,
.body-cum-functioneaza .how-it-works-card,
.body-vision-page .vision-entry-card,
.body-vision-page .vision-chapter,
.body-theme-landing :is(.surface-panel, .public-card, .surface-section),
.body-zone-landing :is(.surface-panel, .public-card, .surface-section),
.body-consultation-detail :is(.surface-panel, .surface-metric-card, .surface-map-card, .surface-hero-card),
.body-grassroots-detail :is(.surface-panel, .surface-metric-card, .surface-map-card, .surface-hero-card),
.body-champion-detail :is(.surface-panel, .surface-metric-card, .surface-profile-card),
.body-event-detail :is(.surface-panel, .surface-metric-card, .surface-media-card) {
  background: var(--subpage-surface-bg);
  border: 1px solid var(--subpage-surface-border);
  box-shadow: var(--subpage-surface-shadow);
}

.subpage-hero-panel {
  border-radius: 1.75rem;
  padding: 1.5rem;
}

.subpage-panel-kicker,
.body-vision-page .status-box-title {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--subpage-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-hero-panel strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--subpage-title-color);
  font-size: 1.12rem;
}

.subpage-hero-panel p {
  margin: 0;
  color: var(--subpage-text-color);
  line-height: 1.7;
}

.body-search-results .subpage-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  width: min(100%, 42rem);
}

.body-search-results .subpage-search-form .search-input {
  min-height: 48px;
  border-radius: 1rem;
  border: 1px solid rgba(var(--subpage-accent-rgb), 0.2);
  background: rgba(255, 255, 255, 0.84);
  color: #243449;
  padding: 0 1rem;
}

.body-search-results .subpage-search-form .search-input::placeholder {
  color: rgba(77, 91, 110, 0.8);
}

.body-cum-functioneaza .how-it-works-page {
  display: grid;
  gap: 1.75rem;
  padding-top: 2rem;
}

.body-cum-functioneaza .how-it-works-section {
  display: grid;
  gap: 1rem;
}

.body-cum-functioneaza .how-it-works-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.body-cum-functioneaza .how-it-works-card {
  border-radius: 1.5rem;
  padding: 1.65rem;
}

.body-cum-functioneaza .how-it-works-copy {
  margin: 0;
  line-height: 1.75;
}

.how-it-works-counter-blue { background: var(--color-blue-100); color: var(--color-blue-700); }
.how-it-works-counter-green { background: var(--color-green-100); color: var(--color-green-700); }
.how-it-works-counter-amber { background: var(--color-amber-100); color: var(--color-amber-700); }
.how-it-works-counter-cyan { background: var(--color-cyan-100); color: var(--color-cyan-800); }
.how-it-works-counter-purple { background: var(--color-purple-100); color: var(--color-purple-800); }

.body-vision-page .vision-page {
  display: grid;
  gap: 1.75rem;
  padding-top: 2rem;
}

.body-vision-page .vision-hero-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.body-vision-page .vision-version {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(var(--subpage-accent-rgb), 0.1);
  color: var(--subpage-accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.body-vision-page .vision-chapter {
  border-radius: 1.6rem;
  padding: 1.65rem;
}

.body-vision-page .vision-chapter-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.body-vision-page .vision-chapter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--subpage-accent);
  font-size: 1.35rem;
}

.body-vision-page .vision-chapter-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.body-vision-page .vision-chapter-summary {
  margin: 0 0 1rem;
  color: var(--subpage-text-color);
  line-height: 1.7;
}

.body-vision-page .vision-entry-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.body-vision-page .vision-entry-card {
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.body-vision-page .vision-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.body-vision-page .vision-entry-title {
  margin: 0;
  color: var(--subpage-title-color);
  font-size: var(--font-size-lg);
}

.body-vision-page .vision-entry-text {
  margin: 0;
  line-height: 1.65;
}

.body-vision-page .vision-entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.95rem;
}

.body-vision-page .vision-entry-links svg {
  width: 1rem;
  height: 1rem;
}

.body-account .auth-shell {
  width: min(100% - 1.5rem, 1400px);
  margin: 0 auto;
  padding: 2.25rem 0 4rem;
  display: grid;
  gap: 1.75rem;
}

.body-account .auth-shell-copy {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.body-account .auth-card,
.body-notification-status .confirmation-inner {
  border-radius: 1.75rem;
}

.body-account .auth-card {
  padding: 1.75rem;
}

.body-account .auth-card-links {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  text-align: center;
}

.body-account .auth-card-links p {
  margin: 0;
}

.body-account :is(.btn.btn-primary, .btn.btn-primary.w-full),
.body-error-page .btn.btn-primary,
.body-notification-status .btn.btn-primary {
  min-height: 48px;
  border-radius: 1rem;
  border: 1.5px solid var(--subpage-accent);
  background: var(--subpage-accent);
  color: var(--subpage-accent-contrast);
  font-size: 14px;
  font-weight: 700;
}

.body-error-page .error-shell,
.body-notification-status .confirmation-card {
  width: min(100% - 1.5rem, 960px);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.body-error-page .error-shell {
  border-radius: 2rem;
  text-align: left;
}

.body-notification-status .confirmation-inner {
  width: min(100%, 36rem);
  margin-inline: auto;
  padding: 2rem;
}

.body-theme-landing .surface-section,
.body-zone-landing .surface-section {
  border-radius: 1.6rem;
  padding: 1.6rem;
}

.body-theme-landing .surface-kicker,
.body-zone-landing .surface-kicker,
.body-consultation-detail .surface-kicker,
.body-grassroots-detail .surface-kicker,
.body-champion-detail .surface-kicker,
.body-event-detail .surface-kicker {
  color: var(--subpage-accent);
}

.body-consultation-detail .surface-hero,
.body-grassroots-detail .surface-hero,
.body-champion-detail .surface-hero,
.body-event-detail .surface-hero {
  padding-top: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
  background: var(--subpage-hero-bg);
  border-bottom: 1px solid rgba(176, 172, 165, 0.16);
}

.body-consultation-detail .surface-hero-actions,
.body-grassroots-detail .surface-hero-actions,
.body-champion-detail .surface-hero-actions,
.body-event-detail .surface-hero-actions {
  margin-top: 1.5rem;
}

.body-consultation-detail .surface-hero-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.4vw, 1.15rem);
}

.body-consultation-detail .surface-badge-row {
  margin-bottom: 0.15rem;
}

.body-consultation-detail .surface-title {
  margin-top: 0.15rem;
}

.body-consultation-detail .surface-text-lg {
  margin: 0;
}

.body-consultation-detail .surface-metric-grid {
  margin-top: 0.35rem;
}

.body-consultation-detail .surface-hero-actions {
  margin-top: 0.45rem;
}

.body-consultation-detail .surface-reference-panel {
  padding: 1rem 1.15rem;
}

.body-consultation-detail .surface-reference-code {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.body-consultation-detail :is(.surface-chip, .tag-theme, .tag-zone-link),
.body-grassroots-detail :is(.surface-chip, .tag-theme, .tag-zone-link),
.body-champion-detail :is(.surface-chip, .tag-theme, .tag-zone-link),
.body-event-detail :is(.surface-chip, .tag-theme, .tag-zone-link) {
  border-color: rgba(var(--subpage-accent-rgb), 0.18);
}

@media (min-width: 980px) {
  .body-account .auth-shell {
    grid-template-columns: minmax(0, 35rem) minmax(20rem, 33rem);
    align-items: start;
    justify-content: space-between;
  }
}

@media (max-width: 980px) {
  .subpage-hero-grid,
  .subpage-hero-rich .subpage-hero-grid,
  .subpage-hero-compact .subpage-hero-grid,
  .body-account .auth-shell {
    grid-template-columns: 1fr;
  }

  .body-search-results .subpage-search-form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
:is(
  .body-search-results,
  .body-cum-functioneaza,
  .body-vision-page,
  .body-theme-landing,
  .body-zone-landing,
  .body-account,
  .body-error-page,
  .body-notification-status,
  .body-consultation-detail,
  .body-grassroots-detail,
  .body-champion-detail,
  .body-event-detail
) {
  background: #0b141c;
}

:is(
  .subpage-hero,
  .body-consultation-detail .surface-hero,
  .body-grassroots-detail .surface-hero,
  .body-champion-detail .surface-hero,
  .body-event-detail .surface-hero
) {
  background:
    radial-gradient(circle at top left, rgba(62, 184, 164, 0.15), transparent 28%),
    radial-gradient(circle at bottom right, rgba(247, 181, 0, 0.12), transparent 22%),
    linear-gradient(180deg, #0d1822, #0a1219);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

:is(
  .subpage-hero-panel,
  .body-account .auth-card,
  .body-error-page .error-shell,
  .body-notification-status .confirmation-inner,
  .body-cum-functioneaza .how-it-works-card,
  .body-vision-page .vision-entry-card,
  .body-vision-page .vision-chapter,
  .body-theme-landing :is(.surface-panel, .public-card, .surface-section),
  .body-zone-landing :is(.surface-panel, .public-card, .surface-section),
  .body-consultation-detail :is(.surface-panel, .surface-metric-card, .surface-map-card, .surface-hero-card),
  .body-grassroots-detail :is(.surface-panel, .surface-metric-card, .surface-map-card, .surface-hero-card),
  .body-champion-detail :is(.surface-panel, .surface-metric-card, .surface-profile-card),
  .body-event-detail :is(.surface-panel, .surface-metric-card, .surface-media-card)
) {
  background: rgba(12, 22, 32, 0.88);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: none;
}

:is(
  .subpage-title,
  .subpage-hero-panel strong,
  .body-account .proposal-entry-title,
  .body-error-page .error-title,
  .body-vision-page .vision-entry-title
) {
  color: #f5f7fb;
}

:is(
  .subpage-summary,
  .subpage-hero-panel p,
  .body-account .proposal-entry-text,
  .body-error-page .error-text,
  .body-vision-page .vision-chapter-summary,
  .body-cum-functioneaza .how-it-works-copy
) {
  color: rgba(226, 232, 240, 0.8);
}

.subpage-btn-secondary {
  background: rgba(15, 23, 42, 0.85);
}
}

/* Events browser page styles moved from the template so the hero contract can live in one CSS source. */
.events-browser-hero {
  padding: 0.35rem 0 1.7rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(109, 189, 227, 0.14), transparent 16%),
    radial-gradient(circle at 80% 26%, rgba(244, 154, 83, 0.14), transparent 18%),
    linear-gradient(180deg, #fbfcfb 0%, #f5f8f9 100%);
}

.events-browser-shell {
  width: var(--page-hero-shell-width);
  margin: 0 auto;
}

.events-browser-hero > .events-browser-shell {
  max-width: none;
}

.events-browser-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1.22fr);
  gap: 1.4rem;
  align-items: center;
}

.events-browser-copy {
  max-width: 25rem;
  display: grid;
  gap: 0.9rem;
}

.events-browser-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.38rem 0.7rem;
  border-radius: 0.45rem;
  background: rgba(109, 189, 227, 0.14);
  color: #4b84a9;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.events-browser-title {
  margin: 0;
  max-width: 8.4ch;
  font-family: var(--font-family-display);
  font-size: var(--page-hero-title-size);
  line-height: var(--page-hero-title-line-height);
  letter-spacing: -0.05em;
  color: #172033;
}

.events-browser-title span {
  color: #4b84a9;
}

.events-browser-text {
  margin: 0;
  max-width: 22rem;
  color: #5f6d7f;
  font-size: var(--page-hero-text-size);
  line-height: var(--page-hero-text-line-height);
}

.events-browser-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
  align-items: center;
}

.events-browser-primary,
.events-browser-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 2.85rem;
  padding: 0.8rem 1.35rem;
  border-radius: 0.58rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.events-browser-primary {
  overflow: hidden;
  background: #2a7fbb;
  box-shadow: 0 14px 26px rgba(42, 127, 187, 0.22);
  color: #fff;
}

.events-browser-primary::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 0.95rem solid #f7b500;
  border-left: 0.95rem solid transparent;
  pointer-events: none;
}

.events-browser-secondary {
  border: 1px solid rgba(131, 146, 163, 0.2);
  background: #fff;
  color: #253245;
}

.events-browser-secondary::before {
  content: "";
  position: absolute;
  inset: 0.26rem;
  border: 2px dashed rgba(247, 181, 0, 0.78);
  border-radius: 0.5rem;
  opacity: 0.62;
  pointer-events: none;
}

.events-browser-visual {
  position: relative;
  min-width: 0;
}

.events-browser-visual-card {
  display: block;
  width: 100%;
  padding: 0.2rem 0;
}

.events-browser-dot {
  position: absolute;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  pointer-events: none;
}

.events-browser-dot-a {
  top: 3.6rem;
  left: -1.15rem;
  background: #f4b548;
  box-shadow: 0 0 0 0.34rem rgba(244, 181, 72, 0.14);
}

.events-browser-dot-b {
  top: -0.4rem;
  right: 1.4rem;
  background: #73c4d0;
  box-shadow: 0 0 0 0.34rem rgba(115, 196, 208, 0.14);
}

.events-browser-dot-c {
  right: 3.1rem;
  bottom: 0.7rem;
  background: #8dc67a;
  box-shadow: 0 0 0 0.34rem rgba(141, 198, 122, 0.14);
}

.events-browser-calendar {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  padding: 0.9rem;
  border: 1.6px solid #233246;
  border-radius: 1rem;
  background:
    radial-gradient(circle at top right, rgba(244, 181, 72, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(115, 196, 208, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 252, 0.98) 100%);
  box-shadow: -0.35rem 0.35rem 0 rgba(196, 223, 235, 0.92);
}

.events-browser-calendar-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.events-browser-calendar-heading {
  display: grid;
  gap: 0;
  min-width: 0;
}

.events-browser-calendar-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.events-browser-calendar-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(42, 127, 187, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #2a7fbb;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.events-browser-calendar-nav-link:hover,
.events-browser-calendar-nav-link:focus-visible {
  background: rgba(42, 127, 187, 0.08);
  border-color: rgba(42, 127, 187, 0.28);
  transform: translateY(-1px);
}

.events-browser-calendar-nav-link svg {
  width: 0.85rem;
  height: 0.85rem;
}

.events-browser-calendar-head p,
.events-browser-calendar-head h2 {
  margin: 0;
}

.events-browser-calendar-head h2 {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.1;
  color: #1b2540;
}

.events-browser-calendar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(42, 127, 187, 0.12);
  color: #2a7fbb;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

.events-browser-calendar-weekdays,
.events-browser-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(3.7rem, 1fr));
  width: 100%;
}

.events-browser-calendar-weekdays {
  gap: 0.26rem;
}

.events-browser-calendar-weekdays span {
  text-align: center;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #667688;
}

.events-browser-calendar-grid {
  gap: 0.24rem;
  align-items: stretch;
}

.events-browser-calendar-day {
  min-height: 3.25rem;
  padding: 0.24rem;
  border: 1px solid rgba(121, 151, 173, 0.18);
  border-radius: 0.72rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.92));
  display: grid;
  align-content: start;
  gap: 0.18rem;
  min-width: 0;
}

.events-browser-calendar-day-muted {
  opacity: 0.52;
  background: linear-gradient(180deg, rgba(248, 249, 251, 0.82), rgba(242, 246, 249, 0.76));
}

.events-browser-calendar-day-today {
  border-color: rgba(42, 127, 187, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 253, 0.98));
  box-shadow: inset 0 0 0 1px rgba(42, 127, 187, 0.12);
}

.events-browser-calendar-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  color: #253245;
}

.events-browser-calendar-day-today .events-browser-calendar-day-number {
  background: linear-gradient(180deg, #2a7fbb 0%, #1b5f91 100%);
  color: #fff;
}

.events-browser-calendar-events {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: center;
}

.events-browser-calendar-event {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.6rem;
  height: 0.6rem;
  text-decoration: none;
}

.events-browser-calendar-event-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f4b548 0%, #e28a2e 100%);
  box-shadow: 0 0 0 0 rgba(226, 138, 46, 0.16);
  transition: transform 160ms ease, box-shadow 180ms ease, background 180ms ease;
}

.events-browser-calendar-event:hover .events-browser-calendar-event-dot,
.events-browser-calendar-event:focus-visible .events-browser-calendar-event-dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 0.28rem rgba(42, 127, 187, 0.14);
  background: linear-gradient(180deg, #2a7fbb 0%, #1b5f91 100%);
}

.events-browser-calendar-event-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.42rem);
  z-index: 2;
  min-width: 10.5rem;
  max-width: 12rem;
  padding: 0.48rem 0.56rem;
  border: 1px solid rgba(35, 50, 70, 0.12);
  border-radius: 0.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 252, 0.97));
  box-shadow: 0 12px 30px rgba(24, 33, 48, 0.16);
  color: #1d2638;
  transform: translate(-50%, 0.3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms ease;
}

.events-browser-calendar-event:hover .events-browser-calendar-event-card,
.events-browser-calendar-event:focus-visible .events-browser-calendar-event-card {
  opacity: 1;
  transform: translate(-50%, 0);
}

.events-browser-calendar-event-card strong,
.events-browser-calendar-event-card span {
  display: block;
}

.events-browser-calendar-event-card strong {
  font-size: 0.63rem;
  line-height: 1.3;
  font-weight: 700;
}

.events-browser-calendar-event-card span {
  margin-top: 0.16rem;
  font-size: 0.56rem;
  color: #2a7fbb;
}

.events-browser-calendar-empty-note {
  margin: 0;
  padding: 0.45rem 0.6rem;
  border-radius: 0.72rem;
  background: linear-gradient(180deg, rgba(255, 249, 238, 0.92), rgba(246, 250, 252, 0.96));
  color: #607080;
  font-size: 0.6rem;
  line-height: 1.55;
}

.events-browser-calendar-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  color: #5f6d7f;
  font-size: 0.54rem;
}

.events-browser-calendar-footer strong {
  color: #253245;
}

@media (min-width: 1280px) {
  .events-browser-hero-grid {
    grid-template-columns: minmax(18rem, 23rem) minmax(40rem, 46rem);
    gap: 1.25rem;
    justify-content: space-between;
  }

  .events-browser-calendar {
    width: 100%;
    max-width: none;
    padding: 0.72rem 0.9rem;
  }

  .events-browser-calendar-grid {
    gap: 0.22rem;
  }

  .events-browser-calendar-weekdays,
  .events-browser-calendar-grid {
    grid-template-columns: repeat(7, minmax(5rem, 1fr));
  }

  .events-browser-calendar-day {
    min-height: 2.95rem;
    padding: 0.22rem;
  }

  .events-browser-calendar-head h2 {
    font-size: clamp(1.08rem, 1.25vw, 1.32rem);
  }

  .events-browser-calendar-weekdays span {
    font-size: 0.58rem;
  }

  .events-browser-calendar-day-number {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.54rem;
  }

  .events-browser-primary,
  .events-browser-secondary {
    min-width: max-content;
    padding-inline: 1.55rem;
  }

  .events-browser-dot-a {
    top: 4.25rem;
    left: -1.4rem;
  }

  .events-browser-dot-b {
    top: -0.45rem;
    right: 1.9rem;
  }

  .events-browser-dot-c {
    right: 4.3rem;
    bottom: 0.9rem;
  }
}

.events-browser-filter-bar {
  padding: 0.25rem 0 2.8rem;
}

.events-browser-filter-bar > .events-browser-shell {
  width: min(100% - 1.5rem, 1400px);
  max-width: none;
}

.events-browser-time-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.8rem 0 1rem;
  border-top: 1px solid rgba(141, 154, 171, 0.16);
  border-bottom: 1px solid rgba(141, 154, 171, 0.16);
}

.events-browser-month-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  min-height: 1.95rem;
  padding: 0.18rem 0.3rem;
  border: 1px solid rgba(131, 146, 163, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #253245;
  font-size: 0.68rem;
  font-weight: 800;
}

.events-browser-month-link,
.events-browser-month-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.44rem;
  text-decoration: none;
}

.events-browser-month-link {
  width: 1.44rem;
  border-radius: 999px;
  color: #4b84a9;
}

.events-browser-month-link:hover,
.events-browser-month-link:focus-visible {
  background: rgba(109, 189, 227, 0.14);
  color: #2a6f9f;
}

.events-browser-month-label {
  min-width: 4.8rem;
  padding-inline: 0.2rem;
}

.events-browser-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 1.95rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(131, 146, 163, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #5f6d7f;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
}

.events-browser-time-pill strong {
  font-size: 0.62rem;
  color: inherit;
}

.events-browser-time-pill-active {
  background: #1b2540;
  border-color: #1b2540;
  color: #fff;
}

.events-browser-results {
  margin-top: 1rem;
}

.events-browser-results-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.events-browser-results-head .public-list-results-title {
  margin: 0;
}

.events-browser-results-head .public-list-results-text {
  max-width: 24rem;
  margin: 0;
}

.events-browser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.events-browser-card {
  display: grid;
  gap: 0.72rem;
  padding: 0.95rem;
  border: 1px solid rgba(131, 146, 163, 0.16);
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 35, 52, 0.06);
}

.events-browser-card-media {
  min-height: 8.4rem;
  border-radius: 0.58rem;
  overflow: hidden;
  background: linear-gradient(180deg, #edf5fb 0%, #e7eff8 100%);
  display: grid;
  place-items: center;
}

.events-browser-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.events-browser-card-media svg {
  width: 100%;
  height: 100%;
}

.events-browser-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.events-browser-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.25rem;
  padding: 0.16rem 0.42rem;
  border-radius: 0.32rem;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.events-browser-status-programat { background: rgba(109, 189, 227, 0.14); color: #4b84a9; }
.events-browser-status-in_desfasurare { background: rgba(111, 174, 85, 0.14); color: #4d8f57; }
.events-browser-status-incheiat { background: rgba(131, 146, 163, 0.14); color: #728091; }

.events-browser-rsvp {
  color: #5f6d7f;
  font-size: 0.58rem;
  font-weight: 700;
}

.events-browser-card-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.08;
  color: #1d2638;
}

.events-browser-card-title a {
  color: inherit;
  text-decoration: none;
}

.events-browser-card-copy {
  margin: 0;
  color: #5f6d7f;
  font-size: 0.72rem;
  line-height: 1.55;
}

.events-browser-card-meta {
  display: grid;
  gap: 0.35rem;
  color: #607080;
  font-size: 0.62rem;
}

.events-browser-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.events-browser-card-meta em {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #73c4d0;
  flex: 0 0 auto;
}

.events-browser-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2rem;
  border: 1px solid rgba(131, 146, 163, 0.22);
  border-radius: 0.42rem;
  color: #1d2638;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
}

.events-browser-empty {
  padding: 2rem;
  border: 1px solid rgba(131, 146, 163, 0.16);
  border-radius: 0.7rem;
  background: #fff;
  text-align: center;
}

.events-browser-empty h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: #1d2638;
}

.events-browser-empty p {
  margin: 0;
  color: #607080;
  font-size: 0.82rem;
}

@media (max-width: 1199px) {
  .events-browser-calendar-day {
    min-height: 3.45rem;
  }
}

@media (max-width: 1023px) {
  .events-browser-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .events-browser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-browser-results-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 899px) {
  .events-browser-shell {
    width: var(--page-hero-shell-width-mobile);
  }
}

@media (max-width: 767px) {
  .events-browser-shell {
    width: var(--page-hero-shell-width-mobile);
  }

  .events-browser-title {
    font-size: clamp(2rem, 11vw, 2.95rem);
  }

  .events-browser-grid {
    grid-template-columns: 1fr;
  }

  .events-browser-actions {
    flex-wrap: wrap;
  }

  .events-browser-calendar {
    max-width: none;
    justify-self: stretch;
    padding: 0.82rem;
  }

  .events-browser-visual-card {
    justify-content: stretch;
  }

  .events-browser-calendar-day {
    min-height: 3.2rem;
    padding: 0.24rem;
  }

  .events-browser-calendar-event-card {
    left: 0;
    right: auto;
    bottom: calc(100% + 0.36rem);
    transform: translate(0, 0.3rem);
  }

  .events-browser-calendar-event:hover .events-browser-calendar-event-card,
  .events-browser-calendar-event:focus-visible .events-browser-calendar-event-card {
    transform: translate(0, 0);
  }

  .events-browser-calendar-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .events-browser-dot-a {
    top: 1.1rem;
    left: 0.15rem;
  }

  .events-browser-dot-b {
    top: 0.35rem;
    right: 0.9rem;
  }

  .events-browser-dot-c {
    right: 1.3rem;
    bottom: 0.55rem;
  }
}

/* Public hero contract: Despre is the geometry source of truth for the copy stack. */
@media (min-width: 1280px) {
  .page-hero {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .page-hero-shell {
    width: min(100% - 1.5rem, 1600px) !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .page-hero-grid {
    display: grid !important;
    width: min(100% - 1.5rem, 1600px) !important;
    max-width: 1600px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    grid-template-columns: 560px 568px !important;
    justify-content: space-between !important;
    align-items: start !important;
    align-content: start !important;
    gap: 0 !important;
  }

  .page-hero-copy {
    box-sizing: border-box !important;
    display: grid !important;
    width: 560px !important;
    min-width: 560px !important;
    max-width: 560px !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    align-content: start !important;
    align-self: start !important;
    padding: 0 !important;
    gap: 0 !important;
    order: 0 !important;
  }

  .page-hero-badge {
    box-sizing: border-box !important;
    align-self: start !important;
    margin: 0 0 16px !important;
  }

  .page-hero-title {
    box-sizing: border-box !important;
    width: 560px !important;
    max-width: 560px !important;
    min-height: 196px !important;
    max-height: 196px !important;
    margin: 0 0 20px !important;
    font-family: var(--font-family-display) !important;
    font-size: var(--page-hero-title-size, clamp(2.55rem, 4.8vw, 4.7rem)) !important;
    line-height: var(--page-hero-title-line-height, 0.96) !important;
    overflow: hidden !important;
  }

  .page-hero-summary {
    box-sizing: border-box !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    width: 560px !important;
    max-width: 27rem !important;
    min-height: 88px !important;
    max-height: 88px !important;
    margin: 0 !important;
    font-size: var(--page-hero-text-size, clamp(1rem, 1.35vw, 1.12rem)) !important;
    line-height: var(--page-hero-text-line-height, 1.65) !important;
    overflow: hidden !important;
    align-self: start !important;
    justify-self: start !important;
    text-align: left !important;
  }

  .page-hero-actions {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 544px !important;
    max-width: 544px !important;
    min-height: 48px !important;
    margin: 0 !important;
    gap: 16px !important;
    align-items: center !important;
    align-self: end !important;
  }

  .page-hero-actions > * {
    min-height: 48px !important;
  }

  .page-hero-visual {
    box-sizing: border-box !important;
    display: grid !important;
    width: 568px !important;
    min-width: 568px !important;
    max-width: 568px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    justify-self: end !important;
    justify-items: end !important;
    align-items: start !important;
    align-content: start !important;
    align-self: start !important;
    padding: 0 0 0 57px !important;
    margin: 0 !important;
    order: 0 !important;
  }

  .page-hero-media {
    box-sizing: border-box !important;
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    margin: 0 !important;
  }

  .body-homepage .page-hero-media,
  .body-about .page-hero-media,
  .body-consultations .page-hero-media,
  .body-grassroots .page-hero-media,
  .body-champions .page-hero-media,
  .body-events .page-hero-media {
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
  }

  .body-map .page-hero-media {
    height: auto !important;
    min-height: 0 !important;
    max-height: 482px !important;
    object-fit: contain !important;
  }

  .body-homepage .page-hero-media {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .body-homepage .fig-home-visual-figure {
    width: 511px !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .body-homepage .fig-home-visual-image {
    width: 511px !important;
    min-width: 0 !important;
    max-width: 511px !important;
    height: auto !important;
    max-height: 360px !important;
    object-fit: contain !important;
    transform: none !important;
  }

  .body-homepage .fig-home-community-footer {
    position: static !important;
    width: fit-content !important;
    max-width: min(100%, 31rem) !important;
    margin: 0 auto !important;
    padding: 0.7rem 1.15rem 0.7rem 0.85rem !important;
    transform: none !important;
    flex: 0 0 auto !important;
    gap: 0.8rem !important;
  }

  .body-homepage .fig-home-community-footer .fig-home-avatar {
    width: 1.95rem !important;
    height: 1.95rem !important;
    border-width: 3px !important;
  }

  .body-homepage .fig-home-community-copy {
    display: flex !important;
    align-items: baseline !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  .body-homepage .fig-home-community-copy strong,
  .body-homepage .fig-home-community-copy > span {
    display: inline !important;
    margin: 0 !important;
  }

  .body-homepage .fig-home-community-copy strong {
    font-size: 0.95rem !important;
    line-height: 1.15 !important;
  }

  .body-homepage .fig-home-community-copy > span {
    font-size: 0.8rem !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 1279px) {
  .page-hero {
    display: block !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .page-hero-shell {
    width: var(--page-hero-shell-width-mobile) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .page-hero-grid {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    align-content: start !important;
    gap: 2rem !important;
  }

  .page-hero-copy,
  .page-hero-visual {
    order: 0 !important;
  }

  .page-hero-copy {
    box-sizing: border-box !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: auto auto auto auto !important;
    align-content: start !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .page-hero-badge {
    margin: 0 0 16px !important;
  }

  .page-hero-title {
    width: 100% !important;
    max-width: 26rem !important;
    min-height: 0 !important;
    max-height: calc(3 * 1.05em) !important;
    margin: 0 0 20px !important;
    font-size: clamp(2.35rem, 7vw, 4.1rem) !important;
    line-height: 1.02 !important;
    overflow: hidden !important;
  }

  .page-hero-summary {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    width: 100% !important;
    max-width: 28rem !important;
    min-height: 0 !important;
    max-height: calc(3 * 1.65em) !important;
    margin: 0 0 32px !important;
    font-size: clamp(1rem, 2vw, 1.12rem) !important;
    line-height: 1.65 !important;
    overflow: hidden !important;
  }

  .page-hero-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .page-hero-visual {
    box-sizing: border-box !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-self: start !important;
    justify-items: start !important;
    align-items: start !important;
    align-content: start !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .page-hero-media {
    width: min(100%, 511px) !important;
    min-width: 0 !important;
    max-width: 511px !important;
  }

  .body-homepage .page-hero-media,
  .body-about .page-hero-media,
  .body-consultations .page-hero-media,
  .body-grassroots .page-hero-media,
  .body-champions .page-hero-media,
  .body-events .page-hero-media {
    height: auto !important;
    min-height: 0 !important;
    max-height: 482px !important;
  }

  .body-map .page-hero-media {
    height: auto !important;
    min-height: 0 !important;
    max-height: 482px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 767px) {
  .page-hero {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .page-hero-title {
    max-width: none !important;
    margin-bottom: 16px !important;
    font-size: clamp(1.9rem, 9vw, 3.35rem) !important;
    line-height: 1.05 !important;
  }

  .page-hero-summary {
    max-width: 24rem !important;
    margin-bottom: 24px !important;
    font-size: 1rem !important;
  }

  .page-hero-actions {
    gap: 12px !important;
  }

  .page-hero-media {
    width: min(100%, 22rem) !important;
    max-width: 22rem !important;
  }
}

/* TRUE REAL EOF homepage hero vertical centering fix */
@media (min-width: 1280px) {
  .body-homepage .fig-home-hero-grid {
    align-items: center !important;
  }

  .body-homepage .fig-home-visual {
    align-self: center !important;
    align-items: center !important;
    align-content: center !important;
  }

  .body-homepage .fig-home-visual-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important;
  }

  .body-homepage .fig-home-community-footer {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* TRUE REAL EOF homepage hero vertical centering fix */
@media (min-width: 1280px) {
  .body-homepage .fig-home-hero-grid {
    align-items: center !important;
  }

  .body-homepage .fig-home-visual {
    align-self: center !important;
    align-items: center !important;
    align-content: center !important;
  }

  .body-homepage .fig-home-visual-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important;
  }

  .body-homepage .fig-home-community-footer {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* TRUE EOF consultation hero alignment fix - keep this block last */
@media (min-width: 1280px) {
  .body-consultations .consultation-browser-hero {
    display: block !important;
    box-sizing: border-box !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .body-consultations .consultation-browser-hero > .public-list-shell {
    width: 1600px !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .body-consultations .consultation-browser-hero-shell {
    width: 1600px !important;
    max-width: 1600px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    grid-template-columns: 560px 568px !important;
    justify-content: space-between !important;
    align-items: start !important;
    align-content: start !important;
    column-gap: 48px !important;
    row-gap: 0 !important;
  }

  .body-consultations .consultation-browser-copy {
    box-sizing: border-box !important;
    width: 560px !important;
    min-width: 560px !important;
    max-width: 560px !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    grid-template-rows: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .body-consultations .public-list-kicker {
    align-self: flex-start !important;
    margin: 0 0 38px !important;
  }

  .body-consultations .consultation-browser-title {
    box-sizing: border-box !important;
    width: 560px !important;
    max-width: 560px !important;
    min-height: 171px !important;
    margin: 0 0 23px !important;
    font-size: 4.25rem !important;
    line-height: 0.96 !important;
    letter-spacing: -0.055em !important;
  }

  .body-consultations .consultation-browser-text {
    box-sizing: border-box !important;
    width: 560px !important;
    max-width: 560px !important;
    min-height: 88px !important;
    margin: 0 0 76px !important;
    align-self: flex-start !important;
    justify-self: auto !important;
    text-align: left !important;
  }

  .body-consultations .consultation-browser-hero-actions {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 544px !important;
    max-width: 544px !important;
    min-height: 48px !important;
    margin: 0 !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .body-consultations .consultation-browser-visual {
    box-sizing: border-box !important;
    width: 568px !important;
    min-width: 568px !important;
    max-width: 568px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    display: grid !important;
    justify-self: end !important;
    justify-items: end !important;
    align-items: start !important;
    align-content: start !important;
    padding: 0 0 0 57px !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-visual-card {
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .body-consultations .consultation-browser-visual-media {
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    height: 402px !important;
    min-height: 402px !important;
    max-height: 402px !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-heading-art {
    width: 511px !important;
    max-width: 511px !important;
    height: auto !important;
    max-height: 402px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-stats-side {
    width: 511px !important;
    margin-top: 0 !important;
    padding-top: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (min-width: 1280px) {
  .page-hero-copy,
  .body-homepage .fig-home-copy,
  .body-about .about-hero-copy,
  .body-consultations .consultation-browser-copy,
  .body-grassroots .grassroots-browser-copy,
  .body-champions .champions-hero-copy,
  .body-map .map-hero-copy,
  .body-events .events-browser-copy {
    box-sizing: border-box !important;
    display: grid !important;
    width: 560px !important;
    min-width: 560px !important;
    max-width: 560px !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    align-content: start !important;
    align-self: start !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    order: 0 !important;
  }

  .page-hero-badge,
  .body-homepage .fig-home-platform-pill,
  .body-about .about-pill,
  .body-consultations .public-list-kicker,
  .body-grassroots .public-list-kicker,
  .body-champions .fig-home-platform-pill,
  .body-map .map-kicker,
  .body-events .events-browser-kicker {
    align-self: start !important;
    margin: 0 0 16px !important;
  }

  .page-hero-actions,
  .subpage-actions,
  .body-account .subpage-actions,
  .body-error-page .subpage-actions,
  .surface-hero-actions,
  .body-homepage .fig-home-actions,
  .body-about .about-hero-actions,
  .body-consultations .consultation-browser-hero-actions,
  .body-grassroots .grassroots-browser-cta-row,
  .body-champions .champions-hero-actions,
  .body-map .map-hero-actions,
  .body-events .events-browser-actions {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 544px !important;
    max-width: 544px !important;
    min-height: 48px !important;
    margin: 0 !important;
    gap: 16px !important;
    align-items: center !important;
    align-self: end !important;
    transform: none !important;
  }
}



/* TRUE FINAL consultation hero alignment fix - keep this block last */
@media (min-width: 1280px) {
  .body-consultations .consultation-browser-hero {
    display: block !important;
    box-sizing: border-box !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .body-consultations .consultation-browser-hero > .public-list-shell {
    width: 1600px !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .body-consultations .consultation-browser-hero-shell {
    width: 1600px !important;
    max-width: 1600px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    grid-template-columns: 560px 568px !important;
    justify-content: space-between !important;
    align-items: start !important;
    align-content: start !important;
    column-gap: 48px !important;
    row-gap: 0 !important;
  }

  .body-consultations .consultation-browser-copy {
    box-sizing: border-box !important;
    width: 560px !important;
    min-width: 560px !important;
    max-width: 560px !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    align-content: flex-start !important;
    grid-template-rows: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .body-consultations .public-list-kicker {
    align-self: flex-start !important;
    margin: 0 0 38px !important;
  }

  .body-consultations .consultation-browser-title {
    box-sizing: border-box !important;
    width: 560px !important;
    max-width: 560px !important;
    min-height: 171px !important;
    margin: 0 0 23px !important;
    font-size: 4.25rem !important;
    line-height: 0.96 !important;
    letter-spacing: -0.055em !important;
  }

  .body-consultations .consultation-browser-text {
    box-sizing: border-box !important;
    width: 560px !important;
    max-width: 560px !important;
    min-height: 88px !important;
    margin: 0 0 76px !important;
    align-self: flex-start !important;
    justify-self: auto !important;
    text-align: left !important;
  }

  .body-consultations .consultation-browser-hero-actions {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 544px !important;
    max-width: 544px !important;
    min-height: 48px !important;
    margin: 0 !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .body-consultations .consultation-browser-visual {
    box-sizing: border-box !important;
    width: 568px !important;
    min-width: 568px !important;
    max-width: 568px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    display: grid !important;
    justify-self: end !important;
    justify-items: end !important;
    align-items: start !important;
    align-content: start !important;
    padding: 0 0 0 57px !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-visual-card {
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .body-consultations .consultation-browser-visual-media {
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    height: 402px !important;
    min-height: 402px !important;
    max-height: 402px !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-heading-art {
    width: 511px !important;
    max-width: 511px !important;
    height: auto !important;
    max-height: 402px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .body-consultations .consultation-browser-stats-side {
    width: 511px !important;
    margin-top: 0 !important;
    padding-top: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* ABSOLUTE FINAL desktop hero contract - keep this block last */
@media (min-width: 1280px) {
  .body-homepage .fig-home-hero,
  .body-about .about-hero,
  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero,
  .body-champions .fig-home-hero,
  .body-map .map-hero-section,
  .body-events .events-browser-hero {
    display: block !important;
    box-sizing: border-box !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .body-homepage .fig-home-hero-fade,
  .body-champions .fig-home-hero-fade {
    display: none !important;
  }

  .body-homepage .fig-home-hero > .fig-home-shell,
  .body-about .about-hero > .about-shell-wide,
  .body-consultations .consultation-browser-hero > .public-list-shell,
  .body-grassroots .grassroots-browser-hero > .public-list-shell,
  .body-champions .fig-home-hero > .fig-home-shell,
  .body-map .map-hero-section > .home-container,
  .body-events .events-browser-hero > .events-browser-shell {
    width: 1600px !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .body-homepage .fig-home-hero-grid,
  .body-about .about-hero-grid,
  .body-consultations .consultation-browser-hero-shell,
  .body-grassroots .grassroots-browser-hero-shell,
  .body-champions .champions-hero-grid,
  .body-map .map-hero-layout,
  .body-events .events-browser-hero-grid {
    width: 1600px !important;
    max-width: 1600px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    grid-template-columns: 560px 568px !important;
    justify-content: space-between !important;
    align-items: start !important;
    align-content: start !important;
    column-gap: 48px !important;
    row-gap: 0 !important;
  }

  .body-homepage .fig-home-copy,
  .body-about .about-hero-copy,
  .body-consultations .consultation-browser-copy,
  .body-grassroots .grassroots-browser-copy,
  .body-champions .champions-hero-copy,
  .body-map .map-hero-copy,
  .body-events .events-browser-copy {
    box-sizing: border-box !important;
    width: 560px !important;
    min-width: 560px !important;
    max-width: 560px !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    display: block !important;
    align-self: start !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .fig-home-platform-pill,
  .public-list-kicker,
  .body-about .about-pill,
  .body-map .map-kicker,
  .body-events .events-browser-kicker {
    margin: 0 0 38px !important;
  }

  .body-homepage .fig-home-title,
  .body-about .about-title,
  .body-consultations .consultation-browser-title,
  .body-grassroots .grassroots-browser-title,
  .body-champions .champions-hero-title,
  .body-map .map-hero-title,
  .body-events .events-browser-title {
    margin: 0 0 23px !important;
  }

  .body-homepage .fig-home-summary,
  .body-about .about-summary,
  .body-consultations .consultation-browser-text,
  .body-grassroots .grassroots-browser-text,
  .body-champions .champions-hero-summary,
  .body-map .map-hero-text,
  .body-events .events-browser-text {
    box-sizing: border-box !important;
    width: 560px !important;
    max-width: 560px !important;
    margin: 0 0 76px !important;
    min-height: 88px !important;
  }

  .body-about .about-title {
    width: 497px !important;
    max-width: 497px !important;
    min-height: 171px !important;
  }

  .body-about .about-summary {
    width: 560px !important;
    max-width: 560px !important;
    min-height: 88px !important;
  }

  .body-homepage .fig-home-actions,
  .body-about .about-hero-actions,
  .body-consultations .consultation-browser-hero-actions,
  .body-grassroots .grassroots-browser-cta-row,
  .body-champions .champions-hero-actions,
  .body-map .map-hero-actions,
  .body-events .events-browser-actions {
    box-sizing: border-box !important;
    width: 544px !important;
    max-width: 544px !important;
    min-height: 48px !important;
    margin: 0 !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .body-about .about-btn-primary {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    height: 48px !important;
    min-height: 48px !important;
    justify-content: center !important;
  }

  .body-about .about-btn-secondary {
    width: 162px !important;
    min-width: 162px !important;
    max-width: 162px !important;
    height: 48px !important;
    min-height: 48px !important;
    justify-content: center !important;
  }

  .body-homepage .fig-home-visual,
  .body-about .about-hero-visual,
  .body-consultations .consultation-browser-visual,
  .body-grassroots .grassroots-browser-visual,
  .body-champions .champions-hero-visual,
  .body-map .map-hero-visual,
  .body-events .events-browser-visual {
    box-sizing: border-box !important;
    width: 568px !important;
    min-width: 568px !important;
    max-width: 568px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    display: grid !important;
    justify-self: end !important;
    justify-items: end !important;
    align-items: start !important;
    align-content: start !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .body-homepage .fig-home-visual-card,
  .body-about .about-hero-logo-scene,
  .body-consultations .consultation-browser-visual-media,
  .body-grassroots .grassroots-browser-visual-card,
  .body-champions .champions-hero-panel,
  .body-events .events-browser-calendar,
  .body-map .map-hero-image {
    box-sizing: border-box !important;
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    justify-self: end !important;
    align-self: start !important;
    margin: 0 !important;
  }

  .body-homepage .fig-home-visual-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
  }

  .body-homepage .fig-home-visual-image {
    width: 511px !important;
    max-width: 511px !important;
    height: auto !important;
    max-height: 378px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .body-homepage .fig-home-community {
    width: 100% !important;
    margin-top: 16px !important;
  }

  .body-consultations .consultation-browser-visual-card,
  .body-grassroots .grassroots-browser-visual-card {
    width: 511px !important;
    min-width: 511px !important;
    max-width: 511px !important;
    height: 482px !important;
    min-height: 482px !important;
    max-height: 482px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  .body-consultations .consultation-browser-visual-media {
    flex: 0 0 402px !important;
    height: 402px !important;
    min-height: 402px !important;
    max-height: 402px !important;
  }

  .body-consultations .consultation-browser-stats-side {
    width: 511px !important;
    margin-top: 0 !important;
    padding-top: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .body-grassroots .grassroots-browser-stats-side {
    width: 511px !important;
    margin-top: 0 !important;
    padding-top: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .body-consultations .consultation-browser-heading-art,
  .body-grassroots .grassroots-browser-hero-image,
  .body-champions .champions-hero-visual-image,
  .body-map .map-hero-image {
    width: 511px !important;
    max-width: 511px !important;
    height: auto !important;
    max-height: 482px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .body-champions .champions-hero-panel,
  .body-events .events-browser-calendar,
  .body-map .map-hero-image {
    max-height: 482px !important;
  }

  .body-map .map-hero-visual {
    padding-left: 57px !important;
  }

  .body-about .about-hero-visual,
  .body-consultations .consultation-browser-visual,
  .body-grassroots .grassroots-browser-visual,
  .body-champions .champions-hero-visual,
  .body-events .events-browser-visual {
    padding-left: 57px !important;
  }

  .body-about .about-hero-logo-scene {
    position: relative !important;
    padding: 0 !important;
  }

  .body-about .about-hero-word-top {
    top: 34px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .body-about .about-hero-word-left {
    left: 11px !important;
    top: 149px !important;
  }

  .body-about .about-hero-word-right {
    right: 6px !important;
    top: 111px !important;
  }

  .body-about .about-hero-word-center {
    left: 50% !important;
    top: 221px !important;
    transform: translateX(-50%) !important;
  }

  .body-about .about-hero-word-bottom-left {
    left: 37px !important;
    bottom: 102px !important;
  }

  .body-about .about-hero-word-bottom {
    left: 50% !important;
    bottom: 30px !important;
    transform: translateX(-50%) !important;
  }

  .body-about .about-hero-word-bottom-right {
    right: 21px !important;
    bottom: 102px !important;
  }
}

/* Absolute final hero primary CTA width contract */
.body-homepage .fig-home-btn-primary,
.body-consultations .public-list-btn-primary,
.body-grassroots .public-list-btn-primary,
.body-champions .fig-home-btn-primary,
.body-about .about-hero .about-btn-primary,
.body-map .map-hero-btn-primary,
.body-events .events-browser-primary {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  flex: 0 0 250px !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Absolute final hero primary CTA width contract */
.body-homepage .fig-home-btn-primary,
.body-consultations .public-list-btn-primary,
.body-grassroots .public-list-btn-primary,
.body-champions .fig-home-btn-primary,
.body-about .about-hero .about-btn-primary,
.body-map .map-hero-btn-primary,
.body-events .events-browser-primary {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  flex: 0 0 250px !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Final winning hero primary CTA width contract */
.body-homepage .fig-home-btn-primary,
.body-consultations .public-list-btn-primary,
.body-grassroots .public-list-btn-primary,
.body-champions .fig-home-btn-primary,
.body-about .about-hero .about-btn-primary,
.body-map .map-hero-btn-primary,
.body-events .events-browser-primary {
  width: min(100%, 250px) !important;
  min-width: 250px !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Final forced hero primary CTA flex-basis contract */
.body-homepage .fig-home-btn-primary,
.body-consultations .public-list-btn-primary,
.body-grassroots .public-list-btn-primary,
.body-champions .fig-home-btn-primary,
.body-about .about-hero .about-btn-primary,
.body-map .map-hero-btn-primary,
.body-events .events-browser-primary {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  flex: 0 0 250px !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Final champions hero text parity */
.body-champions .champions-hero-title {
  max-width: 16.25ch !important;
  font-size: clamp(2.55rem, 4.8vw, 4.7rem) !important;
  line-height: 0.96 !important;
}

.body-champions .champions-hero-summary {
  font-size: clamp(1rem, 1.35vw, 1.12rem) !important;
  line-height: 1.65 !important;
}

/* Global public-page content shell width (non-hero) */
.main-content,
.footer-shell,
.container,
.home-container,
.about-shell-wide,
.fig-home-shell,
.fig-home-consultations-shell,
.public-list-shell,
.proposal-entry-shell,
.surface-shell,
.champions-directory-shell,
.champions-intro-card {
  width: min(100% - 1.5rem, 1400px) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

/* Global hero subtitle contract based on /despre/ */
.fig-home-copy,
.body-about .about-hero-copy,
.consultation-browser-copy,
.grassroots-browser-copy,
.champions-hero-copy,
.map-hero-copy,
.events-browser-copy {
  gap: 1.45rem !important;
}

.fig-home-summary,
.body-about .about-summary,
.consultation-browser-text,
.grassroots-browser-text,
.champions-hero-summary,
.map-hero-text,
.events-browser-text {
  max-width: 27rem !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #4d5b6e !important;
  font-size: var(--page-hero-text-size) !important;
  line-height: var(--page-hero-text-line-height) !important;
}

/* Global hero primary CTA width contract */
.body-homepage .fig-home-btn-primary,
.body-consultations .public-list-btn-primary,
.body-grassroots .public-list-btn-primary,
.body-champions .fig-home-btn-primary,
.body-about .about-hero .about-btn-primary,
.body-map .map-hero-btn-primary,
.body-events .events-browser-primary {
  width: min(100%, 250px) !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Final hero visible bottom-space contract */
.body-about .about-hero,
.body-consultations .consultation-browser-hero,
.body-grassroots .grassroots-browser-hero,
.body-champions .fig-home-hero,
.body-map .map-hero-section,
.body-events .events-browser-hero {
  padding-bottom: 50px !important;
}

.body-about .about-hero-visual,
.body-consultations .consultation-browser-visual,
.body-grassroots .grassroots-browser-visual,
.body-champions .champions-hero-visual,
.body-map .map-hero-visual,
.body-events .events-browser-visual {
  min-height: 0 !important;
  align-self: start !important;
}

.body-consultations .consultation-browser-visual-card,
.body-grassroots .grassroots-browser-visual-card,
.body-champions .champions-hero-panel {
  min-height: 0 !important;
  align-content: start !important;
}

.body-about .about-hero-logo-scene,
.body-consultations .consultation-browser-visual-media,
.body-grassroots .grassroots-browser-visual-card,
.body-champions .champions-hero-panel,
.body-events .events-browser-calendar,
.body-map .map-hero-image {
  max-height: 430px !important;
}

.body-consultations .consultation-browser-heading-art,
.body-grassroots .grassroots-browser-hero-image,
.body-champions .champions-hero-visual-image,
.body-map .map-hero-image {
  max-height: 430px !important;
}

.body-about .about-hero-logo-scene,
.body-events .events-browser-calendar {
  height: min(430px, 100%) !important;
}

/* Final hero-to-content gap contract */
.body-consultations .public-list-filter-wrap,
.body-grassroots .public-list-filter-wrap,
.body-champions #champions-filters,
.body-map .map-layout-section,
.body-events .events-browser-filter-bar,
.body-about .about-section:first-of-type {
  margin-top: 50px !important;
}

/* Final hero bottom padding contract */
.body-about .about-hero,
.body-consultations .consultation-browser-hero,
.body-grassroots .grassroots-browser-hero,
.body-champions .fig-home-hero,
.body-map .map-hero-section,
.body-events .events-browser-hero {
  padding-bottom: 50px !important;
}

.body-about .about-hero-grid,
.body-consultations .consultation-browser-hero-shell,
.body-grassroots .grassroots-browser-hero-shell,
.body-champions .champions-hero-grid,
.body-map .map-hero-layout,
.body-events .events-browser-hero-grid {
  min-height: 0 !important;
}

.body-about .about-hero-logo-scene,
.body-consultations .consultation-browser-visual-media,
.body-grassroots .grassroots-browser-visual-card,
.body-champions .champions-hero-panel,
.body-events .events-browser-calendar,
.body-map .map-hero-image {
  max-height: 470px !important;
}

.body-consultations .consultation-browser-heading-art,
.body-grassroots .grassroots-browser-hero-image,
.body-champions .champions-hero-visual-image,
.body-map .map-hero-image {
  max-height: 470px !important;
}

.body-about .about-hero,
.body-consultations .public-list-hero,
.body-grassroots .public-list-hero,
.body-champions .fig-home-hero,
.body-map .map-hero-section,
.body-events .events-browser-hero {
  padding-bottom: 50px !important;
}

  .body-about .about-hero,
  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero,
  .body-champions .fig-home-hero,
  .body-map .map-hero-section,
  .body-events .events-browser-hero {
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
  }

@media (min-width: 768px) {
  .fig-home-btn,
  .public-list-btn,
  .body-about .about-hero .about-btn,
  .map-hero-btn,
  .events-browser-primary,
  .events-browser-secondary {
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 1.25rem !important;
    font-size: 14px !important;
    line-height: 21px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .fig-home-btn span,
  .public-list-btn span,
  .body-about .about-hero .about-btn span,
  .map-hero-btn span,
  .events-browser-primary span,
  .events-browser-secondary span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

@media (min-width: 768px) {
  .fig-home-btn,
  .public-list-btn,
  .body-about .about-hero .about-btn,
  .map-hero-btn,
  .events-browser-primary,
  .events-browser-secondary {
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 1.25rem !important;
    font-size: 14px !important;
    line-height: 21px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  .fig-home-btn span,
  .public-list-btn span,
  .body-about .about-hero .about-btn span,
  .map-hero-btn span,
  .events-browser-primary span,
  .events-browser-secondary span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

/* Global hero badge contract */
.fig-home-platform-pill,
.public-list-kicker,
.map-kicker,
.about-pill,
.events-browser-kicker {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0.55rem !important;
  width: fit-content !important;
  min-height: 2.25rem !important;
  padding: 0.46rem 0.9rem !important;
  border-radius: 0.6rem !important;
  border: 1px solid currentColor !important;
  background: color-mix(in srgb, currentColor 8%, white) !important;
  box-shadow: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  position: relative !important;
  overflow: hidden !important;
}

.fig-home-platform-pill::before,
.public-list-kicker::before,
.map-kicker::before,
.about-pill::before,
.events-browser-kicker::before {
  content: "" !important;
  flex: 0 0 auto !important;
  width: 0.82rem !important;
  height: 0.82rem !important;
  display: block !important;
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  background: currentColor !important;
  clip-path: none !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.75 1.5h4.1l2.65 2.65v7.1A1.75 1.75 0 0 1 9.75 13h-5A1.75 1.75 0 0 1 3 11.25v-8A1.75 1.75 0 0 1 4.75 1.5Zm3.5 1.4h-3.5a.35.35 0 0 0-.35.35v8c0 .2.16.35.35.35h5a.35.35 0 0 0 .35-.35V5.3H8.95A.7.7 0 0 1 8.25 4.6V2.9Zm1.4.25V4.2h1.05L9.65 3.15Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.75 1.5h4.1l2.65 2.65v7.1A1.75 1.75 0 0 1 9.75 13h-5A1.75 1.75 0 0 1 3 11.25v-8A1.75 1.75 0 0 1 4.75 1.5Zm3.5 1.4h-3.5a.35.35 0 0 0-.35.35v8c0 .2.16.35.35.35h5a.35.35 0 0 0 .35-.35V5.3H8.95A.7.7 0 0 1 8.25 4.6V2.9Zm1.4.25V4.2h1.05L9.65 3.15Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

.fig-home-platform-pill span,
.fig-home-platform-pill > span,
.about-pill > span,
.public-list-kicker > span,
.map-kicker > span,
.events-browser-kicker > span {
  position: relative;
  z-index: 1;
  display: inline !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
}

.public-list-kicker svg,
.events-browser-kicker svg,
.map-kicker-dot {
  display: none !important;
}

.map-kicker-dot {
  width: 0 !important;
  height: 0 !important;
}

.body-homepage .fig-home-platform-pill {
  color: #4e9e4c !important;
}

.body-consultations .public-list-kicker {
  color: #4e9e4c !important;
}

.body-grassroots .public-list-kicker {
  color: #f0a900 !important;
}

.body-champions .fig-home-platform-pill {
  color: #2d79b7 !important;
}

.body-map .map-kicker {
  color: #3eb8a4 !important;
}

.body-about .about-pill {
  color: #2d79b7 !important;
}

.body-events .events-browser-kicker {
  color: #e67821 !important;
}

.body-consultations .consultation-browser-title,
.body-grassroots .grassroots-browser-title,
.body-events .events-browser-title {
  font-size: clamp(2.55rem, 4.8vw, 4.7rem) !important;
  line-height: 0.96 !important;
}

.body-consultations .consultation-browser-title {
  margin-bottom: 20px !important;
}

.body-consultations .consultation-browser-copy {
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
}

.body-consultations .consultation-browser-text,
.body-grassroots .grassroots-browser-text,
.body-events .events-browser-text {
  font-size: clamp(1rem, 1.35vw, 1.12rem) !important;
  line-height: 1.65 !important;
}

.body-consultations .consultation-browser-text {
  align-self: center !important;
  justify-self: start !important;
  margin-inline: 0 !important;
  text-align: left !important;
}

  .body-events .events-browser-primary,
  .body-events .events-browser-secondary {
    min-height: 48px !important;
    padding-block: 0.85rem !important;
    padding-inline: 1.25rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }

/* Global hero contract */
@media (min-width: 768px) {
  .fig-home-hero > .fig-home-shell,
  .public-list-hero > .public-list-shell,
  .map-hero-section > .home-container,
  .body-about .about-hero > .about-shell-wide,
  .body-events .events-browser-hero > .events-browser-shell {
    width: min(100% - 1.5rem, 1600px) !important;
    max-width: none !important;
    padding-inline: 0 !important;
  }

  .about-shell-hero,
  .about-topbar-inner {
    width: min(100% - 1.5rem, 1600px) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  .fig-home-hero,
  .public-list-hero,
  .map-hero-section,
  .body-about .about-hero,
  .body-events .events-browser-hero {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .fig-home-hero-grid,
  .about-hero-grid,
  .consultation-browser-hero-shell,
  .grassroots-browser-hero-shell,
  .map-hero-layout,
  .events-browser-hero-grid {
    align-items: start !important;
    gap: 2.5rem !important;
  }

  .fig-home-copy,
  .body-about .about-hero-copy,
  .consultation-browser-copy,
  .grassroots-browser-copy,
  .champions-hero-copy,
  .map-hero-copy,
  .events-browser-copy,
  .fig-home-visual,
  .body-about .about-hero-visual,
  .consultation-browser-visual,
  .grassroots-browser-visual,
  .champions-hero-visual,
  .map-hero-visual,
  .events-browser-visual {
    align-self: start !important;
  }

  .fig-home-title,
  .body-about .about-title,
  .consultation-browser-title,
  .grassroots-browser-title,
  .champions-hero-title,
  .map-hero-title,
  .events-browser-title {
    max-width: 12ch !important;
    font-size: clamp(3.25rem, 5.6vw, 4.5rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.05em !important;
  }

  .fig-home-summary,
  .body-about .about-summary,
  .consultation-browser-text,
  .grassroots-browser-text,
  .champions-hero-summary,
  .map-hero-text,
  .events-browser-text {
    max-width: 40rem !important;
    font-size: 1.3rem !important;
    line-height: 1.75 !important;
  }

  .fig-home-btn,
  .public-list-btn,
  .body-about .about-hero .about-btn,
  .events-browser-primary,
  .events-browser-secondary {
    box-sizing: border-box !important;
    height: 48px !important;
    min-height: 48px !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 1.25rem !important;
    border-radius: 0.75rem !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 21px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1) !important;
  }

  .fig-home-actions,
  .body-about .about-hero-actions,
  .grassroots-browser-cta-row,
  .events-browser-actions {
    gap: 1rem !important;
  }

  .fig-home-btn-primary,
  .body-about .about-hero .about-btn-primary,
  .body-consultations .public-list-btn-primary,
  .body-grassroots .public-list-btn-primary,
  .body-champions .fig-home-btn-primary,
  .body-events .events-browser-primary {
    color: #ffffff !important;
    border: 2px solid transparent !important;
  }

  .fig-home-btn-secondary,
  .body-about .about-hero .about-btn-secondary,
  .body-consultations .public-list-btn-secondary,
  .body-grassroots .public-list-btn-secondary,
  .body-champions .fig-home-btn-secondary,
  .body-events .events-browser-secondary {
    background: #ffffff !important;
    border-width: 3px !important;
    border-style: solid !important;
  }

  .fig-home-btn-secondary::before,
  .body-about .about-hero .about-btn-secondary::after,
  .body-consultations .public-list-btn-secondary::before,
  .body-grassroots .public-list-btn-secondary::before,
  .body-champions .fig-home-btn-secondary::before {
    content: "" !important;
    position: absolute !important;
    inset: 0.26rem !important;
    border: 2px dashed currentColor !important;
    border-radius: 0.5rem !important;
    pointer-events: none !important;
    opacity: 0.38 !important;
  }

  .body-consultations :is(.public-list-btn-primary, .public-list-btn-secondary) {
    background: #2f7c39 !important;
    border-color: #2f7c39 !important;
    color: #ffffff !important;
  }

  .body-consultations .public-list-btn-secondary {
    background: #ffffff !important;
    color: #2f7c39 !important;
  }

  .body-consultations .public-list-btn-secondary::before {
    border-color: rgba(247, 181, 0, 0.78) !important;
    opacity: 0.62 !important;
  }

  .body-grassroots :is(.public-list-btn-primary, .public-list-btn-secondary) {
    border-color: #f7b500 !important;
  }

  .body-grassroots .public-list-btn-primary {
    background: #f7b500 !important;
    color: #0f172b !important;
  }

  .body-grassroots .public-list-btn-secondary {
    background: #ffffff !important;
    color: #b47f00 !important;
  }

  .body-grassroots .public-list-btn-secondary::before {
    border-color: rgba(78, 158, 76, 0.92) !important;
    opacity: 0.72 !important;
  }

  .body-champions :is(.fig-home-btn-primary, .fig-home-btn-secondary) {
    border-color: #2d79b7 !important;
  }

  .body-champions .fig-home-btn-primary {
    background: #2d79b7 !important;
    color: #ffffff !important;
  }

  .body-champions .fig-home-btn-secondary {
    background: #ffffff !important;
    color: #2d79b7 !important;
  }

  .body-champions .fig-home-btn-secondary.champions-hero-btn-consultations::before {
    border-color: #4e9e4c !important;
    opacity: 0.55 !important;
  }

  .body-events :is(.events-browser-primary, .events-browser-secondary) {
    border-color: #e67821 !important;
  }

  .body-events .events-browser-primary {
    background: #e67821 !important;
    color: #ffffff !important;
  }

  .body-events .events-browser-secondary {
    background: #ffffff !important;
    color: #c56518 !important;
  }

  .body-about :is(.about-btn-primary, .about-btn-secondary, .about-btn-ghost) {
    border-color: #2d79b7 !important;
  }

  .body-about .about-btn-primary,
  .body-about .about-btn-secondary {
    background: #2d79b7 !important;
    color: #ffffff !important;
  }

  .body-about .about-hero .about-btn-secondary {
    background: #2d79b7 !important;
    border-color: #2d79b7 !important;
    color: #ffffff !important;
  }

  .body-about .about-btn-ghost {
    background: #ffffff !important;
    color: #2d79b7 !important;
  }

  .body-homepage .fig-home-btn-primary {
    background: #2f7c39 !important;
    color: #ffffff !important;
  }

  .body-homepage .fig-home-btn-secondary {
    background: #ffffff !important;
    border-color: #2d79b7 !important;
    color: #2d79b7 !important;
  }

  .fig-home-visual-card,
  .consultation-browser-visual-media,
  .body-grassroots .grassroots-browser-visual-card,
  .champions-hero-panel,
  .body-about .about-hero-logo-scene,
  .events-browser-calendar,
  .map-hero-image {
    max-height: 487px !important;
  }

  .fig-home-visual-image,
  .consultation-browser-heading-art,
  .body-grassroots .grassroots-browser-hero-image,
  .champions-hero-visual-image,
  .map-hero-image {
    max-height: 487px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .events-browser-calendar,
  .body-about .about-hero-logo-scene {
    height: min(487px, 100%) !important;
  }
}

/* Homepage hero title fine tuning */
@media (min-width: 1280px) {
  .body-homepage .fig-home-title,
  .body-about .about-title,
  .body-consultations .consultation-browser-title,
  .body-grassroots .grassroots-browser-title,
  .body-champions .champions-hero-title,
  .body-map .map-hero-title,
    .body-events .events-browser-title {
    font-size: 63.36px !important;
    line-height: 68px !important;
  }

  .body-homepage .fig-home-title {
    transform: translateY(-50px) !important;
  }

  .body-homepage .fig-home-actions {
    transform: translateY(-113px) !important;
  }

  .body-homepage .fig-home-summary {
    font-size: 20.8px !important;
    line-height: 36.4px !important;
  }

  .body-consultations .consultation-browser-text,
  .body-grassroots .grassroots-browser-text,
  .body-champions .champions-hero-summary,
  .body-map .map-hero-text,
  .body-events .events-browser-text {
    font-size: 20.8px !important;
    line-height: 36.4px !important;
  }

  .body-about .about-title {
    transform: translateY(-72px) !important;
  }

  .body-consultations .consultation-browser-title {
    transform: translateY(-72px) !important;
  }

  .body-consultations .consultation-browser-title-line-accent {
    color: #4e9e4c !important;
  }

  .body-consultations .consultation-browser-title-underline {
    display: inline-block !important;
    position: relative !important;
    color: #111827 !important;
    z-index: 0 !important;
  }

  .body-consultations .consultation-browser-title-underline::after {
    content: "" !important;
    position: absolute !important;
    left: -0.08rem !important;
    right: -0.36rem !important;
    bottom: 0.02rem !important;
    height: 0.58rem !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, rgba(78, 158, 76, 0.24), rgba(78, 158, 76, 0.42), rgba(78, 158, 76, 0.28)) !important;
    clip-path: polygon(0 42%, 9% 34%, 28% 40%, 51% 31%, 76% 43%, 100% 36%, 99% 82%, 72% 77%, 44% 86%, 18% 78%, 0 84%) !important;
    pointer-events: none !important;
    transform: rotate(-0.45deg) !important;
    transform-origin: left center !important;
    z-index: -1 !important;
  }

  .body-grassroots .grassroots-browser-title {
    transform: translateY(-50px) !important;
  }

  .body-grassroots .grassroots-browser-title-line-accent {
    color: #f7b500 !important;
  }

  .body-grassroots .grassroots-browser-title-underline {
    color: #111827 !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 0 !important;
  }

  .body-grassroots .grassroots-browser-title-underline::after {
    content: "" !important;
    position: absolute !important;
    left: -0.08rem !important;
    right: -0.36rem !important;
    bottom: 0.02rem !important;
    height: 0.58rem !important;
    border-radius: 999px !important;
    background: linear-gradient(92deg, rgba(247, 181, 0, 0.22), rgba(247, 181, 0, 0.44), rgba(247, 181, 0, 0.3)) !important;
    clip-path: polygon(0 48%, 8% 36%, 24% 43%, 46% 32%, 66% 39%, 85% 34%, 100% 45%, 98% 84%, 79% 76%, 58% 87%, 31% 79%, 12% 86%, 0 77%) !important;
    pointer-events: none !important;
    transform: rotate(0.35deg) !important;
    transform-origin: left center !important;
    z-index: -1 !important;
  }

  .body-champions .champions-hero-title {
    transform: translateY(-50px) !important;
  }

  .body-map .map-hero-title {
    transform: translateY(-72px) !important;
  }

  .body-events .events-browser-title {
    transform: translateY(-34px) !important;
  }

  .body-events .events-browser-kicker {
    transform: translateY(-25px) !important;
  }

  .body-map .map-hero-title-projects {
    color: #f7b500 !important;
  }

  .body-map .map-hero-title-consultations {
    color: #4e9e4c !important;
  }

  .body-map .map-hero-title-events {
    color: #e67821 !important;
  }

  .body-champions .champions-hero-title-underline,
  .body-map .map-hero-title-underline,
  .body-events .events-browser-title-underline {
    color: #111827 !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 0 !important;
  }

  .body-champions .champions-hero-title-underline::after,
  .body-map .map-hero-title-underline::after,
  .body-events .events-browser-title-underline::after {
    content: "" !important;
    position: absolute !important;
    left: -0.08rem !important;
    right: -0.36rem !important;
    bottom: 0.02rem !important;
    height: 0.58rem !important;
    border-radius: 999px !important;
    pointer-events: none !important;
    transform-origin: left center !important;
    z-index: -1 !important;
  }

  .body-champions .champions-hero-title-underline::after {
    background: linear-gradient(91deg, rgba(45, 121, 183, 0.22), rgba(45, 121, 183, 0.42), rgba(45, 121, 183, 0.28)) !important;
    clip-path: polygon(0 44%, 10% 35%, 27% 41%, 49% 33%, 69% 43%, 89% 36%, 100% 45%, 98% 82%, 74% 76%, 52% 86%, 29% 78%, 9% 84%, 0 79%) !important;
    transform: rotate(-0.28deg) !important;
  }

  .body-map .map-hero-title-underline::after {
    background: linear-gradient(92deg, rgba(62, 184, 164, 0.22), rgba(62, 184, 164, 0.43), rgba(62, 184, 164, 0.29)) !important;
    clip-path: polygon(0 48%, 7% 37%, 23% 42%, 43% 34%, 63% 40%, 82% 33%, 100% 44%, 99% 83%, 81% 77%, 60% 86%, 34% 80%, 13% 87%, 0 78%) !important;
    transform: rotate(0.32deg) !important;
  }

  .body-events .events-browser-title-underline::after {
    background: linear-gradient(93deg, rgba(230, 120, 33, 0.22), rgba(230, 120, 33, 0.43), rgba(230, 120, 33, 0.3)) !important;
    clip-path: polygon(0 43%, 8% 34%, 26% 40%, 47% 31%, 68% 42%, 86% 35%, 100% 39%, 99% 84%, 76% 78%, 55% 88%, 31% 79%, 11% 85%, 0 81%) !important;
    transform: rotate(-0.38deg) !important;
  }

  .body-events .events-browser-title-neutral {
    color: #111827 !important;
  }

  .body-events .events-browser-title-accent {
    color: #e67821 !important;
  }
}

/* Public subpage hero CTA baseline: keep action rows 50px above the hero edge. */
@media (min-width: 1280px) {
  .body-homepage .fig-home-hero,
  .body-about .about-hero,
  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero,
  .body-champions .fig-home-hero,
  .body-map .map-hero-section,
  .body-events .events-browser-hero {
    position: relative !important;
  }

  .body-homepage .fig-home-actions,
  .body-about .about-hero-actions,
  .body-consultations .consultation-browser-hero-actions,
  .body-grassroots .grassroots-browser-cta-row,
  .body-champions .champions-hero-actions,
  .body-map .map-hero-actions,
  .body-events .events-browser-actions {
    position: absolute !important;
    bottom: 50px !important;
    left: max(0.75rem, calc((100% - 1600px) / 2)) !important;
    transform: none !important;
  }

  .body-about .about-hero .about-btn-primary {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    flex: 0 0 250px !important;
  }

  .body-homepage .fig-home-summary,
  .body-about .about-summary,
  .body-consultations .consultation-browser-text,
  .body-grassroots .grassroots-browser-text,
  .body-champions .champions-hero-summary,
  .body-map .map-hero-text,
  .body-events .events-browser-text {
    box-sizing: border-box !important;
    display: block !important;
    width: 560px !important;
    max-width: 560px !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: 17.5px !important;
    line-height: 1.55 !important;
    text-wrap: balance;
    transform: none !important;
  }

  .body-homepage .fig-home-summary {
    transform: translateY(-11px) !important;
  }

  .body-consultations .consultation-browser-text {
    transform: translateY(3px) !important;
  }

  .body-grassroots .grassroots-browser-text,
  .body-champions .champions-hero-summary {
    transform: translateY(57px) !important;
  }

  .body-map .map-hero-text {
    transform: translateY(-43px) !important;
  }

  .body-events .events-browser-text {
    transform: translateY(89px) !important;
  }
}

/* Events calendar frame: match the border to the 7-column grid width. */
.body-events .events-browser-calendar {
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-rows: auto auto 1fr !important;
  align-content: stretch !important;
  justify-items: stretch !important;
  justify-content: stretch !important;
  align-items: stretch !important;
}

.body-events .events-browser-calendar-grid {
  height: 100% !important;
  align-content: stretch !important;
  grid-auto-rows: 1fr !important;
  width: 100% !important;
  justify-self: stretch !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}

.body-events .events-browser-calendar-weekdays {
  width: 100% !important;
  justify-self: stretch !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}

.body-events .events-browser-calendar-day {
  min-height: 0 !important;
  height: 100% !important;
}

@media (min-width: 1280px) {
  .body-events .events-browser-hero-grid {
    grid-template-columns: minmax(18rem, 35rem) minmax(40rem, 42rem) !important;
  }

  .body-events .events-browser-visual {
    width: 672px !important;
    min-width: 672px !important;
    max-width: 672px !important;
    padding-left: 0 !important;
  }

  .body-events .events-browser-calendar {
    width: 624px !important;
    min-width: 624px !important;
    max-width: 624px !important;
  }
}

/* Champions spacing contract:
   - 30px between hero and filters
   - 30px between filters and results (also after HTMX filtering) */
.body-champions #champions-filters {
  margin-top: 30px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.body-champions .champions-directory-shell {
  margin-top: 30px !important;
  padding-top: 0 !important;
}

/* Homepage hero image sizing contract:
   - keep right edge pinned
   - never crop the image
   - preserve 50px top/bottom spacing inside hero visual area */
@media (min-width: 1280px) {
  .body-homepage .fig-home-hero-grid {
    grid-template-columns: 560px 700px !important;
  }

  .body-homepage .fig-home-visual {
    display: flex !important;
    width: 700px !important;
    min-width: 700px !important;
    max-width: 700px !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
  }

  .body-homepage .fig-home-visual-card {
    width: 700px !important;
    min-width: 700px !important;
    max-width: 700px !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .body-homepage .fig-home-visual-figure {
    width: 100% !important;
    height: calc(100% - 40px) !important;
    min-height: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  .body-homepage .fig-home-visual-image {
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: right center !important;
    align-self: center !important;
    margin-block: auto !important;
    transform: scale(1.5) !important;
    transform-origin: right center !important;
  }
}

/* Public topbar mobile clipping guard. */
@media (max-width: 899px) {
  .about-topbar-inner,
  .body-about .about-topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    grid-template-areas:
      "brand menu"
      "search login";
    align-items: center;
    gap: 0.65rem;
    height: auto;
    padding-block: 0.65rem;
  }

  .about-topbar-brand,
  .body-about .about-topbar-brand {
    grid-area: brand;
    min-width: 0;
  }

  .about-topbar-brand-text,
  .body-about .about-topbar-brand-text {
    min-width: 0;
    flex-wrap: wrap;
    line-height: 1.05;
  }

  .about-topbar-actions,
  .body-about .about-topbar-actions {
    display: contents;
  }

  .about-topbar-search,
  .body-about .about-topbar-search {
    grid-area: search;
    width: 100%;
    min-width: 0;
  }

  .about-topbar-search input,
  .body-about .about-topbar-search input {
    width: auto;
    min-width: 0;
  }

  .about-topbar-search-submit,
  .body-about .about-topbar-search-submit {
    flex: 0 0 2rem;
  }

  .about-topbar-auth,
  .body-about .about-topbar-auth {
    grid-area: login;
    justify-self: end;
    width: auto;
    min-width: 0;
    max-width: min(18rem, 44vw);
  }

  .about-topbar-auth .about-topbar-login,
  .about-topbar-auth .about-topbar-logout,
  .body-about .about-topbar-auth .about-topbar-login,
  .body-about .about-topbar-auth .about-topbar-logout {
    width: auto;
    min-width: 0;
    padding-inline: 0.6rem;
  }

  .about-topbar-auth .about-topbar-login,
  .body-about .about-topbar-auth .about-topbar-login {
    flex: 1 1 auto;
  }

  .about-topbar-auth .about-topbar-logout,
  .body-about .about-topbar-auth .about-topbar-logout {
    flex: 0 0 auto;
  }

  .about-topbar-login,
  .body-about .about-topbar-login {
    grid-area: login;
    width: auto;
    min-width: 0;
    max-width: min(9rem, 40vw);
    padding-inline: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .about-topbar-menu,
  .body-about .about-topbar-menu {
    grid-area: menu;
    justify-self: end;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 360px) {
  .about-topbar-inner,
  .body-about .about-topbar-inner {
    grid-template-areas:
      "brand menu"
      "search search"
      "login login";
  }

  .about-topbar-login,
  .body-about .about-topbar-login {
    width: 100%;
    max-width: none;
  }

  .about-topbar-auth,
  .body-about .about-topbar-auth {
    width: 100%;
    max-width: none;
  }

  .about-topbar-auth .about-topbar-login,
  .body-about .about-topbar-auth .about-topbar-login {
    width: auto;
    max-width: none;
  }
}

/* Issue #262 consolidated UI audit remediation. Keep this block late so it
   wins over the page-fidelity overrides above. */
.empty-state a,
.surface-evidence-link {
  color: var(--brand-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.empty-state a:hover,
.surface-evidence-link:hover {
  color: var(--brand-900);
}

.about-topbar-badge-green,
.body-about .about-topbar-badge-green {
  background: #2f7c39 !important;
  color: #ffffff !important;
}

.about-topbar-badge-orange,
.body-about .about-topbar-badge-orange {
  background: #e67821 !important;
  color: #0f172b !important;
}

.lifecycle-step:not(.lifecycle-step-current):not(.lifecycle-step-done):not(.lifecycle-step-success):not(.lifecycle-step-stop) .lifecycle-dot,
.lifecycle-step-branch .lifecycle-dot,
.lifecycle-step-muted .lifecycle-dot {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

.lifecycle-step-done .lifecycle-dot {
  background: #2f7c39 !important;
  border: 1px solid #2f7c39 !important;
  color: #ffffff !important;
}

.lifecycle-step-current .lifecycle-dot {
  background: #1f6f5b !important;
  border: 1px solid #1f6f5b !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 2px #a3dbc4, 0 0 0 4px #ffffff !important;
}

.lifecycle-step-success .lifecycle-dot {
  background: #2f7c39 !important;
  border: 1px solid #2f7c39 !important;
  color: #ffffff !important;
}

.lifecycle-step-stop .lifecycle-dot {
  background: #991b1b !important;
  border: 1px solid #991b1b !important;
  color: #ffffff !important;
}

@media (prefers-color-scheme: dark) {
  :is(
    body.body-consultations,
    body.body-grassroots,
    body.body-champions,
    body.body-map,
    body.body-events,
    body.body-about,
    body.body-vision-page,
    body.body-search-results,
    body.body-cum-functioneaza,
    body.body-theme-landing,
    body.body-zone-landing
  ) {
    background: #0b141c !important;
    color: #e5edf5;
  }

  :is(
    .body-consultations,
    .body-grassroots,
    .body-champions,
    .body-map,
    .body-events,
    .body-about,
    .body-vision-page,
    .body-search-results,
    .body-cum-functioneaza,
    .body-theme-landing,
    .body-zone-landing
  ) .main-full-bleed {
    background: #0b141c !important;
  }

  :is(
    .body-homepage .fig-home-platform-pill,
    .body-about .about-pill,
    .body-consultations .public-list-kicker,
    .body-consultations .consultation-browser-kicker,
    .body-grassroots .public-list-kicker,
    .body-grassroots .grassroots-browser-kicker,
    .body-champions .fig-home-platform-pill,
    .body-map .map-kicker,
    .body-events .events-browser-kicker
  ) {
    background: rgba(8, 18, 30, 0.88) !important;
    border-color: rgba(226, 232, 240, 0.28) !important;
    box-shadow: 0 16px 34px -28px rgba(0, 0, 0, 0.78) !important;
  }

  :is(
    .body-homepage .fig-home-platform-pill,
    .body-consultations .public-list-kicker,
    .body-consultations .consultation-browser-kicker
  ) {
    color: #86efac !important;
  }

  :is(
    .body-about .about-pill,
    .body-champions .fig-home-platform-pill
  ) {
    color: #bfdbfe !important;
  }

  :is(
    .body-grassroots .public-list-kicker,
    .body-grassroots .grassroots-browser-kicker
  ) {
    color: #fde68a !important;
  }

  .body-map .map-kicker {
    color: #99f6e4 !important;
  }

  .body-events .events-browser-kicker {
    color: #fed7aa !important;
  }

  :is(
    .body-consultations .consultation-browser-title,
    .body-champions .champions-hero-title,
    .body-events .events-browser-title
  ) {
    background: rgba(8, 18, 30, 0.78) !important;
    border-radius: 0.75rem !important;
    color: #f8fafc !important;
    text-shadow: none !important;
    box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.82) !important;
  }

  :is(
    .body-consultations .consultation-browser-title-line,
    .body-consultations .consultation-browser-title-line-primary,
    .body-consultations .consultation-browser-title-underline,
    .body-champions .champions-hero-title-line,
    .body-champions .champions-hero-title-underline,
    .body-events .events-browser-title-neutral,
    .body-events .events-browser-title-underline
  ) {
    color: #f8fafc !important;
  }

  :is(
    .body-consultations .consultation-browser-title-line-accent,
    .body-consultations .consultation-browser-title-accent
  ) {
    color: #86efac !important;
  }

  :is(
    .body-champions .champions-hero-title-accent,
    .body-champions .champions-hero-title-line-accent
  ) {
    color: #bfdbfe !important;
  }

  .body-events .events-browser-title-accent {
    color: #fed7aa !important;
  }

  :is(
    .body-consultations .consultation-browser-title-underline,
    .body-champions .champions-hero-title-underline,
    .body-events .events-browser-title-underline
  )::after {
    background: rgba(15, 23, 42, 0.62) !important;
  }

  :is(
    .body-consultations .public-list-filter-wrap,
    .body-grassroots .public-list-filter-wrap,
    .body-champions #champions-filters,
    .body-champions .champions-directory-shell,
    .body-map .map-layout-section,
    .body-events .events-browser-filter-bar,
    .body-about .about-section
  ) {
    background: #0b141c !important;
  }

  :is(
    .body-consultations .consultation-browser-card-title,
    .body-consultations .public-card-title,
    .body-consultations .public-list-filter-title,
    .body-consultations .public-list-results-title,
    .body-grassroots .grassroots-browser-card-title,
    .body-grassroots .public-card-title,
    .body-grassroots .public-list-filter-title,
    .body-grassroots .public-list-results-title,
    .body-grassroots .grassroots-browser-progress-head strong,
    .body-champions .champions-card-title,
    .body-champions .public-card-title,
    .body-champions .public-list-filter-title,
    .body-champions .public-list-results-title,
    .body-champions .champions-intro-card strong,
    .body-vision-page .section-title
  ) {
    color: var(--color-display) !important;
  }

  .body-about :is(.about-section-title, .about-mission-title) {
    color: var(--color-display) !important;
  }

  .body-about .about-section-title span {
    color: #bfdbfe !important;
  }

  :is(
    .body-consultations .consultation-browser-card-summary,
    .body-consultations .consultation-browser-card-meta,
    .body-consultations .public-list-results-text,
    .body-grassroots .grassroots-browser-card-summary,
    .body-grassroots .grassroots-browser-card-author,
    .body-grassroots .grassroots-browser-card-meta,
    .body-grassroots .grassroots-browser-progress-foot,
    .body-grassroots .public-list-results-text,
    .body-champions .champions-card-subtitle,
    .body-champions .champions-filter-text,
    .body-champions .champions-intro-card p,
    .body-champions .public-list-results-text
  ) {
    color: var(--color-text-secondary) !important;
  }

  a:not([class]) {
    color: #a3dbc4;
  }

  a:not([class]):hover {
    color: #d7f3e8;
  }

  :is(
    .card-title,
    .public-card-title,
    .fig-home-card-title,
    .fig-home-consultation-title,
    .fig-home-proposal-title,
    .events-browser-card-title,
    .champion-name,
    .map-result-title
  ) a {
    color: inherit;
    text-decoration: none;
  }

  :is(
    .card-title,
    .public-card-title,
    .fig-home-card-title,
    .fig-home-consultation-title,
    .fig-home-proposal-title,
    .events-browser-card-title,
    .champion-name,
    .map-result-title
  ) a:hover {
    color: #93c5fd;
    text-decoration: none;
  }

  .about-topbar {
    background: rgba(7, 19, 29, 0.92);
    border-color: rgba(128, 149, 176, 0.18);
  }

  :is(.about-topbar-link, .about-topbar-mobile-link, .about-topbar-login, .about-topbar-menu) {
    color: #f8fafc;
  }

  :is(.about-topbar-link, .about-topbar-mobile-link):hover {
    color: #bfdbfe;
  }

  .about-topbar-link-active {
    background: rgba(96, 165, 250, 0.16);
  }

  .about-topbar-brand-text span:first-child {
    color: #93c5fd;
  }

  .about-topbar-brand-text span:last-child {
    color: #86efac;
  }

  .about-topbar-search {
    background: rgba(15, 23, 42, 0.84);
    border-color: rgba(96, 165, 250, 0.36);
  }

  .about-topbar-search input {
    background: transparent;
    color: #f8fafc;
  }

  .about-topbar-search input::placeholder {
    color: #cbd5e1;
  }

  .about-topbar-logout {
    background: rgba(15, 23, 42, 0.84);
    border-color: rgba(148, 163, 184, 0.24);
    color: #e2e8f0;
  }

  .about-topbar-logout:hover {
    background: rgba(30, 41, 59, 0.92);
    color: #ffffff;
  }

  .about-page-footer-brand p,
  .about-page-footer-column a,
  .about-page-footer-meta p,
  .about-page-footer-meta span {
    color: #9fb0c3;
  }

  .about-page-footer-column h2,
  .about-page-footer-meta a,
  .about-topbar-brand-footer .about-topbar-brand-text span:last-child {
    color: #f8fafc;
  }

  .about-page-footer-column a:hover,
  .about-page-footer-meta a:hover {
    color: #ffffff;
  }

  .detail-header :is(.tag-zone, .tag-theme),
  .champions-card-zone {
    background: rgba(96, 165, 250, 0.18);
    border-color: rgba(147, 197, 253, 0.28);
    color: #bfdbfe;
  }

  .body-champions .champions-card {
    background: rgba(15, 23, 31, 0.86) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 22px 38px -30px rgba(0, 0, 0, 0.72) !important;
  }

  .body-champions .champions-card-title,
  .body-champions .champions-card-title a,
  .body-champions .champions-card-link {
    color: var(--color-display) !important;
  }

  .body-champions .champions-card-link:hover {
    color: #93c5fd !important;
    text-decoration: none;
  }

  .body-champions .champions-card-zone {
    background: rgba(96, 165, 250, 0.18) !important;
    border-color: rgba(147, 197, 253, 0.3) !important;
    color: #bfdbfe !important;
  }

  .body-map :is(.map-hero-btn-primary, .map-filter-toggle) {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #ffffff !important;
  }

  .badge-brand {
    background: var(--brand-100);
    color: var(--brand-200);
  }

  :is(.card-pro, .card-contra, .card-response, .callout-danger, .callout-amber, .callout-blue, .form-error-box) {
    color: var(--color-text-secondary);
  }

  .card-pro :is(h3, strong),
  .card-pro {
    border-color: rgba(134, 239, 172, 0.28);
  }

  .card-contra :is(h3, strong),
  .card-contra {
    border-color: rgba(252, 165, 165, 0.28);
  }

  .card-response :is(h3, strong),
  .card-response {
    border-color: rgba(147, 197, 253, 0.28);
  }

  .callout-amber {
    background: rgba(120, 53, 15, 0.72);
    border-left-color: #fcd34d;
  }

  .callout-amber-title,
  .callout-amber-text,
  .tag-expertise,
  .tag-expertise-lg {
    color: #fde68a;
  }

  .tag-expertise {
    background: rgba(120, 53, 15, 0.72);
  }

  .tag-expertise-lg:hover {
    background: rgba(146, 64, 14, 0.78);
  }

  .social-link-facebook {
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
  }

  .social-link-instagram {
    background: rgba(190, 24, 93, 0.18);
    color: #fbcfe8;
  }

  .social-link-tiktok {
    background: rgba(148, 163, 184, 0.14);
    color: #e5e7eb;
  }

  .social-link-website,
  .tag-zone-link {
    background: rgba(20, 67, 60, 0.82);
    color: #d7f3e8;
  }

  .social-link:hover,
  .tag-zone-link:hover {
    text-decoration: none;
    filter: brightness(1.08);
  }

  .section-link-blue {
    color: #93c5fd;
  }

  .section-link-green,
  .related-link-green,
  .vote-status-da,
  .text-success {
    color: #86efac;
  }

  :is(.related-link, .back-link, .doc-link, .text-brand, a.text-brand, .auth-cta a, .auth-link, a.site-link, .empty-state a, .surface-evidence-link) {
    color: #a3dbc4;
  }

  :is(.related-link, .back-link, .doc-link, .text-brand, a.text-brand, .auth-cta a, .auth-link, a.site-link, .empty-state a, .surface-evidence-link):hover {
    color: #d7f3e8;
  }

  :is(.status-box-title, .surface-panel-label, .wizard-mini-metric strong),
  .body-vision-page .status-box-title {
    color: #d7f3e8;
  }

  :is(.status-box-text, .empty-state, .lifecycle-label-future) {
    color: var(--color-text-secondary);
  }

  .lifecycle-dot-current {
    box-shadow: 0 0 0 2px var(--brand-300), 0 0 0 4px #111827;
  }

  .lifecycle-step:not(.lifecycle-step-current):not(.lifecycle-step-done):not(.lifecycle-step-success):not(.lifecycle-step-stop) .lifecycle-dot,
  .lifecycle-step-branch .lifecycle-dot,
  .lifecycle-step-muted .lifecycle-dot {
    background: rgba(148, 163, 184, 0.16) !important;
    border-color: rgba(203, 213, 225, 0.34) !important;
    color: #e2e8f0 !important;
  }

  .lifecycle-step-done .lifecycle-dot {
    background: #86efac !important;
    border-color: #86efac !important;
    color: #052e16 !important;
  }

  .lifecycle-step-current .lifecycle-dot {
    background: #a3dbc4 !important;
    border-color: #a3dbc4 !important;
    color: #052e25 !important;
    box-shadow: 0 0 0 2px rgba(163, 219, 196, 0.38), 0 0 0 4px #0b141c !important;
  }

  .lifecycle-step-success .lifecycle-dot {
    background: #86efac !important;
    border-color: #86efac !important;
    color: #052e16 !important;
  }

  .lifecycle-step-stop .lifecycle-dot {
    background: #fca5a5 !important;
    border-color: #fca5a5 !important;
    color: #450a0a !important;
  }

  :is(.profile-checkbox-card, .wizard-choice-card, .wizard-mini-metric, .wizard-review-head) {
    background: rgba(15, 23, 31, 0.82);
    border-color: rgba(148, 163, 184, 0.18);
    color: var(--color-text);
  }
}

/* Issue #284 public portal usability guardrails. Keep this late so it wins
   over the public hero fidelity overrides without changing page behavior. */
@media (max-width: 1279px) {
  .body-about .about-title {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 899px) {
  .body-about .about-title-line {
    white-space: normal !important;
  }

  .body-about .about-title-line-brand {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 0.28rem !important;
  }

  .body-about .about-hero-logo-scene {
    overflow: hidden !important;
  }

  .body-about .about-hero-word {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .body-account .auth-card.auth-card-center {
    box-sizing: border-box !important;
    width: min(100%, calc(100vw - 2rem)) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding-inline: 1rem !important;
  }

  .body-account .auth-card-center .proposal-entry-title,
  .body-account .auth-card-center .proposal-entry-text {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .body-champions .public-list-filter-card.champions-filter-card {
    box-sizing: border-box !important;
    width: min(100%, calc(100vw - 1.5rem)) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding-inline: 1rem !important;
  }

  .body-champions .champions-zone-toolbar,
  .body-champions .champions-zone-toolbar-grid,
  .body-champions .map-zone-region-card,
  .body-champions .map-zone-dropdown,
  .body-champions .map-zone-dropdown-summary {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .body-champions .champions-zone-toolbar {
    padding-inline: 0.75rem !important;
  }

  .body-champions .map-zone-region-card {
    padding-inline: 0.75rem !important;
  }

  .body-champions .map-zone-dropdown-summary {
    flex-wrap: wrap !important;
    gap: 0.45rem !important;
    padding-inline: 0.75rem !important;
  }

  .body-champions .map-zone-dropdown-label,
  .body-champions .map-zone-dropdown-count {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .body-consultations .consultation-browser-list-shell,
  .body-grassroots .grassroots-browser-list-shell {
    width: min(100% - 2rem, 72rem) !important;
  }

  .body-consultations .public-empty-state,
  .body-grassroots .public-empty-state {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (prefers-color-scheme: dark) {
  .body-about .about-summary,
  .body-consultations .consultation-browser-text,
  .body-grassroots .grassroots-browser-text {
    color: #dbeafe !important;
  }

  .body-consultations .consultation-browser-stat-card span:last-child,
  .body-grassroots .grassroots-browser-stat-card span:last-child,
  .body-consultations .consultation-browser-filter-caption,
  .body-grassroots .grassroots-browser-filter-caption {
    color: #cbd5e1 !important;
  }
}

/* Issue #284 completion audit: late public-page contrast and mobile overflow
   guards. Keep this at EOF so it wins over the hero fidelity overrides. */
@media (prefers-color-scheme: light) {
  .body-about,
  .body-account,
  .body-cum-functioneaza,
  .body-vision-page {
    --subpage-accent: #1d5f91;
    --subpage-accent-rgb: 29, 95, 145;
  }

  .body-consultations {
    --subpage-accent: #256530;
    --subpage-accent-rgb: 37, 101, 48;
  }

  .body-grassroots {
    --subpage-accent: #8a6100;
    --subpage-accent-rgb: 138, 97, 0;
    --subpage-accent-contrast: #0f172b;
  }

  .body-champions {
    --subpage-accent: #1d5f91;
    --subpage-accent-rgb: 29, 95, 145;
  }

  .body-map {
    --subpage-accent: #0f5f59;
    --subpage-accent-rgb: 15, 95, 89;
  }

  .body-events {
    --subpage-accent: #9a4b12;
    --subpage-accent-rgb: 154, 75, 18;
  }

  :is(
    .body-homepage .fig-home-platform-pill,
    .body-consultations .public-list-kicker,
    .body-consultations .consultation-browser-kicker
  ) {
    background: #eef3ee !important;
    border-color: rgba(37, 101, 48, 0.5) !important;
    color: #256530 !important;
  }

  :is(
    .body-about .about-pill,
    .body-about .about-section-kicker,
    .body-account .public-list-kicker,
    .body-error-page .public-list-kicker,
    .body-cum-functioneaza .subpage-kicker,
    .body-vision-page .subpage-kicker,
    .body-champions .fig-home-platform-pill
  ) {
    background: #edf2f6 !important;
    border-color: rgba(29, 95, 145, 0.5) !important;
    color: #1d5f91 !important;
  }

  :is(
    .body-grassroots .public-list-kicker,
    .body-grassroots .grassroots-browser-kicker
  ) {
    background: #f6f2eb !important;
    border-color: rgba(138, 97, 0, 0.54) !important;
    color: #8a6100 !important;
  }

  .body-map .map-kicker {
    background: #ecf2f2 !important;
    border-color: rgba(15, 95, 89, 0.54) !important;
    color: #0f5f59 !important;
  }

  .body-events .events-browser-kicker {
    background: #f6f0ec !important;
    border-color: rgba(146, 64, 14, 0.54) !important;
    color: #92400e !important;
  }

  :is(
    .body-homepage .fig-home-title-line-accent,
    .body-homepage .fig-home-proposals-title-accent,
    .body-homepage .fig-home-section-kicker,
    .body-consultations .consultation-browser-title-line-accent
  ) {
    color: #256530 !important;
  }

  :is(
    .body-about .about-title span,
    .body-champions .champions-hero-title-line-accent,
    .body-champions .champions-hero-title-accent
  ) {
    color: #1d5f91 !important;
  }

  .body-grassroots .grassroots-browser-title-line-accent {
    color: #8a6100 !important;
  }

  .body-map .map-hero-title-projects {
    color: #8a6100 !important;
  }

  .body-map .map-hero-title-consultations {
    color: #256530 !important;
  }

  .body-map .map-hero-title-events,
  .body-events .events-browser-title-accent,
  .body-events .events-browser-title span {
    color: #9a4b12 !important;
  }

  :is(
    .body-about .about-btn-primary,
    .body-about .about-hero .about-btn-primary,
    .body-about .about-btn-secondary,
    .body-about .about-hero .about-btn-secondary
  ) {
    background: #1d5f91 !important;
    border-color: #1d5f91 !important;
    color: #ffffff !important;
  }

  :is(.body-about .about-btn-ghost, .body-about .about-hero .about-btn-ghost) {
    background: #ffffff !important;
    border-color: #1d5f91 !important;
    color: #1d5f91 !important;
  }

  .body-grassroots .public-list-btn-primary,
  .body-grassroots .public-list-btn-primary.grassroots-browser-cta-primary {
    background: #f7b500 !important;
    border-color: #8a6100 !important;
    color: #0f172b !important;
  }

  .body-grassroots .public-list-btn-secondary {
    background: #ffffff !important;
    border-color: #8a6100 !important;
    color: #8a6100 !important;
  }

  .body-events .events-browser-primary {
    background: #9a4b12 !important;
    border-color: #9a4b12 !important;
    color: #ffffff !important;
  }

  .body-events .events-browser-secondary {
    background: #ffffff !important;
    border-color: #9a4b12 !important;
    color: #92400e !important;
  }

  :is(
    .body-map .map-frame-eyebrow,
    .body-map .map-results-eyebrow,
    .body-map .map-sidebar-eyebrow,
    .body-map .map-zone-toolbar-eyebrow,
    .public-list-filter-eyebrow,
    .public-list-results-eyebrow,
    .proposal-entry-section-eyebrow
  ) {
    color: #1d5f91 !important;
  }

  :is(
    .body-map .map-hero-text,
    .body-map .map-filter-copy,
    .body-map .map-zone-toolbar-copy,
    .body-map .map-zone-region-copy,
    .body-map .map-legend-title,
    .body-map .map-legend-item,
    .body-map .map-zoom-hint,
    .body-map .map-pin-count,
    .body-map .map-status-normal,
    .body-map .map-result-summary,
    .body-map .map-result-meta,
    .body-map .map-empty-text,
    .public-list-results-text,
    .public-field-label,
    .public-card-summary,
    .public-card-meta,
    .public-card-stats,
    .public-empty-text,
    .fig-home-section-subtitle,
    .fig-home-free-note
  ) {
    color: #475569 !important;
  }

  :is(
    .body-homepage,
    .body-about,
    .body-account,
    .body-consultations,
    .body-grassroots,
    .body-champions,
    .body-map,
    .body-events,
    .body-cum-functioneaza,
    .body-vision-page
  ) .text-muted {
    color: #475569 !important;
  }

  .body-map .map-results-count {
    background: #ecf2f2 !important;
    border: 1px solid rgba(15, 95, 89, 0.22) !important;
    color: #0f5f59 !important;
  }

  :is(
    .body-events .events-browser-calendar-pill,
    .body-events .events-browser-calendar-nav-link,
    .body-events .events-browser-month-link,
    .body-events .events-browser-calendar-event-card span
  ) {
    color: #1d5f91 !important;
  }

  .body-events .events-browser-calendar-pill {
    background: #edf2f6 !important;
    border: 1px solid rgba(29, 95, 145, 0.22) !important;
  }

  :is(
    .body-events .events-browser-text,
    .body-events .events-browser-calendar-weekdays span,
    .body-events .events-browser-calendar-empty-note,
    .body-events .events-browser-calendar-footer,
    .body-events .events-browser-time-pill,
    .body-events .events-browser-rsvp,
    .body-events .events-browser-card-copy,
    .body-events .events-browser-card-meta,
    .body-events .events-browser-empty p
  ) {
    color: #475569 !important;
  }

  .body-events .events-browser-status-programat {
    background: #edf2f6 !important;
    color: #1d5f91 !important;
  }

  .body-events .events-browser-status-in_desfasurare {
    background: #eef3ee !important;
    color: #256530 !important;
  }

  .body-events .events-browser-status-incheiat {
    background: #f0f1f3 !important;
    color: #475569 !important;
  }

  :is(.about-page-footer-brand p, .about-page-footer-column a, .about-page-footer-meta p, .about-page-footer-meta span) {
    color: #475569 !important;
  }

  :is(.about-page-footer-column h2, .about-page-footer-meta a) {
    color: #0f172b !important;
  }

  .about-page-footer-meta a:first-child,
  .about-topbar-brand-footer .about-topbar-brand-text span:first-child {
    color: #256530 !important;
  }

  .about-page-footer-meta a:last-child {
    color: #0f5f59 !important;
  }

  .about-topbar-brand-footer .about-topbar-brand-text span:last-child {
    color: #0f172b !important;
  }

  /* Issue #284 second contrast completion pass. These target the runtime
     audit leftovers after the first public-page guard layer. */
  .body-homepage :is(
    .fig-home-inline-link,
    .fig-home-consultations-view-all,
    .fig-home-proposals-view-all
  ) {
    color: #1d5f91 !important;
  }

  .body-homepage :is(
    .fig-home-inline-link,
    .fig-home-consultations-view-all,
    .fig-home-proposals-view-all
  ):hover {
    color: #0f5f59 !important;
  }

  .body-homepage .fig-home-impact-stat-green .home-metric-value {
    color: #256530 !important;
  }

  .body-homepage .fig-home-impact-stat-blue .home-metric-value {
    color: #1d5f91 !important;
  }

  .body-homepage .fig-home-impact-stat-teal .home-metric-value {
    color: #0f766e !important;
  }

  .body-homepage .fig-home-impact-stat-amber .home-metric-value {
    color: #9a4b12 !important;
  }

  .body-homepage .fig-home-impact-stat-purple .home-metric-value {
    color: #6d28d9 !important;
  }

  .body-homepage .fig-home-newsletter-title,
  .body-homepage .fig-home-newsletter-text {
    background-color: #123f5e !important;
    border-radius: 0.45rem !important;
    box-decoration-break: clone !important;
    -webkit-box-decoration-break: clone !important;
  }

  .body-homepage .fig-home-newsletter-title {
    display: inline-block !important;
    padding: 0.08em 0.18em !important;
    color: #ffffff !important;
  }

  .body-homepage .fig-home-newsletter-text {
    display: block !important;
    width: fit-content !important;
    max-width: 42rem !important;
    padding: 0.12rem 0.28rem !important;
    color: #e6f4ff !important;
  }

  .body-homepage .fig-home-newsletter-form-shell .newsletter-helper {
    background-color: #ffffff !important;
    color: #475569 !important;
  }

  .body-about :is(p.empty-state, .empty-state),
  .body-champions :is(p.empty-state, .empty-state, .champions-empty-state strong, .champions-empty-state p) {
    color: #475569 !important;
  }

  .body-consultations .consultation-browser-title-underline {
    color: #256530 !important;
  }

  .body-consultations .consultation-browser-stat-card span:last-child {
    color: #475569 !important;
  }

  .body-champions :is(
    .fig-home-title-line-accent,
    .champions-hero-title-accent,
    .champions-hero-title-line-accent
  ) {
    color: #1d5f91 !important;
  }

  .body-events .events-browser-calendar-day-number {
    background-color: #e8f0f7 !important;
    color: #253245 !important;
  }

  .body-events .events-browser-calendar-day-today .events-browser-calendar-day-number {
    background: #1d5f91 !important;
    background-color: #1d5f91 !important;
    color: #ffffff !important;
  }

  .body-events .events-browser-time-pill-active,
  .body-events .events-browser-time-pill-active strong {
    background: #1b2540 !important;
    background-color: #1b2540 !important;
    border-color: #1b2540 !important;
    color: #ffffff !important;
  }

  .body-map .map-hero-btn-primary {
    background: #0f5f59 !important;
    background-color: #0f5f59 !important;
    border-color: #0f5f59 !important;
    color: #ffffff !important;
  }
}

@media (max-width: 767px) {
  :is(
    .public-list-shell,
    .home-container,
    .events-browser-shell,
    .about-shell-wide,
    .fig-home-shell,
    .subpage-shell,
    .subpage-hero-shell
  ) {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  :is(
    .public-list-filter-card,
    .public-empty-state,
    .public-card,
    .events-browser-calendar,
    .map-frame,
    .map-container
  ) {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  :is(.body-consultations .consultation-browser-list-shell, .body-grassroots .grassroots-browser-list-shell) {
    width: min(100% - 1.5rem, 72rem) !important;
    padding-inline: 0 !important;
  }

  .body-map .map-hero-section > .home-container {
    width: min(100% - 1.5rem, 100%) !important;
    padding-inline: 0 !important;
  }

  :is(
    .body-map .map-hero-section,
    .body-map .map-hero-layout,
    .body-map .map-hero-copy,
    .body-map .map-hero-visual,
    .body-map .map-layout-grid,
    .body-map .map-stage-column
  ) {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .body-map .map-hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
  }

  .body-map .map-hero-title {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  .body-map .map-hero-title-line {
    white-space: normal !important;
  }

  .body-map .map-frame-header,
  .body-map .map-frame-footer {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .body-map .map-container {
    height: min(29rem, calc(100vh - 9rem)) !important;
    min-height: 22rem !important;
  }

  .body-map .map-filter-toggle {
    max-width: calc(100% - 2rem) !important;
    white-space: normal !important;
  }

  .body-events .events-browser-calendar {
    overflow: hidden !important;
  }

  .body-events .events-browser-calendar-weekdays,
  .body-events .events-browser-calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }

  .body-events .events-browser-calendar-day {
    min-width: 0 !important;
  }
}

/* Issue #284 third audit pass: final deployed contrast and desktop hero
   overflow guards. Keep this at EOF so it wins over prior guard layers. */
.body-events .events-browser-time-pill-active,
.body-events .events-browser-time-pill-active:visited {
  background: #1b2540 !important;
  background-color: #1b2540 !important;
  border-color: #1b2540 !important;
  color: #ffffff !important;
}

.body-events .events-browser-time-pill-active * {
  color: inherit !important;
}

.about-topbar-login,
.about-topbar-login:visited,
.body-about .about-topbar-login,
.body-homepage .about-topbar-login {
  background: #1d5f91 !important;
  background-color: #1d5f91 !important;
  border-color: #1d5f91 !important;
  color: #ffffff !important;
}

.about-topbar-login *,
.body-about .about-topbar-login *,
.body-homepage .about-topbar-login * {
  color: inherit !important;
}

.about-topbar-login:hover,
.about-topbar-login:focus-visible,
.body-about .about-topbar-login:hover,
.body-about .about-topbar-login:focus-visible,
.body-homepage .about-topbar-login:hover,
.body-homepage .about-topbar-login:focus-visible {
  background: #164a73 !important;
  background-color: #164a73 !important;
  border-color: #164a73 !important;
  color: #ffffff !important;
}

@media (min-width: 1280px) {
  .body-homepage .fig-home-hero,
  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero,
  .body-champions .fig-home-hero,
  .body-map .map-hero-section {
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  .body-homepage .fig-home-hero > .fig-home-shell,
  .body-consultations .consultation-browser-hero > .public-list-shell,
  .body-grassroots .grassroots-browser-hero > .public-list-shell,
  .body-champions .fig-home-hero > .fig-home-shell,
  .body-map .map-hero-section > .home-container {
    box-sizing: border-box !important;
    width: min(calc(100vw - 3rem), 1600px) !important;
    max-width: calc(100vw - 3rem) !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .body-homepage .fig-home-hero-grid {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, min(560px, 43%)) minmax(0, min(700px, 53%)) !important;
    column-gap: clamp(24px, 3vw, 48px) !important;
  }

  .body-consultations .consultation-browser-hero-shell,
  .body-grassroots .grassroots-browser-hero-shell,
  .body-champions .champions-hero-grid,
  .body-map .map-hero-layout {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, min(560px, 45%)) minmax(0, min(568px, 43%)) !important;
    column-gap: clamp(24px, 3vw, 48px) !important;
  }

  .body-homepage .fig-home-copy,
  .body-consultations .consultation-browser-copy,
  .body-grassroots .grassroots-browser-copy,
  .body-champions .champions-hero-copy,
  .body-map .map-hero-copy {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 560px !important;
    overflow-wrap: anywhere !important;
  }

  .body-homepage .fig-home-visual {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 700px !important;
  }

  .body-homepage .fig-home-visual-card {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 700px !important;
  }

  .body-consultations .consultation-browser-visual,
  .body-grassroots .grassroots-browser-visual,
  .body-champions .champions-hero-visual,
  .body-map .map-hero-visual {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 568px !important;
  }

  .body-consultations .consultation-browser-visual-card,
  .body-consultations .consultation-browser-visual-media,
  .body-consultations .consultation-browser-heading-art,
  .body-consultations .consultation-browser-stats-side,
  .body-grassroots .grassroots-browser-visual-card,
  .body-grassroots .grassroots-browser-hero-image,
  .body-grassroots .grassroots-browser-stats-side,
  .body-champions .champions-hero-panel,
  .body-champions .champions-hero-visual-image,
  .body-map .map-hero-image {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .body-homepage .fig-home-community-footer {
    box-sizing: border-box !important;
    width: min(100%, 31rem) !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .body-homepage .fig-home-community-copy {
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (prefers-color-scheme: dark) {
  .body-homepage :is(
    .fig-home-summary,
    .fig-home-summary *,
    .fig-home-summary-line,
    .fig-home-section-subtitle,
    .fig-home-card-text,
    .fig-home-consultation-description,
    .fig-home-proposal-description,
    .fig-home-capability-text,
    .fig-home-step-text,
    .fig-home-impact-stat p,
    .fig-home-transparency-copy p,
    .fig-home-community-copy span,
    .fig-home-free-note,
    .home-metric-title,
    .home-metric-text
  ) {
    color: #dbeafe !important;
  }

  .body-homepage :is(
    .fig-home-section-kicker,
    .fig-home-inline-link,
    .fig-home-capability-link,
    .fig-home-consultations-view-all,
    .fig-home-proposals-view-all
  ) {
    color: #93c5fd !important;
  }

  .body-homepage :is(
    .fig-home-inline-link,
    .fig-home-capability-link,
    .fig-home-consultations-view-all,
    .fig-home-proposals-view-all
  ):hover {
    color: #bfdbfe !important;
  }

  .body-homepage :is(
    .fig-home-impact-stat strong,
    .home-metric-value,
    .fig-home-community-copy strong,
    .fig-home-card-title a,
    .fig-home-consultation-title a,
    .fig-home-proposal-title a
  ) {
    color: #f8fafc !important;
  }

  .body-about :is(
    .about-summary,
    .about-section-text,
    .about-mission-copy p,
    .about-board-body p,
    .about-cta-band p,
    .about-page p,
    .about-feature-metric span,
    .about-metric-card span,
    .about-page-footer-brand p,
    .about-page-footer-column a,
    .about-page-footer-meta p,
    .about-page-footer-meta span
  ) {
    color: #dbeafe !important;
  }

  .body-about :is(.about-feature-metric, .about-metric-card) {
    background: rgba(15, 23, 42, 0.88) !important;
    border-color: rgba(147, 197, 253, 0.22) !important;
    color: #dbeafe !important;
  }

  .body-about :is(.about-feature-metric strong, .about-metric-card strong) {
    color: #f8fafc !important;
  }

  .body-consultations :is(.public-list-btn-secondary, .public-list-btn-secondary:visited),
  .body-grassroots :is(.public-list-btn-secondary, .public-list-btn-secondary:visited) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0f172b !important;
  }

  .body-consultations .public-list-btn-secondary {
    border-color: #2f7c39 !important;
  }

  .body-grassroots .public-list-btn-secondary {
    border-color: #8a6100 !important;
  }

  .body-consultations .public-list-btn-secondary *,
  .body-grassroots .public-list-btn-secondary * {
    color: inherit !important;
  }

  :is(
    .body-consultations .public-list-filter-eyebrow,
    .body-grassroots .public-list-filter-eyebrow,
    .body-champions .public-list-filter-eyebrow,
    .public-list-results-eyebrow,
    .public-inline-link
  ) {
    color: #93c5fd !important;
  }

  :is(.public-inline-link:hover, .public-inline-link:focus-visible) {
    color: #bfdbfe !important;
  }

  .body-consultations :is(.consultation-browser-stat-card, .public-card),
  .body-grassroots :is(.grassroots-browser-stat-card, .public-card) {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: rgba(203, 213, 225, 0.18) !important;
    color: #dbeafe !important;
  }

  .body-consultations .consultation-browser-stat-card strong,
  .body-grassroots .grassroots-browser-stat-card strong,
  .body-consultations .public-card-metrics dd,
  .body-grassroots .public-card-metrics dd {
    color: #f8fafc !important;
  }

  .body-consultations .consultation-browser-stat-card span:last-child,
  .body-grassroots .grassroots-browser-stat-card span:last-child,
  .body-consultations .public-card-metrics dt,
  .body-grassroots .public-card-metrics dt,
  .body-consultations .public-card-stats,
  .body-grassroots .public-card-stats {
    color: #cbd5e1 !important;
  }

  .body-grassroots :is(.public-list-btn-primary, .public-list-btn-primary:visited, .grassroots-browser-cta-primary) {
    background: #fbbf24 !important;
    background-color: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #111827 !important;
  }

  .body-grassroots :is(.public-list-btn-primary, .grassroots-browser-cta-primary) * {
    color: inherit !important;
  }

  .body-map :is(
    .map-hero-text,
    .map-filter-copy,
    .map-zone-toolbar-copy,
    .map-zone-region-copy,
    .map-legend-title,
    .map-legend-item,
    .map-zoom-hint,
    .map-result-summary,
    .map-result-meta,
    .map-empty-text
  ),
  .body-champions :is(.fig-home-summary.champions-hero-summary, .champions-hero-summary),
  .body-events :is(.events-browser-text, .events-browser-card-copy, .events-browser-card-meta, .events-browser-empty p) {
    color: #dbeafe !important;
  }

  .body-map :is(
    .map-sidebar-eyebrow,
    .map-frame-eyebrow,
    .map-results-eyebrow,
    .map-zone-toolbar-eyebrow
  ) {
    color: #67e8f9 !important;
  }

  .body-map :is(
    .map-filter-title,
    .map-checkbox-card,
    .map-checkbox-card *,
    .map-status-chip span,
    .map-filter-toggle
  ) {
    color: #f8fafc !important;
  }

  .body-events :is(.events-browser-primary, .events-browser-primary:visited) {
    background: #fbbf24 !important;
    background-color: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #111827 !important;
  }

  .body-events :is(.events-browser-secondary, .events-browser-secondary:visited) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #fbbf24 !important;
    color: #7c2d12 !important;
  }

  .body-events :is(.events-browser-primary, .events-browser-secondary) * {
    color: inherit !important;
  }

  .body-events .events-browser-calendar {
    background:
      radial-gradient(circle at top right, rgba(251, 191, 36, 0.18), transparent 28%),
      linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(12, 22, 32, 0.96)) !important;
    border-color: rgba(251, 191, 36, 0.46) !important;
    color: #e5edf5 !important;
  }

  .body-events :is(
    .events-browser-calendar-head h2,
    .events-browser-month-label,
    .events-browser-calendar-footer strong
  ) {
    color: #f8fafc !important;
  }

  .body-events :is(
    .events-browser-calendar-weekdays span,
    .events-browser-calendar-footer,
    .events-browser-calendar-empty-note,
    .events-browser-time-pill,
    .events-browser-rsvp
  ) {
    color: #cbd5e1 !important;
  }

  .body-events :is(
    .events-browser-calendar-pill,
    .events-browser-month-switcher,
    .events-browser-month-link,
    .events-browser-calendar-nav-link
  ) {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(147, 197, 253, 0.28) !important;
    color: #bfdbfe !important;
  }

  .body-events .events-browser-calendar-day-number {
    background: #e2e8f0 !important;
    color: #0f172b !important;
  }

  .body-events .events-browser-calendar-day-today .events-browser-calendar-day-number {
    background: #fbbf24 !important;
    color: #111827 !important;
  }

  :is(
    .body-cum-functioneaza .subpage-kicker,
    .body-vision-page .subpage-kicker,
    .body-account .public-list-kicker,
    .body-error-page .public-list-kicker,
    .body-vision-page .vision-version
  ) {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(147, 197, 253, 0.34) !important;
    color: #bfdbfe !important;
  }

  .subpage-btn-secondary,
  .subpage-btn-secondary:visited {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: #93c5fd !important;
    color: #0f172b !important;
  }

  .subpage-btn-secondary * {
    color: inherit !important;
  }

  .site-footer :is(
    .footer-logo-text,
    .footer-logo-text *,
    .about-topbar-brand-footer .about-topbar-brand-text span,
    .consultation-browser-footer-logo-text,
    .consultation-browser-footer-logo-text *
  ),
  .about-topbar-brand-footer .about-topbar-brand-text span:last-child {
    color: #f8fafc !important;
  }
}

/* Issue #284 fourth contrast completion pass: targeted audit leftovers. */
.events-browser-time-pill,
.body-events .events-browser-time-pill {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: rgba(71, 85, 105, 0.28) !important;
  color: #0f172b !important;
}

.events-browser-time-pill :is(span, strong),
.body-events .events-browser-time-pill :is(span, strong) {
  color: inherit !important;
}

.events-browser-time-pill-active,
.body-events .events-browser-time-pill-active,
.events-browser-time-pill-active:visited,
.body-events .events-browser-time-pill-active:visited {
  background: #1b2540 !important;
  background-color: #1b2540 !important;
  border-color: #1b2540 !important;
  color: #ffffff !important;
}

.events-browser-time-pill-active :is(span, strong),
.body-events .events-browser-time-pill-active :is(span, strong) {
  color: inherit !important;
}

.map-noscript,
.body-map .map-noscript {
  color: #475569 !important;
}

@media (prefers-color-scheme: dark) {
  .body-homepage .fig-home-impact-stat span {
    color: #dbeafe !important;
  }

  .body-homepage .fig-home-impact-stat :is(span, strong) {
    color: inherit;
  }

  .body-about :is(
    .about-journey-card,
    .about-board-card,
    .about-champion-card,
    .about-cta-band
  ) {
    background: rgba(15, 23, 42, 0.94) !important;
    border-color: rgba(147, 197, 253, 0.28) !important;
    color: #dbeafe !important;
  }

  .body-about :is(
    .about-journey-card h3,
    .about-board-body h3,
    .about-champion-top h3,
    .about-champion-copy h3,
    .about-cta-band h3
  ) {
    color: #f8fafc !important;
  }

  .body-about :is(
    .about-journey-card p,
    .about-board-body p,
    .about-champion-bio,
    .about-cta-band p
  ) {
    color: #dbeafe !important;
  }

  .body-about .about-inline-link,
  .body-about .about-inline-link:visited {
    color: #bfdbfe !important;
  }

  .body-about .about-inline-link :is(span, strong) {
    color: inherit !important;
  }

  .body-about .about-inline-link:hover,
  .body-about .about-inline-link:focus-visible {
    color: #f8fafc !important;
  }

  .body-about :is(
    .about-btn-primary,
    .about-hero .about-btn-primary,
    .about-cta-band .about-btn-primary
  ),
  .body-about :is(
    .about-btn-primary,
    .about-hero .about-btn-primary,
    .about-cta-band .about-btn-primary
  ):visited {
    background: #1d5f91 !important;
    background-color: #1d5f91 !important;
    border-color: #1d5f91 !important;
    color: #ffffff !important;
  }

  .body-about :is(
    .about-btn-primary,
    .about-hero .about-btn-primary,
    .about-cta-band .about-btn-primary
  ) :is(span, strong) {
    color: inherit !important;
  }

  .events-browser-time-pill,
  .body-events .events-browser-time-pill {
    background: #0f172b !important;
    background-color: #0f172b !important;
    border-color: rgba(203, 213, 225, 0.34) !important;
    color: #e2e8f0 !important;
  }

  .events-browser-time-pill-active,
  .body-events .events-browser-time-pill-active,
  .events-browser-time-pill-active:visited,
  .body-events .events-browser-time-pill-active:visited {
    background: #1b2540 !important;
    background-color: #1b2540 !important;
    border-color: rgba(219, 234, 254, 0.34) !important;
    color: #ffffff !important;
  }

  .events-browser-time-pill :is(span, strong),
  .body-events .events-browser-time-pill :is(span, strong),
  .events-browser-time-pill-active :is(span, strong),
  .body-events .events-browser-time-pill-active :is(span, strong) {
    color: inherit !important;
  }

  .body-events .events-browser-empty {
    background: rgba(15, 23, 42, 0.94) !important;
    border-color: rgba(251, 191, 36, 0.34) !important;
    color: #dbeafe !important;
  }

  .body-events .events-browser-empty h3 {
    color: #f8fafc !important;
  }

  .body-events .events-browser-empty p {
    color: #dbeafe !important;
  }

  .body-events .events-browser-calendar {
    background:
      radial-gradient(circle at top right, rgba(251, 191, 36, 0.16), transparent 28%),
      linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(8, 16, 29, 0.98)) !important;
    border-color: rgba(251, 191, 36, 0.46) !important;
    color: #e2e8f0 !important;
  }

  .body-events :is(
    .events-browser-calendar-head h2,
    .events-browser-month-label,
    .events-browser-calendar-footer strong
  ) {
    color: #f8fafc !important;
  }

  .body-events .events-browser-calendar-day,
  .body-events .events-browser-calendar-day-muted {
    background: rgba(15, 23, 42, 0.84) !important;
    border-color: rgba(203, 213, 225, 0.22) !important;
    color: #e2e8f0 !important;
    opacity: 1 !important;
  }

  .body-events .events-browser-calendar-day-number {
    background: transparent !important;
    color: #f8fafc !important;
  }

  .body-events .events-browser-calendar-day-today .events-browser-calendar-day-number {
    background: #fbbf24 !important;
    background-color: #fbbf24 !important;
    color: #111827 !important;
  }

  .body-events .events-browser-calendar-empty-note {
    background: rgba(15, 23, 42, 0.9) !important;
    color: #dbeafe !important;
  }

  .body-grassroots .grassroots-browser-title-underline {
    color: #fde68a !important;
  }

  .body-map .map-hero-title-underline {
    color: #99f6e4 !important;
  }

  .map-noscript,
  .body-map .map-noscript {
    background: rgba(15, 23, 42, 0.92) !important;
    color: #dbeafe !important;
  }
}

/* Issue #284 final active event time-pill contrast guard. */
html body.body-events .events-browser-time-pills a.events-browser-time-pill.events-browser-time-pill-active,
html body.body-events .events-browser-time-pills a.events-browser-time-pill.events-browser-time-pill-active:visited,
html body.body-events .events-browser-time-pills a.events-browser-time-pill.events-browser-time-pill-active:hover,
html body.body-events .events-browser-time-pills a.events-browser-time-pill.events-browser-time-pill-active:focus-visible {
  background: #1b2540 !important;
  background-color: #1b2540 !important;
  border-color: #1b2540 !important;
  color: #ffffff !important;
}

html body.body-events .events-browser-time-pills a.events-browser-time-pill.events-browser-time-pill-active :is(span, strong),
html body.body-events .events-browser-time-pills a.events-browser-time-pill.events-browser-time-pill-active * {
  color: #ffffff !important;
}

/* Issue #284 final usability audit closure: narrow guards for the remaining
   deployed public-page clipping, target-size, and contrast findings. */
.body-grassroots .grassroots-browser-text.page-hero-summary,
.body-champions .champions-hero-summary.page-hero-summary {
  display: block !important;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

.body-events .events-browser-title.page-hero-title {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}

.body-events .events-browser-month-link {
  box-sizing: border-box !important;
  width: 2rem !important;
  min-width: 2rem !important;
  height: 2rem !important;
  min-height: 2rem !important;
  line-height: 1 !important;
}

.about-page-footer-column a,
.about-page-footer-meta a {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 1.5rem !important;
  padding-block: 0.125rem !important;
  line-height: 1.35 !important;
}

.body-about .about-hero-word-gold {
  color: #8a6100 !important;
}

.body-about .about-hero-word-blue {
  color: #1d5f91 !important;
}

.body-about .about-hero-word-orange {
  color: #92400e !important;
}

html[data-theme="dark"] body.body-about .about-hero-word-gold {
  color: #fde68a !important;
}

html[data-theme="dark"] body.body-about .about-hero-word-blue {
  color: #bfdbfe !important;
}

html[data-theme="dark"] body.body-about .about-hero-word-orange {
  color: #fdba74 !important;
}

@media (prefers-color-scheme: dark) {
  body.body-about .about-hero-word-gold {
    color: #fde68a !important;
  }

  body.body-about .about-hero-word-blue {
    color: #bfdbfe !important;
  }

  body.body-about .about-hero-word-orange {
    color: #fdba74 !important;
  }
}

.body-map .map-status-chip span {
  background: #ffffff !important;
  border-color: rgba(71, 85, 105, 0.24) !important;
  color: #334155 !important;
}

.body-map .map-status-chip input:checked + span {
  background: #ecf2f2 !important;
  border-color: rgba(15, 95, 89, 0.54) !important;
  color: #0f5f59 !important;
}

.body-vision-page .vision-version {
  background: #edf2f6 !important;
  border: 1px solid rgba(29, 95, 145, 0.36) !important;
  color: #1d5f91 !important;
}

@media (prefers-color-scheme: dark) {
  .body-map .map-status-chip span {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(147, 197, 253, 0.28) !important;
    color: #dbeafe !important;
  }

  .body-map .map-status-chip input:checked + span {
    background: rgba(15, 23, 42, 0.96) !important;
    border-color: rgba(147, 197, 253, 0.4) !important;
    color: #bfdbfe !important;
  }

  .body-vision-page .vision-version {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(147, 197, 253, 0.34) !important;
    color: #bfdbfe !important;
  }
}

/* Issue #311: public topbar height and hero clearance contract. */
:root {
  --public-topbar-height: 4.6rem;
  --public-topbar-clearance: 0.625rem;
  --shell-nav-height: var(--public-topbar-height);
}

.about-topbar {
  box-sizing: border-box !important;
  height: var(--public-topbar-height) !important;
  min-height: var(--public-topbar-height) !important;
  overflow: visible !important;
}

.about-topbar-inner {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 0 !important;
  padding-block: 0 !important;
}

.main-full-bleed {
  padding-top: calc(var(--public-topbar-height) + var(--public-topbar-clearance)) !important;
}

.main-content {
  padding-top: calc(var(--public-topbar-height) + 1.5rem) !important;
}

@media (max-width: 1199px) {
  :root {
    --public-topbar-height: 7rem;
    --public-topbar-clearance: 0.75rem;
  }

  .about-topbar-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) !important;
    grid-template-rows: minmax(2.75rem, auto) minmax(2.1rem, auto) !important;
    align-content: center !important;
    align-items: center !important;
    gap: 0.45rem 0.75rem !important;
  }

  .about-topbar-links,
  .body-about .about-topbar-links {
    display: none !important;
  }

  .about-topbar-brand,
  .body-about .about-topbar-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    max-width: calc(100% - 9.5rem) !important;
    min-width: 0 !important;
  }

  .about-topbar-mark,
  .body-about .about-topbar-mark {
    width: 2.4rem !important;
    height: 2.4rem !important;
  }

  .about-topbar-brand-text,
  .body-about .about-topbar-brand-text {
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .about-topbar-actions,
  .body-about .about-topbar-actions {
    grid-column: 1 / -1 !important;
    grid-row: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) 2.75rem !important;
    grid-template-rows: 2.75rem 2.1rem !important;
    grid-template-areas:
      "topbar-spacer topbar-auth topbar-menu"
      "topbar-search topbar-search topbar-search" !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 0.45rem 0.55rem !important;
    width: 100% !important;
    min-width: 0 !important;
    pointer-events: none !important;
  }

  .about-topbar-actions > *,
  .body-about .about-topbar-actions > * {
    pointer-events: auto !important;
  }

  .about-topbar-search,
  .body-about .about-topbar-search {
    grid-area: topbar-search !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    align-self: stretch !important;
  }

  .about-topbar-search input,
  .body-about .about-topbar-search input {
    width: auto !important;
    min-width: 0 !important;
    height: 2.1rem !important;
  }

  .about-topbar-search-submit,
  .body-about .about-topbar-search-submit {
    flex: 0 0 2.25rem !important;
    width: 2.25rem !important;
    min-height: 2.1rem !important;
  }

  .about-topbar-auth,
  .body-about .about-topbar-auth,
  .about-topbar-actions > .about-topbar-login,
  .body-about .about-topbar-actions > .about-topbar-login {
    grid-area: topbar-auth !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: min(15rem, 36vw) !important;
  }

  .about-topbar-login,
  .about-topbar-logout,
  .body-about .about-topbar-login,
  .body-about .about-topbar-logout {
    min-height: 2.25rem !important;
    max-width: 100% !important;
    padding-inline: 0.75rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .about-topbar-menu,
  .body-about .about-topbar-menu {
    grid-area: topbar-menu !important;
    display: inline-flex !important;
    justify-self: end !important;
    box-sizing: border-box !important;
    width: 2.75rem !important;
    min-width: 2.75rem !important;
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  :root {
    --public-topbar-height: 7.5rem;
  }

  .about-topbar-inner {
    gap: 0.5rem !important;
  }

  .about-topbar-brand,
  .body-about .about-topbar-brand {
    max-width: calc(100% - 10.25rem) !important;
    gap: 0.55rem !important;
  }

  .about-topbar-mark,
  .body-about .about-topbar-mark {
    width: 2.2rem !important;
    height: 2.2rem !important;
  }

  .about-topbar-brand-text,
  .body-about .about-topbar-brand-text {
    font-size: 0.98rem !important;
  }

  .about-topbar-auth,
  .body-about .about-topbar-auth,
  .about-topbar-actions > .about-topbar-login,
  .body-about .about-topbar-actions > .about-topbar-login {
    max-width: min(8.5rem, 32vw) !important;
  }

  .about-topbar-login,
  .about-topbar-logout,
  .body-about .about-topbar-login,
  .body-about .about-topbar-logout {
    padding-inline: 0.6rem !important;
  }
}

@media (max-width: 380px) {
  .about-topbar-brand-text,
  .body-about .about-topbar-brand-text {
    display: none !important;
  }
}

/* Issue #313: responsive public hero/media contract after the #311 topbar. */
:is(
  .body-homepage .fig-home-hero,
  .body-about .about-hero,
  .body-consultations .consultation-browser-hero,
  .body-grassroots .grassroots-browser-hero,
  .body-champions .fig-home-hero,
  .body-map .map-hero-section,
  .body-events .events-browser-hero
) {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

:is(
  .body-homepage .fig-home-hero-grid,
  .body-about .about-hero-grid,
  .body-consultations .consultation-browser-hero-shell,
  .body-grassroots .grassroots-browser-hero-shell,
  .body-champions .champions-hero-grid,
  .body-map .map-hero-layout,
  .body-events .events-browser-hero-grid
) {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-items: start !important;
}

:is(.page-hero-body, .page-hero-title, .page-hero-summary, .page-hero-actions) {
  box-sizing: border-box !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

:is(
  .body-homepage .fig-home-actions,
  .body-about .about-hero-actions,
  .body-consultations .consultation-browser-hero-actions,
  .body-grassroots .grassroots-browser-cta-row,
  .body-champions .champions-hero-actions,
  .body-map .map-hero-actions,
  .body-events .events-browser-actions
) {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}

:is(
  .body-homepage .fig-home-title,
  .body-about .about-title,
  .body-consultations .consultation-browser-title,
  .body-grassroots .grassroots-browser-title,
  .body-champions .champions-hero-title,
  .body-map .map-hero-title,
  .body-events .events-browser-title,
  .body-homepage .fig-home-summary,
  .body-about .about-summary,
  .body-consultations .consultation-browser-text,
  .body-grassroots .grassroots-browser-text,
  .body-champions .champions-hero-summary,
  .body-map .map-hero-text,
  .body-events .events-browser-text
) {
  transform: none !important;
}

:is(
  .body-homepage .fig-home-visual,
  .body-about .about-hero-visual,
  .body-consultations .consultation-browser-visual,
  .body-grassroots .grassroots-browser-visual,
  .body-champions .champions-hero-visual,
  .body-map .map-hero-visual,
  .body-events .events-browser-visual,
  .surface-hero-visual,
  .body-homepage .fig-home-visual-card,
  .body-about .about-hero-logo-scene,
  .body-consultations .consultation-browser-visual-card,
  .body-consultations .consultation-browser-visual-media,
  .body-grassroots .grassroots-browser-visual-card,
  .body-champions .champions-hero-panel,
  .body-champions .champions-hero-visual-stage,
  .body-map .map-hero-image,
  .body-events .events-browser-calendar,
  .surface-hero-card
) {
  box-sizing: border-box !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

@media (min-width: 1280px) {
  :is(
    .body-homepage .fig-home-hero,
    .body-about .about-hero,
    .body-consultations .consultation-browser-hero,
    .body-grassroots .grassroots-browser-hero,
    .body-champions .fig-home-hero,
    .body-map .map-hero-section,
    .body-events .events-browser-hero
  ) {
    padding-block: clamp(2rem, 4vh, 3.25rem) !important;
  }

  :is(
    .body-homepage .fig-home-hero > .fig-home-shell,
    .body-about .about-hero > .about-shell-wide,
    .body-consultations .consultation-browser-hero > .public-list-shell,
    .body-grassroots .grassroots-browser-hero > .public-list-shell,
    .body-champions .fig-home-hero > .fig-home-shell,
    .body-map .map-hero-section > .home-container,
    .body-events .events-browser-hero > .events-browser-shell
  ) {
    width: min(calc(100vw - 3rem), 1600px) !important;
    max-width: min(calc(100vw - 3rem), 1600px) !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-inline: 0 !important;
    overflow: visible !important;
  }

  :is(
    .body-homepage .fig-home-hero-grid,
    .body-about .about-hero-grid,
    .body-consultations .consultation-browser-hero-shell,
    .body-grassroots .grassroots-browser-hero-shell,
    .body-champions .champions-hero-grid,
    .body-map .map-hero-layout,
    .body-events .events-browser-hero-grid
  ) {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 560px) minmax(0, 568px) !important;
    justify-content: space-between !important;
    column-gap: clamp(2rem, 4vw, 4rem) !important;
    row-gap: 0 !important;
  }

  .body-homepage .fig-home-hero-grid {
    grid-template-columns: minmax(0, 560px) minmax(0, 700px) !important;
  }

  .body-events .events-browser-hero-grid {
    grid-template-columns: minmax(0, 520px) minmax(0, 624px) !important;
  }

  .page-hero-body {
    margin: 0 0 clamp(1rem, 2vh, 1.5rem) !important;
    gap: clamp(0.8rem, 1.5vh, 1rem) !important;
  }

  :is(.page-hero-visual, .page-hero-media) {
    align-self: start !important;
  }
}

@media (min-width: 900px) and (max-width: 1279px) {
  :is(
    .body-homepage .fig-home-hero,
    .body-about .about-hero,
    .body-consultations .consultation-browser-hero,
    .body-grassroots .grassroots-browser-hero,
    .body-champions .fig-home-hero,
    .body-map .map-hero-section,
    .body-events .events-browser-hero
  ) {
    padding-block: clamp(1.25rem, 3vh, 2rem) !important;
  }

  :is(
    .body-homepage .fig-home-hero > .fig-home-shell,
    .body-about .about-hero > .about-shell-wide,
    .body-consultations .consultation-browser-hero > .public-list-shell,
    .body-grassroots .grassroots-browser-hero > .public-list-shell,
    .body-champions .fig-home-hero > .fig-home-shell,
    .body-map .map-hero-section > .home-container,
    .body-events .events-browser-hero > .events-browser-shell
  ) {
    width: min(calc(100vw - 1.5rem), 72rem) !important;
    max-width: calc(100vw - 1.5rem) !important;
    min-width: 0 !important;
    padding-inline: 0 !important;
    overflow: visible !important;
  }

  :is(
    .body-homepage .fig-home-hero-grid,
    .body-about .about-hero-grid,
    .body-consultations .consultation-browser-hero-shell,
    .body-grassroots .grassroots-browser-hero-shell,
    .body-champions .champions-hero-grid,
    .body-map .map-hero-layout,
    .body-events .events-browser-hero-grid
  ) {
    display: grid !important;
    grid-template-columns: minmax(0, 0.96fr) minmax(17rem, 0.86fr) !important;
    gap: clamp(1.25rem, 2.5vw, 2rem) !important;
  }

  :is(
    .body-homepage .fig-home-title,
    .body-about .about-title,
    .body-consultations .consultation-browser-title,
    .body-grassroots .grassroots-browser-title,
    .body-champions .champions-hero-title,
    .body-map .map-hero-title,
    .body-events .events-browser-title
  ) {
    width: auto !important;
    max-width: 14.5ch !important;
    font-size: clamp(2.25rem, 4.6vw, 3.15rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
  }

  :is(
    .body-homepage .fig-home-summary,
    .body-about .about-summary,
    .body-consultations .consultation-browser-text,
    .body-grassroots .grassroots-browser-text,
    .body-champions .champions-hero-summary,
    .body-map .map-hero-text,
    .body-events .events-browser-text
  ) {
    width: auto !important;
    max-width: 34rem !important;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem) !important;
    line-height: 1.5 !important;
  }

  .page-hero-body {
    margin: 0 0 1rem !important;
    gap: 0.8rem !important;
  }

  :is(
    .body-homepage .fig-home-copy,
    .body-about .about-hero-copy,
    .body-consultations .consultation-browser-copy,
    .body-grassroots .grassroots-browser-copy,
    .body-champions .champions-hero-copy,
    .body-map .map-hero-copy,
    .body-events .events-browser-copy
  ) {
    gap: 0 !important;
    padding: 0 !important;
  }

  :is(.page-hero-actions, .fig-home-actions, .map-hero-actions) {
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
  }

  :is(
    .body-homepage .fig-home-visual,
    .body-about .about-hero-visual,
    .body-consultations .consultation-browser-visual,
    .body-grassroots .grassroots-browser-visual,
    .body-champions .champions-hero-visual,
    .body-map .map-hero-visual,
    .body-events .events-browser-visual,
    .surface-hero-visual
  ) {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    align-self: start !important;
    justify-self: stretch !important;
  }

  :is(
    .body-homepage .fig-home-visual-card,
    .body-about .about-hero-logo-scene,
    .body-consultations .consultation-browser-visual-card,
    .body-consultations .consultation-browser-visual-media,
    .body-grassroots .grassroots-browser-visual-card,
    .body-champions .champions-hero-panel,
    .body-map .map-hero-image,
    .body-events .events-browser-calendar,
    .surface-hero-card
  ) {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  :is(
    .body-homepage .fig-home-visual-image,
    .body-about .about-hero-logo-mark,
    .body-consultations .consultation-browser-heading-art,
    .body-grassroots .grassroots-browser-hero-image,
    .body-champions .champions-hero-visual-image,
    .body-map .map-hero-image
  ) {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: min(36vh, 18rem) !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }

  .body-homepage .fig-home-community-footer {
    width: min(100%, 28rem) !important;
    padding-block: 0.65rem !important;
  }
}

@media (max-width: 899px) {
  :is(
    .body-homepage .fig-home-hero,
    .body-about .about-hero,
    .body-consultations .consultation-browser-hero,
    .body-grassroots .grassroots-browser-hero,
    .body-champions .fig-home-hero,
    .body-map .map-hero-section,
    .body-events .events-browser-hero
  ) {
    padding-top: clamp(0.875rem, 2.4vh, 1.4rem) !important;
    padding-bottom: clamp(0.65rem, 1.8vh, 1rem) !important;
  }

  :is(
    .body-homepage .fig-home-hero > .fig-home-shell,
    .body-about .about-hero > .about-shell-wide,
    .body-consultations .consultation-browser-hero > .public-list-shell,
    .body-grassroots .grassroots-browser-hero > .public-list-shell,
    .body-champions .fig-home-hero > .fig-home-shell,
    .body-map .map-hero-section > .home-container,
    .body-events .events-browser-hero > .events-browser-shell
  ) {
    width: min(calc(100vw - 1.5rem), 48rem) !important;
    max-width: calc(100vw - 1.5rem) !important;
    min-width: 0 !important;
    padding-inline: 0 !important;
    overflow: visible !important;
  }

  :is(
    .body-homepage .fig-home-hero-grid,
    .body-about .about-hero-grid,
    .body-consultations .consultation-browser-hero-shell,
    .body-grassroots .grassroots-browser-hero-shell,
    .body-champions .champions-hero-grid,
    .body-map .map-hero-layout,
    .body-events .events-browser-hero-grid
  ) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(0.65rem, 1.8vh, 1rem) !important;
  }

  :is(
    .body-homepage .fig-home-copy,
    .body-about .about-hero-copy,
    .body-consultations .consultation-browser-copy,
    .body-grassroots .grassroots-browser-copy,
    .body-champions .champions-hero-copy,
    .body-map .map-hero-copy,
    .body-events .events-browser-copy
  ) {
    gap: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .page-hero-body {
    display: grid !important;
    gap: 0.65rem !important;
    margin: 0 0 0.85rem !important;
  }

  :is(
    .body-homepage .fig-home-title,
    .body-about .about-title,
    .body-consultations .consultation-browser-title,
    .body-grassroots .grassroots-browser-title,
    .body-champions .champions-hero-title,
    .body-map .map-hero-title,
    .body-events .events-browser-title
  ) {
    width: auto !important;
    max-width: 100% !important;
    font-size: clamp(1.95rem, 9vw, 2.65rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
    text-wrap: balance !important;
  }

  :is(
    .body-homepage .fig-home-title-line,
    .body-homepage .fig-home-title-line-first,
    .body-homepage .fig-home-title-line-nowrap,
    .body-about .about-title-line,
    .body-about .about-title-line-brand,
    .body-consultations .consultation-browser-title-line,
    .body-grassroots .grassroots-browser-title-line,
    .body-champions .champions-hero-title-line,
    .body-map .map-hero-title-line,
    .body-events .events-browser-title span
  ) {
    white-space: normal !important;
  }

  :is(
    .body-homepage .fig-home-summary,
    .body-about .about-summary,
    .body-consultations .consultation-browser-text,
    .body-grassroots .grassroots-browser-text,
    .body-champions .champions-hero-summary,
    .body-map .map-hero-text,
    .body-events .events-browser-text
  ) {
    width: auto !important;
    max-width: 100% !important;
    font-size: 0.95rem !important;
    line-height: 1.42 !important;
    text-wrap: pretty !important;
  }

  :is(
    .body-homepage .fig-home-actions,
    .body-about .about-hero-actions,
    .body-consultations .consultation-browser-hero-actions,
    .body-grassroots .grassroots-browser-cta-row,
    .body-champions .champions-hero-actions,
    .body-map .map-hero-actions,
    .body-events .events-browser-actions
  ) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
    margin: 0 !important;
  }

  :is(
    .body-homepage .fig-home-btn,
    .body-about .about-hero .about-btn,
    .body-consultations .public-list-btn,
    .body-grassroots .public-list-btn,
    .body-champions .fig-home-btn,
    .body-map .map-hero-btn,
    .body-events .events-browser-primary,
    .body-events .events-browser-secondary
  ) {
    width: min(100%, 15.75rem) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 2.95rem !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
  }

  :is(
    .body-homepage .fig-home-visual,
    .body-about .about-hero-visual,
    .body-consultations .consultation-browser-visual,
    .body-grassroots .grassroots-browser-visual,
    .body-champions .champions-hero-visual,
    .body-map .map-hero-visual,
    .body-events .events-browser-visual,
    .surface-hero-visual
  ) {
    order: initial !important;
    width: min(100%, 22rem) !important;
    max-width: 100% !important;
    min-height: 0 !important;
    justify-self: center !important;
    align-self: start !important;
  }

  :is(
    .body-homepage .fig-home-visual-card,
    .body-about .about-hero-logo-scene,
    .body-consultations .consultation-browser-visual-card,
    .body-consultations .consultation-browser-visual-media,
    .body-grassroots .grassroots-browser-visual-card,
    .body-champions .champions-hero-panel,
    .body-map .map-hero-image,
    .body-events .events-browser-calendar,
    .surface-hero-card
  ) {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  :is(
    .body-homepage .fig-home-visual-image,
    .body-about .about-hero-logo-mark,
    .body-consultations .consultation-browser-heading-art,
    .body-grassroots .grassroots-browser-hero-image,
    .body-champions .champions-hero-visual-image,
    .body-map .map-hero-image
  ) {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: clamp(9rem, 24vh, 13rem) !important;
    margin-inline: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }

  .body-homepage .fig-home-visual-card {
    align-items: center !important;
    gap: 0.45rem !important;
  }

  .body-homepage .fig-home-community-footer {
    position: static !important;
    width: min(100%, 18rem) !important;
    padding: 0.45rem 0.6rem !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .body-homepage .fig-home-community-avatars {
    display: none !important;
  }

  .body-events .events-browser-calendar {
    display: grid !important;
    max-height: none !important;
    transform: scale(0.72) !important;
    transform-origin: top center !important;
    margin-bottom: -5rem !important;
  }

  :is(
    .body-about .about-hero-grid,
    .body-events .events-browser-hero-grid,
    .body-events .events-browser-visual
  ) {
    padding-bottom: 0.85rem !important;
  }

  .body-consultation-detail .surface-hero {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
  }

  .body-consultation-detail .surface-hero-shell {
    gap: 0.75rem !important;
  }

  .body-consultation-detail .surface-hero-copy {
    gap: 0.55rem !important;
  }

  .body-consultation-detail .surface-badge-row,
  .body-consultation-detail .surface-chip-row {
    gap: 0.45rem !important;
  }

  .body-consultation-detail .surface-chip {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  .body-consultation-detail .surface-kicker {
    font-size: 0.72rem !important;
  }

  .body-consultation-detail .surface-title {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem) !important;
    line-height: 0.96 !important;
  }

  .body-consultation-detail .surface-text-lg {
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
  }

  .body-consultation-detail .surface-metric-grid {
    display: none !important;
  }

  .body-consultation-detail .surface-hero-visual {
    width: min(100%, 18rem) !important;
  }

  .body-consultation-detail .surface-hero-visual .hero-map-section {
    height: 9.5rem !important;
    min-height: 0 !important;
    max-height: 9.5rem !important;
  }
}

@media (max-width: 430px) {
  :is(
    .body-homepage .fig-home-title,
    .body-about .about-title,
    .body-consultations .consultation-browser-title,
    .body-grassroots .grassroots-browser-title,
    .body-champions .champions-hero-title,
    .body-map .map-hero-title,
    .body-events .events-browser-title
  ) {
    font-size: clamp(1.85rem, 8.2vw, 2.25rem) !important;
  }

  :is(
    .body-homepage .fig-home-summary,
    .body-about .about-summary,
    .body-consultations .consultation-browser-text,
    .body-grassroots .grassroots-browser-text,
    .body-champions .champions-hero-summary,
    .body-map .map-hero-text,
    .body-events .events-browser-text
  ) {
    font-size: 0.92rem !important;
    line-height: 1.38 !important;
  }

  .page-hero-body {
    margin-bottom: 0.7rem !important;
  }

  :is(
    .body-homepage .fig-home-actions,
    .body-about .about-hero-actions,
    .body-consultations .consultation-browser-hero-actions,
    .body-grassroots .grassroots-browser-cta-row,
    .body-champions .champions-hero-actions,
    .body-map .map-hero-actions,
    .body-events .events-browser-actions
  ) {
    gap: 0.5rem !important;
  }

  :is(
    .body-homepage .fig-home-visual-card,
    .body-about .about-hero-logo-scene,
    .body-consultations .consultation-browser-visual-card,
    .body-consultations .consultation-browser-visual-media,
    .body-grassroots .grassroots-browser-visual-card,
    .body-champions .champions-hero-panel,
    .body-map .map-hero-image,
    .surface-hero-card
  ) {
    max-height: none !important;
  }

  :is(
    .body-homepage .fig-home-visual-image,
    .body-about .about-hero-logo-mark,
    .body-consultations .consultation-browser-heading-art,
    .body-grassroots .grassroots-browser-hero-image,
    .body-champions .champions-hero-visual-image,
    .body-map .map-hero-image
  ) {
    max-height: clamp(8.25rem, 21vh, 11.5rem) !important;
  }

  :is(
    .body-consultations .consultation-browser-heading-art,
    .body-grassroots .grassroots-browser-hero-image
  ) {
    height: min(37vh, 17.5rem) !important;
    max-height: min(37vh, 17.5rem) !important;
    width: auto !important;
    object-fit: contain !important;
  }

  :is(
    .body-consultations .consultation-browser-stats-side,
    .body-grassroots .grassroots-browser-stats-side
  ) {
    display: none !important;
  }
}

/* Issue #315: public card text and decorative overflow guards.
   Keep decorative boxes inside layout bounds; visual offset uses transforms
   so the audit's scrollWidth/scrollHeight checks only see the real card box. */
.body-about .about-metric-card::after {
  right: 0 !important;
  top: 0 !important;
  transform: none !important;
}

.body-homepage .fig-home-consultation-corner-accent {
  right: 0.75rem !important;
  bottom: 0.75rem !important;
  transform: rotate(45deg) !important;
}

.body-homepage :is(
  .fig-home-card,
  .fig-home-consultation-card,
  .fig-home-consultation-head,
  .fig-home-consultation-title-wrapper,
  .fig-home-consultation-title,
  .fig-home-consultation-title a,
  .fig-home-consultation-status-badge,
  .fig-home-consultation-status-badge-inner,
  .fig-home-consultation-status-text,
  .fig-home-consultation-description,
  .fig-home-consultation-meta,
  .fig-home-consultation-meta-item,
  .fig-home-consultation-organizer,
  .fig-home-consultation-organizer-tag,
  .fig-home-card-text,
  .fig-home-card-meta
),
.body-about :is(
  .about-metric-card,
  .about-metric-card strong,
  .about-metric-card span
),
:is(
  .public-card,
  .public-card-top,
  .public-card-footer,
  .public-card-title,
  .public-card-title a,
  .public-card-badges,
  .public-card-tags,
  .public-pill,
  .public-tag,
  .public-card-meta-chip
) {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

.body-homepage :is(
  .fig-home-consultation-status-badge-inner,
  .fig-home-consultation-status-text,
  .fig-home-consultation-organizer-tag
),
:is(.public-pill, .public-tag, .public-card-meta-chip) {
  white-space: normal !important;
}

.body-homepage .fig-home-consultation-head,
.public-card-top,
.public-card-footer {
  flex-wrap: wrap !important;
}

.body-homepage .fig-home-consultation-meta,
.body-homepage .fig-home-consultation-meta-item {
  flex-wrap: wrap !important;
}

.body-homepage .fig-home-consultation-card,
.body-about .about-metric-card,
.public-card {
  height: auto !important;
  max-height: none !important;
}

.body-champions .champions-hero-title-line {
  box-sizing: border-box !important;
  display: block !important;
  line-height: 1.16 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding-block: 0.08em !important;
  overflow-wrap: anywhere !important;
}

.body-champions .champions-hero-title {
  width: 100% !important;
  max-width: 100% !important;
}

.body-champions .champions-hero-title-underline::after {
  left: 0 !important;
  right: 0 !important;
  transform: translateX(0.28rem) rotate(-0.28deg) !important;
}

@media (max-width: 767px) {
  .body-about .about-metrics-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "spot1"
      "spot2"
      "spot3"
      "spot4"
      "spot5"
      "spot6" !important;
  }
}

@media (min-width: 1024px) {
  .body-champions .champions-hero-title {
    font-size: clamp(3.2rem, 4.35vw, 3.72rem) !important;
  }
}

/* Issue #319 Wave 5: focus visibility and scroll plateau cleanup. */
html {
  scroll-padding-top: calc(var(--public-topbar-height) + 1rem);
}

:is(
  .public-card,
  .public-card a,
  .public-field-input,
  .public-field-select,
  .map-zone-toolbar,
  .map-zone-dropdown-summary,
  .map-theme-chip,
  .map-checkbox-card,
  .map-status-chip,
  .map-reset-btn,
  .map-filter-toggle,
  .events-browser-card,
  .champions-card
) {
  scroll-margin-top: calc(var(--public-topbar-height) + 1.25rem) !important;
  scroll-margin-bottom: 1.25rem !important;
}

.body-grassroots .grassroots-browser-zone-toolbar,
.body-champions .champions-zone-toolbar {
  z-index: 1 !important;
}

.body-grassroots :is(.public-field-input, .public-field-select, .map-zone-dropdown-summary, .public-card a):focus-visible,
.body-champions :is(.map-zone-dropdown-summary, .champions-card a):focus-visible,
.body-map :is(.map-theme-chip, .map-checkbox-card input, .map-status-chip input, .map-zone-dropdown-summary):focus-visible {
  outline: 3px solid rgba(45, 121, 183, 0.72) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(45, 121, 183, 0.16) !important;
}

@media (max-width: 1023px) {
  .body-map .map-sidebar.panel-hidden {
    visibility: hidden !important;
  }

  .body-map .map-sidebar:not(.panel-hidden) {
    visibility: visible !important;
  }
}

.body-grassroots .public-list-filter-card,
.body-champions .public-list-filter-card {
  position: static !important;
  top: auto !important;
}

@media (max-width: 480px) {
  :is(.body-champions, .body-events) .about-page-footer {
    padding-top: 0 !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-surface {
    padding-block: 1rem !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-brand {
    grid-column: 1 / -1 !important;
    gap: 0.55rem !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-brand p {
    margin: 0 !important;
    line-height: 1.35 !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-column {
    gap: 0.45rem !important;
    min-width: 0 !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-column h2 {
    font-size: 0.92rem !important;
    line-height: 1.2 !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-column ul {
    gap: 0.25rem !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-column a {
    min-height: 1.55rem !important;
    padding-block: 0.05rem !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-meta {
    gap: 0.45rem !important;
    padding-top: 0.7rem !important;
  }

  :is(.body-champions, .body-events) .about-page-footer-meta div {
    gap: 0.55rem !important;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .body-about .about-journey-card {
    min-height: 13.5rem !important;
    padding: 1.1rem !important;
    gap: 0.65rem !important;
  }

  .body-about .about-journey-grid {
    align-items: stretch !important;
    gap: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .body-map .map-container {
    height: 22rem !important;
  }
}

.body-consultation-detail .surface-hero-visual .hero-map-section {
  box-sizing: border-box !important;
  display: grid;
  align-items: center;
  height: auto !important;
  min-height: clamp(21rem, 42vw, 26.25rem);
  max-height: none !important;
  padding: clamp(1rem, 2.4vw, 2rem);
  overflow: visible !important;
}

.body-consultation-detail .surface-hero-visual .hero-map-bg {
  inset: 0;
  border-radius: inherit;
  max-width: 100%;
  overflow: hidden;
}

.body-consultation-detail .surface-hero-visual .hero-map-svg {
  left: 50% !important;
  width: min(100%, 48rem);
  max-width: 100%;
  transform: translateX(-50%) !important;
}

.body-consultation-detail .surface-hero-visual .surface-hero-card {
  align-self: center;
  justify-self: end;
  box-sizing: border-box !important;
  width: min(100%, 24rem);
  max-width: 100%;
  margin: 0 !important;
  overflow: visible !important;
}

.body-consultation-detail .surface-hero-visual .surface-hero-card-grid {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

.body-consultation-detail .surface-hero-visual .glass-inset {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.body-consultation-detail .surface-hero-actions {
  width: auto !important;
  max-width: 100% !important;
  flex-wrap: wrap !important;
  align-self: start !important;
}

.body-consultation-detail .surface-hero-actions .subpage-btn {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.body-consultation-detail .auth-cta-buttons {
  flex-wrap: wrap !important;
  align-items: stretch;
  max-width: 100%;
}

.body-consultation-detail .auth-cta-buttons .btn {
  box-sizing: border-box !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
  padding-inline: 1rem 1.65rem;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.body-grassroots-detail .surface-hero-visual {
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: clip !important;
}

.body-grassroots-detail .surface-hero-visual .hero-map-section {
  box-sizing: border-box !important;
  display: grid;
  align-items: center;
  height: auto !important;
  min-height: clamp(21rem, 42vw, 26.25rem);
  max-height: none !important;
  padding: clamp(1rem, 2.4vw, 2rem);
  overflow: hidden !important;
}

.body-grassroots-detail .surface-hero-visual .hero-map-bg {
  inset: 0;
  border-radius: inherit;
  max-width: 100%;
  overflow: hidden;
}

.body-grassroots-detail .surface-hero-visual .hero-map-svg {
  left: 50% !important;
  width: min(100%, 48rem);
  max-width: 100%;
  transform: translateX(-50%) !important;
}

.body-grassroots-detail .surface-hero-visual .surface-hero-card {
  align-self: center;
  justify-self: end;
  box-sizing: border-box !important;
  width: min(100%, 24rem);
  max-width: 100%;
  margin: 0 !important;
  overflow: hidden !important;
}

.body-grassroots-detail .surface-hero-visual .surface-hero-card-grid {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

.body-grassroots-detail .surface-hero-visual .glass-inset {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.body-grassroots-detail .surface-hero-actions {
  width: auto !important;
  max-width: 100% !important;
  flex-wrap: wrap !important;
  align-self: start !important;
}

.body-grassroots-detail .surface-hero-actions .subpage-btn {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.body-grassroots-detail .auth-cta-buttons {
  flex-wrap: wrap !important;
  align-items: stretch;
  max-width: 100%;
}

.body-grassroots-detail .auth-cta-buttons .btn,
.body-grassroots-detail .surface-mini-callout .btn.btn-primary {
  box-sizing: border-box !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
  padding-inline: 1rem;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

@media (max-width: 899px) {
  .body-grassroots-detail .surface-hero {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
  }

  .body-grassroots-detail .surface-hero-shell {
    gap: 0.75rem !important;
  }

  .body-grassroots-detail .surface-hero-copy {
    gap: 0.55rem !important;
  }

  .body-grassroots-detail .surface-badge-row,
  .body-grassroots-detail .surface-chip-row {
    gap: 0.45rem !important;
  }

  .body-grassroots-detail .surface-chip {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  .body-grassroots-detail .surface-kicker {
    font-size: 0.72rem !important;
  }

  .body-grassroots-detail .surface-title {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem) !important;
    line-height: 0.96 !important;
  }

  .body-grassroots-detail .surface-text-lg {
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
  }

  .body-grassroots-detail .surface-metric-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    min-width: 0;
    max-width: 100%;
  }

  .body-grassroots-detail .surface-metric-card {
    box-sizing: border-box;
    min-width: 0;
    min-height: 5.25rem;
    padding: 0.75rem 0.7rem !important;
    border-radius: 1rem !important;
    overflow-wrap: anywhere;
  }

  .body-grassroots-detail .surface-metric-card strong {
    font-size: clamp(1.25rem, 5vw, 1.6rem) !important;
    line-height: 1;
  }

  .body-grassroots-detail .surface-metric-card span {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.74rem !important;
    line-height: 1.18;
  }

  .body-consultation-detail .surface-hero-visual {
    width: min(100%, 30rem) !important;
  }

  .body-consultation-detail .surface-hero-visual .hero-map-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0.85rem !important;
  }

  .body-consultation-detail .surface-hero-visual .surface-hero-card {
    width: 100% !important;
    padding: 0.85rem !important;
  }

  .body-consultation-detail .surface-hero-visual .surface-hero-card-grid {
    gap: 0.75rem !important;
  }

  .body-consultation-detail .surface-hero-visual .glass-inset {
    margin-top: 0 !important;
    padding: 0.85rem !important;
  }

  .body-grassroots-detail .surface-hero-visual {
    width: min(100%, 30rem) !important;
  }

  .body-grassroots-detail .surface-hero-visual .hero-map-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0.85rem !important;
  }

  .body-grassroots-detail .surface-hero-visual .surface-hero-card {
    width: 100% !important;
    padding: 0.85rem !important;
  }

  .body-grassroots-detail .surface-hero-visual .surface-hero-card-grid {
    gap: 0.75rem !important;
  }

  .body-grassroots-detail .surface-hero-visual .glass-inset {
    margin-top: 0 !important;
    padding: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .body-consultation-detail .surface-hero-actions,
  .body-consultation-detail .auth-cta-buttons {
    align-items: stretch;
  }

  .body-consultation-detail .surface-hero-actions .subpage-btn,
  .body-consultation-detail .auth-cta-buttons .btn {
    width: 100% !important;
    white-space: normal;
  }

  .body-consultation-detail .surface-hero-visual {
    width: 100% !important;
  }

  .body-consultation-detail .surface-hero-visual .hero-map-section {
    padding: 0.7rem !important;
  }

  .body-consultation-detail .surface-hero-visual .hero-map-bg {
    opacity: 0.28;
  }

  .body-consultation-detail .surface-hero-visual .surface-hero-card {
    padding: 0.7rem !important;
  }

  .body-consultation-detail .surface-hero-visual .surface-hero-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem !important;
  }

  .body-consultation-detail .surface-hero-visual .glass-inset {
    padding: 0.65rem !important;
  }

  .body-consultation-detail .surface-hero-visual .glass-inset p {
    margin-block: 0 0.25rem;
    font-size: 0.78rem;
    line-height: 1.24;
  }

  .body-consultation-detail .surface-hero-visual .glass-inset p:last-child {
    margin-bottom: 0;
  }

  .body-consultation-detail .surface-hero-visual .surface-card-label {
    font-size: 0.62rem;
    line-height: 1.1;
    letter-spacing: 0.06em;
  }

  .body-grassroots-detail .surface-hero-actions,
  .body-grassroots-detail .auth-cta-buttons {
    align-items: stretch;
  }

  .body-grassroots-detail .surface-hero-actions .subpage-btn,
  .body-grassroots-detail .auth-cta-buttons .btn,
  .body-grassroots-detail .surface-mini-callout .btn.btn-primary {
    width: 100% !important;
    white-space: normal;
  }

  .body-grassroots-detail .surface-hero-visual {
    width: 100% !important;
  }

  .body-grassroots-detail .surface-metric-grid {
    gap: 0.45rem !important;
  }

  .body-grassroots-detail .surface-metric-card {
    min-height: 4.85rem;
    padding: 0.65rem 0.45rem !important;
  }

  .body-grassroots-detail .surface-metric-card strong {
    font-size: 1.2rem !important;
  }

  .body-grassroots-detail .surface-metric-card span {
    font-size: 0.68rem !important;
    line-height: 1.12;
  }

  .body-grassroots-detail .surface-hero-visual .hero-map-section {
    padding: 0.7rem !important;
  }

  .body-grassroots-detail .surface-hero-visual .hero-map-bg {
    opacity: 0.28;
  }

  .body-grassroots-detail .surface-hero-visual .surface-hero-card {
    padding: 0.7rem !important;
  }

  .body-grassroots-detail .surface-hero-visual .surface-hero-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem !important;
  }

  .body-grassroots-detail .surface-hero-visual .glass-inset {
    padding: 0.65rem !important;
  }

  .body-grassroots-detail .surface-hero-visual .glass-inset p {
    margin-block: 0 0.25rem;
    font-size: 0.78rem;
    line-height: 1.24;
  }

  .body-grassroots-detail .surface-hero-visual .glass-inset p:last-child {
    margin-bottom: 0;
  }

  .body-grassroots-detail .surface-hero-visual .surface-card-label {
    font-size: 0.62rem;
    line-height: 1.1;
    letter-spacing: 0.06em;
  }

  @media (max-width: 380px) {
    .body-grassroots-detail .surface-hero {
      padding-block: 0.5rem !important;
    }

    .body-grassroots-detail .surface-hero-shell {
      gap: 0.5rem !important;
    }

    .body-grassroots-detail .surface-text-lg {
      margin-block: 0.45rem !important;
      font-size: 0.86rem !important;
      line-height: 1.3 !important;
    }

    .body-grassroots-detail .surface-metric-grid {
      gap: 0.3rem !important;
    }

    .body-grassroots-detail .surface-metric-card {
      min-height: 3.25rem;
      padding: 0.4rem 0.28rem !important;
      border-radius: 0.75rem !important;
    }

    .body-grassroots-detail .surface-metric-card strong {
      font-size: 0.95rem !important;
    }

    .body-grassroots-detail .surface-metric-card span {
      margin-top: 0.15rem;
      font-size: 0.58rem !important;
      line-height: 1.05;
    }

    .body-grassroots-detail .surface-hero-actions {
      gap: 0.45rem !important;
      margin-top: 0.55rem !important;
    }

    .body-grassroots-detail .surface-hero-actions .subpage-btn {
      min-height: 2.45rem;
      padding: 0.55rem 0.75rem !important;
      font-size: 0.82rem !important;
      line-height: 1.15;
    }

    .body-grassroots-detail .surface-hero-visual .hero-map-section,
    .body-grassroots-detail .surface-hero-visual .surface-hero-card {
      padding: 0.5rem !important;
    }

    .body-grassroots-detail .surface-hero-visual .surface-hero-card-grid {
      gap: 0.35rem !important;
    }

    .body-grassroots-detail .surface-hero-visual .glass-inset {
      padding: 0.45rem !important;
    }

    .body-grassroots-detail .surface-hero-visual .glass-inset p {
      font-size: 0.68rem;
      line-height: 1.12;
    }

    .body-grassroots-detail .surface-hero-visual .surface-card-label {
      font-size: 0.54rem;
      line-height: 1;
    }
  }

  .body-consultation-detail .about-page-footer-surface {
    padding: 1rem 0 0.75rem !important;
  }

  .body-consultation-detail .about-page-footer-rule {
    display: none !important;
  }

  .body-consultation-detail .about-page-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    min-width: 0;
  }

  .body-consultation-detail .about-page-footer-brand {
    grid-column: 1 / -1;
    gap: 0.45rem !important;
    min-width: 0;
  }

  .body-consultation-detail .about-page-footer-brand p {
    line-height: 1.35 !important;
  }

  .body-consultation-detail .about-page-footer-social {
    display: none !important;
  }

  .body-consultation-detail .about-page-footer-column {
    display: grid !important;
    gap: 0.35rem !important;
    align-content: start;
    min-width: 0;
  }

  .body-consultation-detail .about-page-footer-column h2 {
    margin: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
  }

  .body-consultation-detail .about-page-footer-column ul {
    gap: 0.15rem !important;
  }

  .body-consultation-detail .about-page-footer-column li {
    display: grid !important;
  }

  .body-consultation-detail .about-page-footer-column a {
    width: 100% !important;
    min-height: 2rem !important;
    padding-block: 0.25rem !important;
  }

  .body-consultation-detail .about-page-footer-meta {
    gap: 0.4rem !important;
    min-width: 0;
    padding-top: 0.75rem !important;
  }

  .body-consultation-detail .about-page-footer-meta div {
    gap: 0.5rem !important;
  }
}
