:root{--ink:#25231f;--muted:#716d65;--paper:#f7f5ef;--surface:#fff;--soft:#efebe3;--border:#ded9cf;--border-strong:#c9c2b6;--lime:#d8f178;--purple:#7668df;--green:#438450;--orange:#b46933;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--radius-sm:8px;--radius-button:12px;--radius-card:16px;--radius-strong:20px;--radius-shell:28px;--nav-h:64px;--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}*{box-sizing:border-box}html,body{min-height:100%;color:var(--ink);background:#eae7df;margin:0}body{-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif}button,input{font:inherit;color:inherit}button{cursor:pointer;transition:transform .12s,background-color .12s,border-color .12s}button:active:not(:disabled){transform:scale(.985)}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:2px;outline:3px solid #7668df55}.app-shell{background:#eae7df;justify-content:center;min-height:100dvh;padding:24px;display:flex}.phone-frame{background:var(--paper);border-radius:var(--radius-shell);border:1px solid #fff;flex-direction:column;width:min(100%,760px);height:calc(100dvh - 48px);min-height:680px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 60px #3431281a}.topbar{height:calc(58px + var(--safe-top));padding:var(--safe-top) 24px 0;border-bottom:1px solid #e9e5dc99;flex:none;justify-content:space-between;align-items:center;display:flex}.brand{letter-spacing:-1.3px;font-size:23px;font-weight:900}.brand span{color:var(--purple)}.top-actions{align-items:center;gap:10px;display:flex}.xp-chip{background:var(--soft);border-radius:18px;align-items:center;gap:5px;min-height:36px;padding:0 12px;font-size:12px;display:flex}.avatar{background:var(--ink);color:#fff;border:0;border-radius:50%;width:40px;height:40px;font-weight:800}.content{padding:20px 28px calc(var(--nav-h) + var(--safe-bottom) + 28px);scrollbar-width:none;flex:1;overflow-y:auto}.bottom-nav{z-index:5;height:calc(var(--nav-h) + var(--safe-bottom));padding:7px 18px var(--safe-bottom);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fbfaf7ef;border-top:1px solid #e5e0d7;justify-content:space-around;display:flex;position:absolute;bottom:0;left:0;right:0}.bottom-nav button{color:#918c83;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:58px;min-height:50px;font-size:11px;display:flex}.bottom-nav svg{width:21px;height:21px}.bottom-nav .active{color:var(--ink);font-weight:800}.bottom-nav .active svg{filter:drop-shadow(0 7px 5px #93a43b55)}.eyebrow{color:#817c72;letter-spacing:.02em;margin:0;font-size:11px;font-weight:800}.feature-page>h1,.today-page h1{letter-spacing:-1px;margin:8px 0 10px;font-size:29px;line-height:1.15}.feature-intro{max-width:560px;color:var(--muted);margin:0 0 24px;font-size:14px;line-height:1.65}.primary-cta{border-radius:var(--radius-button);background:var(--lime);border:0;justify-content:center;align-items:center;gap:10px;min-height:52px;padding:0 20px;font-weight:850;display:flex}.quiet-button{min-height:44px;color:var(--muted);background:0 0;border:0}.loading-state,.first-visit{text-align:center;justify-content:center;align-items:center}.loading-state{gap:12px;padding:30px}.loading-state h1{font-size:24px}.loading-state p{color:var(--muted);font-size:14px}.loading-state button{border-radius:var(--radius-button);background:var(--lime);border:0;min-height:46px;padding:0 20px;font-weight:800}.loading-dots{gap:7px;display:flex}.loading-dots i{background:var(--purple);border-radius:50%;width:7px;height:7px;animation:1.2s infinite pulse}.loading-dots i:nth-child(2){animation-delay:.15s}.loading-dots i:nth-child(3){animation-delay:.3s}.onboarding-view{padding:calc(34px + var(--safe-top)) 26px calc(28px + var(--safe-bottom))}.first-visit{flex-direction:column;max-width:430px;height:100%;margin:auto;display:flex}.first-visit .brand{align-self:flex-start}.first-spark{width:66px;height:66px;color:var(--purple);background:#ece8ff;border-radius:20px;place-items:center;margin:auto auto 26px;display:grid}.first-spark svg{width:32px;height:32px}.first-visit h1{letter-spacing:-1.4px;margin:10px 0 15px;font-size:34px;line-height:1.18}.first-visit>p:not(.eyebrow){color:var(--muted);max-width:360px;margin:0 0 24px;font-size:15px;line-height:1.7}.first-visit .primary-cta{width:100%}.first-visit .quiet-button{margin-top:8px}@keyframes pulse{0%,to{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}@media (max-width:800px){.app-shell{background:var(--paper);min-height:100dvh;padding:0}.phone-frame{width:100%;height:100dvh;min-height:0;box-shadow:none;border:0;border-radius:0}@supports (height:100dvh){.phone-frame{height:100dvh}}.content{padding:18px 20px calc(var(--nav-h) + var(--safe-bottom) + 24px)}}@media (max-width:370px){.content{padding-left:16px;padding-right:16px}.feature-page>h1,.today-page h1{font-size:26px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
.today-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.exam-chip{background:var(--soft);color:var(--muted);border-radius:99px;flex:none;padding:7px 10px;font-size:12px}.section-kicker{margin:28px 0 10px;font-size:13px;font-weight:800}.next-step-card{border-radius:var(--radius-strong);background:var(--ink);color:#fff;padding:22px;box-shadow:0 12px 28px #25231f20}.next-step-top{color:#bbb6ad;justify-content:space-between;font-size:12px;display:flex}.next-step-card h2{letter-spacing:-.7px;margin:20px 0 8px;font-size:27px}.next-step-card p{color:#c5c0b7;margin:0 0 22px;font-size:14px;line-height:1.6}.next-step-card button{border-radius:var(--radius-button);background:var(--lime);width:100%;min-height:50px;color:var(--ink);border:0;justify-content:center;align-items:center;gap:8px;font-weight:850;display:flex}.today-progress{border-bottom:1px solid var(--border);padding:20px 2px}.today-progress>div:first-child{justify-content:space-between;font-size:13px;display:flex}.today-progress small{color:var(--muted);margin-top:9px;font-size:12px;display:block}.progress-dots{gap:8px;margin-top:12px;display:flex}.progress-dots i{background:#ddd8cf;border-radius:99px;flex:1;height:6px}.progress-dots i.active{background:var(--purple)}.progress-dots i.done{background:var(--lime)}.light-stats{color:var(--muted);gap:24px;padding:18px 2px;font-size:12px;display:flex}.light-stats strong{color:var(--ink);margin-top:4px;font-size:14px;display:block}.complete-state{text-align:center;border-radius:var(--radius-strong);background:#eef3d7;margin-top:36px;padding:32px}.complete-state>span{background:var(--lime);border-radius:50%;place-items:center;width:54px;height:54px;margin:auto;font-size:24px;display:grid}.complete-state h2{margin:16px 0 8px;font-size:22px}.complete-state p{color:var(--muted);font-size:14px;line-height:1.6}.complete-state button{border-radius:var(--radius-button);background:var(--ink);color:#fff;border:0;min-height:46px;padding:0 18px}.knowledge-path{max-width:580px}.path-group{grid-template-columns:38px 1fr;gap:14px;padding-bottom:24px;display:grid;position:relative}.path-group:not(:last-child):before{content:"";background:#ddd8cf;width:2px;position:absolute;top:38px;bottom:0;left:18px}.path-marker{z-index:1;background:var(--purple);color:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-size:13px;font-weight:850;display:grid}.path-content{padding:2px 0}.path-content h2{margin:6px 0 10px;font-size:16px}.path-node{border:1px solid var(--border);border-radius:var(--radius-button);background:#fff;justify-content:space-between;align-items:center;gap:10px;min-height:48px;margin-bottom:8px;padding:12px 14px;display:flex}.path-node span{font-size:14px;font-weight:700}.path-node b{color:var(--purple);font-size:12px}.path-node.unknown{color:#858077;background:#f0ede6}.path-node.unknown b{color:#8d887f}.path-content .path-node{text-align:left;width:100%}.knowledge-detail{border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;max-width:580px;margin:0 0 24px 52px;padding:18px}.knowledge-detail>span{color:var(--purple);font-size:11px;font-weight:800}.knowledge-detail h2{margin:5px 0 10px;font-size:18px}.knowledge-detail div,.knowledge-detail p{color:var(--muted);font-size:13px;line-height:1.55}.knowledge-detail button{border-radius:var(--radius-button);background:var(--lime);border:0;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-weight:800;display:flex}.smart-card{border-radius:var(--radius-strong);background:var(--ink);color:#fff;text-align:left;border:0;align-items:center;width:100%;min-height:92px;padding:18px;display:flex}.smart-card>span{background:var(--lime);width:44px;height:44px;color:var(--ink);border-radius:14px;flex:none;place-items:center;margin-right:14px;display:grid}.smart-card>div{flex:1}.smart-card strong{font-size:16px}.smart-card p{color:#bcb7ae;margin:5px 0 0;font-size:13px;line-height:1.45}.smart-card>b{color:var(--lime)}.choice-row{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:68px;padding:15px 2px;display:flex}.choice-row>div{flex:1}.choice-row strong,.choice-row span{display:block}.choice-row strong{font-size:14px}.choice-row span{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.45}.choice-row>svg{color:#a19c93}.review-empty{border-radius:var(--radius-card);background:var(--soft);margin-top:16px;padding:16px}.review-empty>strong,.review-empty>span{display:block}.review-empty>strong{font-size:14px}.review-empty>span{color:var(--muted);margin-top:5px;font-size:12px}.review-empty .choice-row{border:0;padding:0}.test-card,.resume-card{border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;margin-bottom:12px;padding:20px}.test-card.featured{background:#ece9ff;border-color:#d3ccff}.test-card>span,.resume-card>span{color:#6658ca;font-size:11px;font-weight:850}.test-card h2,.resume-card h2{margin:8px 0;font-size:17px}.test-card p,.resume-card p{color:var(--muted);font-size:13px;line-height:1.6}.test-card button,.resume-card button{border-radius:var(--radius-button);background:var(--ink);color:#fff;border:0;min-height:46px;padding:0 17px;font-weight:800}.resume-card{background:#eef3d7}.resume-card>span{color:var(--green)}.profile-summary{grid-template-columns:1fr 1fr;gap:12px;display:grid}.profile-summary>div{border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;padding:18px}.profile-summary span,.profile-summary strong,.profile-summary small{display:block}.profile-summary span{color:var(--muted);font-size:12px}.profile-summary strong{margin:8px 0;font-size:16px}.profile-summary small{color:var(--muted);font-size:12px;line-height:1.5}.profile-editor{border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;margin-top:16px;overflow:hidden}.profile-editor summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:54px;padding:0 16px;font-size:14px;font-weight:800;list-style:none;display:flex}.profile-editor summary::-webkit-details-marker{display:none}.profile-editor[open] summary{border-bottom:1px solid var(--border)}.profile-editor[open] summary svg{transform:rotate(90deg)}.profile-settings{padding:16px}.settings-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.settings-grid label.full{grid-column:1/-1}.settings-grid span{color:var(--muted);margin-bottom:6px;font-size:12px;display:block}.settings-grid input{border:1px solid var(--border);border-radius:var(--radius-button);background:#fbfaf6;width:100%;height:46px;padding:0 12px;font-size:14px}.profile-settings>button{border-radius:var(--radius-button);background:var(--lime);border:0;width:100%;min-height:48px;margin-top:14px;font-weight:850}.profile-settings>small{color:var(--green);margin-top:8px;font-size:12px;display:block}.question-view{padding-bottom:calc(86px + var(--safe-bottom))}.question-head{min-height:calc(72px + var(--safe-top));padding:var(--safe-top) 18px 0;border-bottom:1px solid var(--border);grid-template-columns:44px 1fr 58px;align-items:center;gap:10px;display:grid}.icon-button{border-radius:var(--radius-button);background:var(--soft);border:0;width:40px;height:40px;font-size:22px}.progress-track{background:#e0dbd2;border-radius:99px;height:4px;margin-top:8px;overflow:hidden}.progress-track i{background:var(--purple);height:100%;display:block}.session-meta{text-align:right}.session-meta span,.session-meta time{color:var(--muted);font-size:12px;display:block}.session-meta time{font-variant-numeric:tabular-nums;color:var(--ink);margin-top:4px;font-weight:750}.question-body{padding:28px}.question-body h1{margin:0 0 24px;font-size:20px;line-height:1.65}.answers{grid-template-columns:1fr;gap:10px;display:grid}.answers button{border:1px solid var(--border);border-radius:var(--radius-button);text-align:left;background:#fff;align-items:center;min-height:54px;padding:10px 14px;font-weight:700;display:flex}.answers button b{border-radius:var(--radius-sm);background:var(--soft);flex:none;place-items:center;width:28px;height:28px;margin-right:12px;font-size:12px;display:grid}.answers button span{font-size:14px;line-height:1.45}.answers button.selected{border-color:var(--purple);box-shadow:0 0 0 2px #7668df20}.answers button.selected b{background:var(--purple);color:#fff}.answer-input span{color:var(--muted);margin-bottom:8px;font-size:13px;display:block}.answer-input input{border:1px solid var(--border);border-radius:var(--radius-button);background:#fff;width:100%;height:54px;padding:0 14px;font-size:16px}.hint-panel,.feedback-panel{border-radius:var(--radius-card);background:#ece9ff;margin-top:16px;padding:16px}.hint-panel span,.feedback-panel span{color:#6759ce;font-size:12px;font-weight:850;display:block}.hint-panel strong,.feedback-panel strong{margin-top:6px;font-size:14px;line-height:1.55;display:block}.hint-panel p{color:var(--muted);margin:6px 0 0;font-size:12px}.feedback-panel.correct{background:#e5f2df}.feedback-panel.correct span{color:var(--green)}.feedback-panel.retry{background:#fff0df}.feedback-panel.retry span{color:var(--orange)}.question-actions{z-index:4;min-height:calc(82px + var(--safe-bottom));padding:14px 22px calc(14px + var(--safe-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fbfaf7f2;grid-template-columns:112px 1fr;gap:10px;display:grid;position:absolute;bottom:0;left:0;right:0}.question-actions.single-action{grid-template-columns:1fr}.question-actions button{border-radius:var(--radius-button);min-height:52px;font-weight:850}.hint-button{border:1px solid var(--border);background:#fff}.primary-button{background:var(--lime);border:0}.question-view{min-height:0}.question-body{overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.multiple-answers{border:0;margin:0;padding:0}.multiple-answers legend{color:var(--muted);padding:0 0 10px;font-size:12px;font-weight:750}.summary-view{padding-bottom:0}.assessment-summary{max-width:520px;margin:auto;padding:48px 28px}.assessment-summary h1{margin:10px 0;font-size:30px;line-height:1.2}.assessment-summary>p:not(.eyebrow){color:var(--muted);margin-bottom:24px;font-size:14px}.assessment-summary section{border-top:1px solid var(--border);padding:16px 0}.assessment-summary section span,.assessment-summary section strong{display:block}.assessment-summary section span{color:var(--muted);margin-bottom:8px;font-size:12px}.assessment-summary section strong{margin:6px 0;font-size:14px}.assessment-summary .focus-list strong{color:#5e51bf}.test-score{border-radius:var(--radius-strong);background:var(--ink);color:#fff;text-align:center;margin:22px 0;padding:26px}.test-score strong,.test-score span{display:block}.test-score strong{font-size:34px}.test-score span{color:#bbb6ad;margin-top:5px;font-size:12px}.assessment-summary .primary-cta{width:100%;margin-top:18px}@media (max-width:560px){.today-heading{display:block}.exam-chip{margin-top:4px;display:inline-block}.profile-summary,.settings-grid{grid-template-columns:1fr}.settings-grid label.full{grid-column:auto}.question-body{padding:24px 20px}.question-body h1{font-size:18px}.question-actions{padding-left:16px;padding-right:16px}.light-stats{grid-template-columns:1fr 1fr;display:grid}}.dialog-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#17161366;justify-content:center;align-items:flex-end;padding:20px;display:flex;position:fixed;inset:0}.confirm-dialog{background:#fff;border-radius:24px;width:min(100%,460px);padding:22px;box-shadow:0 20px 60px #0003}.confirm-dialog>span{color:var(--purple);font-size:12px;font-weight:850}.confirm-dialog h2{margin:8px 0;font-size:22px}.confirm-dialog p{color:var(--muted);font-size:14px;line-height:1.6}.confirm-dialog>div{grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;display:grid}.confirm-dialog button{border:1px solid var(--border);border-radius:var(--radius-button);background:#fff;min-height:48px;font-weight:800}.confirm-dialog .danger-action{background:var(--ink);color:#fff;border:0}.session-dialog{position:absolute}.error-toast{z-index:12;left:18px;right:18px;bottom:calc(82px + var(--safe-bottom));color:#fff;background:#3e2b28;border-radius:14px;padding:12px 14px;font-size:13px;position:absolute;box-shadow:0 8px 24px #0002}.resume-first{justify-content:center}.resume-first .primary-cta{margin-top:16px}button:disabled{cursor:not-allowed;opacity:.55}@media (min-width:720px){.dialog-backdrop{align-items:center}.confirm-dialog{border-radius:20px}}.question-head{min-height:calc(82px + var(--safe-top));grid-template-columns:40px minmax(0,1fr) auto}.assessment-timer{flex-direction:column;align-items:flex-end;margin-top:5px;display:flex}.assessment-timer__value{line-height:1;color:var(--ink)!important;font-size:24px!important;font-weight:850!important}.assessment-timer small{color:var(--muted);white-space:nowrap;margin-top:3px;font-size:10px}.session-meta.timer-low .assessment-timer__value{color:var(--orange)!important}.question-count{color:var(--ink)!important;font-weight:800!important}.math-answer-field{gap:8px;display:grid}.math-answer-label{color:var(--muted);font-size:12px;font-weight:800}.math-answer-preview{border-radius:var(--radius-button);background:#fff;border:2px solid #7668df55;align-items:center;min-height:56px;padding:0 14px;display:flex;overflow-x:auto}.math-display{white-space:nowrap;font-family:Times New Roman,STSong,serif;font-size:24px}.math-answer-native{border:1px solid var(--border);width:100%;height:34px;color:var(--muted);background:#faf9f6;border-radius:8px;padding:0 10px;font-family:ui-monospace,monospace;font-size:12px}.math-keyboard{border-radius:var(--radius-card);background:#e9e5dd;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-height:270px;padding:8px;display:grid;overflow-y:auto}.math-keyboard button{background:#fff;border:0;border-radius:8px;min-height:36px;font-size:14px;font-weight:800}.math-keyboard .math-key-clear{color:var(--muted);background:#f5f2eb;grid-column:span 2}.math-fraction{text-align:center;grid-template-rows:1fr 1fr;line-height:1.1;display:inline-grid}.math-fraction>span:first-child{border-bottom:1.5px solid;padding:0 8px 3px}.math-fraction>span:last-child{padding-top:3px}.score-progress{border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;grid-template-columns:1fr 1fr;gap:14px;margin:4px 0 24px;padding:18px;display:grid}.score-progress>div:not(.score-rail){flex-direction:column;display:flex}.score-progress span{color:var(--muted);font-size:11px;font-weight:800}.score-progress strong{color:var(--purple);margin-top:5px;font-size:24px}.score-progress>div:nth-child(2) strong{color:#788f2e}.score-progress small{color:var(--muted);font-size:11px}.score-progress p{color:var(--muted);grid-column:1/-1;margin:0;font-size:12px}.score-rail{background:#e5e0d7;border-radius:99px;grid-column:1/-1;height:6px;position:relative}.score-rail i,.score-rail b{border-radius:50%;width:13px;height:13px;position:absolute;top:50%;transform:translate(-50%,-50%)}.score-rail i{background:var(--purple)}.score-rail b{background:var(--lime);border:2px solid #fff;box-shadow:0 0 0 1px #9eb349}@media (max-width:560px){.question-body:has(.math-answer-field){padding:16px 16px 12px}.question-body:has(.math-answer-field) h1{margin-bottom:12px;line-height:1.45}.score-progress{margin-bottom:18px}.math-keyboard{max-height:245px}.math-keyboard button{min-height:34px}}
