.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.student-shell{background:var(--color-bg);min-height:100dvh;color:var(--color-text);flex-direction:column;display:flex}.student-main{padding-bottom:calc(var(--tabbar-height) + env(safe-area-inset-bottom,0px));flex-direction:column;flex:1;display:flex}.student-shell[data-fullscreen=true] .student-main{padding-bottom:0}.student-page{width:100%;max-width:var(--page-width);padding:var(--space-4);gap:var(--space-3);flex-direction:column;display:flex}.student-page h1{margin:0;font-size:1.5rem}.student-page h2{margin:0 0 var(--space-2);font-size:1.1rem}.tabbar{background:var(--color-surface);box-shadow:var(--shadow-bar);padding-bottom:env(safe-area-inset-bottom,0px);z-index:10;display:flex;position:fixed;inset:auto 0 0}.tab{min-height:var(--tabbar-height);color:var(--color-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.72rem;text-decoration:none;display:flex}.tab[aria-current=page]{color:var(--color-primary);font-weight:600}.tabbar-logo{display:none}.tab svg{box-sizing:content-box;border-radius:999px;padding:2px 16px}.tab[aria-current=page] svg{background:var(--color-info-bg)}.offline-banner{z-index:20;padding:var(--space-2) var(--space-4);background:var(--color-hint-bg);color:var(--color-hint);text-align:center;font-size:.85rem;position:sticky;top:0}.student-main,.parent-main{position:relative}.inbox-bell{top:var(--space-3);right:var(--space-3);z-index:5;width:var(--touch-target);height:var(--touch-target);background:var(--color-surface);box-shadow:var(--shadow-card);color:var(--color-primary);border-radius:999px;justify-content:center;align-items:center;text-decoration:none;display:flex;position:absolute}.inbox-bell-count{background:var(--color-danger);min-width:1.1rem;height:1.1rem;color:var(--color-on-primary);text-align:center;border-radius:999px;padding:0 4px;font-size:.7rem;font-weight:700;line-height:1.1rem;position:absolute;top:4px;right:4px}.inbox-list{padding:0 var(--space-4);margin:0;list-style:none}.inbox-list li{border-bottom:1px solid var(--color-border)}.inbox-list li:last-child{border-bottom:0}.inbox-item{width:100%;padding:var(--space-3) 0;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;gap:2px;display:flex}.inbox-item-title{font-weight:500}.inbox-list li[data-unread=true] .inbox-item-title{font-weight:700}.inbox-item-body,.inbox-item-date{color:var(--color-muted)}.inbox-item-body{white-space:pre-line}.inbox-item-date{font-size:.8rem}.card{background:var(--color-surface);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:var(--space-4)}.card-center{gap:var(--space-3);text-align:center;flex-direction:column;display:flex}.card-center>*{margin:0}.button{min-height:var(--touch-target);background:var(--color-primary);color:var(--color-on-primary);text-align:center;font-weight:600;text-decoration:none}.button:active{background:var(--color-primary-pressed)}.button-block{width:100%;display:block}a.button{border-radius:var(--radius-s);padding:.8rem 1rem;display:block}.success{color:var(--color-success);margin:0;font-weight:600}.points{margin:var(--space-2) 0 0;color:var(--color-success);font-weight:700}.greeting{color:var(--color-muted);margin:0}.chips{gap:var(--space-2);flex-wrap:wrap;margin:0;display:flex}.chip{padding:var(--space-1) var(--space-3);background:var(--color-info-bg);border-radius:999px;font-weight:600}.badge{margin-left:var(--space-2);padding:0 var(--space-2);background:var(--color-primary);color:var(--color-on-primary);border-radius:999px;font-size:.75rem}.today-cards{gap:var(--space-3);flex-direction:column;display:flex}.block-list{margin:var(--space-3) 0;gap:var(--space-2);flex-direction:column;padding:0;list-style:none;display:flex}.block-list li[data-done=true]{color:var(--color-success)}.invite-parent{gap:var(--space-3);flex-direction:column;display:flex}.invite-parent p{margin:0}.invite-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.invite-actions .button{flex:8rem}.unit summary{align-items:center;gap:var(--space-1) var(--space-2);cursor:pointer;flex-wrap:wrap;display:flex}.unit-title{font-weight:600}.skill-list{margin:var(--space-3) 0 0;gap:var(--space-3);flex-direction:column;padding:0;list-style:none;display:flex}.skill{gap:var(--space-1) var(--space-2);padding-top:var(--space-3);border-top:1px solid var(--color-border);grid-template-columns:1fr auto;align-items:start;display:grid}.level-pill{padding:0 var(--space-2);background:var(--color-key);white-space:nowrap;border-radius:999px;font-size:.8rem}.skill[data-level="1"] .level-pill{background:var(--color-info-bg)}.skill[data-level="2"] .level-pill,.skill[data-level="3"] .level-pill{background:var(--color-success-bg);color:var(--color-success);font-weight:600}.ladder{gap:var(--space-1);grid-column:1/-1;margin:0;padding:0;list-style:none;display:flex}.ladder li{padding:var(--space-1) 0;border-radius:var(--radius-s);border:1px solid var(--color-border);text-align:center;color:var(--color-locked);flex:1;font-size:.78rem}.ladder li[data-status=open]{border-color:var(--color-primary);color:var(--color-primary)}.ladder li[data-status=done]{background:var(--color-success);border-color:var(--color-success);color:var(--color-on-primary)}.balance-value{color:var(--color-primary);margin:0;font-size:2.5rem;font-weight:700}.history{margin:0;padding:0;list-style:none}.history li{gap:0 var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid var(--color-border);grid-template-columns:1fr auto;display:grid}.history-date{color:var(--color-muted);grid-column:1;font-size:.8rem}.history-delta{grid-area:1/2/span 2;align-self:center;font-weight:700}.history-delta[data-sign=plus]{color:var(--color-success)}.history-delta[data-sign=minus]{color:var(--color-danger)}.player{width:100%;max-width:var(--page-width);padding:0 var(--space-3) var(--space-3);gap:var(--space-3);flex-direction:column;flex:1;margin:0 auto;display:flex}.player-header{z-index:5;align-items:center;gap:var(--space-2);min-height:var(--touch-target);background:var(--color-bg);display:flex;position:sticky;top:0}.player-title{flex:1;margin:0;font-size:1.05rem}.player-position{color:var(--color-muted);font-size:.9rem}.player-timer{min-width:3.2rem;padding:var(--space-1) var(--space-2);border-radius:var(--radius-s);background:var(--color-info-bg);font-variant-numeric:tabular-nums;text-align:center;font-weight:700}.icon-button{width:var(--touch-target);height:var(--touch-target);border-radius:var(--radius-s);background:var(--color-key);color:inherit;border:0;font-size:1.6rem;line-height:1}.player>.card{margin-top:var(--space-4)}.problem{gap:var(--space-3);flex-direction:column;flex:1;display:flex}.problem-body{background:var(--color-surface);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:var(--space-4)}.problem-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:1.35rem;line-height:1.4}.problem-image{max-width:100%;height:auto;margin-top:var(--space-3);border-radius:var(--radius-s);align-self:flex-start;display:block}.feedback{border-radius:var(--radius-m);padding:var(--space-3) var(--space-4)}.feedback h2{margin:0 0 var(--space-1);font-size:1rem}.feedback p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.feedback-hint{background:var(--color-hint-bg);color:var(--color-hint)}.feedback-ok{background:var(--color-success-bg);color:var(--color-success)}.feedback-solution{background:var(--color-info-bg)}.feedback-offline{background:var(--color-hint-bg);color:var(--color-hint)}.problem-actions{gap:var(--space-2);flex-direction:column;align-items:stretch;margin-top:auto;display:flex}.problem-actions .link-button{align-self:center}.report-open{align-self:center;font-size:.9rem}.report-form{gap:var(--space-2)}.report-actions{align-items:center;gap:var(--space-4);display:flex}.report-thanks{align-self:center}.visual-problem{margin:0 0 var(--space-3);padding:var(--space-3);border-left:4px solid var(--color-border);background:var(--color-bg);color:var(--color-muted);text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.visual-text{margin:0 0 var(--space-4);padding:var(--space-3);border-radius:var(--radius-m);background:var(--color-hint-bg);color:var(--color-hint);white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.15rem}.keypad{gap:var(--space-2);flex-direction:column;display:flex}.keypad-display{min-height:3.25rem;padding:0 var(--space-4);border:2px solid var(--color-border);border-radius:var(--radius-m);background:var(--color-surface);font-variant-numeric:tabular-nums;white-space:pre;justify-content:flex-end;align-items:center;font-size:1.8rem;display:flex;overflow:hidden}.keypad-display[data-empty=true]{color:var(--color-muted);justify-content:flex-start;font-size:1.1rem}.keypad-grid{gap:var(--space-2);grid-template-columns:repeat(3,1fr);display:grid}.keypad-cell{display:flex}.keypad-cell:last-child{grid-column:span 2}.key{border-radius:var(--radius-m);background:var(--color-key);width:100%;min-height:3.1rem;color:var(--color-text);font:inherit;font-family:var(--font-heading);touch-action:manipulation;border:0;flex:1;font-size:1.45rem}.key:active:not(:disabled){background:var(--color-key-pressed)}.key:disabled{opacity:.45}.key-small{font-size:1.05rem}.keypad-letters{gap:var(--space-2);grid-template-columns:repeat(2,1fr);display:grid}.key-letter{min-height:4rem;font-size:2rem;font-weight:700}.key-letter[aria-pressed=true]{background:var(--color-primary);color:var(--color-on-primary)}.keypad-actions{gap:var(--space-2);grid-template-columns:1fr 2fr;display:grid}.key-submit{background:var(--color-primary);color:var(--color-on-primary);font-size:1.15rem;font-weight:600}.key-submit:active:not(:disabled){background:var(--color-primary-pressed)}.keypad-keyboard-hint{color:var(--color-muted);text-align:center;margin:0;font-size:.85rem;display:none}.goal-ring{width:9rem;height:9rem;margin:0 auto;position:relative}.goal-ring svg{width:100%;height:100%}.goal-ring-track,.goal-ring-value{fill:none;stroke-width:12px}.goal-ring-track{stroke:var(--color-info-bg)}.goal-ring-value{stroke:var(--color-primary);stroke-linecap:round;transition:stroke-dashoffset .4s}.goal-ring[data-met=true] .goal-ring-value{stroke:var(--color-success)}.goal-ring-text{font-variant-numeric:tabular-nums;flex-direction:column;justify-content:center;align-items:center;line-height:1.1;display:flex;position:absolute;inset:0}.goal-ring-done{font-size:2.25rem;font-weight:700}.goal-ring-goal{color:var(--color-muted);font-size:.85rem;font-weight:600}.week-dots{align-items:center;gap:var(--space-3);display:flex}.week-dots ol{flex:1;justify-content:space-between;margin:0;padding:0;list-style:none;display:flex}.week-dots li{align-items:center;gap:var(--space-1);flex-direction:column;display:flex}.week-dots li[data-met=true] .week-dot{background:var(--brand-amber);color:var(--color-text)}.week-day{color:var(--color-muted);font-size:.75rem}.week-count{font-variant-numeric:tabular-nums;font-weight:700}.week-card>.success,.week-card>.weeks-in-row{margin-top:var(--space-3)}.weeks-in-row{align-items:center;gap:var(--space-1);display:inline-flex}.weeks-in-row svg{fill:var(--brand-amber)}.ojan-say{align-items:center;gap:var(--space-3);margin:0 0 var(--space-4);display:flex}.ojan-say svg{flex:none}.ojan-bubble{padding:var(--space-3) var(--space-4);border:2px solid var(--brand-line);border-radius:var(--radius-l);background:var(--brand-white);flex:1;margin:0;font-weight:600;position:relative}.ojan-bubble:before{content:"";border-bottom:2px solid var(--brand-line);border-left:2px solid var(--brand-line);background:var(--brand-white);width:.9rem;height:.9rem;position:absolute;top:50%;left:-.55rem;transform:translateY(-50%)rotate(45deg)}.school-badges{gap:var(--space-4) var(--space-3);margin:var(--space-4) 0;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;list-style:none;display:grid}.school-badge{align-items:center;gap:var(--space-2);text-align:center;overflow-wrap:anywhere;flex-direction:column;font-size:.85rem;font-weight:600;display:flex}.school-badge-icon{border:3px solid var(--brand-indigo);background:var(--brand-indigo-soft);width:4rem;height:4rem;color:var(--brand-indigo);border-radius:50%;justify-content:center;align-items:center;display:flex}.school-badge-icon svg{fill:currentColor}.school-badge[data-earned=true][data-icon=star] .school-badge-icon,.school-badge[data-earned=true][data-icon=flame] .school-badge-icon{border-color:var(--brand-amber);background:var(--brand-amber-soft);color:var(--color-hint)}.school-badge[data-earned=false]{color:var(--color-locked)}.school-badge[data-earned=false] .school-badge-icon{border:2px dashed var(--color-locked);background:var(--color-bg);color:var(--color-locked)}.class-goal h2{margin:0}.class-goal-bar{height:.75rem;margin:var(--space-3) 0 var(--space-2);background:var(--brand-indigo-soft);border-radius:999px;overflow:hidden}.class-goal-bar>span{border-radius:inherit;background:var(--brand-indigo);height:100%;transition:width .4s;display:block}.class-goal-numbers{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.school-path-more,.practice-goal{text-align:center}@media (hover:hover) and (pointer:fine){.keypad-keyboard-hint{display:block}}.boxes{gap:var(--space-2);flex-direction:column;display:flex}.boxes-fields{justify-content:center;align-items:center;gap:var(--space-3);min-width:0;padding:var(--space-2) 0;display:flex}.boxes-frac{align-items:stretch;gap:var(--space-1);flex-direction:column;min-width:0;display:inline-flex}.boxes-bar{background:var(--color-text);border-radius:2px;height:3px;display:block}.boxes-box{min-width:3.5rem;max-width:100%;min-height:3rem;padding:0 var(--space-2);border:2px solid var(--color-field-border);border-radius:var(--radius-field);background:var(--color-surface);color:var(--color-text);font-variant-numeric:tabular-nums;white-space:pre;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;justify-content:center;align-items:center;font-size:1.6rem;font-weight:600;line-height:1;display:flex;overflow:hidden}.boxes-fields[data-shape=plain] .boxes-box{min-width:8rem}.boxes-box:focus{outline:none}.boxes-box[data-active=true]{border-color:var(--color-primary);box-shadow:var(--focus-ring)}.boxes[data-sent=true] .boxes-box{background:var(--color-info-bg)}.boxes-box[aria-disabled=true]{opacity:.6}.boxes-incomplete{min-height:1.3em;color:var(--color-hint);text-align:center;margin:0;font-size:.95rem;font-weight:600}.boxes-pad{gap:var(--space-2);grid-template-columns:repeat(4,1fr);display:grid}.boxes-pad[hidden]{display:none}.boxes-cell{display:flex}.boxes-key{border-radius:var(--radius-field);background:var(--color-key);width:100%;min-height:3rem;color:var(--color-text);font:inherit;font-family:var(--font-heading);touch-action:manipulation;border:0;flex:1;font-size:1.45rem}.boxes-key:active:not(:disabled){background:var(--color-key-pressed)}.boxes-key:disabled{opacity:.45}.boxes-key[aria-pressed=true]{background:var(--brand-indigo-soft);box-shadow:inset 0 0 0 2px var(--brand-indigo);color:var(--brand-indigo)}.boxes-glyph{vertical-align:middle;flex-direction:column;align-items:center;gap:2px;display:inline-flex}.boxes-glyph-frac,.boxes-glyph-mixed{justify-content:center;align-items:center;display:flex}.boxes-glyph-frac{flex-direction:column;gap:1px}.boxes-glyph-mixed{gap:3px}.boxes-glyph-box{border:1.5px solid;border-radius:2px;width:.75rem;height:.5rem;display:block}.boxes-glyph-mixed>.boxes-glyph-box{height:1rem}.boxes-glyph-bar{background:currentColor;border-radius:1px;width:.95rem;height:2px;display:block}.boxes-glyph-caption{text-transform:lowercase;white-space:nowrap;font-size:.6875rem;font-weight:600;line-height:1}.boxes-actions{gap:var(--space-2);display:flex}.boxes-submit{min-height:var(--touch-target);flex:1}.field textarea{font:inherit;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-field);background:var(--color-surface);color:inherit;resize:vertical}.feedback-area{gap:var(--space-2);flex-direction:column;display:flex}.lesson-card-name{margin:0;font-size:1.15rem;font-weight:600}.lesson-card .hint{margin:var(--space-1) 0 var(--space-3)}.lesson-recording{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--color-border)}.lesson-card .lesson-recording:first-child{border-top:0;margin-top:0;padding-top:0}.lesson-recording h2,.lesson-recording h3{margin:0 0 var(--space-2);font-size:1rem}.lesson-recording p{margin:0 0 var(--space-3)}.lesson-card-left b{color:var(--color-primary)}.lesson-card-all{margin-top:var(--space-3);font-weight:600;display:inline-block}.lesson-card-all:first-child{margin-top:0}.check-card .lesson-card-name{margin-bottom:var(--space-3)}.schedule-head{align-items:center;gap:var(--space-2);display:flex}.schedule-head h1{margin:0}.schedule-head .back-link{min-width:var(--touch-target);font-size:2rem;font-weight:600;line-height:var(--touch-target);text-align:center;padding:0;text-decoration:none}.schedule-week{gap:var(--space-1);margin:var(--space-3) 0 0;text-align:center;grid-template-columns:repeat(7,1fr);padding:0;list-style:none;display:grid}.schedule-week li{padding:var(--space-1) 0 var(--space-2);border-radius:var(--radius-s);background:var(--color-surface);color:var(--color-muted);gap:1px;font-size:.75rem;display:grid}.schedule-day-number{color:var(--color-text);font-variant-numeric:tabular-nums;font-size:1rem;font-weight:600}.schedule-week li:after{content:"";border-radius:50%;justify-self:center;width:.35rem;height:.35rem}.schedule-week li[data-lesson]:after{background:var(--brand-amber)}.schedule-week li[aria-current]{background:var(--color-primary);color:var(--color-on-primary)}.schedule-week li[aria-current] .schedule-day-number{color:var(--color-on-primary)}.schedule-group h2{margin:var(--space-4) 0 var(--space-2);color:var(--color-muted);font-size:.9rem}.schedule-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.schedule-row{gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-m);background:var(--color-surface);box-shadow:var(--shadow-card);grid-template-columns:3.5rem 1fr;align-items:start;display:grid}.schedule-row[data-current]{outline:2px solid var(--color-primary)}.schedule-row[data-past]{opacity:.85}.schedule-row-when{text-align:center;font-variant-numeric:tabular-nums;margin:0;font-weight:600;line-height:1.2}.schedule-row-when small{color:var(--color-muted);font-size:.75rem;font-weight:400;display:block}.schedule-row-what{gap:var(--space-2);min-width:0;display:grid}.schedule-row-title{overflow-wrap:anywhere;margin:0;font-weight:600;line-height:1.3}.schedule-tags{gap:var(--space-1);flex-wrap:wrap;margin:0;display:flex}.schedule-tag{padding:0 var(--space-2);background:var(--color-info-bg);color:var(--color-primary);white-space:nowrap;border-radius:999px;font-size:.8rem;font-weight:600}.schedule-tag[data-tone=hint]{background:var(--color-hint-bg);color:var(--color-hint)}.schedule-tag[data-tone=success]{background:var(--color-success-bg);color:var(--color-success)}.schedule-tag[data-tone=danger]{background:var(--color-danger-bg);color:var(--color-danger)}.schedule-list[data-plain] .schedule-row{box-shadow:none;background:0 0;padding:0}.schedule-row[data-status=moved],.schedule-list[data-plain] .schedule-row[data-status=moved]{background:var(--brand-amber-soft)}.schedule-list[data-plain] .schedule-row[data-status=moved]{padding:var(--space-2);border-radius:var(--radius-s)}.schedule-row[data-status=moved] .schedule-tag[data-tone=hint]{background:var(--color-surface)}.schedule-row[data-status=cancelled] .schedule-row-when,.schedule-row[data-status=cancelled] .schedule-row-title{color:var(--color-muted);text-decoration:line-through}.schedule-row-note{color:var(--color-muted);overflow-wrap:anywhere;margin:0;font-size:.85rem;line-height:1.35}.schedule-calendar{margin-top:var(--space-4);background:var(--color-info-bg)}.schedule-calendar .hint{margin:0 0 var(--space-1);color:var(--color-primary)}.schedule-calendar a{font-weight:600}.homework-card-list{margin:var(--space-3) 0 0;gap:var(--space-4);flex-direction:column;padding:0;list-style:none;display:flex}.homework-card-name{margin:0;font-size:1.15rem;font-weight:600}.homework-card-list .hint{margin:var(--space-1) 0 var(--space-3)}.homework-card [data-overdue=true] .badge{background:var(--color-danger)}.back-link{min-height:var(--touch-target);padding:var(--space-2) 0;color:var(--color-primary);display:inline-block}.homework-page h1{margin-bottom:var(--space-1)}.homework-progress{z-index:5;padding:var(--space-2) 0;background:var(--color-bg);position:sticky;top:0}.homework-progress .hint{margin:0 0 var(--space-1)}.homework-progress progress{width:100%;height:.5rem;accent-color:var(--color-primary);display:block}.homework-problems{margin:var(--space-3) 0;gap:var(--space-3);flex-direction:column;padding:0;list-style:none;display:flex}.homework-problem{gap:var(--space-3);flex-direction:column;scroll-margin-top:4rem;display:flex}.homework-problem h3{color:var(--color-muted);margin:0;font-size:.95rem}.homework-problem .problem-text{font-size:1.15rem}.homework-answer{margin:0;font-weight:600}.homework-problem[data-answered=false] .homework-answer{color:var(--color-muted);font-weight:400}.homework-photos,.homework-submit,.homework-returned,.homework-sent{margin-top:var(--space-3)}.homework-photos h2,.homework-returned h2,.homework-sent h2{margin:0 0 var(--space-2);font-size:1.1rem}.photo-pick{align-items:stretch;gap:var(--space-1);flex-direction:column;display:flex}.photo-pick .homework-photos-camera{text-align:center;width:100%;min-height:4rem;font-size:1.15rem}.photo-pick .homework-photos-gallery{min-height:var(--touch-target);color:var(--color-primary);text-underline-offset:.18em;cursor:pointer;justify-content:center;align-items:center;text-decoration:underline;display:flex}.photo-pick label[data-disabled=true]{opacity:.6;cursor:default}.photo-pick label:focus-within{outline:2px solid var(--color-primary);outline-offset:2px}.homework-bar{inset:auto 0 calc(var(--tabbar-height) + env(safe-area-inset-bottom,0px)) 0;z-index:9;gap:var(--space-1);width:100%;max-width:var(--page-width);padding:var(--space-2) var(--space-4);background:var(--color-surface);box-shadow:var(--shadow-bar);flex-direction:column;margin-inline:auto;display:flex;position:fixed}.homework-bar-row{align-items:center;gap:var(--space-2);display:flex}.homework-bar-note .hint,.homework-bar-note .error{margin:0;font-size:.85rem;line-height:1.3}.homework-bar-camera{min-width:0;padding-inline:var(--space-2);text-align:center;flex:1 1 0;font-size:.95rem;line-height:1.2}.homework-bar-camera[data-disabled=true]{opacity:.6;cursor:default}.homework-bar-count{font-variant-numeric:tabular-nums;color:var(--color-muted);flex:none;font-weight:700}.homework-bar-action{flex:none}.homework-bar-action .button{padding-inline:var(--space-4)}.homework-bar-spacer{flex:none;height:4.5rem}.homework-bar-spacer[data-tall=true]{height:8rem}@media (width>=48rem){.homework-bar{max-width:var(--page-width-wide);padding-bottom:calc(var(--space-2) + env(safe-area-inset-bottom,0px));inset:auto 0 0}}.photo-list{margin:var(--space-3) 0 0;gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));padding:0;list-style:none;display:grid}.photo-item{gap:var(--space-2);flex-direction:column;display:flex}.photo-item img,.photo-placeholder{aspect-ratio:3/4;object-fit:cover;border-radius:var(--radius-s);background:var(--color-key);width:100%;display:block}.photo-status{color:var(--color-muted);font-size:.85rem}.photo-item[data-status=done] .photo-status{color:var(--color-success)}.photo-item[data-status=failed] .photo-status{color:var(--color-danger);font-weight:600}.photo-item .button{padding:.5rem;font-size:.9rem}.homework-submit .hint{margin:0 0 var(--space-2)}.homework-grade{font-family:var(--font-heading);color:var(--color-primary);margin:0;font-size:1.75rem;font-weight:700}.homework-score{margin:0;font-size:1.25rem;font-weight:700}.homework-results{margin:var(--space-3) 0;gap:var(--space-1);text-align:left;flex-direction:column;padding:0;list-style:none;display:flex}.homework-results li[data-correct=true]{color:var(--color-success)}.homework-results li[data-correct=false]{color:var(--color-danger)}.teacher-comment{margin:0 0 var(--space-3);padding:var(--space-3);border-left:4px solid var(--color-hint);background:var(--color-hint-bg);white-space:pre-wrap;overflow-wrap:anywhere}@media (width>=48rem){.student-main{padding-bottom:0}.page.student-page{max-width:var(--page-width-wide);padding:var(--space-5) var(--space-4);margin-inline:auto}.tabbar{justify-content:center;gap:var(--space-2);padding:0 var(--space-4);padding-block:var(--space-2);box-shadow:var(--shadow-header);border-top:0;order:-2;position:sticky;inset:0 auto auto}.tab{gap:var(--space-2);padding:0 var(--space-4);border-radius:999px;flex-direction:row;flex:none;min-height:2.75rem;font-size:.95rem}.tab svg{width:20px;height:20px;padding:0}.tab[aria-current=page],.tab[aria-current=page] svg{background:var(--color-info-bg)}.tab:hover{color:var(--color-primary)}.inbox-bell{top:var(--space-2);right:max(var(--space-4), calc((100% - var(--page-width-desk)) / 2 + var(--space-4)));z-index:11;width:2.75rem;height:2.75rem;box-shadow:none;background:0 0;position:fixed}.inbox-bell:hover{background:var(--color-info-bg)}.player{max-width:var(--page-width-wide);padding-top:var(--space-4)}.problem-text{font-size:1.25rem}.keypad,.problem-actions>.button{width:100%;max-width:24rem;margin-inline:auto}.homework-problem .keypad{margin-inline:0}}@media (width>=64rem){.page.student-page,.player{max-width:var(--page-width-desk)}.tabbar-logo{top:50%;left:max(var(--space-4), calc((100% - var(--page-width-desk)) / 2 + var(--space-4)));display:block;position:absolute;transform:translateY(-50%)}.student-page>.page-logo{display:none}.today-page{column-gap:var(--space-5);grid-template-columns:minmax(0,1fr) auto;align-content:start;display:grid}.today-page>*{grid-column:1/-1}.today-page>h1,.today-page>.greeting{grid-column:1}.today-page>.chips{grid-area:1/2/span 2;align-self:center}.today-cards{align-items:start;gap:var(--space-4);margin-top:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.today-cards>.session-card{order:-1}.problem{align-content:start;gap:var(--space-3) var(--space-5);grid-template:"body actions""feedback actions""error actions"1fr/minmax(0,1fr) 22rem;display:grid}.problem-body{padding:var(--space-5);grid-area:body;min-height:10rem}.problem-text{font-size:1.6rem}.problem>.feedback-area{grid-area:feedback}.problem>.error{grid-area:error}.problem-actions{top:calc(var(--touch-target) + var(--space-3));grid-area:actions;align-self:start;margin-top:0;position:sticky}.problem-actions .keypad,.problem-actions>.button{max-width:none}.topics-page{align-items:start;gap:var(--space-3) var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.topics-page>:not(.unit){grid-column:1/-1}.progress-page{align-items:start;gap:var(--space-3) var(--space-4);grid-template-columns:minmax(0,1fr) minmax(0,2fr);display:grid}.progress-page>:not(.card){grid-column:1/-1}.boxes[data-mode=desktop]{justify-content:start;align-items:center;gap:var(--space-2) var(--space-5);grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:"fields pad.""incomplete incomplete incomplete""actions actions actions""hint hint hint";display:grid}.boxes[data-mode=desktop]>.boxes-fields{grid-area:fields;justify-content:flex-start}.boxes[data-mode=desktop] .boxes-box{min-width:4.5rem;min-height:3.75rem;font-size:1.75rem}.boxes[data-mode=desktop] .boxes-fields[data-shape=plain] .boxes-box{min-width:9rem}.boxes[data-mode=desktop]>.boxes-pad{grid-area:pad;grid-template-columns:repeat(4,4rem)}.boxes[data-mode=desktop] .boxes-key{min-height:3.25rem}.boxes[data-mode=desktop]>.boxes-incomplete{text-align:left;grid-area:incomplete}.boxes[data-mode=desktop]>.boxes-actions{gap:var(--space-3);flex-wrap:wrap;grid-area:actions;justify-content:flex-start;display:flex}.boxes[data-mode=desktop] .boxes-submit{flex:none;min-width:10rem}.boxes[data-mode=desktop]>.keypad-keyboard-hint{text-align:left;grid-area:hint}.problem:has(.boxes){grid-template-columns:minmax(0,1fr);grid-template-areas:"body""actions""feedback""error"}.problem:has(.boxes) .problem-actions{padding:var(--space-5);border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-card);position:static}.homework-problem:has(.keypad){align-items:start;gap:var(--space-3) var(--space-5);grid-template-columns:minmax(0,1fr) 22rem;display:grid}.homework-problem:has(.keypad)>*{grid-column:1}.homework-problem:has(.keypad)>.keypad{grid-area:1/2/span 5;width:100%;max-width:none}.homework-problem:has(.keypad)>.keypad~.button{grid-column:2}.homework-problem:has(.keypad) .problem-text{font-size:1.4rem}}.student-shell[data-fullscreen=true] .homework-bar{bottom:env(safe-area-inset-bottom,0px)}.hw-flow{gap:var(--space-3);flex-direction:column;display:flex}.hw-intro{margin:0}.hw-top{gap:var(--space-1);flex-direction:column;display:flex}.hw-count{font-variant-numeric:tabular-nums;align-self:flex-end;margin:0;font-size:.85rem}.hw-line{gap:2px;display:flex}.hw-line span{background:var(--color-key);border-radius:3px;flex:1 1 0;height:6px}.hw-line [data-mark=done]{background:var(--color-primary)}.hw-line [data-mark=current]{background:var(--game-amber)}.hw-line [data-mark=skipped]{background:var(--game-red-line)}.hw-nav{align-items:center;gap:var(--space-2);display:flex}.hw-arrow{width:2.75rem;height:2.75rem;color:var(--color-primary);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;font-size:1.75rem;line-height:1}.hw-arrow:disabled{color:var(--color-border);cursor:default}.hw-title{text-align:center;flex:1;margin:0;font-size:1.15rem}.hw-title button{color:inherit;font:inherit;padding:var(--space-1) var(--space-2);border-radius:var(--radius-s);-webkit-text-decoration:underline dotted var(--color-muted);text-decoration:underline dotted var(--color-muted);text-underline-offset:.3em;cursor:pointer;background:0 0;border:0;font-weight:700}.hw-tag{margin-left:var(--space-1);border-radius:var(--radius-s);background:var(--color-info-bg);color:var(--color-primary);vertical-align:middle;padding:.1rem .5rem;font-size:.8rem;font-weight:600;display:inline-block}.hw-card{gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-card);touch-action:pan-y;flex-direction:column;display:flex}.hw-problem-text{margin:0;font-size:1.15rem;line-height:1.5}.hw-card .problem-image{object-fit:contain;max-height:30vh}.student-shell .hw-input .boxes-submit,.student-shell .hw-input .key-submit{background:var(--game-amber);color:var(--color-text);box-shadow:0 4px 0 var(--game-amber-deep);font-weight:800}.student-shell .hw-input .boxes-submit:disabled,.student-shell .hw-input .key-submit:disabled{background:var(--color-key);color:var(--color-muted);box-shadow:none}.hw-toast{align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);border-radius:var(--radius-m);background:var(--color-text);color:var(--color-on-primary);display:flex}.hw-toast span{flex:1}.hw-toast button{color:var(--game-amber);font:inherit;cursor:pointer;background:0 0;border:0;font-weight:700}.hw-back{color:var(--color-primary);font:inherit;padding:var(--space-1) 0;cursor:pointer;background:0 0;border:0;align-self:flex-start;font-weight:600}.hw-sheet-backdrop{z-index:20;background:var(--color-backdrop);justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.hw-sheet{width:100%;max-width:var(--page-width);padding:var(--space-4) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom,0px));border-radius:var(--radius-l) var(--radius-l) 0 0;background:var(--color-surface)}.hw-sheet-head{justify-content:space-between;align-items:center;display:flex}.hw-sheet-head h2{margin:0}.hw-sheet-close{background:var(--color-key);width:2.5rem;height:2.5rem;color:var(--color-text);cursor:pointer;border:0;border-radius:50%;font-size:1rem}.hw-grid{gap:var(--space-2);margin:var(--space-3) 0;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;list-style:none;display:grid}.hw-grid button{border-radius:var(--radius-s);background:var(--color-key);width:100%;height:2.75rem;color:var(--color-primary);font:inherit;cursor:pointer;border:0;font-weight:700}.hw-grid [data-mark=done]{background:var(--color-primary);color:var(--color-on-primary)}.hw-grid [data-mark=current]{background:var(--color-surface);box-shadow:inset 0 0 0 2px var(--game-amber)}.hw-grid [data-mark=skipped]{background:var(--color-danger-bg);color:var(--color-danger);box-shadow:inset 0 0 0 1.5px var(--game-red-line)}.hw-legend{gap:var(--space-3);margin:0 0 var(--space-3);color:var(--color-muted);flex-wrap:wrap;font-size:.8rem;display:flex}.hw-legend span:before{content:"";vertical-align:-1px;background:var(--color-key);border-radius:3px;width:.7rem;height:.7rem;margin-right:.3rem;display:inline-block}.hw-legend [data-mark=done]:before{background:var(--color-primary)}.hw-legend [data-mark=skipped]:before{background:var(--game-red-line)}.student-shell .hw-to-empty,.student-shell .hw-fill{background:var(--color-danger-bg);color:var(--color-danger);box-shadow:0 4px 0 var(--game-red-line)}.hw-steps{gap:var(--space-1);margin:0;padding:0;list-style:none;display:flex}.hw-steps li{padding:var(--space-1) 0;border-radius:var(--radius-s);background:var(--color-key);color:var(--color-primary);text-align:center;flex:1 1 0;font-size:.8rem;font-weight:600}.hw-steps [data-state=done]{background:var(--color-primary);color:var(--color-on-primary)}.hw-steps [data-state=current]{background:var(--game-amber);color:var(--color-text)}.hw-review h2{margin:0}.hw-review>.hint{margin:var(--space-1) 0 0}.hw-review-group{margin:var(--space-4) 0 var(--space-1);color:var(--color-muted);font-size:.8rem;font-weight:600}.hw-rows{margin:0;padding:0;list-style:none}.hw-row{align-items:center;gap:var(--space-2);width:100%;min-height:2.9rem;padding:var(--space-2) var(--space-1);border:0;border-bottom:1px solid var(--color-border);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;display:flex}.hw-row[data-empty=true]{padding-inline:var(--space-2);border-radius:var(--radius-s);background:var(--color-danger-bg);border-bottom-color:#0000}.hw-row-n{min-width:1.5rem;color:var(--color-muted);font-variant-numeric:tabular-nums;text-align:right;flex:none}.hw-row-text{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.hw-row-answer{text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:35%;font-weight:700;overflow:hidden}.hw-row[data-empty=true] .hw-row-answer,.hw-row[data-empty=true] .hw-row-edit{color:var(--color-danger)}.hw-row-edit{color:var(--color-muted);flex:none}.hw-review-bar{inset:auto 0 env(safe-area-inset-bottom,0px) 0;z-index:9;width:100%;max-width:var(--page-width);padding:var(--space-3) var(--space-4);background:var(--color-surface);box-shadow:var(--shadow-bar);margin-inline:auto;position:fixed}.hw-review-spacer{height:5rem}.lesson-top[data-slot=countdown]{background:var(--color-hint-bg);box-shadow:inset 0 0 0 1.5px var(--game-amber)}.lesson-top-line{color:var(--color-hint);margin:0;font-size:.9rem}.lesson-top-left{margin:var(--space-1) 0 0;color:var(--color-text);font-size:1.35rem}.lesson-top[data-slot=join]{background:var(--color-primary);color:var(--color-on-primary)}.lesson-top-status{align-items:center;gap:var(--space-2);margin:0;font-size:1.1rem;display:flex}.lesson-top-dot{background:var(--color-danger);border-radius:50%;width:.6rem;height:.6rem}.lesson-top-name{margin:var(--space-1) 0 var(--space-3);color:var(--game-on-indigo-muted)}.lesson-top-nolink{color:var(--game-on-indigo-muted);margin:0}.student-shell .lesson-top-join{background:var(--game-amber);color:var(--color-text);box-shadow:0 4px 0 var(--game-amber-deep);font-weight:800}.lesson-row{align-items:center;gap:var(--space-3);color:inherit;text-decoration:none;display:flex}.lesson-row-icon{color:var(--color-primary);flex:none}.lesson-row-text{flex-direction:column;flex:1;min-width:0;display:flex}.lesson-row-when{color:var(--color-muted);font-size:.85rem}.lesson-row .lesson-card-name{font-size:1rem}.lesson-row-go{color:var(--color-muted);flex:none;font-size:1.4rem}.lesson-card .lesson-row+.lesson-recording{margin-top:var(--space-3)}.parent-shell{background:var(--color-bg);min-height:100dvh;color:var(--color-text);flex-direction:column;display:flex}.refresh-notice{padding:var(--space-2) var(--space-4);background:var(--color-hint-bg);color:var(--color-hint);margin:0}.parent-main{padding-bottom:calc(var(--tabbar-height) + env(safe-area-inset-bottom,0px));flex-direction:column;flex:1;display:flex}.parent-page{width:100%;max-width:var(--page-width);padding:var(--space-4);gap:var(--space-3);flex-direction:column;display:flex}.parent-page h1{margin:0;font-size:1.5rem}.parent-page h2{margin:0 0 var(--space-2);font-size:1.1rem}.parent-page p{margin:0}.child-switcher{z-index:5;gap:var(--space-2);padding:var(--space-2) var(--space-4);background:var(--color-surface);border-bottom:1px solid var(--color-border);display:flex;position:sticky;top:0;overflow-x:auto}.child-chip{min-height:var(--touch-target);padding:0 var(--space-4);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;border-radius:999px;flex:none}.child-chip[aria-pressed=true]{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-on-primary);font-weight:600}.week-picker{align-items:center;gap:var(--space-2);display:flex}.week-picker .icon-button:disabled{opacity:.4}.week-label{text-align:center;flex-direction:column;flex:1;align-items:center;font-weight:600;display:flex}.week-label .hint{margin:0;font-weight:400}.stat-card{gap:var(--space-2);flex-direction:column;display:flex}.stat-card h2{margin:0}.stat-value{color:var(--color-primary);font-size:1.6rem;font-weight:700}.stat-card .hint{margin:0}.stat-grade{margin:0;font-weight:600}.dots{gap:var(--space-2);margin:0;padding:0;list-style:none;display:flex}.dots li{border:2px solid var(--color-border);background:var(--color-surface);border-radius:50%;width:1.1rem;height:1.1rem}.dots li[data-on=true]{border-color:var(--color-success);background:var(--color-success)}.confusion-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.confusion-list li{justify-content:space-between;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid var(--color-border);display:flex}.confusion-list li:last-child{border-bottom:0}.confusion-count{color:var(--color-muted);white-space:nowrap;flex:none;font-size:.85rem}.no-children{gap:var(--space-3);flex-direction:column;display:flex}.no-children h2{margin:0}.access-pay .button{margin-top:var(--space-3)}.overview-lessons{gap:var(--space-3);margin-bottom:var(--space-3);flex-direction:column;display:flex}.overview-lessons h2{margin:0 0 var(--space-3);font-size:1rem}.overview-lessons-all{margin-top:var(--space-3);font-weight:600;display:inline-block}.schedule-month{gap:var(--space-5);display:flex}.schedule-month-stat{margin:0;display:grid}.schedule-month-stat b{font-variant-numeric:tabular-nums;font-size:1.5rem}.overview-cards{gap:var(--space-3);flex-direction:column;display:flex}@media (width>=48rem){.parent-main{padding-bottom:0}.page.parent-page{max-width:var(--page-width-wide);padding:var(--space-5) var(--space-4);margin-inline:auto}.child-switcher{padding-inline:max(var(--space-4), calc((100% - var(--page-width-wide)) / 2 + var(--space-4)));order:-1;position:static}.overview-cards{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.overview-lessons{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}}@media (width>=64rem){.page.parent-page{max-width:var(--page-width-desk)}.parent-page>.page-logo{display:none}.child-switcher{padding-inline:max(var(--space-4), calc((100% - var(--page-width-desk)) / 2 + var(--space-4)))}.overview-page{column-gap:var(--space-5);grid-template-columns:minmax(0,1fr) auto;align-content:start;display:grid}.overview-page>*{grid-column:1/-1}.overview-page>h1,.overview-page>.greeting{grid-column:1}.overview-page>.week-picker{grid-area:1/2/span 2;align-self:center}.overview-cards{gap:var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr))}.overview-points{grid-column:span 2}.overview-confusion{grid-column:1/-1}}.staff-home .brief-card,.brief-card{box-sizing:border-box;min-width:0;margin-top:var(--space-4);padding:var(--space-3);border:.5px solid var(--brand-line);background:var(--brand-white);border-radius:12px}.brief-head{justify-content:space-between;align-items:baseline;gap:var(--space-2);display:flex}.brief-title{margin:0;font-size:1rem}.brief-count{color:var(--brand-muted);flex:none;font-size:.8125rem}.brief-items{margin:var(--space-2) 0 0;padding:0;list-style:none}.brief-item{border-top:.5px solid var(--brand-line);align-items:flex-start;gap:.625rem;padding:.625rem 0;display:flex}.brief-dot{border-radius:50%;flex:none;width:.5rem;height:.5rem;margin-top:.45rem}.brief-dot--urgent{background:var(--color-danger)}.brief-dot--attention{background:var(--brand-amber)}.brief-dot--info{background:var(--color-primary)}.brief-item-text{flex-direction:column;flex:1;gap:.125rem;min-width:0;display:flex}.brief-item-title,.brief-item-action{overflow-wrap:anywhere}.brief-item-title{font-weight:600;line-height:1.35}.brief-item-action{color:var(--brand-muted);font-size:.875rem;line-height:1.4}.brief-item-links{flex-direction:column;flex:none;align-items:flex-end;gap:.25rem;display:flex}.brief-link{background:var(--brand-indigo-soft);color:var(--brand-indigo);white-space:nowrap;border-radius:999px;padding:.25rem .625rem;font-size:.8125rem;font-weight:600;text-decoration:none}.brief-link:hover{background:var(--color-key-pressed)}.brief-link:focus-visible,.brief-toggle:focus-visible{box-shadow:var(--focus-ring);outline:none}.brief-toggle{border:.5px solid var(--brand-line);background:var(--brand-ground);width:100%;min-height:2.5rem;color:var(--brand-indigo);font:inherit;cursor:pointer;border-radius:.625rem;padding:.5rem;font-size:.875rem;font-weight:600;display:block}.brief-source{margin:var(--space-2) 0 0;color:var(--brand-muted);overflow-wrap:anywhere;font-size:.75rem}.student-card{overflow-wrap:anywhere}.student-card section{margin-top:var(--space-5,1.5rem)}.student-card h2{margin-bottom:var(--space-2,.5rem)}.student-card-list{margin:var(--space-2,.5rem) 0 0;gap:var(--space-2,.5rem);padding:0;list-style:none;display:grid}.student-card-row{padding:var(--space-2,.5rem) var(--space-3,.75rem);border:1px solid var(--color-border);border-radius:var(--radius-card,.5rem);min-width:0}.student-card-row p{margin:0}.student-card-weak{border-left-width:4px}.student-card-line{overflow-wrap:anywhere;min-width:0;margin:0}.student-card-detail{margin-top:var(--space-2,.5rem);min-width:0}.student-card-detail .check-tab-items{padding-left:1.25rem}.student-card-actions{align-items:center;gap:var(--space-2,.5rem);margin-top:var(--space-2,.5rem);flex-wrap:wrap;display:flex}.student-card-actions .button{text-decoration:none}.student-card-actions p{flex-basis:100%;margin:0}.student-card-main-actions{margin-top:var(--space-5,1.5rem)}.student-card-panel{margin-top:var(--space-3,.75rem);padding:var(--space-3,.75rem);border:1px solid var(--color-border);border-radius:var(--radius-card,.5rem);gap:var(--space-2,.5rem);min-width:0;display:grid}.student-card-panel p{margin:0}.student-card-panel textarea,.student-card-panel input{box-sizing:border-box;max-width:100%}.student-card-field-label{margin:var(--space-3,.75rem) 0 var(--space-1,.25rem);color:var(--color-muted);font-size:.9rem}.student-card-chips{gap:var(--space-2,.5rem);flex-wrap:wrap;display:flex}.student-card-agreement{gap:var(--space-2,.5rem);margin-top:var(--space-2,.5rem);grid-template-columns:minmax(0,1fr) 11rem;display:grid}@media (width<=480px){.student-card-agreement{grid-template-columns:minmax(0,1fr)}}.student-card-contact{gap:var(--space-1,.25rem);padding-bottom:var(--space-2,.5rem);border-bottom:1px solid var(--color-border);display:grid}.student-card-tags{gap:var(--space-1,.25rem);flex-wrap:wrap;display:flex}.student-card-tag{padding:0 var(--space-2,.5rem);border:1px solid var(--color-border);border-radius:999px;font-size:.85rem}.student-card-agreement-late{color:var(--color-danger);font-weight:600}.student-card-agreement-done{color:var(--color-muted)}.check-confidence,.check-pictures{gap:var(--space-2);flex-wrap:wrap;display:flex}.check-confidence .button,.check-pictures .button{flex:8rem}.check-pictures .button{padding-block:var(--space-3);font-size:1.1rem}.check-note{color:var(--color-muted);font-size:.9rem}.check-praise{text-align:center}.check-praise .check-line{margin:var(--space-2) 0;font-size:1.1rem}.check-actions{align-items:center;gap:var(--space-3);margin-top:var(--space-3);flex-direction:column;display:flex}.check-timer{font-variant-numeric:tabular-nums;text-align:right;margin:0 0 var(--space-2);font-weight:600}.student-shell{--game-amber:#ef9f27;--game-amber-deep:#b87314;--game-amber-pressed:#e3901a;--game-indigo-deep:#262063;--game-indigo-mid:#534aa8;--game-indigo-light:#8e87d6;--game-on-indigo-muted:#dcd9f2;--game-green-deep:#0e5a2a;--game-green-line:#bfe8cd;--game-red:#b91c1c;--game-red-bg:#fdeceb;--game-red-line:#f6c9c6;--game-line:#dcdbe8;--game-locked:#e3e2ec;--game-locked-deep:#c9c7d9;--game-foot:4px}@keyframes game-pop{0%{transform:scale(.6)}70%{transform:scale(1.12)}to{transform:scale(1)}}@keyframes game-sheet{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes game-shake{0%,to{transform:translate(0)}25%{transform:translate(-6px)}75%{transform:translate(6px)}}@keyframes game-fall{0%{opacity:1;transform:translateY(-20vh)rotate(0)}to{opacity:0;transform:translateY(70vh)rotate(540deg)}}.student-shell .button{box-shadow:0 var(--game-foot) 0 var(--game-indigo-deep);font-weight:700;transition:transform 80ms,box-shadow 80ms,background-color .15s}.student-shell .button:active:not(:disabled){transform:translateY(var(--game-foot));box-shadow:0 0 0 var(--game-indigo-deep)}.student-shell .button:focus-visible{box-shadow:0 var(--game-foot) 0 var(--game-indigo-deep), var(--focus-ring)}.student-shell .button:disabled{transform:none}.student-shell .button-secondary{background:var(--color-surface);color:var(--color-primary);box-shadow:inset 0 0 0 2px var(--game-line), 0 var(--game-foot) 0 var(--game-line)}.student-shell .button-secondary:active:not(:disabled){background:var(--color-info-bg);box-shadow:inset 0 0 0 2px var(--game-line)}.student-shell .button-cta{background:var(--game-amber);color:var(--color-text);letter-spacing:.04em;text-transform:uppercase;box-shadow:0 5px 0 var(--game-amber-deep);font-weight:800}.student-shell .button-cta:active:not(:disabled){background:var(--game-amber-pressed);box-shadow:0 0 0 var(--game-amber-deep)}.student-shell .button-cta:focus-visible{box-shadow:0 5px 0 var(--game-amber-deep), var(--focus-ring)}.student-shell .button-light{background:var(--color-surface);color:var(--color-primary);box-shadow:0 5px 0 var(--game-indigo-deep)}.student-shell .button-light:active:not(:disabled){background:var(--color-info-bg)}.student-shell .button-next{letter-spacing:.04em;text-transform:uppercase}.student-shell .card{box-shadow:none;border:2px solid var(--game-line)}.student-shell .tabbar{box-shadow:none;border-top:2px solid var(--color-info-bg)}.student-shell .tab{font-size:.75rem;font-weight:600}.student-shell .tab[aria-current=page]{font-weight:800}.student-shell .game-stats{gap:var(--space-2)}.student-shell .game-chip{border:2px solid var(--game-line);background:var(--color-surface);font-family:var(--font-heading);align-items:center;gap:.35rem;padding:.35rem .8rem;font-weight:700;display:inline-flex}.student-shell .game-chip>svg{color:var(--color-primary)}.student-shell .session-hero{background:var(--color-primary);color:var(--color-on-primary);box-shadow:0 6px 0 var(--game-indigo-deep);border:0;padding:1.1rem 1.1rem 1.3rem}.session-hero-head{justify-content:space-between;align-items:baseline;gap:var(--space-1) var(--space-3);flex-wrap:wrap;display:flex}.student-shell .session-hero h2{color:var(--color-on-primary);margin:0;font-size:1.3rem}.session-hero-kind{color:var(--game-on-indigo-muted);margin:0;font-size:.85rem}.session-steps{--dot:3.1rem;grid-template-columns:repeat(var(--steps,4), minmax(0, 1fr));gap:var(--space-1);margin:1.1rem 0 .5rem;padding:0;list-style:none;display:grid;position:relative}.session-steps:before,.session-steps:after{content:"";top:calc(var(--dot) / 2 - 2px);left:calc(50% / var(--steps,4));border-top:4px dotted var(--game-indigo-light);position:absolute}.session-steps:before{right:calc(50% / var(--steps,4))}.session-steps:after{width:calc((100% - 100% / var(--steps,4)) * var(--trail,0));border-top-color:var(--game-amber)}.session-steps li{z-index:1;text-align:center;color:var(--game-on-indigo-muted);flex-direction:column;align-items:center;gap:.4rem;font-size:.78rem;line-height:1.2;display:flex;position:relative}.session-step-dot{width:var(--dot);height:var(--dot);background:var(--game-indigo-mid);font-family:var(--font-heading);border-radius:50%;justify-content:center;align-items:center;font-size:1.2rem;font-weight:800;display:flex}.session-steps li[data-state=done],.session-steps li[data-state=current]{color:var(--color-on-primary)}.session-steps li[data-state=current]{font-weight:700}.session-steps li[data-state=done] .session-step-dot{background:var(--game-amber);color:var(--color-text);box-shadow:0 4px 0 var(--game-amber-deep)}.session-steps li[data-state=current] .session-step-dot{background:var(--color-surface);color:var(--color-primary);box-shadow:0 4px 0 #b8b3e6, 0 0 0 4px var(--color-primary), 0 0 0 8px var(--game-amber)}.session-hero-progress{margin:var(--space-1) 0 var(--space-4);text-align:center;color:var(--game-on-indigo-muted);font-size:.8rem}.student-shell .session-hero-done{padding:var(--space-3);border-radius:var(--radius-m);color:var(--color-on-primary);text-align:center;background:#ffffff1f}.student-shell .session-hero-help{padding:var(--space-2);color:var(--color-on-primary);text-align:center;display:block}.student-shell .player-header{align-items:stretch;gap:var(--space-1);padding-block:var(--space-2) var(--space-1);flex-direction:column}.player-header-row{align-items:center;gap:var(--space-2);min-height:var(--touch-target);display:flex}.student-shell .icon-button{color:var(--color-muted);background:0 0;justify-content:center;align-items:center;display:inline-flex}.student-shell .player-sound[aria-pressed=true]{color:var(--color-primary)}.player-progress{background:var(--game-locked);border-radius:999px;height:14px;overflow:hidden}.player-progress-fill{border-radius:inherit;background:var(--game-amber);height:100%;transition:width .35s;box-shadow:inset 0 -4px #0000001f}.player-combo{background:var(--color-info-bg);color:var(--color-primary);font-family:var(--font-heading);border-radius:999px;align-items:center;gap:2px;padding:.2rem .55rem;font-weight:800;animation:.3s ease-out game-pop;display:inline-flex}.student-shell .problem-body{box-shadow:none;border:2px solid var(--game-line)}.student-shell .key,.student-shell .boxes-key{background:var(--color-surface);box-shadow:inset 0 0 0 2px var(--game-line), 0 3px 0 var(--game-line);transition:transform 60ms}.student-shell .key:active:not(:disabled),.student-shell .boxes-key:active:not(:disabled){background:var(--color-key-pressed);box-shadow:inset 0 0 0 2px var(--game-line);transform:translateY(3px)}.student-shell .key-submit{background:var(--color-primary);color:var(--color-on-primary);box-shadow:0 4px 0 var(--game-indigo-deep);font-weight:800}.student-shell .key-submit:active:not(:disabled){background:var(--color-primary-pressed);box-shadow:none}.student-shell .boxes-key[aria-pressed=true]{background:var(--brand-indigo-soft);box-shadow:inset 0 0 0 2px var(--brand-indigo), 0 3px 0 var(--brand-indigo)}.student-shell .feedback h2{font-family:var(--font-heading);font-size:1.1rem}.student-shell .feedback-hint{border:2px solid #f3d5a6}.student-shell .feedback-hint[data-trap=true]{background:var(--game-red-bg);border-color:var(--game-red-line);color:var(--color-text);animation:.35s game-shake}.student-shell .feedback-hint[data-trap=true] h2{color:var(--game-red)}.student-shell .answer-zone{gap:var(--space-3);flex-direction:column;margin-top:auto;display:flex}@media (width<=63.99rem){.student-shell .answer-zone:not([data-outcome=none]){margin:auto calc(-1 * var(--space-3)) calc(-1 * var(--space-3));padding:var(--space-4) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom,0px));border-top:3px solid var(--game-line);background:var(--color-info-bg);animation:.22s ease-out game-sheet;position:sticky;bottom:0}.student-shell .answer-zone:not([data-outcome=none]) .feedback{background:0 0;padding:0}.student-shell .answer-zone[data-outcome=correct]{background:var(--color-success-bg);border-top-color:var(--game-green-line)}.student-shell .answer-zone[data-outcome=correct] .feedback h2{font-size:1.5rem;font-weight:800}.student-shell .answer-zone[data-outcome=correct] .button-next{background:var(--color-success);box-shadow:0 5px 0 var(--game-green-deep)}.student-shell .answer-zone[data-outcome=correct] .button-next:active:not(:disabled){background:var(--game-green-deep);box-shadow:none}}.block-done-badge{background:var(--game-amber);width:4.5rem;height:4.5rem;color:var(--color-text);box-shadow:0 5px 0 var(--game-amber-deep);border-radius:50%;justify-content:center;align-self:center;align-items:center;animation:.35s ease-out game-pop;display:flex}.student-shell .block-done h2{font-size:1.4rem}.student-shell .finished-screen{background:var(--color-primary);max-width:none;color:var(--color-on-primary);justify-content:center;margin:0;position:relative;overflow:hidden}.confetti{pointer-events:none;position:absolute;inset:0}.confetti-piece{border-radius:2px;width:10px;height:18px;animation:2.6s ease-in both game-fall;position:absolute;top:0}.finished-card{width:100%;max-width:var(--page-width);padding:var(--space-5) var(--space-2);align-items:center;gap:var(--space-3);text-align:center;flex-direction:column;margin:0 auto;display:flex;position:relative}.finished-card h1{margin:0;font-size:1.75rem}.finished-badge{background:var(--game-amber);width:7rem;height:7rem;color:var(--color-text);box-shadow:0 6px 0 var(--game-amber-deep);border-radius:50%;justify-content:center;align-items:center;animation:.45s ease-out game-pop;display:flex}.student-shell .finished-card .points{font-family:var(--font-heading);color:var(--color-on-primary);margin:0;font-size:1.3rem}.finished-help{gap:var(--space-2);flex-direction:column;width:100%;display:flex}.finished-help p{color:var(--color-on-primary);margin:0}.finished-awards{width:100%;padding:var(--space-3) var(--space-4);border-radius:var(--radius-m);background:var(--game-indigo-deep);gap:var(--space-2);text-align:left;flex-direction:column;margin:0;list-style:none;display:flex}.finished-awards li{justify-content:space-between;gap:var(--space-3);display:flex}.finished-streak-slot{justify-content:center;align-items:center;min-height:2.9rem;display:flex}.finished-streak{align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-4);font-family:var(--font-heading);background:#ffffff1f;border-radius:999px;margin:0;font-size:1.1rem;font-weight:700;display:inline-flex}.student-shell .finished-card .button-light{margin-top:var(--space-3)}.game-switch{align-items:center;gap:var(--space-3);min-height:var(--touch-target);display:flex}.game-switch input{width:1.4rem;height:1.4rem;accent-color:var(--color-primary);margin:0}@media (width>=64rem){.student-shell .answer-zone,.student-shell .answer-zone:not([data-outcome=none]){display:contents}.problem .answer-zone>.feedback-area{grid-area:feedback}.problem .answer-zone>.error{grid-area:error}.student-shell .answer-zone[data-outcome=correct] .button-next{background:var(--color-success);box-shadow:0 5px 0 var(--game-green-deep)}}@media (prefers-reduced-motion:reduce){.student-shell *,.student-shell :before,.student-shell :after{transition:none!important;animation:none!important}.confetti{display:none}}.path-page{--tone:var(--color-primary);--tone-deep:var(--game-indigo-deep)}.student-shell .path-unit{background:0 0;border:0;padding:0}.path-unit[data-tone="1"]{--tone:#0b7a70;--tone-deep:#075a52}.path-unit[data-tone="2"]{--tone:#c2410c;--tone-deep:#8f300a}.path-unit[data-tone="3"]{--tone:#1d63c4;--tone-deep:#154a94}.student-shell .path-banner{align-items:center;gap:var(--space-1) var(--space-2);padding:var(--space-4);border-radius:var(--radius-card);background:var(--tone,var(--color-primary));color:var(--color-on-primary);box-shadow:0 5px 0 var(--tone-deep,var(--game-indigo-deep));cursor:pointer;flex-wrap:wrap;list-style:none;display:flex}.path-banner::-webkit-details-marker{display:none}.student-shell .path-banner .unit-title{font-family:var(--font-heading);flex:100%;font-size:1.15rem;font-weight:700}.student-shell .path-banner .hint{color:inherit;opacity:.92;font-size:.85rem}.student-shell .path-banner .badge{background:var(--game-amber);color:var(--color-text);margin:0;font-weight:700}.path-banner-note{padding:0 var(--space-2);background:#ffffff2e;border-radius:999px;font-size:.75rem;font-weight:700}.path-unit[data-place=ahead] .path-banner,.path-unit[data-place=always] .path-banner{background:var(--color-surface);color:var(--color-text);box-shadow:inset 0 0 0 2px var(--game-line), 0 5px 0 var(--game-line)}.path-unit[data-place=ahead] .path-banner-note{background:var(--color-info-bg)}.path-column{max-width:100%;margin:var(--space-4) auto var(--space-2);position:relative}.path-trail{position:absolute;inset:0;overflow:visible}.path-trail path{fill:none;stroke-width:9px;stroke-linecap:round;stroke-dasharray:.1 18}.path-trail-grey{stroke:#cfcde0}.path-trail-gold{stroke:var(--game-amber)}.student-shell .path-nodes{margin:0;padding:0;list-style:none;display:block;position:absolute;inset:0}.student-shell .path-node,.path-trophy{border:0;width:72px;height:72px;padding:0;display:block;position:absolute}.path-node-button,.path-trophy-icon{background:var(--game-locked);color:#8e8da3;width:72px;height:72px;box-shadow:0 6px 0 var(--game-locked-deep);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;transition:transform 80ms;display:flex}.path-node-button:active{box-shadow:0 2px 0 var(--game-locked-deep);transform:translateY(4px)}.path-node-button:focus-visible{outline:3px solid var(--color-primary);outline-offset:4px}.path-node[data-level="1"] .path-node-button{background:var(--game-indigo-light);color:var(--color-on-primary);box-shadow:0 6px 0 var(--game-indigo-mid)}.path-node[data-level="2"] .path-node-button{background:var(--tone);color:var(--color-on-primary);box-shadow:0 6px 0 var(--tone-deep)}.path-node[data-level="3"] .path-node-button{background:var(--game-amber);color:var(--color-text);box-shadow:0 6px 0 var(--game-amber-deep)}.path-node[data-current=true] .path-node-button{background:var(--color-surface);box-shadow:0 6px 0 var(--game-line), 0 0 0 4px var(--tone), 0 0 0 10px #ef9f2773}.path-text{width:8rem;color:var(--color-muted);flex-direction:column;gap:3px;font-size:.8rem;line-height:1.2;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.path-label{color:var(--color-text);overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-weight:700;display:-webkit-box;overflow:hidden}.path-side-left{text-align:right;align-items:flex-end;right:calc(100% + 10px)}.path-side-right{text-align:left;align-items:flex-start;left:calc(100% + 10px)}.student-shell .path-text .level-pill{color:var(--color-muted);background:0 0;padding:0;font-size:.75rem}.student-shell .path-text .ladder{gap:4px;margin:0;padding:0;display:flex}.student-shell .path-text .ladder li{background:var(--game-locked-deep);border:0;border-radius:50%;width:10px;height:10px;padding:0;font-size:0}.student-shell .path-text .ladder li[data-status=done]{background:var(--game-amber)}.student-shell .path-text .ladder li[data-status=open]{background:var(--color-surface);box-shadow:inset 0 0 0 2px var(--tone)}.path-trophy-icon{cursor:default;border-radius:22px}.path-trophy[data-done=true] .path-trophy-icon{background:var(--game-amber);color:var(--color-text);box-shadow:0 6px 0 var(--game-amber-deep)}.path-trophy .path-label{color:var(--color-muted)}.path-node[data-open=true]{z-index:3}.path-pop{left:var(--space-4);right:var(--space-4);bottom:calc(var(--tabbar-height) + env(safe-area-inset-bottom,0px) + var(--space-3));z-index:15;max-width:26rem;padding:var(--space-3) var(--space-4) var(--space-4);border:2px solid var(--game-line);border-radius:var(--radius-card);background:var(--color-surface);gap:var(--space-3);flex-direction:column;margin:0 auto;animation:.2s ease-out game-sheet;display:flex;position:fixed;box-shadow:0 10px 30px #1b1a3a2e}.path-pop-head{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}@media (width>=48rem){.path-pop{bottom:var(--space-5)}}.path-pop-title{font-size:1.05rem;font-family:var(--font-heading);margin:0;font-weight:700}.path-pop-steps{gap:var(--space-1);margin:0;padding:0;list-style:none;display:flex}.path-pop-steps li{padding:2px var(--space-2);border-radius:var(--radius-s);background:var(--color-info-bg);color:var(--color-muted);font-size:.8rem;font-weight:700}.path-pop-steps li[data-status=done]{background:var(--color-success-bg);color:var(--color-success)}.path-pop-steps li[data-status=open]{background:var(--color-hint-bg);color:var(--color-hint)}.path-always{margin:var(--space-4) 0 0;color:var(--color-muted);font-size:1rem}@media (width>=64rem){.student-shell .path-page{max-width:var(--page-width-wide);display:flex}}.student-shell .problem>.report-open{color:var(--color-muted);align-self:flex-end;font-size:.8rem}.today-hello{align-items:center;gap:var(--space-3);display:flex}.today-hello .greeting{font-family:var(--font-heading);color:var(--color-text);font-size:1.15rem;font-weight:700}.today-rest{align-items:center;gap:var(--space-3);display:flex}.today-rest p{margin:0}.feedback-mascot{float:right;margin:-6px 0 0 var(--space-2)}.finished-mascot{animation:.45s ease-out game-pop}.path-node-mascot{margin-top:6px}.student-shell .profile-card{flex-direction:column;align-items:flex-start;display:flex}.student-shell .profile-card[data-game=true]{text-align:center;background:var(--color-primary);color:var(--color-on-primary);box-shadow:0 6px 0 var(--game-indigo-deep);border:0;align-items:center}.student-shell .profile-card[data-game=true] h2,.student-shell .profile-card[data-game=true] .hint,.student-shell .profile-card[data-game=true] .link-button{color:var(--color-on-primary)}.profile-mascot{padding:var(--space-2);border-radius:var(--radius-card);background:var(--game-indigo-deep)}.quests{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.quest{align-items:center;gap:var(--space-3);color:var(--color-primary);display:flex}.quest[data-code=practice]{color:var(--game-amber)}.quest[data-code=clean]{color:#0b7a70}.quest-body{flex:1;min-width:0}.quest-name{color:var(--color-text);margin:0 0 6px;font-size:.9rem;font-weight:600}.quest-bar{background:var(--color-info-bg);border-radius:999px;height:12px;overflow:hidden}.quest-bar-fill{border-radius:inherit;background:currentColor;height:100%;transition:width .4s}.quest[data-done=true] .quest-name{color:var(--color-success)}.quest-count{text-align:right;min-width:2.2rem;color:var(--color-muted);font-size:.85rem;font-weight:700}.chest-row{align-items:center;gap:var(--space-3);margin-top:var(--space-4);padding:var(--space-3);border-radius:var(--radius-m);background:var(--color-hint-bg);display:flex}.chest-row p{margin:0;font-size:.9rem}.chest-row .button{flex:1}.chest-row[data-ready=true] svg{animation:.6s .3s 2 game-shake}.student-shell .group-goal{color:var(--color-on-primary);background:#0b7a70;border:0;box-shadow:0 5px #075a52}.group-goal-head{justify-content:space-between;align-items:baseline;display:flex}.student-shell .group-goal h2{color:var(--color-on-primary)}.group-goal-count{font-family:var(--font-heading);font-weight:800}.group-goal p{margin:var(--space-1) 0 var(--space-3);font-size:.9rem}.group-goal-bar{color:var(--game-amber);background:#075a52}.wardrobe-grid,.achievements-grid,.streak-badges{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.wardrobe-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.wardrobe-item{width:100%;min-height:6.5rem;padding:var(--space-2) 2px;border-radius:var(--radius-m);background:var(--color-info-bg);font:inherit;color:var(--color-text);cursor:pointer;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.72rem;font-weight:700;line-height:1.15;display:flex;box-shadow:inset 0 0 0 2px #0000}.wardrobe-item[aria-pressed=true]{background:var(--color-success-bg);box-shadow:inset 0 0 0 2px var(--color-success)}.wardrobe-item:disabled{cursor:default}.wardrobe-grid li[data-owned=false] .wardrobe-item{color:var(--color-muted)}.wardrobe-grid li[data-owned=false] svg{filter:grayscale();opacity:.45}.achievements-head{justify-content:space-between;align-items:baseline;display:flex}.achievements-grid{gap:var(--space-3) var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr))}.achievement{text-align:center;color:var(--color-muted);flex-direction:column;align-items:center;gap:4px;font-size:.75rem;line-height:1.2;display:flex}.achievement-badge{background:var(--game-locked);color:#8e8da3;border-radius:1.1rem;justify-content:center;align-items:center;width:3.6rem;height:3.6rem;display:flex}.achievement[data-open=true]{color:var(--color-text);font-weight:700}.achievement[data-open=true] .achievement-badge{background:var(--game-amber);color:var(--color-text);box-shadow:0 4px 0 var(--game-amber-deep)}.achievement-new{background:var(--color-primary);color:var(--color-on-primary);border-radius:999px;padding:0 6px;font-size:.7rem}.achievement-progress{font-weight:700}.student-shell .streak-hero{align-items:center;gap:var(--space-4);background:var(--color-hint-bg);border:0;display:flex}.streak-number{font-family:var(--font-heading);margin:0;font-size:3.2rem;font-weight:800;line-height:1}.streak-label{margin:var(--space-1) 0;font-weight:700}.streak-hero .hint{margin:0}.week-row{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0;padding:0;list-style:none;display:grid}.week-row li{flex-direction:column;align-items:center;gap:6px;display:flex}.week-day{color:var(--color-muted);font-size:.75rem;font-weight:700}.week-dot{background:var(--color-info-bg);color:#8e8da3;border-radius:50%;justify-content:center;align-items:center;width:2.4rem;height:2.4rem;display:flex}.week-row li[data-state=done] .week-dot{background:var(--game-amber);color:var(--color-text)}.week-row li[data-state=today] .week-dot{box-shadow:inset 0 0 0 3px var(--color-primary)}.week-row li[data-state=ahead] .week-dot{box-shadow:inset 0 0 0 2px var(--game-line);background:0 0}.streak-rest{align-items:center;gap:var(--space-3);margin-top:var(--space-3);padding:var(--space-2) var(--space-3);border-radius:var(--radius-m);background:var(--color-info-bg);font-size:.85rem;display:flex}.streak-rest p{margin:0}.streak-badges{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));font-size:.8rem}.streak-badges li{color:var(--color-muted);flex-direction:column;align-items:center;gap:6px;display:flex}.streak-badge{background:var(--game-locked);width:3.4rem;height:3.4rem;font-family:var(--font-heading);color:var(--color-muted);border-radius:1rem;justify-content:center;align-items:center;font-size:1.2rem;font-weight:800;display:flex}.streak-badges li[data-open=true]{color:var(--color-text);font-weight:700}.streak-badges li[data-open=true] .streak-badge{background:var(--game-amber);color:var(--color-text);box-shadow:0 4px 0 var(--game-amber-deep)}a.game-chip{color:var(--color-text);text-decoration:none}@media (width<=47.99rem){.student-shell{height:100dvh;min-height:0;overflow:hidden}.student-shell .student-main{overscroll-behavior-y:contain;min-height:0;padding-bottom:0;overflow-y:auto}.student-shell .tabbar{flex:none;position:relative;inset:auto}}.progress-sub{margin:calc(-1 * var(--space-2)) 0 0}.segmented{border-radius:var(--radius-m);background:var(--color-info-bg);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;display:grid}.segmented-tab{min-height:2.75rem;color:var(--color-muted);font:inherit;font-family:var(--font-heading);cursor:pointer;background:0 0;border:0;border-radius:.75rem;font-weight:700}.segmented-tab[aria-selected=true]{background:var(--color-surface);color:var(--color-primary);box-shadow:0 2px 0 var(--game-line);font-weight:800}.segmented-tab:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.progress-panel{gap:var(--space-3);flex-direction:column;display:flex}.card-head{justify-content:space-between;align-items:baseline;gap:var(--space-2);display:flex}.student-shell .card-head h2{margin-bottom:0}.soft-note{margin:var(--space-3) 0 0;padding:var(--space-2) var(--space-3);border-radius:var(--radius-s);background:var(--color-hint-bg);font-size:.85rem;line-height:1.4}.soft-note[data-tone=good]{background:var(--color-success-bg);color:var(--color-success);font-weight:600}.stat-delta{color:var(--color-success);font-size:.8rem;font-weight:700}.stat-delta[data-sign=down]{color:var(--color-muted)}.student-shell .week-hero{background:var(--color-primary);color:var(--color-on-primary);box-shadow:0 6px 0 var(--game-indigo-deep);border:0}.week-hero-head{align-items:center;gap:var(--space-3);display:flex}.student-shell .week-hero h2{color:var(--color-on-primary);margin:0;font-size:1.15rem}.week-hero-head p{color:var(--game-on-indigo-muted);margin:4px 0 0;font-size:.85rem}.week-stats{gap:var(--space-2);margin-top:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.week-stat{padding:var(--space-3);border-radius:var(--radius-m);background:var(--color-surface);color:var(--color-text)}.week-stat-name{color:var(--color-muted);margin:0;font-size:.75rem;font-weight:600}.week-stat-value{font-family:var(--font-heading);margin:2px 0 0;font-size:1.6rem;font-weight:800}.week-stat-value small{color:var(--color-muted);font-size:.9rem}.day-bars{height:9.5rem;margin-top:var(--space-3);grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:6px;display:grid}.day-bar{color:var(--color-locked);flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;display:flex}.day-bar-value{color:var(--color-text);font-size:.75rem;font-weight:700}.day-bar-fill{background:var(--game-amber);border-radius:8px 8px 4px 4px;width:100%}.day-bar[data-today=true] .day-bar-fill{background:var(--color-primary)}.day-bar[data-ahead=true] .day-bar-fill,.day-bar[data-rest=true] .day-bar-fill{background:var(--color-info-bg)}.day-bars-labels{text-align:center;color:var(--color-muted);grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:6px;font-size:.75rem;font-weight:600;display:grid}.day-bars-labels [data-today=true]{color:var(--color-primary);font-weight:800}.records{gap:var(--space-2);text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.records>div{padding:var(--space-3) 4px;border-radius:var(--radius-m);background:var(--color-hint-bg);flex-direction:column;font-size:.75rem;line-height:1.2;display:flex}.records>div[data-tone=indigo]{background:var(--color-info-bg)}.records>div[data-tone=green]{background:var(--color-success-bg)}.records b{font-family:var(--font-heading);font-size:1.4rem;font-weight:800}.program-head{align-items:center;gap:var(--space-4);display:flex}.student-shell .program-head h2{margin-bottom:var(--space-1)}.program-head .hint{margin:0}.program-ring-number{font-family:var(--font-heading);fill:var(--color-text);font-size:9px;font-weight:800}.program-ring-total{fill:var(--color-muted);font-size:4px}.unit-grid{margin:var(--space-4) 0 0;gap:var(--space-2);flex-direction:column;padding:0;list-style:none;display:flex}.unit-grid li{align-items:center;gap:var(--space-2);grid-template-columns:7.5rem 1fr;display:grid}.unit-grid-name{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:600;overflow:hidden}.unit-grid-cells{flex-wrap:wrap;gap:4px;display:flex}.unit-grid-cell,.unit-grid-legend li:before{background:var(--game-locked);border-radius:6px;width:1.25rem;height:1.25rem}.unit-grid-cell[data-level="1"],.unit-grid-legend li[data-level="1"]:before{background:var(--game-indigo-light)}.unit-grid-cell[data-level="2"],.unit-grid-legend li[data-level="2"]:before{background:var(--color-primary)}.unit-grid-cell[data-level="3"],.unit-grid-legend li[data-level="3"]:before{background:var(--game-amber)}.unit-grid-legend{margin:var(--space-3) 0 0;gap:var(--space-3);color:var(--color-muted);flex-wrap:wrap;padding:0;font-size:.75rem;list-style:none;display:flex}.unit-grid-legend li{align-items:center;gap:4px;display:inline-flex}.unit-grid-legend li:before{content:"";border-radius:3px;width:.65rem;height:.65rem}.program-link{margin-top:var(--space-3);font-weight:700;display:inline-block}.trap-list{margin:var(--space-3) 0 0;gap:var(--space-2);flex-direction:column;padding:0;list-style:none;display:flex}.trap{padding:var(--space-3);border:2px solid var(--game-red-line);border-radius:var(--radius-m);background:var(--game-red-bg)}.trap[data-won=true]{border-color:var(--game-green-line);background:var(--color-success-bg)}.trap-title{margin:0;font-size:.9rem;font-weight:700}.trap[data-won=true] .trap-title{color:var(--color-success)}.trap-progress{align-items:center;gap:var(--space-2);margin:var(--space-2) 0 0;color:var(--game-red);font-size:.8rem;font-weight:700;display:flex}.trap-dots{gap:5px;display:inline-flex}.trap-dots span{background:var(--color-surface);width:.85rem;height:.85rem;box-shadow:inset 0 0 0 2px var(--game-red);border-radius:50%}.trap-dots span[data-on=true]{background:var(--color-success);box-shadow:none}.exam-countdown{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.exam-tile{padding:var(--space-3) 4px;border:2px solid var(--game-line);border-radius:var(--radius-m);background:var(--color-surface);text-align:center}.exam-tile p{margin:0}.exam-name{color:var(--color-muted);font-size:.75rem;font-weight:700}.exam-days{font-family:var(--font-heading);font-size:1.6rem;font-weight:800}.exam-when{color:var(--color-muted);font-size:.72rem}.coverage-value{font-family:var(--font-heading);font-size:1.25rem;font-weight:800}.coverage-bar{height:18px;margin-top:var(--space-3);background:var(--color-info-bg);border-radius:999px;position:relative}.coverage-fill{border-radius:inherit;background:var(--game-amber);height:100%;box-shadow:inset 0 -4px #0000001f}.coverage-plan{background:var(--color-text);border-radius:2px;width:3px;position:absolute;top:-6px;bottom:-6px}.coverage-plan-label{color:var(--color-muted);margin:6px 0 0;font-size:.75rem}.pill{padding:2px var(--space-2);background:var(--color-hint-bg);border-radius:999px;font-size:.75rem;font-weight:700}.grade-list{margin:var(--space-2) 0 0;padding:0;list-style:none}.grade-list li{gap:2px var(--space-3);padding:var(--space-2) 0;border-bottom:2px solid var(--color-info-bg);grid-template-columns:1fr auto;display:grid}.grade-list li:last-child{border-bottom:0}.grade-title{font-weight:600}.grade-value{font-family:var(--font-heading);color:var(--color-success);font-weight:800}.grade-value[data-band=mid]{color:var(--color-hint)}.grade-value[data-band=low]{color:var(--game-red)}.grade-meta{color:var(--color-muted);grid-column:1/-1;font-size:.75rem}.teacher-quote{margin:var(--space-2) 0 0;padding:var(--space-2) var(--space-3);border-radius:var(--radius-s);background:var(--color-info-bg);font-size:.85rem;line-height:1.45}.teacher-quote span{color:var(--color-muted);display:block}.points-card h2{align-items:center;gap:var(--space-2);color:var(--color-text);display:inline-flex}.points-card h2 svg{color:var(--color-primary)}.student-shell .points-card .balance-value{margin:0;font-size:1.6rem}.goal{margin-top:var(--space-3)}.goal-head{justify-content:space-between;font-size:.85rem;font-weight:600;display:flex}.goal-bar{background:var(--color-info-bg);border-radius:999px;height:12px;margin-top:6px;overflow:hidden}.goal-bar>div{border-radius:inherit;background:var(--color-primary);height:100%}.history-box{margin-top:var(--space-3);padding-top:var(--space-2);border-top:2px solid var(--color-info-bg)}.history-box summary{cursor:pointer;color:var(--color-primary);min-height:var(--touch-target);align-items:center;font-weight:700;display:flex}@media (width>=64rem){.student-shell .progress-page{max-width:var(--page-width-wide);display:flex}}.exam-countdown[data-count="1"]{grid-template-columns:1fr}.exam-countdown[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.share-week{align-items:center;gap:var(--space-4);display:flex}.share-preview{border-radius:var(--radius-m);background:var(--color-primary);width:4.6rem;height:5.75rem;color:var(--color-on-primary);flex-direction:column;flex:none;justify-content:center;align-items:center;gap:2px;display:flex}.share-preview b{font-family:var(--font-heading);font-size:1.3rem}.share-preview span{color:var(--game-on-indigo-muted);font-size:.65rem}.share-preview i{background:var(--game-amber);border-radius:3px;width:2.1rem;height:6px;margin-top:4px}.share-body{align-items:flex-start;gap:var(--space-2);flex-direction:column;flex:1;min-width:0;display:flex}.student-shell .share-body h2,.share-body .hint{margin:0}.goal-bar-amber>div{background:var(--game-amber)}.goal-reached{color:var(--color-success);margin:6px 0 0;font-size:.85rem;font-weight:700}.notebook-entry{align-items:center;gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-card);background:var(--color-primary);color:var(--color-on-primary);box-shadow:0 6px 0 var(--game-indigo-deep);text-decoration:none;display:flex}.notebook-entry-icon{background:var(--game-amber);width:2.75rem;height:2.75rem;color:var(--color-text);font-family:var(--font-heading);border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:800;display:flex}.notebook-entry-text{color:var(--game-on-indigo-muted);flex-direction:column;flex:1;font-size:.85rem;display:flex}.notebook-entry-text b{font-family:var(--font-heading);color:var(--color-on-primary);font-size:1.05rem}.growth-list{margin:var(--space-3) 0 0;gap:var(--space-2);flex-direction:column;padding:0;list-style:none;display:flex}.growth-list li{justify-content:space-between;gap:var(--space-3);padding:var(--space-2) var(--space-3);border-radius:var(--radius-s);background:var(--color-info-bg);font-size:.85rem;display:flex}.growth-list li[data-line=struggledNow],.growth-list li[data-line=okNow]{background:var(--color-success-bg)}.growth-skill{font-weight:600}.growth-list li[data-line=struggledNow] .growth-state,.growth-list li[data-line=okNow] .growth-state{color:var(--color-success);white-space:nowrap;font-weight:700}.growth-state{color:var(--color-muted)}.notebook-intro{align-items:center;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-m);background:var(--color-hint-bg);display:flex}.notebook-intro p{margin:0}.notebook-list{gap:var(--space-3);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.notebook-card{padding:var(--space-4);border:2px solid var(--game-line);border-radius:var(--radius-card);background:var(--color-surface);gap:var(--space-3);flex-direction:column;display:flex}.notebook-card[data-fixed=true]{border-color:var(--game-green-line);background:var(--color-success-bg)}.notebook-meta{justify-content:space-between;gap:var(--space-2);color:var(--color-muted);font-size:.75rem;display:flex}.notebook-trap{padding:0 var(--space-2);border-radius:var(--radius-s);background:var(--game-red-bg);color:var(--game-red);font-weight:700}.notebook-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:1.2rem;line-height:1.4}.notebook-row{justify-content:space-between;align-items:center;gap:var(--space-3);font-size:.9rem;display:flex}.notebook-wrong{color:var(--game-red);font-weight:700}.notebook-ok{color:var(--color-success);font-weight:800;font-family:var(--font-heading);margin:0}.notebook-solve{gap:var(--space-3);flex-direction:column;display:flex}.notebook-rule{text-align:center}:root{--brand-indigo:#3c3489;--brand-amber:#ef9f27;--brand-night:#1b1a3a;--brand-ground:#f6f7fb;--brand-white:#fff;--brand-indigo-pressed:#302a6e;--brand-indigo-soft:#ecebf3;--brand-amber-soft:#fdf1df;--brand-muted:#5d5c74;--brand-line:#dcdbe8;--font-heading:"Geologica Variable", "Onest Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-body:"Onest Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}@font-face{font-family:Geologica Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geologica-cyrillic-ext-wght-normal-C8B9Chlh.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geologica Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geologica-cyrillic-wght-normal-DbeVG3Ps.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geologica Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geologica-latin-ext-wght-normal-DZyYlgcm.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geologica Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geologica-latin-wght-normal-BBL8hQxZ.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-cyrillic-ext-wght-normal-DOFToQv1.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-cyrillic-wght-normal-DayYxulF.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-ext-wght-normal-QAhDxQuo.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Onest Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/onest-latin-wght-normal-Dun_Rd-l.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--color-bg:#f6f7fb;--color-surface:#fff;--color-text:#1b1a3a;--color-muted:#5d5c74;--color-border:#dcdbe8;--color-field-border:#85849b;--color-primary:#3c3489;--color-primary-pressed:#302a6e;--color-on-primary:#fff;--color-success:#157a3a;--color-success-bg:#e6f6ec;--color-danger:#b91c1c;--color-danger-bg:#fdeceb;--color-hint:#8a5a00;--color-hint-bg:#fdf1df;--color-info-bg:#ecebf3;--color-level-0:#ecebf3;--color-level-0-text:#5d5c74;--color-level-1:#fdf1df;--color-level-1-text:#8a5a00;--color-level-2:#dcd9f2;--color-level-2-text:#3c3489;--color-level-3:#bfe8cd;--color-level-3-text:#14532d;--color-key:#ecebf3;--color-key-pressed:#dcd9f2;--color-locked:#8e8da3;--color-backdrop:#1b1a3a73;--color-drawer-backdrop:#1b1a3a59;--radius-s:.5rem;--radius-m:.9rem;--radius-l:1.25rem;--radius-button:.875rem;--radius-field:.75rem;--radius-card:1.25rem;--shadow-card:0 1px 2px #1b1a3a0f, 0 6px 20px #1b1a3a0d;--shadow-bar:0 -4px 20px #1b1a3a12;--shadow-header:0 4px 20px #1b1a3a0f;--focus-ring:0 0 0 3px #3c348947;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--tabbar-height:3.75rem;--touch-target:3rem;--page-width:30rem;--page-width-wide:46rem;--page-width-desk:72rem}*,:before,:after{box-sizing:border-box}body{background:var(--color-bg);color:var(--color-text);font-family:var(--font-body);-webkit-text-size-adjust:100%;margin:0}a{color:var(--color-primary);text-underline-offset:.18em}h1,h2,h3{font-family:var(--font-heading);letter-spacing:-.01em;font-weight:600}.page-logo{margin-bottom:var(--space-4);display:block}.auth-page{padding-top:2.5rem}.auth-page>.page-logo{margin:0 auto var(--space-5)}.auth-page>h1{margin:0 0 var(--space-4);text-align:center}.auth-page .form{padding:var(--space-5) var(--space-4);border-radius:var(--radius-card);background:var(--color-surface);box-shadow:var(--shadow-card)}.auth-page .form .button{width:100%}.auth-page a.button{width:100%;text-decoration:none}.page{max-width:28rem;margin:0 auto;padding:1.5rem 1rem}.form{flex-direction:column;gap:1rem;display:flex}.field{border:0;flex-direction:column;gap:.3rem;min-width:0;margin:0;padding:0;display:flex}.field input:not([type=radio]):not([type=checkbox]),.field select{font:inherit;min-height:var(--touch-target);border:1px solid var(--color-field-border);border-radius:var(--radius-field);background-color:var(--color-surface);color:var(--color-text);padding:.65rem .9rem;transition:border-color .15s,box-shadow .15s}select{max-width:100%}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%233c3489' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .9rem center;background-repeat:no-repeat;padding-right:2.5rem}.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,.dialog textarea:focus-visible,.review-decision textarea:focus-visible{border-color:var(--color-primary);box-shadow:var(--focus-ring);outline:none}.password-row{display:flex;position:relative}.password-row input{flex:1;min-width:0;padding-right:6rem}.password-toggle{min-width:var(--touch-target);min-height:var(--touch-target);font:inherit;border-radius:var(--radius-field);color:var(--color-primary);cursor:pointer;background:0 0;border:0;padding:0 .9rem;font-weight:600;position:absolute;top:0;bottom:0;right:0}.password-toggle:focus-visible{box-shadow:var(--focus-ring);outline:none}.field input[aria-invalid=true]:not([type=radio]){border-color:var(--color-danger)}.choice{align-items:flex-start;gap:.5rem;display:flex}.auth-page .choice{padding-block:.625rem;line-height:1.25rem}.auth-page .choice input{flex:none;width:1.25rem;height:1.25rem;margin:0}.button{min-height:var(--touch-target);font:inherit;font-family:var(--font-heading);border-radius:var(--radius-button);background:var(--color-primary);color:var(--color-on-primary);cursor:pointer;border:0;justify-content:center;align-items:center;gap:.5rem;padding:.7rem 1.25rem;font-weight:600;transition:background-color .15s;display:inline-flex}.button:active:not(:disabled){background:var(--color-primary-pressed)}.button:focus-visible{box-shadow:var(--focus-ring);outline:none}.button:disabled{opacity:.6}.link-button{font:inherit;color:var(--color-primary);text-underline-offset:.18em;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.error{color:var(--color-danger);margin:0}.hint{color:var(--color-muted);font-size:.85rem}.install-steps{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.push-settings,.calendar-card,.push-prompt{gap:.75rem;display:grid}.push-settings>*,.calendar-card>*,.push-prompt>*{margin:0}.push-switch{min-height:var(--touch-target);align-items:center;gap:.75rem;display:flex}.push-switch input{width:1.4rem;height:1.4rem;accent-color:var(--color-primary);flex:none;margin:0}.calendar-link{width:100%;font:inherit}.warning{background:var(--color-hint-bg);color:var(--color-hint);border-radius:.5rem;margin:0;padding:.6rem .8rem;font-weight:600}.invite-from{flex-direction:column;gap:.6rem;margin:0 0 1rem;display:flex}.invite-from p{margin:0}.page-wide{max-width:60rem}.icon-button{border-radius:var(--radius-field);width:2.5rem;height:2.5rem;color:var(--brand-muted);cursor:pointer;background:0 0;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover{background:var(--brand-ground);color:var(--brand-indigo)}.icon-button:focus-visible{box-shadow:var(--focus-ring);outline:none}.staff-topbar{z-index:30;min-height:3.5rem;padding:.4rem 1rem .4rem .5rem;padding-top:max(.4rem, env(safe-area-inset-top));background:var(--brand-white);border-bottom:1px solid var(--brand-line);align-items:center;gap:.5rem;display:flex;position:sticky;top:0}.staff-topbar>svg{flex:none}.staff-menu-button{width:2.75rem;height:2.75rem;color:var(--brand-night)}.staff-topbar-mode{background:var(--brand-indigo-soft);color:var(--brand-indigo);font-family:var(--font-heading);white-space:nowrap;border-radius:999px;margin-left:auto;padding:.2rem .65rem;font-size:.85rem;font-weight:600}.staff-backdrop{z-index:40;background:var(--color-drawer-backdrop);position:fixed;inset:0}.staff-header{background:var(--brand-white);flex-direction:column;gap:1.25rem;padding:1rem .75rem;display:flex}.staff-header>*{flex-shrink:0}.staff-brand{justify-content:space-between;align-items:center;gap:.5rem;min-height:2.5rem;padding-left:.5rem;display:flex}.staff-brand>svg{flex:none}.staff-nav{scrollbar-width:thin;flex-direction:column;flex:1 1 0;gap:.15rem;min-height:0;display:flex;overflow-y:auto}.staff-nav a{border-radius:var(--radius-field);min-height:2.75rem;color:var(--brand-muted);align-items:center;gap:.75rem;padding:.5rem .75rem;font-weight:500;text-decoration:none;display:flex}.staff-nav a>.icon{flex:none}.staff-nav-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.staff-nav a:hover{background:var(--brand-ground);color:var(--brand-indigo)}.staff-nav a[aria-current=page]{background:var(--brand-indigo-soft);color:var(--brand-indigo);font-weight:600}.staff-nav a:focus-visible{box-shadow:inset 0 0 0 2px var(--brand-indigo);outline:none}.staff-mode-tabs{border-radius:var(--radius-button);background:var(--brand-ground);gap:.2rem;padding:.2rem;display:flex}.staff-mode-tabs>button{min-height:2.25rem;font:inherit;font-family:var(--font-heading);border-radius:var(--radius-field);color:var(--brand-muted);cursor:pointer;background:0 0;border:0;flex:1;justify-content:center;align-items:center;padding:.35rem .75rem;font-weight:600;transition:background-color .15s,color .15s;display:inline-flex}.staff-mode-tabs>button:hover{color:var(--brand-indigo)}.staff-mode-tabs>button[aria-selected=true]{background:var(--brand-indigo);color:var(--brand-white)}.staff-mode-tabs>button:focus-visible{box-shadow:var(--focus-ring);outline:none}.account-block{border-top:1px solid var(--brand-line);align-items:center;gap:.65rem;padding:.75rem 0 0 .5rem;display:flex;position:relative}.account-initials{background:var(--brand-indigo-soft);width:2.25rem;height:2.25rem;color:var(--brand-indigo);font-family:var(--font-heading);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:.85rem;font-weight:600;display:inline-flex}.account-text{flex-direction:column;flex:1;min-width:0;line-height:1.25;display:flex}.account-name{color:var(--brand-night);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.account-role{color:var(--brand-muted);font-size:.8rem}.account-toggle{cursor:pointer;background:0 0;border:0;border-radius:50%;padding:0}.account-toggle:focus-visible{box-shadow:var(--focus-ring);outline:none}.account-popover{z-index:45;border:1px solid var(--brand-line);border-radius:var(--radius-field);background:var(--brand-white);width:max-content;min-width:12rem;max-width:16rem;box-shadow:var(--shadow-card);flex-direction:column;gap:.25rem;padding:.5rem;display:flex;position:absolute;bottom:0;left:calc(100% + .75rem)}.account-popover .account-name{padding:.25rem .5rem}.account-popover-signout{border-radius:var(--radius-field);min-height:2.5rem;color:var(--brand-night);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.5rem;padding:.4rem .5rem;display:flex}.account-popover-signout:hover{background:var(--brand-ground);color:var(--brand-indigo)}.account-popover-signout:focus-visible{box-shadow:var(--focus-ring);outline:none}@media not all and (width>=64rem){.staff-header{z-index:41;width:min(18rem,100vw - 3rem);padding-top:max(1rem, env(safe-area-inset-top));padding-bottom:max(1rem, env(safe-area-inset-bottom));border-right:1px solid var(--brand-line);visibility:hidden;transition:transform .2s,visibility 0s linear .2s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.staff-header.is-open{visibility:visible;transition:transform .2s;transform:none}}@media (prefers-reduced-motion:reduce){.staff-header,.staff-header.is-open{transition:none}}.import-summary,.stat-list{flex-wrap:wrap;gap:.75rem 2rem;margin:0 0 1rem;display:flex}.import-summary dt,.stat-list dt{color:var(--color-muted);font-size:.85rem}.import-summary dd,.stat-list dd{margin:0;font-size:1.5rem;font-weight:600}.alert-list{margin:0 0 1rem;padding:0;list-style:none}.alert-item{border-bottom:1px solid var(--color-border);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.5rem 1rem;padding:.6rem 0;display:flex}.alert-item p{margin:.25rem 0}.table{border-collapse:collapse;width:100%}.table th,.table td{border-bottom:1px solid var(--color-border);text-align:left;vertical-align:top;padding:.4rem .6rem}.table td:first-child{white-space:nowrap}.button-secondary{background:var(--color-surface);color:var(--color-primary);box-shadow:inset 0 0 0 1.5px var(--color-primary)}.button-secondary:active:not(:disabled){background:var(--color-info-bg)}.button-danger{background:var(--color-danger)}.lesson-badge{background:var(--color-info-bg);color:var(--color-primary);border-radius:999px;padding:0 .5rem;font-size:.8rem}.lesson-item-cancelled .lesson-time,.lesson-item-cancelled .lesson-name{color:var(--color-muted)}.lesson-status{margin-bottom:1rem}.lesson-change-modes{flex-wrap:wrap;gap:.5rem 1.5rem;display:flex}.lesson-change-modes label,.lesson-change-notify{align-items:center;gap:.5rem;display:flex}.lesson-list{margin:0 0 1rem;padding:0;list-style:none}.lesson-item{border-bottom:1px solid var(--color-border);flex-wrap:wrap;align-items:center;gap:.25rem 1rem;padding:.6rem 0;display:flex}.lesson-time{font-variant-numeric:tabular-nums;min-width:4.5rem;font-weight:600}.lesson-name{flex-direction:column;flex:1;min-width:10rem;display:flex}.lesson-tabs{border-bottom:1px solid var(--color-border);flex-wrap:wrap;gap:.25rem;margin-bottom:1rem;display:flex}.lesson-tab{font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:.5rem 1rem}.lesson-tab[aria-selected=true]{border-bottom-color:var(--color-primary);font-weight:600}.skill-picker>legend{padding:0}.skill-picker-list{border:1px solid var(--color-field-border);border-radius:.5rem;max-height:18rem;padding:.5rem .75rem;overflow-y:auto}.skill-unit{border:0;flex-direction:column;gap:.25rem;margin:0 0 .75rem;padding:0;display:flex}.skill-unit legend{margin-bottom:.25rem;padding:0;font-weight:600}.attendance-list{flex-direction:column;gap:.5rem;margin:0 0 1rem;padding:0;list-style:none;display:flex}.attendance-list li{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.attendance-name{flex:10rem;min-width:0}.attendance-buttons{flex-wrap:wrap;gap:.5rem;display:flex}.attendance-buttons .button{padding-inline:.9rem}.attendance-head{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:0 0 .75rem;display:flex}.attendance-head p{margin:0;font-weight:600}.lesson-delete{border-top:1px solid var(--color-border);margin-top:2rem;padding-top:1rem}.check-tab-counter{margin:.5rem 0;font-size:1.5rem;font-weight:600}.check-tab-group{flex-direction:column;gap:.25rem;margin:.75rem 0;padding:0;list-style:none;display:flex}.check-tab-scroll{overflow-x:auto}.check-tab-actions{flex-wrap:wrap;gap:.5rem;display:flex}.check-tab-toggle{min-width:44px;min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;margin-left:.25rem;padding:.25rem .5rem}.check-tab-toggle:before{content:"▸"}.check-tab-toggle[aria-expanded=true]:before{content:"▾"}.table tr.check-tab-detail>td{white-space:normal}.check-tab-detail-body{box-sizing:border-box;max-width:calc(100vw - 3.2rem);position:sticky;left:0}.check-tab-items{flex-direction:column;gap:.5rem;margin:0;padding-left:1.5rem;display:flex}.check-tab-items p{margin:0}.check-tab-item-facts{flex-wrap:wrap;gap:.25rem .75rem;display:flex}.check-tab-wrong,.check-tab-fast{font-weight:600}.homework-tab-problems{flex-direction:column;gap:.75rem;margin:1rem 0;padding-left:1.5rem;display:flex}.homework-tab-problems .card{border:1px solid var(--color-border);border-radius:.5rem;padding:.75rem}.homework-tab-problems p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 .5rem}.homework-swap{background:var(--color-bg);border-radius:.5rem;margin-top:.5rem;padding:.5rem}.homework-candidates{flex-direction:column;gap:.5rem;margin:0 0 .5rem;padding:0;list-style:none;display:flex}.homework-candidates li{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.homework-publish{margin-top:1rem}.review-card{flex-direction:column;gap:1rem;display:flex}.review-nav{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.review-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:1rem;display:grid}.review-layout-photos,.review-layout-main{min-width:0}.review-layout-main{flex-direction:column;display:flex}.review-layout-decision{order:-1}@media (width>=56.25rem){.review-layout{gap:var(--space-5);grid-template-columns:minmax(15rem,20rem) minmax(0,1fr)}.review-layout-main{grid-area:1/1;max-height:calc(100dvh - 2rem)}.review-layout-photos{grid-area:1/2}.review-layout-head{flex:none}.review-layout-results{min-height:8rem;padding-right:var(--space-1);flex:auto;overflow-y:auto}.review-layout-decision{padding:var(--space-2) var(--space-1) var(--space-1);border-top:1px solid var(--color-border);flex:none;order:0;position:relative}}.review-layout-main h2,.review-card h3{margin:0 0 .5rem}.review-badges{flex-wrap:wrap;gap:.5rem;margin:.5rem 0;display:flex}.review-badge{background:var(--color-info-bg);color:var(--color-primary);border-radius:999px;padding:0 .6rem;font-size:.85rem}.review-badge-ok{background:var(--color-success-bg);color:var(--color-success)}.review-badge-late{background:var(--color-danger-bg);color:var(--color-danger)}.review-results{flex-direction:column;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.review-result{border-radius:var(--radius-field);background:var(--color-surface);box-shadow:var(--shadow-card);border:0;padding:.6rem .75rem}.review-wrong{border-left-color:var(--color-danger);background:var(--color-danger-bg)}.review-ok{border-left-color:var(--color-success)}.review-result p{margin:0 0 .25rem}.review-body{white-space:pre-wrap;overflow-wrap:anywhere}.review-verdict{font-size:.85rem}.review-mistake{font-weight:600}.review-photo-viewer{flex-direction:column;gap:.75rem;display:flex}.review-photo-viewer-toolbar{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.review-photo-viewer-toolbar .button{padding-inline:var(--space-3);flex:auto}.review-photo-viewer-counter{text-align:center;font-variant-numeric:tabular-nums;flex:none;min-width:3.5rem}.review-photo-viewer-toolbar .button[aria-pressed=true]{background:var(--color-primary);color:var(--color-on-primary)}.review-photo-viewer-stage{background:var(--color-info-bg);border:1px solid var(--color-border);border-radius:.5rem;justify-content:center;align-items:center;height:clamp(18rem,100dvh - 15rem,60rem);display:flex;overflow:auto;container-type:size}.review-photo-viewer-box{display:contents}.review-photo-viewer-stage-actual{justify-content:normal;align-items:normal}.review-photo-viewer-box-sized{cursor:zoom-out;flex:none;margin:auto;display:block;position:relative}.review-photo-viewer-image{cursor:zoom-in;-webkit-user-select:none;user-select:none;flex:none;max-width:100%;max-height:100%;display:block}@supports (container-type:size){.review-photo-viewer-image{max-width:100cqw;max-height:100cqh}.review-photo-viewer-image-quarter{max-width:100cqh;max-height:100cqw}}.review-photo-viewer-image-actual{cursor:zoom-out;max-width:none;max-height:none;margin:auto}.review-photo-viewer-box-sized .review-photo-viewer-image{margin:0;position:absolute;top:50%;left:50%;translate:-50% -50%}.review-photo-viewer-thumbs{gap:.5rem;margin:0;padding:0 0 .25rem;list-style:none;display:flex;overflow-x:auto}.review-photo-viewer-thumbs li{flex:none}.review-photo-viewer-thumb{width:4.5rem;height:4.5rem;min-width:var(--touch-target);min-height:var(--touch-target);border:2px solid var(--color-border);border-radius:var(--radius-s);background:var(--color-surface);cursor:pointer;padding:.125rem;display:block;overflow:hidden}.review-photo-viewer-thumb-on{border-color:var(--color-primary)}.review-photo-viewer-thumb:focus-visible{box-shadow:var(--focus-ring);outline:none}.review-photo-viewer-thumb img{object-fit:contain;width:100%;height:100%;display:block}.review-photo-viewer-hint{margin:0}.review-decision textarea{font:inherit;border:1px solid var(--color-field-border);border-radius:var(--radius-field);width:100%;padding:.6rem .75rem}.review-buttons .button{min-width:11rem}.review-notebook{margin-bottom:1rem}.review-notebook-title{margin:0 0 .5rem;font-weight:600}.review-notebook-buttons{gap:.5rem;display:flex}.review-notebook-buttons:focus-visible{box-shadow:var(--focus-ring);border-radius:var(--radius-field);outline:none}.review-notebook-button{min-width:var(--touch-target);min-height:var(--touch-target);font:inherit;font-family:var(--font-heading);border:1.5px solid var(--color-field-border);border-radius:var(--radius-button);background:var(--color-surface);color:var(--color-text);cursor:pointer;font-weight:600}.review-notebook-button-on{border-color:var(--color-primary);background:var(--color-primary);color:var(--color-on-primary)}.review-notebook-button:focus-visible{box-shadow:var(--focus-ring);outline:none}.review-notebook-button:disabled{opacity:.6}.review-notebook-legend{margin:.5rem 0 0;padding:0;font-size:.9rem;list-style:none}.review-notebook-legend li{margin-bottom:.25rem}.review-notebook-num{min-width:1rem;font-weight:600;display:inline-block}.review-notebook-legend-summary{display:none}.review-notebook-chosen{margin:.5rem 0 0}.review-notebook-preview{margin:.5rem 0 0;font-weight:600}@media (width>=56.25rem){.review-layout-head h2{margin:0 0 .15rem}.review-layout-head .hint,.review-layout-head .review-badges{margin:0 0 .25rem;font-size:.8rem;line-height:1.3}.review-layout-results h3{margin:0 0 .15rem;font-size:1rem}.review-layout-results section>p{margin:0 0 .2rem;font-size:.85rem}.review-layout-results section>p.hint{font-size:.75rem;line-height:1.3}.review-results{gap:.4rem}.review-result{padding:.4rem .6rem}.review-result p{margin:0 0 .1rem;font-size:.9rem;line-height:1.3}.review-decision .hint,.review-decision .error{margin:.3rem 0 0;font-size:.75rem;line-height:1.3}.review-notebook{margin-bottom:.4rem}.review-notebook-title{margin:0 0 .25rem;font-size:.9rem}.review-notebook-button{min-width:var(--touch-target);min-height:var(--touch-target);flex:1 1 0}.review-notebook-chosen,.review-notebook-preview{margin:.3rem 0 0;font-size:.85rem;line-height:1.3}.review-notebook-legend-summary{color:var(--color-primary);cursor:pointer;margin-top:.3rem;font-size:.8rem;display:block}.review-notebook-legend{z-index:1;max-height:60dvh;padding:var(--space-2);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-field);box-shadow:var(--shadow-card);margin:0;font-size:.8rem;line-height:1.3;position:absolute;bottom:100%;left:0;right:0;overflow-y:auto}.review-decision .field{gap:.15rem;font-size:.85rem}.review-decision textarea{resize:vertical;height:3.5rem;min-height:3.5rem;padding:.35rem .6rem}.review-buttons{gap:.5rem;margin:.5rem 0 0;display:flex}.review-buttons .button{min-width:0;min-height:var(--touch-target);flex:1 1 0;padding:.35rem .5rem}}.draft-homeworks{border-radius:var(--radius-field);background:var(--color-surface);box-shadow:var(--shadow-card);border:0;margin:0 0 1.5rem;padding:.75rem 1rem}.draft-homeworks p{margin:0 0 .25rem}.draft-homeworks .lesson-list{margin:0}.progress-picker{max-width:16rem;margin-bottom:1rem}.progress-picker select{font:inherit;border:1px solid var(--color-field-border);border-radius:var(--radius-field);padding:.6rem .8rem}.progress-notice{background:var(--color-success-bg);color:var(--color-success);border-radius:.5rem;margin:0 0 1rem;padding:.6rem .75rem}.progress-scroll{margin-bottom:.75rem;position:relative;overflow-x:auto}.progress-matrix{border-collapse:separate;border-spacing:2px}.progress-matrix th,.progress-matrix td{text-align:center;vertical-align:middle;padding:.4rem .6rem}.progress-matrix thead th{vertical-align:bottom;min-width:5.5rem;max-width:9rem;font-weight:400}.progress-matrix thead th:first-child,.progress-matrix tbody th{z-index:1;background:var(--color-bg);text-align:left;min-width:9rem;font-weight:600;position:sticky;left:0}.progress-action{white-space:nowrap}.progress-action .link-button{font-size:.85rem}.progress-skill-id{font-weight:600;display:block}.progress-skill-title{color:var(--color-muted);font-size:.75rem;display:block}.progress-level{font-variant-numeric:tabular-nums;font-weight:600}.progress-matrix .progress-level{border-radius:.35rem}.level-0{background:var(--color-level-0);color:var(--color-level-0-text)}.level-1{background:var(--color-level-1);color:var(--color-level-1-text)}.level-2{background:var(--color-level-2);color:var(--color-level-2-text)}.level-3{background:var(--color-level-3);color:var(--color-level-3-text)}.progress-legend{flex-wrap:wrap;gap:.5rem 1.25rem;margin:0 0 1.5rem;padding:0;font-size:.85rem;list-style:none;display:flex}.progress-legend li{align-items:center;gap:.4rem;display:flex}.progress-legend .progress-level{text-align:center;border-radius:.35rem;min-width:1.5rem;padding:.1rem .4rem;display:inline-block}.progress-mistakes,.progress-reflections{margin:0 0 1.5rem;padding:0;list-style:none}.progress-mistakes li,.progress-reflections li{border-bottom:1px solid var(--color-border);flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem;padding:.5rem 0;display:flex}.progress-mistake-title{flex:1;min-width:10rem;font-weight:600}.progress-mistake-count{color:var(--color-muted);font-variant-numeric:tabular-nums}.progress-reflection-date{min-width:6rem;color:var(--color-muted);font-variant-numeric:tabular-nums}.progress-reflection-student{min-width:9rem;font-weight:600}.progress-reflection-text{white-space:pre-wrap;overflow-wrap:anywhere;flex:1;min-width:12rem}.dialog-backdrop{z-index:50;background:var(--color-backdrop);justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.dialog{border-radius:var(--radius-m);background:var(--color-surface);width:min(28rem,100%);max-height:100%;padding:1.25rem;overflow-y:auto}.dialog h2{margin:0 0 1rem;font-size:1.15rem}.dialog textarea{font:inherit;border:1px solid var(--color-field-border);border-radius:var(--radius-field);padding:.6rem .75rem}.dialog-buttons{flex-wrap:wrap;gap:.75rem;display:flex}.admin-split{grid-template-columns:minmax(0,16rem) minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}@media (width<=40rem){.admin-split{grid-template-columns:minmax(0,1fr)}}.admin-list ul{flex-direction:column;gap:.35rem;max-height:60vh;margin:0 0 .75rem;padding:0;list-style:none;display:flex;overflow-y:auto}.admin-list-item{width:100%;font:inherit;text-align:left;cursor:pointer;border-radius:var(--radius-field);background:var(--color-surface);box-shadow:var(--shadow-card);border:0;flex-direction:column;gap:.1rem;padding:.6rem .75rem;display:flex}.admin-list-item .hint{margin:0}.admin-list-item[aria-current=true]{background:var(--color-info-bg);box-shadow:inset 0 0 0 1.5px var(--color-primary)}.admin-detail h2{margin-top:0}.group-panel>.form{max-width:28rem}.group-people{margin-top:1.5rem}.group-people h3{margin-bottom:.25rem}.group-people h4{margin:1rem 0 .5rem}.day-row{flex-wrap:wrap;gap:.5rem 1.25rem;display:flex}.form-actions{flex-wrap:wrap;gap:.5rem;display:flex}.people-search{flex-wrap:wrap;align-items:flex-end;gap:.5rem;margin-bottom:.5rem;display:flex}.people-search .field{flex:1;min-width:12rem}.people-list{margin:0 0 .75rem;padding:0;list-style:none}.people-list>li{border-bottom:1px solid var(--color-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.25rem 1rem;padding:.45rem 0;display:flex}.people-list-stacked>li{display:block}.reset-list{margin:0 0 .75rem;padding-left:1.25rem}.reset-list>li{padding:.2rem 0}.people-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.25rem 1rem;display:flex}.person{flex-wrap:wrap;align-items:baseline;gap:.15rem .75rem;display:flex}.person .hint{margin:0}.staff-add{flex-wrap:wrap;align-items:flex-end;gap:.5rem;display:flex}.reset-form{border-radius:var(--radius-field);background:var(--color-surface);max-width:24rem;box-shadow:var(--shadow-card);border:0;margin:.5rem 0 .75rem;padding:.75rem}.parents{margin:.5rem 0 0 1rem}.parents h3{color:var(--color-muted);margin:0 0 .25rem;font-size:.9rem}.curated-group{margin-bottom:1.5rem}.person-status{flex-wrap:wrap;gap:.3rem;margin:.35rem 0 .15rem;display:flex}.person-status-item{background:var(--color-bg);border-radius:999px;align-items:baseline;gap:.35rem;padding:.1rem .55rem;font-size:.85rem;display:flex}.person-status-item dt{color:var(--color-muted)}.person-status-item dd{margin:0}.person-status-item.tone-ok{background:var(--color-success-bg)}.person-status-item.tone-ok dd{color:var(--color-success)}.person-status-item.tone-warn{background:var(--color-hint-bg)}.person-status-item.tone-warn dd{color:var(--color-hint)}.person-status-item.tone-none dd{color:var(--color-muted)}.people-tools{justify-content:space-between;align-items:flex-end;gap:var(--space-3);margin:0 0 var(--space-4);flex-wrap:wrap;display:flex}.people-filter{gap:var(--space-2);flex-wrap:wrap;display:flex}.filter-chip{min-height:var(--touch-target);padding:0 var(--space-4);border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;cursor:pointer;border-radius:999px}.filter-chip[aria-pressed=true]{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-on-primary);font-weight:600}.people-sort{flex:0 20rem;min-width:0;margin:0}.people-sort select{max-width:100%}.wa-link{color:var(--color-primary);text-underline-offset:.18em;white-space:nowrap}.person-reset{color:var(--color-muted);margin-left:auto;font-size:.85rem}.period-confirm{gap:var(--space-2);margin-top:var(--space-2);padding:var(--space-3);border-radius:var(--radius-field);background:var(--color-bg);display:grid}.period-confirm p{margin:0}.fee-check{gap:var(--space-2);display:grid}.fee-check .error{background:var(--color-danger-bg);border-radius:.5rem;margin:0;padding:.6rem .8rem;font-weight:600}.badge-gap{margin-left:.5rem}.report-body{flex:20rem;min-width:0}.report-text{overflow-wrap:anywhere;max-width:40rem}.field-with-hint{flex-direction:column;gap:.25rem;display:flex}.field-with-hint .hint{margin:0}.people-picker .people-list{max-height:18rem;overflow-y:auto}.student-access section{margin-top:1.25rem}.privacy-page h2{margin:1.5rem 0 .5rem;font-size:1.1rem}.privacy-page ul{flex-direction:column;gap:.4rem;margin:0;padding-left:1.2rem;display:flex}.staff-home h1{margin:0}.staff-home-date{margin:var(--space-1) 0 0;color:var(--brand-muted)}.staff-home section{margin-top:1.5rem}.staff-home-stats{margin-top:var(--space-4)}.staff-home .stat-cards{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));margin:0}.staff-home-alerts{margin:.5rem 0 0;font-weight:600}.staff-home-links{gap:var(--space-3);grid-template-columns:minmax(0,1fr);margin:0;padding:0;list-style:none;display:grid}.staff-home-link{box-sizing:border-box;height:100%;padding:var(--space-4);color:var(--color-text);border:1px solid var(--brand-line);background:var(--brand-white);border-radius:.625rem;flex-direction:column;gap:.35rem;text-decoration:none;display:flex}.staff-home-link-title{align-items:center;gap:var(--space-2);color:var(--brand-indigo);display:flex}.staff-home-link-title .icon{flex-shrink:0}.staff-home-link strong{overflow-wrap:anywhere;min-width:0;font-family:var(--font-heading);font-weight:600}.staff-home-link-desc{color:var(--brand-muted);font-size:.9rem}.staff-home-link:hover{border-color:var(--brand-indigo)}.staff-home-link:focus-visible{outline:2px solid var(--brand-indigo);outline-offset:2px}.weekly-controls{align-items:flex-end;gap:var(--space-3) var(--space-4);margin:0 0 var(--space-4);flex-wrap:wrap;display:flex}.weekly-week{align-items:center;gap:var(--space-2);display:flex}.weekly-week p{text-align:center;flex-direction:column;margin:0;font-weight:600;display:flex}.weekly-cards{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(min(100%,22rem),1fr));display:grid}.weekly-card{gap:var(--space-2);min-width:0;padding:var(--space-3) var(--space-4);border-radius:var(--radius-field);background:var(--color-surface);box-shadow:var(--shadow-card);flex-direction:column;display:flex}.weekly-card h2,.weekly-card p{margin:0}.weekly-card textarea{font:inherit;border:1px solid var(--color-field-border);border-radius:var(--radius-field);background:var(--color-surface);width:100%;color:var(--color-text);resize:vertical;padding:.5rem .75rem}.weekly-card .weekly-preview{background:var(--color-bg);font-size:.9rem}.weekly-parents{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.weekly-parents li{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.weekly-parents .button{text-decoration:none}.weekly-sent{color:var(--color-success);font-weight:600}.broadcast-form{max-width:40rem}.broadcast-form .broadcast-count{text-align:right;margin:-.5rem 0 0}.broadcast-preview,.broadcast-result{margin:0;font-weight:600}.broadcast-result{color:var(--color-success)}.broadcast-confirm{gap:var(--space-2);padding:var(--space-3) var(--space-4);border-radius:var(--radius-field);background:var(--brand-amber-soft);flex-direction:column;display:flex}.broadcast-confirm h2,.broadcast-confirm p,.broadcast-log p{margin:0}.broadcast-confirm-body,.broadcast-log-body{white-space:pre-wrap;overflow-wrap:anywhere}.broadcast-log{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.broadcast-log>li{min-width:0;padding:var(--space-3) var(--space-4);border-radius:var(--radius-field);background:var(--color-surface);box-shadow:var(--shadow-card);flex-direction:column;gap:.25rem;display:flex}.signals-section{margin:var(--space-5) 0}.signals-count{color:var(--color-muted);font-weight:400}.signals-list{margin:var(--space-3) 0 0;gap:var(--space-3);padding:0;list-style:none;display:grid}.signals-item{padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-card)}.signals-who{align-items:baseline;gap:var(--space-2);flex-wrap:wrap;display:flex}.signals-detail{margin:var(--space-1) 0 var(--space-2)}.signals-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.signals-actions .button{text-decoration:none}.payments-filter{max-width:20rem;margin:0 0 var(--space-4)}.payments-scroll{position:relative;overflow-x:auto}.payments-scroll .table{min-width:44rem}.payments-status{white-space:nowrap;border-radius:999px;padding:0 .5rem;font-size:.8rem;font-weight:600;display:inline-block}.payments-status-expired{background:var(--color-danger-bg);color:var(--color-danger)}.payments-status-expiring{background:var(--color-hint-bg);color:var(--color-hint)}.payments-status-none{background:var(--color-info-bg);color:var(--color-muted)}.payments-status-active{background:var(--color-success-bg);color:var(--color-success)}.payments-days{margin-top:var(--space-1);display:block}.payments-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.payments-actions .button{text-decoration:none}@media (width>=64rem){.staff-shell{grid-template-columns:15rem minmax(0,1fr);align-items:start;min-height:100dvh;display:grid}.staff-shell.staff-shell--rail{grid-template-columns:3.5rem minmax(0,1fr)}.staff-shell.staff-shell--bare{display:block}.staff-shell.staff-shell--bare>.page-wide{margin:0 auto}.staff-topbar,.staff-backdrop{display:none}.staff-header{z-index:20;border-right:1px solid var(--brand-line);height:100dvh;padding:1.5rem .75rem 1.25rem;position:sticky;top:0}.staff-header--collapsed{align-items:center;padding:1.25rem .5rem 1rem}.staff-header--collapsed .staff-brand{justify-content:center;padding-left:0}.staff-header--collapsed .staff-mode-tabs{flex-direction:column;padding:.15rem}.staff-header--collapsed .staff-mode-tabs>button{min-height:2.25rem;padding:0 .4rem}.staff-header--collapsed .staff-nav{scrollbar-width:thin;align-self:stretch;align-items:center}.staff-header--collapsed .staff-nav a{justify-content:center;width:2.5rem;min-height:2.5rem;padding:0}.staff-header--collapsed .account-block{justify-content:center;align-self:stretch;padding:.75rem 0 0}.staff-shell>.page-wide{width:100%;max-width:72rem;margin:0;padding:2rem 2.5rem 3rem}.review-layout-photos{position:sticky;top:1rem}.staff-shell>.page-wide.payments-page,.staff-shell>.page-wide.progress-page,.staff-shell>.page-wide.weekly-page{max-width:96rem}.staff-shell .school-today-row{grid-template-columns:2.25rem minmax(0,1fr) 11rem 5.5rem 1.5rem;grid-template-areas:"avatar name bar dots status""avatar figures bar dots status";align-items:center}.staff-shell .school-avatar{align-self:center}.staff-shell .school-dots{justify-content:flex-end;display:inline-flex}.staff-home-links{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-list{gap:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));max-width:44rem;display:grid}.stat-list>div{border-radius:var(--radius-field);background:var(--color-surface);box-shadow:var(--shadow-card);flex-direction:column;gap:.25rem;padding:1rem 1.25rem;display:flex}.stat-list dd{color:var(--color-primary);font-size:2rem;line-height:1.1}.signals-list,.alert-list{align-items:start;gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr))}.alert-list{display:grid}.alert-item{min-width:0;padding:var(--space-3);border-radius:var(--radius-field);background:var(--color-surface);box-shadow:var(--shadow-card);border:0;flex-direction:column;justify-content:flex-start;align-items:flex-start}.signals-item{background:var(--color-surface);min-width:0;box-shadow:var(--shadow-card);border:0}.leads-list{gap:var(--space-2)}.leads-list .lead-item{gap:var(--space-3);box-shadow:var(--shadow-card);border:0;grid-template-columns:minmax(0,1fr) minmax(22rem,30rem);padding:.75rem 1rem}.leads-list .lead-edit{gap:var(--space-1) var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr)) auto}.leads-list .lead-edit-note{grid-column:1/3}.leads-list .lead-edit-actions{grid-column:3;align-self:end}.leads-list .lead-edit .field textarea{height:2.75rem;min-height:0}.weekly-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,30rem),1fr));align-items:start}.progress-matrix thead th{min-width:8rem;max-width:12rem}.payments-scroll .table th,.payments-scroll .table td{padding:.65rem .9rem}}.school-picker{padding-bottom:0}.staff-shell--bare .school-picker{display:none}.school-picker select{font:inherit;border:1px solid var(--color-field-border);border-radius:var(--radius-field);padding:.6rem .8rem}.school-today-class{margin:0 0 var(--space-1);color:var(--brand-muted);overflow-wrap:anywhere;font-size:.9rem}.school-today h1{margin-top:0}.school-today h2{font-size:1.1rem}.school-attention h2:focus{outline:none}.school-attention h2:focus-visible{outline:2px solid var(--brand-indigo);outline-offset:2px}.school-attention ul{margin:0;padding-left:1.1rem}.school-attention li{margin-bottom:var(--space-1)}.school-today-list{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.school-today-row{column-gap:var(--space-3);min-height:var(--touch-target);padding:var(--space-3);border:1px solid var(--brand-line);background:var(--brand-white);color:var(--color-text);border-radius:.625rem;grid-template-columns:2.25rem minmax(0,1fr) auto;grid-template-areas:"avatar name status""avatar figures figures""avatar bar bar";align-items:center;row-gap:.25rem;display:grid;position:relative}.school-today-toggle{border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;margin:0;padding:0;position:absolute;inset:0}.school-today-toggle:focus-visible{outline:2px solid var(--brand-indigo);outline-offset:2px}.school-today-row>:not(.school-today-toggle){pointer-events:none;position:relative}.school-avatar{background:var(--brand-indigo-soft);width:2.25rem;height:2.25rem;color:var(--brand-indigo);font-family:var(--font-heading);letter-spacing:0;border-radius:50%;grid-area:avatar;justify-content:center;align-self:start;align-items:center;font-size:.85rem;font-weight:600;display:inline-flex}.school-status{grid-area:status;display:inline-flex}.school-status-done{color:var(--color-success)}.school-status-started{color:var(--color-hint)}.school-status-none{color:var(--brand-muted)}.school-today-row .school-today-name{pointer-events:auto;overflow-wrap:anywhere;min-width:0;color:var(--brand-indigo);grid-area:name;justify-self:start;font-weight:600;text-decoration:none}.school-today-row .school-today-name:hover{text-decoration:underline}.school-today-figures{min-width:0;color:var(--brand-muted);grid-area:figures;font-size:.9rem}.school-bar{background:var(--brand-indigo-soft);border-radius:999px;grid-area:bar;height:.375rem;display:block;overflow:hidden}.school-bar-fill{border-radius:inherit;background:var(--brand-indigo);height:100%;display:block}.school-dots{grid-area:dots;gap:.25rem;display:none}.school-dot{box-sizing:border-box;border:2px solid var(--color-primary);background:0 0;border-radius:50%;width:.7rem;height:.7rem}.school-dot-met{background:var(--color-primary)}.school-dot-part{background:linear-gradient(90deg, var(--color-primary) 50%, transparent 50%)}.school-dot-future{border-color:var(--color-border)}.school-today-detail{margin:var(--space-2) 0 var(--space-3)}.school-today-detail ul{margin:0;padding-left:1.1rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.stat-cards{gap:var(--space-2);margin:var(--space-4) 0;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.stat-card{box-sizing:border-box;min-width:0;padding:var(--space-3);border:1px solid var(--brand-line);background:var(--brand-white);color:var(--color-text);font:inherit;text-align:left;border-radius:.625rem;flex-direction:column;gap:.25rem;margin:0;text-decoration:none;display:flex}a.stat-card,button.stat-card{cursor:pointer}a.stat-card:hover,button.stat-card:hover{border-color:var(--brand-indigo)}.stat-card:focus-visible{outline:2px solid var(--brand-indigo);outline-offset:2px}.stat-card--attention{background:var(--brand-amber-soft);border-color:#0000}.stat-card-value{font-family:var(--font-heading);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:clamp(1.25rem,5vw,1.5rem);font-weight:600;line-height:1.15;overflow:hidden}.stat-card--primary .stat-card-value{color:var(--brand-indigo)}.stat-card-label,.stat-card-note{color:var(--brand-muted);overflow-wrap:anywhere;font-size:.8rem;line-height:1.3}.stat-card--attention .stat-card-label{color:var(--color-text)}@media (width<=21rem){.stat-cards{grid-template-columns:minmax(0,1fr)}}.school-grades-week{max-width:16rem;margin-bottom:var(--space-3)}.school-grades-scroll{position:relative;overflow-x:auto}.school-grades-parts{margin-top:var(--space-1);color:var(--color-muted);font-size:.85rem;display:none}.school-grades-table td{vertical-align:middle;font-variant-numeric:tabular-nums}.school-grade-input{width:4rem;min-height:var(--touch-target);font:inherit;border:1px solid var(--color-field-border);border-radius:var(--radius-field);background-color:var(--color-surface);color:var(--color-text);padding:.4rem .6rem}.school-grade-input[aria-invalid=true]{border-color:var(--color-danger)}.school-grade-edited{color:var(--color-primary);margin-left:.5rem;font-size:.85rem}.school-grades-actions{gap:var(--space-3);margin:var(--space-3) 0;flex-wrap:wrap;display:flex}@media (width<=26.25rem){.school-grades-detail{display:none}.school-grades-parts{display:block}.school-grades-table td:first-child{white-space:normal}.school-grade-edited{margin:var(--space-1) 0 0;display:block}}.topic-checkpoint{margin:var(--space-3) 0}.students-page .students-fresh{margin:var(--space-4) 0}.students-warning{margin:0 0 var(--space-3);border-radius:var(--radius-card);background:var(--color-hint-bg);color:var(--color-text);padding:.6rem .8rem;font-weight:600}.school-students-table td:first-child{white-space:normal;overflow-wrap:anywhere}.school-students-table td:nth-child(2){white-space:nowrap}@media (width<=26.25rem){.school-students-table th,.school-students-table td{padding:.4rem .35rem}.school-students-table .button{padding:.5rem .6rem;font-size:.85rem;line-height:1.2}}.students-password,.students-reset-done{font-variant-numeric:tabular-nums;font-weight:600}.students-page textarea{width:100%}.login-cards{display:none}@media print{@page{size:A4;margin:10mm}body:has(>.login-cards)>:not(.login-cards){display:none!important}body:has(>.login-cards){background:var(--color-surface)}.login-cards{color:var(--color-text);font-family:var(--font-body);display:block}.login-cards-page{break-after:page;grid-template-rows:repeat(4,1fr);grid-template-columns:repeat(2,1fr);height:276mm;display:grid}.login-cards-page:last-child{break-after:auto}.login-card{border:.3mm dashed var(--color-border);break-inside:avoid;grid-template-columns:1fr 26mm;grid-template-areas:"heading qr""name qr""secrets qr""steps steps";align-content:start;gap:1mm 3mm;padding:4mm;font-size:9pt;line-height:1.25;display:grid;overflow:hidden}.login-card p{margin:0}.login-card-heading{color:var(--color-muted);grid-area:heading;font-size:8pt}.login-card-name{font-family:var(--font-heading);grid-area:name;font-size:12pt;font-weight:700}.login-card-secrets{grid-area:secrets;grid-template-columns:auto 1fr;gap:.5mm 2mm;margin:1mm 0 0;display:grid}.login-card-secrets dt{color:var(--color-muted)}.login-card-secrets dd{font-variant-numeric:tabular-nums;letter-spacing:.04em;margin:0;font-size:12pt;font-weight:700}.login-card-qr{width:26mm;height:26mm;fill:var(--color-text);background:var(--color-surface);grid-area:qr}.login-card-steps{grid-area:steps;margin:1mm 0 0;padding-left:4mm;font-size:8pt}}.school-home-summary{color:var(--color-muted);margin:0 0 1rem}.school-home-grid{grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.school-home-card{height:100%;color:var(--color-text);border-radius:var(--radius-field);background:var(--color-surface);box-shadow:var(--shadow-card);flex-direction:column;gap:.25rem;padding:.9rem 1rem;text-decoration:none;display:flex}.school-home-card strong{color:var(--color-primary);font-size:1.1rem}.school-home-card span{color:var(--color-muted);font-size:.9rem}.school-home-card .school-home-done{color:var(--color-text);margin-top:auto;padding-top:.5rem;font-weight:600}.school-home-card:hover{box-shadow:var(--shadow-card), inset 0 0 0 1.5px var(--color-primary)}.school-home-add{border:1.5px dashed var(--color-border);border-radius:var(--radius-field);justify-content:center;align-items:center;min-height:6rem;display:flex}.sched-filter{gap:var(--space-2);margin:var(--space-3) 0;flex-wrap:wrap;display:flex}.sched-filter>button{min-height:2.25rem;font:inherit;color:var(--color-text);border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;border-radius:999px;padding:.3rem .85rem}.sched-filter>button[aria-pressed=true]{color:var(--color-on-primary);border-color:var(--color-primary);background:var(--color-primary)}.sched-scroll{position:relative;overflow-x:auto}.sched-grid{table-layout:fixed;border-collapse:separate;width:100%;min-width:48rem;border-spacing:var(--space-1)}.sched-grid thead th{padding:var(--space-1) 0;color:var(--color-muted);text-align:center;font-weight:600}.sched-grid thead th[aria-current=date]{color:var(--color-primary)}.sched-grid .sched-time{width:3.5rem;padding:var(--space-2) var(--space-2) 0 0;color:var(--color-muted);font-variant-numeric:tabular-nums;text-align:right;vertical-align:top;font-weight:400}.sched-grid td{border-radius:var(--radius-s);background:var(--color-surface);vertical-align:top;height:3rem;padding:0}.sched-block{border-radius:var(--radius-s);border-left:3px solid;font-size:.8rem;line-height:1.3}.sched-block+.sched-block{margin-top:var(--space-1)}.sched-tone-0{color:var(--color-primary);background:var(--color-info-bg)}.sched-tone-1{color:var(--color-hint);background:var(--color-hint-bg)}.sched-tone-2{color:var(--color-success);background:var(--color-success-bg)}.sched-tone-3{color:var(--color-level-2-text);background:var(--color-level-2)}.sched-tone-4{color:var(--color-level-3-text);background:var(--color-level-3)}.sched-block--cancelled{color:var(--color-danger);background:var(--color-danger-bg)}.sched-block--conflict{outline:2px solid var(--color-danger);outline-offset:-2px}.sched-block-main{width:100%;font:inherit;color:inherit;text-align:left;border-radius:inherit;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;flex-direction:column;gap:.1rem;padding:.35rem .5rem;display:flex}.sched-block-main:focus-visible{box-shadow:var(--focus-ring);outline:none}.sched-badges{gap:var(--space-1);flex-wrap:wrap;margin-top:.15rem;display:flex}.sched-badge-danger{color:var(--color-danger);background:var(--color-danger-bg)}.sched-block--cancelled .sched-badge-danger{background:var(--color-surface)}.sched-block-link{padding:0 .5rem .35rem;font-size:.75rem;display:inline-block}.sched-reason{font-style:italic}.sched-sheet-students{border-bottom:1px solid var(--color-border);margin:0 0 1rem;padding-bottom:.75rem}.sched-sheet-students h3{margin:0 0 .25rem;font-size:1rem}.sched-sheet-students .attendance-list{margin-bottom:0}.sched-sheet-students .attendance-buttons{align-items:center}.sched-parents-link{white-space:nowrap}.sched-day h2{margin:var(--space-4) 0 var(--space-2);font-size:1rem}.sched-day ul{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.sched-day .sched-block{font-size:.95rem}.sched-day .sched-block-main{min-height:var(--touch-target);padding:.6rem .75rem}@media (width>=64rem){.staff-shell>.page-wide.sched-page{max-width:96rem}}
