:root {
    --bg: #f5f7fb;
    --paper: #ffffff;
    --ink: #111827;
    --muted: #667085;
    --quiet: #98a2b3;
    --line: #dfe4ec;
    --line-soft: #edf0f5;
    --blue: #4d49e5;
    --blue-dark: #3b38c4;
    --blue-soft: #ecebff;
    --violet: #8583ff;
    --green: #12a078;
    --shadow: 0 24px 70px rgba(30, 44, 74, .09);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

.planner-view { min-height: calc(100svh - 70px); padding: 34px 20px 54px; display: grid; place-items: center; }
.planner-shell { width: min(1080px, 100%); }
.planner-topline { width: min(760px, 100%); min-height: 56px; margin: 0 auto 22px; display: grid; grid-template-columns: 44px 1fr 44px; gap: 18px; align-items: center; }
.progress-wrap { min-width: 0; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 680; margin-bottom: 8px; }
.progress-track { height: 4px; overflow: hidden; border-radius: 999px; background: #dce2eb; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--blue); border-radius: inherit; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.back-button, .quiet-button { border: 0; background: transparent; cursor: pointer; }
.back-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; transition: border-color .18s ease, transform .18s ease; }
.back-button:hover { border-color: #a9b6ca; transform: translateX(-2px); }
.back-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-button.is-hidden { opacity: 0; pointer-events: none; }
.quiet-button { color: #7b8494; font-size: 12px; padding: 8px 0; }
.quiet-button:hover { color: var(--ink); }

.steps { position: relative; }
.step { display: none; }
.step.is-active { display: grid; animation: step-in .42s cubic-bezier(.2,.8,.2,1) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.intro-step { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); align-items: center; gap: 40px; min-height: 610px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.spark-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-soft); }
.intro-copy h1 { font-size: clamp(44px, 4.5vw, 58px); line-height: 1.08; letter-spacing: -.055em; margin: 24px 0 22px; font-weight: 670; }
.intro-copy h1 em { color: var(--blue); font-style: normal; font-weight: inherit; }
.intro-copy > p { max-width: 580px; margin: 0; color: #596579; font-size: 17px; line-height: 1.75; }
.intro-actions { display: flex; align-items: center; gap: 20px; margin-top: 38px; }
.intro-actions > span { color: var(--quiet); font-size: 11px; }
.primary-button { border: 0; min-height: 50px; border-radius: 11px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--blue); color: white; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 9px 22px rgba(77,73,229,.22); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.primary-button:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 13px 26px rgba(77,73,229,.25); }
.primary-button:active { transform: translateY(0); }
.primary-button:disabled { cursor: not-allowed; opacity: .46; box-shadow: none; }

.plan-orbit { justify-self: center; width: 420px; height: 420px; position: relative; display: grid; place-items: center; }
.plan-orbit::before { content: ""; position: absolute; inset: 55px; border-radius: 50%; background: radial-gradient(circle at 42% 35%, #fff 0, #f7f6ff 54%, #ecebff 100%); box-shadow: inset 0 0 0 1px rgba(77,73,229,.1), 0 34px 70px rgba(77,73,229,.12); }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(77,73,229,.16); }
.orbit-ring--outer { inset: 10px; animation: spin 26s linear infinite; }
.orbit-ring--inner { inset: 72px; border-style: dashed; animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core { z-index: 2; width: 158px; height: 158px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1px solid rgba(77,73,229,.12); box-shadow: 0 18px 42px rgba(59,56,196,.13); }
.orbit-core span, .orbit-core small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.orbit-core strong { color: var(--blue); font-size: 58px; line-height: 1; letter-spacing: -.07em; margin: 5px 0; }
.orbit-node { position: absolute; z-index: 3; padding: 9px 13px; background: rgba(255,255,255,.92); border: 1px solid #e0e6f0; border-radius: 10px; box-shadow: 0 8px 24px rgba(28,39,69,.08); color: #394150; font-size: 12px; font-weight: 700; animation: float 4.5s ease-in-out infinite; }
.node-one { left: -1px; top: 84px; }
.node-two { right: 10px; top: 58px; animation-delay: -.9s; }
.node-three { left: 12px; bottom: 72px; animation-delay: -1.8s; }
.node-four { right: -3px; bottom: 92px; animation-delay: -2.7s; }
.orbit-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 7px rgba(77,73,229,.1); }
.dot-one { top: 21px; left: 202px; }
.dot-two { bottom: 27px; right: 102px; background: var(--violet); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.question-step { width: min(760px, 100%); min-height: 590px; margin: 0 auto; align-content: start; }
.question-heading { text-align: center; margin: 28px 0 32px; }
.question-heading h2 { margin: 13px 0 9px; font-size: clamp(30px, 4vw, 40px); letter-spacing: -.04em; line-height: 1.2; }
.question-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.choice-grid { display: grid; gap: 12px; }
.choice-grid--four { grid-template-columns: repeat(2, 1fr); }
.choice-grid--two { grid-template-columns: repeat(2, 1fr); }
.choice-card { position: relative; min-height: 118px; border: 1px solid var(--line); border-radius: 15px; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; background: rgba(255,255,255,.76); cursor: pointer; text-align: left; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease; }
.choice-card:hover { border-color: #aebbd0; transform: translateY(-2px); background: white; }
.choice-card.is-selected { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(77,73,229,.08), 0 12px 30px rgba(59,56,196,.08); }
.choice-card.is-selected::after { content: "✓"; position: absolute; right: 13px; top: 13px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 900; }
.choice-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 13px; }
.choice-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-blue { color: var(--blue); background: var(--blue-soft); }
.icon-cyan { color: #159cb1; background: #e9f8fa; }
.icon-violet { color: var(--violet); background: #f0edff; }
.icon-amber { color: #c88516; background: #fff6df; }
.choice-card strong { font-size: 15px; line-height: 1.35; }
.choice-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.choice-card--wide { min-height: 92px; flex-direction: row; align-items: center; gap: 14px; padding: 15px 16px; }
.choice-card--wide::after { display: none; }
.choice-index { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #f0f3f8; color: #677386; font-size: 11px; font-weight: 800; }
.choice-card--wide.is-selected .choice-index { background: var(--blue-soft); color: var(--blue); }
.choice-card--wide > span:nth-child(2) { padding-right: 26px; }
.check-mark { position: absolute; right: 15px; opacity: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-size: 11px; }
.choice-card--wide.is-selected .check-mark { opacity: 1; }
.score-row { margin-top: 16px; padding: 17px 20px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: end; background: #edf1f7; border-radius: 14px; }
.score-row label, .mock-date-field { color: #697586; font-size: 11px; font-weight: 700; }
.score-row select { width: 100%; height: 43px; margin-top: 7px; border: 1px solid #d4dbe6; border-radius: 10px; padding: 0 12px; background: white; color: #182230; font-size: 15px; font-weight: 760; outline: 0; }
.score-row select:focus, .mock-date-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(77,73,229,.1); }
.score-arrow { color: var(--blue); padding-bottom: 10px; font-weight: 800; }
.step-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.step-footer > span { color: var(--quiet); font-size: 11px; }
.validation-message { min-height: 18px; margin: 7px 0 -5px; color: #c33e45; font-size: 11px; }

.time-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.time-options button { min-height: 140px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.72); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: .18s ease; }
.time-options button:hover { transform: translateY(-2px); border-color: #afbbcf; background: white; }
.time-options button.is-selected { border-color: var(--blue); background: white; box-shadow: 0 0 0 3px rgba(77,73,229,.08); }
.time-options strong { font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.time-options button.is-selected strong { color: var(--blue); }
.time-options span { font-size: 11px; color: var(--muted); margin-top: 4px; }
.time-options small { margin-top: 12px; font-size: 11px; font-weight: 700; color: #485468; }
.day-fieldset { margin: 25px 0 0; padding: 0; border: 0; }
.day-fieldset legend { margin-bottom: 12px; font-size: 12px; font-weight: 730; }
.day-options { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day-options button { min-height: 66px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.day-options button:hover { border-color: #aebbd0; }
.day-options button.is-selected { border-color: var(--blue); background: var(--blue); color: white; box-shadow: 0 7px 18px rgba(77,73,229,.2); }
.day-options span { font-weight: 800; font-size: 13px; }
.day-options small { font-size: 9px; color: var(--quiet); }
.day-options button.is-selected small { color: #dedcff; }

.timeline-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; }
.timeline-options::before { content: ""; position: absolute; z-index: -1; top: 23px; left: 11%; right: 11%; height: 1px; background: #cdd5e2; }
.timeline-options button { min-height: 145px; padding: 16px 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.83); cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: .18s ease; }
.timeline-options button:hover { transform: translateY(-2px); border-color: #afbbcf; }
.timeline-options button.is-selected { border-color: var(--blue); background: white; box-shadow: 0 0 0 3px rgba(77,73,229,.08); }
.timeline-dot { width: 15px; height: 15px; margin-bottom: 27px; border: 4px solid white; border-radius: 50%; background: #9aa6b7; box-shadow: 0 0 0 1px #aeb8c8; }
.timeline-options button.is-selected .timeline-dot { background: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.timeline-options strong { font-size: 14px; }
.timeline-options small { margin-top: 6px; color: var(--muted); font-size: 10px; }
.mock-date-field { max-width: 360px; margin: 22px auto 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
.mock-date-field input { height: 42px; border: 1px solid #d5dce7; border-radius: 10px; padding: 0 12px; background: white; color: #243044; outline: 0; }

.review-board { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.review-board > div { position: relative; padding: 22px 22px 20px 0; min-height: 100px; }
.review-board > div:not(:nth-child(3)) { border-right: 1px solid var(--line); margin-right: 22px; }
.review-board span { display: block; color: var(--quiet); font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.review-board strong { display: block; margin-top: 8px; font-size: 17px; }
.review-board button { position: absolute; left: 0; bottom: 9px; border: 0; padding: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 700; cursor: pointer; }
.review-board .review-wide { grid-column: 1/-1; border-top: 1px solid var(--line); border-right: 0; margin: 0; min-height: 92px; }
.review-wide strong { padding-right: 70px; }
.privacy-note { margin-top: 25px; padding: 17px 18px; display: flex; gap: 13px; align-items: flex-start; border-radius: 13px; background: #edf8f5; color: #316a5b; }
.privacy-note > span { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 11px; }
.privacy-note p { margin: 0; font-size: 11px; line-height: 1.65; }
.privacy-note strong { display: block; color: #205748; font-size: 12px; }
.primary-button--spark { min-width: 205px; }

.generating-view { min-height: calc(100svh - 70px); padding: 40px 20px; display: grid; place-items: center; }
.generating-inner { width: min(520px, 100%); text-align: center; }
.generator-visual { width: 136px; height: 136px; margin: 0 auto 29px; position: relative; display: grid; place-items: center; }
.generator-visual span { position: absolute; inset: 0; border: 1px solid rgba(77,73,229,.2); border-radius: 50%; animation: generator-pulse 2s ease-out infinite; }
.generator-visual span:nth-child(2) { inset: 17px; animation-delay: -.6s; }
.generator-visual span:nth-child(3) { inset: 34px; animation-delay: -1.2s; }
.generator-visual strong { position: relative; z-index: 2; width: 61px; height: 61px; display: grid; place-items: center; border-radius: 18px; background: var(--blue); color: white; font-size: 25px; box-shadow: 0 16px 38px rgba(77,73,229,.3); }
@keyframes generator-pulse { 0%,100% { transform: scale(.97); opacity: .35; } 50% { transform: scale(1.04); opacity: 1; } }
.generating-inner h2 { margin: 13px 0 8px; font-size: 31px; letter-spacing: -.04em; }
.generating-inner > p { margin: 0; color: var(--muted); font-size: 13px; }
.generator-progress { height: 5px; margin: 31px 0 23px; border-radius: 999px; background: #dfe5ee; overflow: hidden; }
.generator-progress span { display: block; width: 8%; height: 100%; border-radius: inherit; background: var(--blue); transition: width .72s cubic-bezier(.2,.8,.2,1); }
.generator-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.generator-checks span { color: var(--quiet); font-size: 10px; line-height: 1.45; transition: color .2s ease; }
.generator-checks span.is-done { color: var(--green); font-weight: 700; }
.generator-checks span.is-done::before { content: "✓ "; }

.result-view { padding: 42px 20px 68px; }
.result-shell { width: min(1160px, 100%); margin: 0 auto; }
.result-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; padding-bottom: 28px; border-bottom: 1px solid var(--line); animation: result-in .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes result-in { from { opacity: 0; transform: translateY(12px); } }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(18,160,120,.12); }
.result-heading h1 { margin: 12px 0 8px; font-size: clamp(32px, 4vw, 47px); letter-spacing: -.05em; line-height: 1.12; }
.result-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.result-actions { display: flex; gap: 10px; }
.secondary-button { min-height: 44px; padding: 0 16px; border: 1px solid #cfd7e4; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px; background: white; color: #374151; cursor: pointer; font-size: 12px; font-weight: 700; transition: .18s ease; }
.secondary-button:hover { border-color: #9daabd; transform: translateY(-1px); }
.secondary-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.compact-button { min-height: 44px; padding-inline: 18px; font-size: 12px; box-shadow: none; }
.score-journey { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 31px 36px; margin-top: 22px; border-radius: 17px; background: #111827; color: white; overflow: hidden; position: relative; }
.score-journey::after { content: ""; position: absolute; width: 300px; height: 300px; right: 9%; top: -230px; border-radius: 50%; background: rgba(77,73,229,.35); filter: blur(15px); }
.score-point { position: relative; z-index: 1; }
.score-point span { display: block; color: #9da7b8; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.score-point strong { display: block; margin-top: 3px; font-size: 36px; letter-spacing: -.05em; }
.score-point--target { text-align: right; }
.score-point--target strong { color: #9b99ff; }
.journey-track { height: 8px; position: relative; border-radius: 999px; background: #313b4e; }
.journey-track > span { display: block; width: 72%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8583ff, #4d49e5); animation: rail-in 1s .25s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
@keyframes rail-in { from { transform: scaleX(.1); } }
.journey-track > i { position: absolute; left: 71%; top: 50%; width: 16px; height: 16px; border: 4px solid #fff; border-radius: 50%; background: var(--blue); transform: translate(-50%,-50%); box-shadow: 0 0 0 5px rgba(133,131,255,.18); }
.journey-track small { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); color: #9ca7b7; font-size: 9px; white-space: nowrap; }
.journey-track small b { color: #dedcff; }
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); padding: 25px 0; border-bottom: 1px solid var(--line); }
.summary-strip > div { padding: 0 27px; border-right: 1px solid var(--line); }
.summary-strip > div:first-child { padding-left: 0; }
.summary-strip > div:last-child { border-right: 0; }
.summary-strip span { display: block; color: var(--quiet); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.summary-strip strong { display: block; margin-top: 8px; font-size: 18px; letter-spacing: -.02em; }
.summary-strip b { font: inherit; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 34px; margin-top: 34px; }
.day-workspace { min-width: 0; }
.workspace-header { display: flex; justify-content: space-between; align-items: center; }
.workspace-header h2 { margin: 8px 0 0; font-size: 28px; letter-spacing: -.035em; }
.daily-ring { --progress: 25; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) calc(var(--progress) * 1%), #e3e8f0 0); position: relative; transition: background .35s ease; }
.daily-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg); }
.daily-ring strong { position: relative; font-size: 11px; }
.week-tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 24px 0 17px; }
.week-tab { min-height: 65px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.65); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: .18s ease; }
.week-tab:hover { border-color: #aab6c9; background: white; }
.week-tab span { color: var(--quiet); font-size: 9px; }
.week-tab strong { font-size: 15px; }
.week-tab i { width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.week-tab.is-done i { background: var(--green); }
.week-tab.is-active { border-color: #172033; background: #172033; color: white; box-shadow: 0 8px 20px rgba(20,31,52,.15); }
.week-tab.is-active span { color: #aab4c4; }
.week-tab.is-active i { background: #8583ff; }
.daily-brief { display: flex; gap: 20px; align-items: center; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--blue-soft); }
.daily-brief span { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.daily-brief p { margin: 0; color: #364769; font-size: 12px; line-height: 1.5; }
.task-list { margin-top: 12px; border-top: 1px solid var(--line); }
.task-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 15px; align-items: center; min-height: 87px; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.task-check { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #bdc7d5; border-radius: 50%; background: transparent; color: white; cursor: pointer; font-size: 11px; transition: .18s ease; }
.task-check:hover { border-color: var(--blue); transform: scale(1.06); }
.task-item.is-done .task-check { border-color: var(--green); background: var(--green); }
.task-copy { min-width: 0; }
.task-copy strong { display: block; font-size: 13px; }
.task-copy p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.task-item.is-done .task-copy strong { color: #7e8897; text-decoration: line-through; }
.task-item.is-done .task-copy p { color: #a1a9b5; }
.task-time { color: #7d8796; font-size: 10px; font-weight: 750; white-space: nowrap; }
.task-time::before { content: "◷"; margin-right: 5px; }
.day-complete { margin-top: 16px; padding: 15px 17px; display: flex; align-items: center; gap: 13px; border: 1px solid #bfe2d8; border-radius: 13px; background: #eef9f6; }
.day-complete > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 13px; }
.day-complete strong { font-size: 12px; }
.day-complete p { margin: 2px 0 0; color: #5f786f; font-size: 10px; }
.plan-sidebar { border-left: 1px solid var(--line); padding-left: 32px; }
.plan-sidebar section { padding: 23px 0; border-bottom: 1px solid var(--line); }
.plan-sidebar section:first-child { padding-top: 0; }
.sidebar-heading { display: flex; justify-content: space-between; align-items: center; }
.sidebar-heading strong { font-size: 13px; }
.route-bar { height: 4px; margin: 11px 0 20px; border-radius: 999px; background: #dfe5ed; overflow: hidden; }
.route-bar span { display: block; width: 45%; height: 100%; border-radius: inherit; background: var(--blue); transition: width .35s ease; }
.weekly-route ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.route-item { position: relative; padding-left: 31px; min-height: 31px; }
.route-item::before { content: ""; position: absolute; left: 9px; top: 21px; bottom: -17px; width: 1px; background: #d6dde8; }
.route-item:last-child::before { display: none; }
.route-mark { position: absolute; left: 0; top: 1px; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #c5cfdd; border-radius: 50%; background: var(--bg); color: transparent; font-size: 9px; }
.route-item.is-done .route-mark { border-color: var(--green); background: var(--green); color: white; }
.route-item.is-current .route-mark { border: 5px solid var(--blue); background: white; }
.route-item strong { display: block; font-size: 11px; }
.route-item span { display: block; color: var(--quiet); font-size: 9px; margin-top: 2px; }
.milestone-label { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #fff3db; color: #a8670c; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.milestone-panel > strong { display: block; margin-top: 13px; font-size: 14px; }
.milestone-panel > p { margin: 7px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.milestone-meta { display: flex; justify-content: space-between; color: #7c8797; font-size: 9px; }
.focus-panel > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.focus-chip { padding: 7px 9px; border: 1px solid #d7dee9; border-radius: 8px; background: white; color: #4c596d; font-size: 9px; font-weight: 700; }
.focus-chip:first-child { border-color: #c9c7ff; background: var(--blue-soft); color: var(--blue-dark); }
.mock-disclaimer { display: flex; align-items: center; gap: 14px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); }
.mock-disclaimer span { padding: 6px 9px; border-radius: 7px; background: #e8ebf0; color: #596476; font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.mock-disclaimer p { margin: 0; color: var(--quiet); font-size: 9px; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; min-width: 280px; max-width: calc(100% - 32px); padding: 13px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid #d7dee8; border-radius: 12px; background: rgba(17,24,39,.94); color: white; box-shadow: 0 18px 50px rgba(16,24,40,.22); transform: translate(-50%, 22px); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast > span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--green); font-size: 10px; }
.toast p { margin: 0; font-size: 11px; }

@media (max-width: 900px) {
    .intro-step { grid-template-columns: 1fr; gap: 25px; padding: 42px 0; }
    .intro-copy { text-align: center; }
    .intro-copy > p { margin-inline: auto; }
    .intro-actions { justify-content: center; }
    .plan-orbit { width: 350px; height: 350px; order: -1; }
    .orbit-node { transform: scale(.92); }
    .workspace-grid { grid-template-columns: 1fr; }
    .plan-sidebar { border-left: 0; padding-left: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .plan-sidebar section { border: 1px solid var(--line); border-radius: 15px; padding: 20px !important; background: rgba(255,255,255,.55); }
    .plan-sidebar .weekly-route { grid-row: span 2; }
}

@media (max-width: 700px) {
    .planner-view { min-height: calc(100svh - 70px); padding: 18px 15px 35px; place-items: start center; }
    .planner-topline { grid-template-columns: 38px 1fr 30px; gap: 10px; margin-bottom: 8px; }
    .intro-step { min-height: auto; padding: 26px 0; }
    .intro-copy h1 { font-size: 39px; }
    .intro-copy > p { font-size: 14px; }
    .intro-actions { flex-direction: column; margin-top: 28px; }
    .plan-orbit { width: 280px; height: 280px; }
    .plan-orbit::before { inset: 42px; }
    .orbit-ring--inner { inset: 54px; }
    .orbit-core { width: 125px; height: 125px; }
    .orbit-core strong { font-size: 45px; }
    .orbit-node { font-size: 10px; padding: 7px 9px; }
    .node-one { left: -5px; top: 60px; }
    .node-two { right: 0; top: 42px; }
    .node-three { left: 4px; bottom: 52px; }
    .node-four { right: -4px; bottom: 65px; }
    .dot-one { left: 136px; top: 12px; }
    .question-step { min-height: auto; }
    .question-heading { margin: 20px 0 25px; }
    .question-heading h2 { font-size: 29px; }
    .question-heading p { font-size: 12px; line-height: 1.55; }
    .choice-grid--four, .choice-grid--two { grid-template-columns: 1fr; }
    .choice-grid--four { grid-template-columns: repeat(2, 1fr); }
    .choice-card { min-height: 108px; }
    .choice-card--wide { min-height: 82px; }
    .score-row { gap: 9px; padding: 14px; }
    .step-footer { position: sticky; z-index: 5; bottom: 0; margin: 20px -15px 0; padding: 13px 15px calc(13px + env(safe-area-inset-bottom)); background: rgba(245,247,251,.94); backdrop-filter: blur(12px); }
    .step-footer > span { max-width: 40%; }
    .time-options { grid-template-columns: repeat(2, 1fr); }
    .time-options button { min-height: 112px; }
    .day-options { gap: 4px; }
    .day-options button { min-height: 58px; }
    .day-options small { display: none; }
    .timeline-options { grid-template-columns: repeat(2, 1fr); }
    .timeline-options::before { display: none; }
    .timeline-options button { min-height: 105px; }
    .timeline-dot { margin-bottom: 16px; }
    .review-board { grid-template-columns: 1fr 1fr; }
    .review-board > div:nth-child(2) { border-right: 0; margin-right: 0; }
    .review-board > div:nth-child(3) { grid-column: 1/-1; border-top: 1px solid var(--line); border-right: 0; }
    .generator-checks { grid-template-columns: 1fr; }
    .result-view { padding: 28px 15px 50px; }
    .result-hero { align-items: flex-start; flex-direction: column; }
    .result-actions { width: 100%; }
    .result-actions button { flex: 1; }
    .score-journey { gap: 15px; padding: 28px 18px 38px; }
    .score-point strong { font-size: 30px; }
    .summary-strip { grid-template-columns: 1fr 1fr; }
    .summary-strip > div { padding: 16px 18px; border-bottom: 1px solid var(--line); }
    .summary-strip > div:nth-child(2) { border-right: 0; }
    .summary-strip > div:nth-child(3), .summary-strip > div:nth-child(4) { border-bottom: 0; }
    .summary-strip > div:nth-child(3) { padding-left: 0; }
    .week-tabs { gap: 4px; overflow-x: auto; }
    .week-tab { min-width: 58px; }
    .plan-sidebar { grid-template-columns: 1fr; }
    .plan-sidebar .weekly-route { grid-row: auto; }
}

@media (max-width: 430px) {
    .intro-copy h1 { font-size: 34px; }
    .choice-grid--four { grid-template-columns: 1fr; }
    .score-row { grid-template-columns: 1fr; }
    .score-arrow { display: none; }
    .review-board { grid-template-columns: 1fr; }
    .review-board > div { grid-column: 1/-1; border-right: 0 !important; border-top: 1px solid var(--line); margin: 0 !important; }
    .review-board > div:first-child { border-top: 0; }
    .result-actions { flex-direction: column; }
    .summary-strip strong { font-size: 15px; }
    .workspace-header h2 { font-size: 24px; }
}

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

@media print {
    #nheader, .result-actions, .week-tabs, .task-check, .toast { display: none !important; }
    body, .result-view { background: white; }
    .result-view { padding: 0; }
    .score-journey { print-color-adjust: exact; }
}
