:root{--ink:#173a35;--muted:#63756e;--accent:#215b50;--lime:#d9ed9b;--bg:#f5f7f1;--line:#dce6db;--font:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:var(--font);color:var(--ink);line-height:1.7}a{color:var(--accent);text-underline-offset:4px}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #c2df68;outline-offset:3px}.diagnosis-top{max-width:1160px;margin:auto;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 28px}.brand{font-weight:800;text-decoration:none;font-size:24px}.brand b{display:inline-grid;place-items:center;padding:5px 10px;border-radius:11px;background:#245a4f;color:#e6f3ca}.brand span{font-size:12px;letter-spacing:2px;margin-left:8px}.diagnosis-top>a:last-child{font-size:14px;min-height:44px;display:flex;align-items:center;text-decoration:none;font-weight:650}.diagnosis-main{max-width:1100px;margin:12px auto 64px;padding:0 28px}.diagnosis-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 285px;gap:25px;min-height:330px;align-items:center;background:#194c43;color:#f8fff2;border-radius:28px;padding:48px 54px}.eyebrow,.section-kicker,.card-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.7px;color:#57937d}.diagnosis-hero .eyebrow{color:#c7df9d}.diagnosis-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.16;letter-spacing:-1.4px;margin:16px 0}.diagnosis-hero em{font-style:normal;color:#d9ed9b}.lead{color:#d1e0d3;max-width:600px;font-size:16px}.hero-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.hero-tags span{border:1px solid #83a99880;padding:5px 12px;border-radius:999px;color:#ecf6e8;font-size:12px}.hero-graphic{position:relative;display:grid;place-items:center;height:230px}.hero-graphic strong{font-size:120px;line-height:1;color:#cce485;z-index:1}.hero-graphic small{position:absolute;right:3px;bottom:13px;font-size:10px;line-height:1.3;letter-spacing:2px;color:#c2d7bf}.orbit{position:absolute;border:1px solid #c2d7bf77;border-radius:50%;width:230px;height:230px;transform:rotate(25deg) scaleX(.72)}.orbit-two{transform:rotate(-25deg) scaleX(.72)}.boundary{margin:18px 0 22px;padding:14px 18px;background:#e9f0dd;border-left:3px solid #9dc862;border-radius:8px;color:#42604d;font-size:13px}.status-card,.learning-card{background:white;border:1px solid var(--line);border-radius:24px;padding:36px;margin-bottom:22px;box-shadow:0 14px 42px #254b3a08}.status-card{scroll-margin-top:20px}h2{font-size:26px;line-height:1.35;margin:12px 0}h3{font-size:20px;margin:0 0 12px}.status-card>p,.learning-card>p,.form-heading p,.recommendations>p,.result-header p{color:var(--muted);max-width:760px}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.steps-grid>div{background:#f4f7ef;border-radius:14px;padding:19px;display:grid;gap:6px}.steps-grid b{color:#83af70;font-size:13px}.steps-grid strong{font-size:17px}.steps-grid span{font-size:13px;color:var(--muted)}.button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:16px;padding:10px 19px;border:1px solid #ccddd1;border-radius:11px;font-size:14px;font-weight:700;text-decoration:none;color:var(--ink);background:white;cursor:pointer}.button.primary{background:#225a4e;border-color:#225a4e;color:white}.button:hover{filter:brightness(.95)}.button:disabled{opacity:.5;cursor:not-allowed}.form-heading,.result-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.progress-badge,.result-count{border-radius:18px;background:#eef5df;padding:14px 20px;text-align:center;color:#315c44;white-space:nowrap}.progress-badge strong,.result-count strong{font-size:32px;line-height:1}.progress-badge span,.result-count span{font-size:12px}.target-label{display:block;font-weight:700;margin:20px 0 7px}.target-label small{font-weight:400;color:var(--muted);margin-left:5px}select{width:min(100%,400px);border:1px solid #ccdbcf;border-radius:10px;background:#fff;padding:12px;color:var(--ink)}.question-section{margin-top:42px}.question{padding:18px 0 24px;margin:0;border:0;border-bottom:1px solid #edf1eb}.question legend{font-size:16px;font-weight:700;line-height:1.6;padding:12px 0}.question legend>span{display:inline-block;color:#79a580;font-size:12px;margin-right:7px}.answer-grid{display:grid;gap:8px}.answer{display:flex;align-items:center;gap:12px;border:1px solid #e1e8df;border-radius:12px;padding:11px 14px;cursor:pointer;font-size:14px}.answer:hover{background:#f7faf3}.answer:has(input:checked){border-color:#76a871;background:#f0f7e7}.answer input{accent-color:#326e5b;width:17px;height:17px;flex:none}.answer-letter{font-weight:750;font-size:12px;color:#7e9e86}.form-actions{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 12px}.note,.legacy-note{font-size:13px;background:#f1f5ed;color:#526c59;border-radius:10px;padding:12px 15px}.warning{background:#fff1e6;color:#8b4a23}.result-intro{background:#edf4de;border-radius:16px;padding:20px;margin:22px 0}.result-intro p{margin:5px 0 0;font-size:13px;color:#526c59}.dimensions{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.dimension{padding:18px;border:1px solid #e2eae0;border-radius:15px}.dimension>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:14px}.dimension>div:first-child span{color:#63816e;font-size:13px}.bar{height:8px;border-radius:30px;background:#edf1eb;overflow:hidden;margin:12px 0}.bar i{display:block;height:100%;border-radius:30px;background:#86b977}.dimension small{color:var(--muted);font-size:12px}.recommendations{margin:38px 0}.recommendations ol{padding:0;list-style:none}.recommendations li{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #edf1eb}.recommendations li>span{font-size:13px;color:#83a987}.recommendations li>div{display:grid;flex:1}.recommendations li small{font-size:12px;color:var(--muted)}.recommendations li>a{white-space:nowrap;font-size:13px;font-weight:700;text-decoration:none}.career-note{background:#f4f7ef;padding:14px;border-radius:10px}.review>summary,.review-item>summary{cursor:pointer;font-weight:700}.review{border-top:1px solid var(--line);padding-top:22px}.review-item{margin:10px 0;border:1px solid #e7ede5;border-radius:10px;padding:12px 14px;font-size:13px}.review-item summary span{color:#83a987;margin-right:8px}.review-item summary b{float:right;font-size:11px}.correct{color:#358363}.incorrect{color:#b06f36}.review-item p{color:var(--muted);margin:8px 0}.learning-columns{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:24px 0}.learning-columns h3{font-size:15px}.learning-columns h3 span{font-size:12px;background:#eff3ed;padding:3px 8px;border-radius:20px;color:var(--accent);margin-left:5px}.learning-columns ul{padding-left:20px;font-size:14px;overflow-wrap:anywhere}.learning-columns li{margin:7px 0}.text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}.offline-note,footer{font-size:12px;color:var(--muted)}footer{text-align:center;padding:18px 24px 32px}.empty{list-style:none;color:var(--muted);margin-left:-20px}p,dd{overflow-wrap:anywhere}[hidden]{display:none!important}@media(max-width:700px){.diagnosis-top{padding:14px 18px;min-height:72px}.brand{font-size:20px}.brand span{display:none}.diagnosis-main{margin:4px auto 35px;padding:0 15px}.diagnosis-hero{grid-template-columns:1fr;min-height:0;padding:32px 24px}.diagnosis-hero h1{font-size:41px}.hero-graphic{position:absolute;right:-55px;top:10px;width:170px;height:170px;opacity:.19;pointer-events:none}.hero-graphic strong{font-size:85px}.orbit{width:170px;height:170px}.hero-graphic small{display:none}.lead{position:relative;z-index:1;font-size:14px}.hero-tags span{font-size:11px}.status-card,.learning-card{padding:24px 19px;border-radius:18px}h2{font-size:22px}.steps-grid,.dimensions,.learning-columns{grid-template-columns:1fr}.steps-grid>div{grid-template-columns:34px 1fr;align-items:center;padding:13px}.steps-grid span{grid-column:2}.form-heading,.result-header{align-items:flex-start}.progress-badge,.result-count{padding:10px 13px}.progress-badge strong,.result-count strong{font-size:24px}.progress-badge span{display:block}.form-heading h2{font-size:20px}.question legend{font-size:15px}.answer{font-size:13px}.form-actions{display:grid}.form-actions .button{width:100%}.recommendations li{gap:10px}.recommendations li>a{font-size:12px}.review-item summary b{float:none;display:inline-block;margin-left:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Match the main site's playful blue-and-ink visual language while keeping
   questions, answers, and explanations calm and readable. */
:root {
  --ink: #17252b;
  --muted: #43565c;
  --accent: #214fd3;
  --lime: #dcf478;
  --bg: #eaf5f8;
  --line: #a8bbbf;
}
body { background: var(--bg); color: var(--ink); }
a:focus-visible, button:focus-visible, select:focus-visible,
input:focus-visible, summary:focus-visible {
  outline: 3px solid #2359ed;
  outline-offset: 3px;
}
.diagnosis-top { max-width: 1160px; }
.brand { color: #17252b; }
.brand b { background: #285bf2; color: #fff; border: 1px solid #17252b; border-radius: 14px; }
.brand span { color: #324951; }
.diagnosis-top > a:last-child {
  padding: 8px 16px;
  border: 1px solid #17252b;
  border-radius: 999px;
  background: #fff;
  color: #17252b;
}
.diagnosis-hero {
  background: #d9ecff;
  color: #17252b;
  border: 1px solid #17252b;
  box-shadow: 0 4px 0 rgba(23, 37, 43, .12);
}
.diagnosis-hero .eyebrow, .section-kicker, .card-eyebrow { color: #234fb7; }
.diagnosis-hero h1 { font-weight: 900; letter-spacing: -.045em; }
.diagnosis-hero em { color: #214fd3; }
.lead { color: #344a55; font-size: 16px; line-height: 1.65; }
.hero-tags span {
  border: 1px solid #17252b;
  background: #fff;
  color: #253b43;
  font-size: 13px;
}
.hero-graphic strong { color: #dff577; text-shadow: 2px 2px 0 #17252b; }
.hero-graphic small { color: #365a6d; }
.orbit { border: 3px solid #3c7ce8; }
.boundary {
  border: 1px solid #aabdc0;
  border-left: 4px solid #2759e8;
  border-radius: 14px;
  background: #f5fbff;
  color: #324a50;
  font-size: 16px;
  line-height: 1.6;
}
.status-card, .learning-card {
  border: 1px solid #a7babe;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 5px 0 rgba(23, 37, 43, .08);
}
.status-card > p, .learning-card > p, .form-heading p,
.recommendations > p, .result-header p { color: #43565c; font-size: 16px; line-height: 1.6; }
.steps-grid > div { background: #f1f7fc; border: 1px solid #c3d4dc; }
.steps-grid b { color: #2857be; }
.steps-grid span { color: #425860; font-size: 14px; }
.button {
  min-height: 46px;
  border: 1px solid #17252b;
  border-radius: 999px;
  background: #fff;
  color: #17252b;
}
.button.primary { background: #17252b; border-color: #17252b; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover { filter: brightness(.95); }
  .answer:hover { background: #edf5ff; }
}
.progress-badge, .result-count { background: #e4f590; color: #17252b; border: 1px solid #17252b; }
select { min-height: 46px; border: 1px solid #758c92; color: #17252b; }
.question { border-bottom-color: #dce8eb; }
.question legend { color: #26383d; font-size: 16px; line-height: 1.6; }
.question legend > span, .answer-letter { color: #345bb6; }
.answer {
  min-height: 48px;
  border: 1px solid #b8c9cd;
  background: #fff;
  color: #303c40;
  font-size: 16px;
  line-height: 1.6;
}
.answer:has(input:checked) { border-color: #2757df; background: #eaf2ff; }
.answer input { accent-color: #285be7; }
.note, .legacy-note, .career-note { background: #f0f7fa; color: #344c51; font-size: 14px; line-height: 1.6; }
.warning { background: #fff2e2; color: #743e1c; }
.result-intro { background: #eff6d7; border: 1px solid #c4d893; }
.result-intro p { color: #394f41; font-size: 16px; line-height: 1.6; }
.dimension { border-color: #bfced1; background: #faffff; }
.dimension > div:first-child span, .dimension small { color: #465d61; }
.bar { background: #e4ecee; }
.bar i { background: #3478ed; }
.recommendations li { border-bottom-color: #dce8eb; }
.recommendations li > span, .review-item summary span { color: #315bb6; }
.recommendations li small { color: #465b60; }
.review-item { background: #fff; border: 1px solid #bdcfd2; border-radius: 14px; font-size: 16px; line-height: 1.6; }
.review-item p { color: #34474c; font-size: 16px; line-height: 1.6; }
.correct { color: #126044; }
.incorrect { color: #8a491e; }
.learning-columns h3 span { background: #e7f1ff; color: #244db0; }
.learning-columns ul { color: #34474c; font-size: 16px; }
.text-link { color: #244db0; }
.offline-note, footer { color: #465c60; }
@media (max-width: 700px) {
  .diagnosis-hero h1 { font-size: clamp(34px, 10vw, 41px); }
  .diagnosis-hero .lead, .question legend, .answer { font-size: 16px; line-height: 1.6; }
  .boundary { font-size: 16px; }
  .hero-tags span { font-size: 12px; }
  .diagnosis-top > a:last-child { font-size: 13px; padding-inline: 12px; }
  .recommendations li { flex-wrap: wrap; }
  .recommendations li > div { min-width: 0; }
  .review-item p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* The existing answered count remains the accessible progress value. */
.diagnosis-progress {height:8px;overflow:hidden;margin-top:var(--space-4);border-radius:var(--radius-control);background:var(--line)}
.diagnosis-progress span {display:block;width:100%;height:100%;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform var(--dur-transition) var(--ease)}
@keyframes diagnosis-result-fill {from {transform:scaleX(0)} to {transform:scaleX(1)}}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) .dimensions .bar i {transform-origin:left;animation:diagnosis-result-fill var(--dur-transition) var(--ease) both}
}
@media (prefers-reduced-motion: reduce) {.diagnosis-progress span {transition:none}}
html[data-motion="off"] .diagnosis-progress span {transition:none}
