:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --white: #fffefa;
  --ink: #173b3c;
  --text: #253939;
  --muted: #61726f;
  --line: #d6dad2;
  --orange: #d96c49;
  --teal: #327f7b;
  --yellow: #e5bd5a;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); line-height: 1.65; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
[hidden] { display: none !important; }
::selection { background: #e5bd5a77; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-shell main { flex: 1; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.eyebrow, .small-label { margin: 0; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.site-header { min-height: 82px; padding: 0 max(32px, calc((100vw - 1200px)/2)); display: flex; align-items: center; gap: 34px; background: #f3f0e8f2; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-symbol { width: 39px; height: 39px; border-radius: 10px; background: var(--ink); display: block; position: relative; overflow: hidden; flex: none; }
.brand-symbol i { position: absolute; width: 0; height: 0; border-style: solid; }
.brand-symbol i:nth-child(1) { border-width: 0 12px 23px; border-color: transparent transparent var(--orange); left: 7px; top: 5px; }
.brand-symbol i:nth-child(2) { border-width: 0 10px 19px; border-color: transparent transparent var(--teal); left: 1px; top: 16px; transform: rotate(120deg); }
.brand-symbol i:nth-child(3) { border-width: 0 10px 19px; border-color: transparent transparent var(--yellow); right: 1px; top: 16px; transform: rotate(240deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: 19px; letter-spacing: .1em; }
.brand-text small { color: var(--muted); font-size: 10px; letter-spacing: .12em; margin-top: 4px; }
.site-nav { display: flex; gap: 28px; margin: auto; }
.site-nav button { border: 0; padding: 10px 0; background: none; color: #536562; font-size: 13px; white-space: nowrap; }
.site-nav button:hover, .site-nav button.is-active { color: var(--ink); font-weight: 800; }
.account-area { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.account-area span { font-size: 12px; color: var(--muted); }
.outline-small { border: 1px solid var(--ink); padding: 8px 13px; border-radius: 3px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; }
.outline-small:hover { background: var(--ink); color: white; }
.global-message { padding: 12px 32px; background: #fce9e0; color: #9b442d; text-align: center; font-size: 13px; }
.button-primary, .button-secondary { min-height: 50px; border-radius: 3px; padding: 12px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 14px; font-weight: 800; white-space: nowrap; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button-primary { border: 1px solid var(--ink); background: var(--ink); color: white; }
.button-secondary { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.button-primary:hover:not(:disabled), .button-secondary:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary:hover:not(:disabled) { background: #286262; }
.button-secondary:hover:not(:disabled) { background: var(--ink); color: white; }
.button-primary:active, .button-secondary:active { transform: translateY(0) scale(.98); }
.text-link { padding: 5px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); font-weight: 800; font-size: 13px; white-space: nowrap; }
.text-link:hover { color: var(--orange); }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; min-height: 650px; padding-block: 58px 62px; }
.hero-copy { padding-bottom: 6px; }
.hero-copy h1 { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: clamp(55px, 6vw, 82px); line-height: 1.19; letter-spacing: -.04em; font-weight: 700; margin: 18px 0 26px; color: var(--ink); }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 445px; margin: 0 0 32px; font-size: 16px; line-height: 1.9; color: #4f6461; }
.hero-actions { display: flex; gap: 19px; align-items: center; flex-wrap: wrap; }
.hero-actions > span { font-size: 12px; color: var(--muted); }
.hero-visual { aspect-ratio: 1; width: min(100%, 580px); position: relative; isolation: isolate; margin: auto; }
.orbit { border: 1px solid #cbd3c9; border-radius: 50%; position: absolute; }
.orbit-one { inset: 4%; }
.orbit-two { inset: 15%; border-style: dashed; }
.talent-shape { position: absolute; width: 39%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 22px 40px #173b3c1a; }
.talent-shape b { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: clamp(48px, 6vw, 82px); line-height: 1; }
.talent-shape small { margin-top: 7px; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.shape-shuai { top: 10%; left: 30%; background: var(--orange); color: #fff8ef; }
.shape-jiang { bottom: 18%; left: 10%; background: var(--teal); color: #fffefa; }
.shape-hui { bottom: 18%; right: 10%; background: var(--yellow); color: var(--ink); }
.shape-center { position: absolute; z-index: 2; top: 51%; left: 50%; transform: translate(-50%, -50%); width: 19%; aspect-ratio: 1; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: "Songti SC", serif; font-size: 20px; font-weight: 700; line-height: 1.1; color: var(--ink); }
.shape-center small { font-family: inherit; font-size: 9px; margin-top: 5px; }
.visual-caption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.home-stats { border-block: 1px solid var(--line); background: #e8ece6; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-inner > div { display: flex; align-items: baseline; gap: 12px; padding: 25px 20px; border-right: 1px solid #d3dad1; }
.stats-inner > div:first-child { padding-left: 0; }
.stats-inner > div:last-child { border-right: 0; }
.stats-inner strong { font-family: Georgia, serif; font-size: 37px; line-height: 1; font-weight: 400; color: var(--ink); }
.stats-inner span { color: #566b66; font-size: 12px; }
.home-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding-block: 105px 125px; }
.home-story h2 { font-family: "Songti SC", serif; font-size: clamp(35px, 4vw, 55px); line-height: 1.25; color: var(--ink); margin: 18px 0 0; }
.home-story > div:last-child { max-width: 550px; padding-top: 25px; }
.home-story p:not(.eyebrow) { color: #586b67; line-height: 1.95; margin: 0 0 19px; }
.home-story .text-link { margin-top: 12px; }

.choose-view { padding-block: 88px 110px; min-height: calc(100vh - 82px); }
.choose-intro { max-width: 770px; }
.choose-intro h1 { font-family: "Songti SC", serif; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.2; color: var(--ink); margin: 17px 0; }
.choose-intro > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.9; }
.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 49px; }
.mode-card { min-height: 350px; padding: 35px; border: 1px solid var(--line); background: var(--white); color: var(--text); text-align: left; display: flex; flex-direction: column; align-items: flex-start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mode-card:first-child { border-top: 5px solid var(--orange); }
.mode-card:last-child { border-top: 5px solid var(--teal); }
.mode-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 25px 50px #173b3c12; }
.mode-index { font-size: 11px; color: var(--teal); letter-spacing: .17em; font-weight: 800; }
.mode-card strong { margin: 40px 0 12px; color: var(--ink); font-size: clamp(29px, 3vw, 42px); line-height: 1.2; font-family: "Songti SC", serif; }
.mode-card > span:nth-of-type(2) { max-width: 350px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.mode-card em { margin-top: auto; padding-top: 30px; color: var(--ink); font-size: 13px; font-weight: 800; font-style: normal; }
.draft-banner { margin-top: 22px; background: #e6ece7; border-left: 3px solid var(--teal); padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 13px; }
.draft-banner .button-secondary { min-height: 42px; padding: 8px 14px; }
.choose-note { margin: 24px 0 0; color: var(--muted); font-size: 12px; }

.quiz-view { padding-block: 52px 110px; min-height: calc(100vh - 82px); }
.quiz-topline { display: flex; justify-content: space-between; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.quiz-progress { height: 5px; margin: 15px 0 35px; background: #d2d8d0; }
.quiz-progress span { display: block; height: 100%; background: var(--orange); transition: width .28s ease; }
.quiz-shell { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 22px; }
.quiz-rail { background: var(--ink); color: #f8f5ec; padding: 30px; min-height: 535px; position: relative; }
.quiz-rail .eyebrow { color: #b8d0ca; }
.quiz-rail > strong { display: block; font-family: "Songti SC", serif; font-size: 33px; margin: 28px 0 6px; }
.quiz-rail > p:nth-of-type(2) { color: #c1d0ca; font-size: 13px; margin: 0; }
.rail-counter { margin-top: 85px; display: flex; align-items: baseline; gap: 8px; border-top: 1px solid #4b6c68; padding-top: 20px; }
.rail-counter b { font: 400 74px/1 Georgia, serif; }
.rail-counter span { font: 20px Georgia, serif; color: #a9c0b8; }
.rail-advice { color: #b9cbc3; font-size: 12px; line-height: 1.85; max-width: 200px; }
.question-stage { min-height: 535px; padding: clamp(28px, 4.5vw, 56px); border: 1px solid var(--line); background: var(--white); }
.question-kicker { margin: 0 0 12px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.question-stage h1 { font-family: "Songti SC", serif; color: var(--ink); font-size: clamp(31px, 3.4vw, 47px); line-height: 1.38; margin: 0 0 9px; max-width: 800px; }
.question-help { color: var(--muted); font-size: 13px; margin: 0 0 26px; }
.answer-options { display: grid; gap: 11px; }
.answer-option { border: 1px solid #d6dad2; border-radius: 3px; padding: 17px 20px; min-height: 78px; background: #fbfaf5; display: flex; align-items: center; gap: 22px; text-align: left; color: var(--text); transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.answer-option:hover:not(:disabled) { background: #eef3ef; border-color: var(--teal); transform: translateX(3px); }
.answer-option.is-selected { background: #dcece6; border-color: var(--teal); }
.answer-letter { width: 37px; height: 37px; flex: none; display: grid; place-items: center; border: 1px solid #bac8bf; color: var(--teal); font: 700 17px Georgia, serif; }
.answer-text { flex: 1; font-size: 15px; line-height: 1.6; }
.answer-arrow { color: var(--teal); font-size: 20px; opacity: .45; }
.answer-option:hover .answer-arrow, .answer-option.is-selected .answer-arrow { opacity: 1; }
.quiz-controls { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; }
.form-error { min-height: 1.3em; color: #b44935; font-size: 13px; margin: 13px 0 0; }

.report-hero { background: var(--ink); color: #f7f4ea; position: relative; overflow: hidden; }
.report-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid #ffffff24; border-radius: 50%; right: -95px; top: 15px; box-shadow: 0 0 0 80px #ffffff07, 0 0 0 160px #ffffff06; pointer-events: none; }
.report-hero .container { position: relative; z-index: 1; padding-block: 38px 80px; }
.report-hero-top { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; letter-spacing: .08em; color: #b4c9c2; margin-bottom: 75px; }
.report-hero .eyebrow { color: #e6bd69; }
.report-hero h1 { font-family: "Songti SC", serif; font-size: clamp(40px, 5vw, 65px); margin: 12px 0 28px; line-height: 1.16; }
.report-identity { max-width: 870px; }
.report-identity > span { display: inline-block; color: #ffc187; font-size: 12px; font-weight: 800; margin-bottom: 12px; }
.report-identity strong { display: block; font-family: "Songti SC", serif; font-size: clamp(55px, 8vw, 108px); line-height: 1.08; letter-spacing: -.04em; }
.report-identity p { font-size: clamp(17px, 2vw, 25px); color: #e6e9df; margin: 22px 0 0; }
.report-overview { max-width: 750px; color: #c8d6d0; font-size: 15px; line-height: 1.9; margin: 40px 0 0; }
.report-main { padding-bottom: 100px; }
.report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; }
.report-toolbar > p { color: var(--muted); font-size: 12px; margin: 0; }
.reader-switch { display: inline-flex; padding: 4px; background: #e3e8df; border: 1px solid #d3d9d0; }
.reader-switch button { border: 0; padding: 9px 18px; background: transparent; color: #566b64; font-size: 13px; font-weight: 700; }
.reader-switch button.is-active { background: var(--ink); color: white; }
.report-nav { display: flex; gap: 28px; overflow: auto; border-block: 1px solid var(--line); padding: 13px 0; scrollbar-width: thin; }
.report-nav a { white-space: nowrap; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.report-nav a:hover { color: var(--orange); }
.report-section { padding: 76px 0 80px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.section-heading { margin-bottom: 34px; }
.section-heading > span { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.section-heading h2 { font-family: "Songti SC", serif; font-size: clamp(34px, 4vw, 53px); line-height: 1.25; color: var(--ink); margin: 12px 0 11px; }
.section-heading p { color: var(--muted); font-size: 14px; margin: 0; }
.structure-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.score-display { background: var(--ink); padding: 37px; display: grid; gap: 26px; }
.score-row { color: #f8f4eb; }
.score-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.score-row-top span { font-family: "Songti SC", serif; font-size: 26px; }
.score-row-top strong { font: 400 28px Georgia, serif; }
.score-row small { display: block; font-size: 11px; color: #b7cbc3; margin-top: 4px; }
.score-track { height: 8px; background: #41625f; margin-top: 12px; }
.score-track i { display: block; height: 100%; }
.structure-note { border: 1px solid var(--line); background: var(--white); padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.structure-note > p { color: #4b625d; font-size: 16px; line-height: 1.95; }
.structure-note > p:last-child { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2px; color: var(--ink); font-size: 14px; }
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.scene-card { background: var(--white); border: 1px solid var(--line); padding: 25px; }
.scene-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.scene-card-head h3 { font-family: "Songti SC", serif; font-size: 25px; color: var(--ink); margin: 0; }
.scene-card-head span { color: var(--teal); font-size: 11px; font-weight: 800; }
.scene-card > p { color: var(--muted); font-size: 13px; margin: 7px 0 20px; min-height: 44px; }
.scene-mix { display: flex; height: 10px; width: 100%; background: #e5e8df; }
.scene-mix i { display: block; height: 100%; }
.scene-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 11px; }
.scene-legend span { color: #5c6e68; font-size: 11px; }
.scene-legend b { display: inline-block; height: 7px; width: 7px; margin-right: 5px; border-radius: 50%; }
.scene-observation { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 18px; color: #4f655f; font-size: 13px; line-height: 1.8; }
.strength-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.strength-column, .growth-column { padding: 32px; border: 1px solid var(--line); background: var(--white); }
.strength-column { border-top: 5px solid var(--orange); }
.growth-column { border-top: 5px solid var(--teal); }
.strength-column h3, .growth-column h3 { margin: 0 0 23px; color: var(--ink); font-family: "Songti SC", serif; font-size: 29px; }
.strength-item { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 35px 1fr; column-gap: 13px; }
.strength-item > span { font: 400 18px Georgia, serif; color: var(--orange); }
.growth-column .strength-item > span { color: var(--teal); }
.strength-item strong { color: var(--ink); font-size: 15px; }
.strength-item p { grid-column: 2; color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.insight-grid article { background: var(--white); padding: 32px; min-height: 210px; }
.insight-grid article span { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.insight-grid h3 { font-family: "Songti SC", serif; color: var(--ink); font-size: 26px; margin: 15px 0 10px; }
.insight-grid p { color: #526762; font-size: 14px; line-height: 1.9; margin: 0; }
.inner-grid, .family-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.inner-grid article, .family-guide article { min-height: 275px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.inner-grid article:first-child { background: #e7ece5; border-color: #d0ded2; }
.inner-grid article:nth-child(2) { background: #f5e9df; border-color: #e9d4c6; }
.inner-grid article:last-child { background: #f5eeca; border-color: #e8dfaf; }
.inner-grid article > span, .family-guide article > span { color: var(--orange); font: 400 20px Georgia, serif; }
.inner-grid h3, .family-guide h3 { font-family: "Songti SC", serif; color: var(--ink); font-size: 28px; line-height: 1.3; margin: 28px 0 15px; }
.inner-grid p, .family-guide p { color: #4f655f; font-size: 14px; line-height: 1.9; margin: 0; }
.family-guide { gap: 1px; border: 1px solid #244743; background: #244743; }
.family-guide article { border: 0; background: #173b3a; }
.family-guide article > span { color: #e7c66a; }
.family-guide h3 { color: #fff9e9; }
.family-guide p { color: #d0dcd4; }
.explore-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.explore-item { padding: 30px; border: 1px solid var(--line); background: var(--white); min-height: 250px; }
.explore-item > span { display: block; color: var(--orange); font: 400 29px Georgia, serif; margin-bottom: 38px; }
.explore-item h3 { color: var(--ink); font-family: "Songti SC", serif; font-size: 26px; margin: 0 0 10px; }
.explore-item p { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.9; }
.first-step { display: grid; grid-template-columns: 1fr 190px; gap: 30px; min-height: 345px; padding: 38px; background: #e6eae0; border: 1px solid #cdd7cd; }
.first-step h3 { color: var(--ink); font-family: "Songti SC", serif; font-size: clamp(28px, 3vw, 39px); margin: 15px 0 20px; }
.first-step ol { list-style: none; counter-reset: first; margin: 0; padding: 0; }
.first-step li { counter-increment: first; padding: 8px 0; color: #46615c; font-size: 14px; }
.first-step li::before { content: counter(first, decimal-leading-zero); font: 400 18px Georgia, serif; color: var(--orange); margin-right: 18px; }
.first-step p { margin: 24px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.first-step-mark { color: var(--ink); align-self: center; text-align: center; font: 400 100px/.9 Georgia, serif; border-left: 1px solid #bacbc0; padding-left: 18px; }
.first-step-mark span { display: block; font: 800 12px sans-serif; letter-spacing: .25em; margin-top: 12px; }
.six-week-heading { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin: 58px 0 18px; }
.six-week-heading h3 { color: var(--ink); font-family: "Songti SC", serif; font-size: 31px; margin: 0; }
.six-week-heading span { color: var(--muted); font-size: 12px; }
.six-week-list { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.week-item { background: var(--white); padding: 26px; min-height: 195px; }
.week-item > span { color: var(--orange); font: 400 22px Georgia, serif; }
.week-item h4 { color: var(--ink); font-family: "Songti SC", serif; font-size: 21px; margin: 12px 0 8px; }
.week-item p { color: #526762; font-size: 13px; line-height: 1.8; margin: 0 0 12px; }
.week-item small { color: var(--teal); font-size: 11px; }
.reflection-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 0; border-bottom: 1px solid var(--line); }
.reflection-section h2 { font-family: "Songti SC", serif; color: var(--ink); font-size: clamp(33px, 3.7vw, 50px); line-height: 1.28; margin: 16px 0 0; }
.reflection-section ol { counter-reset: reflection; list-style: none; margin: 0; padding: 0; }
.reflection-section li { counter-increment: reflection; border-bottom: 1px solid var(--line); padding: 12px 0; color: #4c625c; font-size: 16px; }
.reflection-section li::before { content: counter(reflection, decimal-leading-zero); color: var(--orange); font: 400 18px Georgia, serif; margin-right: 20px; }
.report-end { padding: 35px 0 0; }
.report-end > p:first-child { color: var(--muted); font-size: 12px; max-width: 800px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; margin-top: 23px; }
.report-actions .text-link { margin-left: auto; }
#save-status { min-height: 1.2em; color: var(--teal); font-size: 12px; }
.legacy-report { background: var(--white); padding: 40px; margin: 45px 0; border: 1px solid var(--line); }
.legacy-report h2 { color: var(--ink); font-family: "Songti SC", serif; font-size: 36px; }
.legacy-report > p { color: var(--muted); }
.legacy-score { display: flex; justify-content: space-between; max-width: 500px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.legacy-guide { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.legacy-guide h3 { color: var(--ink); }
.legacy-guide p { color: var(--muted); }

.records-view { padding-block: 80px 120px; min-height: 70vh; }
.records-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 42px; }
.records-head h1 { font-family: "Songti SC", serif; font-size: clamp(42px, 5vw, 66px); line-height: 1.2; margin: 17px 0 8px; color: var(--ink); }
.records-head p:last-child { color: var(--muted); font-size: 14px; margin: 0; }
#records-message { color: var(--muted); font-size: 13px; }
#records-list { display: grid; gap: 12px; }
.record-card { border: 1px solid var(--line); background: var(--white); padding: 23px 27px; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.record-card:hover { border-color: var(--ink); transform: translateX(2px); }
.record-card span { color: var(--teal); font-size: 11px; font-weight: 800; }
.record-card strong { display: block; color: var(--ink); font-family: "Songti SC", serif; font-size: 25px; margin: 4px 0; }
.record-card small { display: block; color: var(--muted); font-size: 12px; }
.record-arrow { color: var(--orange) !important; font-size: 25px !important; }
.empty-records { text-align: center; border: 1px dashed #bccbc0; padding: 70px 20px; color: var(--muted); }
.empty-records strong { display: block; color: var(--ink); font-family: "Songti SC", serif; font-size: 31px; margin-bottom: 8px; }
.site-footer { border-top: 1px solid var(--line); background: #e7eae2; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding-block: 34px; }
.footer-inner strong { color: var(--ink); font-family: "Songti SC", serif; font-size: 18px; }
.footer-inner p { color: #647670; font-size: 12px; margin: 6px 0; }
.footer-inner > div:last-child { max-width: 650px; }
.auth-dialog { border: 0; padding: 0; width: min(430px, calc(100% - 28px)); max-height: calc(100% - 28px); background: var(--white); color: var(--text); box-shadow: 0 32px 85px #0d2a2b55; }
.auth-dialog::backdrop { background: #0b2a2baf; }
.auth-card { position: relative; padding: 36px; overflow: auto; max-height: calc(100vh - 28px); }
.dialog-close { position: absolute; right: 19px; top: 14px; border: 0; background: none; color: var(--muted); font-size: 29px; line-height: 1; }
.auth-card h2 { font-family: "Songti SC", serif; color: var(--ink); font-size: 33px; line-height: 1.3; margin: 14px 0 7px; }
.auth-intro { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.auth-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px; color: var(--muted); font-weight: 800; }
.auth-tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--orange); }
.auth-card form { display: grid; }
.auth-card label { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.auth-card input { width: 100%; border: 1px solid var(--line); background: #f9f8f2; color: var(--ink); padding: 12px 14px; margin-bottom: 15px; border-radius: 2px; }
.auth-card input:focus { border-color: var(--teal); outline: 2px solid #327f7b33; }
.auth-submit { width: 100%; }
.auth-note { color: #5d716b; font-size: 11px; line-height: 1.8; margin: 18px 0 0; }

@media (max-width: 950px) {
  .site-header { padding-inline: 24px; gap: 17px; }
  .site-nav { gap: 16px; }
  .account-area span { display: none; }
  .hero { min-height: 560px; }
  .hero-copy h1 { font-size: 60px; }
  .quiz-shell { grid-template-columns: 225px 1fr; }
  .quiz-rail { padding: 23px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 34px, 580px); }
  .site-header { min-height: 0; padding: 11px 17px; flex-wrap: wrap; justify-content: space-between; gap: 9px; }
  .brand-symbol { width: 34px; height: 34px; }
  .brand-text strong { font-size: 16px; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 4px; }
  .site-nav button { font-size: 12px; padding: 5px 2px; }
  .outline-small { padding: 6px 9px; }
  .hero { grid-template-columns: 1fr; gap: 12px; min-height: 0; padding-block: 55px 45px; }
  .hero-copy h1 { font-size: clamp(50px, 12vw, 65px); }
  .hero-intro { font-size: 14px; }
  .hero-visual { margin-top: 25px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-inner > div { padding: 18px 10px; border-bottom: 1px solid #d3dad1; }
  .stats-inner > div:nth-child(odd) { padding-left: 0; }
  .stats-inner > div:nth-child(2) { border-right: 0; }
  .stats-inner > div:nth-child(n+3) { border-bottom: 0; }
  .stats-inner strong { font-size: 31px; }
  .stats-inner span { font-size: 11px; }
  .home-story { grid-template-columns: 1fr; gap: 16px; padding-block: 70px 85px; }
  .home-story > div:last-child { padding-top: 0; }
  .choose-view { padding-block: 52px 75px; }
  .mode-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .mode-card { min-height: 260px; padding: 26px; }
  .mode-card strong { margin-top: 28px; }
  .draft-banner { flex-direction: column; align-items: flex-start; }
  .quiz-view { padding-block: 31px 70px; }
  .quiz-progress { margin-bottom: 18px; }
  .quiz-shell { grid-template-columns: 1fr; gap: 10px; }
  .quiz-rail { min-height: 0; padding: 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .quiz-rail .eyebrow, .quiz-rail > p:nth-of-type(2), .rail-advice { display: none; }
  .quiz-rail > strong { margin: 0; font-size: 22px; }
  .rail-counter { margin: 0; padding: 0; border: 0; }
  .rail-counter b { font-size: 31px; }
  .rail-counter span { font-size: 13px; }
  .question-stage { min-height: 0; padding: 28px 20px; }
  .question-stage h1 { font-size: clamp(29px, 7vw, 40px); }
  .answer-option { min-height: 73px; padding: 13px; gap: 12px; }
  .answer-text { font-size: 14px; }
  .report-hero .container { padding-block: 24px 56px; }
  .report-hero-top { margin-bottom: 55px; }
  .report-overview { margin-top: 25px; font-size: 13px; }
  .report-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .report-nav { gap: 20px; }
  .report-section { padding-block: 57px; }
  .structure-layout, .scene-grid, .strength-layout, .insight-grid, .reflection-section { grid-template-columns: 1fr; }
  .score-display, .structure-note, .strength-column, .growth-column { padding: 24px; }
  .scene-card { padding: 22px; }
  .scene-card > p { min-height: 0; }
  .explore-list, .inner-grid, .family-guide { grid-template-columns: 1fr; }
  .explore-item { min-height: 0; padding: 24px; }
  .explore-item > span { margin-bottom: 14px; }
  .first-step { grid-template-columns: 1fr; padding: 26px; }
  .first-step-mark { display: none; }
  .six-week-list { grid-template-columns: repeat(2, 1fr); }
  .week-item { padding: 19px; }
  .reflection-section { gap: 20px; padding-block: 56px; }
  .report-actions .text-link { margin-left: 0; }
  .records-view { padding-block: 55px 85px; }
  .records-head { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .auth-card { padding: 30px 25px; }
}
@media (max-width: 410px) {
  .container { width: calc(100% - 28px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .report-identity strong { font-size: 49px; }
  .six-week-list { grid-template-columns: 1fr; }
  .report-actions { align-items: stretch; flex-direction: column; }
  .report-actions .text-link { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
