:root {
        --vi-navy: #073c3a;
        --vi-teal: #0f766e;
        --vi-teal-light: #e6f3f2;
        --vi-teal-dark: #042f2e;
        --vi-ink: #0f172a;
        --vi-muted: #64748b;
        --vi-line: #e2e8f0;
        --vi-bg: #f8fafc;
        --vi-paper: #ffffff;
        --vi-amber: #d97706;
        --vi-amber-light: #fef3c7;
        --vi-green: #15803d;
        --vi-green-light: #dcfce7;
        --vi-blue: #0284c7;
        --vi-blue-light: #e0f2fe;
        --vi-rose: #e11d48;
        --vi-rose-light: #ffe4e6;
        --vi-purple: #7c3aed;
        --vi-purple-light: #ede9fe;
      }

      body {
        background: var(--vi-bg);
        color: var(--vi-ink);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        margin: 0;
        padding: 0;
        line-height: 1.5;
      }

      /* Top Staging Banner */
      .vi-topbar {
        background: #0f172a;
        color: #94a3b8;
        padding: 8px 24px;
        font-size: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        border-bottom: 1px solid #334155;
      }
      .vi-topbar-left {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .vi-badge-quarantine {
        background: #f59e0b;
        color: #0f172a;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 11px;
        letter-spacing: 0.5px;
      }
      .vi-topbar-links a {
        color: #38bdf8;
        text-decoration: none;
        margin-left: 16px;
        font-weight: 500;
      }
      .vi-topbar-links a:hover {
        text-decoration: underline;
      }

      /* Header */
      .vi-header {
        background: var(--vi-navy);
        color: #fff;
        padding: 20px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
        border-bottom: 4px solid var(--vi-teal);
      }
      .vi-brand {
        display: flex;
        align-items: center;
        gap: 14px;
      }
      .vi-brand-logo {
        width: 44px;
        height: 44px;
        background: var(--vi-teal);
        color: #fff;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 20px;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2);
      }
      .vi-brand h1 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: -0.3px;
        color: #fff;
      }
      .vi-brand p {
        margin: 2px 0 0;
        font-size: 12px;
        color: #99f6e4;
      }

      /* Hero */
      .vi-hero {
        background: #ffffff;
        border-bottom: 1px solid var(--vi-line);
        padding: 32px 24px;
      }
      .vi-hero-inner {
        max-width: 1320px;
        margin: 0 auto;
      }
      .vi-hero-title {
        font-size: 28px;
        font-weight: 800;
        color: var(--vi-navy);
        margin: 0 0 10px;
        letter-spacing: -0.5px;
      }
      .vi-hero-desc {
        font-size: 15px;
        color: var(--vi-muted);
        max-width: 950px;
        margin: 0 0 20px;
        line-height: 1.6;
      }

      /* Number Index Quick Jump */
      .vi-quick-index {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px dashed var(--vi-line);
      }
      .vi-quick-index span {
        font-size: 12px;
        font-weight: 700;
        color: var(--vi-navy);
        margin-right: 6px;
      }
      .vi-jump-pill {
        background: #f1f5f9;
        border: 1px solid var(--vi-line);
        color: var(--vi-teal);
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 11.5px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.15s ease;
      }
      .vi-jump-pill:hover {
        background: var(--vi-teal);
        color: #ffffff;
        border-color: var(--vi-teal);
      }

      .vi-filter-bar {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
      }
      .vi-filter-btn {
        background: var(--vi-bg);
        border: 1px solid var(--vi-line);
        color: var(--vi-muted);
        padding: 7px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
      }
      .vi-filter-btn:hover {
        background: #e2e8f0;
        color: var(--vi-ink);
      }
      .vi-filter-btn.active {
        background: var(--vi-teal);
        border-color: var(--vi-teal);
        color: #fff;
      }

      /* Main Gallery Container */
      .vi-main {
        max-width: 1320px;
        margin: 32px auto;
        padding: 0 24px;
      }

      /* Cards Grid */
      .vi-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 24px;
      }

      /* Infographic Card */
      .vi-card {
        background: var(--vi-paper);
        border: 1px solid var(--vi-line);
        border-radius: 12px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.04);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }
      .vi-card:hover {
        box-shadow: 0 8px 16px rgba(0,0,0,0.08);
      }
      .vi-card.col-6 {
        grid-column: span 6;
      }
      .vi-card.col-12 {
        grid-column: span 12;
      }
      @media (max-width: 1024px) {
        .vi-card.col-6 {
          grid-column: span 12;
        }
      }

      /* Card Top Border Accent */
      .vi-card-accent {
        height: 5px;
        background: linear-gradient(90deg, var(--vi-teal), #0d9488);
      }

      /* Card Header */
      .vi-card-header {
        padding: 20px 24px 12px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        flex-wrap: wrap;
      }
      .vi-header-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
        flex-wrap: wrap;
      }
      .vi-number-badge {
        background: var(--vi-navy);
        color: #ffffff;
        font-size: 11px;
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 4px;
        letter-spacing: 0.5px;
        display: inline-flex;
        align-items: center;
      }
      .vi-card-tag {
        display: inline-block;
        font-size: 10.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: var(--vi-teal);
        background: var(--vi-teal-light);
        padding: 3px 8px;
        border-radius: 4px;
      }
      .vi-card-title {
        font-size: 19px;
        font-weight: 700;
        color: var(--vi-navy);
        margin: 0 0 4px;
        letter-spacing: -0.3px;
      }
      .vi-card-subtitle {
        font-size: 13px;
        color: var(--vi-muted);
        margin: 0;
        line-height: 1.4;
      }
      .vi-card-controls {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
      }
      .vi-ctrl-btn {
        background: #f1f5f9;
        border: 1px solid var(--vi-line);
        color: #475569;
        padding: 5px 10px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.15s ease;
      }
      .vi-ctrl-btn:hover {
        background: #e2e8f0;
        color: #0f172a;
      }
      .vi-ctrl-btn.active {
        background: var(--vi-navy);
        border-color: var(--vi-navy);
        color: #ffffff;
      }

      /* Chart Canvas / SVG Container */
      .vi-chart-container {
        padding: 12px 24px 16px;
        position: relative;
        background: #ffffff;
        min-height: 380px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .vi-chart-svg {
        width: 100%;
        height: auto;
        max-height: 440px;
        display: block;
      }

      /* Callout Insights Box */
      .vi-callout {
        margin: 0 24px 16px;
        padding: 12px 16px;
        background: #f8fafc;
        border: 1px solid var(--vi-line);
        border-left: 4px solid var(--vi-teal);
        border-radius: 6px;
        font-size: 12.5px;
        line-height: 1.5;
        color: #334155;
      }
      .vi-callout strong {
        color: var(--vi-navy);
      }
      .vi-kpis {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 8px;
      }
      .vi-kpi-pill {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 11.5px;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .vi-kpi-pill strong {
        color: var(--vi-teal);
      }

      /* Watermark & Export Footer */
      .vi-card-footer {
        padding: 12px 24px;
        background: #f8fafc;
        border-top: 1px solid var(--vi-line);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: auto;
      }
      .vi-source {
        font-size: 11.5px;
        color: var(--vi-muted);
      }
      .vi-source strong {
        color: var(--vi-navy);
      }
      .vi-actions {
        display: flex;
        gap: 8px;
        align-items: center;
      }
      .vi-btn {
        background: #ffffff;
        border: 1px solid var(--vi-line);
        color: #334155;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s ease;
      }
      .vi-btn:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
        color: #0f172a;
      }
      .vi-btn-primary {
        background: var(--vi-teal);
        border-color: var(--vi-teal);
        color: #ffffff;
      }
      .vi-btn-primary:hover {
        background: #0d9488;
        border-color: #0d9488;
        color: #ffffff;
      }

      /* Interactive Tooltip */
      #vi-tooltip {
        position: fixed;
        display: none;
        background: rgba(15, 23, 42, 0.95);
        color: #ffffff;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 12px;
        pointer-events: none;
        z-index: 10000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        max-width: 280px;
        backdrop-filter: blur(4px);
      }
      #vi-tooltip strong {
        color: #38bdf8;
      }

      /* Notification Toast */
      #vi-toast {
        position: fixed;
        bottom: 24px;
        right: 24px;
        background: var(--vi-navy);
        color: #ffffff;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        display: none;
        z-index: 10001;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        border-left: 4px solid var(--vi-teal);
      }

