:root {
  --ink: #26233b;
  --muted: #77738b;
  --line: #e9e6f5;
  --paper: #ffffff;
  --bg: #f6f4fb;
  --violet: #2f8f72;
  --violet-2: #68b69a;
  --teal: #278b72;
  --coral: #d96b55;
  --gold: #c58d23;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
button { font: inherit; }
.app-shell { min-height: 100vh; }
.hero { background: linear-gradient(155deg, #24755f 0%, #4da987 60%, #f3f8f5 60.2%); color: white; padding: 28px 18px 52px; }
.hero-inner, .page { width: min(720px, 100%); margin: 0 auto; }
.eyebrow { font-size: 12px; letter-spacing: .08em; opacity: .82; text-transform: uppercase; }
h1 { font-size: clamp(30px, 8vw, 48px); line-height: 1.1; margin: 12px 0; letter-spacing: 0; }
h2 { font-size: 20px; margin: 0; }
.hero-copy { max-width: 520px; font-size: 15px; line-height: 1.75; opacity: .92; margin: 0; }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.hero-meta span { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 5px 10px; font-size: 12px; }
.page { padding: 0 16px 48px; margin-top: -30px; position: relative; }
.panel { background: var(--paper); border: 1px solid rgba(100,85,180,.1); border-radius: 14px; padding: 20px; margin-bottom: 14px; box-shadow: 0 10px 28px rgba(47,32,111,.08); }
.panel-title { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.panel-title .mark { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--violet); font-size: 14px; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dimension { background: #faf9fe; border: 1px solid var(--line); border-radius: 10px; padding: 13px; }
.dimension strong { display: block; font-size: 14px; margin-bottom: 5px; }
.dimension small { color: var(--muted); line-height: 1.5; }
.cta { width: 100%; border: 0; border-radius: 10px; background: var(--violet); color: white; padding: 14px 18px; font-weight: 700; cursor: pointer; }
.cta:hover { background: #4933bd; }
.cta.secondary { background: #f0edff; color: var(--violet); }
.cta.text { background: transparent; color: var(--violet); padding: 8px; }
.quiz-wrap { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; }
.quiz-head { position: sticky; top: 0; z-index: 3; background: rgba(246,244,251,.94); backdrop-filter: blur(10px); padding: 14px 0 10px; }
.quiz-head-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.progress { height: 7px; background: #e5e0fa; border-radius: 99px; margin-top: 9px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--violet); transition: width .2s ease; }
.question-card { margin-top: 25px; }
.question-number { color: var(--violet); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.question-text { font-size: clamp(23px, 5.5vw, 32px); line-height: 1.35; margin: 12px 0 20px; }
.options { display: grid; gap: 10px; }
.option { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 15px; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 11px; color: var(--ink); }
.option:hover, .option.selected { border-color: var(--violet); background: #f5f2ff; }
.option-dot { width: 19px; height: 19px; border: 2px solid #c8c3dc; border-radius: 50%; flex: 0 0 auto; }
.option.selected .option-dot { border-color: var(--violet); box-shadow: inset 0 0 0 4px white; background: var(--violet); }
.quiz-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 24px; }
.quiz-actions .cta:disabled { opacity: .45; cursor: not-allowed; }
.report-head { background: linear-gradient(155deg, #24755f, #63b394); color: white; padding: 28px 16px 44px; }
.report-head .hero-inner { text-align: center; }
.report-page { margin-top: -28px; }
.type-card { background: #fff; border-radius: 14px; padding: 20px; text-align: center; box-shadow: 0 10px 28px rgba(47,32,111,.12); }
.type-name { font-size: 25px; font-weight: 800; color: var(--violet); margin: 8px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.chip { color: var(--violet); background: #f0edff; border: 1px solid #dfd8ff; border-radius: 999px; padding: 5px 10px; font-size: 12px; }
.score-list { display: grid; gap: 11px; }
.score-row { display: grid; grid-template-columns: 88px 1fr 34px; gap: 8px; align-items: center; font-size: 13px; }
.bar { height: 8px; background: #ece9f4; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--violet-2)); }
.score-row small { color: var(--muted); text-align: right; }
.callout { border-left: 4px solid var(--teal); background: #eaf8f4; padding: 12px 14px; border-radius: 9px; font-size: 13px; line-height: 1.7; }
.career-grid { display: grid; gap: 10px; }
.career { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.career h3 { margin: 0 0 7px; font-size: 15px; }
.career p { margin: 5px 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.career p strong { color: var(--ink); }
.plan { display: grid; gap: 9px; }
.plan-item { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; background: #fbfaff; border: 1px solid var(--line); padding: 11px; border-radius: 9px; font-size: 13px; line-height: 1.55; }
.day { color: var(--violet); font-weight: 800; }
.notice { color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-actions { display: grid; gap: 8px; }
@media (min-width: 620px) { .hero { padding-top: 52px; } .grid-2 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
