
  :root {
    --bg-main: #050608;
    --bg-card: rgba(15, 15, 20, 0.92);
    --bg-card-soft: rgba(18, 18, 24, 0.88);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.18);
    --accent: #b0a068;
    --text-main: #f5f3ed;
    --text-muted: #a6a3a0;
    --text-soft: #787470;
    --radius-lg: 18px;
    --radius-full: 999px;
    --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.7);
    --shadow-chip: 0 8px 30px rgba(0, 0, 0, 0.55);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-med: 220ms cubic-bezier(0.16, 1, 0.3, 1);

    --theme-accent: var(--accent);
    --theme-surface: rgba(18, 18, 24, 0.96);
    --theme-border: rgba(224, 207, 145, 0.18);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
  }

  body {
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #15151e 0, #050608 42%, #020306 100%);
    color: var(--text-main);
    padding: var(--space-6) var(--space-3) var(--space-10);
  }

  .shell {
    max-width: 1120px;
    margin: 0 auto;
  }

  header.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    gap: var(--space-4);
  }

  .brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 40%;
    background: radial-gradient(circle at 20% 10%, #f8f4e4 0, #c6b27b 25%, #6b5a32 60%, #0f1012 100%);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
  }

  .brand-mark::after {
    content: "";
    position: absolute;
    inset: 28% 26%;
    border-radius: 999px 999px 60% 60%;
    border: 1px solid rgba(10, 10, 10, 0.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
  }

  .brand-text-main {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .brand-text-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-soft);
  }

  a.brand {
  color: var(--text-main) !important;
  text-decoration: none !important;
  }
  header.app-header nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 13px;
    color: var(--text-soft);
  }

  header.app-header nav span.dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.7;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .theme-toggle {
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-main);
    padding: 9px 14px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: var(--shadow-chip);
    transition:
      background var(--transition-fast),
      color var(--transition-fast),
      border-color var(--transition-fast),
      transform var(--transition-fast),
      box-shadow var(--transition-fast);
  }

  .theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
  }

  .theme-toggle-icon {
    font-size: 14px;
    line-height: 1;
  }

  .theme-toggle-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-soft);
  }

  .pill {
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 7, 9, 0.9);
    padding: 6px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(176, 160, 104, 0.12);
  }

  main.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-10);
  }

  .hero-left {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(18, 18, 24, 0.95), rgba(10, 10, 16, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
  }

  .hero-left::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(circle at 0% 0%, rgba(206, 190, 131, 0.12) 0, transparent 54%),
      radial-gradient(circle at 110% 20%, rgba(153, 205, 255, 0.06) 0, transparent 55%),
      radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.03) 0, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-kicker {
    margin-bottom: var(--space-3);
  }

  .hero-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.1;
    margin-bottom: var(--space-3);
  }

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

  .hero-sub {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 54ch;
    margin-bottom: var(--space-5);
  }

  .hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    font-size: 12px;
    color: var(--text-soft);
  }

  .hero-meta strong {
    font-weight: 500;
    color: var(--text-main);
  }

  .hero-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero-card {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--bg-card-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  }

  .hero-card h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-soft);
    margin-bottom: var(--space-2);
  }

  .hero-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }

  .hero-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    font-size: 12px;
    color: var(--text-soft);
  }

  .progress-bar-track {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
  }

  .progress-bar-fill {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #e0cf91);
    box-shadow: 0 0 10px rgba(176, 160, 104, 0.8);
    transition: width var(--transition-med);
  }

  .section {
    margin-bottom: var(--space-10);
  }

  .section-header {
    margin-bottom: var(--space-4);
  }

  .section-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-soft);
    margin-bottom: var(--space-1);
  }

  .section-title {
    font-size: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .section-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: var(--space-2);
    max-width: 60ch;
  }

  .card {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: var(--space-5);
  }

  .question-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .question-block {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.04) 0, transparent 55%), rgba(10, 10, 14, 0.9);
    padding: var(--space-4);
    scroll-margin-top: 128px;
    transition:
      border-color var(--transition-fast),
      box-shadow var(--transition-fast),
      background var(--transition-fast),
      transform var(--transition-fast);
  }

  .question-block--active {
    border-color: rgba(224, 207, 145, 0.4);
    box-shadow: 0 0 0 1px rgba(224, 207, 145, 0.2), 0 18px 40px rgba(0, 0, 0, 0.82);
  }

  .question-block--error {
    border-color: rgba(240, 116, 116, 0.9);
    box-shadow:
      0 0 0 1px rgba(240, 116, 116, 0.6),
      0 18px 40px rgba(0, 0, 0, 0.9);
    background:
      radial-gradient(circle at 0 0, rgba(240, 116, 116, 0.18) 0, transparent 55%),
      rgba(16, 6, 8, 0.95);
    transform: translateY(-1px);
  }

  .question-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-soft);
    margin-bottom: var(--space-2);
  }

  .question-label span.badge {
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 8, 12, 0.85);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
  }

  .question-text {
    font-size: 14px;
    margin-bottom: var(--space-3);
  }

  .options-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .option-chip {
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 8, 12, 0.8);
    color: var(--text-muted);
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-chip);
    transition:
      background var(--transition-fast),
      color var(--transition-fast),
      border-color var(--transition-fast),
      transform var(--transition-fast),
      box-shadow var(--transition-fast);
  }

  .option-chip span.index {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-soft);
    background: rgba(6, 6, 10, 0.9);
  }

  .option-chip:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-main);
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.75);
  }

  .option-chip.selected {
    border-color: rgba(224, 207, 145, 0.9);
    background: radial-gradient(circle at 0 0, rgba(224, 207, 145, 0.28) 0, rgba(10, 10, 14, 0.95) 40%);
    color: var(--text-main);
    box-shadow: 0 0 0 1px rgba(224, 207, 145, 0.65), 0 18px 40px rgba(0, 0, 0, 0.85);
  }

  .option-chip.selected span.index {
    border-color: rgba(224, 207, 145, 0.9);
    color: var(--accent);
    background: rgba(8, 8, 10, 0.96);
  }

  .question-inline-hint {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-soft);
    min-height: 16px;
  }

  .question-inline-hint.is-warning {
    color: #f0b8b8;
  }

  .ux-sticky {
    position: sticky;
    top: 12px;
    z-index: 20;
    margin: 0 0 var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 12, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    padding: var(--space-4);
  }

  .ux-sticky-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-3);
  }

  .ux-sticky-title {
    font-size: 13px;
    color: var(--text-main);
  }

  .ux-sticky-sub {
    font-size: 12px;
    color: var(--text-soft);
    margin-top: 2px;
  }

  .ux-sticky-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
  }

  .btn-secondary {
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    padding: 10px 14px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    cursor: pointer;
    transition:
      border-color var(--transition-fast),
      background var(--transition-fast),
      transform var(--transition-fast);
  }

  .btn-secondary:hover {
    border-color: rgba(224, 207, 145, 0.48);
    background: rgba(224, 207, 145, 0.08);
    transform: translateY(-1px);
  }

  .section-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-3);
  }

  .section-pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .section-pill strong {
    color: var(--text-main);
    font-weight: 600;
    margin-right: 6px;
  }

  .section-pill.is-current {
    border-color: rgba(224, 207, 145, 0.4);
    background: rgba(224, 207, 145, 0.08);
    color: var(--text-main);
  }

  .section-pill.is-complete {
    border-color: rgba(127, 199, 149, 0.35);
    background: rgba(127, 199, 149, 0.08);
  }

  .submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-6);
    flex-wrap: wrap;
  }

  .btn-primary {
    border-radius: var(--radius-full);
    border: 1px solid rgba(224, 207, 145, 0.55);
    padding: 11px 22px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    background: rgba(224, 207, 145, 0.1);
    color: var(--text-main);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition:
      background var(--transition-fast),
      border-color var(--transition-fast),
      transform var(--transition-fast);
  }

  .btn-primary:hover {
    background: rgba(224, 207, 145, 0.18);
    border-color: rgba(224, 207, 145, 0.8);
    transform: translateY(-1px);
  }

  .btn-primary:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
  }

  .submit-hint {
    font-size: 12px;
    color: var(--text-soft);
    max-width: 46ch;
  }

  .submit-hint strong {
    color: var(--text-main);
    font-weight: 500;
  }

  .theme-ZP { --theme-accent: #c89b6e; --theme-surface: rgba(20,14,8,0.97); --theme-border: rgba(200,155,110,0.22); }
  .theme-SK { --theme-accent: #9ea87c; --theme-surface: rgba(14,16,10,0.97); --theme-border: rgba(158,168,124,0.22); }
  .theme-FS { --theme-accent: #8aa8c0; --theme-surface: rgba(10,14,20,0.97); --theme-border: rgba(138,168,192,0.22); }
  .theme-PN { --theme-accent: #a89fcf; --theme-surface: rgba(14,12,20,0.97); --theme-border: rgba(168,159,207,0.22); }
  .theme-VV { --theme-accent: #c08080; --theme-surface: rgba(20,10,10,0.97); --theme-border: rgba(192,128,128,0.22); }
  .theme-SB { --theme-accent: #88b8a0; --theme-surface: rgba(10,18,14,0.97); --theme-border: rgba(136,184,160,0.22); }
  .theme-OP { --theme-accent: #c0b055; --theme-surface: rgba(18,16,6,0.97); --theme-border: rgba(192,176,85,0.22); }
  .theme-KI { --theme-accent: #7eb8b8; --theme-surface: rgba(8,16,18,0.97); --theme-border: rgba(126,184,184,0.22); }
  .theme-TS { --theme-accent: #b0a068; --theme-surface: rgba(18,18,24,0.97); --theme-border: rgba(176,160,104,0.22); }
  .theme-DS { --theme-accent: #d07858; --theme-surface: rgba(20,12,8,0.97); --theme-border: rgba(208,120,88,0.22); }
  .theme-FN { --theme-accent: #b85858; --theme-surface: rgba(20,8,8,0.97); --theme-border: rgba(184,88,88,0.22); }
  .theme-MR { --theme-accent: #9898c8; --theme-surface: rgba(12,10,20,0.97); --theme-border: rgba(152,152,200,0.22); }
  .theme-KG { --theme-accent: #78a898; --theme-surface: rgba(8,16,14,0.97); --theme-border: rgba(120,168,152,0.22); }

  .result-section {
    margin-top: var(--space-10);
    margin-bottom: var(--space-10);
    scroll-margin-top: 132px;
  }

  .result-card {
    border-radius: var(--radius-lg);
    background: var(--theme-surface, rgba(18, 18, 24, 0.96));
    transition: background 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    padding: var(--space-5);
    position: relative;
    overflow: hidden;
  }

  .result-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(circle at 0 0, rgba(224, 207, 145, 0.2) 0, transparent 55%),
      radial-gradient(circle at 120% 0, rgba(122, 190, 255, 0.12) 0, transparent 60%);
    opacity: 0.9;
    pointer-events: none;
  }

  .result-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--space-4);
  }

  .result-hero-panel {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--theme-border, rgba(224, 207, 145, 0.18));
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  }

  .result-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) 140px;
    gap: 22px;
    align-items: center;
  }

  .result-hero-copy {
    min-width: 0;
  }

  .result-hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .archetype-medallion {
    width: 116px;
    height: 116px;
    border-radius: 999px;
    border: 1px solid rgba(224, 207, 145, 0.25);
    background:
      radial-gradient(circle at 30% 20%, rgba(255,255,255,0.34) 0, rgba(224,207,145,0.18) 22%, rgba(25,24,19,0.95) 65%, rgba(8,8,10,0.98) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 20px 45px rgba(0,0,0,0.55);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
  }

  .archetype-medallion::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
  }

  .archetype-medallion-label {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-main);
  }

  .archetype-medallion-code {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 1;
    color: #f1e4b3;
    letter-spacing: 0.08em;
  }

  .archetype-medallion-word {
    margin-top: 6px;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-soft);
  }

  .result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .result-panel {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px);
  }

  .result-panel--wide {
    grid-column: 1 / -1;
  }

  .result-panel--accent {
    background: linear-gradient(145deg, rgba(224, 207, 145, 0.08), rgba(255,255,255,0.03));
    border-color: rgba(224, 207, 145, 0.18);
  }

  .result-kicker {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-soft);
    margin-bottom: 8px;
  }

  .result-archetype {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: var(--space-2);
    color: var(--text-main);
  }

  .result-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    line-height: 1.6;
  }

  .result-body {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .result-body p + p {
    margin-top: var(--space-2);
  }

  .result-meta {
    margin-top: var(--space-4);
    font-size: 12px;
    color: var(--text-soft);
  }

  .metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .metric-card {
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 10, 14, 0.68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  }

  .metric-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: var(--text-muted);
  }

  .action-list {
    display: grid;
    gap: 14px;
  }

  .action-card {
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
  }

  .action-card-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--text-main);
  }

  .action-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
  }

  .action-card p + p {
    margin-top: 8px;
  }

  .action-meta {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-soft);
  }

  .upgrade-lead {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 14px;
  }

  .upgrade-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 16px;
  }

  .upgrade-item {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 10, 14, 0.62);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
  }

  .upgrade-cta {
    margin-top: 18px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--theme-border, rgba(224, 207, 145, 0.2));
    background: rgba(255,255,255,0.025);
  }

  .upgrade-cta-header {
    margin-bottom: 12px;
  }

  .upgrade-cta-title {
    margin: 0 0 4px 0;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    color: var(--text-main);
    line-height: 1.2;
  }

  .upgrade-cta-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
  }

  .upgrade-cta-tagline {
    font-size: 11px;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
  }

  .upgrade-cta-features {
    display: grid;
    gap: 8px;
    margin: 14px 0;
  }

  .upgrade-cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
  }

  .upgrade-cta-feature-dot {
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--theme-accent, var(--accent));
    margin-top: 7px;
  }

  .upgrade-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid var(--theme-accent, var(--accent));
    background: transparent;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-fast);
  }

  .upgrade-cta-button:hover {
    background: rgba(176, 160, 104, 0.12);
  }

  .archetype-emotion {
    display: inline-block;
    margin-top: 14px;
    padding: 7px 12px;
    border-radius: 10px;
    border: 1px solid var(--theme-border, rgba(224,207,145,0.18));
    background: rgba(255,255,255,0.03);
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-soft);
  }

  .archetype-emotion strong {
    color: var(--text-muted);
    font-weight: 500;
  }

  .archetype-quote {
    margin: 10px 0 0;
    padding: 12px 14px 12px 16px;
    border-left: 2px solid var(--theme-border, rgba(224,207,145,0.35));
    background: rgba(255,255,255,0.02);
    border-radius: 0 10px 10px 0;
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
  }

  .error-banner {
    margin-top: var(--space-3);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(240, 116, 116, 0.7);
    background: rgba(52, 18, 18, 0.85);
    color: #fbd7d7;
    font-size: 12px;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  footer {
    margin-top: var(--space-12);
    font-size: 11px;
    color: var(--text-soft);
    text-align: right;
  }

  .state-map-chart {
    display: grid;
    gap: 14px;
  }

  .state-map-intro {
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
  }

  .state-map-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }

  .state-row {
    height: 100%;
    min-height: 146px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(10, 10, 14, 0.56);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  }

  .state-row-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
  }

  .state-row-label {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-main);
  }

  .state-row-badge {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-soft);
    background: rgba(255,255,255,0.04);
  }

  .state-row-badge.is-good {
    color: #d8e6cf;
    border-color: rgba(126, 168, 104, 0.28);
    background: rgba(126, 168, 104, 0.10);
  }

  .state-row-badge.is-mid {
    color: #eadfb9;
    border-color: rgba(176, 160, 104, 0.28);
    background: rgba(176, 160, 104, 0.10);
  }

  .state-row-badge.is-risk {
    color: #efc3b6;
    border-color: rgba(208, 120, 88, 0.30);
    background: rgba(208, 120, 88, 0.10);
  }

  .state-row-track {
    position: relative;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background:
      linear-gradient(
        90deg,
        rgba(208, 120, 88, 0.18) 0%,
        rgba(208, 120, 88, 0.18) 33.333%,
        rgba(176, 160, 104, 0.16) 33.333%,
        rgba(176, 160, 104, 0.16) 66.666%,
        rgba(126, 168, 104, 0.16) 66.666%,
        rgba(126, 168, 104, 0.16) 100%
      );
    border: 1px solid rgba(255,255,255,0.06);
  }

  .state-row-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(245, 243, 237, 0.95),
      rgba(224, 207, 145, 0.96)
    );
    box-shadow: 0 0 16px rgba(176, 160, 104, 0.35);
  }

  .state-row-marker {
    position: absolute;
    top: -2px;
    bottom: -2px;
    width: 2px;
    left: 70%;
    border-radius: 999px;
    background: rgba(245, 243, 237, 0.92);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
    opacity: 0.9;
  }

  .state-row-scale {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 7px;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
  }

  .state-row-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
  }

  .state-row-value {
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
  }

  .state-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
  }

  .state-map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
  }

  .state-map-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
  }

  .state-map-legend-dot.is-risk { background: rgba(208, 120, 88, 0.85); }
  .state-map-legend-dot.is-mid { background: rgba(176, 160, 104, 0.85); }
  .state-map-legend-dot.is-good { background: rgba(126, 168, 104, 0.85); }

  .action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .action-card--enhanced {
    height: 100%;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.04),
      0 18px 40px rgba(0,0,0,0.28);
  }

  .action-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
  }

  .action-step-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(224, 207, 145, 0.28);
    background: rgba(224, 207, 145, 0.09);
    color: var(--text-main);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .action-time-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(10, 10, 14, 0.34);
    color: var(--text-soft);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .action-card-main {
    display: grid;
    gap: 10px;
  }

  .action-card-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
  }

  .action-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 16px;
    align-items: stretch;
  }

  .action-primary-card {
    min-height: 100%;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(224, 207, 145, 0.16);
    background:
      radial-gradient(circle at top left, rgba(224, 207, 145, 0.10), transparent 42%),
      linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      0 22px 50px rgba(0,0,0,0.28);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .action-primary-top,
  .action-secondary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .action-primary-top {
    margin-bottom: 22px;
  }

  .action-step-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-soft);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .action-primary-body {
    display: grid;
    gap: 12px;
  }

  .action-primary-title {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 1.15;
    color: var(--text-main);
    max-width: 16ch;
  }

  .action-primary-copy {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 56ch;
  }

  .action-secondary-list {
    display: grid;
    gap: 16px;
  }

  .action-secondary-card {
    height: 100%;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.04),
      0 18px 40px rgba(0,0,0,0.22);
    display: grid;
    gap: 12px;
    align-content: start;
  }

  .action-secondary-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    color: var(--text-main);
  }

  .action-secondary-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
  }

  .action-bento {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.92fr);
    gap: 16px;
    align-items: stretch;
  }

  .action-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(224, 207, 145, 0.18);
    background:
      radial-gradient(circle at top left, rgba(224, 207, 145, 0.16), transparent 34%),
      radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.10), transparent 24%),
      linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.06),
      0 28px 70px rgba(0,0,0,0.34);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .action-hero-orbit {
    position: absolute;
    width: 240px;
    height: 240px;
    right: -70px;
    top: -70px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(224, 207, 145, 0.13) 0%, rgba(224, 207, 145, 0.03) 42%, transparent 70%);
    pointer-events: none;
    filter: blur(2px);
  }

  .action-hero-top,
  .action-side-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .action-hero-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(224, 207, 145, 0.24);
    background: rgba(224, 207, 145, 0.08);
    color: var(--text-main);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .action-step-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--theme-accent, var(--accent));
    box-shadow: 0 0 0 4px rgba(224, 207, 145, 0.12);
  }

  .action-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: 18px;
  }

  .action-hero-index {
    font-family: "Playfair Display", serif;
    font-size: 56px;
    line-height: 0.95;
    color: rgba(241, 228, 179, 0.92);
    letter-spacing: 0.04em;
  }

  .action-hero-title {
    margin: 0;
    max-width: 14ch;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 1.06;
    color: var(--text-main);
  }

  .action-hero-copy {
    margin: 0;
    max-width: 58ch;
    font-size: 14px;
    line-height: 1.78;
    color: var(--text-muted);
  }

  .action-hero-footer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 26px;
  }

  .action-hero-line {
    width: 2px;
    min-height: 46px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(224, 207, 145, 0.95), rgba(224, 207, 145, 0.10));
    margin-left: 8px;
  }

  .action-hero-note {
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-soft);
    max-width: 42ch;
  }

  .action-side {
    display: grid;
    gap: 16px;
  }

  .action-side-card {
    min-height: 152px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.04),
      0 16px 38px rgba(0,0,0,0.20);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .action-side-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(224, 207, 145, 0.16);
    background: rgba(224, 207, 145, 0.06);
    color: var(--text-main);
    font-family: "Playfair Display", serif;
    font-size: 15px;
    line-height: 1;
  }

  .action-side-body {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

  .action-side-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    color: var(--text-main);
  }

  .action-side-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.72;
    color: var(--text-muted);
  }

  .insight-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.78fr);
    gap: 18px;
    align-items: start;
  }

  .insight-main {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    background:
      radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 34%),
      linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.04),
      0 20px 48px rgba(0,0,0,0.18);
  }

  .insight-main::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(224, 207, 145, 0.9), rgba(224, 207, 145, 0.12));
    opacity: 0.9;
  }

  .insight-eyebrow {
    position: relative;
    z-index: 1;
    padding-left: 18px;
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
  }

  .insight-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    padding-left: 18px;
  }

  .insight-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.82;
    color: var(--text-muted);
    max-width: 62ch;
  }

  .insight-copy p:first-child {
    font-size: 15px;
    line-height: 1.86;
    color: var(--text-main);
  }

  .insight-side {
    display: grid;
    gap: 14px;
  }

  .insight-note {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.07);
    background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.04),
      0 16px 38px rgba(0,0,0,0.16);
  }

  .insight-note--soft::before,
  .insight-note--risk::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 999px;
  }

  .insight-note--soft::before {
    background: linear-gradient(180deg, rgba(144, 198, 160, 0.95), rgba(144, 198, 160, 0.18));
  }

  .insight-note--risk::before {
    background: linear-gradient(180deg, rgba(208, 120, 88, 0.95), rgba(208, 120, 88, 0.18));
  }

  .insight-note-label {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
  }

  .insight-note-text {
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-main);
  }

  @media (max-width: 980px) {
    .action-grid,
    .action-secondary-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .action-layout,
    .action-bento {
      grid-template-columns: minmax(0, 1fr);
    }

    .action-primary-title,
    .action-hero-title {
      max-width: none;
    }

    .action-side {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 900px) {
    .insight-layout {
      grid-template-columns: minmax(0, 1fr);
    }

    .insight-copy p {
      max-width: none;
    }

    .insight-side {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 840px) {
    main.hero,
    .result-grid,
    .metric-grid,
    .result-hero-layout,
    .state-map-list {
      grid-template-columns: minmax(0, 1fr);
    }

    .result-hero-badge {
      align-items: flex-start;
    }
  }

  @media (max-width: 640px) {
    body {
      padding-inline: var(--space-3);
    }

    header.app-header {
      align-items: flex-start;
      flex-direction: column;
    }

    .header-actions {
      width: 100%;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .theme-toggle {
      min-height: 38px;
    }

    .card,
    .result-card,
    .result-panel,
    .result-hero-panel {
      padding: 16px;
    }

    .question-block {
      padding: var(--space-3);
      scroll-margin-top: 172px;
    }

    .submit-row {
      align-items: flex-start;
    }

    .ux-sticky {
      top: 8px;
      padding: var(--space-3);
    }

    .ux-sticky-top {
      align-items: flex-start;
    }

    .ux-sticky-actions {
      width: 100%;
    }

    .btn-secondary {
      width: 100%;
      justify-content: center;
      display: inline-flex;
    }

    .section-pill {
      width: 100%;
    }

    .upgrade-title,
    .result-archetype {
      font-size: 24px;
    }

    .archetype-medallion {
      width: 92px;
      height: 92px;
    }

    .archetype-medallion-code {
      font-size: 22px;
    }

    .state-row-top,
    .state-row-meta {
      flex-direction: column;
      align-items: flex-start;
    }

    .action-grid,
    .action-secondary-list,
    .action-side,
    .insight-side {
      grid-template-columns: minmax(0, 1fr);
    }

    .action-card--enhanced,
    .action-side-card {
      min-height: unset;
    }

    .action-primary-card,
    .action-secondary-card {
      padding: 16px;
    }

    .action-primary-title {
      font-size: 20px;
    }

    .action-primary-copy,
    .action-secondary-copy,
    .action-hero-copy,
    .action-side-copy {
      font-size: 13px;
    }

    .action-hero {
      min-height: unset;
      padding: 18px;
      border-radius: 20px;
    }

    .action-side-card {
      padding: 16px;
      border-radius: 18px;
    }

    .action-hero-index {
      font-size: 42px;
    }

    .action-hero-title {
      font-size: 22px;
    }

    .action-hero-footer {
      grid-template-columns: 14px 1fr;
      gap: 10px;
    }

    .action-hero-line {
      margin-left: 5px;
    }

    .insight-main,
    .insight-note {
      padding: 16px;
      border-radius: 16px;
    }

    .insight-main::before {
      left: 16px;
      top: 16px;
      bottom: 16px;
    }

    .insight-eyebrow,
    .insight-copy {
      padding-left: 14px;
    }

    .insight-copy p,
    .insight-copy p:first-child,
    .insight-note-text {
      font-size: 13px;
      line-height: 1.72;
    }

    .result-section {
      scroll-margin-top: 156px;
    }
  }

  html[data-theme="light"] {
    --text-main: #181310;
    --text-muted: #4b3b2d;
    --text-soft: #6a5848;
    --border-subtle: rgba(73, 55, 33, 0.16);
    --border-strong: rgba(73, 55, 33, 0.26);
  }

  html[data-theme="light"] body {
    background: #ebe3d7;
    color: #1d1814;
  }

  html[data-theme="light"] .card,
  html[data-theme="light"] .hero-left,
  html[data-theme="light"] .hero-card,
  html[data-theme="light"] .question-block,
  html[data-theme="light"] .ux-sticky,
  html[data-theme="light"] .result-card,
  html[data-theme="light"] .result-hero-panel,
  html[data-theme="light"] .result-panel,
  html[data-theme="light"] .metric-card,
  html[data-theme="light"] .action-card,
  html[data-theme="light"] .upgrade-cta,
  html[data-theme="light"] .upgrade-item,
  html[data-theme="light"] .theme-toggle,
  html[data-theme="light"] #js-full-test-body {
    background: #f3ece2;
    color: #1d1814;
    border-color: rgba(84, 67, 46, 0.18);
    box-shadow: 0 8px 20px rgba(58, 43, 26, 0.06);
  }

  html[data-theme="light"] .hero-left,
  html[data-theme="light"] .result-hero-panel,
  html[data-theme="light"] .result-panel--accent,
  html[data-theme="light"] .upgrade-cta {
    background: #eee4d6;
  }

  html[data-theme="light"] .result-panel,
  html[data-theme="light"] .metric-card,
  html[data-theme="light"] .action-card,
  html[data-theme="light"] .upgrade-item,
  html[data-theme="light"] .result-panel--accent,
  html[data-theme="light"] .upgrade-cta,
  html[data-theme="light"] #js-full-test-body {
    background: #e7dccb;
    border-color: rgba(92, 72, 48, 0.20);
    box-shadow: none;
  }

  html[data-theme="light"] .metric-card,
  html[data-theme="light"] .action-card,
  html[data-theme="light"] .upgrade-item {
    background: #e2d5c2;
  }

  html[data-theme="light"] .option-chip,
  html[data-theme="light"] .btn-secondary,
  html[data-theme="light"] .section-pill,
  html[data-theme="light"] .pill,
  html[data-theme="light"] .question-label span.badge,
  html[data-theme="light"] .archetype-emotion,
  html[data-theme="light"] .archetype-quote,
  html[data-theme="light"] .upgrade-item {
    background: #e9dece;
    color: #2a231d;
    border-color: rgba(84, 67, 46, 0.18);
    box-shadow: none;
  }

  html[data-theme="light"] .btn-primary,
  html[data-theme="light"] .upgrade-cta-button,
  html[data-theme="light"] .option-chip.selected,
  html[data-theme="light"] .section-pill.is-current {
    background: #d8c3a0;
    color: #1b1612;
    border-color: rgba(132, 102, 61, 0.34);
    box-shadow: none;
  }

  html[data-theme="light"] .section-pill.is-complete {
    background: #dbe6d7;
    color: #1b1612;
    border-color: rgba(93, 126, 84, 0.24);
  }

  html[data-theme="light"] .brand-text-main,
  html[data-theme="light"] .hero-title,
  html[data-theme="light"] .section-title,
  html[data-theme="light"] .question-text,
  html[data-theme="light"] .ux-sticky-title,
  html[data-theme="light"] .result-archetype,
  html[data-theme="light"] .action-card-title,
  html[data-theme="light"] .upgrade-cta-title,
  html[data-theme="light"] .archetype-medallion-label,
  html[data-theme="light"] .archetype-medallion-code,
  html[data-theme="light"] .section-pill strong,
  html[data-theme="light"] .submit-hint strong {
    color: #1d1814;
  }

  html[data-theme="light"] .brand-text-sub,
  html[data-theme="light"] .hero-sub,
  html[data-theme="light"] .hero-meta,
  html[data-theme="light"] .section-sub,
  html[data-theme="light"] .question-label,
  html[data-theme="light"] .question-inline-hint,
  html[data-theme="light"] .ux-sticky-sub,
  html[data-theme="light"] .result-kicker,
  html[data-theme="light"] .result-subtitle,
  html[data-theme="light"] .result-body,
  html[data-theme="light"] .result-meta,
  html[data-theme="light"] .metric-card p,
  html[data-theme="light"] .action-card p,
  html[data-theme="light"] .action-meta,
  html[data-theme="light"] .upgrade-cta-copy,
  html[data-theme="light"] .upgrade-cta-tagline,
  html[data-theme="light"] .upgrade-cta-feature,
  html[data-theme="light"] .submit-hint,
  html[data-theme="light"] .pill,
  html[data-theme="light"] .archetype-emotion,
  html[data-theme="light"] .archetype-quote,
  html[data-theme="light"] .archetype-medallion-word,
  html[data-theme="light"] footer,
  html[data-theme="light"] .upgrade-lead,
  html[data-theme="light"] .result-body p {
    color: #4d4338;
  }

  html[data-theme="light"] .result-body,
  html[data-theme="light"] .result-subtitle,
  html[data-theme="light"] .result-meta,
  html[data-theme="light"] .metric-card p,
  html[data-theme="light"] .action-card p,
  html[data-theme="light"] .action-meta,
  html[data-theme="light"] .upgrade-item,
  html[data-theme="light"] .archetype-quote,
  html[data-theme="light"] .archetype-emotion,
  html[data-theme="light"] .archetype-medallion-word {
    color: #3f3428;
  }

  html[data-theme="light"] .result-kicker,
  html[data-theme="light"] .action-card-title,
  html[data-theme="light"] .upgrade-cta-title,
  html[data-theme="light"] .result-archetype,
  html[data-theme="light"] .archetype-emotion strong,
  html[data-theme="light"] .archetype-medallion-code,
  html[data-theme="light"] .archetype-medallion-label {
    color: #191511;
  }

  html[data-theme="light"] .option-chip span.index {
    background: #f5efe7;
    color: #4f4337;
    border-color: rgba(84, 67, 46, 0.18);
  }

  html[data-theme="light"] .progress-bar-track {
    background: rgba(84, 67, 46, 0.14);
  }

  html[data-theme="light"] .progress-bar-fill {
    background: linear-gradient(90deg, #94754a, #b99967);
    box-shadow: none;
  }

  html[data-theme="light"] .question-block--active {
    background: #f0e8dd;
    border-color: rgba(148, 117, 74, 0.30);
    box-shadow: 0 0 0 1px rgba(148, 117, 74, 0.12);
  }

  html[data-theme="light"] .question-block--error,
  html[data-theme="light"] .error-banner {
    background: #f6e5e4;
    color: #6b3737;
    border-color: rgba(163, 86, 86, 0.24);
    box-shadow: none;
  }

  html[data-theme="light"] .archetype-medallion {
    background: #dccbb1;
    border-color: rgba(132, 102, 61, 0.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 6px 14px rgba(58, 43, 26, 0.08);
  }

  html[data-theme="light"] .archetype-medallion::before {
    border-color: rgba(84, 67, 46, 0.14);
  }

  html[data-theme="light"] .archetype-medallion-code {
    color: #7f633d;
  }

  html[data-theme="light"] .result-card::before,
  html[data-theme="light"] .hero-left::before {
    opacity: 0.04;
  }

  html[data-theme="light"] .theme-toggle:hover,
  html[data-theme="light"] .btn-secondary:hover,
  html[data-theme="light"] .option-chip:hover,
  html[data-theme="light"] .btn-primary:hover,
  html[data-theme="light"] .upgrade-cta-button:hover {
    background: #e2d3be;
    color: #1d1814;
  }

  html[data-theme="light"] .result-panel,
  html[data-theme="light"] .metric-card,
  html[data-theme="light"] .action-card,
  html[data-theme="light"] .upgrade-item,
  html[data-theme="light"] .archetype-quote,
  html[data-theme="light"] .archetype-emotion {
    backdrop-filter: none;
  }

  html[data-theme="light"] .archetype-quote,
  html[data-theme="light"] .archetype-emotion {
    background: #ded0bb;
    border-color: rgba(92, 72, 48, 0.20);
  }

  html[data-theme="light"] .archetype-quote {
    border-left: 3px solid rgba(138, 108, 67, 0.50);
  }

  html[data-theme="light"] .upgrade-cta-button {
    background: #d7c09d;
    color: #191511;
    border-color: rgba(138, 108, 67, 0.34);
  }

  html[data-theme="light"] .upgrade-cta-button:hover {
    background: #cfb58e;
  }

  html[data-theme="light"] .action-card-title strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    margin-right: 10px;
    padding: 0 10px;
    border-radius: 999px;
    background: #8a6b43;
    color: #f7f1e7;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
  }

  html[data-theme="light"] #js-general-risk,
  html[data-theme="light"] #js-general-risk.result-body,
  html[data-theme="light"] .result-panel:has(#js-general-risk) {
    background: #d9c6c0;
    color: #2a1d1a;
    border-color: rgba(120, 70, 60, 0.22);
  }

  html[data-theme="light"] .result-panel:has(#js-general-risk) .result-kicker {
    color: #6e4740;
  }

  html[data-theme="light"] #js-general-risk p,
  html[data-theme="light"] #js-general-risk {
    color: #2a1d1a;
  }

  html[data-theme="light"] .action-card {
    background: #dccbb5;
    border-color: rgba(102, 78, 49, 0.18);
  }

  html[data-theme="light"] .action-card-title,
  html[data-theme="light"] .action-card-title strong {
    color: #241b14;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  html[data-theme="light"] .action-card:first-child {
    background: #d1bb96;
    border-color: rgba(122, 92, 48, 0.28);
  }

  html[data-theme="light"] .action-card:first-child .action-card-title,
  html[data-theme="light"] .action-card:first-child .action-card-title strong {
    color: #17110c;
  }
  html[data-theme="light"] .action-time-pill,
html[data-theme="light"] .action-step-badge,
html[data-theme="light"] .action-step-chip,
html[data-theme="light"] .state-row,
html[data-theme="light"] .state-map-legend-item {
  background: #e8dcc9;
  color: #241b14;
  border-color: rgba(122, 92, 48, 0.18);
  box-shadow: none;
}

html[data-theme="light"] .state-row-label,
html[data-theme="light"] .state-row-value,
html[data-theme="light"] .state-row-badge {
  color: #241b14;
}

html[data-theme="light"] .state-row-badge {
  background: #e5d8c6;
  border-color: rgba(122, 92, 48, 0.18);
}

html[data-theme="light"] .state-row-badge.is-good {
  background: #dce8d7;
  color: #294128;
}

html[data-theme="light"] .state-row-badge.is-mid {
  background: #ece1c9;
  color: #5a4721;
}

html[data-theme="light"] .state-row-badge.is-risk {
  background: #efd8d1;
  color: #6a352b;
}