@font-face{font-family:Geist;src:url(/fonts/geist/GeistVariable.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Geist;src:url(/fonts/geist/GeistVariable-Italic.woff2) format("woff2");font-style:italic;font-weight:100 900;font-display:swap}:root{color-scheme:light;--font: "Geist", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;--mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--n50: #f5f5f7;--n100: #ededf0;--n200: #dedee3;--n300: #c5c5cd;--n400: #8e8e99;--n500: #6e6e79;--n600: #51515c;--n700: #38383f;--n800: #28282e;--n900: #1c1c21;--n950: #111114;--bg: #f5f5f7;--surface: #ffffff;--surface-2: #f5f5f7;--surface-3: #ededf0;--text: #1d1d1f;--muted: #6e6e79;--faint: #8e8e99;--border: #dedee3;--hairline: rgba(0, 0, 0, .06);--card-shadow: 0 2px 8px rgb(0 0 0 / .025), 0 12px 32px -16px rgb(0 0 0 / .09);--card-shadow-hover: 0 16px 36px -18px rgb(0 0 0 / .15), 0 8px 18px -14px rgb(0 0 0 / .1);--glass: rgba(255, 255, 255, .78);--accent: #0784f6;--accent-hover: #0673d8;--accent-strong: #075db0;--accent-soft: #eff8ff;--accent-soft-2: #dcefff;--ok: #10b981;--ok-text: #047857;--ok-soft: #ecfdf5;--bad: #ef4444;--bad-text: #b91c1c;--bad-soft: #fef2f2;--warn: #f59e0b;--warn-soft: #fffbeb;--flame: #ff9500;--radius-card: 20px;--radius: 14px;--radius-sm: 12px;--radius-xs: 8px;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--safe-right: env(safe-area-inset-right, 0px);--tabbar-h: 64px}.dark{color-scheme:dark;--bg: #111114;--surface: #1c1c21;--surface-2: #28282e;--surface-3: #38383f;--text: #f5f5f7;--muted: #a1a1aa;--faint: #8e8e99;--border: #38383f;--hairline: rgba(255, 255, 255, .07);--card-shadow: 0 2px 8px rgb(0 0 0 / .1), 0 12px 32px -16px rgb(0 0 0 / .25);--card-shadow-hover: 0 16px 36px -18px rgb(0 0 0 / .6), 0 8px 18px -14px rgb(0 0 0 / .4);--glass: rgba(28, 28, 33, .78);--accent: #35a7ff;--accent-hover: #7ec8ff;--accent-strong: #7ec8ff;--accent-soft: rgba(7, 132, 246, .14);--accent-soft-2: rgba(7, 132, 246, .22);--ok-text: #34d399;--ok-soft: rgba(16, 185, 129, .14);--bad-text: #f87171;--bad-soft: rgba(239, 68, 68, .14);--warn-soft: rgba(245, 158, 11, .14)}*{box-sizing:border-box}html{font-family:var(--font);font-optical-sizing:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;text-size-adjust:100%}html,body,#root{min-height:100%}body{margin:0;background:var(--bg);color:var(--text);font-size:15px;line-height:1.5;font-feature-settings:"rlig" 1,"calt" 1;min-height:100dvh;overscroll-behavior-y:none}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button:not(:disabled),a{-webkit-tap-highlight-color:transparent}button:not(:disabled){cursor:pointer}:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{background:var(--accent-soft-2)}h1,h2,h3,h4{margin:0;line-height:1.25;letter-spacing:-.015em}h1{font-size:clamp(1.5rem,2.5vw,2rem);font-weight:600;letter-spacing:-.025em}h2{font-size:17px;font-weight:600}h3{font-size:15px;font-weight:600}p{margin:0}code,kbd{font-family:var(--mono);font-size:.88em}code{background:var(--surface-3);padding:1px 6px;border-radius:6px}kbd{background:var(--surface);border:1px solid var(--border);border-bottom-width:2px;border-radius:6px;padding:0 5px;font-size:11px;color:var(--muted)}svg.lucide{flex-shrink:0}@media (hover: hover){::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--n300);border-radius:6px}.dark ::-webkit-scrollbar-thumb{background:var(--n700)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.app{display:grid;grid-template-columns:240px 1fr;min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:var(--n50);border-right:1px solid color-mix(in srgb,var(--border) 70%,transparent);padding:0 12px 12px;display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.dark .sidebar{background:var(--n950);border-right-color:var(--n800)}.brand{display:flex;align-items:center;gap:12px;height:80px;padding:0 8px;flex-shrink:0}.brand-logo{width:40px;height:40px;border-radius:12px;flex-shrink:0;background:linear-gradient(145deg,#35a7ff,#0673d8);display:grid;place-items:center;color:#fff;box-shadow:0 6px 16px -6px #0784f699}.brand-name{font-size:18px;font-weight:600;letter-spacing:-.02em;line-height:1}.brand-sub{display:inline-block;margin-top:5px;background:var(--n200);color:var(--n500);font-size:9px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:2px 6px;border-radius:4px;line-height:1.2}.dark .brand-sub{background:var(--n800);color:var(--n400)}.nav{display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto;padding-top:4px}.nav-section{font-size:11px;font-weight:600;color:var(--faint);text-transform:uppercase;letter-spacing:.06em;padding:14px 12px 6px}.nav-link{position:relative;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;color:var(--n600);font-size:13.5px;font-weight:500;transition:background .15s,color .15s}.dark .nav-link{color:var(--n400)}.nav-link svg{width:17px;height:17px;color:var(--n400);transition:color .15s}.nav-link:hover{background:color-mix(in srgb,var(--n200) 60%,transparent);color:var(--text)}.dark .nav-link:hover{background:var(--n800)}.nav-link:hover svg{color:var(--n600)}.nav-link.active{background:var(--surface);color:var(--accent-strong);box-shadow:0 1px 2px #0000000f,0 1px 1px #00000008}.dark .nav-link.active{background:var(--n800);color:var(--accent-strong);box-shadow:none}.nav-link.active svg{color:var(--accent)}.nav-link.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:2px;height:20px;border-radius:0 3px 3px 0;background:var(--accent)}.nav-link .chev{margin-left:auto;width:12px;height:12px;color:var(--accent)}.nav-badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:11px;font-weight:600;border-radius:99px;font-variant-numeric:tabular-nums}.sidebar-foot{padding:14px 8px 4px;border-top:1px solid color-mix(in srgb,var(--border) 70%,transparent)}.level-line{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:6px;font-weight:500}.main{min-width:0}.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:10px;padding:calc(10px + var(--safe-top)) 32px 10px;background:var(--glass);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--hairline)}.topbar .spacer{flex:1}.topbar-title{display:none;font-weight:600;font-size:17px;letter-spacing:-.02em}.chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:99px;background:var(--surface);box-shadow:var(--card-shadow);font-size:13px;color:var(--muted);white-space:nowrap;font-weight:500;font-variant-numeric:tabular-nums}.chip svg{width:15px;height:15px}.chip strong{color:var(--text);font-weight:600}.chip.flame svg{color:var(--flame)}.chip.cert{background:transparent;box-shadow:none;padding:0;color:var(--muted)}.chip.cert strong{color:var(--text)}.icon-btn{width:40px;height:40px;border-radius:12px;border:0;background:transparent;display:inline-grid;place-items:center;color:var(--muted);transition:background .15s,color .15s}.icon-btn:hover{background:var(--surface-3);color:var(--text)}.icon-btn svg{width:19px;height:19px}.page{padding:28px 32px 48px;max-width:1200px;margin:0 auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}.page-head .eyebrow{font-size:12px;font-weight:500;color:var(--muted);margin-bottom:8px}.page-head p{color:var(--muted);margin-top:6px;font-size:14px;max-width:680px}.card{background:var(--surface);border-radius:var(--radius-card);box-shadow:var(--card-shadow);padding:20px;transition:box-shadow .2s ease,transform .2s ease}.card.tight{padding:14px 16px;border-radius:var(--radius)}.card.flat{box-shadow:none;background:var(--surface-2)}.card.inset{box-shadow:none;background:var(--surface-2);border-radius:var(--radius);padding:14px 16px}.card.flush{padding:0;overflow:hidden}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--hairline)}.card-body{padding:20px}@media (hover: hover){.card.hover:hover,.mode-card:hover,.ch-card:hover{box-shadow:var(--card-shadow-hover);transform:translateY(-1px)}}.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.card-title h2,.card-title h3,.h-icon{display:flex;align-items:center;gap:8px}.card-title h2 svg,.h-icon svg{width:17px;height:17px;color:var(--faint)}.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.span2{grid-column:span 2}.row{display:flex;align-items:center;gap:10px}.row.wrap{flex-wrap:wrap}.col{display:flex;flex-direction:column;gap:10px}.between{justify-content:space-between}.muted{color:var(--muted)}.faint{color:var(--faint)}.small{font-size:13px}.tiny{font-size:12px}.bold{font-weight:600}.num{font-variant-numeric:tabular-nums}.mt{margin-top:16px}.mt-s{margin-top:8px}.mb{margin-bottom:16px}.center{text-align:center}.ok{color:var(--ok-text)}.bad{color:var(--bad-text)}.accent{color:var(--accent)}.eyebrow-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}.tile{width:40px;height:40px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;background:var(--surface-3);color:var(--n500)}.tile svg{width:20px;height:20px}.tile.sm{width:32px;height:32px;border-radius:10px}.tile.sm svg{width:16px;height:16px}.tile.lg{width:52px;height:52px;border-radius:16px}.tile.lg svg{width:26px;height:26px}.tile.blue{background:var(--accent-soft);color:var(--accent)}.tile.green{background:var(--ok-soft);color:var(--ok)}.tile.red{background:var(--bad-soft);color:var(--bad)}.tile.orange{background:var(--warn-soft);color:var(--flame)}.tile.purple{background:#af52de1f;color:#af52de}.tile.solid{background:var(--accent);color:#fff}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border-radius:var(--radius-sm);border:0;background:var(--surface-3);color:var(--text);font-weight:500;font-size:14px;line-height:1.2;transition:background .15s,color .15s,transform .1s,box-shadow .15s;white-space:nowrap;text-align:center}.btn svg{width:16px;height:16px}.btn:hover{background:var(--n200)}.dark .btn:hover{background:var(--n700)}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--accent);color:#fff;box-shadow:0 1px 2px #0784f640}.dark .btn.primary{background:#0784f6}.btn.primary:hover{background:var(--accent-hover)}.dark .btn.primary:hover{background:#0673d8}.btn.outline{background:transparent;box-shadow:inset 0 0 0 1px var(--border)}.btn.outline:hover{background:var(--surface-2)}.btn.ghost{background:transparent;color:var(--muted)}.btn.ghost:hover{background:var(--surface-3);color:var(--text)}.btn.danger{color:var(--bad-text)}.btn.danger-solid{background:var(--bad);color:#fff}.btn.sm{min-height:34px;padding:0 12px;font-size:13px;border-radius:10px}.btn.lg{min-height:50px;padding:0 24px;font-size:15px;border-radius:14px;font-weight:600}.btn.block{width:100%}.btn.pill{border-radius:99px}.link-pill{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--accent);background:var(--accent-soft);padding:6px 12px;border-radius:99px;border:0;transition:background .15s,transform .1s}.link-pill:hover{background:var(--accent-soft-2)}.link-pill:active{transform:scale(.96)}.link-pill svg{width:12px;height:12px}.input,select.input,textarea.input{width:100%;min-height:44px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px;outline:none;font-size:14px;transition:border-color .15s,box-shadow .15s}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft-2)}select.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238e8e99' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}textarea.input{resize:vertical;min-height:88px}label.field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted);font-weight:500}input[type=checkbox]{accent-color:var(--accent)}input[type=range]{accent-color:var(--accent);width:100%}.seg{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;background:var(--surface-3);border-radius:12px}.seg button{border:0;background:transparent;color:var(--muted);min-height:32px;padding:0 14px;border-radius:9px;font-size:13px;font-weight:500;display:inline-flex;align-items:center;gap:6px;transition:background .15s,color .15s,box-shadow .15s}.seg button svg{width:14px;height:14px}.seg button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000014,0 1px 1px #0000000a}.dark .seg button.on{background:var(--n700)}.tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:16px;font-weight:500;padding:4px 10px;border-radius:8px;background:var(--surface-3);color:var(--n600);white-space:nowrap}.dark .tag{color:var(--n300)}.tag svg{width:12px;height:12px}.tag.blue{background:var(--accent-soft);color:var(--accent-strong)}.tag.green{background:var(--ok-soft);color:var(--ok-text)}.tag.red{background:var(--bad-soft);color:var(--bad-text)}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.bar{height:8px;background:var(--surface-3);border-radius:99px;overflow:hidden}.bar>span{display:block;height:100%;border-radius:99px;transition:width .6s cubic-bezier(.2,.8,.2,1)}.bar.thin{height:5px}.stat{display:flex;align-items:center;gap:14px}.stat-num{font-size:28px;font-weight:600;letter-spacing:-.025em;line-height:1.1;font-variant-numeric:tabular-nums}.stat-label{font-size:13px;color:var(--muted);font-weight:500}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 20px;color:var(--muted);font-size:14px}.empty .tile{margin-bottom:14px;border-radius:99px;width:48px;height:48px}.empty h3{color:var(--text);margin-bottom:4px}.table-wrap{overflow-x:auto;margin:0 -4px}table.table{width:100%;border-collapse:collapse;font-size:14px}.table th{text-align:left;font-weight:500;color:var(--faint);font-size:12px;padding:8px 12px;border-bottom:1px solid var(--hairline);white-space:nowrap}.table td{padding:12px;border-bottom:1px solid var(--hairline);font-variant-numeric:tabular-nums}.table tr:last-child td{border-bottom:0}.table tr.click{cursor:pointer}.table tr.click:hover td{background:var(--surface-2)}.list{display:flex;flex-direction:column}.list-item{display:flex;align-items:center;gap:14px;padding:14px 20px;transition:background .15s}.list-item+.list-item{border-top:1px solid var(--hairline)}a.list-item:hover,button.list-item:hover{background:var(--surface-2)}button.list-item{width:100%;border:0;background:transparent;text-align:left}.list-item .grow{flex:1;min-width:0}.hero{display:grid;grid-template-columns:1.45fr 1fr;gap:16px}.countdown{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.countdown .n{font-size:64px;font-weight:600;letter-spacing:-.04em;line-height:.95;font-variant-numeric:tabular-nums;background:linear-gradient(180deg,var(--accent),var(--accent-strong));-webkit-background-clip:text;background-clip:text;color:transparent}.goal{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:var(--radius);background:var(--surface-2);transition:background .15s}.goal.done{background:var(--ok-soft)}.goal .grow{flex:1;min-width:0}.goal .title{font-weight:600;font-size:14px}.ring{position:relative;display:inline-grid;place-items:center}.ring svg{transform:rotate(-90deg)}.ring .label{position:absolute;text-align:center}.ring .label .v{font-size:30px;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.ring .label .l{font-size:12px;color:var(--muted);font-weight:500}.domain-row{display:grid;grid-template-columns:1fr 56px;gap:6px 14px;align-items:center;padding:12px 0}.domain-row+.domain-row{border-top:1px solid var(--hairline)}.q-wrap{max-width:820px;margin:0 auto}.q-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:16px}.q-stem{font-size:17px;line-height:1.6;letter-spacing:-.01em;margin-bottom:6px;white-space:pre-wrap}.q-hint{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--accent);margin:4px 0 14px;font-weight:600}.q-hint svg{width:14px;height:14px}.options{display:flex;flex-direction:column;gap:10px}.option{display:flex;align-items:flex-start;gap:14px;text-align:left;width:100%;min-height:52px;background:var(--surface-2);border:1.5px solid transparent;border-radius:var(--radius);padding:13px 14px;font-size:15px;line-height:1.5;transition:border-color .15s,background .15s,transform .1s}.option:hover:not(:disabled){background:var(--surface-3)}.option:active:not(:disabled){transform:scale(.995)}.option.sel{border-color:var(--accent);background:var(--accent-soft)}.option.right{border-color:var(--ok);background:var(--ok-soft)}.option.wrong{border-color:var(--bad);background:var(--bad-soft)}.option:disabled{cursor:default}.option .key{flex:none;width:28px;height:28px;border-radius:99px;display:grid;place-items:center;font-weight:600;font-size:13px;background:var(--surface);color:var(--muted);box-shadow:inset 0 0 0 1.5px var(--border)}.option .key svg{width:15px;height:15px}.option.multi .key{border-radius:8px}.option.sel .key{background:var(--accent);color:#fff;box-shadow:none}.option.right .key{background:var(--ok);color:#fff;box-shadow:none}.option.wrong .key{background:var(--bad);color:#fff;box-shadow:none}.explain{margin-top:16px;padding:16px 18px;border-radius:var(--radius);background:var(--accent-soft);line-height:1.6;font-size:14.5px}.explain.ok{background:var(--ok-soft)}.explain.bad{background:var(--bad-soft)}.explain .head{display:flex;align-items:center;gap:6px;font-weight:600;margin-bottom:4px}.explain.ok .head{color:var(--ok-text)}.explain.bad .head{color:var(--bad-text)}.explain .head svg{width:17px;height:17px}.q-actions{display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:10px;flex-wrap:wrap}.q-foot-sticky{display:none}.exam{display:grid;grid-template-columns:1fr 280px;gap:20px;align-items:start}.exam-side{position:sticky;top:calc(76px + var(--safe-top))}.timer{font-size:34px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.timer.low{color:var(--bad)}.qgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.qgrid button{aspect-ratio:1;border-radius:10px;border:0;background:var(--surface-2);color:var(--faint);font-size:12px;font-weight:600;position:relative;font-variant-numeric:tabular-nums;transition:background .15s}.qgrid button:hover{background:var(--surface-3)}.qgrid button.ans{background:var(--accent-soft);color:var(--accent-strong)}.qgrid button.cur{box-shadow:0 0 0 2px var(--accent)}.qgrid button.flag:after{content:"";position:absolute;top:4px;right:4px;width:6px;height:6px;border-radius:50%;background:var(--flame)}.qgrid button.right{background:var(--ok-soft);color:var(--ok-text)}.qgrid button.wrong{background:var(--bad-soft);color:var(--bad-text)}.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.legend span{display:inline-flex;align-items:center;gap:6px}.legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.result-hero{text-align:center;padding:32px 20px;display:flex;flex-direction:column;align-items:center}.result-score{font-size:72px;font-weight:600;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:99px;font-weight:600;font-size:13px;font-variant-numeric:tabular-nums}.pill svg{width:14px;height:14px}.pill.ok{background:var(--ok-soft);color:var(--ok-text)}.pill.bad{background:var(--bad-soft);color:var(--bad-text)}.pill.blue{background:var(--accent-soft);color:var(--accent-strong)}.mode-card{display:flex;flex-direction:column;gap:12px;cursor:pointer}.mode-card p{flex:1}.flash-stage{perspective:1600px;max-width:680px;margin:0 auto}.flash{position:relative;min-height:340px;cursor:pointer;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.8,.2,1)}.flash.flipped{transform:rotateY(180deg)}.flash-face{position:absolute;top:0;right:0;bottom:0;left:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:28px;background:var(--surface);box-shadow:0 2px 8px #00000008,0 30px 60px -30px #00000040;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 36px;text-align:center}.dark .flash-face{box-shadow:0 2px 8px #0003,0 30px 60px -30px #000000b3}.flash-face.back{transform:rotateY(180deg);background:linear-gradient(180deg,var(--surface),var(--surface-2))}.flash-face .txt{font-size:22px;font-weight:600;letter-spacing:-.02em;line-height:1.4}.flash-face.back .txt{font-size:17px;font-weight:400;line-height:1.65;letter-spacing:-.005em}.flash-face .corner{position:absolute;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;gap:8px}.flash-face .foot{position:absolute;bottom:18px;font-size:12px;color:var(--faint);display:flex;align-items:center;gap:6px}.grades{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:680px;margin:20px auto 0}.grade{flex-direction:column;gap:2px;min-height:60px;background:var(--surface);box-shadow:var(--card-shadow)}.grade .iv{font-size:11px;color:var(--faint);font-weight:500}.grade.g0 span:first-child{color:var(--bad-text)}.grade.g1 span:first-child{color:#b45309}.dark .grade.g1 span:first-child{color:var(--warn)}.grade.g2 span:first-child{color:var(--ok-text)}.grade.g3 span:first-child{color:var(--accent)}.grade:hover{background:var(--surface-2)}.ch-card{display:flex;flex-direction:column;gap:12px;cursor:pointer}.ch-card.done{box-shadow:var(--card-shadow),inset 0 0 0 1.5px color-mix(in srgb,var(--ok) 45%,transparent)}.step{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s;font-size:14.5px}.step:hover{background:var(--surface-2)}.step input{margin-top:3px;width:18px;height:18px;flex:none}.step.checked span{color:var(--faint);text-decoration:line-through}.heatmap{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,13px);gap:3px;overflow-x:auto;padding-bottom:4px}.heatmap div{width:13px;height:13px;border-radius:3.5px;background:var(--surface-3)}.badge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.badge{padding:16px 12px;border-radius:var(--radius);background:var(--surface-2);text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}.badge .tile{margin-bottom:6px}.badge.locked{opacity:.45}.badge.locked .tile{background:var(--surface-3);color:var(--faint)}.week{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:18px 20px;border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--card-shadow)}.week.current{box-shadow:var(--card-shadow),inset 0 0 0 2px var(--accent)}.week.past{opacity:.5}.week ul{margin:10px 0 0;padding-left:18px;color:var(--muted);font-size:14px}.week li{margin:4px 0}.toasts{position:fixed;right:20px;bottom:calc(20px + var(--safe-bottom));display:flex;flex-direction:column;gap:10px;z-index:200}.toast{display:flex;gap:12px;align-items:center;min-width:280px;background:var(--glass);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-radius:18px;padding:12px 16px 12px 12px;box-shadow:0 8px 40px -8px #00000038,0 0 0 1px var(--hairline);animation:pop .45s cubic-bezier(.2,.9,.3,1.2)}@keyframes pop{0%{transform:translateY(16px) scale(.96);opacity:0}to{transform:none;opacity:1}}.kbd-hints{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:16px;font-size:12px;color:var(--faint)}.fade-in{animation:fade .35s ease both}@keyframes fade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.tabbar{display:none}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000052;z-index:90;animation:fadeOnly .2s ease}@keyframes fadeOnly{0%{opacity:0}to{opacity:1}}.sheet{position:fixed;left:0;right:0;bottom:0;z-index:100;background:var(--surface);border-radius:24px 24px 0 0;padding:8px 12px calc(16px + var(--safe-bottom));box-shadow:0 -10px 40px #0000002e;animation:sheetUp .32s cubic-bezier(.2,.8,.2,1);max-height:85dvh;overflow-y:auto}@keyframes sheetUp{0%{transform:translateY(100%)}to{transform:none}}.sheet-grabber{width:36px;height:5px;border-radius:99px;background:var(--n300);margin:4px auto 12px}.dark .sheet-grabber{background:var(--n700)}.sheet .list-item{border-radius:14px;padding:12px;font-weight:500}.sheet .list-item+.list-item{border-top:0}@media (max-width: 1080px){.g4,.g3{grid-template-columns:repeat(2,minmax(0,1fr))}.hero,.exam{grid-template-columns:1fr}.exam-side{position:static}}@media (max-width: 860px){.app{grid-template-columns:1fr}.sidebar{display:none}.topbar{padding:calc(8px + var(--safe-top)) calc(16px + var(--safe-right)) 8px calc(16px + var(--safe-left))}.topbar-title{display:block}.chip.cert,.chip.hide-m{display:none}.page{padding:18px calc(16px + var(--safe-right)) calc(var(--tabbar-h) + var(--safe-bottom) + 28px) calc(16px + var(--safe-left))}.page-head{margin-bottom:18px}.page-head p{font-size:13.5px}.g2,.g3,.g4{grid-template-columns:1fr}.g4.keep2,.g3.keep2,.g2.keep2{grid-template-columns:repeat(2,minmax(0,1fr))}.span2{grid-column:auto}.card{padding:16px;border-radius:18px}.grades{grid-template-columns:repeat(4,1fr);gap:8px}.grade{min-height:56px;padding:0 4px;font-size:13px}.grade .iv{font-size:10.5px}.week{grid-template-columns:1fr;gap:8px}.flash{min-height:300px}.flash-face{padding:52px 22px;border-radius:24px}.flash-face .txt{font-size:19px}.flash-face.back .txt{font-size:15.5px}.countdown .n{font-size:52px}.result-score{font-size:60px}.q-stem{font-size:16px}.option{font-size:14.5px}.kbd-hints,.kbd-only{display:none}.qgrid{grid-template-columns:repeat(auto-fill,minmax(38px,1fr))}.toasts{left:12px;right:12px;bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 12px)}.toast{min-width:0}.input,select.input,textarea.input{font-size:16px}.tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:40;padding:6px calc(8px + var(--safe-right)) calc(6px + var(--safe-bottom)) calc(8px + var(--safe-left));background:var(--glass);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-top:1px solid var(--hairline)}.tabbar a,.tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;border:0;background:transparent;position:relative;font-size:10.5px;font-weight:500;color:var(--faint);letter-spacing:.01em}.tabbar svg{width:23px;height:23px}.tabbar .active{color:var(--accent)}.tabbar .tab-badge{position:absolute;top:2px;left:calc(50% + 6px);min-width:17px;height:17px;padding:0 5px;border-radius:99px;background:var(--bad);color:#fff;font-size:10px;font-weight:600;display:grid;place-items:center}}@media (max-width: 380px){.grades{grid-template-columns:repeat(2,1fr)}.chip{padding:0 10px}}@media (display-mode: standalone){body{-webkit-user-select:none;user-select:none}input,textarea,.q-stem,.explain,.flash-face .txt,.option span{-webkit-user-select:text;user-select:text}}.dropdown{position:relative;min-width:0}.dropdown-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;padding:8px 14px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:14px;text-align:left;transition:background .15s,border-color .15s,box-shadow .15s}.dropdown-trigger:hover:not(:disabled){background:var(--surface-2)}.dropdown-trigger[aria-expanded=true]{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft-2)}.dropdown-trigger:disabled{opacity:.5;cursor:not-allowed}.dropdown-trigger.compact{width:auto;min-height:40px}.dropdown-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-value.placeholder{color:var(--faint)}.dropdown-chev{width:16px;height:16px;opacity:.5;transition:transform .2s}.dropdown-chev.open{transform:rotate(180deg)}.dropdown-panel{position:fixed;z-index:1000;margin:0;inset:auto;display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid rgba(0,0,0,.05);border-radius:16px;background:#fffffff2;color:var(--text);box-shadow:0 8px 40px -8px #00000038;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);font-family:var(--font);animation:dropdown-enter .12s ease-out}.dark .dropdown-panel{border-color:#ffffff1a;background:#1c1c21f2}@keyframes dropdown-enter{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}.dropdown-search{flex-shrink:0;padding:8px 8px 4px}.dropdown-search>svg{position:absolute;margin:12px 0 0 12px;width:16px;height:16px;color:var(--faint)}.dropdown-search input{width:100%;min-height:40px;border:0;outline:none;border-radius:12px;background:var(--surface-3);padding:8px 12px 8px 36px;font-size:14px}.dropdown-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px}.dropdown-group{padding:12px 12px 4px;font-size:12px;font-weight:500;color:var(--muted)}.dropdown-option{display:flex;align-items:center;gap:16px;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:12px;background:transparent;font-size:14px;line-height:1.35;text-align:left;color:var(--text);transition:background .1s}.dropdown-option.active{background:var(--surface-3)}.dark .dropdown-option.active{background:var(--n800)}.dropdown-option:disabled{opacity:.4;pointer-events:none}.dropdown-label{flex:1;min-width:0;overflow-wrap:anywhere}.dropdown-hint{display:block;font-size:12px;color:var(--faint);margin-top:1px}.dropdown-check{width:16px;height:16px;color:var(--accent)}.dropdown-check.invisible{visibility:hidden}.dropdown-empty{padding:24px 12px;text-align:center;font-size:14px;color:var(--muted)}.field .dropdown-trigger{color:var(--text)}.login{min-height:100dvh;display:grid;place-items:center;padding:calc(24px + var(--safe-top)) 16px calc(24px + var(--safe-bottom));background:radial-gradient(900px 500px at 10% -10%,rgba(7,132,246,.16),transparent 60%),radial-gradient(700px 400px at 110% 110%,rgba(175,82,222,.12),transparent 60%),var(--bg)}.login-card{width:100%;max-width:400px;background:var(--surface);border-radius:28px;padding:32px 28px;box-shadow:0 2px 8px #00000008,0 40px 80px -40px #0000004d}.input-icon{position:relative}.input-icon>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:var(--faint);pointer-events:none}.input-icon .input{padding-left:42px}.input-icon .input-action{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:var(--faint);display:grid;place-items:center}.input-icon .input-action:hover{background:var(--surface-3);color:var(--text)}.input-icon .input-action svg{width:17px;height:17px}.form-error{background:var(--bad-soft);color:var(--bad-text);border-radius:12px;padding:10px 14px;font-size:13.5px;line-height:1.5}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sync-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.cap:first-letter{text-transform:uppercase}.google-btn{background:var(--surface);box-shadow:inset 0 0 0 1px var(--border);font-weight:500}.google-btn:hover{background:var(--surface-2)}.divider{display:flex;align-items:center;gap:12px;margin:18px 0 14px;color:var(--faint);font-size:12px}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--hairline)}.dialog-root{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:calc(12px + var(--safe-top)) 12px calc(12px + var(--safe-bottom))}.dialog-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000080;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:fadeOnly .2s ease}.dialog-panel{position:relative;z-index:1;width:100%;max-width:400px;max-height:calc(100dvh - 24px);overflow-y:auto;background:var(--surface);border-radius:24px;outline:none;padding:24px;box-shadow:0 25px 50px -12px #00000059;animation:dialogIn .2s cubic-bezier(.2,.8,.2,1)}.dark .dialog-panel{box-shadow:0 25px 50px -12px #000000b3}@keyframes dialogIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:none}}.dialog-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:var(--faint);display:grid;place-items:center}.dialog-close:hover{background:var(--surface-3);color:var(--text)}.dialog-close svg{width:18px;height:18px}.dialog-title{font-size:18px;font-weight:600;letter-spacing:-.02em;margin-top:16px;padding-right:28px}.dialog-message{margin-top:6px;font-size:14px;line-height:1.6;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}@media (max-width: 640px){.dialog-actions{flex-direction:column-reverse}.dialog-actions .btn{width:100%;min-height:46px}}.btn.danger-solid:hover{background:#dc2626}
