@charset "UTF-8";

:root {
  --paper: #f7f7f0;
  --white: #ffffff;
  --ink: #173f35;
  --text: #293e35;
  --muted: #52655b;
  --line: #d6dfd3;
  --green: #234f3f;
  --soft: #edf2e3;
  --lime: #d9ed92;
  --blue: #486d92;
  --sand: #f7f3e9;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 1.0625rem/1.65 var(--sans); }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .48; }
button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 4px;
}
a { color: var(--green); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); }
h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 650; line-height: 1.12; letter-spacing: -1.7px; overflow-wrap: anywhere; }
h2 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; }
h3 { font-size: 1.0625rem; line-height: 1.5; font-weight: 600; }
p + p { margin-top: 12px; }
svg { vertical-align: middle; flex-shrink: 0; }
.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 100; background: white; padding: 10px 18px; }
.skip-link:focus { top: 10px; }

/* The brand anchors every screen; navigation remains separate from job progress. */
.topbar { min-height: 92px; background: var(--ink); color: white; }
.header-inner { min-height: 92px; max-width: 1240px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; flex-shrink: 0; gap: 12px; padding: 0; border: 0; background: none; font-size: 1.875rem; font-weight: 700; letter-spacing: -.9px; color: white; }
.brand img { width: 48px; height: 48px; }
.brand:focus-visible, .help-menu > summary:focus-visible { outline-color: var(--lime); }
.brand-line { border-left: 1px solid #547064; padding-left: 26px; font-size: 0.9375rem; color: #e2ebdd; }
.header-actions { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.preview-label { font-size: 0.875rem; color: #e5efd7; background: #2c5144; border: 1px solid #557060; border-radius: 30px; padding: 5px 12px; }
.help-menu { position: relative; }
.help-menu > summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-size: 1rem; min-height: 48px; color: white; }
.help-menu > summary::-webkit-details-marker { display: none; }
.help-menu .icon { width: 15px; height: 15px; }
.help-options { position: absolute; right: 0; top: 55px; width: 240px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--text); box-shadow: 0 10px 30px #20352515; z-index: 10; }
.help-options button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px; border-radius: 5px; font-size: 1rem; }
.help-options button:hover { background: var(--soft); }
.layout { display: flex; flex-direction: column; min-height: calc(100vh - 92px); }
.main { width: min(1040px, calc(100% - 80px)); margin: 0 auto; padding: 24px 0 48px; flex: 1; min-width: 0; outline: none; }
.journey { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.nav-step { display: flex; align-items: center; gap: 10px; padding: 12px 0 18px; background: none; border: 0; border-bottom: 3px solid transparent; font-size: 1rem; color: var(--muted); text-align: left; }
.nav-step.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.step-num { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid #b6c5b4; border-radius: 50%; font-size: 0.875rem; color: var(--muted); }
.active .step-num { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.back-link { border: 0; background: none; padding: 0; font-size: 1rem; color: var(--muted); margin-bottom: 28px; min-height: 32px; }
.source-label { display: flex; align-items: center; gap: 7px; font-size: 0.875rem; color: var(--muted); margin-bottom: 21px; }
.source-label .icon { width: 14px; height: 14px; }
.intro { margin-bottom: 30px; }
.intro > p { margin-top: 18px; font-size: 1.25rem; line-height: 1.65; color: var(--muted); max-width: 760px; }
.screen-upload { width: min(1160px, calc(100% - 80px)); }
.welcome-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: 60px; align-items: start; padding-top: 14px; }
.welcome-message { padding-top: 26px; }
.welcome-action { min-width: 0; }
.brand-kicker { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--green); margin-bottom: 22px; }
.brand-kicker > span { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--lime); margin: 0 5px; }
.screen-upload .intro h1 { font-size: clamp(3rem, 4.65vw, 4rem); line-height: 1.07; letter-spacing: -2.6px; }
.screen-upload .intro h1 span { color: #4b6645; }
.screen-upload .intro > p { max-width: 420px; margin: 24px 0 0; font-size: 1.25rem; }
.eyebrow, .small-label { font-size: 0.875rem; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }

/* A plain-language front door, separate from the analysis workspace. */
.site-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.site-nav a { color: #f3f6ee; text-decoration: none; white-space: nowrap; font-size: 1rem; padding: 14px 0; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-nav a:focus-visible, .header-start:focus-visible { outline-color: var(--lime); }
.site-topbar .header-actions { margin-left: 12px; gap: 16px; }
.site-topbar .header-start { background: var(--lime); color: var(--ink); border-color: var(--lime); white-space: nowrap; }
.site-topbar .header-start:hover:not(:disabled) { background: #e6f4bc; }
.screen-home { width: min(1160px, calc(100% - 80px)); padding-top: 0; }
.site-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.9fr); align-items: center; gap: 76px; padding: 70px 0 72px; }
.site-hero h1 { font-size: clamp(3.25rem,5.5vw,4.75rem); line-height: 1.03; letter-spacing: -2.9px; }
.site-hero h1 span { color: #4b6645; }
.hero-description { color: var(--muted); font-size: 1.25rem; line-height: 1.7; margin-top: 26px; max-width: 540px; }
.site-hero .button-row { gap: 12px; margin-top: 28px; }
.preview-disclosure { color: var(--muted); font-size: .9375rem; max-width: 460px; margin: 18px 0 8px; }
.site-hero-copy > .text-button { font-size: .9375rem; }
.answer-overview { background: var(--soft); border: 1px solid #cddbbc; border-top: 4px solid var(--green); border-radius: 22px; padding: 30px; }
.answer-overview > .small-label { font-size: .875rem; line-height: 1.7; letter-spacing: .6px; }
.answer-overview > h2 { font-size: 1.875rem; margin-top: 10px; margin-bottom: 28px; letter-spacing: -.8px; }
.outcome-intro { display: flex; align-items: flex-start; gap: 15px; }
.outcome-symbol { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; background: var(--lime); color: var(--ink); }
.outcome-symbol .icon { width: 22px; height: 22px; }
.outcome-intro h3 { font-size: 1.1875rem; }
.outcome-intro p { margin-top: 9px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.outcome-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0; font-size: .875rem; color: var(--muted); }
.outcome-divider::before, .outcome-divider::after { content: ''; height: 1px; background: #c9d7bd; flex: 1; }
.outcome-note { font-size: .9375rem; color: var(--green); border-top: 1px solid #c9d7bd; margin-top: 25px; padding-top: 20px; }
.site-section { border-top: 1px solid var(--line); padding: 62px 0; scroll-margin-top: 24px; }
.section-intro { max-width: 680px; }
.site-section h2, .privacy-feature h2 { font-size: clamp(1.875rem,3vw,2.5rem); line-height: 1.2; letter-spacing: -1px; margin-top: 12px; }
.section-intro > p:last-child:not(.small-label) { color: var(--muted); margin-top: 18px; font-size: 1.125rem; }
.simple-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; list-style: none; padding: 0; margin: 36px 0 30px; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 600; margin-bottom: 17px; }
.simple-steps h3 { font-size: 1.25rem; }
.simple-steps p { margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.simple-steps .question-example { border-left: 2px solid #a4bc88; padding-left: 14px; font-size: .9375rem; }
.timing-note { display: flex; align-items: flex-start; gap: 12px; border-radius: 10px; padding: 17px 20px; background: var(--soft); color: var(--muted); font-size: .9375rem; }
.timing-note .icon { margin-top: 4px; }
.score-explainer { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 70px; }
.score-explainer > div > p:not(.small-label) { color: var(--muted); line-height: 1.8; }
.score-explainer strong { color: var(--ink); font-weight: 600; }
.needs-section { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 70px; }
.needs-list > div { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.needs-list > div:first-child { padding-top: 0; }
.needs-list > div:last-child { padding-bottom: 0; border: 0; }
.needs-list > div > .icon { width: 24px; height: 24px; color: var(--green); margin-top: 3px; }
.needs-list h3 { font-size: 1.125rem; }
.needs-list p { color: var(--muted); font-size: 1rem; margin-top: 10px; line-height: 1.75; }
.privacy-feature { display: flex; align-items: flex-start; gap: 26px; background: var(--ink); border-radius: 20px; padding: 40px; margin-bottom: 62px; color: #eef3e7; }
.privacy-feature h2 { color: white; margin: 10px 0 18px; }
.privacy-feature .small-label { color: #dce8d0; }
.privacy-feature p:not(.small-label) { max-width: 760px; font-size: 1.0625rem; line-height: 1.75; }
.privacy-feature .text-button { color: var(--lime); margin-top: 12px; }
.privacy-feature .text-button:focus-visible { outline-color: var(--lime); }
.privacy-feature-icon { display: grid; place-items: center; width: 54px; height: 54px; flex-shrink: 0; background: var(--lime); color: var(--ink); border-radius: 15px; }
.privacy-feature-icon .icon { width: 25px; height: 25px; }
.faq-section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 70px; }
.faq-list details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { cursor: pointer; color: var(--ink); font-size: 1.125rem; font-weight: 550; line-height: 1.5; }
.faq-list p { color: var(--muted); font-size: 1rem; margin-top: 16px; padding-right: 8px; line-height: 1.8; }
.faq-list details[open] { padding-bottom: 24px; }
.site-closing { display: flex; align-items: center; justify-content: space-between; gap: 36px; border-top: 1px solid var(--line); padding-top: 38px; margin-top: 4px; }
.site-closing h2 { font-size: 1.875rem; }
.site-closing p { color: var(--muted); margin-top: 10px; max-width: 560px; }
.site-closing .button-row { flex-shrink: 0; margin-top: 0; }
.file-help { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; max-width: 480px; }
.file-help summary { cursor: pointer; font-size: 1rem; color: var(--green); font-weight: 550; }
.file-help p { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-top: 12px; }
.welcome-message > .text-button { margin-top: 12px; }

/* Surfaces are reserved for choices, input, and the result itself. */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; min-width: 0; }
.card h2 + p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.card-top h2 { font-size: 1.25rem; }
.notice-heading, .report-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.grid, .report-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 20px; align-items: start; }
.grid > *, .report-grid > * { min-width: 0; }
.split, .auth-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.support-card h2 { margin-bottom: 14px; }
.support-card .eyebrow + h2 { margin-top: 10px; }
.section-gap { margin-top: 22px; }
.subtle { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.plain-note { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.plain-note p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.reading p { color: var(--muted); font-size: 1.0625rem; line-height: 1.85; margin-top: 10px; max-width: 72ch; }
.reading h2:not(:first-child) { margin-top: 25px; }
.reading h2:first-child { margin-top: 0; }
.wrap, .file-name { overflow-wrap: anywhere; }
.empty-label { color: var(--muted); }
.banner { display: flex; align-items: flex-start; gap: 9px; padding: 13px 16px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: #53634f; font-size: 1rem; line-height: 1.7; }
.banner .icon { width: 16px; height: 16px; margin-top: 3px; }
.banner.example { background: var(--sand); color: #79623b; border-color: #e9e1d1; }
.badge { display: inline-flex; align-items: center; border-radius: 5px; padding: 3px 8px; background: var(--soft); color: #5c7054; font-size: 0.875rem; line-height: 1.5; }
.badge.blue { background: #edf2f7; color: #426489; }
.badge.sand { background: var(--sand); color: #79623b; }

/* File selection and form controls. */
.upload-card { border-top: 4px solid var(--green); box-shadow: 0 8px 32px #173f3506; }
.upload-card > h2 { font-size: 1.5rem; }
.privacy-note { display: flex; align-items: flex-start; gap: 9px; font-size: 1rem; color: var(--muted); line-height: 1.75; margin: 12px 0 22px; }
.privacy-note .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--green); }
.privacy-note strong { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 11px; padding: 22px; min-height: 245px; border: 1px dashed #95ad88; border-radius: 12px; background: #f6f8ee; }
.dropzone.dragging { border-color: var(--green); background: #edf4e8; }
.upload-symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lime); color: var(--ink); }
.upload-symbol .icon { width: 25px; height: 25px; }
.dropzone h3 { font-size: 1.0625rem; font-weight: 500; }
.dropzone p { font-size: 0.875rem; line-height: 1.8; color: var(--muted); margin-top: 2px; }
.dropzone .button { min-width: 144px; }
.selection { display: flex; align-items: center; gap: 12px; background: var(--soft); padding: 17px; border-radius: 8px; }
.selection > div { min-width: 0; flex: 1; }
.selection strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.selection small { color: var(--muted); font-size: 0.875rem; }
.selection button { border: 0; background: none; padding: 7px; }
.example-link { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 23px; font-size: 1rem; color: var(--muted); }
.example-link .text-button { font-weight: 550; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1px solid var(--green); border-radius: 10px; padding: 12px 22px; background: var(--green); color: white; font-size: 1rem; font-weight: 600; text-decoration: none; line-height: 1.5; }
.button:hover:not(:disabled) { background: #264b3b; }
.button .icon { width: 15px; height: 15px; }
.button.secondary { color: var(--green); background: var(--white); border-color: #d1dbce; }
.button.secondary:hover:not(:disabled) { background: var(--soft); }
.button.ghost { color: var(--muted); background: transparent; border-color: transparent; }
.button.ghost:hover:not(:disabled) { background: var(--soft); }
.button.wide { width: 100%; }
.button.small { min-height: 46px; padding: 9px 16px; font-size: 1rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }
.text-button { border: 0; background: none; padding: 8px 0; min-height: 40px; font-size: 1rem; color: var(--green); }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-button .icon { width: 14px; height: 14px; margin-left: 4px; }
.form-group { margin-bottom: 25px; }
.form-group label, .field-label { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 9px; }
.form-group label span { margin-left: 7px; font-size: 0.875rem; font-weight: 400; color: var(--muted); }
textarea, input[type=text] { width: 100%; border: 1px solid #cfd8ca; border-radius: 7px; padding: 12px 14px; background: white; color: var(--ink); font-size: 1.0625rem; line-height: 1.7; }
textarea { resize: vertical; min-height: 120px; }
textarea::placeholder, input::placeholder { color: var(--muted); opacity: 1; }
input[type=checkbox], input[type=radio] { accent-color: var(--green); }
.field-help { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-top: 8px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 8px; }
.form-footer .field-help { margin: 0; }
.check-label { display: flex; align-items: flex-start; gap: 9px; font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
.check-label input { margin-top: 5px; }
.feedback { font-size: 1rem; color: var(--green); margin-top: 16px; }

/* Evidence is available without competing with the explanation. */
.definition-list { margin: 0; }
.definition-list > div { display: flex; justify-content: space-between; gap: 22px; padding: 12px 0; border-bottom: 1px solid #edf0e8; font-size: 1rem; }
.definition-list > div:last-child { border: 0; }
.definition-list dt { color: var(--muted); }
.definition-list dd { margin: 0; text-align: right; color: var(--ink); max-width: 65%; overflow-wrap: anywhere; }
.report-details { border: 0; border-top: 1px solid var(--line); padding: 17px 0 0; margin-top: 24px; }
.report-details summary { cursor: pointer; font-size: 1rem; font-weight: 550; color: var(--muted); }
.report-details[open] summary { color: var(--green); margin-bottom: 12px; }
.report-details p { margin-top: 10px; font-size: 1rem; color: var(--muted); }
.report-details pre { max-height: 280px; overflow: auto; font: 0.875rem/1.8 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.issues { padding-left: 18px; color: #79633b; font-size: 1rem; }
.issues li + li { margin-top: 8px; }
.two-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 23px; }
.two-facts > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.two-facts h3 { font-size: 1.5rem; font-weight: 550; margin: 10px 0 6px; overflow-wrap: anywhere; }
.two-facts p { font-size: 1rem; color: var(--muted); }
.two-facts .small-label { font-size: 0.875rem; }

/* Long-running progress has no decorative or time-based completion meter. */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; position: relative; gap: 13px; padding: 0 0 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 12px; top: 31px; bottom: 7px; width: 1px; background: var(--line); }
.timeline-mark { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; border: 1px solid #d4decd; border-radius: 50%; font-size: 0.875rem; color: var(--muted); }
.timeline-mark .icon { width: 14px; height: 14px; }
.timeline .complete .timeline-mark { background: var(--green); border-color: var(--green); color: white; }
.timeline .running .timeline-mark, .timeline .ask .timeline-mark { background: var(--soft); border-color: #78936c; color: var(--green); }
.timeline-text { flex: 1; min-width: 0; }
.timeline-text h3 { font-size: 1rem; }
.timeline-text p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-top: 4px; }
.timeline-text .badge { margin-top: 6px; font-size: 0.875rem; padding: 2px 6px; }
.status-heading { font-size: 1.875rem; font-weight: 550; letter-spacing: -.5px; margin: 10px 0 14px; }
.question-bubble { background: var(--soft); border-radius: 9px; padding: 18px; margin-top: 12px; }
.question-bubble p { font-size: 1rem; }
.answer-bubble { margin: 12px 0 12px 22px; padding: 14px 17px; border: 1px solid var(--line); background: #fcfcf8; border-radius: 9px; font-size: 1rem; overflow-wrap: anywhere; }
.message-meta { font-size: 0.875rem; color: var(--muted); margin-bottom: 8px; }
.conversation-input { margin-top: 22px; }
.option-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0; }
.option-button { border: 1px solid #d4decd; border-radius: 7px; background: white; padding: 9px 12px; font-size: 1rem; text-align: left; }
.option-button:hover { background: var(--soft); }
.event-log { max-height: 220px; overflow: auto; font: 0.875rem/1.8 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.event-log > div { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* Results and refusals receive the same quiet, complete treatment. */
.result-panel { background: var(--soft); border: 1px solid #cddbbc; border-top: 4px solid var(--green); padding: 32px; border-radius: 18px; }
.result-panel h2 { margin-top: 12px; }
.result-panel p { color: #53664b; font-size: 1rem; line-height: 1.85; }
.result-panel .eyebrow { font-size: 0.875rem; }
.score-value { color: var(--green); font-size: 4.5rem; font-weight: 500; line-height: 1.1; letter-spacing: -2px; margin: 22px 0; }
.score-value small { font-size: 1rem; font-weight: 400; letter-spacing: 0; margin-left: 8px; }
.no-score { color: var(--green); font-size: 2rem; line-height: 1.3; margin: 25px 0; }
.result-disclaimer { border-top: 1px solid #d0ddc8; margin-top: 19px; padding-top: 16px; }
.measure { padding: 17px 0; border-bottom: 1px solid var(--line); }
.measure:last-child { padding-bottom: 0; border: 0; }
.measure > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 1rem; }
.measure p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-top: 8px; }
.warning-list { color: var(--muted); font-size: 1rem; padding-left: 19px; }
.warning-list li + li { margin-top: 9px; }
.report-status { margin-bottom: 15px; }
.person-note { display: flex; gap: 10px; padding: 16px 18px; border-radius: 8px; background: var(--soft); color: #506a42; font-size: 1rem; }
.person-note .icon { margin-top: 3px; }
.report-body { margin-top: 8px; }
.report-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.report-section:last-child { border: 0; padding-bottom: 0; }
.report-section h2 { font-size: 1.375rem; }
.report-section p { margin-top: 8px; font-size: 1.0625rem; color: var(--muted); line-height: 1.85; max-width: 72ch; }
.support-handoff { margin-top: 32px; padding: 23px 0 0; border-top: 1px solid var(--line); }
.support-handoff h3 { font-size: 1.0625rem; }
.support-handoff p { margin: 8px 0 6px; font-size: 1rem; color: var(--muted); max-width: 590px; }
/* Optional exploration has an end; the complete report stays above it. */
.report-explorer { margin-top: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; }
.explorer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 25px 26px 0; }
.explorer-heading p { color: var(--muted); font-size: 1rem; margin-top: 5px; }
.explorer-heading .badge { flex-shrink: 0; }
.return-link { margin-top: 9px; text-align: center; }
.return-link .text-button { font-size: 1rem; color: var(--muted); }
.return-link .icon { width: 14px; height: 14px; }
.explorer-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 18px 26px 0; }
.explorer-tabs button { min-height: 45px; padding: 8px 0 11px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 1rem; }
.explorer-tabs [aria-selected=true] { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.question-count { display: inline-grid; place-items: center; background: var(--soft); border-radius: 20px; min-width: 20px; height: 20px; font-size: 0.875rem; margin-left: 4px; }
#explorer-body { padding: 22px 26px 25px; }
.topic-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.topic-choice { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; min-height: 60px; padding: 14px 18px; border: 1px solid #b2c2ae; border-radius: 10px; background: white; font-size: 1rem; transition: border-color .15s, background-color .15s; }
.topic-choice .icon { width: 16px; height: 16px; color: #758870; }
.topic-choice:hover { background: var(--paper); border-color: #a6b8a0; }
.topic-choice.selected { border-color: var(--green); background: var(--soft); color: var(--green); box-shadow: inset 3px 0 var(--green); }
.topic-answer { margin-top: 20px; padding: 22px; border-radius: 8px; background: var(--paper); outline: none; overflow-wrap: anywhere; }
.topic-answer:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.topic-answer h3 { font-size: 1.25rem; margin-bottom: 12px; }
.topic-answer > p { font-size: 1rem; color: var(--muted); line-height: 1.8; white-space: pre-line; }
.topic-answer .topic-source { color: var(--green); font-size: 0.875rem; margin-bottom: 7px; }
.question-prompt { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 20px; }
.question-prompt > p { font-size: 0.875rem; color: var(--muted); }
.question-prompt blockquote { padding: 0; margin: 6px 0 10px; font-size: 1rem; }
.question-prompt .text-button { font-size: 1rem; }
.question-prompt .text-button:disabled { color: var(--green); opacity: .8; cursor: default; }
.explorer-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; margin-top: 18px; }
.explorer-next > span, .explorer-done, .explorer-caption { font-size: 0.875rem; color: var(--muted); }
.explorer-next .text-button { font-size: 1rem; }
.explorer-done, .explorer-caption { margin-top: 17px; }
.explorer-empty p, .notebook-intro, .notebook-empty { font-size: 1rem; color: var(--muted); }
.notebook-empty { margin: 18px 0 22px; }
.saved-questions { padding-left: 22px; margin: 17px 0 24px; }
.saved-questions li { padding: 13px 0 13px 4px; border-bottom: 1px solid var(--line); }
.saved-questions li::marker { color: var(--muted); font-size: 1rem; }
.saved-questions p { font-size: 1.0625rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.question-actions { display: flex; gap: 20px; margin-top: 4px; }
.question-actions .text-button { min-height: 34px; font-size: 0.875rem; }
.notebook-form-actions { display: flex; gap: 12px; margin-top: 12px; }
.notebook-feedback { font-size: 1rem; color: var(--green); margin-top: 14px; }
.notebook-export { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 23px; margin-top: 23px; border-top: 1px solid var(--line); }
.notebook-export p { color: var(--muted); font-size: 1rem; margin-top: 6px; max-width: 390px; }
.notebook-export .button { flex-shrink: 0; }
.auth-options h2 { margin: 16px 0 10px; }
.auth-options p { font-size: 1rem; color: var(--muted); }
.auth-options .report-details { margin-top: 19px; }
.import-area { border-top: 1px solid var(--line); padding-top: 23px; margin-top: 23px; }
.how-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.how-row:first-child { padding-top: 0; }
.how-row:last-child { border: 0; padding-bottom: 0; }
.how-row > span { font-size: 1rem; color: #7c8c71; padding-top: 1px; }
.how-row p { margin-top: 5px; color: var(--muted); font-size: 1rem; }
.end-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); margin-bottom: 20px; color: var(--green); }

/* Preview controls do not compete with the person's next step. */
.page-footer { width: min(1040px, calc(100% - 80px)); margin: 0 auto; padding: 0 0 28px; }
.footer-row { display: flex; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.footer-row > span { display: flex; align-items: center; gap: 7px; margin-right: auto; }
.footer-row .icon { width: 13px; height: 13px; }
.footer-row .text-button { font-size: 0.875rem; color: var(--muted); }
.preview-tools { margin-top: 15px; color: var(--muted); }
.preview-tools > summary { cursor: pointer; font-size: 0.875rem; }
.preview-tools[open] { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.preview-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 15px; }
.preview-controls label { font-size: 1rem; }
.preview-controls select { max-width: 100%; border: 1px solid #ccd7c6; border-radius: 6px; padding: 7px 9px; background: white; color: var(--text); font-size: 1rem; }
.preview-tools p { font-size: 0.875rem; margin-top: 12px; }

@media (max-width: 1000px) {
  .site-nav { gap: 18px; }
  .site-topbar .header-start { display: none; }
  .site-hero { gap: 32px; }
  .site-hero h1 { font-size: 3.5rem; }
  .answer-overview { padding: 24px; }
  .answer-overview > h2 { font-size: 1.625rem; }
  .outcome-intro { gap: 12px; }
  .outcome-symbol { width: 32px; height: 32px; }
  .simple-steps { gap: 24px; }
  .score-explainer, .needs-section, .faq-section { gap: 36px; }
  .site-closing { align-items: flex-start; flex-direction: column; gap: 22px; }
  .brand-line { display: none; }
  .screen-upload { width: min(720px, calc(100% - 64px)); }
  .welcome-layout { grid-template-columns: minmax(0,1fr); gap: 24px; padding-top: 0; }
  .welcome-message { padding: 0; }
  .screen-upload .intro { margin-bottom: 0; }
  .screen-upload .intro h1 { font-size: 3.5rem; }
  .screen-upload .intro > p { max-width: 620px; margin-top: 18px; }
  .brand-kicker { margin-bottom: 16px; }
  .notebook-export { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 760px) {
  .site-topbar .header-inner { flex-wrap: wrap; gap: 0 12px; padding-top: 16px; }
  .site-topbar .site-nav { order: 3; width: 100%; margin: 10px 0 0; justify-content: flex-start; gap: 24px; border-top: 1px solid #476657; }
  .site-topbar .site-nav a { font-size: .9375rem; }
  .site-topbar .header-actions { margin-left: auto; }
  .site-hero { grid-template-columns: minmax(0,1fr); gap: 32px; padding: 42px 0; }
  .site-hero h1 { font-size: 3.5rem; }
  .hero-description { max-width: 100%; font-size: 1.125rem; margin-top: 22px; }
  .simple-steps, .score-explainer, .needs-section, .faq-section { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .simple-steps { margin-top: 28px; }
  .simple-steps li + li { border-top: 1px solid var(--line); padding-top: 24px; }
  .step-number { margin-bottom: 12px; }
  .site-section { padding: 42px 0; }
  .privacy-feature { gap: 20px; padding: 28px; margin-bottom: 42px; }
  .privacy-feature-icon { width: 40px; height: 40px; border-radius: 12px; }
  .grid, .report-grid, .auth-options { grid-template-columns: minmax(0,1fr); }
  .grid > aside { min-width: 0; }
  .main, .page-footer { width: calc(100% - 48px); }
  .main { padding-top: 16px; }
  .journey { gap: 12px; margin-bottom: 30px; }
  .nav-step { font-size: 0.9375rem; gap: 8px; flex-direction: column; align-items: flex-start; }
  .header-inner { padding: 0 24px; }
  .preview-label span { display: none; }
  .report-grid { gap: 16px; }
}
@media (max-width: 480px) {
  .site-topbar .header-inner { padding-top: 14px; }
  .site-topbar .site-nav { gap: 22px; }
  .site-topbar .site-nav a { font-size: .875rem; }
  .site-hero h1 { font-size: clamp(2.125rem,11.25vw,2.75rem); letter-spacing: -1.6px; }
  .site-hero .button-row { align-items: stretch; }
  .site-hero .button-row .button { flex: auto; }
  .answer-overview { border-radius: 15px; }
  .outcome-note { font-size: 1rem; }
  .privacy-feature { padding: 24px; flex-direction: column; }
  .site-closing .button-row { width: 100%; }
  .topbar, .header-inner { min-height: 76px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .header-actions { gap: 12px; }
  .preview-label { padding: 3px 9px; }
  .brand { font-size: 1.375rem; gap: 9px; letter-spacing: -.6px; }
  .brand img { width: 38px; height: 38px; }
  .help-menu > summary { font-size: 0.9375rem; }
  .help-menu .icon { display: none; }
  .layout { min-height: calc(100vh - 76px); }
  .main, .page-footer { width: calc(100% - 32px); }
  .main { padding-bottom: 30px; }
  h1 { font-size: 2.25rem; letter-spacing: -.9px; }
  .intro { margin-bottom: 25px; }
  .intro > p { font-size: 1.125rem; }
  .screen-upload .intro h1 { font-size: 2.75rem; letter-spacing: -1.7px; }
  .screen-upload .intro > p { margin-left: 0; font-size: 1.125rem; }
  .brand-kicker { font-size: 0.875rem; }
  .card, .result-panel { padding: 22px; border-radius: 14px; }
  .upload-card { padding: 22px; }
  .dropzone { padding: 20px 14px; min-height: 230px; }
  .privacy-note { font-size: 1rem; margin-bottom: 20px; }
  .example-link { display: block; text-align: center; margin-top: 20px; }
  .example-link span { display: block; }
  .example-link .text-button { padding: 7px 0; }
  .form-group { margin-bottom: 24px; }
  textarea, input[type=text] { font-size: 1.0625rem; }
  .form-footer { align-items: flex-start; flex-direction: column; gap: 15px; }
  .form-footer .button { width: 100%; }
  .button-row { gap: 8px; }
  .button-row .button { flex: 1; min-width: 120px; }
  .button-row .ghost { flex: 0; min-width: auto; }
  .definition-list > div { gap: 16px; font-size: 1rem; }
  .two-facts, .split { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .two-facts > div + div { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .status-heading { font-size: 1.75rem; }
  .support-card { padding: 21px; }
  .footer-row { column-gap: 14px; row-gap: 5px; flex-wrap: wrap; }
  .footer-row > span { flex: 1; min-width: 180px; }
  .preview-controls { align-items: flex-start; flex-direction: column; gap: 9px; }
  .preview-controls select { width: 100%; }
  .preview-tools p { line-height: 1.7; }
  .explorer-heading { padding: 20px 20px 0; flex-wrap: wrap; gap: 10px; }
  .explorer-tabs { margin: 14px 20px 0; }
  #explorer-body { padding: 18px 20px 21px; }
  .topic-choices { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .topic-choice { min-height: 48px; }
  .topic-answer { padding: 17px; }
  .notebook-export { align-items: flex-start; flex-direction: column; gap: 15px; }
  .notebook-export .button { width: 100%; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 8px; }
  .brand { font-size: 1.25rem; gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .preview-label { padding: 3px 7px; }
  .nav-step { font-size: 0.875rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .topbar, .journey, .page-footer, .button-row, .back-link, .support-handoff .text-button, .explorer-tabs, .topic-choices, .question-prompt button, .explorer-next, .question-actions, #notebook-form, .notebook-export button { display: none !important; }
  body { background: white; }
  .main { width: 100%; padding: 0; }
  .card, .report-section, .result-panel { break-inside: avoid; }
}
