@charset "UTF-8";

/* WAY: a quiet page, a clear question, room for a considered answer. */
:root {
  --ink: #172134;
  --muted: #687184;
  --accent: #2457e6;
  --accent-hover: #1747cb;
  --accent-pale: #edf2ff;
  --paper: #f7f8fc;
  --white: #fff;
  --line: #dde2eb;
  --line-strong: #c6cfdf;
  --pale: #eef1f6;
  --danger: #a33342;
  --radius: 18px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .48; }
button:disabled .spinner { opacity: 1; }
a { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #bdceff; outline-offset: 2px; border-color: var(--accent); }
input, textarea, select { accent-color: var(--accent); }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: #cddcff; }

.page-shell { display: flex; flex-direction: column; width: 100%; max-width: 1160px; min-height: 100svh; margin: 0 auto; padding: calc(24px + var(--safe-top)) 22px calc(24px + var(--safe-bottom)); }
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 55px; padding-bottom: 24px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -2.4px; }
.brand-point { width: 6px; height: 6px; background: var(--accent); }
.header-caption { color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: .05px; text-align: right; }
#app { flex: 1; width: 100%; min-width: 0; outline: none; }
.app-footer { color: var(--muted); font-size: 12px; line-height: 1.6; letter-spacing: .15px; padding-top: 22px; margin-top: 42px; border-top: 1px solid var(--line); }
.demo-banner { width: fit-content; border-left: 2px solid var(--accent); color: #395083; background: var(--accent-pale); padding: 10px 14px; margin: -14px 0 28px; font-size: 12px; line-height: 1.6; }
.initial-loading { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); }
.initial-loading p { font-size: 16px; }
.spinner { display: inline-block; width: 22px; height: 22px; flex: 0 0 auto; border: 2px solid #d8e0f2; border-top-color: var(--accent); border-radius: 50%; animation: spin .9s linear infinite; }
.button .spinner { width: 18px; height: 18px; border-color: #ffffff60; border-top-color: #fff; }
.button-secondary .spinner { border-color: #d8e0f2; border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font-size: 38px; font-weight: 620; line-height: 1.12; letter-spacing: -1.45px; margin-bottom: 20px; }
h2 { font-size: 26px; font-weight: 620; line-height: 1.25; letter-spacing: -.65px; margin-bottom: 18px; }
h3 { font-size: 20px; font-weight: 630; line-height: 1.4; letter-spacing: -.35px; margin-bottom: 12px; }
p { font-size: 16px; line-height: 1.75; margin-bottom: 20px; overflow-wrap: break-word; }
.eyebrow, .intro-kicker { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 650; line-height: 1.6; letter-spacing: 1.25px; text-transform: uppercase; margin: 0 0 18px; }
.eyebrow::before, .intro-kicker::before { content: ""; width: 20px; height: 2px; flex: 0 0 auto; background: currentColor; }
.lead { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.small-copy { color: var(--muted); font-size: 14px; line-height: 1.75; }
.text-link { color: var(--accent); font-size: 14px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
.text-button { min-height: 44px; padding: 12px 2px; border: 0; color: var(--muted); background: none; font-size: 14px; line-height: 1.55; text-underline-offset: 4px; }
.text-button:hover:enabled { color: var(--accent); text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 14px 21px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 16px; font-weight: 620; line-height: 1.5; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover:enabled { background: var(--accent-hover); box-shadow: 0 3px 12px #2457e618; }
.button-secondary { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.button-secondary:hover:enabled { border-color: #a8b7d3; background: var(--white); }
.button-danger { color: var(--danger); border-color: #e9cbd1; background: #fff5f6; }
.button-icon { width: 20px; height: 20px; min-width: 20px; flex: 0 0 auto; }
.full-width { width: 100%; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; font-size: 26px; }
.inline-error, .inline-warning { padding: 16px 18px; margin: 0 0 22px; border-left: 3px solid; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.75; }
.inline-error { color: var(--danger); border-color: #bb5564; background: #fff1f3; }
.inline-warning { color: #655226; border-color: #ba9b51; background: #faf5e9; }

/* Context: a compact introduction and a generous, practical form. */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 660px; margin: 0 auto; }
.intro-copy { min-width: 0; }
.intro-copy h1 { max-width: 620px; margin-bottom: 20px; }
.intro-copy .lead { margin-bottom: 0; }
.abstract-mark { display: none; }
.session-steps { display: flex; list-style: none; gap: 25px; padding: 20px 0 0; margin: 23px 0 0; border-top: 1px solid var(--line); }
.session-steps li { flex: 1; color: var(--muted); font-size: 12px; line-height: 1.7; }
.session-steps strong { display: block; color: var(--ink); font-size: 16px; font-weight: 570; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 0; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; list-style: none; }
.hero-meta span, .hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span + span::before, .hero-meta li + li::before { content: "·"; margin-right: 4px; color: #9aa4b7; }
.tiny-note { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.75; margin: 23px 0 0; }
.tiny-note svg { width: 18px; height: 18px; min-width: 18px; color: #8290a7; margin-top: 3px; }
.form-card { min-width: 0; padding: 25px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 23px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.card-caption h2 { font-size: 23px; font-weight: 620; letter-spacing: -.6px; margin: 0; }
.step-label { color: var(--muted); font-size: 12px; line-height: 1.5; letter-spacing: .5px; white-space: nowrap; }
.profile-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.field { display: block; min-width: 0; margin-bottom: 23px; }
.field-label { display: block; margin-bottom: 10px; color: var(--ink); font-size: 14px; font-weight: 620; line-height: 1.5; }
.field-hint, .age-note { display: block; color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 9px; }
.age-note { margin-top: -14px; margin-bottom: 25px; }
.field input, .field select, .field textarea { display: block; width: 100%; max-width: 100%; min-width: 0; height: 54px; padding: 14px 15px; color: var(--ink); background: #fcfcfe; border: 1px solid var(--line-strong); border-radius: 9px; font-size: 16px; line-height: 1.5; transition: border-color .16s ease, background .16s ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9eafcc; }
.field input::placeholder, .field textarea::placeholder { color: #7c879a; opacity: 1; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7 4 4 4-4' fill='none' stroke='%23687184' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input[type=date] { min-width: 0; appearance: none; -webkit-appearance: none; }
.field input[type=date]::-webkit-date-and-time-value { text-align: left; }
.field textarea { height: 144px; min-height: 112px; max-height: 350px; resize: vertical; line-height: 1.75; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 27px 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.consent input { width: 19px; height: 19px; min-width: 19px; margin: 4px 0 0; }
.consent a { color: var(--accent); text-underline-offset: 3px; }
.below-button { margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }

/* The three symbolic perspectives remain a quiet part of WAY's typography. */
.system-signature { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 22px 0 0; }
.system-signature > span { display: inline-flex; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.7; color: #485d87; }
.system-signature i { color: var(--accent); font-size: 12px; font-style: normal; font-variant-numeric: tabular-nums; }
.birth-time-group { margin-bottom: 25px; }
.birth-time-group .field { margin-bottom: 8px; }
.birth-time-group .field-hint { margin: 5px 0 0; }
.time-unknown { display: flex; align-items: center; gap: 11px; min-height: 44px; color: var(--ink); font-size: 14px; line-height: 1.65; cursor: pointer; }
.time-unknown input { width: 19px; height: 19px; min-width: 19px; margin: 0; }
.field input[type=time] { min-width: 0; appearance: none; -webkit-appearance: none; }
.field input[type=time]::-webkit-date-and-time-value { text-align: left; }
.field input:disabled { color: #8791a3; background: var(--pale); opacity: .8; }
.form-subheading { padding-top: 20px; margin: 5px 0 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.6; }
.place-field { position: relative; }
.place-hint { margin-bottom: 4px; }
.place-credit { display: inline-block; color: var(--muted); font-size: 12px; line-height: 1.7; text-underline-offset: 3px; }
.place-credit a { text-decoration: underline; text-underline-offset: 3px; }
.place-options { position: absolute; z-index: 10; top: 91px; left: 0; right: 0; max-height: 290px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); box-shadow: 0 12px 28px #17213414; }
.place-option { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; min-height: 65px; padding: 12px 15px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: var(--white); text-align: left; }
.place-option:last-child { border-bottom: 0; }
.place-option:hover, .place-option[aria-selected=true] { background: var(--accent-pale); }
.place-name { font-size: 16px; line-height: 1.55; }
.place-region { color: var(--muted); font-size: 12px; line-height: 1.6; }

/* Questions: one subject at a time, with large, distinct answer targets. */
.question-view { width: 100%; max-width: 760px; margin: 0 auto; }
.question-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.question-topline .eyebrow { margin: 0; font-size: 12px; letter-spacing: .8px; }
.question-counter { flex: 0 0 auto; color: var(--muted); font-size: 14px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.question-counter strong { color: var(--ink); font-size: 23px; font-weight: 570; letter-spacing: -.5px; }
.progress-track { height: 3px; background: #dfe5f0; margin-bottom: 35px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); transition: width .25s ease; }
.question-surface { padding-top: 0; }
.question-section-label { color: var(--accent); font-size: 12px; font-weight: 620; line-height: 1.6; letter-spacing: .6px; margin: 0 0 15px; }
.question-title { font-size: 29px; font-weight: 580; line-height: 1.36; letter-spacing: -.8px; margin-bottom: 20px; }
.question-hint { max-width: 590px; color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 27px; }
.options { display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0 0 25px; border: 0; min-width: 0; }
.option { position: relative; display: flex; align-items: center; gap: 15px; min-height: 68px; padding: 17px 18px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--white); font-size: 16px; line-height: 1.65; cursor: pointer; overflow-wrap: anywhere; transition: border-color .16s ease, background .16s ease; }
.option:hover { border-color: #94a9d8; background: #fcfdff; }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-pale); box-shadow: inset 0 0 0 1px var(--accent); }
.option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option:has(input:focus-visible) { outline: 3px solid #8cafff; outline-offset: 3px; }
.option-marker { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; min-width: 29px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--muted); background: transparent; font-size: 12px; line-height: 1; }
.option input:checked + .option-marker { color: #fff; border-color: var(--accent); background: var(--accent); }
.option:has(input:disabled) { cursor: wait; }
.answer-text { margin: 20px 0 0; }
.answer-text .field { margin-bottom: 0; }
.character-count { color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; margin: 8px 0 0; }
.question-actions, .question-navigation { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.question-actions .button-primary, .question-navigation .button-primary { flex: 1; }
.question-navigation .question-actions { flex: 1; margin-top: 0; }
.back-button { width: 55px; min-width: 55px; padding: 13px; }
.skip-row { text-align: center; margin-top: 10px; }
.save-note { color: var(--muted); font-size: 12px; line-height: 1.75; text-align: center; margin: 17px auto 0; max-width: 570px; }

/* Waiting states deliberately avoid simulated completion. */
.loading-view { max-width: 600px; padding: 25px 0 35px; margin: 0 auto; text-align: center; }
.loading-orbit { display: flex; align-items: center; justify-content: center; height: 85px; margin-bottom: 28px; }
.loading-core { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; background: var(--accent-pale); border-radius: 18px; color: var(--accent); }
.loading-core svg { width: 29px; height: 29px; }
.loading-view h1 { max-width: 540px; font-size: 35px; line-height: 1.2; margin: 0 auto 23px; }
.loading-view .lead { margin: 0 auto 28px; font-size: 17px; }
.loading-status { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; line-height: 1.65; margin: 30px 0; }
.loading-status .spinner { width: 17px; height: 17px; }
.loading-info { max-width: 430px; padding: 24px 0 0; margin: 30px auto 0; border-top: 1px solid var(--line); text-align: left; }
.loading-info h3 { font-size: 16px; margin-bottom: 9px; }
.loading-info p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.loading-time-note { max-width: 430px; margin: 25px auto 0; text-align: left; }
.notice-card { width: 100%; max-width: 580px; padding: 8px 0 32px; margin: 0 auto; }
.notice-symbol { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; color: var(--accent); background: var(--accent-pale); border-radius: 15px; font-size: 30px; margin-bottom: 30px; }
.notice-card h1 { font-size: 36px; }
.notice-card p { color: var(--muted); }
.notice-card .inline-error { color: var(--danger); }
.notice-card .button { width: 100%; margin-top: 9px; }

/* A personal essay: a single reading column and clear chapters. */
.report { width: 100%; max-width: 820px; margin: 0 auto; }
.report-header { padding: 2px 0 34px; margin-bottom: 0; border-bottom: 1px solid var(--line-strong); }
.report-header .eyebrow { margin-bottom: 21px; }
.report-label { display: inline-block; color: var(--muted); font-size: 12px; line-height: 1.7; letter-spacing: .5px; margin-bottom: 23px; }
.report-header h1 { max-width: 800px; font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: 1.13; font-weight: 400; letter-spacing: -1.25px; margin-bottom: 28px; text-wrap: pretty; }
.report-header > p:not(.eyebrow), .report-intro { max-width: 690px; color: #3d4860; font-size: 20px; line-height: 1.75; margin-bottom: 0; }
.report-intro p { max-width: 690px; font-size: 20px; line-height: 1.75; margin-bottom: 22px; }
.report-intro p:last-child { margin-bottom: 0; }
.report-toc { display: flex; flex-wrap: wrap; gap: 12px 23px; padding: 24px 0; margin: 0; list-style: none; border-bottom: 1px solid var(--line); }
.report-toc > span { width: 100%; color: var(--muted); font-size: 12px; line-height: 1.7; letter-spacing: .6px; text-transform: uppercase; }
.report-toc a { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; color: #52627f; font-size: 14px; line-height: 1.7; text-decoration: none; }
.report-toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.report-section { padding: 36px 0 0; margin: 0; scroll-margin-top: 24px; }
.report-section + .report-section { margin-top: 16px; border-top: 1px solid var(--line-strong); }
.section-heading, .report-section-title { display: flex; align-items: baseline; gap: 17px; margin-bottom: 26px; }
.section-heading h2, .report-section-title h2 { font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.65px; margin: 0; }
.section-number { color: var(--accent); font-size: 12px; font-weight: 650; line-height: 1.5; font-variant-numeric: tabular-nums; min-width: 20px; }
.report-section-intro { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.8; margin: 0 0 27px; }
.insight-grid, .finding-list { display: block; padding: 0; margin: 0; list-style: none; }
.insight-card { padding: 0 0 29px; margin: 0 0 29px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.insight-card:last-child { margin-bottom: 0; border-bottom: 0; }
.finding-list > li { list-style: none; }
.finding-index, .scenario-index { display: block; color: var(--accent); font-size: 12px; font-weight: 650; line-height: 1.7; letter-spacing: .6px; margin-bottom: 9px; }
.insight-card h3 { max-width: 680px; color: var(--ink); font-size: 22px; line-height: 1.4; font-weight: 590; letter-spacing: -.45px; margin-bottom: 14px; }
.report p { max-width: 690px; }
.insight-card p, .scenario-card p, .report-section > p, .practices li { color: #46526a; font-size: 17px; line-height: 1.8; }
.insight-card p { margin-bottom: 20px; }
.insight-card p:last-child { margin-bottom: 0; }
.evidence { max-width: 690px; padding: 1px 0 0; margin-top: 20px; }
.evidence summary { width: fit-content; color: #53678e; font-size: 14px; line-height: 1.7; cursor: pointer; text-underline-offset: 4px; }
.evidence summary:hover { color: var(--accent); text-decoration: underline; }
.evidence[open] { padding: 17px 20px; border-left: 2px solid #a8bdf2; background: #f0f3fa; }
.evidence ol { padding-left: 25px; margin: 19px 0 0; }
.evidence li { color: #68758d; font-size: 15px; line-height: 1.8; padding-left: 5px; margin: 17px 0; overflow-wrap: anywhere; }
.evidence li:last-child { margin-bottom: 0; }
.evidence-answer { display: block; color: var(--ink); margin-top: 7px; }
.scenario-card { padding: 0 0 32px; margin: 0 0 29px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.scenario-card:last-child { margin-bottom: 0; border-bottom: 0; }
.scenario-card h3 { max-width: 680px; font-size: 22px; font-weight: 590; line-height: 1.4; letter-spacing: -.45px; margin-bottom: 14px; }
.scenario-card p { margin-bottom: 20px; }
.scenario-note { color: var(--muted); font-size: 15px; line-height: 1.8; margin: -3px 0 29px; }
.scenario-action { display: flex; align-items: flex-start; gap: 15px; padding: 18px 20px; margin-top: 23px; max-width: 690px; background: var(--accent-pale); border-left: 2px solid var(--accent); }
.scenario-action svg { width: 18px; height: 18px; min-width: 18px; color: var(--accent); margin-top: 5px; }
.scenario-action > div { min-width: 0; }
.scenario-action strong { display: block; color: #354a78; font-size: 14px; font-weight: 650; line-height: 1.6; margin-bottom: 7px; }
.scenario-action p { color: #354a78; font-size: 16px; line-height: 1.8; margin: 0; }
.practices { list-style: none; counter-reset: practice; padding: 0; margin: 0; }
.practices li { display: flex; align-items: flex-start; gap: 19px; counter-increment: practice; padding: 22px 0; border-bottom: 1px solid var(--line); }
.practices li:first-child { padding-top: 0; }
.practices li:last-child { border-bottom: 0; }
.practices li::before { content: counter(practice, decimal-leading-zero); color: var(--accent); font-size: 12px; line-height: 1.7; font-weight: 650; min-width: 20px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.limitations { max-width: 690px; padding: 26px 0 0; margin-top: 34px; border-top: 1px solid var(--line); }
.limitations h3 { font-size: 14px; font-weight: 630; letter-spacing: 0; margin-bottom: 12px; }
.limitations p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 15px; }
.precision-details > summary { width: fit-content; color: #53678e; font-size: 14px; line-height: 1.8; cursor: pointer; text-underline-offset: 4px; }
.precision-details > summary:hover { color: var(--accent); text-decoration: underline; }
.precision-copy { margin-top: 23px; }
.precision-copy > p:last-child { margin-bottom: 0; }
.comparison-quotes { display: grid; gap: 23px; margin: 20px 0 25px; }
.comparison-card .quote-label { margin: 0 0 10px; color: #52678c; font-size: 14px; font-weight: 600; line-height: 1.7; }
.comparison-quote blockquote { margin: 0; padding-left: 18px; border-left: 2px solid #a8bdf2; color: #465a80; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.answer-quotation + .answer-quotation { margin-top: 21px; }
.quote-question { margin: 10px 0 0 20px; }
.quote-question summary { width: fit-content; color: var(--muted); font-size: 14px; line-height: 1.7; cursor: pointer; }
.comparison-card .quote-question p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.report-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin: 29px 0 0; }
.report-toolbar .button { font-size: 14px; }
.report-finish { max-width: 690px; padding-top: 30px; margin-top: 36px; border-top: 1px solid var(--line-strong); }
.report-finish h2 { font-size: 27px; line-height: 1.3; }
.report-finish p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.birth-summary { display: flex; flex-wrap: wrap; gap: 5px 17px; color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 17px; }
.birth-summary span + span::before { content: "·"; margin-right: 15px; color: #94a0b4; }
.symbolic-note { padding: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.time-limits { padding: 19px 22px; margin: 22px 0 25px; border-left: 2px solid #91abe8; background: var(--accent-pale); }
.time-limits h2 { margin-bottom: 9px; font-size: 17px; font-weight: 620; letter-spacing: -.2px; }
.time-limits p { margin: 0; color: #536587; font-size: 14px; line-height: 1.8; }
.system-summary { max-width: 690px; color: #46526a; font-size: 17px; line-height: 1.8; margin-bottom: 27px; }
.system-limitations { max-width: 690px; margin: 5px 0 22px; padding: 17px 20px; background: #eff2f8; border-left: 2px solid var(--line-strong); }
.system-limitations h3 { font-size: 14px; font-weight: 620; letter-spacing: 0; margin-bottom: 10px; }
.system-limitations p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
.system-limitations p:last-child { margin-bottom: 0; }
.natal-facts { margin: 18px 0 0; }
.natal-facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.natal-facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
.natal-facts dt { color: var(--muted); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.fact-system { display: block; margin-bottom: 3px; color: #7584a1; font-size: 12px; line-height: 1.65; }
.natal-facts dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.natal-evidence + .evidence { margin-top: 15px; }
.refinement-invite { padding: 29px 25px; margin-top: 38px; border: 1px solid #cedaf7; border-radius: 14px; background: #f0f4ff; }
.refinement-invite h2 { font-size: 27px; line-height: 1.3; }
.refinement-invite > p:not(.eyebrow):not(.below-button) { max-width: 650px; color: #4b5e84; font-size: 17px; line-height: 1.8; }
.refinement-invite > .button { width: 100%; margin-top: 5px; }
.answer-report { padding-top: 40px; margin-top: 46px; border-top: 3px solid var(--accent); scroll-margin-top: 24px; }
.answer-report-title { max-width: 800px; font-family: Georgia, "Times New Roman", serif; font-size: 39px; font-weight: 400; line-height: 1.15; letter-spacing: -1px; margin: 0 0 27px; }
.calculation-figure { max-width: 690px; margin: 26px 0 33px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calculation-figure figcaption { margin-bottom: 23px; }
.calculation-figure figcaption strong { display: block; color: var(--ink); font-size: 17px; font-weight: 620; line-height: 1.6; margin-bottom: 7px; }
.calculation-figure figcaption > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.75; }
.hd-diagram { display: block; width: 100%; max-width: 360px; height: auto; overflow: visible; margin: 0 auto; }
.hd-channel { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; opacity: .75; }
.hd-center rect { fill: var(--white); stroke: #aebbd3; stroke-width: 1.25; }
.hd-center text { fill: var(--ink); font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: -.2px; }
.hd-center.is-defined rect { fill: var(--accent); stroke: var(--accent); }
.hd-center.is-defined text { fill: #fff; }
.hd-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 23px; margin: 23px 0 0; }
.hd-legend > span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.hd-swatch { display: inline-block; width: 15px; height: 15px; border: 1px solid #aebbd3; border-radius: 3px; background: var(--white); }
.hd-swatch.defined { border-color: var(--accent); background: var(--accent); }
.hd-channel-list { margin-top: 22px; }
.hd-channel-list ul { padding: 0; margin: 17px 0 0; list-style: none; }
.hd-channel-list li { display: flex; gap: 15px; margin: 11px 0; padding: 0; font-size: 14px; line-height: 1.75; }
.hd-channel-list li > strong { min-width: 52px; color: var(--accent); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hd-channel-list li > span { color: var(--muted); }
.hd-empty { margin: 21px 0 0; text-align: center; }
.bazi-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bazi-pillar { display: flex; flex-direction: column; padding: 18px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.bazi-pillar.day-pillar { border-color: #9fb6f1; background: #f1f5ff; }
.pillar-label { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.65; }
.pillar-value { display: block; color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; font-size: 32px; line-height: 1.6; letter-spacing: 2px; margin: 12px 0; }
.pillar-value.missing { color: #9faabe; }
.pillar-detail { display: block; color: #63718a; font-size: 14px; line-height: 1.7; }
.pillar-ambiguous { display: block; margin: 13px 0 0; color: #657595; font-size: 12px; line-height: 1.6; }
.pillar-alternative + .pillar-alternative { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.pillar-reason { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.calculation-method { margin-top: 18px; }
.method-list { margin: 18px 0 0; }
.method-list > div + div { margin-top: 19px; }
.method-list dt { color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.7; margin-bottom: 5px; }
.method-list dd { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0; overflow-wrap: anywhere; }

/* Review: a useful index of answers, not another dashboard. */
.review-intro { width: 100%; max-width: 760px; margin: 0 auto; }
.review-intro h1 { max-width: 620px; font-size: 36px; line-height: 1.15; }
.review-intro .lead { max-width: 630px; }
.review-stats { display: flex; gap: 0; padding: 24px 0; margin: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-stat { flex: 1; padding: 0 16px; }
.review-stat:first-child { padding-left: 0; }
.review-stat + .review-stat { border-left: 1px solid var(--line); }
.review-stat strong { display: block; font-size: 32px; line-height: 1.15; letter-spacing: -1px; font-weight: 560; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.review-stat span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.review-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.review-actions .button-primary { flex: 1; }
.review-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.review-list li { border-bottom: 1px solid var(--line); }
.review-question { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 6px 13px; align-items: baseline; width: 100%; min-height: 80px; padding: 20px 0; border: 0; background: transparent; text-align: left; font-size: 16px; line-height: 1.7; }
.review-question:hover { color: var(--accent); }
.review-number { grid-column: 1; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.review-question-copy { grid-column: 2; overflow-wrap: anywhere; }
.review-status { grid-column: 2; color: #45628f; font-size: 12px; line-height: 1.6; }
.review-status.skipped { color: var(--muted); }
.review-status.empty { color: var(--danger); }

.sr-only { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.noscript { margin: 0; padding: 24px; color: var(--ink); background: var(--white); text-align: center; }

@media (min-width: 600px) {
  .page-shell { padding: calc(34px + var(--safe-top)) 42px calc(29px + var(--safe-bottom)); }
  .app-header { padding-bottom: 28px; margin-bottom: 45px; }
  .brand { font-size: 38px; }
  .header-caption { font-size: 14px; }
  h1 { font-size: 47px; letter-spacing: -1.8px; }
  .form-card { padding: 33px; }
  .intro-grid { gap: 37px; }
  .question-title { font-size: 34px; line-height: 1.35; letter-spacing: -1.1px; }
  .option { min-height: 73px; padding: 19px 21px; gap: 18px; font-size: 17px; }
  .question-hint { font-size: 15px; }
  .progress-track { margin-bottom: 43px; }
  .report-header { padding-bottom: 41px; }
  .report-header h1 { font-size: 54px; letter-spacing: -1.8px; }
  .report-header > p:not(.eyebrow), .report-intro, .report-intro p { font-size: 22px; line-height: 1.75; }
  .report-section { padding-top: 43px; }
  .section-heading h2, .report-section-title h2 { font-size: 32px; }
  .insight-card h3, .scenario-card h3 { font-size: 23px; }
  .review-intro h1 { font-size: 43px; }
  .review-question { grid-template-columns: 26px minmax(0, 1fr) 84px; gap: 17px; padding: 23px 0; }
  .review-status { grid-column: 3; text-align: right; }
  .app-footer { margin-top: 55px; }
  .natal-facts > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; }
  .answer-report-title { font-size: 49px; }
  .refinement-invite { padding: 32px; }
  .bazi-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .page-shell { padding-top: calc(43px + var(--safe-top)); padding-left: 48px; padding-right: 48px; }
  .app-header { margin-bottom: 59px; }
  .intro-grid { max-width: none; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: 75px; align-items: start; }
  .intro-copy { padding-top: 12px; }
  .intro-copy h1 { font-size: 64px; line-height: 1.05; letter-spacing: -2.8px; margin-bottom: 27px; }
  .intro-copy .lead { font-size: 18px; line-height: 1.8; }
  .session-steps { padding-top: 26px; margin-top: 33px; gap: 17px; }
  .session-steps strong { font-size: 18px; }
  .tiny-note { margin-top: 29px; }
  .form-card { padding: 36px; }
  .card-caption { padding-bottom: 26px; margin-bottom: 28px; }
  .card-caption h2 { font-size: 25px; }
  .question-view { padding-top: 2px; }
  .question-title { font-size: 37px; line-height: 1.34; }
  .loading-view { padding-top: 34px; }
  .loading-view h1 { font-size: 43px; }
  .notice-card { padding-top: 10px; }
  .notice-card h1 { font-size: 44px; }
  .report-header h1 { font-size: 60px; line-height: 1.12; }
  .report-section { padding-top: 47px; }
  .report-section + .report-section { margin-top: 23px; }
  .section-heading, .report-section-title { gap: 22px; margin-bottom: 30px; }
  .insight-card, .scenario-card { padding-bottom: 33px; margin-bottom: 33px; }
  .app-footer { margin-top: 68px; }
}
@media (max-width: 760px) {
  .intro-grid { gap: 23px; }
  .intro-copy .eyebrow, .intro-kicker { margin-bottom: 13px; }
  .intro-copy h1 { margin-bottom: 15px; }
  .session-steps { display: none; }
  .hero-meta { gap: 7px 16px; margin-top: 15px; }
  .tiny-note { margin-top: 16px; }
  .intro-grid .card-caption { padding-bottom: 19px; margin-bottom: 21px; }
}
@media (max-width: 370px) {
  .page-shell { padding-left: 17px; padding-right: 17px; }
  .header-caption { max-width: 125px; }
  .intro-copy h1 { font-size: 34px; letter-spacing: -1.2px; }
  .session-steps { gap: 13px; }
  .form-card { padding: 23px 18px; }
  .card-caption { gap: 10px; }
  .card-caption h2 { font-size: 21px; }
  .question-title { font-size: 26px; letter-spacing: -.6px; }
  .question-topline .eyebrow { font-size: 12px; letter-spacing: .4px; }
  .question-topline .eyebrow::before { display: none; }
  .option { padding: 16px 14px; gap: 12px; }
  .report-header h1 { font-size: 37px; letter-spacing: -1px; }
  .report-header > p:not(.eyebrow), .report-intro, .report-intro p { font-size: 19px; }
  .section-heading, .report-section-title { gap: 12px; }
  .section-heading h2, .report-section-title h2 { font-size: 25px; }
  .scenario-action { padding: 16px; gap: 12px; }
  .review-intro h1 { font-size: 33px; }
}
/* WAY 4: a compact live session and a clear sequence of reading surfaces. */
.page-shell { padding-left: 20px; padding-right: 20px; }
.app-header { padding-bottom: 20px; margin-bottom: 26px; }
.brand { letter-spacing: -2px; }
.session-status { position: sticky; z-index: 20; top: calc(8px + var(--safe-top)); display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; max-width: 820px; min-height: 65px; padding: 11px 16px; margin: 0 auto 22px; background: #fffffff5; border: 1px solid #d6dfee; border-radius: 14px; box-shadow: 0 7px 25px #243e7410; backdrop-filter: blur(12px); }
.session-status-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.session-phase { overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.session-deadline { color: var(--muted); font-size: 12px; line-height: 1.4; }
.session-remaining { color: var(--accent); font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.65px; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.session-status.is-near-expiry { border-color: #dccca7; background: #fffdf7f5; }
.session-status.is-near-expiry .session-remaining { color: #89651c; }
.intro-grid { gap: 24px; }
.intro-copy h1 { font-size: 42px; line-height: 1.06; letter-spacing: -1.65px; margin-bottom: 17px; }
.intro-copy .lead { font-size: 16px; line-height: 1.75; max-width: 460px; }
.system-signature { gap: 9px 15px; margin-top: 18px; }
.system-signature > span { border-bottom: 1px solid #d3ddee; padding-bottom: 5px; }
.form-card { border-radius: 20px; padding: 25px 22px; box-shadow: 0 6px 28px #243e7404; }
.form-card > .small-copy { font-size: 14px; line-height: 1.75; margin-bottom: 23px; }
.field { margin-bottom: 22px; }
.field-label { margin-bottom: 8px; }
.field input, .field select, .field textarea { height: 53px; border-color: #cbd5e5; background: #fcfdff; border-radius: 10px; }
.field textarea { height: 144px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { background: var(--white); border-color: var(--accent); }
.place-options { top: 88px; }
.card-caption { margin-bottom: 23px; padding-bottom: 21px; }
.consent { margin: 24px 0 20px; }
.session-notice { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; margin: 0 0 20px; background: #f0f4ff; border: 1px solid #dde6fb; border-radius: 12px; }
.session-notice .button-icon { color: #5775b2; margin-top: 2px; }
.session-notice p { color: #576985; font-size: 14px; line-height: 1.75; margin: 0; }
.button { border-radius: 12px; min-height: 54px; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.button-primary { box-shadow: 0 4px 10px #2457e612; }
.button-primary:hover:enabled { box-shadow: 0 6px 18px #2457e625; }
.button:active:enabled { transform: translateY(1px); }
.question-topline { margin-bottom: 15px; }
.progress-track { margin-bottom: 24px; height: 4px; border-radius: 3px; }
.question-surface { padding: 25px 22px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 7px 26px #243e7404; }
.question-section-label { margin-bottom: 12px; }
.question-title { font-size: 27px; line-height: 1.35; margin-bottom: 16px; }
.question-hint { font-size: 14px; line-height: 1.7; margin-bottom: 23px; }
.option { background: #f9fbff; border-color: #dce3f0; min-height: 66px; padding: 16px 15px; gap: 13px; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.option:hover { background: #f4f7ff; border-color: #a2b8ea; }
.option:has(input:checked) { background: #edf3ff; border-color: #4877ed; box-shadow: inset 3px 0 0 var(--accent); }
.option-marker { width: 28px; height: 28px; min-width: 28px; border-radius: 8px; background: #fff; }
.option input:checked + .option-marker { background: var(--accent); border-color: var(--accent); box-shadow: 0 2px 5px #2457e625; }
.question-actions { margin-top: 23px; }
.question-view > .text-button { margin-top: 8px; }
.report { max-width: 820px; }
.report-header { padding: 28px 25px; border: 1px solid #d9e2f0; border-radius: 22px; background: var(--white); box-shadow: 0 8px 30px #243e7404; }
.report-header .eyebrow { margin-bottom: 17px; }
.birth-summary { gap: 4px 12px; margin-bottom: 17px; }
.birth-summary span + span::before { margin-right: 11px; }
.interpretation-label { padding: 5px 10px; margin-bottom: 18px; color: #5872a2; border: 1px solid #dbe5f8; border-radius: 6px; background: #f3f6fe; font-size: 12px; letter-spacing: 0; }
.report-header h1, .answer-report-title { font-size: 39px; line-height: 1.16; letter-spacing: -1.15px; margin-bottom: 23px; }
.report-intro, .report-intro p, .report-header > p:not(.eyebrow) { font-size: 18px; line-height: 1.8; color: #45536d; }
.report-intro p { margin-bottom: 18px; }
.report-toc { display: flex; flex-wrap: nowrap; gap: 8px; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #ccd7eb transparent; scroll-snap-type: x proximity; padding: 15px 1px 13px; margin: 0 0 5px; border: 0; }
.report-toc > span { display: none; }
.report-toc > a { flex: 0 0 auto; min-height: 42px; padding: 8px 13px; border: 1px solid #dde4f0; border-radius: 9px; background: var(--white); color: #566988; font-size: 14px; line-height: 1.6; scroll-snap-align: start; }
.report-toc > a:hover { color: var(--accent); border-color: #b7c9f1; background: #f1f5ff; text-decoration: none; }
.report-toc::-webkit-scrollbar { height: 4px; }
.report-toc::-webkit-scrollbar-thumb { background: #ccd7eb; border-radius: 3px; }
.report-section { padding: 25px 23px 7px; margin: 15px 0 0; border: 1px solid var(--line); border-radius: 19px; background: var(--white); scroll-margin-top: calc(96px + var(--safe-top)); }
.report-section + .report-section { margin-top: 15px; border-top: 1px solid var(--line); }
.section-heading { align-items: flex-start; gap: 13px; margin-bottom: 23px; }
.section-number { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; background: #eef3ff; border: 1px solid #e1e9fb; border-radius: 8px; font-size: 12px; margin-top: 1px; }
.section-heading h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.65px; }
.report-section-intro { font-size: 16px; line-height: 1.8; margin-bottom: 22px; }
.insight-card { padding-bottom: 23px; margin-bottom: 22px; }
.insight-card h3, .scenario-card h3 { font-size: 21px; line-height: 1.45; letter-spacing: -.35px; margin-bottom: 13px; }
.insight-card p, .scenario-card p, .system-summary, .practices li { font-size: 17px; line-height: 1.8; }
.insight-card p { margin-bottom: 17px; }
.insight-card:last-child { padding-bottom: 22px; margin-bottom: 0; }
.scenario-card { padding: 21px 19px; margin-bottom: 17px; border: 1px solid #e0e7f3; border-radius: 13px; background: #f8faff; }
.scenario-card:last-child { padding-bottom: 21px; margin-bottom: 19px; border-bottom: 1px solid #e0e7f3; }
.scenario-action { padding: 16px; border-radius: 0 8px 8px 0; margin-top: 20px; }
.comparison-card { padding: 21px 19px; margin-bottom: 17px; border: 1px solid #e0e7f3; border-radius: 13px; background: #f8faff; }
.comparison-card:last-child { padding-bottom: 21px; margin-bottom: 19px; border-bottom: 1px solid #e0e7f3; }
.comparison-quotes { gap: 20px; margin: 18px 0 22px; }
.comparison-quote blockquote { color: #465a80; font-size: 16px; line-height: 1.8; }
.evidence { margin-top: 17px; }
.evidence[open] { border-radius: 0 9px 9px 0; padding: 16px 18px; }
.calculation-figure { margin: 22px 0 26px; padding: 20px 17px; border: 1px solid #e1e7f2; border-radius: 14px; background: #f9fbff; }
.calculation-figure figcaption { margin-bottom: 21px; }
.hd-diagram { max-width: 350px; }
.bazi-pillars { gap: 9px; }
.bazi-pillar { padding: 15px 12px; }
.pillar-value { font-size: 29px; }
.time-limits { padding: 18px 20px; margin: 17px 0 0; border-radius: 0 12px 12px 0; }
.precision-details { max-width: none; margin-top: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.precision-copy { margin-top: 20px; }
.refinement-invite { padding: 27px 24px; margin-top: 18px; background: #eaf1ff; border-color: #cddcfb; border-radius: 18px; }
.refinement-invite h2 { font-size: 27px; line-height: 1.3; }
.refinement-invite > p:not(.eyebrow):not(.below-button) { font-size: 16px; line-height: 1.8; }
.answer-report { padding-top: 26px; margin-top: 28px; border-top: 2px solid #c5d4f7; }
.answer-report .report-header { background: #f2f6ff; border-color: #d7e2f8; box-shadow: none; }
.report-finish { max-width: none; padding-top: 20px; margin-top: 20px; border: 0; }
.report-finish > .button { width: 100%; }
.review-intro { padding: 25px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.review-intro h1 { font-size: 32px; }
.review-stats { padding: 20px 0; margin: 23px 0; }
.review-stat strong { font-size: 29px; }
.review-list { margin-top: 25px; }
.loading-view { padding-top: 15px; }
.loading-orbit { height: 74px; margin-bottom: 22px; }
.loading-info { padding: 20px; background: #f0f4fc; border: 1px solid #e0e7f4; border-radius: 13px; margin-top: 25px; }
.notice-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 8px 28px #243e7405; }
.notice-card h1 { font-size: 37px; }
.expired-card { margin-top: 10px; }
.app-footer { padding-top: 21px; margin-top: 32px; }
#app[data-screen=question] .question-surface, #app[data-screen=expired] .notice-card { animation: way-enter .22s ease both; }
@keyframes way-enter { from { opacity: .6; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 600px) {
  .page-shell { padding-left: 38px; padding-right: 38px; }
  .app-header { margin-bottom: 32px; }
  .intro-copy h1 { font-size: 51px; }
  .intro-copy .lead { font-size: 17px; }
  .form-card { padding: 31px; }
  .session-status { padding: 12px 21px; margin-bottom: 25px; }
  .session-phase { font-size: 15px; }
  .session-remaining { font-size: 27px; }
  .question-surface { padding: 33px; }
  .question-title { font-size: 32px; }
  .option { padding: 17px 19px; min-height: 69px; }
  .report-header { padding: 35px 33px; }
  .report-header h1, .answer-report-title { font-size: 48px; }
  .report-intro, .report-intro p { font-size: 19px; }
  .report-section { padding: 31px 30px 10px; }
  .section-heading { gap: 16px; margin-bottom: 26px; }
  .section-heading h2 { font-size: 28px; }
  .insight-card h3, .scenario-card h3 { font-size: 22px; }
  .comparison-card, .scenario-card { padding: 24px; }
  .comparison-card:last-child, .scenario-card:last-child { padding-bottom: 24px; }
  .calculation-figure { padding: 24px; }
  .refinement-invite { padding: 32px; }
  .review-intro { padding: 33px; }
  .review-intro h1 { font-size: 38px; }
  .app-footer { margin-top: 42px; }
}
@media (min-width: 960px) {
  .page-shell { padding-left: 48px; padding-right: 48px; }
  .app-header { margin-bottom: 42px; }
  .intro-grid { gap: 63px; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  .intro-copy { padding-top: 18px; }
  .intro-copy h1 { font-size: 66px; letter-spacing: -2.8px; }
  .intro-copy .lead { font-size: 18px; }
  .system-signature { gap: 11px 17px; margin-top: 25px; }
  .form-card { padding: 34px; }
  .question-title { font-size: 34px; }
  .report-header h1, .answer-report-title { font-size: 53px; }
  .report-header { padding: 39px 37px; }
  .report-section { padding: 33px 34px 11px; }
  .section-heading h2 { font-size: 29px; }
  .question-surface { padding: 37px; }
}
@media (max-width: 370px) {
  .page-shell { padding-left: 16px; padding-right: 16px; }
  .intro-copy h1 { font-size: 37px; }
  .form-card, .question-surface, .review-intro { padding: 22px 18px; }
  .question-title { font-size: 25px; }
  .report-header { padding: 24px 20px; }
  .report-header h1, .answer-report-title { font-size: 35px; }
  .report-section { padding: 23px 17px 7px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading { gap: 11px; }
  .calculation-figure { padding: 18px 10px; }
  .bazi-pillar { padding: 13px 10px; }
  .comparison-card, .scenario-card { padding: 18px 15px; }
  .session-status { gap: 12px; padding: 10px 13px; }
  .session-phase { font-size: 13px; }
  .session-remaining { font-size: 23px; }
}

/* WAY 6: a softer editorial shell for the questionnaire and the single PDF hand-off. */
:root {
  --way-blue: #3156e8;
  --way-violet: #7567dd;
  --way-lilac: #eef0ff;
  --way-glass: rgba(255, 255, 255, .86);
}
body {
  min-height: 100svh;
  background: #eceff9;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(241,243,255,.95), rgba(232,235,249,.82)), url('/assets/way6-path.png?v=way-6') center / cover no-repeat;
  opacity: .94;
}
.page-shell {
  position: relative;
  isolation: isolate;
  max-width: 1240px;
}
.app-header {
  border-bottom-color: rgba(148, 160, 202, .30);
}
.brand {
  color: #1c2b57;
  letter-spacing: -2.6px;
}
.brand-point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--way-blue), var(--way-violet));
  box-shadow: 0 0 0 5px rgba(82, 99, 231, .10);
}
.header-caption, .app-footer { color: #697797; }
.intro-grid {
  max-width: 1080px;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}
.welcome-card {
  position: relative;
  display: flex;
  min-height: 540px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.50);
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(160deg, rgba(30, 48, 117, .86), rgba(65, 71, 172, .64) 48%, rgba(129, 110, 205, .35)), url('/assets/way6-path.png?v=way-6') center / cover no-repeat;
  box-shadow: 0 24px 65px rgba(39, 54, 119, .22);
}
.welcome-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255,255,255,.08), 0 0 0 44px rgba(255,255,255,.05);
}
.welcome-card > * { position: relative; z-index: 1; }
.welcome-card .eyebrow { color: #dfe4ff; }
.welcome-card .eyebrow::before { background: #cbd4ff; }
.welcome-card h1 { max-width: 520px; margin-bottom: 23px; color: #fff; font-size: clamp(42px, 5vw, 70px); letter-spacing: -3px; }
.welcome-card .lead { max-width: 470px; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.75; }
.welcome-card .hero-meta { color: rgba(255,255,255,.76); }
.welcome-card .hero-meta span + span::before { color: rgba(255,255,255,.45); }
.form-card {
  padding: 34px;
  border: 1px solid rgba(176, 186, 221, .55);
  border-radius: 30px;
  background: var(--way-glass);
  box-shadow: 0 20px 55px rgba(55, 69, 131, .12);
  backdrop-filter: blur(18px);
}
.card-caption { border-bottom-color: rgba(171, 181, 214, .42); }
.card-caption h2 { color: #1e2d57; }
.field input, .field select, .field textarea {
  border-color: #d4dbef;
  background: rgba(255,255,255,.78);
  border-radius: 13px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9babdf; background: #fff; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 4px rgba(68, 91, 230, .12); }
.button { border-radius: 15px; }
.button-primary {
  border: 0;
  background: linear-gradient(135deg, var(--way-blue), #574fd0);
  box-shadow: 0 10px 24px rgba(61, 81, 221, .26);
}
.button-primary:hover:enabled { background: linear-gradient(135deg, #2849d1, #4a43b9); box-shadow: 0 14px 28px rgba(61,81,221,.34); }
.consent { color: #677493; }
.question-view {
  max-width: 900px;
  padding: 28px;
  border: 1px solid rgba(174, 184, 220, .45);
  border-radius: 30px;
  background: linear-gradient(120deg, rgba(238,241,255,.92), rgba(241,240,255,.76)), url('/assets/way6-connections.png?v=way-6') right center / cover no-repeat;
  box-shadow: 0 22px 58px rgba(55, 69, 131, .14);
}
.question-topline, .question-block-intro { position: relative; z-index: 1; }
.question-block-intro { padding: 0 5px; }
.question-block-intro h2 { color: #1e2d57; }
.question-surface {
  position: relative;
  z-index: 1;
  padding: 32px;
  border: 1px solid rgba(186, 194, 226, .58);
  border-radius: 24px;
  background: rgba(255,255,255,.91);
  box-shadow: 0 15px 40px rgba(55,69,131,.12);
  backdrop-filter: blur(14px);
}
.option { border-radius: 15px; background: rgba(248,250,255,.85); }
.option:has(input:checked) { border-color: #4e66e6; background: #eef1ff; box-shadow: inset 4px 0 0 var(--way-blue), 0 5px 16px rgba(65,84,207,.10); }
.progress-track { background: rgba(116, 131, 191, .22); }
.progress-fill { background: linear-gradient(90deg, var(--way-blue), var(--way-violet)); }
.loading-view, .review-intro, .notice-card {
  max-width: 900px;
  padding: 42px;
  border: 1px solid rgba(174,184,220,.48);
  border-radius: 30px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 22px 58px rgba(55,69,131,.13);
  backdrop-filter: blur(16px);
}
.loading-view { background: linear-gradient(135deg, rgba(239,242,255,.90), rgba(255,255,255,.78)), url('/assets/way6-connections.png?v=way-6') right center / cover no-repeat; }
.loading-art, .success-art { display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 28px; border-radius: 30px; background: linear-gradient(145deg, #3156e8, #7d6ddd); box-shadow: 0 14px 32px rgba(61,81,221,.28); }
.loading-emblem { color: #fff; font-size: 46px; font-weight: 800; letter-spacing: -5px; }
.success-view { display: grid; max-width: 900px; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; padding: 38px; margin: 0 auto; border: 1px solid rgba(174,184,220,.48); border-radius: 30px; background: linear-gradient(135deg, rgba(239,242,255,.93), rgba(255,255,255,.83)), url('/assets/way6-path.png?v=way-6') center / cover no-repeat; box-shadow: 0 22px 58px rgba(55,69,131,.14); }
.success-art { width: 100%; height: 310px; margin: 0; border-radius: 24px; background: linear-gradient(145deg, rgba(49,86,232,.84), rgba(123,105,220,.72)), url('/assets/way6-connections.png?v=way-6') center / cover no-repeat; }
.success-check { display: grid; place-items: center; width: 78px; height: 78px; color: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(255,255,255,.15); }
.success-check .button-icon { width: 40px; height: 40px; stroke-width: 2.1; }
.success-content { min-width: 0; }
.success-content h1 { color: #1d2d59; }
.success-content .lead { color: #687695; }
.success-note { color: #72809e; font-size: 13px; line-height: 1.7; }
.pdf-download-button { color: #fff; background: linear-gradient(135deg, var(--way-blue), #574fd0); border: 0; }
.download-status { color: #657493; }
.review-intro { background: rgba(255,255,255,.86); }
.review-question { border-color: rgba(178,188,221,.36); }
.review-question:hover { color: var(--way-blue); }

@media (max-width: 760px) {
  .intro-grid { grid-template-columns: 1fr; }
  .welcome-card { min-height: 390px; padding: 30px; border-radius: 25px; }
  .welcome-card h1 { font-size: 47px; letter-spacing: -2px; }
  .form-card, .question-view, .loading-view, .review-intro, .notice-card { padding: 24px 20px; border-radius: 24px; }
  .question-view { padding: 17px; }
  .question-surface { padding: 24px 19px 20px; border-radius: 20px; }
  .success-view { grid-template-columns: 1fr; gap: 23px; padding: 20px; border-radius: 24px; }
  .success-art { height: 170px; border-radius: 19px; }
  .success-content h1 { font-size: 34px; }
}

.hd-figure { padding-left: 0; padding-right: 0; background: transparent; border-left: 0; border-right: 0; border-radius: 0; }
.hd-center text { font-size: 17.5px; letter-spacing: -.45px; }
/* WAY 5: three readable chapters and a shared, calculated bodygraph. */
.report-download { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 17px 0 7px; }
.pdf-download-button { min-height: 50px; padding: 12px 20px; background: #fff; border-color: #c5d3f1; color: var(--accent); }
.pdf-download-button .button-icon { transform: rotate(90deg); }
.download-status { flex: 1 1 220px; color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.download-status:empty { display: none; }
.report-section { scroll-margin-top: 22px; }
.report-section[id^="natal-life-"] { border-top: 3px solid #2854e8; }
.life-area-summary { max-width: 660px; margin: 0 0 27px; }
.life-area-summary p { color: #35455f; font-size: 18px; line-height: 1.85; margin: 0 0 16px; }
.practical-finding + .practical-finding { padding-top: 4px; }
.finding-everyday { display: grid; gap: 13px; margin: 22px 0; }
.reading-label { display: block; margin: 0 0 8px; color: #64728a; font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); font-size: 12px; font-weight: 650; line-height: 1.5; letter-spacing: .04em; }
.finding-simple { border-left: 2px solid #6c8df0; padding: 2px 0 2px 17px; }
.finding-example { padding: 17px 18px; border: 1px solid #e2e7f1; border-radius: 11px; background: #f8faff; }
.finding-practice { display: flex; align-items: flex-start; gap: 12px; padding: 17px 18px; border-radius: 11px; background: #edf3ff; }
.finding-practice .button-icon { flex: 0 0 18px; color: #456bce; margin-top: 2px; }
.finding-practice .reading-label { color: #4165b4; }
.finding-simple p, .finding-example p, .finding-practice p { margin: 0 0 12px; font-size: 16px; line-height: 1.8; }
.finding-simple p:last-child, .finding-example p:last-child, .finding-practice p:last-child { margin-bottom: 0; }
.question-block-intro { margin: 0 0 23px; }
.question-block-intro h2 { margin: 0; max-width: 620px; font-size: 22px; font-weight: 620; line-height: 1.45; letter-spacing: -.4px; }
.question-block-intro > p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.block-step { margin: 0 0 6px; color: #61769b; font-size: 12px; line-height: 1.6; }
.question-topline { margin-bottom: 12px; }
.question-view .progress-track { margin-bottom: 21px; }
.question-section-label { font-size: 12px; }
.bodygraph-figure { padding: 22px 0 17px; margin: 25px 0; border-left: 0; border-right: 0; border-radius: 0; background: #fff; }
.bodygraph-figure figcaption { padding: 0 2px; margin-bottom: 22px; }
.bodygraph-figure figcaption strong { font-size: 23px; letter-spacing: -.4px; }
.bodygraph-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 23px 17px; }
.bodygraph-plot { grid-row: 1; grid-column: 1 / -1; width: 100%; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bfcde5 transparent; border-radius: 10px; }
.classic-bodygraph { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.bodygraph-plot.is-expanded .classic-bodygraph { width: 520px; max-width: none; }
.activation-column { min-width: 0; padding-top: 13px; border-top: 2px solid #252933; }
.activation-column.design { border-color: #ba463f; }
.activation-column h4 { margin: 0 0 3px; color: #252933; font-size: 16px; font-weight: 650; line-height: 1.5; }
.activation-column.design h4, .activation-column.design dd { color: #a63c37; }
.activation-subtitle { color: #727c8c; font-size: 12px; line-height: 1.5; margin: 0 0 12px; }
.activation-column dl { margin: 0; }
.activation-column dl > div { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 36px; padding: 7px 0; border-bottom: 1px solid #edf0f5; }
.activation-column dt { display: flex; align-items: center; gap: 6px; min-width: 0; color: #667080; font-size: 12px; line-height: 1.5; }
.activation-column dt > span:last-child { overflow-wrap: anywhere; }
.activation-column dd { margin: 0; flex: 0 0 auto; color: #252933; font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.planet-symbol { display: inline-flex; width: 19px; justify-content: center; flex: 0 0 19px; color: inherit; font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif; font-size: 19px; }
.bodygraph-tools { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 13px 0 16px; }
.bodygraph-tools .text-button { min-height: 44px; padding-left: 0; font-size: 14px; }
.bodygraph-tools p { margin: 0; color: #737e8f; font-size: 12px; line-height: 1.5; }
.bodygraph-legend { display: flex; flex-wrap: wrap; gap: 10px 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.bodygraph-legend > span { display: inline-flex; align-items: center; gap: 7px; color: #626e80; font-size: 12px; line-height: 1.6; }
.bodygraph-legend i { display: inline-block; width: 18px; height: 5px; border-radius: 2px; }
.legend-personality { background: #252933; }
.legend-design { background: #ba463f; }
.legend-both { background: repeating-linear-gradient(90deg, #252933 0 4px, #ba463f 4px 8px); }
.bodygraph-note { margin: 13px 0 0; color: #727d8e; font-size: 13px; line-height: 1.8; }
.hd-overview { display: grid; gap: 10px; margin: 27px 0; }
.hd-guide-item { padding: 17px 19px; border: 1px solid #dfe6f3; border-radius: 11px; background: #f8faff; }
.hd-guide-item > summary { cursor: pointer; position: relative; padding-right: 23px; list-style: none; }
.hd-guide-item > summary::-webkit-details-marker, .center-guide-item > summary::-webkit-details-marker { display: none; }
.hd-guide-item > summary::after, .center-guide-item > summary::after { content: "+"; position: absolute; right: 0; top: 9px; color: #7890bc; font-size: 23px; line-height: 1; font-weight: 400; }
.hd-guide-item[open] > summary::after, .center-guide-item[open] > summary::after { content: "−"; }
.hd-guide-item summary .reading-label { margin-bottom: 5px; }
.hd-guide-item summary strong { color: #243754; font-size: 17px; line-height: 1.65; font-weight: 600; }
.hd-guide-copy { margin: 19px 0 0; }
.hd-guide-copy > p { color: #526179; font-size: 16px; line-height: 1.85; margin: 0 0 17px; }
.hd-guide-copy .finding-example { background: #fff; margin: 17px 0 12px; }
.hd-guide-copy .finding-practice { margin-bottom: 3px; }
.center-guide { margin: 30px 0; }
.center-guide > h3 { font-size: 23px; line-height: 1.4; letter-spacing: -.4px; margin: 0 0 15px; }
.center-guide-intro { color: #68788e; font-size: 15px; line-height: 1.85; margin: 0 0 21px; }
.center-guide-list { border-top: 1px solid var(--line); }
.center-guide-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.center-guide-item > summary { position: relative; display: flex; gap: 14px; align-items: flex-start; list-style: none; cursor: pointer; padding-right: 27px; }
.center-guide-index { width: 24px; flex: 0 0 24px; color: #8c99ac; font-size: 12px; line-height: 1.8; padding-top: 3px; font-variant-numeric: tabular-nums; }
.center-guide-item summary strong { display: block; color: #2e405d; font-size: 17px; font-weight: 600; line-height: 1.6; }
.center-state { display: block; color: #8892a0; font-size: 12px; line-height: 1.7; margin-top: 3px; }
.center-state.is-defined { color: #7e683e; }
.guide-sources li, .profile-examples li { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.guide-sources a, .profile-examples a { text-underline-offset: 3px; }
.profile-examples > p, .profile-examples li p { color: #6b7890; font-size: 14px; line-height: 1.8; }
.report-finish { padding-top: 13px; }
.print-notice { display: none; }
@media (min-width: 600px) {
  .question-block-intro h2 { font-size: 26px; }
  .life-area-summary p { font-size: 19px; }
  .bodygraph-layout { grid-template-columns: minmax(105px, 1fr) minmax(240px, 2.5fr) minmax(105px, 1fr); gap: 12px; align-items: center; }
  .bodygraph-plot { grid-column: 2; grid-row: 1; }
  .bodygraph-plot.is-expanded { grid-column: 1 / -1; grid-row: 1; }
  .bodygraph-layout:has(.bodygraph-plot.is-expanded) .activation-column { grid-row: 2; }
  .bodygraph-layout:has(.bodygraph-plot.is-expanded) .activation-column.design { grid-column: 1 / 2; }
  .bodygraph-layout:has(.bodygraph-plot.is-expanded) .activation-column.personality { grid-column: 2 / -1; }
  .activation-column.design { grid-column: 1; grid-row: 1; }
  .activation-column.personality { grid-column: 3; grid-row: 1; }
  .activation-column dt { font-size: 12px; }
  .activation-column dt .planet-symbol { display: none; }
  .activation-column dd { font-size: 14px; }
  .hd-overview { gap: 12px; }
  .finding-example, .finding-practice { padding: 20px 22px; }
}
@media (min-width: 960px) {
  .bodygraph-layout { grid-template-columns: minmax(120px, 1fr) minmax(290px, 2.6fr) minmax(120px, 1fr); gap: 18px; }
  .activation-column dt .planet-symbol { display: inline-flex; }
  .activation-column dl > div { min-height: 38px; }
}
@media (max-width: 370px) {
  .bodygraph-layout { gap: 19px 11px; }
  .activation-column dt { gap: 3px; }
  .activation-column .planet-symbol { width: 16px; flex-basis: 16px; font-size: 17px; }
  .finding-example, .finding-practice { padding: 15px; }
  .question-block-intro h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .spinner { border-top-width: 4px; }
}
@media print {
  :root, body { background: #fff; color: #172134; }
  .page-shell, #announcement, noscript { display: none !important; }
  .print-notice { display: block !important; margin: 40px; color: #172134; font-size: 16px; line-height: 1.6; }
}

/* Keep the release layer last so legacy report styles cannot flatten the WAY 6 shell. */
body::before { z-index: 0; }
.page-shell { z-index: 1; }
.pdf-download-button { color: #fff; border: 0; background: linear-gradient(135deg, var(--way-blue), #574fd0); }
.pdf-download-button:hover:enabled { color: #fff; background: linear-gradient(135deg, #2849d1, #4a43b9); }
