:root {
  --page: #f7f8f5;
  --surface: #ffffff;
  --ink: #1d2723;
  --muted: #61716a;
  --line: #dde5df;
  --green: #176b50;
  --green-deep: #0f4739;
  --positive: #1d9b60;
  --terracotta: #d65d47;
  --terracotta-soft: #f9e8e3;
  --blue-green: #2c7a87;
  --shadow: 0 16px 40px rgba(23, 61, 47, 0.08);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--page); font-size: 16px; line-height: 1.65; }
button, a { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue-green); outline-offset: 3px; }
[hidden] { display: none !important; }

.site-header, .site-footer { width: min(1120px, calc(100% - 48px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.site-header { min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green-deep); font-weight: 700; text-decoration: none; letter-spacing: 0.01em; }
.brand-mark { width: 28px; height: 28px; border: 1px solid var(--green); border-radius: 50%; display: grid; place-items: center; color: var(--green); font-size: 18px; line-height: 1; }
.header-note, .site-footer { color: var(--muted); font-size: 13px; }
.site-footer { min-height: 76px; border-top: 1px solid var(--line); }

main { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.screen { min-height: calc(100vh - 154px); padding-block: 64px; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; line-height: 1.4; }
.eyebrow span { color: var(--terracotta); margin-left: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; line-height: 1.2; }
.button { min-height: 48px; border: 1px solid transparent; border-radius: 6px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover:not(:disabled) { background: var(--green-deep); }
.button-secondary { background: var(--surface); border-color: var(--line); color: var(--green-deep); }
.button-secondary:hover:not(:disabled) { border-color: var(--green); background: #fbfdfb; }
.button-large { min-height: 56px; padding-inline: 24px; font-size: 17px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.welcome-screen { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); align-items: center; gap: 8%; }
.welcome-copy { padding-block: 20px; }
.welcome-copy h1 { margin-bottom: 24px; font-size: clamp(34px, 4.4vw, 58px); font-weight: 720; }
.welcome-copy h1 em { color: var(--green); font-style: normal; }
.lead { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.welcome-meta { margin: 30px 0 32px; display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 14px; }
.welcome-meta span { padding-right: 20px; border-right: 1px solid var(--line); }
.welcome-meta span:last-child { border-right: 0; }
.welcome-meta strong { margin-right: 5px; color: var(--ink); font-size: 20px; }
.privacy-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.welcome-visual { position: relative; min-height: 460px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.welcome-visual::before { content: ""; position: absolute; inset: 22px; border: 1px solid #e9efeb; border-radius: 50%; transform: rotate(-17deg) scaleX(0.84); }
.path-line { position: absolute; width: 72%; height: 150px; border: 1px solid var(--green); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(-24deg); opacity: 0.65; }
.path-line-one { top: 100px; left: -4%; }
.path-line-two { top: 190px; left: 26%; transform: rotate(30deg); border-color: var(--terracotta); border-right-color: transparent; border-bottom-color: transparent; opacity: 0.55; }
.visual-node { position: absolute; display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid var(--green); border-radius: 50%; background: #f3f8f4; color: var(--green-deep); font-size: 14px; font-weight: 700; }
.node-one { top: 84px; left: 18%; }
.node-two { top: 210px; right: 17%; border-color: var(--terracotta); background: var(--terracotta-soft); color: #94402f; }
.node-three { bottom: 64px; left: 30%; }
.visual-label { position: absolute; right: 12%; bottom: 42px; color: var(--green); font-size: 13px; letter-spacing: 0.16em; line-height: 1.3; text-align: right; }
.visual-label strong { color: var(--ink); font-size: 22px; letter-spacing: 0.04em; }
.visual-caption { position: absolute; top: 30px; right: 30px; color: var(--muted); font-size: 12px; text-align: right; }

.question-screen { padding-top: 28px; }
.quiz-topbar { display: grid; grid-template-columns: 70px minmax(160px, 1fr) 280px; align-items: center; gap: 18px; }
.quiz-count { color: var(--green-deep); font-weight: 800; font-size: 18px; }
.quiz-count .muted { color: var(--muted); font-size: 13px; font-weight: 500; }
.progress-track, .dimension-track { overflow: hidden; height: 6px; border-radius: 10px; background: #dfe9e2; }
.progress-fill { height: 100%; width: 0; border-radius: inherit; background: var(--green); transition: width 240ms ease; }
.quiz-status { margin: 0; color: var(--muted); font-size: 13px; text-align: right; }
.question-layout { display: grid; grid-template-columns: 170px minmax(0, 720px); justify-content: center; gap: 50px; padding-block: 92px 56px; }
.question-intro { padding-top: 10px; border-top: 2px solid var(--green); }
.question-index { color: var(--muted); font-size: 13px; }
.question-index span { color: var(--ink); font-weight: 700; }
.question-body h1 { margin-bottom: 14px; font-size: clamp(27px, 3.6vw, 42px); font-weight: 700; }
.question-helper { margin-bottom: 36px; color: var(--muted); font-size: 14px; }
.options-list { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.option-button { min-height: 66px; width: 100%; display: grid; grid-template-columns: 36px 1fr 24px; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--surface); text-align: left; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.option-button:hover { border-color: #a7c5b5; transform: translateX(2px); }
.option-button.selected { border-color: var(--green); background: #f0f7f2; box-shadow: inset 3px 0 var(--green); }
.option-letter { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 12px; font-weight: 800; }
.selected .option-letter { border-color: var(--green); color: var(--green); }
.option-check { color: var(--green); font-weight: 800; opacity: 0; }
.selected .option-check { opacity: 1; }
.question-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
.progress-dots { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; }
.progress-dot { height: 4px; border-radius: 3px; background: #dfe9e2; }
.progress-dot.complete { background: #7db398; }
.progress-dot.current { background: var(--terracotta); }

.generating-screen { display: grid; place-items: center; align-content: center; text-align: center; }
.generating-screen h1 { margin-bottom: 14px; font-size: 36px; }
.generating-screen > p:not(.eyebrow) { color: var(--muted); }
.generating-orbit { position: relative; width: 84px; height: 84px; margin-bottom: 34px; border: 1px solid var(--line); border-radius: 50%; }
.generating-orbit::before { content: ""; position: absolute; inset: 14px; border: 1px solid #a7c5b5; border-radius: 50%; }
.generating-orbit span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.generating-orbit span:nth-child(1) { top: 4px; left: 38px; }.generating-orbit span:nth-child(2) { right: 9px; bottom: 18px; background: var(--terracotta); }.generating-orbit span:nth-child(3) { bottom: 8px; left: 18px; }
.generating-steps { display: flex; gap: 18px; margin-top: 32px; color: #9aa9a2; font-size: 12px; }.generating-steps .active { color: var(--green); font-weight: 700; }

.results-screen { padding-top: 52px; }
.results-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.results-hero h1 { margin-bottom: 13px; font-size: clamp(32px, 4vw, 48px); }
.results-summary { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.results-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; margin-top: 24px; }
.report-section { padding: 30px 0; }
.section-heading h2 { margin-bottom: 22px; font-size: 25px; }.section-heading .eyebrow { margin-bottom: 9px; }
.section-copy { max-width: 510px; color: var(--muted); }
.signal-chips, .tag-list, .role-list { display: flex; flex-wrap: wrap; gap: 8px; }
.signal-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid #cfe0d4; border-radius: 5px; background: #eef6f0; color: var(--green-deep); font-weight: 700; }.signal-chip b { color: var(--terracotta); font-size: 11px; }
.dimension-bars { display: grid; gap: 16px; }.dimension-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; color: var(--muted); font-size: 13px; }.dimension-label strong { color: var(--green); font-size: 14px; }.dimension-label small { margin-left: 2px; color: #96a79e; font-size: 10px; font-weight: 500; }.dimension-track { height: 8px; }.dimension-track span { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.direction-section { padding-top: 24px; }.direction-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }.section-aside { margin-bottom: 22px; color: var(--muted); font-size: 12px; }.direction-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.direction-card { position: relative; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 8px 22px rgba(23, 61, 47, 0.04); }.direction-card.featured { grid-column: 1 / -1; padding: 31px; border: 2px solid var(--green); box-shadow: var(--shadow); }.card-topline { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }.direction-rank { color: var(--green); font-weight: 800; }.direction-domain { padding-left: 10px; border-left: 1px solid var(--line); }.priority-label { margin-left: auto; padding: 5px 9px; border-radius: 20px; background: var(--terracotta); color: white; font-size: 11px; font-weight: 700; }.direction-card-header { display: flex; justify-content: space-between; gap: 18px; }.direction-card h3 { margin-bottom: 10px; font-size: 23px; }.direction-card h3 span { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }.direction-description { max-width: 670px; margin-bottom: 17px; color: var(--muted); font-size: 15px; }.reference-score { min-width: 90px; text-align: right; }.reference-score strong { display: block; color: var(--positive); font-size: 31px; line-height: 1.1; }.reference-score span { color: var(--muted); font-size: 11px; }.role-list { margin-bottom: 22px; }.role-list span { padding: 5px 10px; border: 1px solid #ead8cc; border-radius: 20px; color: #8d573f; font-size: 12px; }.market-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }.market-row > div { padding: 13px 15px; border-radius: 6px; background: #f8f8f5; }.detail-label { display: block; margin-bottom: 4px; color: #8a9a91; font-size: 11px; letter-spacing: 0.05em; }.market-row strong { font-size: 16px; }.outlook-positive { color: var(--positive); }.outlook-steady { color: var(--green); }.summary-reason { padding-top: 16px; border-top: 1px solid var(--line); }.summary-reason > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; }.tag-list span { padding: 4px 9px; border-radius: 4px; background: #f4ece7; color: #99533a; font-size: 12px; }.expand-button { width: 100%; margin-top: 20px; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); color: var(--green); background: transparent; text-align: left; font-size: 13px; font-weight: 700; }.expand-button span { float: right; }.direction-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; padding-top: 21px; border-top: 1px solid var(--line); }.direction-card:not(.featured) .direction-details { display: none; }.direction-card.expanded:not(.featured) .direction-details { display: grid; }.detail-block p { margin-bottom: 0; color: var(--muted); font-size: 14px; }.detail-block p strong { color: var(--green-deep); }.exploration-block { padding: 16px; border-radius: 6px; background: #f0f7f2; }.qualification-note { grid-column: 1 / -1; display: flex; gap: 10px; padding: 12px 14px; border-left: 3px solid var(--terracotta); background: var(--terracotta-soft); color: #754737; }.qualification-note > span { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border: 1px solid var(--terracotta); border-radius: 50%; font-size: 12px; }.qualification-note p { margin: 0; font-size: 13px; }.qualification-note strong { margin-right: 6px; }.featured-hint { margin-top: 22px; color: var(--muted); font-size: 12px; }.report-footer { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-top: 28px; padding: 26px 0 0; border-top: 1px solid var(--line); }.report-footer p:not(.eyebrow) { max-width: 700px; margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .site-header, .site-footer, main { width: min(100% - 40px, 1120px); }.header-note { display: none; }.site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; font-size: 12px; }
  .screen { min-height: calc(100vh - 130px); padding-block: 38px; }.welcome-screen { display: block; }.welcome-copy h1 { font-size: 38px; }.lead { font-size: 16px; }.welcome-meta { gap: 12px; }.welcome-meta span { padding-right: 12px; }.welcome-visual { min-height: 300px; margin-top: 46px; }.visual-node { width: 70px; height: 70px; font-size: 12px; }.node-one { top: 60px; }.node-two { top: 130px; }.node-three { bottom: 38px; }.visual-label { right: 8%; bottom: 27px; }.visual-label strong { font-size: 18px; }
  .quiz-topbar { grid-template-columns: 45px 1fr; }.quiz-status { grid-column: 1 / -1; text-align: left; }.question-layout { display: block; padding-block: 58px 36px; }.question-intro { display: flex; justify-content: space-between; padding-top: 0; border-top: 0; }.question-intro .eyebrow { margin-bottom: 8px; }.question-body h1 { font-size: 29px; }.question-helper { margin-bottom: 24px; }.option-button { min-height: 72px; padding: 13px 14px; }.progress-dots { gap: 3px; }.progress-dot { height: 3px; }
  .results-hero { display: block; padding-bottom: 30px; }.results-hero h1 { font-size: 35px; }.results-hero .button { margin-top: 20px; }.results-grid { display: block; }.report-section { padding-block: 24px; }.direction-heading { display: block; }.section-aside { margin-top: -10px; }.direction-cards { display: block; }.direction-card, .direction-card.featured { margin-bottom: 14px; padding: 22px 18px; }.direction-card.featured { border-width: 2px; }.direction-card-header { display: block; }.reference-score { display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; margin-bottom: 10px; text-align: left; }.reference-score strong { font-size: 28px; }.market-row { grid-template-columns: 1fr; }.direction-details { grid-template-columns: 1fr; }.qualification-note { grid-column: auto; }.report-footer { display: block; }.report-footer .button { margin-top: 20px; }
}

@media print {
  :root { --page: #fff; }.site-header, .site-footer, #welcome-screen, #question-screen, #generating-screen, #restart-button, #print-button, .expand-button, .featured-hint, .section-aside { display: none !important; }.screen { display: block !important; min-height: 0; padding: 0; }.results-screen { width: 100%; }.direction-cards { display: block; }.direction-card, .direction-card.featured { margin-bottom: 18px; box-shadow: none; break-inside: avoid; }.direction-card:not(.featured) .summary-reason { display: none; }.direction-card:not(.featured) .direction-details { display: grid; }.report-footer { margin-top: 0; }.results-hero { padding-block: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
