
  /* ==========================================================
     DESIGN TOKENS
     Scandinavian, calm, minimal. Cool neutral background,
     restrained pine-green accent, dark charcoal text.
     ========================================================== */
  :root{
    --bg: #F5F6F3;
    --card: #FFFFFF;
    --text: #1C2321;
    --text-muted: #6B716C;
    --border: #E2E4DF;
    --accent: #2F5D45;
    --accent-hover: #24473566;
    --accent-strong: #24473A;
    --accent-tint: #EAF1EC;
    --danger-tint: #FBF4EC;
    --danger-text: #7A5A2E;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-soft: 0 1px 2px rgba(20,30,25,0.05), 0 6px 16px rgba(20,30,25,0.05);
    --shadow-card: 0 1px 3px rgba(20,30,25,0.06), 0 10px 30px rgba(20,30,25,0.06);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  }

  *{ box-sizing: border-box; }

  .mba-shell{
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
  }

  /* ==========================================================
     LAYOUT SHELL
     Scoped to a dedicated class rather than the bare `body`
     selector, so centering keeps working when this markup is
     embedded inside an existing page (e.g. a WordPress/Kadence
     content column) rather than loaded as its own document —
     in that situation a second <body> tag is not guaranteed to
     keep its styles, but a classed wrapper always will.
     ========================================================== */
  .mba-shell{
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .app{
    width: 100%;
    max-width: 640px;
    margin: 0 auto; /* self-centers regardless of the parent container's own width/padding/display */
  }

  /* ---------- Header ---------- */
  .app-header{
    text-align: center;
    margin-bottom: 24px;
    padding: 0 8px;
  }

  .app-header h1{
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 650;
    margin: 0 0 8px;
    color: var(--text);
  }

  .app-header p{
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
  }

  /* ---------- Card shell ---------- */
  .card{
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px 24px 24px;
  }

  @media (min-width: 560px){
    .card{ padding: 40px 40px 32px; }
  }

  /* ---------- Progress ---------- */
  .progress-row{
    margin-bottom: 20px;
  }

  .progress-label{
    font-size: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
  }

  .back-row{
    text-align: center;
    margin-top: 18px;
  }

  .back-btn{
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-family: inherit;
  }
  .back-btn:hover{ color: var(--text); background: var(--accent-tint); }
  .back-btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
  .back-btn[hidden]{ display: none; }

  .progress-track{
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 28px;
  }

  .progress-fill{
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
    transition: width 320ms ease;
    width: 33.3%;
  }

  /* ---------- Question ---------- */
  .question-title{
    font-size: 20px;
    font-weight: 620;
    line-height: 1.35;
    margin: 0 0 20px;
    letter-spacing: -0.005em;
  }

  .options{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .option-card{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    text-align: left;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 16px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 140ms ease, background 140ms ease, transform 100ms ease;
  }

  .option-card:hover{
    border-color: var(--accent);
    background: var(--accent-tint);
  }

  .option-card:active{ transform: scale(0.997); }

  .option-card:focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .option-card.selected{
    border-color: var(--accent);
    background: var(--accent-tint);
  }

  .option-check{
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 140ms ease, background 140ms ease;
  }

  .option-card.selected .option-check{
    border-color: var(--accent);
    background: var(--accent);
  }

  .option-check svg{
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: opacity 100ms ease;
  }

  .option-card.selected .option-check svg{ opacity: 1; }

  .option-text strong{
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text);
  }

  .option-text span{
    display: block;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.45;
  }

  /* ---------- Result screen ---------- */
  .result-eyebrow{
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
  }

  .result-heading{
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    color: var(--text);
  }

  .result-alt{
    font-size: 13.5px;
    color: var(--text-muted);
    background: var(--accent-tint);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin: 16px 0 0;
    line-height: 1.5;
  }

  .result-alt strong{ color: var(--text); }

  .conflict-note{
    font-size: 14px;
    line-height: 1.55;
    background: var(--danger-tint);
    color: var(--danger-text);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin: -6px 0 20px;
  }

  .result-section-label{
    font-size: 14px;
    font-weight: 650;
    margin: 0 0 8px;
    color: var(--text);
  }

  .result-why{
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text);
    margin: 0 0 24px;
  }

  .practical-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
  }

  .practical-item{
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
  }

  .practical-item .p-title{
    font-size: 14.5px;
    font-weight: 620;
    margin-bottom: 2px;
    color: var(--text);
  }

  .practical-item .p-desc{
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.45;
  }

  .cta-primary{
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #fff;
    font-size: 15.5px;
    font-weight: 620;
    text-decoration: none;
    padding: 15px 18px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 140ms ease;
  }
  .cta-primary:hover{ background: var(--accent-strong); }
  .cta-primary:visited,
  .cta-primary:hover,
  .cta-primary:focus,
  .cta-primary:active,
  .cta-primary{ color: #fff !important; }
  .cta-primary:focus-visible{ outline: 2px solid var(--accent-strong); outline-offset: 2px; }

  .cta-secondary{
    display: block;
    text-align: center;
    margin-top: 28px;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px;
  }
  .cta-secondary:hover{ color: var(--text); text-decoration: underline; }
  .cta-secondary:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm);}

  .reset-row{
    text-align: center;
    margin-top: 22px;
  }

  .reset-btn{
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
  }
  .reset-btn:hover{ color: var(--text); }
  .reset-btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }

  /* ---------- Transitions ---------- */
  .step{
    animation: fadeIn 220ms ease;
  }
  @keyframes fadeIn{
    from{ opacity: 0; transform: translateY(4px); }
    to{ opacity: 1; transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce){
    .step{ animation: none; }
    .option-card{ transition: none; }
    .progress-fill{ transition: none; }
  }

  .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;
  }
