.shell{--paper: #fbfaf6;--sheet: #ffffff;--text: #1e2a4a;--text-2: #4a5470;--line: #e6e2d8;--line-2: #d9dce6;--accent: #2b4bc4;--accent-deep: #1c338f;--soft: #f3f5fd;--soft-line: #dce2f7;--mark: #ffe27a;--ok: #1f6b49;--warn: #a8461a;--track: #eceef4;position:fixed;top:0;right:0;bottom:0;left:0;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);color:var(--text);font-family:Atkinson Hyperlegible,system-ui,sans-serif;font-size:17px;line-height:1.55}.shell :focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell a{color:var(--accent)}.shell a:hover{color:var(--accent-deep)}.shell h1,.shell h2,.shell h3{font-family:Bricolage Grotesque,system-ui,sans-serif;font-weight:700;letter-spacing:-.015em;line-height:1.15;margin:0}.shell h1{font-size:clamp(2rem,4vw,2.75rem);letter-spacing:-.02em}.shell h2{font-size:1.5rem}.shell h3{font-size:1.25rem}.shell p{margin:0}.shell-wait{background:#fbfaf6}.shell-top{border-bottom:1px solid var(--line);background:var(--paper)}.shell-top-in{max-width:1120px;margin:0 auto;padding:12px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 32px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)!important}.brand span{font-family:Bricolage Grotesque,sans-serif;font-weight:700;font-size:1.35rem}.brand-mark{flex:none;display:block;object-fit:contain}.top-nav{display:flex;gap:24px;flex-wrap:wrap;font-size:1rem}.top-nav a{color:var(--text-2);text-decoration:none;padding:10px 2px;border-bottom:2px solid transparent}.top-nav a:hover{color:var(--text)}.top-nav a[aria-current=page]{color:var(--text);border-bottom-color:var(--accent)}.top-end{margin-left:auto;display:flex;align-items:center;gap:16px;font-size:.95rem;color:var(--text-2)}.shell-main{max-width:1120px;margin:0 auto;padding:40px 24px 64px;display:flex;flex-direction:column;gap:32px}.shell-main.narrow{max-width:720px}.card{background:var(--sheet);border:1px solid var(--line);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:12px}.card.soft{background:var(--soft);border-color:var(--soft-line)}.card-row{display:flex;flex-wrap:wrap;gap:24px}.card-row>*{flex:1 1 340px;min-width:0}.label{font-size:.85rem;font-weight:700;color:var(--text-2);letter-spacing:.02em}.muted{color:var(--text-2)}.p-small{font-size:.9rem}.kareli{background-color:var(--sheet);background-image:linear-gradient(#eef0f6 1px,transparent 1px),linear-gradient(90deg,#eef0f6 1px,transparent 1px);background-size:22px 22px}.fosfor{background:linear-gradient(transparent 55%,var(--mark) 55%);padding:0 2px}.p-note{display:flex;gap:14px;align-items:flex-start;background:var(--sheet);border:1px solid var(--line);border-radius:16px;padding:18px 20px}.p-note .brand-mark{margin-top:3px}.p-note p{font-size:1.15rem;line-height:1.5}.p-note.soft{background:var(--soft);border:0}.p-note.soft p{font-size:1rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border-radius:14px;border:0;background:var(--accent);color:#fff!important;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}.btn:hover{background:var(--accent-deep)}.btn:disabled{opacity:.55;cursor:default}.btn.big{min-height:56px;font-size:1.1rem;padding:0 28px}.btn.ghost{background:var(--sheet);color:var(--text)!important;border:1.5px solid var(--line-2)}.btn.ghost:hover{border-color:var(--accent)}.btn.danger{background:var(--sheet);color:var(--warn)!important;border:1.5px solid #e9c3b0}.btn.danger:hover{border-color:var(--warn)}.btn.p-small{min-height:44px;padding:0 16px;font-size:.95rem}.link-btn{background:none;border:0;padding:8px 0;color:var(--accent);font:inherit;text-decoration:underline;cursor:pointer;min-height:44px}.chip{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid var(--line-2);background:var(--sheet);color:var(--text)!important;text-decoration:none}.chip:hover{border-color:var(--accent);color:var(--accent)!important}.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.form{display:flex;flex-direction:column;gap:18px}.field{display:flex;flex-direction:column;gap:6px}.field>label,.field>span:first-child{font-weight:700;font-size:.95rem}.field input,.field select{min-height:48px;padding:0 14px;border-radius:12px;border:1.5px solid var(--line-2);background:var(--sheet);color:var(--text);font:inherit}.field input:focus,.field select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #2b4bc426}.field .p-hint,.chip-group .p-hint{font-size:.88rem;color:var(--text-2)}.input-wrap{position:relative;display:flex;gap:10px;align-items:center}.input-wrap input{flex:1 1 auto;min-width:0;width:100%}.input-wrap.has-adorn input{padding-right:52px}.input-wrap .btn{flex:none;min-height:48px}.adorn{position:absolute;right:2px;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--text-2);cursor:pointer}.adorn:hover{color:var(--text);background:var(--track)}.field-err{font-size:.88rem;color:#9a3a12}.field input[aria-invalid=true]{border-color:var(--warn)}.field.mono input{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:1.05rem;letter-spacing:.02em}.stepper{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px;font-size:.95rem;color:var(--text-2)}.stepper li{display:flex;align-items:center;gap:8px}.stepper .num{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--line-2);font-weight:700;font-size:.85rem;background:var(--sheet)}.stepper li[aria-current=step]{color:var(--text);font-weight:700}.stepper li[aria-current=step] .num{background:var(--accent);border-color:var(--accent);color:#fff}.stepper li.done .num{background:var(--soft);border-color:var(--soft-line);color:var(--accent)}.shell h1:focus{outline:none}.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px}.p-skel{display:block;height:1.1em;width:min(520px,80%);border-radius:6px;background:linear-gradient(90deg,#eef0f5,#f6f7fa,#eef0f5);background-size:200% 100%;animation:skel 1.2s ease-in-out infinite}@keyframes skel{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.p-skel{animation:none}}.consent-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.consent-list li{display:flex;gap:10px;align-items:baseline}.consent-list li span{width:1.2em;text-align:center;font-weight:700}.consent-list li.yes span{color:var(--ok)}.consent-list li.no{color:var(--text-2)}.chip-group{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:8px}.chip-group.nested{padding-left:16px;border-left:2px solid var(--soft-line)}.chip-group legend{padding:0;font-weight:700;font-size:.95rem;margin-bottom:2px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip-toggle{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line-2);background:var(--sheet);color:var(--text);font:inherit;font-size:.95rem;cursor:pointer}.chip-toggle:hover{border-color:var(--accent)}.chip-toggle[aria-pressed=true]{background:var(--soft);border-color:var(--accent);color:var(--accent-deep);font-weight:700}.about-list{margin:0;display:grid;gap:10px}.about-list div{display:grid;grid-template-columns:minmax(130px,200px) 1fr;gap:4px 16px}.about-list dt{color:var(--text-2)}.about-list dd{margin:0}@media(max-width:560px){.about-list div{grid-template-columns:1fr}}.history-item .p-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.history-day{display:flex;flex-direction:column;gap:12px}.history-filter{max-width:280px}.history-date{font-size:1.05rem!important;color:var(--text-2);font-weight:700}.history-item{padding:20px 24px;gap:8px}.legal h2{font-size:1.15rem;margin-top:10px}.legal ul{margin:0;padding-left:20px;display:grid;gap:6px}.legal pre.license{white-space:pre-wrap;font-size:.8rem;line-height:1.5;background:var(--paper);border:1px solid var(--line);padding:12px;border-radius:8px;overflow-wrap:anywhere}.shell-foot{max-width:1120px;margin:0 auto;padding:0 24px 32px;display:flex;flex-wrap:wrap;gap:8px 20px;font-size:.88rem}.shell-foot a{color:var(--text-2)}.lesson-day{display:grid;gap:2px}.lesson-day+.lesson-day{margin-top:6px}.p-warn{font-size:.92rem;color:#9a3a12;font-weight:700}.check{display:flex;gap:12px;align-items:flex-start;cursor:pointer;padding:12px 14px;border-radius:12px;border:1.5px solid var(--line);background:var(--sheet)}.check input{width:22px;height:22px;margin:2px 0 0;flex:none;accent-color:var(--accent)}.check strong{display:block}.check .muted{font-size:.92rem}.msg{padding:12px 14px;border-radius:12px;font-size:.95rem}.msg.err{background:#fce9df;color:#7a2f0f}.msg.ok{background:#e3f1ea;color:#164d35}.msg.info{background:var(--soft);color:var(--text)}.tabs{display:flex;gap:6px;padding:4px;background:var(--track);border-radius:14px}.tabs button{flex:1;min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--text-2);font:inherit;font-weight:700;cursor:pointer}.tabs button[aria-pressed=true]{background:var(--sheet);color:var(--text);box-shadow:0 1px 3px #1e2a4a1f}.auth{min-height:100%;display:grid;place-items:center;padding:32px 16px}.auth-card{width:100%;max-width:440px;display:flex;flex-direction:column;gap:22px}.auth-card .brand{align-self:center}.auth-card h1{font-size:2rem;text-align:center}.auth-card .lead{text-align:center;color:var(--text-2)}.auth-foot{text-align:center;font-size:.95rem;color:var(--text-2)}.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-width:620px}.day{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 2px;border-radius:12px;background:var(--sheet);border:1px solid var(--line)}.day .d{font-size:.85rem;color:var(--text-2)}.day .dot{width:14px;height:14px;border-radius:50%;border:1.5px solid #c5c9d6}.day.on .dot{background:var(--accent);border-color:var(--accent)}.day .m{font-size:.8rem;color:var(--text-2);min-height:1.2em}.day.today{border-color:var(--accent)}.bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end;height:130px}.p-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%;font-size:.8rem;color:var(--text-2)}.p-bar i{display:block;width:100%;max-width:28px;border-radius:6px 6px 2px 2px;background:var(--accent)}.p-bar i.zero{background:#dadde7}.p-topics{display:flex;flex-direction:column}.p-topic{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:12px 0;border-top:1px solid #efede6}.p-topic:first-child{border-top:0}.p-topic .name{font-weight:700}.p-topic .p-val{text-align:right;font-weight:700}.p-topic .sub{grid-column:1 / -1;font-size:.9rem;color:var(--text-2)}.track{grid-column:1 / -1;height:6px;border-radius:999px;background:var(--track);max-width:420px}.track i{display:block;height:100%;border-radius:inherit;background:var(--accent)}.track i.first{background:#9aaae8}.people{display:flex;flex-direction:column;gap:10px}.person{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.person .p-who{display:flex;flex-direction:column}.student-card{text-decoration:none;color:var(--text)!important;transition:border-color .15s ease}.student-card:hover{border-color:var(--accent)}.student-card .p-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.login-card{border:2px dashed var(--line-2);border-radius:16px;padding:22px;display:grid;gap:10px}.login-card dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 16px}.login-card dt{color:var(--text-2)}.login-card dd{margin:0;font-weight:700;font-family:ui-monospace,SF Mono,Menlo,monospace;overflow-wrap:anywhere}.code-big{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:2rem;font-weight:700;letter-spacing:.12em}.foot-credit{font-size:.85rem;color:var(--text-2)}@media(max-width:560px){.shell-main{padding:24px 16px 48px;gap:24px}.shell-top-in{padding:10px 16px}.card{padding:20px}.top-end .hide-sm{display:none}}@media print{.shell{position:static;overflow:visible}.shell-top,.no-print{display:none!important}}.replay-head{display:flex;flex-direction:column;gap:8px;margin-bottom:-16px}.replay-wrap{display:grid;height:min(76dvh,900px);min-height:360px;border:1px solid var(--line);border-radius:20px;overflow:hidden}.replay-wrap .notebook{box-shadow:none}.notebook.replay .line.tutor .ink,.notebook.replay .answer-ink{animation:none}.pl-head{display:flex;flex-direction:column;gap:8px}.pl-progress{display:flex;align-items:center;gap:14px;margin-bottom:-16px;font-weight:700;font-variant-numeric:tabular-nums}.pl-track{flex:1 1 auto;height:6px;border-radius:999px;background:var(--track);overflow:hidden}.pl-track>span{display:block;height:100%;background:var(--accent);transition:width .3s ease}.replay-wrap.pl-board{height:min(58dvh,640px)}.pl-answer{display:flex;flex-direction:column;gap:16px}.pl-letters{display:flex;flex-wrap:wrap;gap:12px}.pl-letter{width:56px;height:56px;border-radius:50%;border:1.5px solid var(--line-2);background:var(--sheet);color:var(--text);font-family:Bricolage Grotesque,system-ui,sans-serif;font-size:1.25rem;font-weight:700}.pl-letter:hover{border-color:var(--accent)}.pl-letter[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.pl-letter:disabled{opacity:.55;cursor:default}.pl-result{gap:22px}.pl-score{font-size:1.2rem}.pl-areas h2{font-size:1.1rem;margin-bottom:8px}.pl-areas ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.pl-areas li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding-bottom:6px;border-bottom:1px solid var(--line)}@media(prefers-reduced-motion:reduce){.pl-track>span{transition:none}}.subject-group{display:flex;flex-direction:column;gap:8px}.subject-group+.subject-group{margin-top:8px}.pf{display:grid;gap:12px}.pf h2{margin:0;font-size:1.15rem}.pf-scale{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:6px}.pf-pick{min-height:44px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--sheet);color:var(--text);font:inherit;font-weight:700;cursor:pointer}.pf-pick:hover{border-color:var(--accent)}.pf-pick.on{background:var(--accent);border-color:var(--accent);color:#fff}.pf-pick:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.pf-ends{display:flex;justify-content:space-between;margin-top:-6px}.pf-note{display:grid;gap:6px;font-weight:700;font-size:.95rem}.pf-note textarea{resize:vertical;padding:10px 14px;border-radius:12px;border:1.5px solid var(--line-2);background:var(--sheet);color:var(--text);font:inherit;font-weight:400}.pf-note textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #2b4bc426}.pf-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:480px){.pf-scale{grid-template-columns:repeat(6,minmax(0,1fr))}}.shell{--paper: #f5f6f8;--text: #252a36;--text-2: #626875;--line: #e6e9ee;--accent: #425bba;--accent-deep: #2d438d;--soft: #eef1fa;--done: #3f8f6a;--work: #9fb0e6}.shell-dashboard .shell-main{max-width:1440px;padding:36px 44px 48px}.shell-dashboard .shell-foot{max-width:1440px;padding-left:44px}.shell-dashboard .card{border-color:transparent;border-radius:24px;box-shadow:0 3px 16px #252a3603}.shell-dashboard .top-nav a{display:flex;align-items:center;gap:14px}.shell-dashboard .top-nav svg{flex:none}.shell-dashboard .brand-mark{width:36px;height:36px}.shell-dashboard .brand span{font-size:1.65rem;letter-spacing:-.05em}.p-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px 28px;align-items:start}.p-welcome,.p-dashboard>.msg,.p-tools{grid-column:1 / -1}.p-col-main{grid-column:1;min-width:0;display:flex;flex-direction:column;gap:32px}.p-col-side{grid-column:2;min-width:0;display:flex;flex-direction:column;gap:20px}.p-anchor{scroll-margin-top:24px}.p-welcome{display:flex;justify-content:space-between;align-items:baseline;gap:18px}.p-welcome h1{font-size:clamp(1.8rem,2.6vw,2.4rem)}.p-date{color:var(--text-2);font-size:.88rem;white-space:nowrap}.p-section-title,.p-card-title{font-size:1.25rem;letter-spacing:-.02em}.p-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.p-more{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:.9rem;text-decoration:none;font-weight:700}.p-dashboard ul{list-style:none;margin:0;padding:0}.p-dashboard h3.label{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase}.p-next{position:relative;border-radius:28px;background:#e8edfc;padding:30px 32px;display:flex;flex-direction:column;gap:12px}.p-next-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px}.p-next-head .label{font-size:.72rem;letter-spacing:.13em;color:#4b5571}.p-subject-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 14px 6px 8px;border-radius:999px;background:var(--tile);font-size:.88rem;font-weight:700}.p-subject-chip .p-subject-icon{width:24px;height:24px;margin:0}.p-subject-chip .p-subject-icon svg{width:20px;height:20px}.p-next h2{font-size:clamp(1.8rem,2.8vw,2.5rem);letter-spacing:-.035em;line-height:1.12;overflow-wrap:anywhere}.p-next-area{font-weight:700;color:#4b5571;font-size:.95rem;margin-top:-4px}.p-next-reason{color:#3f4864;max-width:60ch}.p-next .actions{margin-top:8px}.p-next .btn.big{min-height:52px;font-size:1rem;padding:0 22px;border-radius:14px}.p-next .btn.ghost{background:#ffffffb3;border-color:#c7cfe9}.p-next-last{margin-top:6px;padding-top:14px;border-top:1px solid #ccd5f1;font-size:.9rem;color:#3f4864}.p-next-last .label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin-right:6px;color:#4b5571}.p-next-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px}.p-skel-title{height:1em;width:min(360px,70%)}.p-skel-block{height:96px;border-radius:14px;background:linear-gradient(90deg,#eef0f5,#f6f7fa,#eef0f5);background-size:200% 100%;animation:p-shimmer 1.4s linear infinite}@keyframes p-shimmer{to{background-position:-200% 0}}.p-quick ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:12px}.p-quick li{min-width:0}.p-quick a{display:flex;align-items:center;gap:12px;height:100%;min-height:64px;padding:12px 14px;border-radius:18px;background:#fff;color:var(--text)!important;text-decoration:none;box-shadow:0 1px 0 var(--line),0 3px 12px #252a3606;transition:box-shadow .15s ease,transform .15s ease}.p-quick a:hover{box-shadow:0 0 0 1.5px var(--accent)}.p-quick-icon{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--soft);color:var(--accent)}.p-quick-text{display:flex;flex-direction:column;min-width:0;line-height:1.25}.p-quick-text strong{font-size:.95rem}.p-quick-text span{font-size:.76rem;color:var(--text-2)}.p-recent{display:flex;flex-direction:column;gap:14px}.p-recent ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.p-recent-card{--tile: #f5d8c6;--symbol: #9a5638;display:flex;align-items:center;gap:12px;min-height:76px;padding:14px 16px;border-radius:18px;background:#fff;color:var(--text)!important;text-decoration:none;box-shadow:inset 4px 0 0 var(--tile),0 3px 12px #252a3606}.p-recent-card:hover{box-shadow:inset 4px 0 0 var(--tile),0 0 0 1.5px var(--accent)}.p-recent-card .p-subject-icon{flex:none;width:40px;height:40px;margin:0;border-radius:12px;background:var(--tile)}.p-recent-card .p-subject-icon svg{width:24px;height:24px}.p-recent-text{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.3}.p-recent-text strong{font-size:.98rem}.p-recent-text span{font-size:.8rem;color:var(--text-2)}.p-recent-go{color:var(--accent);flex:none}.p-subjects{display:flex;flex-direction:column;gap:14px}.p-section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px}.p-section-title:focus{outline:none}.p-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:14px;background:#e9ebf0}.p-tabs button{min-height:44px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--text-2);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}.p-tabs button[aria-selected=true]{background:#fff;color:var(--text);box-shadow:0 1px 4px #252a3614}.p-subject-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,168px),1fr));gap:12px}.p-subject-card{--tile: #f5d8c6;--symbol: #9a5638;display:flex;flex-direction:column;gap:4px;height:100%;min-height:128px;padding:16px;border-radius:20px;background:var(--tile);color:#252a36!important;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}.p-subject-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px #252a3612}.p-tone-coral{--tile: #ffb6ad;--symbol: #a84942}.p-tone-lavender{--tile: #d5c7f5;--symbol: #7150b0}.p-tone-mint{--tile: #bcebd0;--symbol: #2f7a5c}.p-tone-lemon{--tile: #edf29b;--symbol: #686d18}.p-tone-sky{--tile: #b7e5f8;--symbol: #33718e}.p-tone-peach{--tile: #f5d8c6;--symbol: #9a5638}.p-subject-icon{width:36px;height:36px;color:var(--symbol);display:grid;place-items:center;margin-bottom:8px}.p-subject-icon svg{width:32px;height:32px}.p-subject-name{font-family:Bricolage Grotesque,sans-serif;font-size:1.12rem;font-weight:600;letter-spacing:-.02em;line-height:1.2;overflow-wrap:anywhere}.p-subject-status{margin-top:auto;padding-top:6px;font-size:.78rem;color:#2f3440}.p-growth{gap:18px}.p-growth-week,.p-growth-subject{display:flex;flex-direction:column;gap:12px;min-width:0}.p-growth-subject{padding-top:16px;border-top:1px solid var(--line)}.p-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.p-stat{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:2px;padding:12px 14px;border-radius:16px;background:#f6f7fb;min-width:0}.p-stat dt{font-size:.78rem;color:var(--text-2);line-height:1.3}.p-stat dd{margin:0;display:flex;align-items:baseline;gap:5px}.p-stat strong{font-family:Bricolage Grotesque,sans-serif;font-size:1.7rem;letter-spacing:-.03em;line-height:1.1}.p-stat dd span{font-size:.85rem;color:var(--text-2);font-weight:700}.p-growth .week{gap:4px}.p-growth .day{border:0;background:#f6f7fb;padding:10px 0;border-radius:16px}.p-growth .day.today{background:#e8edfc;box-shadow:inset 0 0 0 1px #9aaadd}.p-growth .day .d,.p-growth .day .m{font-size:.68rem}.p-growth .day.on .dot{background:#7085c8;border-color:#7085c8}.p-meter{display:flex;height:8px;border-radius:99px;background:var(--track, #eceef4);overflow:hidden}.p-meter i{display:block;height:100%}.p-meter .done,.p-meter-legend .done{background:var(--done)}.p-meter .work,.p-meter-legend .work{background:var(--work)}.p-meter-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:.78rem;color:var(--text-2)}.p-meter-legend span{display:inline-flex;align-items:center;gap:6px}.p-meter-legend i{width:9px;height:9px;border-radius:3px;background:var(--track, #eceef4);box-shadow:inset 0 0 0 1px #d5d9e2}.p-meter-legend i.done,.p-meter-legend i.work{box-shadow:none}.p-teacher{gap:12px}.p-teacher .p-note{padding:14px 16px}.p-teacher .p-note p{font-size:.95rem;line-height:1.55}.p-teacher .p-clamp{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.p-teacher .link-btn{font-size:.9rem;font-weight:700}.p-guide{gap:10px}.p-guide p{font-size:.92rem}.p-guide .btn{align-self:flex-start}.p-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:24px}@media(min-width:1100px){.shell-dashboard{padding-left:220px}.shell-dashboard .shell-top{position:fixed;top:0;bottom:0;left:0;width:220px;background:#fff;border:0;border-right:1px solid var(--line)}.shell-dashboard .shell-top-in{height:100%;padding:38px 22px 26px;display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:48px}.shell-dashboard .brand{padding:0 12px}.shell-dashboard .top-nav{flex-direction:column;gap:10px;font-size:.95rem}.shell-dashboard .top-nav a{padding:14px;border:0;border-radius:14px}.shell-dashboard .top-nav a[aria-current=page]{background:#e9edfb;color:#354c9b;font-weight:700}.shell-dashboard .top-nav a:hover{background:#f3f5fa}.shell-dashboard .top-end{margin:auto 0 0;padding:18px 12px 0;border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between}}@media(max-width:1350px)and (min-width:1100px){.shell-dashboard .shell-main{padding:28px 28px 40px}.p-dashboard{grid-template-columns:minmax(0,1fr) 300px;gap:20px 22px}}@media(max-width:1099px){.shell-dashboard .shell-main{padding:24px 28px 40px}.shell-dashboard .shell-top-in{gap:12px 24px;padding:16px 28px}.shell-dashboard .top-nav{gap:18px}.p-dashboard{grid-template-columns:minmax(0,1fr) 300px;gap:20px}}@media(max-width:899px){.p-dashboard{display:flex;flex-direction:column;gap:24px}.p-col-main,.p-col-side{display:contents}.p-dashboard>*,.p-col-main>*,.p-col-side>*{width:100%}.p-welcome{order:0}.p-dashboard>.msg{order:1}.p-next{order:2}.p-growth{order:3}.p-quick{order:4}.p-recent{order:5}.p-subjects{order:6}.p-teacher{order:7}.p-guide{order:8}.p-tools{order:9}}@media(min-width:700px)and (max-width:899px){.p-growth{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px}.p-growth .p-card-head{grid-column:1 / -1}.p-growth-subject{padding-top:0;border-top:0;padding-left:28px;border-left:1px solid var(--line)}}@media(max-width:760px){.shell-dashboard .shell-main{padding:22px 16px 36px}.shell-dashboard .shell-top-in{padding:16px 16px 0}.shell-dashboard .top-nav{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap;justify-content:space-between;gap:18px}.shell-dashboard .top-nav a{flex:1;flex-direction:column;font-size:.76rem;gap:5px;padding-bottom:12px;white-space:nowrap}.shell-dashboard .top-nav svg{width:17px}.shell-dashboard .top-end{font-size:.85rem}.p-welcome{flex-direction:column;gap:2px}.p-date{font-size:.8rem}.p-next{padding:22px 20px;border-radius:24px}.p-next .actions>.btn{flex:1 1 100%}.p-quick ul{grid-template-columns:1fr 1fr;gap:10px}.p-quick a{flex-direction:column;align-items:flex-start;gap:8px}.p-subject-grid{grid-template-columns:1fr 1fr;gap:10px}.p-subject-card{min-height:116px;padding:14px}.p-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap}.p-tabs button{white-space:nowrap}.shell-dashboard .shell-foot{padding-left:16px}}@media(prefers-reduced-motion:reduce){.p-subject-card,.p-quick a{transition:none}.p-subject-card:hover{transform:none}.p-skel-block{animation:none}}@media print{.shell-dashboard{padding-left:0}.p-dashboard{display:block}}.up-card{gap:18px}.up-head{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:flex-end;justify-content:space-between}.up-head>div{flex:1 1 360px;display:flex;flex-direction:column;gap:6px;max-width:62ch}.up-subject{flex:0 1 240px}.up-phone{display:flex;flex-wrap:wrap;gap:20px 28px;align-items:center;padding:20px;border-radius:16px;background:var(--soft);border:1px solid var(--soft-line)}.up-qr{flex:0 0 auto;border-radius:12px;border:1px solid var(--line);max-width:100%;height:auto}.up-phone-text{flex:1 1 260px;display:flex;flex-direction:column;gap:10px}.up-phone-text ol{margin:0;padding-left:22px;display:grid;gap:4px}.up-url{overflow-wrap:anywhere;font-size:.82rem!important}.up-wait{display:inline-flex;align-items:center;gap:10px;font-weight:700}.up-spin{flex:0 0 auto;width:18px;height:18px;border-radius:50%;border:2.5px solid var(--soft-line);border-top-color:var(--accent);animation:up-turn .9s linear infinite}@keyframes up-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.up-spin{animation-duration:2.4s}}.up-device,.up-mobile,.up-picker{display:flex;flex-direction:column;gap:14px}.up-tips{margin:0;padding-left:20px;display:grid;gap:2px;color:var(--text-2);font-size:.95rem}.up-pages{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}.up-pages li{position:relative;display:flex;flex-direction:column;gap:6px}.up-pages img{width:100%;aspect-ratio:3 / 4;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:var(--track)}.up-num{position:absolute;top:6px;left:6px;min-width:26px;height:26px;display:grid;place-items:center;border-radius:999px;background:var(--mark);color:var(--text);font-weight:700;font-size:.85rem}.up-tools{display:flex;justify-content:space-between;gap:4px}.up-tools button{flex:1;display:grid;place-items:center;min-height:36px;border-radius:10px;border:1px solid var(--line-2);background:var(--sheet);color:var(--text);cursor:pointer}.up-tools button:disabled{opacity:.4;cursor:default}.up-pick{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center}.up-pick.big{flex-direction:column;align-items:stretch}.up-pick.big .muted{text-align:center}.up-result{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:14px;border:1px solid var(--line);background:var(--sheet)}.up-result.busy{justify-content:flex-start;flex-wrap:nowrap;background:var(--soft);border-color:var(--soft-line)}.up-result.err{background:#fce9df;border-color:#f2cdb9}.up-result>div{flex:1 1 280px;display:flex;flex-direction:column;gap:6px;min-width:0}.up-tally{display:flex;flex-wrap:wrap;gap:6px 14px}.up-tally b.ok{color:var(--ok)}.up-tally b.bad{color:var(--warn)}.up-detail{margin:4px 0 0;display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;font-size:.95rem}.up-detail dt{color:var(--text-2);font-weight:700}.up-detail dd{margin:0}@media(max-width:560px){.up-detail{grid-template-columns:1fr}.up-detail dd{margin-bottom:6px}}.up-recent{display:flex;flex-direction:column;gap:10px}.hw-qs{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:.95rem}.hw-qs li{display:flex;gap:10px;min-width:0}.hw-label{flex:none;min-width:2.2em;color:var(--text-2);font-weight:700}.hw-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root{--night: #121a2e;--night-2: #1a2540;--paper: #f7f8f3;--grid: #d9e2ec;--dot: #c4cdd9;--ink: #1f3b8c;--redpen: #c8322b;--lamp: #ffc56b;--listen: #7fd3ff;--pencil: #5b6270;--on-night: #e9ecf3;--on-night-quiet: #a3adc2;--unit: 28px;--margin-x: calc(var(--unit) * 2.5);font-family:Bricolage Grotesque,system-ui,sans-serif;font-optical-sizing:auto;color:var(--on-night);background:var(--night);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}html,body{overflow:hidden;overscroll-behavior:none}button{font:inherit;cursor:pointer}:focus-visible{outline:2px solid var(--lamp);outline-offset:3px}.room{--frame: #ecede7;--frame-ink: #4a5263;position:fixed;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:var(--frame);color:var(--night)}.room-bar{display:flex;align-items:center;gap:10px;min-width:0;padding:clamp(8px,1.4dvh,14px) clamp(12px,2vw,24px);color:var(--frame-ink)}.bar-brand{flex:none;display:inline-flex;align-items:center;gap:8px;font-size:1.3rem;font-weight:650;letter-spacing:-.02em;color:var(--night)}.bar-brand img{display:block;object-fit:contain}.bar-title{min-width:0;padding-left:12px;border-left:1.5px solid #c9ccd3;font-size:1.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-chip{flex:none;padding:3px 10px;border-radius:999px;background:#121a2e12;font-size:.82rem;font-weight:600}.bar-gap{flex:1 1 auto}.bar-time{flex:none;display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;font-size:.98rem}.bar-btn{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;border:0;background:transparent;color:var(--frame-ink);text-decoration:none}.bar-btn:hover{background:#121a2e12}.bar-pill{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:14px;background:#121a2e14;color:var(--night);font-size:.98rem;font-weight:550}.bar-pill:hover{background:#121a2e21}.room :focus-visible{outline-color:var(--ink)}.stage{position:relative;display:flex;align-items:stretch;gap:12px;min-width:0;min-height:0;padding:0 clamp(12px,2vw,24px)}.stage-main{position:relative;flex:1 1 auto;display:grid;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0}.stage-sheet{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:grid;place-items:center;padding:clamp(12px,3dvh,32px) 12px;border-radius:22px}.phase-ended .stage-sheet{background:#ecede78c;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.phase-start .empty{visibility:hidden}.sheet-card{width:min(100%,520px);max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding:clamp(20px,4dvh,36px) clamp(18px,3vw,32px);border-radius:28px;background:radial-gradient(circle at 50% 42%,rgba(255,197,107,.16),transparent 55%),linear-gradient(180deg,#1c2748 0%,var(--night) 100%);border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 40px -24px #121a2e8c;color:var(--on-night);scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}.page-head{display:grid;gap:2px;margin:0 0 calc(var(--unit) * .75)}.page-kicker{font-size:.72rem;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:#8a909c}.page-head h2{margin:0;font-size:clamp(1.4rem,2.2vw,1.9rem);line-height:1.15;font-weight:600;letter-spacing:-.02em;color:var(--night)}.rail{position:relative;flex:none;display:flex;flex-direction:column;width:46px;padding-top:10px;gap:6px}.rail-list,.rail-tab{position:relative;display:grid;place-items:center;width:46px;height:44px;padding:0;border:1px solid transparent;border-right:0;border-radius:12px 0 0 12px;background:#121a2e0f;color:var(--frame-ink);font-weight:600;font-size:1.02rem;transition:background .15s ease}.rail-list:hover,.rail-tab:hover{background:#121a2e1c}.rail-list.on{background:#121a2e21;color:var(--night)}.rail-tabs{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;min-height:0;overflow-y:auto;scrollbar-width:none}.rail-tab.on{z-index:1;width:59px;margin-right:-13px;background:#fbfbf9;border-color:#e1e3e0;color:var(--night)}.rail-tab.live:after{content:"";position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:50%;background:var(--lamp)}.rail-pop{position:absolute;left:52px;top:0;z-index:6;width:min(320px,72vw);padding:12px;border-radius:16px;background:#fff;border:1px solid #e1e3e0;box-shadow:0 18px 40px -20px #121a2e66}.rail-pop-title{margin:0 0 6px;font-size:.72rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#8a909c}.rail-pop-list,.rail-pop-next{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:2px}.rail-pop-list button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:6px 8px;border:0;border-radius:10px;background:transparent;color:var(--night);text-align:left}.rail-pop-list button:hover,.rail-pop-list button.on{background:#121a2e0f}.rail-pop-list .n{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#121a2e14;font-size:.85rem;font-weight:650}.rail-pop-list .t{flex:1 1 auto;min-width:0}.live-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--lamp)}.rail-pop-next li{padding:6px 8px 6px 42px;color:#7a8190}.back-live{position:absolute;left:50%;bottom:14px;z-index:2;transform:translate(-50%);min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--night);color:#fff;font-size:.92rem;box-shadow:0 10px 24px -10px #121a2e99}.side{flex:none;width:clamp(280px,26vw,360px);min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px 18px;border-radius:22px;background:#fbfbf9;border:1px solid #e1e3e0;box-shadow:0 1px #121a2e08,0 18px 40px -28px #121a2e59;scrollbar-width:thin}.side-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.side-head h2{margin:0;font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--night)}.side-close{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:var(--frame-ink)}.side-close:hover{background:#121a2e12}.side-kicker{margin:12px 0 8px;font-size:.72rem;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:#8a909c}.side-card{padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #e6e8e5}.side-area{margin:0 0 10px;font-size:.85rem;color:#7a8190}.side-quiet{margin:0;font-size:.92rem;line-height:1.45;color:#7a8190}.side-topics{list-style:none;margin:0;padding:0;display:grid;gap:14px}.side-topic-row{display:grid;grid-template-columns:minmax(0,1fr) 64px auto;align-items:center;gap:10px}.side-topic-name{font-size:.98rem;font-weight:550;color:var(--night);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-topic.current .side-topic-name{color:var(--ink)}.side-bar{height:6px;border-radius:999px;background:#e9ecf3;overflow:hidden}.side-bar span{display:block;height:100%;border-radius:inherit;background:#9fb0e6}.side-topic.mastered .side-bar span{background:#3f8f6a}.side-pct{min-width:3.4em;font-size:.82rem;font-variant-numeric:tabular-nums;text-align:right;color:#626875}.side-rings{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.ring-bg{fill:none;stroke:#e9ecf3;stroke-width:4}.ring-fg{fill:none;stroke:#9fb0e6;stroke-width:4;stroke-linecap:round}.ring.done .ring-fg{stroke:#3f8f6a}.side-focus-title{margin:0 0 8px;font-size:1.02rem;font-weight:600;line-height:1.35;color:var(--night)}.side-steps{list-style:none;margin:0;padding:0;display:grid;gap:6px}.side-steps li{display:flex;align-items:center;gap:8px;font-size:.9rem;line-height:1.3;color:#626875}.side-steps .dot{flex:none;width:10px;height:10px;border-radius:50%;border:2px solid #c9ced7}.side-steps li.done .dot{background:#9fb0e6;border-color:#9fb0e6}.side-steps li.now{color:var(--night);font-weight:600}.side-steps li.now .dot{background:var(--lamp);border-color:var(--lamp);box-shadow:0 0 0 3px #ffc56b4d}.side-step-name{flex:1 1 auto;min-width:0}.side-min{flex:none;font-size:.75rem;font-variant-numeric:tabular-nums;color:#8a909c}.side-goal{margin:-4px 0 10px;font-size:.9rem;line-height:1.4;color:#626875}.side-lesson-goal{margin:0 0 10px;padding:8px 10px;border-radius:10px;background:#ffc56b29;font-size:.88rem;line-height:1.4;color:var(--night)}.side-lesson-goal span{display:block;margin-bottom:2px;font-size:.68rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#9a5a00}.plan-error{display:grid;justify-items:start;gap:8px}.plan-retry{min-height:40px;padding:0 18px;border:0;border-radius:999px;background:var(--night);color:#fff;font-weight:600}.bar-btn.on{background:#121a2e1a;color:var(--night)}.settings{position:relative;flex:none}.settings-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:40;text-align:left;width:min(420px,calc(100vw - 48px));padding:16px 18px 18px;border-radius:20px;background:#fff;border:1px solid #e1e3e0;box-shadow:0 24px 60px -24px #121a2e80;color:var(--night)}.settings-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.settings-head h2{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-.02em}.settings-pop .field{display:grid;gap:6px}.settings-pop .field label{font-size:.88rem;font-weight:600;color:#626875}.settings-pop select{width:100%;min-height:48px;padding:0 40px 0 14px;border:1px solid #d9dde4;border-radius:14px;background:#fbfbf9 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5263' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 14px center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;font-size:1rem;color:var(--night)}.settings-pop select:disabled{opacity:.6}.settings-pop select:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.settings-note{margin:8px 0 0;font-size:.82rem;line-height:1.4;color:#8a909c}.settings-pop .msg{margin:10px 0 0;padding:10px 12px;border-radius:12px;font-size:.9rem;line-height:1.4}.settings-pop .msg.ok{background:#e3f1ea;color:#164d35}.settings-pop .msg.err{background:#fce9df;color:#7a2f0f}.skill-done{position:absolute;left:16px;bottom:16px;z-index:5;display:flex;align-items:flex-start;gap:12px;width:min(440px,calc(100% - 32px));padding:14px 10px 14px 16px;border-radius:18px;background:#fff;border:1px solid #e1e3e0;box-shadow:0 18px 40px -20px #121a2e73;animation:rise .5s cubic-bezier(.2,.7,.2,1) both}.skill-done-icon{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#ffc56b3d;color:#9a5a00}.skill-done-body{flex:1 1 auto;min-width:0;display:grid;gap:8px}.skill-done-name{margin:0;font-size:1.05rem;font-weight:600;line-height:1.3;color:var(--night)}.skill-done-pill{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;justify-self:start;max-width:100%;padding:4px 12px 4px 10px;border-radius:999px;background:#3f8f6a1f;color:#164d35;font-size:.88rem;font-weight:600}.skill-done-next{font-weight:500;color:#3a6b55}.skill-done-bars{display:flex;gap:4px}.skill-done-bars i{flex:1 1 0;height:6px;border-radius:999px;background:#e9ecf3}.skill-done-bars i.on{background:#3f8f6a}.skill-done .side-close{flex:none}.pause-sheet{background:#ecede799;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.bar-pill.on{background:var(--night);color:#fff}.bar-pill.on:hover{background:#22305a}.mic-pill:disabled{opacity:.5;cursor:default}.dock{position:relative;z-index:4;display:grid;grid-template-columns:auto minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:clamp(12px,2vw,28px);min-height:clamp(96px,13dvh,128px);padding:8px clamp(12px,2vw,24px) clamp(8px,1.4dvh,14px)}.dock-orb{position:relative;width:clamp(96px,12dvh,124px);aspect-ratio:1;margin-top:calc(clamp(96px,12dvh,124px)*-.42);border-radius:50%;background:radial-gradient(circle at 50% 42%,rgba(255,197,107,.16),transparent 55%),linear-gradient(180deg,#1c2748 0%,var(--night) 100%);border:1px solid rgba(255,255,255,.12);box-shadow:0 16px 34px -16px #121a2e99;align-self:start}.dock-orb .orb{position:absolute;top:-16%;right:-16%;bottom:-16%;left:-16%;pointer-events:none}.orb canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}.dock-say{display:grid;align-content:center;gap:4px;min-width:0;min-height:0}.orb-state{font-size:.72rem;font-weight:650;letter-spacing:.14em;color:#8a909c}.caption{margin:0;font-size:clamp(1.05rem,1.45vw,1.3rem);line-height:1.45;font-weight:400;color:var(--night);text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.caption.quiet{color:#7a8190}.sheet-card .caption{color:var(--on-night);display:block}.sheet-card .caption.quiet{color:var(--on-night-quiet)}.dock-input{display:flex;align-items:flex-end;gap:10px;min-width:0;width:100%;max-width:580px;justify-self:end}.mic-pill{flex:none;display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 18px;border:0;border-radius:18px;background:var(--night);color:#fff;transition:background .15s ease}.mic-pill:hover{background:#22305a}.mic-pill.off{background:#fff;color:var(--redpen);box-shadow:inset 0 0 0 1.5px var(--redpen)}.mic-dots{display:inline-flex;align-items:center;gap:4px}.mic-dots i{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.75}.mic-pill.off .mic-dots{display:none}.mic-pill.hearing .mic-dots i{background:var(--listen);opacity:1;animation:hear .9s ease-in-out infinite}.mic-pill.hearing .mic-dots i:nth-child(2){animation-delay:.12s}.mic-pill.hearing .mic-dots i:nth-child(3){animation-delay:.24s}.mic-pill.hearing .mic-dots i:nth-child(4){animation-delay:.36s}@keyframes hear{50%{transform:scaleY(2.4);border-radius:3px}}.intro{display:grid;justify-items:center;gap:10px;text-align:center}.intro h1{margin:0;font-size:clamp(1.9rem,3.2vw,2.7rem);line-height:1.05;font-weight:600;font-variation-settings:"opsz" 96;letter-spacing:-.025em;color:#fbf6ec}.intro p{margin:0;max-width:34ch;color:var(--on-night-quiet);line-height:1.45;text-wrap:balance}.intro .primary{margin-top:8px}a.primary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.lesson-summary{margin:4px 0 0;color:var(--on-night)}.fb{display:grid;gap:8px;justify-items:center;margin-top:6px}.fb-q{margin:0;color:var(--on-night);font-weight:600}.fb-scale{display:flex;gap:8px}.fb-pick{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--on-night-quiet);background:transparent;color:var(--on-night);font-weight:600}.fb-pick.on{background:var(--on-night);color:var(--night, #141a2e);border-color:var(--on-night)}.fb-pick:focus-visible,.fb-send:focus-visible{outline:2px solid var(--on-night);outline-offset:2px}.fb-label{margin:0;color:var(--on-night-quiet);font-size:.92rem}.fb-note{width:min(34ch,80vw);resize:none;border-radius:10px;border:1px solid var(--on-night-quiet);background:transparent;color:var(--on-night);font:inherit;padding:8px 10px}.fb-send{min-height:40px;padding:0 18px;border-radius:999px;border:0;background:var(--on-night);color:var(--night, #141a2e);font-weight:600}.fb-done,.fb-err{margin:4px 0 0;color:var(--on-night-quiet)}.intro .hint{font-size:.85rem;max-width:44ch;opacity:.85}.intro .resume{display:grid;justify-items:center;gap:6px;margin-bottom:4px}.sheet-card :focus-visible{outline-color:var(--lamp)}.primary{border:0;border-radius:999px;min-height:48px;padding:12px 32px;background:var(--lamp);color:var(--night);font-weight:600;font-size:1.05rem;box-shadow:0 0 #ffc56b00,0 10px 36px -10px #ffc56bb3;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}.primary:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 14px 40px -10px #ffc56bd9}.primary:active{transform:translateY(0)}.primary:focus-visible{outline-color:#fbf6ec;outline-offset:4px}.notice{margin:0;max-width:60ch;font-size:.92rem;color:#9a5a00}.metrics{font-size:.8rem;color:#7a8190}.credit{margin:2px 0 0;font-size:.72rem;line-height:1.4;color:#8a909c}.notebook{position:relative;display:grid;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;background:transparent;color:var(--ink)}.stage-main>.notebook{border-radius:22px;background-color:#fbfbf9;background-image:radial-gradient(circle,var(--dot) 1.1px,transparent 1.7px);background-size:var(--unit) var(--unit);background-position:calc(var(--unit) / 2) calc(var(--unit) / 2);border:1px solid #e1e3e0;box-shadow:0 1px #121a2e08,0 18px 40px -28px #121a2e59;overflow:hidden}.room .stage-main>.notebook .page{padding-bottom:calc(var(--unit) * 2.5)}.notebook :focus-visible{outline-color:var(--ink)}.page{position:relative;overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:calc(var(--unit) * 2) calc(var(--unit) * 2) calc(var(--unit) * 2) calc(var(--margin-x) + var(--unit))}.notebook.replay{background-color:var(--paper);background-image:radial-gradient(circle,var(--dot) 1.1px,transparent 1.7px);background-size:var(--unit) var(--unit);background-position:calc(var(--unit) / 2) calc(var(--unit) / 2)}.notebook:not(.replay) .page{padding-bottom:calc(var(--unit) * 2 + 76px)}.empty{margin:0;color:var(--pencil);line-height:var(--unit);max-width:46ch;font-style:italic;font-weight:350}.lines{list-style:none;margin:0;padding:0;display:grid;gap:calc(var(--unit) * .5)}.line{position:relative;min-height:calc(var(--unit) * 1.5);display:flex;align-items:center;flex-wrap:wrap}.line.tutor .ink{font-size:1.45rem;color:var(--ink);display:inline-block;max-width:100%;overflow-x:auto;animation:write .9s cubic-bezier(.3,.7,.3,1) both}.line.tutor.question .ink{color:var(--redpen)}.line.tutor.result .ink{padding-bottom:4px;border-bottom:3px double var(--ink)}.line.tutor.note .ink{font-size:1.1rem;opacity:.85}.line.tutor.resolved .ink{color:var(--ink)}.line.tutor.resolved .margin-mark{border-color:var(--ink);color:var(--ink)}.answer-ink{margin-left:.4em;font-size:1.45rem;color:var(--ink);display:inline-block;animation:write .6s cubic-bezier(.3,.7,.3,1) both}.line.struck .ink{text-decoration:line-through;text-decoration-color:var(--redpen);opacity:.55}.margin-mark{position:absolute;left:calc(var(--unit) * -2.6);width:calc(var(--unit) * 1.2);height:calc(var(--unit) * 1.2);display:grid;place-items:center;border:2px solid var(--redpen);border-radius:50%;color:var(--redpen);font-weight:700;font-size:.95rem}.line.student .pencil{color:var(--pencil);font-size:1.1rem;font-weight:350;font-style:italic;max-width:60ch;line-height:1.5}.line.student.pending .pencil{opacity:.55}.raw{font-family:ui-monospace,monospace;font-size:1rem}.line.prose{display:block;padding-bottom:calc(var(--unit) * .25)}.line.prose .margin-mark{top:calc(var(--unit) * -.1)}.line.tutor .ink.sheet{display:block;max-width:60ch;overflow:visible;font-size:1.15rem;font-weight:400;line-height:var(--unit);text-wrap:pretty;animation:write-down 1.1s cubic-bezier(.3,.7,.3,1) both}.sheet p{margin:0}.sheet p+p{margin-top:calc(var(--unit) * .5)}.sheet strong{font-weight:650}.sheet .katex{font-size:1.1em}.math-inline.glued{white-space:nowrap}.sheet .math-block{display:block;margin:calc(var(--unit) * .25) 0;overflow-x:auto;overflow-y:hidden}.sheet .math-block .katex-display{margin:0}.sheet .sheet-formula{margin-top:calc(var(--unit) * .5);font-size:1.26em;overflow-x:auto;overflow-y:hidden}.sheet .sheet-formula .katex{font-size:1.21em}.sheet-figure{margin:calc(var(--unit) * .5) 0 0}.sheet-figure img{display:block;max-width:min(100%,520px);height:auto;mix-blend-mode:multiply;animation:write-down 1.1s cubic-bezier(.3,.7,.3,1) both}.choices-figure{margin-top:calc(var(--unit) * .6)}.choices{--choice-min: 4em;list-style:none;margin:calc(var(--unit) * .6) 0 0;padding:0 0 0 2px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--choice-min)),1fr));gap:calc(var(--unit) * .3) var(--unit);max-width:min(100%,var(--choice-max, 60ch));font-size:1.15rem;line-height:var(--unit);color:var(--redpen)}.choices.long{grid-template-columns:minmax(0,1fr);max-width:60ch}.choice{position:relative;justify-self:start;display:flex;align-items:center;gap:.45em;min-height:calc(var(--unit) * 1.75);padding:0 .35em;animation:choice-in .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(.5s + var(--i, 0) * .07s)}.choices.long .choice{align-items:baseline;min-height:var(--unit);padding-block:.15em}.choice-letter{flex:none;font-weight:650;letter-spacing:.02em}.choice-value{min-width:0}.choice-value .katex{font-size:1.05em}.choice-check{position:absolute;left:calc(100% + .55em);top:50%;transform:translateY(-50%) rotate(-6deg);color:var(--ink);font-weight:700;font-size:1.15em;line-height:1}.choices.long .choice-check{top:calc(var(--unit) * .5 + .15em)}.line.resolved .choices{color:var(--ink)}.choices.decided .choice:not(.picked){opacity:.42}.choice.picked{color:var(--ink)}.choice.picked:before{content:"";position:absolute;top:-3px;right:-7px;bottom:-3px;left:-7px;border:2px solid var(--ink);border-radius:48% 52% 46% 54%/58% 44% 56% 42%;transform:rotate(-2.5deg);pointer-events:none;animation:write .55s cubic-bezier(.3,.7,.3,1) both}.choices.long .choice.picked:before{border-radius:16px 22px 18px 20px;transform:rotate(-.6deg)}.sheet-answer{margin:calc(var(--unit) * .5) 0 0;display:flex;align-items:center;gap:.5em;color:var(--ink)}.sheet-answer-label{font-size:1rem;font-weight:600}.sheet-answer .answer-ink{margin-left:0}.source{margin:calc(var(--unit) * .4) 0 0;font-size:.75rem;font-weight:500;letter-spacing:.08em;line-height:1.4;color:var(--pencil)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@keyframes write{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}@keyframes write-down{0%{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}@keyframes choice-in{0%{opacity:0;transform:translateY(4px)}}.write{flex:1 1 auto;min-width:0;display:flex}.write-box{width:100%;display:flex;align-items:flex-end;gap:4px;padding:5px;border-radius:24px;background:#fff;border:1px solid #e2e6ec;box-shadow:0 14px 34px -14px #121a2e4d,0 2px 6px #121a2e0d;transition:border-color .15s ease,box-shadow .15s ease}.write-box:focus-within{border-color:#b9c3d6;box-shadow:0 16px 38px -14px #121a2e5c,0 2px 6px #121a2e0f}.write textarea{flex:1;width:0;min-width:0;min-height:40px;max-height:132px;resize:none;border:0;background:transparent;font:inherit;font-size:1.05rem;line-height:1.4;color:var(--ink);padding:9px 4px}.write textarea::placeholder{color:#8a909c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.write textarea:focus,.write textarea:focus-visible{outline:none}.write button{flex:none;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%}.write button.photo{background:transparent;color:#3d4454}.write button.photo:hover:not(:disabled){background:#f0f2f5}.write button.send{background:var(--night);color:#fff;transition:background .15s ease}.write button.send:disabled{background:#c9ced7}.write button:disabled{cursor:default}.write button.photo:disabled,.write textarea:disabled{opacity:.45}.write button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}@media(max-height:640px){:root{--unit: 26px}.page{padding-top:calc(var(--unit) * 1.5)}.intro{gap:8px}.intro h1{font-size:clamp(1.7rem,3vw,2.3rem)}.caption{-webkit-line-clamp:2;line-clamp:2}}@media(max-width:1100px){.side{position:fixed;top:0;right:0;bottom:0;z-index:30;width:min(100%,360px);border-radius:22px 0 0 22px;box-shadow:-18px 0 50px -20px #121a2e73}}@media(max-width:820px),(orientation:portrait)and (max-width:1100px){.dock{grid-template-columns:auto minmax(0,1fr);gap:8px 12px;min-height:0}.dock-input{grid-column:1 / -1;max-width:none}.dock-orb{width:clamp(68px,9vw,92px);margin-top:-30px}.mic-pill{height:50px;padding:0 14px}}@media(max-width:820px){.stage{flex-direction:column;gap:0}.rail{flex-direction:row;align-items:flex-end;width:auto;padding:0 8px;gap:4px}.rail-tabs{flex-direction:row;margin:0 0 0 4px;overflow-x:auto;overflow-y:hidden}.rail-list,.rail-tab{width:42px;height:38px;border:1px solid transparent;border-bottom:0;border-radius:12px 12px 0 0}.rail-tab.on{width:42px;height:46px;margin:0 0 -1px}.rail-pop{left:8px;top:48px}.room-bar{gap:6px}.bar-brand{font-size:1.1rem}.bar-title{font-size:1.02rem;padding-left:8px}.bar-pill{padding:0 14px}.page{padding:var(--unit) 16px var(--unit) calc(var(--margin-x) + 12px)}}@media(max-width:520px){.settings-pop{position:fixed;left:12px;right:12px;top:60px;width:auto}.bar-brand span,.bar-chip,.bar-label,.bar-btn.fs{display:none}.bar-pill{padding:0 12px}.bar-brand{font-size:0;gap:0}.bar-pill{font-size:.9rem;padding:0 12px}.bar-time{font-size:.9rem}.caption{font-size:1rem;-webkit-line-clamp:2;line-clamp:2}.mic-dots{display:none}}.lesson-summary{max-width:46ch;padding:12px 16px;border-radius:16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.08);font-size:.95rem;line-height:1.55;text-align:left;text-wrap:pretty}.intro .lesson-summary p{margin:0;max-width:none;color:var(--on-night);text-wrap:pretty}.lesson-summary p.clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}.summary-more{margin-top:4px;padding:6px 0;min-height:32px;border:0;background:none;color:var(--lamp);font-size:.88rem;font-weight:600}.summary-more:hover{text-decoration:underline;text-underline-offset:3px}@media(prefers-reduced-motion:reduce){.line.tutor .ink,.answer-ink,.phase-start .intro>*,.choice,.choice.picked:before{animation:none}.primary{transition:none}.primary:hover{transform:none}}.viewport-probe{position:fixed;top:6px;left:8px;z-index:10;padding:3px 8px;border-radius:6px;background:#0000008c;color:#fff;font:12px/1.4 ui-monospace,monospace;pointer-events:none}.line.figure{display:block}.fig-wrap{margin:4px 0 calc(var(--unit) * .5);max-width:640px}.fig{display:block;width:100%;height:auto;overflow:visible}.fig text{font-family:inherit;fill:var(--ink)}.nl-tick{font-size:13px}.nl-label{display:flex;justify-content:center;align-items:flex-end;height:100%;font-size:15px}.fig-fallback{margin:0;color:var(--pencil);font-style:italic}.fig-fallback.loading{opacity:.6}.mode-pick{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:#ffffff14;border:1px solid rgba(255,255,255,.14)}.mode-pick button{font:inherit;font-size:.95rem;min-height:40px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--on-night-quiet);cursor:pointer}.mode-pick button:hover{color:var(--on-night)}.mode-pick button[aria-pressed=true]{background:var(--on-night);color:var(--night);font-weight:600}.progress-link{color:var(--on-night-quiet);font-size:.92rem;text-underline-offset:4px;padding:8px 6px}.progress-link:hover{color:var(--on-night)}button.text-btn{background:none;border:0;font:inherit;font-size:.92rem;text-decoration:underline;text-underline-offset:4px;min-height:44px}.pwa-banner{position:fixed;left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:60;transform:translate(-50%);display:flex;align-items:center;gap:8px;width:max-content;max-width:min(92vw,560px);padding:10px 12px 10px 16px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:#121a2ef5;box-shadow:0 12px 36px #00000059;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--on-night);font-size:.9rem;line-height:1.35}.pwa-banner.offline{border-color:#ffc56b8c}.pwa-banner span{flex:1 1 auto;min-width:0}.pwa-banner button{flex:none;min-height:40px;padding:0 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#ffffff14;color:var(--on-night)}.pwa-banner button:hover{background:#ffffff24}.pwa-banner button.pwa-primary{border-color:transparent;background:var(--lamp);color:var(--night);font-weight:600}@media(max-width:480px){.pwa-banner{left:12px;right:12px;width:auto;max-width:none;transform:none;flex-wrap:wrap}.pwa-banner span{flex-basis:100%}}
