:root{--teal: #0f766e;--teal-dark: #0b5d57;--teal-bg: #e6f4f2;--orange: #d97a1f;--orange-ink: #9a5a12;--orange-deep: #7a4a12;--orange-bg: #fff4e8;--orange-line: #f3d5b5;--ink: #1b1f2a;--body: #3c4350;--muted: #5b6270;--line: #e6e8ec;--border: #d5d8de;--grey-bg: #f3f4f6;--paper: #fafafb;--white: #ffffff;--red-bg: #fdecec;--red-ink: #a32d2d;--gutter: clamp(16px, 4vw, 48px);--radius: 16px}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;background:var(--white);color:var(--ink)}body{font-family:Nunito,system-ui,-apple-system,Segoe UI,sans-serif;font-weight:500;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}button,input{font-family:inherit}button{cursor:pointer;touch-action:manipulation}h1,h2,h3,p{margin:0}strong{font-weight:800}.teal{color:var(--teal)}.orange{color:var(--orange)}#app{min-height:100dvh;display:flex;flex-direction:column}.screen{height:100dvh;display:flex;flex-direction:column;width:100%;max-width:1400px;margin:0 auto}@media(min-width:1401px){body{background:var(--grey-bg)}.screen{background:var(--white);box-shadow:0 0 0 1px var(--line)}}.top{height:72px;flex:none;padding:0 var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.top-left,.top-right{display:flex;align-items:center;gap:16px;min-width:0}.logo{width:32px;height:32px;border-radius:8px;background:var(--teal);flex:none}.brand{font-size:18px;font-weight:800;letter-spacing:.2px;white-space:nowrap}.top-title{font-size:18px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{font-size:16px;font-weight:700;color:var(--muted);display:flex;align-items:center;gap:24px;white-space:nowrap}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--orange);margin-right:8px}.pill{display:inline-block;font-size:13px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--teal);background:var(--teal-bg);padding:6px 12px;border-radius:999px;white-space:nowrap}.pill.exam{color:var(--orange-deep);background:var(--orange-bg)}.pill.grey{color:var(--muted);background:var(--grey-bg);letter-spacing:0;text-transform:none}.pill.orange{color:var(--orange-deep);background:var(--orange-bg);letter-spacing:0;text-transform:none}.pill.mcq{color:var(--teal-dark);background:var(--teal-bg);letter-spacing:0;text-transform:none}.steps{display:flex;gap:6px}.steps span{width:44px;height:8px;border-radius:4px;background:var(--border)}.steps span.on{background:var(--teal)}.steps.exam span{width:clamp(12px,1.8vw,22px);height:8px;border-radius:4px}.steps.exam span.now{background:var(--ink)}.step-label{font-size:14px;font-weight:700;color:var(--muted);white-space:nowrap}.timer{font-size:16px;font-weight:800;color:var(--muted);font-variant-numeric:tabular-nums}.timer.over{color:var(--orange-ink)}.body{flex:1 1 auto;height:calc(100dvh - 72px);min-height:0;overflow:hidden;padding:clamp(20px,3.5vh,32px) var(--gutter) clamp(20px,3vh,28px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(20px,2.5vw,32px);align-content:stretch;grid-auto-rows:minmax(0,1fr)}.col.scroll-y{overflow-y:auto;min-height:0;padding-right:4px;-webkit-overflow-scrolling:touch}.body.roomy{padding-top:clamp(32px,6vh,56px)}.col{display:flex;flex-direction:column;gap:24px;min-width:0;min-height:0}.col-7{grid-column:span 7}.col-6{grid-column:span 6}.col-5{grid-column:span 5}@media(max-width:760px),(max-height:700px){.screen{height:auto;min-height:100dvh}.body{height:auto;overflow:visible;grid-auto-rows:auto}.col.scroll-y,.scroll{overflow:visible}}@media(max-width:760px){.col-7,.col-6,.col-5{grid-column:span 12}}.eyebrow{font-size:20px;font-weight:700;color:var(--muted);margin-bottom:8px}.h1{font-size:clamp(32px,3.8vw,44px);line-height:1.1;font-weight:800}.section-title{font-size:16px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.question{font-size:clamp(19px,1.9vw,22px);line-height:1.45;font-weight:700}.question.big{font-size:clamp(20px,2.1vw,24px)}.prose{font-size:18px;line-height:1.5;color:var(--body)}.prose strong{color:var(--ink)}.small{font-size:14px;line-height:1.5;color:var(--muted)}.note{padding:18px 20px;border-radius:14px;font-size:15px;line-height:1.5}.note.moe{background:var(--orange-bg);border:1px solid var(--orange-line);color:var(--orange-deep)}.note.grey{background:var(--grey-bg);color:var(--muted)}.note.dashed{border:1px dashed var(--border);color:var(--muted)}.note.ok{background:var(--teal-bg);color:var(--teal-dark)}.note.warn{background:var(--red-bg);color:var(--red-ink)}.card{border:2px solid var(--teal);border-radius:20px;padding:clamp(20px,2.5vw,32px);display:flex;flex-direction:column;gap:16px}.card .title{font-size:clamp(26px,2.8vw,32px);font-weight:800;line-height:1.2}.card .summary{font-size:18px;line-height:1.5;color:var(--body)}.card .facts{display:flex;gap:24px;font-size:16px;font-weight:700;color:var(--muted);flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 24px;border-radius:14px;border:2px solid var(--border);background:var(--white);color:var(--ink);font-size:18px;font-weight:800;text-decoration:none}.btn:disabled{opacity:.45;cursor:not-allowed}@media(hover:hover){.btn:not(:disabled):hover{border-color:var(--ink)}.btn.primary:not(:disabled):hover{background:var(--teal-dark);border-color:var(--teal-dark)}.hint:not(:disabled):hover{border-color:var(--orange)}}:focus-visible{outline:3px solid var(--teal);outline-offset:2px}.btn.primary{background:var(--teal);border-color:var(--teal);color:var(--white);min-height:64px;font-size:20px;border-radius:16px}.btn.primary:not(:disabled):active{background:var(--teal-dark)}.btn.outline-teal{border-color:var(--teal);color:var(--teal)}.btn.outline-orange{border-color:var(--orange);color:var(--orange-ink)}.btn.sm{min-height:56px;font-size:17px;padding:0 22px;border-radius:12px}.btn.xs{min-height:52px;font-size:16px;padding:0 20px;border-radius:12px}.btn.wide{width:260px;max-width:100%}.btn.block{width:100%}.btn.muted{color:var(--muted)}.btn.danger{background:var(--red-ink);color:#fff;border-color:var(--red-ink)}.btn.nowrap{white-space:nowrap}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:12px}.push{margin-top:auto}label.lbl{font-size:18px;font-weight:800}input.answer{height:56px;width:220px;max-width:100%;padding:0 16px;border-radius:12px;border:2px solid var(--ink);font-size:22px;font-weight:700;color:var(--ink);background:var(--white)}input.answer:focus{outline:3px solid var(--teal-bg);border-color:var(--teal)}.model{border-radius:20px;background:var(--grey-bg);padding:clamp(20px,2.5vw,32px);display:flex;flex-direction:column;gap:28px}.model-step{display:flex;flex-direction:column;gap:10px}.model-step.enter{animation:rise .32s ease-out}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.caption{font-size:14px;font-weight:800;color:var(--muted)}.bar-row{display:flex;align-items:center;gap:12px}.bar-name{width:72px;flex:none;font-size:13px;font-weight:800;color:var(--muted);text-align:right}.bar{display:flex;gap:4px;height:56px}.part{flex:1;min-width:0;border-radius:6px;background:var(--white);border:2px solid var(--ink);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;overflow:hidden}.part.teal{background:var(--teal);border-color:var(--teal);color:var(--white)}.part.orange{background:var(--orange);border-color:var(--orange);color:var(--white)}.part.grey{background:var(--border);border-color:var(--border);color:var(--ink)}.notes{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:700;color:var(--muted);flex-wrap:wrap}.answer-line{font-size:17px;font-weight:800;color:var(--teal-dark)}.hint{text-align:left;padding:20px;border-radius:14px;border:2px solid var(--border);background:var(--white);display:flex;flex-direction:column;gap:6px;min-height:44px;width:100%}.hint .lvl{font-size:13px;font-weight:800;color:var(--muted)}.hint .txt{font-size:17px;font-weight:700;color:var(--muted);line-height:1.45}.hint.next{border-color:var(--orange)}.hint.next .lvl{color:var(--orange-ink)}.hint.next .txt{color:var(--ink)}.hint.used{background:var(--orange-bg);border-color:var(--orange-line);cursor:default}.hint.used .lvl{color:var(--orange-ink)}.hint.used .txt{color:var(--ink);font-weight:500}.hint:disabled{opacity:1}.working{flex:1;border-radius:20px;border:2px dashed var(--border);background:var(--paper);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center;min-height:260px;position:relative}.working .icon{width:64px;height:64px;border-radius:16px;background:var(--teal-bg);display:flex;align-items:center;justify-content:center}.working img{max-width:100%;max-height:300px;border-radius:12px;border:1px solid var(--line)}.working input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.tiles{display:flex;gap:16px}.tile{flex:1;padding:24px;border-radius:16px;display:flex;flex-direction:column;gap:6px}.tile .n{font-size:40px;font-weight:800}.tile .t{font-size:15px;font-weight:700;color:var(--body)}.tile.right{background:var(--teal-bg)}.tile.right .n{color:var(--teal)}.tile.again{background:var(--orange-bg)}.tile.again .n{color:var(--orange-ink)}.tile.parent{background:var(--grey-bg)}.tile.parent .n{color:var(--muted)}.again-card{padding:20px 24px;border-radius:16px;border:2px solid var(--orange-line);background:var(--white);display:flex;flex-direction:column;gap:10px}.again-card .head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:800}.again-card .head .q{color:var(--orange-ink)}.again-card .head .h{color:var(--muted)}.again-card .msg{font-size:17px;line-height:1.5}.again-card .btn{align-self:flex-start}.again-card ol{margin:0;padding-left:22px;font-size:15px;line-height:1.6;color:var(--body)}.scroll{overflow-y:auto;min-height:0;flex:1;display:flex;flex-direction:column;gap:16px;padding-right:4px;-webkit-overflow-scrolling:touch}.week{display:flex;flex-direction:column;gap:10px}.day{display:flex;align-items:center;gap:16px;padding:14px 20px;border-radius:14px;background:var(--grey-bg);min-height:56px}.day .d{width:40px;height:40px;border-radius:10px;background:var(--white);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--muted);flex:none}.day.today .d{background:var(--teal);border-color:var(--teal);color:var(--white)}.day .name{flex:1;font-size:17px;font-weight:700;color:var(--muted)}.day.today .name{color:var(--ink)}.day .tag{font-size:14px;font-weight:800;color:var(--teal)}.feedback{min-height:24px;font-size:17px;font-weight:700}.feedback.ok{color:var(--teal-dark)}.feedback.no{color:var(--orange-ink)}.error-screen{padding:48px;display:flex;flex-direction:column;gap:16px}.pin-dots{display:flex;gap:16px;justify-content:center;margin-bottom:8px}.pin-dot{width:18px;height:18px;border-radius:50%;border:2px solid var(--ink);background:var(--white)}.pin-dot.on{background:var(--teal);border-color:var(--teal)}.pin-pad{display:grid;grid-template-columns:repeat(3,88px);gap:12px}.pin-key{min-height:72px;font-size:26px;border-radius:16px}.session-row{display:flex;align-items:center;gap:16px;width:100%;padding:12px 16px;border-radius:14px;border:2px solid var(--line);background:var(--white);text-align:left;min-height:64px}.session-row:hover{border-color:var(--teal)}.session-row .d{width:56px;flex:none;font-size:13px;font-weight:800;color:var(--muted);text-align:center}.session-row .name{font-size:16px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attempt-card{padding:18px 20px;border-radius:16px;border:2px solid var(--line);background:var(--white);display:flex;flex-direction:column;gap:10px}.attempt-card.pending{border-color:var(--orange)}.attempt-card .head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:800}.attempt-card .head .q{color:var(--muted)}.attempt-card .msg{font-size:17px;line-height:1.45;font-weight:700}.attempt-card ol{margin:6px 0 0;padding-left:20px;font-size:14px;line-height:1.5;color:var(--body)}.attempt-card details summary{cursor:pointer}.chip{font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;padding:5px 10px;border-radius:999px;white-space:nowrap}.chip.right{background:var(--teal-bg);color:var(--teal-dark)}.chip.wrong{background:var(--red-bg);color:var(--red-ink)}.chip.pending{background:var(--orange-bg);color:var(--orange-deep)}.ai-box{padding:10px 12px;border-radius:10px;background:var(--grey-bg);display:flex;flex-direction:column;gap:4px}.note-input{flex:1;min-width:220px;min-height:64px;max-height:40vh;padding:10px 12px;border-radius:10px;border:2px solid var(--border);font:inherit;font-size:15px;font-weight:700;line-height:1.4;resize:vertical}.note-input:focus{border-color:var(--teal);outline:none}.page-photo{width:100%;border-radius:12px;border:1px solid var(--line);cursor:zoom-in}.page-photo.zoom{position:fixed;inset:16px;width:auto;height:calc(100% - 32px);object-fit:contain;background:var(--ink);z-index:10;cursor:zoom-out;border-radius:16px}.paper{border:2px dashed var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:12px;background:#fff}.paper-head{display:flex;gap:12px;align-items:center}.paper-head .icon{width:44px;height:44px;border-radius:12px;background:var(--teal-bg);display:grid;place-items:center;flex:none}.diagram{width:100%}.diagram-svg{width:100%;height:auto;display:block}.dg-box rect{fill:var(--white);stroke:var(--border);stroke-width:2}.dg-box text{font-family:Nunito,system-ui,sans-serif;font-weight:800;fill:var(--ink)}.dg-box.teal rect{fill:var(--teal-bg);stroke:var(--teal)}.dg-box.orange rect{fill:var(--orange-bg);stroke:var(--orange)}.dg-box.blue rect{fill:#e3f0fa;stroke:#2b78b5}.dg-box.grey rect{fill:var(--grey-bg);stroke:#9aa1ad;stroke-dasharray:5 4}.dg-line{stroke:var(--teal-dark);stroke-width:2.5}.dg-head{fill:var(--teal-dark)}.dg-label-bg{fill:var(--white);stroke:var(--line)}.dg-label{font-family:Nunito,system-ui,sans-serif;font-size:13px;font-weight:800;fill:var(--teal-dark)}.mark-words{display:flex;flex-direction:column;gap:8px}.mark-words .chips{display:flex;flex-wrap:wrap;gap:6px}.mark-words .chips span{background:var(--white);border:1px solid var(--orange-line);border-radius:999px;padding:4px 10px;font-weight:800;font-size:14px;color:var(--orange-deep)}textarea.answer{width:100%;min-height:120px;max-height:50vh;overflow-y:auto;padding:12px 14px;border-radius:12px;border:2px solid var(--border);font:inherit;font-size:18px;font-weight:700;line-height:1.45;color:var(--ink);resize:vertical}textarea.answer:focus{outline:3px solid var(--teal-bg);border-color:var(--teal)}.pill.science{color:#1f5f93;background:#e3f0fa}.week .day .subj{font-size:12px;font-weight:800;color:var(--muted)}.week .day .subj.science{color:#1f5f93}.rubric{display:flex;flex-direction:column;gap:6px}.rubric label{display:flex;align-items:center;gap:10px;font-weight:700;min-height:44px}.rubric input[type=checkbox]{width:24px;height:24px;accent-color:var(--teal)}.rubric .role{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.figure{width:100%;display:flex;flex-direction:column;align-items:center;gap:4px}.figure-svg{width:100%;height:auto;display:block;overflow:visible}.fg-shape{fill:var(--white);stroke:var(--ink);stroke-width:2;stroke-linejoin:round}.fg-shape.dashed{stroke-dasharray:6 5}.fg-shape.f-none{fill:none}.fg-shape.f-teal{fill:var(--teal-bg);stroke:var(--teal)}.fg-shape.f-orange{fill:var(--orange-bg);stroke:var(--orange)}.fg-shape.f-blue{fill:#e3f0fa;stroke:#2b78b5}.fg-shape.f-grey{fill:var(--grey-bg);stroke:#9aa1ad}polyline.fg-shape{fill:none}.fg-label{font-family:Nunito,system-ui,sans-serif;font-weight:800;fill:var(--ink);paint-order:stroke;stroke:var(--white);stroke-width:4px}.fg-label.sm{font-size:13px}.fg-label.md{font-size:15px}.fg-label.lg{font-size:18px}.fg-label.angle-text{fill:var(--orange-deep)}.fg-angle{fill:none;stroke:var(--orange);stroke-width:2}.fg-title{font-family:Nunito,system-ui,sans-serif;font-size:14px;font-weight:800;fill:var(--ink)}.fg-tick{font-family:Nunito,system-ui,sans-serif;font-size:12px;font-weight:700;fill:var(--muted)}.fg-grid{stroke:var(--line);stroke-width:1}.fg-cell{fill:var(--teal)}.fg-cell.added{fill:var(--orange)}.fg-mirror{stroke:var(--orange-deep);stroke-width:3;stroke-dasharray:8 6}.fg-edge{fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}.fg-edge.hidden{stroke:#8a919c;stroke-width:1.5;stroke-dasharray:5 4}.fg-face{fill:var(--teal-bg);stroke:var(--teal-dark);stroke-width:1.8;stroke-linejoin:round}.fg-axis{stroke:var(--ink);stroke-width:1.5}.fg-bar{fill:var(--teal)}.fg-line{fill:none;stroke:var(--teal);stroke-width:3}.fg-dot{fill:var(--white);stroke:var(--teal);stroke-width:2.5}.fg-note{font-size:13px;font-weight:700;color:var(--muted);font-style:italic}.fg-title-html{font-weight:800;font-size:15px}.fg-table{border-collapse:collapse;font-size:16px;font-weight:700}.fg-table th,.fg-table td{border:1.5px solid var(--border);padding:8px 14px;text-align:center}.fg-table th{background:var(--teal-bg);color:var(--teal-dark)}:root{--st-good: #0ca30c;--st-warn: #fab219;--st-crit: #d03b3b;--series-1: #2a78d6;--series-2: #eb6834}.dash-body{display:block;overflow-y:auto}.dash{display:flex;flex-direction:column;gap:14px;padding-bottom:32px}.dash-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.seg{display:inline-flex;border:2px solid var(--border);border-radius:12px;overflow:hidden}.seg-btn{min-height:52px;padding:0 22px;font-size:17px;border:0;background:var(--white);font-weight:800;color:var(--muted)}.seg-btn.on{background:var(--teal);color:var(--white)}.seg-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:8px;padding:0 6px;border-radius:999px;background:var(--orange);color:var(--white);font-size:13px;font-weight:800}.weak-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.weak-tile{border:2px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;background:var(--white)}.weak-tile.struggling{border-color:var(--st-crit)}.weak-tile.shaky{border-color:var(--st-warn)}.weak-top{display:flex;align-items:center;justify-content:space-between}.badge{font-size:13px;font-weight:800;border-radius:999px;padding:3px 10px}.badge.struggling{background:var(--st-crit);color:#fff}.badge.shaky{background:var(--st-warn);color:#0b0b0b}.badge.secure{background:var(--st-good);color:#fff}.weak-name{font-size:20px;font-weight:800;line-height:1.2}.weak-score .hero{font-size:40px;font-weight:800;line-height:1}.weak-what{font-size:14px;color:var(--body)}.dash-cols{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;align-items:start}.dash-main,.dash-side{display:flex;flex-direction:column;gap:10px;min-width:0}table.heat{border-collapse:separate;border-spacing:2px;width:100%;table-layout:fixed}table.heat th{font-size:12px;font-weight:800;color:var(--muted);text-align:center;padding:2px}table.heat th[scope=row]{text-align:left;width:30%;padding-right:8px}.heat-name{font-size:14px;color:var(--ink);line-height:1.2}table.heat td{padding:0}.heat-cell{width:100%;min-height:44px;border:0;border-radius:6px;font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center;gap:3px}.heat-cell .ic{font-size:14px}.heat-cell.empty{color:var(--border);background:var(--grey-bg);font-size:16px}.heat-cell.secure{background:var(--st-good);color:#fff}.heat-cell.shaky{background:var(--st-warn);color:#0b0b0b}.heat-cell.struggling{background:var(--st-crit);color:#fff}.heat-cell.sel{outline:3px solid var(--ink);outline-offset:1px}.legend{display:flex;flex-wrap:wrap;gap:14px;align-items:center;font-size:13px;font-weight:700;color:var(--body)}.legend-item{display:inline-flex;align-items:center;gap:6px}.swatch{width:22px;height:22px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}.swatch.secure{background:var(--st-good);color:#fff}.swatch.shaky{background:var(--st-warn);color:#0b0b0b}.swatch.struggling{background:var(--st-crit);color:#fff}.key{width:14px;height:14px;border-radius:3px;display:inline-block}.key.s1,.eb.s1{background:var(--series-1)}.key.s2,.eb.s2{background:var(--series-2)}.effort-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;height:120px;align-items:end;border-bottom:1.5px solid var(--border);padding-bottom:2px}.effort-day{display:flex;height:100%;align-items:flex-end}.effort-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;text-align:center;font-size:11px;font-weight:800;color:var(--muted);margin-top:4px}.effort-bars{display:flex;gap:2px;align-items:flex-end;height:100%;width:100%;justify-content:center}.eb{width:9px;border-radius:4px 4px 0 0;min-height:0}.chips-list{display:flex;flex-wrap:wrap;gap:6px}.dash-row .spacer{flex:1}.effort{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.chip-plain{border:1.5px solid var(--border);border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700}.trend-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.trend-card{border:1.5px solid var(--line);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:4px}.trend-head{display:flex;justify-content:space-between;gap:6px;align-items:baseline}.trend-name{font-weight:800;font-size:14px}.dir{font-size:12px;font-weight:800;white-space:nowrap}.dir.better{color:#0b7a0b}.dir.worse{color:#b02f2f}.dir.steady{color:var(--muted)}.spark svg{width:100%;height:auto;display:block}.spark-line{fill:none;stroke:var(--series-1);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.spark-dot{fill:var(--series-1);stroke:var(--white);stroke-width:2}.spark-goal{stroke:var(--line);stroke-width:1;stroke-dasharray:3 3}.cell-detail{border-top:2px solid var(--line);padding-top:10px;display:flex;flex-direction:column;gap:10px}.cell-head{display:flex;align-items:center;gap:8px}.cell-head .btn{margin-left:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}@media(max-width:900px){.weak-row,.dash-cols{grid-template-columns:1fr}}.glance{display:flex;flex-direction:column;gap:10px;padding-bottom:14px;border-bottom:2px solid var(--line)}.glance-summary{display:flex;flex-wrap:wrap;gap:14px;font-size:14px;font-weight:700;color:var(--body)}.glance-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.glance-col{display:flex;flex-direction:column;gap:6px;min-width:0}.glance-subject{font-size:18px;font-weight:800;padding-bottom:2px}.glance-row{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 12px;border:2px solid var(--line);border-radius:12px;background:var(--white);text-align:left;font:inherit;color:var(--ink);cursor:pointer}.glance-row.red{border-color:var(--st-crit);background:var(--red-bg)}.glance-row.amber{border-color:var(--st-warn)}.glance-row.sel{outline:3px solid var(--ink);outline-offset:1px}.glance-text{display:flex;flex-direction:column;min-width:0;flex:1}.glance-name{font-weight:800;font-size:16px;line-height:1.2}.glance-reason{font-size:13px;color:var(--muted);line-height:1.3}.glance-score{font-weight:800;font-size:16px;font-variant-numeric:tabular-nums}.glance-notyet{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-top:4px}.chip-plain.grey{color:var(--muted);background:var(--grey-bg);border-color:var(--grey-bg);font-size:12px;padding:2px 8px}.tdot{flex:none;width:18px;height:18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}.tdot.big{width:26px;height:26px;font-size:14px}.tdot.red{background:var(--st-crit);color:#fff}.tdot.amber{background:var(--st-warn);color:#0b0b0b}.tdot.green{background:var(--st-good);color:#fff}.tdot.grey{background:var(--border);color:var(--muted)}.glance-detail{border:2px solid var(--line);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}.gd-title{font-size:20px}.gd-cols{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px;align-items:start}.gd-main,.gd-side{display:flex;flex-direction:column;gap:8px;min-width:0}.gd-skill{border-left:4px solid var(--line);padding:4px 0 6px 10px;display:flex;flex-direction:column;gap:4px}.gd-skill.red{border-left-color:var(--st-crit)}.gd-skill.amber{border-left-color:var(--st-warn)}.gd-skill.green{border-left-color:var(--st-good)}.gd-skill-head{display:flex;align-items:center;gap:8px}.gd-skill-head .spacer{flex:1}.gd-label{font-size:12px;font-weight:800;color:var(--muted)}.gd-score{font-weight:800}.gd-days{display:flex;flex-wrap:wrap;gap:6px}.gd-day{border:1.5px solid var(--line);border-radius:8px;padding:2px 8px;display:inline-flex;gap:4px;align-items:baseline}.gd-wrong{border:1.5px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:4px}.gd-q{font-size:15px;line-height:1.4;white-space:pre-line}@media(max-width:900px){.glance-cols,.gd-cols{grid-template-columns:1fr}}body.guest:after{content:"Guest mode · nothing is saved";position:fixed;left:16px;bottom:12px;background:#3b3b3b;color:#fff;font-size:13px;font-weight:800;padding:6px 14px;border-radius:999px;pointer-events:none;z-index:50}.guest-pill{background:#3b3b3b;color:#fff}.guest-body{display:flex;flex-direction:column;gap:18px;overflow-y:auto}.guest-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}.guest-units{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;padding-bottom:48px}.guest-unit{border:1.5px solid var(--line);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:10px;background:var(--white)}.guest-unit-name{font-weight:800;font-size:15px}.guest-lessons{display:flex;flex-wrap:wrap;gap:8px}.guest-lessons .btn{min-height:52px}.guest-ticks{margin-top:6px}.linkish{background:none;border:0;padding:8px 0;font:inherit;font-weight:800;color:var(--teal);text-decoration:underline;cursor:pointer}.repeat-sheet{max-width:480px;gap:10px}.repeat-title{font-size:22px}.repeat-row{justify-content:flex-end;gap:10px;margin-top:6px;flex-wrap:wrap}.qnav{display:flex;gap:4px}.qnav-btn{width:40px;height:40px;border-radius:10px;border:2px solid var(--border);background:var(--white);font-weight:800;font-size:15px;color:var(--muted);padding:0}.qnav-btn.done{background:var(--teal);border-color:var(--teal);color:var(--white)}.qnav-btn.now{outline:3px solid var(--ink);outline-offset:1px}.review-list{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.review-item{display:flex;align-items:center;gap:10px;min-width:0;min-height:52px;padding:8px 12px;border:2px solid var(--line);border-radius:12px;background:var(--white);text-align:left}.review-item.blank{border-color:var(--orange, #e8833a);background:#fff6ee}.review-q{font-weight:800;min-width:34px}.review-a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.review-item.blank .review-a{color:#a4521a}.review-go{font-size:13px;font-weight:800;color:var(--teal)}.subject-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch}.subject-card{gap:12px;padding:clamp(16px,2vw,24px)}.subject-card .title{font-size:clamp(20px,2.1vw,24px)}.subject-card .summary{font-size:15px;flex:1}.subject-card.science{border-color:#1f5f93}.subject-card.done{opacity:.9}.subject-name{font-size:20px;font-weight:800}.subject-card .facts{display:flex;flex-direction:column;gap:2px;font-size:13px}.subject-card .actions-row .btn,.subject-card .row .btn{flex:1}.tag.ok{background:#e3f4e3;color:#0b7a0b}.done-line{display:flex;gap:8px;align-items:baseline}.day.future{opacity:.55}.name.muted{color:var(--muted);font-weight:600}@media(max-width:900px){.subject-cards{grid-template-columns:1fr}}.subject-card .row .btn{white-space:nowrap;font-size:16px;padding-left:10px;padding-right:10px;min-height:52px}.choose-btn{align-self:center}.lesson-done{background:#eef7f5}.paper-note{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:2px dashed var(--teal);border-radius:14px;background:#f3faf8;font-size:17px}.paper-note strong{font-size:20px}.parent-note{border-left:4px solid var(--teal);background:#eef7f5;border-radius:8px;padding:8px 12px;font-size:16px}.notes-body{display:block;overflow-y:auto}.notes-col{max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:14px;padding-bottom:32px}.key-facts{columns:2 340px;column-gap:28px}.kf-section{break-inside:avoid;margin:0 0 16px;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--white)}.kf-head{margin:0 0 8px;font-size:18px;font-weight:800;color:var(--teal-dark, #0b5f58)}.kf-section ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}.kf-section li{font-size:17px;line-height:1.45}.kf-section li strong{font-weight:800;color:var(--ink)}.recall{grid-column:1 / -1;width:100%;max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:16px;padding-top:clamp(16px,4vh,40px)}.recall-lead{font-size:17px;margin:0}.recall-card{border:2px solid var(--teal);border-radius:20px;padding:28px 32px;display:flex;flex-direction:column;gap:18px}.recall-q{font-size:26px;font-weight:800;line-height:1.35}.recall-a{font-size:24px;font-weight:800;color:var(--teal-dark);background:var(--teal-bg);border-radius:14px;padding:14px 18px}.recall-a:first-letter{text-transform:uppercase}.recall-a span{display:block;font-size:17px;font-weight:600;color:var(--body);margin-top:6px}.recall-actions{justify-content:space-between}.notes-overlay{position:fixed;inset:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:60;padding:20px}.notes-sheet{background:var(--white);border-radius:18px;max-width:980px;width:100%;max-height:88vh;overflow-y:auto;padding:18px 20px;display:flex;flex-direction:column;gap:12px}:root{--plum: #6b3fa0;--plum-ink: #5b2d91;--plum-bg: #f1eafa}.pill.english{color:var(--plum-ink);background:var(--plum-bg)}.subject-card.english{border-color:var(--plum)}.week .day .subj.english,.week-strip .s-english{color:var(--plum-ink)}.week-strip .s-science{color:#1f5f93}.week-strip .s-maths{color:var(--teal-dark)}.home-body{display:flex;flex-direction:column;gap:clamp(12px,2vh,18px);overflow-y:auto}.subject-cards.three{grid-template-columns:repeat(3,minmax(0,1fr));flex:1 1 auto}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.week-strip .wd{background:var(--grey-bg);border-radius:12px;padding:8px 10px;min-height:62px;display:flex;flex-direction:column;gap:2px;font-size:13px;font-weight:700;color:var(--muted);min-width:0}.week-strip .wd b{font-weight:800;color:var(--ink)}.week-strip .wd span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.week-strip .wd.today{background:var(--teal-bg);outline:2px solid var(--teal)}.week-strip .wd.future{opacity:.55}@media(max-width:900px){.subject-cards.three{grid-template-columns:1fr}.week-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}.en-lines{display:flex;flex-direction:column;gap:8px}.en-line{font-size:19px;line-height:1.5;font-weight:700;background:var(--white);border-radius:10px;padding:10px 14px}.en-line mark,.given mark{background:var(--teal-bg);color:var(--teal-dark);padding:1px 6px;border-radius:6px;font-weight:800}.en-line del,.given del{color:var(--orange-ink);text-decoration-thickness:2px}.given{border-left:5px solid var(--plum);background:var(--plum-bg);border-radius:10px;padding:14px 18px;font-size:clamp(18px,1.9vw,21px);font-weight:700;line-height:1.5;display:flex;flex-direction:column;gap:4px}.given.letter{font-size:17px;font-weight:500}.given.plain{border-left-color:var(--teal);background:var(--grey-bg);font-size:18px;font-weight:600}.mcq-options{margin:4px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px;font-size:14px}.mcq-options li.right{font-weight:800;color:var(--teal-dark)}.mcq-options li.chosen.wrong{font-weight:800;color:var(--orange-ink)}.frame-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:clamp(18px,1.9vw,21px);font-weight:700}.frame-line input.answer{flex:1;min-width:320px;width:auto;font-size:19px}.passage{border:1.5px solid var(--line);border-radius:16px;padding:18px 22px;background:var(--paper);overflow-y:auto;display:flex;flex-direction:column;gap:12px;min-height:0;-webkit-overflow-scrolling:touch}.passage h3{margin:0;font-size:20px;font-weight:800}.passage p{font-size:18px;line-height:1.6;color:var(--ink)}.passage .pn{font-size:12px;font-weight:800;color:var(--muted);margin-right:8px}.opts{display:flex;flex-direction:column;gap:10px}.opt{display:flex;align-items:center;gap:14px;min-height:56px;padding:8px 16px;border:2px solid var(--border);border-radius:12px;font-size:19px;font-weight:700;background:var(--white);text-align:left;color:var(--ink);width:100%}.opt.on{border-color:var(--teal);background:var(--teal-bg)}.opt .k{width:32px;height:32px;border-radius:50%;border:2px solid var(--border);display:grid;place-items:center;font-weight:800;font-size:15px;flex:none}.opt.on .k{background:var(--teal);border-color:var(--teal);color:var(--white)}.stimulus{border:2px solid var(--ink);border-radius:14px;overflow:hidden;background:var(--white)}.stimulus .st-head{background:var(--ink);color:var(--white);padding:12px 18px}.stimulus .st-head .t{font-size:22px;font-weight:800;letter-spacing:.5px}.stimulus .st-head .s{font-size:15px;font-weight:700;opacity:.85}.stimulus dl{margin:0;padding:12px 18px;display:grid;grid-template-columns:130px 1fr;gap:7px 12px;font-size:16px;line-height:1.4}.stimulus dt{font-weight:800;color:var(--muted)}.stimulus dd{margin:0;font-weight:700}.stimulus .st-foot{border-top:1.5px dashed var(--border);padding:10px 18px;font-size:14px;font-weight:700;color:var(--body)}.task-box{border:2px solid var(--plum);border-radius:14px;padding:14px 18px;display:flex;flex-direction:column;gap:8px;font-size:17px;line-height:1.45}.task-box ul{margin:0;padding-left:20px;display:grid;grid-template-columns:1fr 1fr;gap:2px 24px;font-weight:700}.crit{border:1.5px solid var(--line);border-radius:12px;padding:10px 14px;display:flex;flex-direction:column;gap:6px}.crit-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:800;font-size:16px}.stepper{display:inline-flex;align-items:center;gap:8px;font-weight:800}.stepper button{width:44px;height:44px;border-radius:10px;border:2px solid var(--border);background:var(--white);font-size:20px;font-weight:800}.stepper .v{font-size:22px;min-width:76px;text-align:center}.fb{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}.fb li{font-size:15px;line-height:1.45}.transcript{white-space:pre-wrap;font-size:15px;line-height:1.55;font-weight:500}.writing-fb{border:2px solid var(--plum);border-radius:16px;padding:16px 20px;display:flex;flex-direction:column;gap:10px;background:var(--white)}.writing-fb .wf-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-weight:800;font-size:17px}.writing-fb .wf-mark{font-size:15px;color:var(--plum-ink);white-space:nowrap}.seg-btn.on.english{background:var(--plum)}.subject-card.english .btn.primary{background:var(--plum);border-color:var(--plum)}@media(hover:hover){.subject-card.english .btn.primary:not(:disabled):hover{background:var(--plum-ink);border-color:var(--plum-ink)}}table.heat col.heat-names{width:30%}table.heat th:first-child{text-align:left}.subject-cards.three .summary{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;flex:0 1 auto}.subject-cards.three .facts{margin-top:auto}.busy-wrap{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:14px;background:var(--teal-bg)}.busy{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:800;color:var(--teal-dark)}.busy-time{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:700;color:var(--teal-dark);opacity:.8}.busy-note{font-size:15px;font-weight:600;color:var(--body)}.busy-note:empty{display:none}.spinner{width:26px;height:26px;flex:none;border-radius:50%;border:4px solid rgba(15,118,110,.2);border-top-color:var(--teal);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:3s}}.thumb-sent{opacity:.75}.todo{padding:8px 12px;border-radius:10px;font-size:15px;line-height:1.4}.todo.waiting{background:var(--orange-bg);color:var(--orange-deep);border:1px solid var(--orange-line)}.todo.done{background:var(--grey-bg);color:var(--body)}.title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.from-parent{border:2px solid var(--orange-line);background:var(--orange-bg);border-radius:16px;padding:8px 12px 10px;display:flex;flex-direction:column;gap:6px;flex:none}.fp-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.fp-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.fp-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:var(--orange-deep)}.fp-dot{width:10px;height:10px;border-radius:50%;background:var(--orange)}.fp-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fp-note{display:flex;flex-direction:column;gap:2px;text-align:left;background:var(--white);border:2px solid var(--orange-line);border-left:6px solid var(--teal);border-radius:12px;padding:8px 12px;min-height:56px}.fp-note.science{border-left-color:#1f5f93}.fp-note.english{border-left-color:var(--plum)}.fp-note:hover{border-color:var(--orange)}.fp-where{font-size:13px;font-weight:800;color:var(--muted)}.fp-text{font-size:15px;line-height:1.35;color:var(--body);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fp-open{font-size:14px;font-weight:800;color:var(--teal-dark);white-space:nowrap}.fp-more{border:0;background:none;font-weight:800;color:var(--orange-deep);text-decoration:underline;min-height:48px;padding:0 4px}.past-list{gap:10px}.past-day{margin-top:8px;font-size:14px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}@media(max-width:760px){.fp-notes{grid-template-columns:1fr}}.again-card.noted{gap:8px}.mk-row{cursor:default}.mk-row.fixed{opacity:.75}.mk-q{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mk-dots{display:inline-flex;gap:6px}.mk-dots span{width:14px;height:14px;border-radius:999px;border:2px solid var(--teal);background:var(--white)}.mk-dots span.on{background:var(--teal)}.mk-due{color:var(--orange-ink);font-weight:800}.mk-good{color:var(--teal-dark);font-weight:800}.mk-solution{margin:0;padding-left:22px;font-size:15px;line-height:1.6}.mk-head{display:flex;gap:16px;flex-wrap:wrap}.mk-stat{flex:1;min-width:180px;padding:18px 20px;border-radius:16px;background:var(--grey-bg);display:flex;flex-direction:column;gap:6px}.mk-stat .hero{font-size:40px;font-weight:800;line-height:1}.mk-chart{position:relative;width:100%;max-width:760px}.mk-chart svg{width:100%;height:auto;display:block;touch-action:pan-y}.mk-grid{stroke:var(--line);stroke-width:1}.mk-axis{fill:var(--muted);font-size:12px;font-weight:700}.mk-line{fill:none;stroke:var(--teal);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.mk-area{fill:var(--teal-bg)}.mk-dot{fill:var(--teal);stroke:var(--white);stroke-width:2}.mk-cross{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}.mk-tip{position:absolute;top:0;transform:translate(-50%);background:var(--ink, #111827);color:#fff;font-size:13px;font-weight:800;padding:4px 8px;border-radius:8px;white-space:nowrap;pointer-events:none}.mk-topics{border-collapse:collapse;width:100%;max-width:900px;font-size:15px}.mk-topics th,.mk-topics td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top}.mk-topics thead th{font-size:13px;color:var(--muted)}.mk-card{border-color:var(--line);gap:8px;padding:16px 20px}.mk-retry{padding-left:10px;border-left:3px solid var(--line)}.home-main{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:16px;flex:none;align-items:stretch}.home-body .h1{font-size:clamp(30px,3.2vw,38px)}.home-body .eyebrow{font-size:18px;margin-bottom:4px}.hero-card{gap:12px;padding:clamp(18px,2.2vw,28px);border-width:3px;background:linear-gradient(180deg,#f3faf8,var(--white) 60%)}.hero-card.science{border-color:#1f5f93;background:linear-gradient(180deg,#eef4fa,var(--white) 60%)}.hero-card.english{border-color:var(--plum);background:linear-gradient(180deg,var(--plum-bg),var(--white) 60%)}.hero-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero-label{font-size:15px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--white);background:var(--teal);padding:6px 12px;border-radius:999px}.hero-card.science .hero-label{background:#1f5f93}.hero-card.english .hero-label{background:var(--plum)}.hero-card.all-done .hero-label{align-self:flex-start}.hero-card .title{font-size:clamp(26px,2.6vw,32px)}.hero-card .summary{font-size:17px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hero-card .facts{gap:4px 20px;font-size:15px}.hero-actions{display:flex;gap:12px;margin-top:auto;flex-wrap:wrap}.btn.hero-start{flex:1 1 320px;min-height:80px;font-size:24px;border-radius:18px}.hero-card.science .btn.primary{background:#1f5f93;border-color:#1f5f93}.hero-card.english .btn.primary{background:var(--plum);border-color:var(--plum)}.btn.hero-choose{flex:0 1 auto;min-height:80px;font-size:17px;border-radius:18px;white-space:normal;text-align:center;max-width:240px}.last-time{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700;color:var(--muted)}.home-others{display:flex;flex-direction:column;gap:12px}.other-card{gap:8px;padding:12px 16px;border-radius:16px;flex:1 0 auto;justify-content:center}.other-card.science{border-color:#1f5f93}.other-card.english{border-color:var(--plum)}.other-card.done{background:var(--paper)}.other-head{display:flex;align-items:center;gap:10px;min-width:0}.other-head .subject-name{font-size:18px}.other-unit{margin-left:auto;font-size:13px;font-weight:800;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.other-title{font-size:19px;font-weight:800;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.other-actions{display:flex;gap:10px}.other-actions .btn{flex:1;white-space:nowrap;padding:0 12px}.other-actions .btn.muted{flex:0 0 auto}.btn.solid.maths{background:var(--teal);border-color:var(--teal);color:var(--white)}.btn.solid.science{background:#1f5f93;border-color:#1f5f93;color:var(--white)}.btn.solid.english{background:var(--plum);border-color:var(--plum);color:var(--white)}@media(max-width:900px){.home-main{grid-template-columns:1fr}}.guest-units.scored{grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:14px;align-items:start}.unit-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.unit-count{font-size:13px;font-weight:800;color:var(--muted);white-space:nowrap}.lesson-rows{display:flex;flex-direction:column;gap:8px}.lesson-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:8px 14px;border:2px solid var(--border);border-radius:12px;background:var(--white);text-align:left;color:var(--ink);font-size:17px;font-weight:800}.lesson-row:active{border-color:var(--teal);background:var(--teal-bg)}.lesson-row.lesson-done{background:#f6fbfa}.lesson-row.is-today{border-color:var(--teal)}.lesson-name{min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.today-chip{font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:var(--white);background:var(--teal);padding:3px 8px;border-radius:999px}.lscore{display:inline-flex;align-items:center;gap:8px;flex:none;font-size:14px;font-weight:800;white-space:nowrap}.lscore-bar{width:72px;height:10px;border-radius:5px;background:var(--grey-bg);overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}.lscore-bar>span{display:block;height:100%;border-radius:5px}.lscore.good{color:#0b7a0b}.lscore.good .lscore-bar>span{background:#2e9e4f}.lscore.mid{color:var(--orange-ink)}.lscore.mid .lscore-bar>span{background:var(--orange)}.lscore.low{color:var(--red-ink)}.lscore.low .lscore-bar>span{background:#d04a4a}.lscore.none,.lscore.pending{color:var(--muted);font-weight:700}.ptabs{display:inline-flex;gap:4px;background:var(--grey-bg);border-radius:14px;padding:4px}.ptab{min-height:52px;padding:0 20px;border:0;border-radius:11px;background:transparent;font-size:16px;font-weight:800;color:var(--muted);display:inline-flex;align-items:center;gap:2px;white-space:nowrap}.ptab.on{background:var(--white);color:var(--ink);box-shadow:0 1px 3px #1018281f}.btn.ghost{border-color:transparent;color:var(--muted);padding:0 14px}@media(hover:hover){.ptab:not(.on):hover{color:var(--ink)}.btn.ghost:hover{border-color:var(--border)}}.dash-body{background:var(--paper)}.dash{gap:16px}.panel{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:18px 20px;display:flex;flex-direction:column;gap:14px;min-width:0;box-shadow:0 1px 2px #1018280a}.panel-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:28px}.panel-head .spacer{flex:1}.panel-title{font-size:15px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:var(--muted)}.dash-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;align-items:start}.dash-stack{display:flex;flex-direction:column;gap:16px;min-width:0}.dash-subject-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--border);margin-top:8px}.dash-subject-head .spacer{flex:1}.dash-h2{font-size:22px;font-weight:800}.linkish{border:0;background:none;padding:8px 0;min-height:44px;color:var(--orange-ink);font-weight:800;text-align:right}.glance{display:flex;flex-direction:column;gap:16px;padding:0;border:0}.glance-cols{align-items:stretch;gap:16px}.glance-col{background:var(--paper);border-radius:12px;padding:10px;gap:4px}.glance-subject{display:flex;justify-content:space-between;align-items:baseline;padding:2px 6px 6px;font-size:17px}.glance-row{min-height:56px;border:0;border-left:5px solid var(--border);border-radius:8px;background:var(--white);padding:8px 12px 8px 10px}.glance-row.red{border-left-color:var(--st-crit);background:var(--white)}.glance-row.amber{border-left-color:var(--st-warn)}.glance-row.green{border-left-color:var(--st-good)}.glance-reason{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.glance-notyet{display:block;margin:auto 6px 0;padding-top:8px;line-height:1.45}.glance-how summary{cursor:pointer;font-weight:800;color:var(--body);min-height:32px}.glance-detail{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:18px 20px}.weak-row{gap:16px}.weak-tile{border:1px solid var(--line);border-top:6px solid var(--line);border-radius:12px;padding:14px 16px}.weak-tile.struggling{border-color:var(--line);border-top-color:var(--st-crit)}.weak-tile.shaky{border-color:var(--line);border-top-color:var(--st-warn)}.weak-what{margin-top:auto}.rank{font-weight:800;color:var(--muted)}.trend-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px}.trend-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 118px 80px;align-items:center;gap:12px;min-height:52px;border-bottom:1px solid var(--line)}.trend-name{font-weight:800;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trend-row .spark svg{height:36px}.trend-latest{font-weight:800;font-variant-numeric:tabular-nums}.trend-row .dir{font-size:13px;font-weight:800;text-align:right}.mk-head{gap:16px}.mk-stat{background:var(--white);border:1px solid var(--line)}.mk-pair{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:16px;align-items:start}.mk-card>.btn{align-self:flex-start}.mk-chart,.mk-topics{max-width:none}.mk-group{display:flex;flex-direction:column;gap:10px}.mk-group-head{display:flex;align-items:baseline;gap:10px;padding-top:6px}.mk-group-head .name{font-size:17px;font-weight:800}.mk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.mk-card{border:1px solid var(--line);border-radius:12px;padding:14px 16px;gap:8px;background:var(--white)}@media(max-width:900px){.dash-grid,.mk-pair,.mk-grid,.trend-list{grid-template-columns:1fr}}.dash-body{position:relative}.screen:has(.ptabs){max-width:none;box-shadow:none}.demo-banner{height:34px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 16px;background:#1f2a44;color:#fff;font-size:14px;line-height:1.2;text-align:center;overflow:hidden}.demo-banner strong{background:#f5b301;color:#1f2a44;border-radius:6px;padding:2px 8px;font-size:13px;letter-spacing:.04em;text-transform:uppercase}html.demo #app{min-height:calc(100dvh - 34px)}html.demo .screen{height:calc(100dvh - 34px)}html.demo .body{height:calc(100dvh - 106px)}@media(max-width:760px),(max-height:700px){html.demo .screen{height:auto;min-height:calc(100dvh - 34px)}html.demo .body{height:auto}.demo-banner span{display:none}}.lesson-locked{opacity:.55;cursor:not-allowed;filter:grayscale(1)}.lesson-locked .locked-chip{font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap;margin-left:10px}.demo-note{border:2px dashed #f5b301;background:#fff8e1;border-radius:12px;padding:10px 14px;font-size:15px;line-height:1.4;color:#4a3b00}.demo-pin{font-size:20px;font-weight:800;letter-spacing:.12em}.demo-banner{justify-content:space-between}.demo-banner .demo-text{flex:1;text-align:left}.demo-switch{display:inline-flex;background:#ffffff1f;border-radius:999px;padding:2px;gap:2px}.demo-side{border:0;background:transparent;color:#fff;font:inherit;font-size:13px;font-weight:700;padding:4px 14px;border-radius:999px;cursor:pointer;min-height:28px}.demo-side.on{background:#fff;color:#1f2a44}html.demo-parent .demo-side.on{background:#f5b301;color:#1f2a44}@media(max-width:760px),(max-height:700px){.demo-banner .demo-switch{display:inline-flex}.demo-banner .demo-text{display:none}}.welcome-body{align-content:start;grid-auto-rows:auto;overflow-y:auto}.welcome-head{grid-column:1 / -1;display:flex;flex-direction:column;gap:8px}.welcome-head .h1{margin:0}.welcome-card{border-radius:18px;padding:24px 28px;gap:14px;border:2px solid var(--teal);background:#f6fbfa}.welcome-card.is-parent{border-color:#b7791f;background:#fffaf0}.welcome-card.is-parent .btn.primary{background:#1f2a44;border-color:#1f2a44}.welcome-points{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;font-size:17px;line-height:1.45}