/* ==========================================================================
   SMOOTH SCROLL, QUICK-JUMP CHIPS & COMPREHENSIVE SEO NARRATIVE STYLES
   ========================================================================== */

/* Smooth Scroll & Card Anchor Clearance */
html {
  scroll-behavior: smooth;
}
.vi-card {
  scroll-margin-top: 100px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.vi-card.vi-card-highlight {
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.4), 0 12px 32px rgba(15, 118, 110, 0.15) !important;
  border-color: var(--vi-teal) !important;
}

/* ==========================================================================
   BREADCRUMB SPACING & CURRENT-PAGE DARK GREEN STYLING
   ========================================================================== */
.breadcrumb-nav {
  padding-top: 28px !important;
  padding-bottom: 10px !important;
  background: transparent;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--vi-muted);
}
.breadcrumb-inner a {
  color: var(--vi-teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.breadcrumb-inner a:hover {
  color: var(--vi-teal-dark);
  text-decoration: underline;
}
.breadcrumb-separator {
  color: #cbd5e1;
  font-size: 0.8rem;
  user-select: none;
}
.breadcrumb-inner [aria-current="page"] {
  color: #042f2e !important; /* Prominent dark green */
  background: #e6f3f2 !important; /* Soft mint / dark-green tint */
  padding: 3px 12px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  border: 1px solid rgba(15, 118, 110, 0.25) !important;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   EXECUTIVE SEO NARRATIVE & COLLAPSIBLE ACCORDION CARDS
   ========================================================================== */
.vi-hero-desc-narrative {
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 1100px;
}
.vi-hero-desc-narrative p {
  margin-bottom: 12px;
}

/* 4 Collapsible Policy Accordion Cards */
.vi-seo-accordion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 18px 0 24px 0;
}
.vi-seo-accordion {
  background: #ffffff;
  border: 1px solid var(--vi-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.vi-seo-accordion[open] {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.vi-seo-summary {
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--vi-navy);
  transition: background 0.15s ease, color 0.15s ease;
}
.vi-seo-summary::-webkit-details-marker {
  display: none;
}
.vi-seo-summary:hover {
  background: #f0fdfa;
  color: var(--vi-teal);
}
.vi-seo-summary-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vi-seo-icon {
  font-size: 1.05rem;
}
.vi-seo-summary-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vi-seo-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  background: #e2e8f0;
  color: #475569;
  border-radius: 4px;
}
.vi-seo-chevron {
  font-size: 0.85rem;
  color: var(--vi-muted);
  transition: transform 0.2s ease;
  display: inline-block;
}
.vi-seo-accordion[open] .vi-seo-chevron {
  transform: rotate(180deg);
}
.vi-seo-body {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.62;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}
.vi-seo-body p {
  margin: 0;
}

/* ==========================================================================
   SEPARATED THEMATIC QUICK-JUMP TOOLBAR & DOMAIN CARDS
   ========================================================================== */
.vi-quick-nav {
  margin-top: 24px;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--vi-line);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.vi-quick-nav-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.vi-quick-nav-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--vi-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vi-quick-nav-hint {
  font-size: 0.8rem;
  color: var(--vi-muted);
}

/* 4 Distinct Visually Separated Thematic Domain Cards */
.vi-quick-clusters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.vi-jump-domain-card {
  background: #ffffff;
  border: 1px solid var(--vi-line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vi-jump-domain-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.vi-jump-card-fiscal {
  border-top: 3.5px solid #0f766e;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 40px);
}
.vi-jump-card-economy {
  border-top: 3.5px solid #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 40px);
}
.vi-jump-card-demographics {
  border-top: 3.5px solid #7c3aed;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 40px);
}
.vi-jump-card-living {
  border-top: 3.5px solid #d97706;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 40px);
}

.vi-jump-domain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.vi-domain-tag {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--vi-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vi-group-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vi-chip-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  outline: none;
  user-select: none;
}
.vi-chip-btn:hover {
  background: #f0fdfa;
  border-color: #5eead4;
  color: #0f766e;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.08);
}
.vi-chip-btn:active {
  transform: translateY(0);
  background: #ccfbf1;
}
.vi-chip-btn.vi-chip-highlight {
  background: #f0fdfa;
  border-color: #99f6e4;
  color: #0f766e;
  font-weight: 700;
}
.vi-chip-btn.vi-chip-highlight:hover {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
}

/* ==========================================================================
   HOMEPAGE 16-INFOGRAPHIC VISUAL POLICY MOSAIC GRID
   ========================================================================== */
.vi-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 1200px) {
  .vi-mosaic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .vi-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .vi-mosaic-grid {
    grid-template-columns: 1fr;
  }
}

.vi-mosaic-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--vi-line, #e2e8f0);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.vi-mosaic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.12);
  border-color: #5eead4;
}

.vi-mosaic-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #073c3a;
  overflow: hidden;
}
.vi-mosaic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.vi-mosaic-card:hover .vi-mosaic-media img {
  transform: scale(1.03);
}

.vi-mosaic-hover-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #5eead4;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.vi-mosaic-card:hover .vi-mosaic-hover-pill {
  opacity: 1;
  transform: translateY(0);
}

.vi-mosaic-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.vi-mosaic-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 6px;
}
.vi-mosaic-domain {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 3px;
}
.vi-domain-fiscal { background: #f0fdfa; color: #0f766e; }
.vi-domain-economy { background: #eff6ff; color: #2563eb; }
.vi-domain-demographics { background: #faf5ff; color: #7c3aed; }
.vi-domain-living { background: #fffbeb; color: #d97706; }

.vi-mosaic-metric {
  font-size: 0.72rem;
  font-weight: 700;
  color: #073c3a;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 3px;
}

.vi-mosaic-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vi-mosaic-snippet {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   PPRI ORGANIC HIERARCHICAL PYRAMID TREE ATLAS
   True Pyramid Hierarchy:
   Level 0: Apex (1 Root Node, ~340px)
   Level 1: Middle Tier (6 Pillars, Compact Center ~760px)
   Level 2: Wide Base (14 Subdivisions, Full Span ~1340px, Zero Overflow)
   Level 3: Curated Headings
   ========================================================================== */

:root {
  --pillar-insights: #0d9488;
  --pillar-insights-tint: #f0fdfa;
  --pillar-data: #2563eb;
  --pillar-data-tint: #eff6ff;
  --pillar-maps: #059669;
  --pillar-maps-tint: #ecfdf5;
  --pillar-research: #4f46e5;
  --pillar-research-tint: #eef2ff;
  --pillar-articles: #7c3aed;
  --pillar-articles-tint: #faf5ff;
  --pillar-reform: #d97706;
  --pillar-reform-tint: #fffbeb;
}

.vi-tree-section {
  position: relative;
  padding: 2.25rem 0 3.25rem;
  background: radial-gradient(ellipse 90% 50% at 50% 0%, #f0fdf4 0%, #f8fafc 55%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #cbd5e1;
  overflow: hidden;
}

/* Ensure section container expands up to 1400px so 14 subdivisions never overflow */
.vi-tree-section .container {
  max-width: 1400px;
  width: min(calc(100% - 32px), 1400px);
  margin: 0 auto;
}

.vi-tree-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 950px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(13, 148, 136, 0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Section Header ──────────────────────────────────────────────────────── */
.vi-tree-header {
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}

.vi-tree-header-text {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.vi-tree-header-text h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.vi-tree-header-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

/* ── The Interactive Tree Canvas ─────────────────────────────────────────── */
.vi-tree-canvas {
  position: relative;
  z-index: 1;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}

/* SVG Dynamic Branching Overlay */
.vi-tree-svg-branches {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Tier 1 Branch Lines (Root ➔ 6 Pillars) */
.vi-tree-stem-tier1 {
  fill: none;
  stroke-width: 2.5px;
  stroke-linecap: round;
  opacity: 0.82;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vi-tree-stem-tier1.path-theme-insights { stroke: #0d9488; }
.vi-tree-stem-tier1.path-theme-data { stroke: #2563eb; }
.vi-tree-stem-tier1.path-theme-maps { stroke: #059669; }
.vi-tree-stem-tier1.path-theme-research { stroke: #4f46e5; }
.vi-tree-stem-tier1.path-theme-articles { stroke: #7c3aed; }
.vi-tree-stem-tier1.path-theme-reform { stroke: #d97706; }

.vi-tree-stem-tier1.is-lineage-active {
  stroke-width: 4.5px;
  opacity: 1;
  filter: drop-shadow(0 0 6px currentColor);
}

/* Tier 2 Branch Lines (6 Pillars ➔ 14 Subdivisions) */
.vi-tree-stem-tier2 {
  fill: none;
  stroke-width: 2.2px;
  stroke-linecap: round;
  opacity: 0.78;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vi-tree-stem-tier2.path-theme-insights { stroke: #0d9488; }
.vi-tree-stem-tier2.path-theme-data { stroke: #2563eb; }
.vi-tree-stem-tier2.path-theme-maps { stroke: #059669; }
.vi-tree-stem-tier2.path-theme-research { stroke: #4f46e5; }
.vi-tree-stem-tier2.path-theme-articles { stroke: #7c3aed; }
.vi-tree-stem-tier2.path-theme-reform { stroke: #d97706; }

.vi-tree-stem-tier2.is-lineage-active {
  stroke-width: 4px;
  opacity: 1;
  filter: drop-shadow(0 0 6px currentColor);
}

/* ── Level 0: Central Apex Root Node (1 Node, ~340px) ────────────────────── */
.vi-tree-root-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.25rem;
}

.vi-tree-root-node {
  position: relative;
  width: 100%;
  max-width: 370px;
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: 16px;
  padding: 0.75rem 1.25rem 0.85rem;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.vi-tree-root-node.is-lineage-active {
  border-color: #059669;
  box-shadow: 0 10px 25px -4px rgba(5, 150, 105, 0.35), 0 0 0 3px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.root-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed #e2e8f0;
}

.root-crown-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #047857;
  background: #ecfdf5;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
}

/* Integrated Root Toggle Button */
.root-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: #0f172a;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.root-toggle-pill:hover {
  background: #059669;
  transform: scale(1.04);
}

.root-toggle-pill .toggle-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.root-card-body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.root-emblem {
  font-size: 1.65rem;
  line-height: 1;
}

.root-info {
  text-align: left;
}

.root-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.root-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  margin: 0.1rem 0 0;
}

/* Direct root dock port for SVG branches */
.root-dock-port {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ── Level 1: Middle Tier of 6 Pillars (Compact Center Width: ~760px) ────── */
.vi-tree-level1-container {
  position: relative;
  z-index: 2;
  margin-bottom: 2.25rem;
}

.vi-tree-pillars-pyramid-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  align-items: start;
}

.vi-tree-pillar-col {
  position: relative;
  display: flex;
  flex-direction: column;
}

.vi-tree-pillar-col.theme-teal { --pillar-accent: #0d9488; --pillar-tint: #f0fdfa; --pillar-dark: #0f766e; }
.vi-tree-pillar-col.theme-blue { --pillar-accent: #2563eb; --pillar-tint: #eff6ff; --pillar-dark: #1d4ed8; }
.vi-tree-pillar-col.theme-emerald { --pillar-accent: #059669; --pillar-tint: #ecfdf5; --pillar-dark: #047857; }
.vi-tree-pillar-col.theme-indigo { --pillar-accent: #4f46e5; --pillar-tint: #eef2ff; --pillar-dark: #4338ca; }
.vi-tree-pillar-col.theme-purple { --pillar-accent: #7c3aed; --pillar-tint: #faf5ff; --pillar-dark: #6d28d9; }
.vi-tree-pillar-col.theme-amber { --pillar-accent: #d97706; --pillar-tint: #fffbeb; --pillar-dark: #b45309; }

/* Top dock intake port on pillar */
.pillar-dock-top {
  width: 9px;
  height: 9px;
  background: var(--pillar-accent);
  border: 2px solid #ffffff;
  border-radius: 50%;
  margin: 0 auto -5px;
  position: relative;
  z-index: 3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Compact Pillar Card */
.vi-tree-pillar-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.6rem 0.35rem 0.5rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-top: 3px solid var(--pillar-accent);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.vi-tree-pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--pillar-accent);
  box-shadow: 0 8px 16px -3px rgba(15, 23, 42, 0.08);
}

.vi-tree-pillar-col.is-lineage-active .vi-tree-pillar-card {
  border-color: var(--pillar-accent);
  background: var(--pillar-tint);
  box-shadow: 0 0 0 2px var(--pillar-accent), 0 8px 16px -3px rgba(15, 23, 42, 0.12);
}

.vi-tree-pillar-card .pillar-icon {
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.vi-tree-pillar-card .pillar-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.vi-tree-pillar-card .pillar-count {
  font-size: 0.64rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.2rem;
}

/* Bottom dock outflow port on pillar to subdivisions */
.pillar-dock-bottom {
  width: 9px;
  height: 9px;
  background: var(--pillar-accent);
  border: 2px solid #ffffff;
  border-radius: 50%;
  margin: -5px auto 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ── Level 2: Wide Base Tier of 14 Subdivisions (Full Span: ~1340px) ────── */
.vi-tree-level2-container {
  position: relative;
  z-index: 2;
  width: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.vi-tree-level2-container.is-collapsed {
  display: none;
}

.vi-tree-subdivisions-pyramid-wrap {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: stretch;
}

.vi-tree-subdivision-node {
  position: relative;
  display: flex;
  flex-direction: column;
}

.vi-tree-subdivision-node.theme-teal { --pillar-accent: #0d9488; --pillar-tint: #f0fdfa; --pillar-dark: #0f766e; }
.vi-tree-subdivision-node.theme-blue { --pillar-accent: #2563eb; --pillar-tint: #eff6ff; --pillar-dark: #1d4ed8; }
.vi-tree-subdivision-node.theme-emerald { --pillar-accent: #059669; --pillar-tint: #ecfdf5; --pillar-dark: #047857; }
.vi-tree-subdivision-node.theme-indigo { --pillar-accent: #4f46e5; --pillar-tint: #eef2ff; --pillar-dark: #4338ca; }
.vi-tree-subdivision-node.theme-purple { --pillar-accent: #7c3aed; --pillar-tint: #faf5ff; --pillar-dark: #6d28d9; }
.vi-tree-subdivision-node.theme-amber { --pillar-accent: #d97706; --pillar-tint: #fffbeb; --pillar-dark: #b45309; }

/* Intake dock port for curved line from pillar */
.subdivision-dock-top {
  width: 8px;
  height: 8px;
  background: var(--pillar-accent);
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  margin: 0 auto -4px;
  position: relative;
  z-index: 3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Subdivision Mini Card */
.subdivision-mini-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 2.5px solid var(--pillar-accent);
  border-radius: 8px;
  padding: 0.5rem 0.35rem 0.55rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  transition: all 0.2s ease;
}

.subdivision-mini-card:hover {
  transform: translateY(-2px);
  border-color: var(--pillar-accent);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.vi-tree-subdivision-node.is-lineage-active .subdivision-mini-card {
  border-color: var(--pillar-accent);
  background: var(--pillar-tint);
  box-shadow: 0 0 0 1.5px var(--pillar-accent), 0 6px 14px rgba(15, 23, 42, 0.1);
}

.subdivision-header {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.45rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed #e2e8f0;
}

.subdivision-icon {
  font-size: 0.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.subdivision-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Level 3: Curated Headings Under Each Subdivision ────────────────────── */
.subdivision-leaves-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-grow: 1;
}

.vi-tree-leaf-mini {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.38rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.66rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  line-height: 1.25;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.vi-tree-leaf-mini:hover {
  background: #ffffff;
  border-color: var(--pillar-accent);
  color: var(--pillar-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.vi-tree-leaf-mini .leaf-dot {
  width: 5px;
  height: 5px;
  background: var(--pillar-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.vi-tree-leaf-mini .leaf-name {
  flex: 1;
  white-space: normal;
  word-break: break-word;
}

.vi-tree-leaf-mini.is-lineage-active {
  background: var(--pillar-tint);
  border-color: var(--pillar-accent);
  color: var(--pillar-dark);
  box-shadow: 0 0 0 1px var(--pillar-accent);
}

/* ── Floating Micro-Tooltip ──────────────────────────────────────────────── */
.vi-tree-tooltip {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -10px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  width: max-content;
  max-width: 280px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.vi-tree-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1);
}

.vi-tree-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: rgba(15, 23, 42, 0.94);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tooltip-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
  margin-bottom: 0.25rem;
}

.tooltip-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.tooltip-summary {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.tooltip-url {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #38bdf8;
}

/* ── Responsive Adaptations ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .vi-tree-subdivisions-pyramid-wrap {
    grid-template-columns: repeat(7, 1fr);
    gap: 0.6rem;
  }
}

@media (max-width: 768px) {
  .vi-tree-section {
    padding: 2rem 0 3rem;
  }

  .vi-tree-pillars-pyramid-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .vi-tree-subdivisions-pyramid-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .vi-tree-svg-branches {
    display: none;
  }
}


.vi-tree-subdivision-node {
  min-width: 0;
}

.subdivision-mini-card {
  min-width: 0;
  overflow: hidden;
}

.vi-tree-leaf-mini {
  min-width: 0;
}

.vi-tree-leaf-mini .leaf-name {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ==========================================================================
   INSIGHTS 4 PRIMARY DOMAINS & FLAGSHIP INFOGRAPHICS STYLES
   ========================================================================== */

/* 1. Hero Domain Showcase Grid */
.vi-domain-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0 16px 0;
}

.vi-domain-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vi-domain-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.vi-showcase-fiscal::before { background: linear-gradient(90deg, #0f766e, #14b8a6); }
.vi-showcase-economy::before { background: linear-gradient(90deg, #1d4ed8, #3b82f6); }
.vi-showcase-demographics::before { background: linear-gradient(90deg, #6d28d9, #8b5cf6); }
.vi-showcase-living::before { background: linear-gradient(90deg, #b45309, #f59e0b); }

.vi-domain-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.vi-showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.vi-domain-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 20px;
}

.vi-badge-fiscal { background: #ccfbf1; color: #0f766e; }
.vi-badge-economy { background: #dbeafe; color: #1e40af; }
.vi-badge-demographics { background: #ede9fe; color: #6b21a8; }
.vi-badge-living { background: #fef3c7; color: #92400e; }

.vi-showcase-count {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.vi-showcase-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.vi-showcase-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.vi-showcase-kpi {
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
  border: 1px solid #f1f5f9;
}

.vi-showcase-kpi .vi-kpi-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 2px;
}

.vi-showcase-kpi .vi-kpi-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.vi-showcase-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.vi-showcase-link:hover {
  color: #042f2e;
  text-decoration: underline;
}

/* 2. Semantic Domain Section & Banner */
.vi-domain-section {
  margin-bottom: 4rem;
  scroll-margin-top: 80px;
}

.vi-domain-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.vi-domain-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
}

.vi-domain-banner-fiscal::before { background: #0f766e; }
.vi-domain-banner-economy::before { background: #2563eb; }
.vi-domain-banner-demographics::before { background: #7c3aed; }
.vi-domain-banner-living::before { background: #d97706; }

.vi-domain-banner-main {
  max-width: 680px;
}

.vi-domain-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.vi-domain-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
}

.vi-domain-pill-fiscal { background: #ccfbf1; color: #0f766e; }
.vi-domain-pill-economy { background: #dbeafe; color: #1e40af; }
.vi-domain-pill-demographics { background: #ede9fe; color: #6b21a8; }
.vi-domain-pill-living { background: #fef3c7; color: #92400e; }

.vi-domain-theme-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vi-domain-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: #073c3a;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.vi-domain-lead {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.vi-domain-kpis {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vi-kpi-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 130px;
  text-align: center;
}

.vi-kpi-block .vi-kpi-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}

.vi-kpi-block .vi-kpi-desc {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 4px;
}

/* 3. Domain Grid & Flagship Showcase Cards */
.vi-domain-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.vi-domain-grid > .col-6 {
  grid-column: span 6;
}

.vi-domain-grid > .col-12 {
  grid-column: span 12;
}

.vi-card.vi-card-flagship {
  grid-column: span 12;
  border-width: 2px;
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

.vi-card.vi-card-flagship .vi-card-title {
  font-size: 1.35rem;
}

.vi-card.vi-card-flagship .vi-chart-container {
  min-height: 380px;
}

/* Polished Card Hover & Controls */
.vi-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vi-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.vi-ctrl-btn {
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.15s ease;
}

.vi-ctrl-btn.active {
  background: var(--vi-teal);
  color: #ffffff;
  border-color: var(--vi-teal);
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}

.vi-ctrl-btn:hover:not(.active) {
  background: #f1f5f9;
  color: #0f172a;
}

/* Clean Action Buttons */
.vi-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.vi-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.vi-btn-primary {
  background: #0f766e;
  color: #ffffff;
  border: 1px solid #0f766e;
}

.vi-btn-primary:hover {
  background: #042f2e;
  border-color: #042f2e;
}

@media (max-width: 900px) {
  .vi-domain-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .vi-domain-kpis {
    width: 100%;
    justify-content: flex-start;
  }
  .vi-domain-grid {
    grid-template-columns: 1fr;
  }
  .vi-domain-grid > .col-6,
  .vi-domain-grid > .col-12,
  .vi-card.vi-card-flagship {
    grid-column: span 1;
  }
}


/* ==========================================================================
   MINIMALIST INSIGHTS: COLLAPSIBLE SEO CARD & MINIMALIST FAST JUMP
   ========================================================================== */

/* Single Collapsible SEO Card */
.vi-seo-collapsible {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin: 18px 0 22px 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vi-seo-collapsible[open] {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.vi-seo-collapsible-summary {
  padding: 12px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.9rem;
  color: #073c3a;
  transition: background 0.15s ease, color 0.15s ease;
}

.vi-seo-collapsible-summary::-webkit-details-marker {
  display: none;
}

.vi-seo-collapsible-summary:hover {
  background: #f0fdfa;
  color: #0f766e;
}

.vi-seo-summary-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vi-seo-summary-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  background: #e2e8f0;
  color: #475569;
  border-radius: 4px;
}

.vi-seo-chevron {
  font-size: 0.85rem;
  color: #64748b;
  transition: transform 0.2s ease;
  display: inline-block;
  margin-left: auto;
  padding-left: 10px;
}

.vi-seo-collapsible[open] .vi-seo-chevron {
  transform: rotate(180deg);
}

.vi-seo-collapsible-body {
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.vi-seo-collapsible-body p {
  margin: 0 0 10px 0;
}

.vi-seo-collapsible-body p:last-child {
  margin-bottom: 0;
}

.vi-seo-collapsible-body strong {
  color: #0f172a;
}

/* Minimalist Fast Jump Navigation */
.vi-quick-nav-minimal {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 16px 0 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.vi-quick-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.vi-quick-nav-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #073c3a;
  white-space: nowrap;
}

.vi-quick-chips-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1;
}

.vi-quick-chips-stream .vi-chip-btn {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.vi-quick-chips-stream .vi-chip-btn:hover {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.2);
}
