:root {
  --canvas: #f3efe6;
  --paper: #fbf8f2;
  --paper-deep: #e9e3d8;
  --white: #fffdf9;
  --ink: #1a2923;
  --muted: #78847d;
  --line: #ded8cd;
  --forest: #1c463b;
  --forest-deep: #11342c;
  --forest-soft: #2d6554;
  --gold: #d3ad64;
  --gold-light: #f0dfb8;
  --coral: #d8785f;
  --coral-light: #f1d4c8;
  --sage: #d9e4d8;
  --lilac: #ded9e9;
  --amber: #eee0b9;
  --shadow: 0 24px 70px rgba(33, 48, 41, .09);
  --shadow-small: 0 9px 28px rgba(33, 48, 41, .07);
  --radius: 26px;
  --radius-sm: 17px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--canvas); }
body, button, input, select { font-family: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(211, 173, 100, .55); outline-offset: 2px; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 252px; padding: 27px 17px 18px; color: #eef5ef; background: var(--forest-deep); display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 6; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 29px; }
.brand-symbol { width: 39px; height: 39px; color: var(--forest-deep); background: var(--gold); border-radius: 13px 13px 13px 5px; display: grid; place-items: center; transform: rotate(-3deg); }
.brand-symbol span { font-size: 10px; font-weight: 900; letter-spacing: -.08em; transform: rotate(3deg); }
.brand strong { display: block; font-size: 14px; letter-spacing: .025em; }
.brand small { display: block; margin-top: 4px; color: #9db7a9; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.nav-label { padding: 17px 13px 8px; color: #7e9f91; font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.nav { display: grid; gap: 3px; }
.nav button { width: 100%; border: 0; border-radius: 13px; padding: 11px 12px; color: #bad0c3; background: transparent; display: flex; align-items: center; gap: 10px; text-align: left; font-size: 12px; transition: background .18s ease, color .18s ease, transform .18s ease; }
.nav button:hover { color: white; background: rgba(255, 255, 255, .075); transform: translateX(2px); }
.nav button.active { color: white; background: rgba(255, 255, 255, .12); box-shadow: inset 3px 0 var(--gold); }
.nav-icon { width: 18px; color: var(--gold); text-align: center; font-size: 15px; }
.sidebar-spacer { flex: 1; }
.sidebar-note { margin: 20px 4px 12px; padding: 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; color: #c7dbce; background: rgba(255, 255, 255, .035); font-size: 11px; line-height: 1.55; }
.sidebar-note b { display: block; margin-bottom: 7px; color: var(--gold); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.sidebar-footer { padding: 0 8px; color: #7e9f91; font-size: 10px; }
.status-dot, .live-dot { width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #79bf8e; display: inline-block; box-shadow: 0 0 0 4px rgba(121, 191, 142, .1); }

.main { min-width: 0; flex: 1; margin-left: 252px; }
.topbar { height: 75px; padding: 0 39px; border-bottom: 1px solid rgba(222, 216, 205, .9); background: rgba(243, 239, 230, .83); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 5; backdrop-filter: blur(16px); }
.breadcrumb { color: var(--muted); font-size: 11px; letter-spacing: .02em; }
.breadcrumb strong { color: var(--ink); font-size: 12px; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.mode-switch { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--paper-deep); }
.mode-switch button { border: 0; border-radius: 8px; padding: 7px 11px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 800; }
.mode-switch button.active { color: var(--forest-deep); background: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; color: var(--forest); background: var(--white); font-size: 16px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--coral); display: grid; place-items: center; font-size: 10px; font-weight: 900; }
.content { width: 100%; max-width: 1530px; padding: 39px 40px 72px; }

.eyebrow { margin: 0 0 9px; color: var(--coral); font-size: 9px; font-weight: 900; letter-spacing: .18em; line-height: 1.1; text-transform: uppercase; }
.eyebrow.light { color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.055em; }
h1 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 57px); line-height: .99; }
h2 { margin-bottom: 8px; font-size: 30px; line-height: 1.05; }
h3 { margin-bottom: 7px; font-size: 15px; line-height: 1.25; }
p { line-height: 1.6; }
.lede { max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.lede.compact { font-size: 12px; }
.small-copy { color: var(--muted); font-size: 11px; line-height: 1.6; }
.btn { min-height: 40px; border: 0; border-radius: 12px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 11px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { color: white; background: var(--forest); box-shadow: 0 10px 22px rgba(28, 70, 59, .17); }
.btn-dark:hover { background: var(--forest-deep); box-shadow: 0 13px 29px rgba(28, 70, 59, .22); }
.btn-gold { color: var(--forest-deep); background: var(--gold); box-shadow: 0 10px 24px rgba(211, 173, 100, .18); }
.btn-gold:hover { background: #e0bd78; }
.btn-outline { color: var(--forest); border: 1px solid var(--line); background: transparent; }
.btn-ghost { color: #edf6f0; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); }
.text-button { border: 0; padding: 0; color: var(--forest-soft); background: transparent; font-size: 11px; font-weight: 900; }
.text-button:hover { color: var(--coral); }
.full-width { width: 100%; }
.quiet-pill { display: inline-flex; align-items: center; width: max-content; padding: 6px 8px; border-radius: 99px; color: var(--forest); background: var(--sage); font-size: 9px; font-weight: 900; white-space: nowrap; }
.quiet-pill.warm { color: #8f6126; background: var(--amber); }

.welcome-grid { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(270px, .65fr); gap: 19px; align-items: stretch; }
.hero-stage { min-height: 402px; padding: 39px 40px; border-radius: var(--radius); color: white; background: var(--forest); overflow: hidden; position: relative; display: flex; align-items: center; }
.hero-stage::before { content: ""; width: 520px; height: 520px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 50%; position: absolute; right: -210px; top: -270px; box-shadow: 0 0 0 42px rgba(255,255,255,.027), 0 0 0 91px rgba(255,255,255,.018); }
.hero-stage::after { content: ""; width: 260px; height: 260px; border-radius: 50%; background: rgba(211, 173, 100, .07); position: absolute; left: 45%; bottom: -170px; filter: blur(2px); }
.hero-copy { width: min(53%, 560px); position: relative; z-index: 1; }
.hero-copy h1 { max-width: 500px; color: white; }
.hero-copy > p:not(.eyebrow) { max-width: 460px; margin-bottom: 25px; color: #ceded3; font-size: 14px; line-height: 1.65; }
.hero-actions, .page-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.orbit-art { width: 370px; height: 370px; margin-left: auto; position: relative; z-index: 1; flex: 0 0 370px; }
.orbit-ring { border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; position: absolute; inset: 40px; }
.ring-two { inset: 95px; border-color: rgba(211, 173, 100, .32); }
.orbit-core { width: 102px; height: 102px; border: 1px solid rgba(255, 255, 255, .29); border-radius: 50%; color: var(--forest-deep); background: var(--gold); display: grid; place-items: center; align-content: center; position: absolute; inset: 134px; box-shadow: 0 0 0 13px rgba(211, 173, 100, .08); }
.orbit-core span { font-size: 24px; font-weight: 900; letter-spacing: -.11em; }
.orbit-core small { margin-top: 5px; color: #3e5b42; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.orbit-chip { min-width: 93px; padding: 8px 9px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; color: white; background: rgba(255, 255, 255, .08); display: flex; align-items: center; gap: 6px; position: absolute; font-size: 9px; backdrop-filter: blur(8px); }
.orbit-chip b { width: 19px; height: 19px; border-radius: 50%; color: var(--forest-deep); background: var(--gold); display: grid; place-items: center; font-size: 9px; }
.chip-one { left: 13px; top: 110px; }
.chip-two { right: 0; top: 58px; }
.chip-three { left: 32px; bottom: 74px; }
.chip-four { right: 7px; bottom: 40px; }
.focus-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-small); display: flex; flex-direction: column; justify-content: space-between; }
.focus-top, .panel-head, .page-header, .section-head, .test-top, .question-editor-head, .editor-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.focus-icon { width: 50px; height: 50px; margin: 29px 0 17px; border: 1px solid var(--gold); border-radius: 50%; color: var(--forest); background: var(--gold-light); display: grid; place-items: center; font-family: Georgia, serif; font-size: 18px; }
.focus-card h2 { font-size: 26px; }
.focus-card > p { min-height: 55px; margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.progress { height: 6px; border-radius: 99px; background: var(--paper-deep); overflow: hidden; }
.progress span { height: 100%; display: block; border-radius: inherit; background: var(--coral); transition: width .35s ease; }
.progress span.active { background: var(--gold); }
.progress span.pending { background: var(--paper-deep); }
.progress-row { display: flex; align-items: center; justify-content: space-between; margin: 7px 0; color: var(--muted); font-size: 10px; }
.progress-row b { color: var(--ink); }

.section-block { margin-top: 43px; }
.section-head { align-items: flex-end; margin-bottom: 16px; }
.section-head h2 { max-width: 650px; margin-bottom: 0; }
.section-note { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.principle-card { min-height: 170px; padding: 19px; border-radius: var(--radius-sm); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.principle-card::after { content: ""; width: 145px; height: 145px; border: 1px solid rgba(26, 41, 35, .12); border-radius: 50%; position: absolute; right: -71px; bottom: -78px; }
.principle-card.coral { background: var(--coral-light); }
.principle-card.lilac { background: var(--lilac); }
.principle-card.sage { background: var(--sage); }
.principle-number { color: rgba(26, 41, 35, .52); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.principle-card h3 { margin: 26px 0 5px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; letter-spacing: -.04em; }
.principle-card p { max-width: 270px; margin-bottom: 0; color: rgba(26, 41, 35, .68); font-size: 11px; line-height: 1.55; }
.principle-arrow { color: rgba(26, 41, 35, .55); position: absolute; right: 20px; top: 20px; font-size: 17px; }

.lower-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); gap: 17px; margin-top: 18px; }
.panel-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 5px 25px rgba(33, 48, 41, .025); }
.panel-head { margin-bottom: 18px; }
.panel-head h3 { margin-bottom: 0; }
.manual-preview { min-height: 220px; }
.locked-preview, .result-preview { min-height: 125px; display: flex; align-items: center; gap: 16px; }
.locked-symbol, .result-monogram { width: 74px; height: 74px; flex: 0 0 74px; border: 1px solid var(--line); border-radius: 22px; color: var(--forest); background: var(--sage); display: grid; place-items: center; font-family: Georgia, serif; font-size: 28px; }
.locked-preview strong, .result-preview h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
.locked-preview p, .result-preview p { max-width: 520px; margin: 5px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.result-monogram { position: relative; grid-template-columns: 1fr auto 1fr; gap: 3px; color: var(--forest-deep); font-size: 23px; }
.result-monogram span { font-family: Inter, sans-serif; font-size: 10px; }
.result-monogram.coral { background: var(--coral-light); }
.result-monogram.lilac { background: var(--lilac); }
.result-monogram.sage { background: var(--sage); }
.result-monogram.amber { background: var(--amber); }
.promise-card { min-height: 220px; background: var(--forest); color: white; }
.promise-card .eyebrow { color: var(--gold); }
.promise-card h3 { max-width: 310px; margin: 10px 0 21px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; letter-spacing: -.045em; }
.promise-card .small-copy { color: #c9ddd0; }
.archetype-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.archetype-chip { padding: 7px 9px 7px 7px; border-radius: 99px; color: var(--forest-deep); display: inline-flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 900; }
.archetype-chip i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: rgba(255,255,255,.45); }
.archetype-chip.coral { background: var(--coral-light); }
.archetype-chip.lilac { background: var(--lilac); }
.archetype-chip.sage { background: var(--sage); }
.archetype-chip.amber { background: var(--amber); }

.page-header { align-items: flex-end; margin-bottom: 29px; }
.page-header h1 { margin-bottom: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.filter { border: 1px solid var(--line); border-radius: 99px; padding: 8px 11px; color: var(--muted); background: var(--white); font-size: 10px; }
.filter.active { color: var(--forest); border-color: var(--forest); background: var(--sage); font-weight: 900; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.product-card { min-height: 260px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-small); }
.product-art { min-height: 130px; padding: 17px; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.product-art::after { content: ""; width: 145px; height: 145px; border: 1px solid rgba(26,41,35,.17); border-radius: 50%; position: absolute; right: -52px; bottom: -78px; }
.manual-art { background: var(--coral-light); }
.mint-art { background: var(--sage); }
.lilac-art { background: var(--lilac); }
.amber-art { background: var(--amber); }
.art-kicker { position: absolute; left: 17px; top: 15px; color: rgba(26, 41, 35, .55); font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.art-label { max-width: 80%; font-family: Georgia, serif; font-size: 26px; line-height: .97; letter-spacing: -.07em; position: relative; z-index: 1; }
.art-stamp { width: 32px; height: 32px; border: 1px solid rgba(26, 41, 35, .28); border-radius: 50%; display: grid; place-items: center; position: absolute; top: 13px; right: 14px; font-size: 10px; transform: rotate(8deg); }
.product-body { flex: 1; padding: 16px; display: flex; flex-direction: column; }
.product-body h3 { margin-bottom: 5px; }
.product-body p { margin-bottom: 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.status { color: var(--forest-soft); font-size: 9px; font-weight: 900; }
.status.pending { color: #a47534; }
.status.live { color: #3a8c67; }

.manual-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.result-hero { min-height: 270px; padding: 38px 42px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); color: white; background: linear-gradient(118deg, color-mix(in srgb, var(--result-accent, #a52f36) 58%, #40161d 42%) 0%, color-mix(in srgb, var(--result-accent, #a52f36) 36%, #241117 64%) 70%, #160f14 100%); display: block; overflow: hidden; position: relative; }
.result-hero { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%); }
.result-hero::after { display: none; }
.result-hero-copy { max-width: 900px; position: relative; z-index: 1; }
.result-hero h2 { margin-bottom: 16px; color: white; font-size: clamp(39px, 5vw, 68px); }
.result-hero p:not(.eyebrow) { max-width: 720px; color: #cfdfd4; font-size: 16px; line-height: 1.7; }
.result-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.result-tags span { padding: 8px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 99px; color: #ecf7ef; background: rgba(255,255,255,.09); font-size: 10px; font-weight: 900; }
.result-seal { width: 154px; height: 154px; flex: 0 0 154px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: var(--forest-deep); background: var(--gold); display: grid; place-items: center; align-content: center; position: relative; z-index: 1; text-align: center; box-shadow: 0 0 0 14px rgba(211,173,100,.1); }
.result-seal div { font-family: Georgia, serif; font-size: 37px; letter-spacing: -.12em; }
.result-seal div span { margin: 0 4px; font-family: Inter, sans-serif; font-size: 12px; letter-spacing: 0; }
.result-seal small { margin-top: 7px; color: #435c43; font-size: 8px; font-weight: 900; letter-spacing: .13em; line-height: 1.45; text-transform: uppercase; }
.manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 16px; }
.report-section { min-height: 230px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.report-section h2 { font-size: 28px; }
.report-section h3 { font-family: Georgia, serif; font-size: 24px; font-weight: 500; letter-spacing: -.045em; }
.report-section p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.7; }
.lead-report { grid-column: 1 / -1; background: var(--sage); }
.signature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.signature-grid > div { padding: 13px; border: 1px solid rgba(28, 70, 59, .12); border-radius: 12px; background: rgba(255,255,255,.4); }
.signature-grid span, .signature-grid small { display: block; color: var(--muted); font-size: 9px; }
.signature-grid strong { display: block; margin: 6px 0 2px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.quote-line { margin-top: 21px; padding: 13px 0 0; border-top: 1px solid var(--line); color: var(--forest); font-family: Georgia, serif; font-size: 16px; line-height: 1.35; }
.mini-bar { height: 7px; margin-top: 28px; border-radius: 99px; background: var(--paper-deep); overflow: hidden; }
.mini-bar span { height: 100%; display: block; border-radius: inherit; background: var(--coral); }
.bar-labels { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.dark-report { color: white; border-color: var(--forest); background: var(--forest); }
.dark-report .eyebrow { color: var(--gold); }
.dark-report p:not(.eyebrow) { color: #cadcd0; }
.next-report { background: var(--gold-light); border-color: var(--gold); }
.empty-manual { max-width: 640px; padding: 72px 0; }
.empty-symbol { width: 67px; height: 67px; margin-bottom: 24px; border-radius: 22px; color: var(--forest); background: var(--gold); display: grid; place-items: center; font-family: Georgia, serif; font-size: 25px; }

.manager-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 17px; }
.kpi { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.kpi.warm { background: #f7eee0; }
.kpi.good { background: var(--sage); }
.kpi-label { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.kpi-value { margin: 11px 0 5px; font-family: Georgia, serif; font-size: 29px; letter-spacing: -.05em; }
.kpi-foot { color: var(--muted); font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 17px; }
.readiness-list { display: grid; gap: 14px; }
.readiness-row { display: grid; grid-template-columns: 31px 1fr 40px; align-items: center; gap: 10px; }
.readiness-number { width: 31px; height: 31px; border-radius: 10px; color: var(--forest); background: var(--sage); display: grid; place-items: center; font-size: 9px; font-weight: 900; }
.readiness-info strong { display: block; font-size: 11px; }
.readiness-info small { display: block; margin: 3px 0 8px; color: var(--muted); font-size: 9px; }
.readiness-percent { color: var(--muted); font-size: 10px; text-align: right; }
.icon-orb { width: 33px; height: 33px; border-radius: 50%; color: var(--forest); background: var(--gold); display: grid; place-items: center; }
.editor-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; align-items: start; }
.editor-nav { padding: 18px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); position: sticky; top: 95px; }
.editor-nav .eyebrow { padding: 0 8px; }
.editor-nav-item { width: 100%; margin: 2px 0; border: 0; border-radius: 10px; padding: 10px 8px; color: var(--muted); background: transparent; display: flex; align-items: center; gap: 9px; text-align: left; font-size: 10px; font-weight: 800; }
.editor-nav-item:hover, .editor-nav-item.active { color: var(--forest); background: var(--sage); }
.editor-nav-item span { width: 17px; color: var(--coral); text-align: center; }
.editor-help { margin: 28px 4px 0; padding: 12px; border-radius: 12px; color: #6f5b35; background: var(--gold-light); font-size: 10px; line-height: 1.5; }
.editor-help b { display: block; margin-bottom: 5px; color: var(--forest); }
.editor-help p { margin: 0; }
.editor-main { min-width: 0; }
.editor-toolbar { margin-bottom: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); align-items: center; }
.editor-toolbar strong { display: inline-block; margin-right: 10px; font-size: 11px; }
.editor-toolbar small { color: var(--muted); font-size: 9px; }
.question-editor { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.question-editor-head h2 { max-width: 650px; margin-bottom: 0; font-size: 25px; }
.order-pill { padding: 7px 9px; border-radius: 99px; color: var(--forest); background: var(--sage); font-size: 9px; font-weight: 900; white-space: nowrap; }
.option-editor { display: grid; gap: 8px; margin-top: 24px; }
.option-line { min-width: 0; display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.option-index { width: 22px; height: 22px; border-radius: 7px; color: var(--forest); background: var(--sage); display: grid; place-items: center; font-size: 9px; font-weight: 900; }
.option-line input { min-width: 0; border: 0; outline: none; color: var(--ink); background: transparent; font-size: 11px; }
.option-type { padding: 5px 7px; border-radius: 99px; color: var(--muted); background: var(--paper-deep); font-size: 8px; font-weight: 900; }
.editor-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 19px; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
.block-list, .event-list { display: grid; gap: 8px; }
.block-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.block-row:last-child { border-bottom: 0; }
.block-row > span { color: var(--coral); font-size: 9px; font-weight: 900; }
.block-row strong { flex: 1; font-size: 10px; }
.visual-library { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.visual-tile, .upload-tile { min-height: 76px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--forest); font-family: Georgia, serif; font-size: 15px; }
.upload-tile { border-style: dashed; color: var(--muted); background: var(--paper); font-family: inherit; font-size: 10px; }
.tracking-columns { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 17px; }
.tracking-card { padding: 24px; border-radius: var(--radius-sm); color: white; background: var(--forest); }
.tracking-card h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.tracking-card p:not(.eyebrow) { color: #cbded2; font-size: 11px; line-height: 1.55; }
.tracking-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.tracking-card .field label { color: #bed6c7; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px; outline: none; color: var(--ink); background: var(--white); font-size: 11px; }
.tracking-card .field input { border-color: rgba(255,255,255,.14); color: white; background: rgba(255,255,255,.08); }
.url-output { margin-top: 12px; padding: 11px; border: 1px dashed rgba(255,255,255,.22); border-radius: 9px; color: #e5f3e9; word-break: break-all; font-family: ui-monospace, monospace; font-size: 9px; line-height: 1.5; }
.event-item { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.event-item:last-child { border-bottom: 0; }
.event-item > span { color: var(--coral); font-size: 9px; font-weight: 900; }
.event-item strong { font-size: 10px; }
.event-item small { color: var(--muted); font-size: 9px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 10px 8px; color: var(--muted); text-align: left; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.data-table td { padding: 13px 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; vertical-align: middle; }
.data-table td strong { display: block; color: var(--ink); font-size: 11px; }
.data-table td small { color: var(--muted); font-size: 9px; }
.table-scroll { overflow-x: auto; }

.modal-backdrop { position: fixed; inset: 0; z-index: 30; padding: 19px; background: rgba(9, 24, 19, .62); display: grid; place-items: center; backdrop-filter: blur(10px); }
.modal { width: min(610px, 100%); max-height: min(780px, 92vh); overflow: auto; padding: 25px; border-radius: 22px; color: var(--ink); background: var(--white); box-shadow: 0 36px 100px rgba(0, 0, 0, .28); }
.modal.large { width: min(820px, 100%); padding: 0; overflow: hidden; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.modal-head h2 { margin-bottom: 0; font-size: 29px; }
.modal-close { width: 30px; height: 30px; border: 0; border-radius: 9px; color: var(--forest); background: var(--paper-deep); font-size: 17px; }
.test-modal, .result-modal { min-height: 540px; color: white; background: var(--forest); }
.test-top { padding: 24px 28px 15px; color: white; align-items: flex-start; }
.test-count { color: #c3d8ca; font-size: 10px; }
.close-light { color: white; background: rgba(255,255,255,.1); }
.test-progress { height: 3px; margin: 0 28px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.test-progress span { height: 100%; display: block; border-radius: inherit; background: var(--gold); transition: width .3s ease; }
.test-content { padding: 44px 58px 38px; }
.test-kicker { margin-bottom: 13px; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.test-question { max-width: 650px; margin-bottom: 27px; color: white; font-size: clamp(28px, 4vw, 42px); }
.option-list { display: grid; gap: 9px; }
.option-card { width: 100%; min-height: 58px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; padding: 11px 13px; color: #e9f4ed; background: rgba(255,255,255,.065); display: grid; grid-template-columns: 28px 1fr 16px; align-items: center; gap: 10px; text-align: left; font-size: 11px; line-height: 1.45; transition: border .18s ease, background .18s ease, transform .18s ease; }
.option-card:hover { border-color: rgba(211,173,100,.75); transform: translateX(2px); }
.option-card.selected { border-color: var(--gold); color: white; background: rgba(211,173,100,.16); }
.option-mark { width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.26); border-radius: 8px; display: grid; place-items: center; color: var(--gold); font-size: 9px; font-weight: 900; }
.option-card.selected .option-mark { color: var(--forest-deep); border-color: var(--gold); background: var(--gold); }
.option-card i { color: var(--gold); font-style: normal; font-weight: 900; }
.test-footnote { margin: 19px 0 0; color: #a8c1b2; font-size: 10px; line-height: 1.5; }
.modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 23px; }
.test-modal .modal-actions, .result-modal .modal-actions { border-top: 1px solid rgba(255,255,255,.13); padding-top: 19px; }
.result-modal-body { max-width: 600px; padding: 40px 58px 52px; text-align: center; }
.result-modal-body .eyebrow { color: var(--gold); }
.result-modal-body h2 { color: white; font-size: 36px; }
.result-modal-body h2 em { color: var(--gold); font-style: normal; }
.result-lede { color: #cdded2; font-size: 13px; line-height: 1.7; }
.result-modal-body .result-tags { justify-content: center; }
.result-modal-body .modal-actions { justify-content: center; }
.large-seal { width: 126px; height: 126px; margin: 0 auto 24px; }
.large-seal div { font-size: 30px; }
.notice { padding: 13px; border-radius: 11px; color: var(--muted); background: var(--paper-deep); font-size: 11px; line-height: 1.55; }
.notice strong { color: var(--ink); }
.import-drop { padding: 28px 17px; border: 1px dashed var(--forest); border-radius: 14px; color: var(--forest); background: var(--sage); text-align: center; font-size: 12px; }
.import-drop small { color: var(--muted); font-size: 10px; }
.import-drop input { width: 100%; margin-top: 13px; color: var(--muted); font-size: 10px; }
.toast { position: fixed; right: 23px; bottom: 22px; z-index: 50; padding: 13px 15px; border-radius: 11px; color: white; background: var(--forest-deep); box-shadow: var(--shadow); font-size: 11px; animation: rise .22s ease both; }
.nav, .editor-nav { scrollbar-width: none; }
.nav::-webkit-scrollbar, .editor-nav::-webkit-scrollbar { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1120px) {
  .sidebar { width: 218px; }
  .main { margin-left: 218px; }
  .content { padding: 29px; }
  .topbar { padding: 0 29px; }
  .orbit-art { width: 300px; height: 300px; flex-basis: 300px; }
  .orbit-core { inset: 109px; }
  .orbit-ring { inset: 27px; }
  .ring-two { inset: 76px; }
  .chip-one { left: -4px; top: 91px; }
  .chip-two { right: -10px; top: 36px; }
  .chip-three { left: 5px; bottom: 56px; }
  .chip-four { right: -5px; bottom: 30px; }
}

@media (max-width: 880px) {
  .welcome-grid, .lower-grid, .dashboard-grid, .tracking-columns { grid-template-columns: 1fr; }
  .hero-copy { width: 57%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manager-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-nav { position: static; display: flex; align-items: center; gap: 4px; overflow-x: auto; padding: 9px; }
  .editor-nav .eyebrow, .editor-help { display: none; }
  .editor-nav-item { width: max-content; flex: 0 0 auto; }
}

@media (max-width: 680px) {
  .app-shell { display: block; }
  .sidebar { width: 100%; height: auto; padding: 14px 13px 10px; position: static; }
  .brand { padding: 0 4px 13px; }
  .sidebar .nav-label, .sidebar-note, .sidebar-spacer, .sidebar-footer { display: none; }
  .nav { display: flex; gap: 3px; overflow-x: auto; }
  .nav button { width: max-content; flex: 0 0 auto; padding: 8px 10px; }
  .nav button.active { box-shadow: inset 0 -3px var(--gold); }
  .main { margin-left: 0; }
  .topbar { height: 61px; padding: 0 16px; }
  .breadcrumb { display: none; }
  .content { padding: 22px 16px 45px; }
  h1 { font-size: 42px; }
  .page-header, .manual-header, .section-head { align-items: flex-start; flex-direction: column; }
  .hero-stage { min-height: 620px; padding: 28px 24px; display: block; }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: 45px; }
  .orbit-art { width: 300px; height: 300px; margin: 30px auto -28px; }
  .focus-card { min-height: 260px; }
  .principle-grid, .product-grid, .manual-grid, .editor-grid { grid-template-columns: 1fr; }
  .lead-report { grid-column: auto; }
  .result-hero { min-height: 350px; padding: 31px 25px; display: block; }
  .result-hero h2 { font-size: 46px; }
  .signature-grid { grid-template-columns: 1fr; }
  .test-content, .result-modal-body { padding: 34px 24px 28px; }
  .test-question { font-size: 32px; }
  .manager-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracking-form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .option-line { grid-template-columns: 29px 1fr; }
  .option-type { grid-column: 2; width: max-content; }
  .editor-toolbar { align-items: flex-start; flex-direction: column; }
  .data-table { min-width: 650px; }
}

@media print {
  .sidebar, .topbar, .page-actions, .eyebrow, .btn, .text-button { display: none !important; }
  .main { margin-left: 0; }
  .content { max-width: none; padding: 0; }
  .result-hero { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .report-section { break-inside: avoid; }
}

/* Direcao visual Aurora: produto mobile-first, tech premium e flexivel por publico. */
html[data-theme="aurora"], html[data-theme="light"] {
  --radius: 23px;
  --radius-sm: 18px;
}

html[data-theme="aurora"] {
  --canvas: #050712;
  --paper: #090d1d;
  --paper-deep: #11172d;
  --white: #10162b;
  --ink: #f4f7ff;
  --muted: #97a2bf;
  --line: rgba(130, 155, 255, .18);
  --forest: #182d74;
  --forest-deep: #050712;
  --forest-soft: #254ca8;
  --gold: #72c7ff;
  --gold-light: #d8f1ff;
  --coral: #ff6fbd;
  --coral-light: #321a45;
  --sage: #18294d;
  --lilac: #281b56;
  --amber: #211a4b;
  --shadow: 0 26px 90px rgba(0, 0, 0, .32);
  --shadow-small: 0 14px 40px rgba(0, 0, 0, .25);
}

html[data-theme="light"] {
  --canvas: #f6f8ff;
  --paper: #ffffff;
  --paper-deep: #edf1fb;
  --white: #ffffff;
  --ink: #0e1735;
  --muted: #6f7996;
  --line: #e0e6f4;
  --forest: #182c70;
  --forest-deep: #0b1230;
  --forest-soft: #315ac1;
  --gold: #4c87ff;
  --gold-light: #dce8ff;
  --coral: #e953aa;
  --coral-light: #f7ddec;
  --sage: #e8efff;
  --lilac: #eee5ff;
  --amber: #e7f5ff;
  --shadow: 0 25px 70px rgba(28, 43, 89, .11);
  --shadow-small: 0 10px 30px rgba(28, 43, 89, .08);
}

html[data-theme="aurora"] body {
  background: radial-gradient(circle at 82% 7%, rgba(89, 71, 255, .13), transparent 24rem), radial-gradient(circle at 18% 72%, rgba(255, 52, 174, .08), transparent 22rem), var(--canvas);
}

html[data-theme="light"] body {
  background: radial-gradient(circle at 90% 0%, rgba(91, 141, 255, .12), transparent 24rem), radial-gradient(circle at 12% 65%, rgba(231, 83, 170, .07), transparent 22rem), var(--canvas);
}

html[data-theme="aurora"] h1,
html[data-theme="aurora"] h2,
html[data-theme="aurora"] h3,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.065em;
}

html[data-theme="aurora"] .sidebar {
  background: linear-gradient(180deg, #050711 0%, #080d21 55%, #0b0820 100%);
  border-right: 1px solid rgba(126, 148, 255, .15);
}

html[data-theme="aurora"] .brand-symbol,
html[data-theme="light"] .brand-symbol {
  color: #06102d;
  background: linear-gradient(135deg, var(--gold) 0%, var(--coral) 100%);
  box-shadow: 0 0 28px rgba(114, 199, 255, .25);
}

html[data-theme="aurora"] .nav button.active,
html[data-theme="light"] .nav button.active {
  background: linear-gradient(90deg, rgba(94, 127, 255, .26), rgba(255, 92, 184, .09));
  box-shadow: inset 3px 0 var(--gold), 0 8px 20px rgba(66, 101, 255, .08);
}

html[data-theme="aurora"] .nav-icon,
html[data-theme="light"] .nav-icon,
html[data-theme="aurora"] .eyebrow,
html[data-theme="light"] .eyebrow {
  color: var(--coral);
}

html[data-theme="aurora"] .topbar,
html[data-theme="light"] .topbar {
  border-color: var(--line);
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
}

html[data-theme="aurora"] .mode-switch,
html[data-theme="light"] .mode-switch {
  background: var(--paper-deep);
}

html[data-theme="aurora"] .mode-switch button.active,
html[data-theme="light"] .mode-switch button.active {
  color: var(--ink);
  background: var(--white);
}

.theme-button {
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .07);
}

.theme-spark { color: var(--coral); font-size: 13px; }

html[data-theme="aurora"] .hero-stage,
html[data-theme="aurora"] .tracking-card {
  border: 1px solid rgba(114, 199, 255, .23);
  background: radial-gradient(circle at 82% 12%, rgba(82, 108, 255, .42), transparent 30%), radial-gradient(circle at 30% 105%, rgba(255, 72, 185, .2), transparent 34%), linear-gradient(140deg, #0b1230 0%, #111f5a 48%, #090b1e 100%);
  box-shadow: 0 32px 80px rgba(20, 55, 155, .23);
}

html[data-theme="light"] .hero-stage,
html[data-theme="light"] .tracking-card {
  border: 1px solid rgba(114, 141, 255, .25);
  background: radial-gradient(circle at 82% 12%, rgba(73, 130, 255, .45), transparent 30%), radial-gradient(circle at 30% 105%, rgba(255, 79, 182, .25), transparent 34%), linear-gradient(140deg, #101942 0%, #244ca5 48%, #171143 100%);
  box-shadow: 0 28px 70px rgba(31, 65, 160, .2);
}

html[data-theme="aurora"] .hero-stage::after,
html[data-theme="light"] .hero-stage::after {
  background: radial-gradient(circle, rgba(255, 81, 190, .25), transparent 68%);
}

html[data-theme="aurora"] .orbit-core,
html[data-theme="light"] .orbit-core,
html[data-theme="aurora"] .result-seal,
html[data-theme="light"] .result-seal {
  color: #08102b;
  background: linear-gradient(135deg, #81d6ff 0%, #8a7dff 48%, #ff76c5 100%);
  box-shadow: 0 0 0 13px rgba(114, 199, 255, .12), 0 0 46px rgba(129, 122, 255, .36);
}

html[data-theme="aurora"] .focus-card,
html[data-theme="aurora"] .panel-card,
html[data-theme="aurora"] .product-card,
html[data-theme="aurora"] .report-section,
html[data-theme="aurora"] .question-editor,
html[data-theme="aurora"] .editor-nav,
html[data-theme="aurora"] .editor-toolbar,
html[data-theme="light"] .focus-card,
html[data-theme="light"] .panel-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .report-section,
html[data-theme="light"] .question-editor,
html[data-theme="light"] .editor-nav,
html[data-theme="light"] .editor-toolbar {
  border-color: var(--line);
  box-shadow: var(--shadow-small);
}

html[data-theme="aurora"] .focus-card,
html[data-theme="aurora"] .panel-card,
html[data-theme="aurora"] .product-card,
html[data-theme="aurora"] .report-section,
html[data-theme="aurora"] .question-editor,
html[data-theme="aurora"] .editor-nav,
html[data-theme="aurora"] .editor-toolbar {
  background: linear-gradient(150deg, rgba(17, 23, 53, .94), rgba(9, 13, 31, .9));
}

html[data-theme="aurora"] .lead-report {
  background: linear-gradient(135deg, #172d68, #2b174f);
}

html[data-theme="light"] .lead-report {
  background: linear-gradient(135deg, #e5efff, #f8e2f0);
}

html[data-theme="aurora"] .principle-card.coral { background: linear-gradient(135deg, #35184b, #24163c); color: white; }
html[data-theme="aurora"] .principle-card.lilac { background: linear-gradient(135deg, #171f54, #241a50); color: white; }
html[data-theme="aurora"] .principle-card.sage { background: linear-gradient(135deg, #112d4e, #151b3d); color: white; }
html[data-theme="aurora"] .principle-card p { color: #aab8d5; }

html[data-theme="aurora"] .text-button,
html[data-theme="light"] .text-button { color: var(--gold); }

html[data-theme="aurora"] .btn-dark,
html[data-theme="light"] .btn-dark {
  background: linear-gradient(135deg, #2762df, #624bdb);
  box-shadow: 0 12px 28px rgba(62, 93, 220, .28);
}

html[data-theme="aurora"] .btn-dark:hover,
html[data-theme="light"] .btn-dark:hover { background: linear-gradient(135deg, #3a7bff, #7a5bee); }

html[data-theme="aurora"] .btn-gold,
html[data-theme="light"] .btn-gold {
  color: #07102c;
  background: linear-gradient(135deg, #73d6ff, #8b7cff 52%, #ff75bd);
  box-shadow: 0 12px 30px rgba(122, 120, 255, .3);
}

html[data-theme="aurora"] .btn-outline,
html[data-theme="light"] .btn-outline { color: var(--ink); }

html[data-theme="aurora"] .product-art.manual-art { background: linear-gradient(135deg, #1e4c99, #4f2a96 55%, #b12b77); }
html[data-theme="aurora"] .product-art.mint-art { background: linear-gradient(135deg, #123c6c, #226a97); }
html[data-theme="aurora"] .product-art.lilac-art { background: linear-gradient(135deg, #241653, #56349d); }
html[data-theme="light"] .product-art.manual-art { background: linear-gradient(135deg, #dcecff, #e9dcff 55%, #f7d9e9); }
html[data-theme="light"] .product-art.mint-art { background: linear-gradient(135deg, #dff5ff, #dfe9ff); }
html[data-theme="light"] .product-art.lilac-art { background: linear-gradient(135deg, #eee5ff, #f7dff1); }

html[data-theme="aurora"] .option-card,
html[data-theme="light"] .option-card { border-color: var(--line); background: var(--paper); }
html[data-theme="aurora"] .option-card:hover,
html[data-theme="aurora"] .option-card.selected,
html[data-theme="light"] .option-card:hover,
html[data-theme="light"] .option-card.selected { border-color: var(--gold); background: linear-gradient(90deg, rgba(73, 112, 255, .2), rgba(255, 90, 189, .13)); }

@media (max-width: 680px) {
  .theme-button { padding: 0 9px; }
  .theme-name { display: none; }
}

html[data-theme="aurora"] .quiet-pill,
html[data-theme="aurora"] .order-pill,
html[data-theme="aurora"] .editor-nav-item.active,
html[data-theme="aurora"] .editor-nav-item:hover {
  color: #d9ecff;
  background: linear-gradient(90deg, rgba(76, 126, 255, .27), rgba(255, 94, 190, .12));
}

html[data-theme="aurora"] .option-type {
  color: #b9cbed;
  background: rgba(130, 155, 255, .1);
}

html[data-theme="aurora"] .visual-tile,
html[data-theme="aurora"] .upload-tile {
  color: #c3b7ff;
  background: linear-gradient(135deg, rgba(67, 48, 123, .74), rgba(30, 43, 92, .76));
  border-color: rgba(137, 160, 255, .23);
}

html[data-theme="aurora"] .upload-tile { background: transparent; }

html[data-theme="aurora"] .kpi,
html[data-theme="aurora"] .kpi.warm,
html[data-theme="aurora"] .kpi.good {
  border-color: var(--line);
  background: linear-gradient(145deg, rgba(25, 34, 78, .92), rgba(12, 17, 42, .94));
}

html[data-theme="aurora"] .kpi.warm { box-shadow: inset 0 2px 0 rgba(255, 111, 189, .5); }
html[data-theme="aurora"] .kpi.good { box-shadow: inset 0 2px 0 rgba(114, 199, 255, .5); }
html[data-theme="aurora"] .kpi-value { color: #f6f8ff; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800; }

html[data-theme="aurora"] .signature-grid > div {
  border-color: rgba(188, 205, 255, .18);
  background: rgba(255, 255, 255, .1);
}

html[data-theme="aurora"] .signature-grid span,
html[data-theme="aurora"] .signature-grid small { color: #b9c8e7; }
html[data-theme="aurora"] .signature-grid strong { color: #ffffff; }

.report-overview { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 16px; margin-top: 16px; }
.report-overview { display: none; }
.score-intro, .radar-card { min-height: 300px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-small); }
.score-intro h2 { max-width: 360px; margin-bottom: 12px; }
.score-intro > p:not(.eyebrow) { max-width: 420px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.score-scale { display: grid; gap: 9px; margin-top: 25px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.score-scale span { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.score-scale strong { color: var(--ink); font-size: 11px; }
.report-source-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 24px 25px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(135deg, rgba(28, 70, 59, .08), rgba(211, 173, 100, .16)); box-shadow: var(--shadow-small); }
.report-source-card h2 { max-width: 650px; margin-bottom: 10px; font-size: 29px; }
.report-source-card p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.report-index { display: grid; grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr); gap: 18px; align-items: center; margin-top: 16px; padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.report-index-intro { display: grid; gap: 4px; }
.report-index-intro strong { color: var(--ink); font-size: 14px; }
.report-index-intro span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.report-index-links { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
.report-index-links a { min-width: 88px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--white); font-size: 10px; font-weight: 900; line-height: 1.25; text-decoration: none; transition: transform .2s ease, border-color .2s ease, color .2s ease; }
.report-index-links a:hover { color: var(--ink); border-color: var(--gold); transform: translateY(-2px); }
.report-index-links a span { display: block; margin-bottom: 5px; color: var(--gold); font-size: 9px; }
.radar-card { position: relative; display: flex; flex-direction: column; align-items: center; }
.dimension-card { align-items: stretch; }
.radar-head { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.radar-head h3 { margin-bottom: 0; }
.radar-chart { width: min(100%, 340px); height: 240px; margin-top: -4px; color: var(--muted); overflow: visible; }
.radar-chart text { fill: currentColor; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 10px; font-weight: 800; }
.dimension-chart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 24px; width: 100%; margin: 26px 0 22px; }
.dimension-row { display: grid; gap: 7px; }
.dimension-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dimension-row-head span { color: var(--ink); font-size: 12px; font-weight: 900; }
.dimension-row-head strong { color: var(--forest); font-size: 17px; letter-spacing: -.04em; }
.dimension-track { height: 9px; border-radius: 99px; background: var(--paper-deep); overflow: hidden; }
.dimension-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--forest-soft), var(--gold)); box-shadow: 0 0 12px rgba(211, 173, 100, .28); }
.dimension-row small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.chart-note { width: 100%; margin: -2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.chart-note strong { color: var(--ink); }
.full-report-grid { margin-top: 16px; }
.full-report-block { min-height: 210px; scroll-margin-top: 24px; }
.full-report-block h3 { font-size: 25px; }
.full-report-block.lead-report h3 { font-size: 31px; }
.full-report-block.dark-report { color: white; background: var(--forest-deep); }
.full-report-block.dark-report p:not(.eyebrow) { color: #ced9ef; }
.report-copy { display: grid; gap: 12px; }
.report-copy p { margin: 0; }
.report-copy strong { color: var(--ink); font-size: 11px; }
.report-copy ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.report-copy li::marker { color: var(--gold); }
.report-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.report-columns > div { display: grid; align-content: start; gap: 9px; }
.report-code { margin-top: 3px !important; padding: 13px 14px; border-left: 2px solid var(--gold); border-radius: 0 10px 10px 0; color: var(--ink) !important; background: rgba(91, 124, 255, .07); }
.report-code strong { display: inline-block; margin-bottom: 5px; color: var(--ink); }
.report-table { width: 100%; border-collapse: collapse; color: var(--muted); font-size: 12px; line-height: 1.55; }
.report-table th, .report-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.report-table th { color: var(--ink); font-size: 10px; font-weight: 900; }
.full-report-block.dark-report .report-copy strong,
.full-report-block.dark-report .report-table th { color: #ffffff; }
.full-report-block.dark-report .report-copy ul,
.full-report-block.dark-report .report-table { color: #ced9ef; }
.full-report-block.dark-report .report-code { color: #ffffff !important; background: rgba(255, 255, 255, .08); }
.full-report-block.dark-report .report-code strong { color: #ffffff; }
.report-disclaimer { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: var(--paper); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; line-height: 1.65; }
.report-disclaimer strong { color: var(--ink); }

.combination-reading { margin-top: 16px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-small); }
.combination-reading-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.combination-reading-head h2 { max-width: 570px; margin-bottom: 0; }
.combination-reading-lede { max-width: 730px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.combination-reading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.combination-reading-grid article { min-height: 150px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.combination-reading-grid article > span { display: block; margin-bottom: 15px; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.combination-reading-grid strong { display: block; margin-bottom: 8px; color: var(--ink); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.combination-reading-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

html[data-theme="aurora"] .score-intro,
html[data-theme="aurora"] .radar-card,
html[data-theme="aurora"] .report-disclaimer { background: linear-gradient(145deg, rgba(17, 23, 53, .94), rgba(9, 13, 31, .9)); }
html[data-theme="aurora"] .full-report-block.dark-report { background: linear-gradient(135deg, #192d6b, #281543); }
html[data-theme="light"] .score-intro,
html[data-theme="light"] .radar-card { background: rgba(255, 255, 255, .92); }

@media (max-width: 900px) {
  .report-overview { grid-template-columns: 1fr; }
  .report-index { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 680px) {
  .score-intro, .radar-card { min-height: auto; }
  .report-source-card { display: block; }
  .report-source-card .quiet-pill { display: inline-flex; margin-top: 15px; }
  .radar-chart { height: 220px; }
  .dimension-chart { grid-template-columns: 1fr; gap: 15px; margin: 22px 0 20px; }
  .report-columns { grid-template-columns: 1fr; gap: 12px; }
  .report-table { font-size: 11px; }
  .report-disclaimer { display: block; }
  .report-disclaimer strong { display: block; margin-bottom: 5px; }
  .combination-reading-head { display: block; }
  .combination-reading-head .quiet-pill { display: inline-flex; margin-top: 14px; }
  .combination-reading-grid { grid-template-columns: 1fr; }
}
