:root{--bg:#f7f3ea;--surface:#fff;--ink:#1f2528;--muted:#5d6b71;--line:#e3dbcd;--line-strong:#cfc5b5;--primary:#24515f;--primary-soft:#e7f0ef;--on-primary:#fff;--positive:#477a51;--positive-soft:#f0f6f1;--negative:#9a554a;--negative-soft:#f8ecea;--danger:var(--negative);--warning:#614914;--warning-soft:#fff6d9;--scrim:#101f224d;--scrim-strong:#101f2273;--shadow:0 8px 24px #1f252824;--shadow-strong:0 16px 48px #1f252838;--shadow-sheet:0 -10px 30px #1f25282e;--type-correction-header:#fff2c7;--type-correction-card:#fff9e8;--type-correction-border:#dfbd58;--type-correction-accent:#c58a00;--type-correction-ink:#624700;--type-correction-pill:#f3dda0;--type-homework-header:#fbe3df;--type-homework-card:#fff3f1;--type-homework-border:#dca097;--type-homework-accent:#bd5b4e;--type-homework-ink:#762f27;--type-homework-pill:#f2c8c2;--type-signature-header:#dfedfa;--type-signature-card:#f1f7fd;--type-signature-border:#96badb;--type-signature-accent:#4c82ad;--type-signature-ink:#28587a;--type-signature-pill:#c9dff1;--type-other-header:#ede4f6;--type-other-card:#f8f3fc;--type-other-border:#bca4d1;--type-other-accent:#8a64aa;--type-other-ink:#573c70;--type-other-pill:#dfcfec;--roll-call-fill:#c2e7de;--roll-call-ink:#17544b;--points-fill:#e3d2bc;--points-ink:#56402a;color:var(--ink);background:var(--bg);font-family:Inter,Noto Sans TC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{background:var(--bg);min-height:100vh}.app-shell.projection-shell{background:#fffaf0}.app-main{width:min(1180px,100%);margin:0 auto;padding:18px 14px 104px}.projection-shell .app-main{width:100%;padding:0}.login-panel h1,.projection h1{margin:0;font-size:clamp(1.7rem,4vw,2.6rem);line-height:1.1}.login-panel h1{font-weight:800}.eyebrow{color:var(--muted);margin:0 0 4px;font-size:.82rem;font-weight:600}.page-stack{gap:16px;min-width:0;display:grid}.tool-surface,.notice,.login-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0;padding:16px}.notice.danger{border-color:var(--danger)}.sync-error{color:var(--danger);background:var(--negative-soft);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:14px;padding:10px 12px;display:flex}.sync-error-detail{color:var(--danger);flex-basis:100%;font-size:.82rem}.sync-error-detail summary{cursor:pointer;font-weight:700}.sync-error-detail code{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;display:block}.login-panel{align-content:center;gap:22px;min-height:60vh;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}h2,h3,p{margin-top:0}h2{margin-bottom:12px;font-size:1.12rem}h3{margin-bottom:6px}.hint{color:var(--muted);font-size:.9rem}.loading-fallback{color:var(--muted);text-align:center;margin:0;padding:24px 0;font-weight:600}.metric-grid,.split-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.metric{min-height:112px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;align-content:space-between;gap:4px;padding:14px;display:grid}.metric-icon{color:var(--primary)}.metric-icon svg{width:22px;height:22px}.metric strong{font-variant-numeric:tabular-nums;font-size:2.2rem;font-weight:700;line-height:1}.bottom-nav{z-index:5;background:var(--surface);border:1px solid var(--line);width:min(760px,100% - 20px);box-shadow:var(--shadow);border-radius:12px;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:8px;display:grid;position:fixed;bottom:12px;left:50%;transform:translate(-50%)}.student-entry-shell{background:var(--bg);min-height:100vh}.student-entry-main{width:min(960px,100%);margin:0 auto;padding:18px 14px 44px}.student-entry-main h1{margin:0 0 18px;font-size:clamp(2rem,6vw,3rem);font-weight:800;line-height:1.08}.bottom-nav button,.icon-button,.text-button,.primary-button,.secondary-button,.segmented button,.seat-grid button{border:0;border-radius:8px}.bottom-nav button{min-height:52px;color:var(--muted);background:0 0;place-items:center;gap:2px;font-size:.78rem;font-weight:600;display:grid}.bottom-nav button.active{color:var(--on-primary);background:var(--primary)}.bottom-nav span{white-space:nowrap}.icon-button{width:44px;height:44px;color:var(--primary);background:var(--primary-soft);place-items:center;display:grid}.primary-button,.secondary-button,.text-button{justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 14px;font-weight:600;display:inline-flex}.primary-button{color:var(--on-primary);background:var(--primary)}.primary-button.large{min-height:56px;font-size:1.05rem}.secondary-button{color:var(--primary);background:var(--surface);border:1px solid var(--line-strong)}.text-button{color:var(--primary);background:0 0}.seat-grid{grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:8px;margin:12px 0;display:grid}.seat-grid button{aspect-ratio:1;color:var(--ink);background:var(--surface);border:1px solid var(--line);font-variant-numeric:tabular-nums;font-size:1.2rem;font-weight:700}.seat-grid button.selected{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.quick-task-dialog{box-sizing:border-box;width:min(620px,100% - 24px);max-height:calc(100dvh - 32px);color:var(--ink);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-strong);border-radius:12px;padding:20px;overflow-y:auto}.quick-task-dialog::backdrop{background:var(--scrim-strong)}.quick-task-entry .section-heading-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.quick-task-entry h3{margin:0}.quick-task-fields{margin:16px 0}.quick-task-entry .seat-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.quick-task-entry .seat-grid button{flex-direction:column;justify-content:center;align-items:center;gap:3px;width:100%;min-width:0;min-height:54px;padding:4px 0;display:flex}.quick-task-entry .seat-grid button.original-pending{border:3px solid var(--warning)}.original-pending-label{color:var(--warning);background:var(--warning-soft);white-space:nowrap;border-radius:3px;padding:1px 0;font-size:clamp(.5rem,2.5vw,.6rem);font-weight:600;line-height:1.3}.quick-seat-legend{margin-bottom:6px}.task-card-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.task-card-tools button{white-space:nowrap}.button-row{flex-wrap:wrap;gap:8px;display:flex}.segmented,.report-term-switch{background:var(--primary-soft);border:1px solid var(--line);border-radius:10px;flex-wrap:wrap;gap:4px;padding:4px;display:inline-flex}.segmented{width:fit-content;max-width:100%;display:flex}.semester-create-row{grid-template-columns:minmax(180px,1fr) auto;gap:10px;margin:12px 0;display:grid}.semester-create-row input{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:100%;min-height:44px;padding:0 12px}.semester-list{gap:8px;display:grid}.semester-item{min-height:58px;color:var(--ink);background:var(--surface);border:1px solid var(--line);text-align:left;border-radius:8px;align-items:stretch;gap:4px;display:flex}.semester-item.active{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.semester-item .semester-select{min-width:0;color:inherit;text-align:left;background:0 0;border:0;border-radius:8px;flex:1;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.semester-item .semester-select span:first-child{gap:2px;display:grid}.semester-item small{color:inherit;opacity:.78;font-weight:700}.semester-item .semester-rename{min-height:36px;color:inherit;background:0 0;border:1px solid;border-radius:6px;flex-shrink:0;align-self:center;margin-right:8px;padding:0 10px;font-weight:700}.semester-rename-form{flex-wrap:wrap;flex:1;align-items:center;gap:8px;padding:8px 12px;display:flex}.semester-rename-form input{min-height:40px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:8px;flex:160px;padding:0 10px}.semester-undo{border-top:1px solid var(--line);gap:8px;margin-top:14px;padding-top:12px;display:grid}.semester-undo .danger-button{justify-self:start}.semester-undo .hint{margin:0}.segmented button,.report-term-switch button{min-height:38px;color:var(--primary);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-weight:600;display:inline-flex}.segmented button.active,.report-term-switch button.active{color:var(--on-primary);background:var(--primary)}.validation-hint{color:var(--danger);margin:10px 0 0;font-weight:600}.positive{color:var(--on-primary)!important;background:var(--positive)!important}.negative{color:var(--on-primary)!important;background:var(--negative)!important}.form-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.weight-panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;grid-template-columns:auto repeat(4,minmax(92px,1fr)) auto;align-items:end;gap:10px;margin:12px 0;padding:12px;display:grid}.weight-panel label{gap:4px}.weight-panel input{min-height:38px}.weight-ok{color:var(--primary)}.weight-warning{color:var(--danger)}.report-settings-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;margin:14px 0;padding:14px}.report-heading{flex-wrap:wrap;align-items:flex-start}.report-heading h2{white-space:nowrap}.report-heading .heading-actions{flex:240px}.report-title{flex-wrap:wrap;align-items:center;gap:12px;display:inline-flex}.report-title h2{margin-bottom:0}.report-term-switch{flex-wrap:nowrap}.report-term-scope{font-weight:700}.weight-panel-midterm{grid-template-columns:auto repeat(3,minmax(92px,1fr)) auto}.report-settings-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;display:grid}.report-settings-grid label{gap:6px;min-width:0}.report-settings-grid select,.report-settings-grid input{width:100%;min-width:0}.report-settings-grid.target-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));align-items:start}.report-standards{margin-top:14px}.report-standards summary{cursor:pointer;font-weight:600}.target-suggest-row{flex-wrap:wrap;align-items:center;gap:12px;margin-top:10px;display:flex}.target-suggestion{color:var(--muted);font-size:.8rem}.report-notice{color:var(--ink);background:var(--primary-soft);border-radius:8px;padding:12px}.unscored-hint{border:1px solid var(--line);color:var(--warning);background:var(--warning-soft);border-radius:8px;gap:6px;margin:12px 0;padding:12px;display:grid}.unscored-hint p{margin:0}.unscored-hint-title{align-items:flex-start;gap:8px;font-weight:700;display:flex}.unscored-hint-title svg{flex:none;margin-top:2px}.unscored-hint-text{font-size:.9rem}.unscored-hint-details summary{cursor:pointer;padding:10px 0;font-weight:600}.unscored-hint-list{gap:8px;margin:4px 0 0;padding:0;list-style:none;display:grid}.unscored-hint-list li{color:var(--ink);background:var(--surface);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 10px;padding:10px;display:grid}.unscored-hint-name{overflow-wrap:anywhere;min-width:0}.unscored-hint-meta{color:var(--muted);font-variant-numeric:tabular-nums;grid-column:1/-1;font-size:.86rem}.unscored-hint-actions{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.unscored-hint-actions small{font-size:.78rem;font-weight:500}@media (width>=760px){.unscored-hint-list li{grid-template-columns:auto minmax(0,1fr) auto}.unscored-hint-meta{grid-column:auto}}.notebook-session-panel{gap:14px;display:grid}.notebook-session-edit{gap:12px;display:grid}.link-box{background:var(--surface);border:1px solid var(--line);border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;display:grid}.link-box svg{color:var(--primary)}.qr-panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px;display:grid}.qr-panel>div{align-items:flex-start;gap:12px;display:flex}.qr-panel svg{color:var(--primary);flex:none;margin-top:4px}.qr-panel h3{margin:0 0 6px;font-size:1.25rem}.qr-panel img{aspect-ratio:1;border:8px solid var(--surface);background:var(--surface);outline:1px solid var(--line);border-radius:8px;width:min(220px,32vw)}.qr-placeholder{aspect-ratio:1;width:min(220px,32vw);color:var(--muted);background:var(--surface);border:1px dashed var(--line-strong);text-align:center;border-radius:8px;place-items:center;padding:16px;display:grid!important}.offline-banner,.history-banner{border:1px solid var(--line);width:min(100%,1600px);color:var(--warning);background:var(--warning-soft);border-radius:8px;margin:0 auto 14px;padding:12px 16px;font-weight:600}.history-banner{color:var(--primary);background:var(--primary-soft)}.notebook-progress-grid{grid-template-columns:minmax(220px,.8fr) minmax(260px,1fr);align-items:start;gap:16px;display:grid}.notebook-form{gap:12px;margin:14px 0;display:grid}.notebook-field-group{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:12px}.notebook-field-group h3{margin:0 0 10px;font-size:1.1rem}.notebook-input-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.notebook-count-field{gap:6px;display:grid}.notebook-count-field label{font-size:.9rem}.notebook-count{grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;display:grid}.notebook-count button{border:1px solid var(--line-strong);background:var(--surface);min-height:48px;color:var(--primary);border-radius:8px;place-items:center;padding:0;display:grid}.notebook-count button:disabled{opacity:.4}.notebook-count input{text-align:center;font-variant-numeric:tabular-nums;min-width:0;min-height:48px;font-size:1.2rem;font-weight:700}label{gap:6px;font-weight:600;display:grid}input,select,textarea{border:1px solid var(--line-strong);background:var(--surface);width:100%;color:var(--ink);border-radius:8px;padding:10px 12px}textarea{resize:vertical}.task-type-correction{--task-type-header-bg:var(--type-correction-header);--task-type-card-bg:var(--type-correction-card);--task-type-border:var(--type-correction-border);--task-type-accent:var(--type-correction-accent);--task-type-ink:var(--type-correction-ink);--task-type-pill-bg:var(--type-correction-pill)}.task-type-missing_homework{--task-type-header-bg:var(--type-homework-header);--task-type-card-bg:var(--type-homework-card);--task-type-border:var(--type-homework-border);--task-type-accent:var(--type-homework-accent);--task-type-ink:var(--type-homework-ink);--task-type-pill-bg:var(--type-homework-pill)}.task-type-missing_signature{--task-type-header-bg:var(--type-signature-header);--task-type-card-bg:var(--type-signature-card);--task-type-border:var(--type-signature-border);--task-type-accent:var(--type-signature-accent);--task-type-ink:var(--type-signature-ink);--task-type-pill-bg:var(--type-signature-pill)}.task-type-other{--task-type-header-bg:var(--type-other-header);--task-type-card-bg:var(--type-other-card);--task-type-border:var(--type-other-border);--task-type-accent:var(--type-other-accent);--task-type-ink:var(--type-other-ink);--task-type-pill-bg:var(--type-other-pill)}.task-shortcuts{flex:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;display:grid}@media (width>=700px){.task-shortcuts{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}}.task-shortcut{min-width:0;min-height:44px;color:var(--task-type-ink);background:var(--task-type-header-bg);text-align:left;border:1px solid #0000;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;padding:6px 8px;font-weight:600;display:flex}@media (hover:hover){.task-shortcut:hover{border-color:var(--task-type-accent)}}.task-shortcut-title{overflow-wrap:anywhere;min-width:0;line-height:1.2}.task-shortcut-units{white-space:nowrap;margin-left:4px;font-size:.7rem;font-weight:600;display:inline-block}.task-shortcut-count{background:var(--task-type-pill-bg);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;flex-shrink:0;padding:1px 6px;font-size:.82rem;font-weight:700}.task-shortcut-title{flex:auto}.task-shortcut .task-shortcut-report{color:var(--warning);background:var(--warning-soft);border:1px solid var(--type-correction-border);white-space:nowrap;border-radius:999px;flex-shrink:0;margin-left:auto;padding:0 6px;font-size:.72rem;font-weight:700}.task-shortcuts{scroll-margin-top:100px}.task-shortcut:focus-visible{outline:3px solid var(--task-type-accent);outline-offset:3px}.completed-strip{border-top:1px solid var(--line);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:6px;padding-top:10px;display:flex}.completed-strip span{color:var(--muted);font-size:.88rem;font-weight:600}.completed-strip button{min-height:32px;color:var(--primary);background:var(--primary-soft);border:0;border-radius:8px;padding:0 9px;font-weight:600}.overdue-label{min-height:28px;color:var(--on-primary);background:var(--danger);border-radius:999px;align-items:center;padding:0 9px;font-size:.8rem;font-weight:700;display:inline-flex}.archive-button{min-height:40px;color:var(--on-primary);background:var(--primary);border:0;border-radius:8px;grid-column:1/-1;justify-self:start;align-items:center;gap:6px;padding:0 13px;font-weight:600;display:inline-flex}.pill{min-height:28px;color:var(--task-type-ink,var(--primary));background:var(--task-type-pill-bg,var(--primary-soft));border-radius:999px;align-items:center;padding:0 9px;font-size:.8rem;font-weight:700;display:inline-flex}.seat-chips{flex-wrap:wrap;gap:6px;display:flex}.seat-chips span{width:38px;min-height:32px;color:var(--ink);background:var(--bg);border:1px solid var(--line);font-variant-numeric:tabular-nums;border-radius:8px;place-items:center;padding:0;font-weight:700;display:inline-grid}.projection .seat-chips span{color:#213034;background:#f0b84f;border:0}.seat-chips.large span{width:72px;min-height:72px;font-size:2rem}.mini-list{gap:8px;display:grid}.mini-list>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:8px 0;display:flex}.mini-list>div.record-row.editing{align-items:start;display:grid}.mini-list>div.revision-row{align-items:stretch;gap:6px;display:grid}.mini-list>div.revision-row.anomaly{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--danger);border-radius:8px;padding:8px 10px}.revision-toggle{width:100%;min-height:36px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.revision-toggle:focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:6px}.revision-seat{align-items:center;gap:8px;font-weight:600;display:inline-flex}.revision-flag{color:var(--on-primary);background:var(--danger);border-radius:999px;align-items:center;gap:3px;padding:2px 8px;font-size:.8rem;font-weight:700;display:inline-flex}.revision-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}.revision-count{color:var(--muted);font-size:.9rem;font-weight:600}.revision-main{align-items:center;gap:8px;display:flex}.revision-main .revision-toggle{flex:1;min-width:0}.revision-unlock{white-space:nowrap;min-height:34px;padding:0 10px;font-size:.9rem}.revision-lock{color:var(--primary);background:var(--primary-soft);white-space:nowrap;border-radius:999px;align-items:center;gap:3px;padding:2px 8px;font-size:.8rem;font-weight:700;display:inline-flex}.revision-seat{white-space:nowrap;flex-wrap:wrap}.revision-flag,.revision-meta strong{white-space:nowrap}@media (width<=640px){.revision-main{flex-wrap:wrap}.revision-main .revision-toggle{flex-basis:100%}.revision-unlock{margin-left:auto}}.revision-history{background:var(--surface);border:1px solid var(--line);border-radius:8px;gap:6px;padding:8px 10px;display:grid}.revision-values{background:var(--bg);border-radius:6px;gap:2px 10px;margin:0;padding:6px 8px;font-size:.88rem;display:grid}.revision-values>div{grid-template-columns:minmax(96px,auto) 1fr;gap:8px;display:grid}.revision-values dt{color:var(--muted);font-weight:600}.revision-values dd{font-variant-numeric:tabular-nums;margin:0}.revision-values-total dd{font-weight:700}.revision-anomaly-reasons{color:var(--danger);margin:0;font-weight:600}.revision-history ol{gap:4px;margin:0;padding-left:1.2em;display:grid}.revision-history li{flex-wrap:wrap;align-items:baseline;gap:6px 10px;font-size:.95rem;display:flex}.revision-history li.after-lock{color:var(--danger)}.revision-history time{white-space:nowrap;font-weight:600}.mini-list strong{font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:700}.mini-list strong.up{color:var(--positive)}.mini-list strong.down{color:var(--negative)}.record-page-intro{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;display:flex}.record-page-intro p{flex:220px;margin:0}.point-leaderboard-subjects{flex-wrap:wrap;margin-bottom:12px}.point-leaderboard-rest{margin:2px 0 0}.mini-list>.closed-task-row{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--task-type-accent,var(--muted));border-radius:8px;padding:10px 12px;display:block}.presettle-close{justify-items:start;gap:6px;display:grid}.presettle-close .hint{margin:0}.presettle-close-group{border:0;gap:6px;margin:12px 0 0;padding:0;display:grid}.presettle-close-group>legend{padding:0 0 4px;font-weight:700}.presettle-close-row{border:1px solid var(--line);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:44px;padding:6px 10px;display:grid}.presettle-close-row input{width:20px;height:20px}.presettle-close-title{overflow-wrap:anywhere;display:grid}.presettle-close-title small{color:var(--muted);font-variant-numeric:tabular-nums}.presettle-close-nowrap{white-space:nowrap}.presettle-close-actions{background:var(--surface);border-top:1px solid var(--line);margin:12px -20px -20px;padding:12px 20px 20px;position:sticky;bottom:-20px}.closed-tasks-more{justify-self:start;margin-top:4px}.closed-tasks-section>summary{cursor:pointer;padding:8px 0;font-size:1.25rem;font-weight:700}.closed-tasks-section>summary span{color:var(--muted);font-size:1rem}.closed-tasks-section[open]>summary{margin-bottom:12px}.closed-task-summary{justify-content:space-between;align-items:center;gap:12px;display:flex}.closed-task-summary strong{flex-shrink:0}.closed-task-row .completed-strip{margin-top:8px}.record-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.record-actions button{min-height:32px;color:var(--primary);background:var(--primary-soft);border:0;border-radius:8px;align-items:center;gap:4px;padding:0 9px;font-weight:700;display:inline-flex}.record-editor{grid-template-columns:minmax(120px,.8fr) minmax(150px,1fr) auto auto;gap:8px;width:100%;margin-top:8px;display:grid}.record-editor button{min-height:42px;color:var(--on-primary);background:var(--primary);border:0;border-radius:8px;justify-content:center;align-items:center;gap:4px;padding:0 10px;font-weight:700;display:inline-flex}.record-editor .ghost-button{color:var(--primary);background:var(--primary-soft)}.field-label{color:var(--ink);font-weight:700}.report-table{background:var(--line);border:1px solid var(--line);font-variant-numeric:tabular-nums;gap:1px;display:grid}.table-scroll{-webkit-overflow-scrolling:touch;border-radius:8px;max-width:100%;overflow-x:auto}.table-scroll .report-table{width:max-content;min-width:100%}.report-table{grid-template-columns:minmax(58px,.45fr) minmax(112px,.8fr) minmax(90px,.65fr) minmax(96px,.65fr) minmax(92px,.65fr) minmax(96px,.65fr) repeat(10,minmax(92px,.65fr))}.report-table>div{background:var(--surface);min-height:48px;padding:10px}.report-table .table-head{color:var(--ink);background:var(--bg);font-weight:700}.subject-total-parts{color:var(--muted);font-size:.75rem;font-weight:400;display:block}.grades-tab{gap:12px;min-width:0;display:grid}.grades-tab>.hint{margin:0}.grades-lock{gap:8px;display:grid}.grades-lock .report-notice,.grades-lock .hint{margin:0}.grades-lock-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.grades-notes{color:var(--ink);background:var(--primary-soft);border-radius:8px;gap:6px;margin:0;padding:12px 12px 12px 28px;display:grid}.grade-subject-switch{flex-wrap:wrap;gap:6px;display:flex}.grade-subject-switch button{border:1px solid var(--line);min-height:38px;color:var(--primary);background:var(--surface);border-radius:8px;padding:0 12px;font-weight:600}.grade-subject-switch button.active{color:var(--on-primary);border-color:var(--primary);background:var(--primary)}.grades-table>div{min-height:44px;padding:8px 6px}.grades-seat{min-height:32px;color:var(--primary);font-variant-numeric:tabular-nums;background:0 0;border:0;align-items:center;gap:2px;padding:0 4px 0 0;font-weight:700;display:inline-flex}.report-table>.grades-sources{background:var(--bg);grid-column:1/-1;gap:4px;font-size:.85rem;display:grid}.grades-sources p{margin:0}.band-panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;display:grid}.band-panel-toggle{min-height:44px;color:var(--primary);text-align:left;background:0 0;border:0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px;font-weight:700;display:flex}.band-status{color:var(--muted);font-weight:400}.band-status.pending{color:var(--warning)}.band-message{margin:0 12px 10px}.band-panel-body{gap:10px;min-width:0;padding:0 12px 12px;display:grid}.band-panel-body>.hint,.band-distribution .hint{margin:0}.band-categories{border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;gap:4px 12px;margin:0;padding:8px 10px;display:flex}.band-categories legend{padding:0 4px;font-weight:600}.band-categories label{align-items:center;gap:4px;min-height:36px;display:inline-flex}.band-categories input{width:auto;margin:0}.band-distribution{gap:6px;display:grid}.band-distribution ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.band-distribution li{background:var(--primary-soft);font-variant-numeric:tabular-nums;border-radius:999px;padding:2px 8px}.band-rows{gap:6px;max-width:360px;display:grid}.band-row{font-variant-numeric:tabular-nums;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;align-items:center;gap:8px;display:grid}.band-row-head{color:var(--muted);font-size:.85rem}.band-row input{min-width:0;min-height:40px}.band-problems{color:var(--negative);background:var(--negative-soft);border-radius:8px;gap:4px;margin:0;padding:8px 8px 8px 24px;display:grid}.band-actions{flex-wrap:wrap;gap:8px;display:flex}.special-seat-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px;margin:0}.special-seat-grid button{aspect-ratio:auto;min-height:44px;font-size:1rem}.special-seat-rows{gap:10px;display:grid}.special-seat-rows>.hint{margin:0}.special-seat-row{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;display:grid}.special-seat-row-label{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;min-height:44px;font-weight:700;display:inline-flex}.special-subject-chips{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.special-subject-chips button{border:1px solid var(--line);min-height:44px;color:var(--primary);background:var(--surface);border-radius:8px;padding:0 12px;font-weight:600}.special-subject-chips button.active{color:var(--on-primary);border-color:var(--primary);background:var(--primary)}.grades-seat-special{color:var(--ink);padding-left:16px}.grades-special{color:var(--muted);word-break:keep-all;font-size:.85rem;font-weight:600}.projection{color:#102124;background:#fffaf0;align-content:start;gap:16px;min-height:100dvh;padding:clamp(14px,2vw,24px);display:grid;position:relative}.projection-exit{z-index:2;color:#24515f;background:#e7f0ef;border:0;border-radius:8px;place-items:center;width:48px;height:48px;display:grid;position:fixed;top:14px;right:14px}.projection-header{border-bottom:3px solid #24515f;justify-content:space-between;align-items:end;gap:16px;padding:0 60px 10px 0;display:flex}.projection-header span{font-size:clamp(1rem,1.7vw,1.4rem);font-weight:900}.projection-header-tools{flex-wrap:wrap;flex:560px;justify-content:flex-end;align-items:center;gap:10px;display:flex}.projection-header .projection-sync{color:#24515f;background:#e7f0ef;border-radius:999px;padding:6px 10px;font-size:clamp(.82rem,1.1vw,1rem)}.projection-header .projection-sync.error{color:#7a3f00;background:#fff0cf}.projection-mode-switch{background:#e7f0ef;border:1px solid #c9dcda;border-radius:8px;gap:4px;padding:4px;display:inline-flex}.projection-mode-switch button{color:#24515f;background:0 0;border:0;border-radius:8px;min-height:36px;padding:0 12px;font-weight:900}.projection-mode-switch button.active{color:#fff;background:#24515f}.projection-contrast-toggle{color:#24515f;background:#e7f0ef;border:2px solid #24515f;border-radius:8px;min-height:44px;padding:0 12px;font-weight:900}.projection-contrast-toggle.active{color:#fff;background:#102124;border-color:#102124}.projection-toolbar-button{color:#24515f;white-space:nowrap;background:#e7f0ef;border:2px solid #24515f;border-radius:8px;align-items:center;gap:4px;min-height:44px;padding:0 10px;font-weight:900;display:inline-flex}.projection.projection-toolbar-collapsed .projection-header.projection-toolbar-bar{border-bottom-width:2px;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:8px;height:32px;min-height:0;padding:0;display:flex}.projection-toolbar-bar .projection-toolbar-title{text-overflow:ellipsis;white-space:nowrap;margin-right:auto;font-size:1.05rem;overflow:hidden}.projection-toolbar-bar .projection-toolbar-date{font-variant-numeric:tabular-nums;font-size:1rem}.projection-toolbar-bar .projection-toolbar-button,.projection-toolbar-bar .projection-exit{border-width:1px;height:28px;min-height:0;padding:0 8px;font-size:.9rem}.projection-toolbar-bar .projection-exit{width:32px;padding:0;position:static}.projection-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;display:grid}.task-projection-list{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));grid-auto-rows:4px;grid-auto-flow:dense;align-items:start;gap:8px}.projection-list article{background:#fffdf8;border:2px solid #d8cfbf;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px 12px;padding:10px;display:grid}.projection-student-card ul{margin:6px 0 0;padding-left:1.15em;font-size:clamp(1rem,1.35vw,1.35rem);font-weight:800;line-height:1.35}.projection-student-card li+li{margin-top:3px}.projection-student-card span{color:#24515f;font-weight:900}.projection-task-card{grid-template-columns:minmax(0,1fr) auto;grid-auto-rows:min-content}.task-projection-list .projection-task-card{grid-row:span var(--projection-row-span);height:100%;padding:8px}.task-projection-list .projection-task-card.tiny{align-self:start;min-height:102px}.task-projection-list .projection-task-card.small{min-height:104px}.task-projection-list .projection-task-card.medium{min-height:138px}.task-projection-list .projection-task-card.large{grid-column:span 2;min-height:190px}.projection-task-card h2{margin:2px 0 0;font-size:clamp(1.28rem,1.8vw,1.8rem);line-height:1.12}.projection-task-card>div:first-child span{color:#24515f;font-weight:900}.projection-meta{color:#66757b;white-space:nowrap;justify-self:end;font-weight:900}.projection-task-card .seat-chips{grid-column:1/-1;gap:5px}.projection-task-card .seat-chips.large span{width:42px;min-height:42px;font-size:clamp(1.08rem,1.35vw,1.22rem)}.projection-task-card.small .seat-chips{gap:4px}.projection-seat{color:#213034;background:#f0b84f;border-radius:8px;place-items:center;width:clamp(52px,5vw,70px);min-height:clamp(52px,5vw,70px);font-size:clamp(1.15rem,2.2vw,1.65rem);font-weight:900;display:grid}@media (width<=760px){.closed-task-summary{flex-direction:column;align-items:stretch}.task-card-tools{width:100%}.task-card-tools button{flex:auto}.quick-task-dialog{padding:16px}.presettle-close-actions{margin:12px -16px -16px;padding:12px 16px 16px;bottom:-16px}.quick-task-entry .seat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.app-main{padding-bottom:104px}.register-page{padding-bottom:96px}.weight-panel,.notebook-progress-grid,.link-box,.qr-panel{grid-template-columns:1fr}.qr-panel img{justify-self:center;width:min(100%,280px)}.bottom-nav{bottom:8px}.bottom-nav button{min-height:48px}.bottom-nav span{font-size:.72rem}.report-table{grid-template-columns:minmax(58px,.45fr) minmax(108px,.8fr) minmax(82px,.65fr) minmax(90px,.65fr) minmax(90px,.65fr) minmax(90px,.65fr) repeat(10,minmax(88px,.65fr))}.record-editor{grid-template-columns:1fr 1fr}}@media (width<=1180px){.task-projection-list{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}}@media (width<=680px){.task-projection-list{grid-template-columns:1fr}.task-projection-list .projection-task-card.large{grid-column:span 1}}.projection-header{flex-wrap:wrap}.projection-layout-control{white-space:nowrap;flex-wrap:nowrap;align-items:center;gap:6px;font-weight:800;display:flex}.projection-layout-control select,.projection-page-controls select{color:#102124;background:#fffdf8;border:2px solid #24515f;border-radius:8px;max-width:100%;min-height:44px;padding:6px 10px;font-weight:800}.projection-readable .projection-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;grid-auto-flow:row;align-items:start;gap:18px}.projection-readable .task-projection-list .projection-task-card{grid-area:auto;gap:12px;height:auto;min-height:0;padding:18px}.projection-readable .projection-task-card h2{overflow-wrap:anywhere;font-size:clamp(1.7rem,2.6vw,2.6rem);line-height:1.25}.projection-readable .projection-task-card .seat-chips{gap:10px}.projection-readable .projection-task-card .seat-chips.large span{color:#102124;font-variant-numeric:tabular-nums;background:#ffd46b;width:clamp(64px,6vw,88px);min-height:clamp(64px,6vw,88px);font-size:clamp(2rem,3vw,3rem);line-height:1.1}.projection-readable .projection-seat{color:#102124;background:#ffd46b;width:clamp(72px,7vw,100px);min-height:clamp(72px,7vw,100px);font-size:clamp(2.25rem,3.5vw,3.5rem)}.projection-readable .projection-student-card ul{overflow-wrap:anywhere;font-size:clamp(1.3rem,2vw,2rem)}.projection-page-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.projection-page-controls label{flex:0 520px;align-items:center;gap:10px;min-width:0;display:flex}.projection-page-controls label span{flex-shrink:0;font-weight:800}.projection-page-controls select{width:100%;min-width:0}.projection-page-controls button{color:#fff;background:#24515f;border:0;border-radius:8px;min-height:44px;padding:8px 18px;font-size:1.1rem;font-weight:800}.projection-layout-single .task-projection-list{grid-template-columns:minmax(0,1fr)}.projection-layout-single .projection-task-card h2{font-size:clamp(2rem,3.5vw,3.5rem)}.projection-layout-single .projection-task-card .seat-chips{grid-template-columns:repeat(auto-fit,minmax(clamp(64px,8vw,112px),1fr));gap:12px;display:grid}.projection-layout-single .projection-task-card .seat-chips.large span{width:100%;min-height:clamp(80px,9vw,128px);font-size:clamp(2.5rem,5vw,4.5rem)}.projection-empty{text-align:center;font-size:clamp(1.75rem,3vw,3rem);font-weight:900}@media (width<=900px){.projection-readable .projection-list{grid-template-columns:minmax(0,1fr)}.projection-header-tools{justify-content:flex-start}}.projection-layout-overview{gap:10px;padding:12px}.projection-layout-overview .projection-header{gap:8px;padding-bottom:8px}.projection-layout-overview h1{margin:0;font-size:clamp(1.5rem,2.5vw,2.1rem)}.projection:has(>.projection-matrix){grid-template-rows:auto minmax(240px,1fr);height:100dvh}.projection:has(>.projection-matrix){gap:8px}.projection:has(>.projection-matrix) .projection-header{align-items:center;padding-bottom:6px}.projection:has(>.projection-matrix) .projection-header-tools{row-gap:6px}.projection:has(>.projection-matrix) h1{font-size:clamp(1.3rem,2vw,1.8rem)}.projection:has(>.projection-matrix) .projection-layout-control select{min-height:38px;padding-block:2px}.projection:has(>.projection-matrix) .projection-contrast-toggle{min-height:38px;padding-block:2px}.projection:has(>.projection-matrix) .projection-header-tools .projection-toolbar-button{min-height:38px;padding-block:2px}.projection:has(>.projection-matrix) .projection-mode-switch button{min-height:30px}.projection-matrix{--matrix-cell:36px;--matrix-font:20px;--matrix-head:220px;--matrix-gap:3px;--matrix-name:18px;--matrix-name-contrast:21px;--matrix-page:#fffaf0;--matrix-empty:#fff;--matrix-grid:#00000029;--matrix-ink:#2c2c2a;--matrix-head-ink:#888780;--matrix-total-ink:#5f5e5a;--matrix-total-bg:#f1f0ec;overscroll-behavior:contain;min-width:0;min-height:0;overflow:auto}.projection-matrix table{table-layout:fixed;border-collapse:separate;border-spacing:var(--matrix-gap);width:calc(var(--matrix-head) + var(--matrix-seats) * var(--matrix-cell) + (var(--matrix-seats) + 2) * var(--matrix-gap));margin-inline:auto}.projection-matrix-head-col{width:var(--matrix-head)}.projection-matrix-seat-col{width:var(--matrix-cell)}.projection-matrix th,.projection-matrix td{height:var(--matrix-cell);color:var(--matrix-ink);font-size:var(--matrix-font);font-variant-numeric:tabular-nums;text-align:center;vertical-align:middle;border-radius:4px;padding:0;font-weight:500;line-height:1;overflow:hidden}.projection-matrix thead th,.projection-matrix tfoot th,.projection-matrix tfoot td,.projection-matrix-row-head{background:var(--matrix-page);box-shadow:0 0 0 var(--matrix-gap) var(--matrix-page);position:sticky}.projection-matrix thead th{z-index:2;color:var(--matrix-head-ink);top:0}.projection-matrix tfoot th,.projection-matrix tfoot td{z-index:2;bottom:0}.projection-matrix .projection-matrix-row-head{z-index:1;text-align:left;left:0}.projection-matrix thead .projection-matrix-corner,.projection-matrix tfoot .projection-matrix-row-head{z-index:3;left:0}.projection-matrix-corner{font-size:clamp(12px, calc(var(--matrix-font) * .7), 14px)!important;text-align:left!important;padding:0 6px!important}.projection-matrix-corner span{align-items:center;gap:6px;display:inline-flex}.projection-matrix-flag-sample{background:var(--task-type-pill-bg);border-radius:4px;flex:none;width:16px;height:16px;position:relative;overflow:hidden}.projection-matrix-flag-sample>i{border-radius:inherit;box-shadow:inset 0 0 0 2px var(--task-type-accent);position:absolute;inset:0}.projection-matrix-row-label{min-width:0;height:var(--matrix-cell);white-space:nowrap;align-items:center;gap:6px;padding:0 6px;display:flex}.projection-matrix-tag{font-size:clamp(11px, calc(var(--matrix-name) * .48), 16px);color:var(--matrix-fill-ink);background:var(--matrix-fill);border-radius:3px;flex:none;padding:1px 4px;line-height:1.4}.projection-matrix-title{text-overflow:ellipsis;min-width:0;font-size:var(--matrix-name);flex:0 auto;line-height:1.15;overflow:hidden}.projection-matrix-count{color:var(--matrix-head-ink);font-size:clamp(12px, calc(var(--matrix-name) * .55), 18px);flex:none}.projection-matrix tbody tr{--matrix-fill:var(--task-type-pill-bg);--matrix-fill-ink:var(--task-type-ink)}.projection-matrix-cell{background:var(--matrix-empty);box-shadow:inset 0 0 0 .5px var(--matrix-grid)}.projection-matrix-cell.pending{color:var(--matrix-fill-ink);background:var(--matrix-fill);box-shadow:none;font-weight:700}.projection-matrix-cell.missing-homework{box-shadow:inset 0 0 0 2px var(--task-type-accent);position:relative}.projection-matrix tfoot th,.projection-matrix tfoot td{color:var(--matrix-total-ink);background:var(--matrix-total-bg)}.projection-matrix tfoot .projection-matrix-row-head{text-align:right;padding:0 10px}.missing-homework-seat{outline:3px solid var(--danger);outline-offset:-3px;position:relative}.missing-homework-label{color:var(--danger);background:var(--negative-soft);border-radius:4px;padding:1px 3px;font-size:12px;font-weight:600;line-height:1.2;display:block}.projection .missing-homework-seat{outline-color:#b93829}.projection .missing-homework-label{color:#9c291d;background:#fff1ec;font-weight:800}.seat-chips .missing-homework-seat{flex-direction:column;justify-content:center;display:inline-flex}.quick-task-entry .seat-grid button.missing-homework-seat{aspect-ratio:auto;min-height:76px}.projection-note{color:#35515a;overflow-wrap:anywhere;white-space:pre-wrap;margin:4px 0 8px;font-size:clamp(18px,1.7vw,28px);font-weight:700;line-height:1.35}.projection-layout-single .projection-note{font-size:clamp(22px,2.4vw,38px)}.danger-button{min-height:44px;color:var(--on-primary);background:var(--danger);border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:600;display:inline-flex}.task-edit-rounds{gap:10px;margin:12px 0;display:grid}.task-edit-round{border:1px solid var(--line);background:var(--surface);border-radius:8px;gap:8px;padding:12px;display:grid}.task-edit-round-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.task-edit-round-delete{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.task-edit-round-delete .danger-button{min-height:38px}.task-edit-round-reason{color:var(--muted);font-size:.88rem}.record-actions small.hint{font-size:.82rem}@media (width<=479px){.mini-list>div.record-row:not(.editing){flex-wrap:wrap;gap:6px 12px}.mini-list>div.record-row:not(.editing)>span:first-child{word-break:keep-all;overflow-wrap:anywhere;flex:1 0 100%}.record-row .record-actions{flex:1 0 100%;justify-content:flex-end}.record-row .record-actions time{margin-right:auto}}.subject-config{gap:12px;display:grid}.subject-config h2{margin:0 0 4px}.subject-config-section{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:12px}.subject-config-section>summary{cursor:pointer;font-weight:600}.subject-config-body{gap:8px;margin-top:8px;display:grid}.subject-config-body>.secondary-button{justify-self:start}.subject-config-row{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.subject-config-row>input,.subject-config-row>select{flex:150px;width:auto;min-width:0}.subject-config-row>textarea{flex:100%}.subject-config-block,.subject-config-item{border-bottom:1px dashed var(--line);padding-bottom:8px}.subject-config-actions{gap:4px;margin-left:auto;display:inline-flex}.subject-config-actions .icon-button{width:40px;height:40px}.subject-config-errors{margin:0;padding-left:20px}.projection-shell:has(.projection-high-contrast){background:#0b1215}.projection.projection-high-contrast{color:#fff;background:#0b1215}.projection-high-contrast .projection-header{border-bottom-color:#fff}.projection-high-contrast .projection-exit,.projection-high-contrast .projection-header .projection-sync,.projection-high-contrast .projection-mode-switch,.projection-high-contrast .projection-contrast-toggle,.projection-high-contrast .projection-toolbar-button{color:#fff;background:#1f3036;border-color:#8fa3aa}.projection-high-contrast .projection-header .projection-sync.error{color:#ffd98a;background:#3a2a0a}.projection-high-contrast .projection-mode-switch button{color:#fff}.projection-high-contrast .projection-mode-switch button.active,.projection-high-contrast .projection-contrast-toggle.active{color:#0b1215;background:#fff}.projection-high-contrast .projection-layout-control select,.projection-high-contrast .projection-page-controls select{color:#fff;background:#1f3036;border-color:#fff}.projection-high-contrast .projection-page-controls button{color:#0b1215;background:#fff}.projection-high-contrast .projection-list article{color:#fff;background:#16242a;border-color:#5c737b}.projection-high-contrast .projection-task-card>div:first-child span,.projection-high-contrast .projection-student-card span,.projection-high-contrast .projection-meta{color:#e6edf0}.projection-high-contrast .projection-note{color:#c5ced2}.projection-high-contrast .projection-empty{color:#fff}.projection-high-contrast .seat-chips span,.projection-high-contrast .projection-task-card .seat-chips.large span,.projection-high-contrast .projection-seat{color:#000;background:#fff;font-weight:900}.projection-high-contrast.projection-readable .projection-task-card .seat-chips.large span{font-size:clamp(2.3rem,3.45vw,3.45rem)}.projection-high-contrast.projection-layout-single .projection-task-card .seat-chips.large span{font-size:clamp(2.9rem,5.75vw,5.2rem)}.projection-high-contrast.projection-readable .projection-seat{font-size:clamp(2.6rem,4vw,4rem)}.projection-high-contrast .missing-homework-seat{outline-color:#ff7a66}.projection-high-contrast .missing-homework-label{color:#fff;background:#a32a1e}.projection-high-contrast .projection-matrix{--matrix-page:#0b1215;--matrix-empty:#1a2a30;--matrix-grid:transparent;--matrix-ink:#fff;--matrix-head-ink:#fff;--matrix-total-ink:#fff;--matrix-total-bg:#2a3d44;--matrix-flag:#b00000}.projection-high-contrast .projection-matrix tr.task-type-missing_homework{--matrix-fill:#ff4d3d;--matrix-fill-ink:#000}.projection-high-contrast .projection-matrix tr.task-type-correction{--matrix-fill:#ffc400;--matrix-fill-ink:#000}.projection-high-contrast .projection-matrix tr.task-type-missing_signature{--matrix-fill:#3d9bff;--matrix-fill-ink:#000}.projection-high-contrast .projection-matrix tr.task-type-other{--matrix-fill:#c77dff;--matrix-fill-ink:#000}.projection-high-contrast .projection-matrix th,.projection-high-contrast .projection-matrix td,.projection-high-contrast .projection-matrix-cell.pending{font-weight:900}.projection-high-contrast .projection-matrix tbody .projection-matrix-row-head{box-shadow:inset 5px 0 0 var(--matrix-fill), 0 0 0 var(--matrix-gap) var(--matrix-page);background:#16242a}.projection-high-contrast .projection-matrix-row-label{padding-left:10px}.projection-high-contrast .projection-matrix-tag{font-size:clamp(11px, calc(var(--matrix-name-contrast) * .5), 17px);border-radius:4px;padding:2px 4px;line-height:1}.projection-high-contrast .projection-matrix-title{font-size:var(--matrix-name-contrast)}.projection-high-contrast .projection-matrix-count{font-size:clamp(12px, calc(var(--matrix-name-contrast) * .55), 19px)}.projection-high-contrast .projection-matrix-cell.missing-homework{box-shadow:inset 0 0 0 3px var(--matrix-flag)}.projection-high-contrast .projection-matrix-flag-sample:after,.projection-high-contrast .projection-matrix-cell.missing-homework:after{content:"";border-style:solid;border-color:transparent var(--matrix-flag) transparent transparent;position:absolute;top:0;right:0}.projection-high-contrast .projection-matrix-flag-sample{background:#ffc400}.projection-high-contrast .projection-matrix-flag-sample>i{box-shadow:inset 0 0 0 2px var(--matrix-flag)}.projection-high-contrast .projection-matrix-flag-sample:after{border-width:0 8px 8px 0}.projection-high-contrast .projection-matrix-cell.missing-homework:after{border-width:0 max(7px, calc(var(--matrix-cell) * .28)) max(7px, calc(var(--matrix-cell) * .28)) 0}.projection-high-contrast .projection-matrix tfoot .projection-matrix-row-head{text-align:center}.offline-banner.writable{color:var(--primary);background:var(--primary-soft)}.pending-sync{border:1px solid var(--line);width:min(100%,1600px);color:var(--ink);background:var(--surface);border-radius:12px;margin:0 auto 14px;padding:10px 14px}.pending-sync.has-failed{border-color:var(--danger)}.pending-sync-head{flex-wrap:wrap;align-items:center;gap:6px 12px;display:flex}.pending-sync-head strong{align-items:center;gap:6px;font-size:1rem;display:inline-flex}.pending-sync-actions{flex-wrap:wrap;gap:8px;margin-left:auto;display:inline-flex}.pending-sync-actions .secondary-button,.pending-sync-actions .text-button,.pending-sync-failure .secondary-button,.pending-sync-failure .danger-button{min-height:36px;padding:0 10px;font-size:.9rem}.pending-sync-list{gap:6px;margin:10px 0 0;padding:0;list-style:none;display:grid}.pending-sync-item{background:var(--bg);border-radius:8px;padding:8px 10px}.pending-sync-item.syncing{box-shadow:inset 4px 0 var(--primary)}.pending-sync-item.failed{background:var(--negative-soft)}.pending-sync-row{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.pending-sync-summary{flex:200px;font-weight:700}.pending-sync-row time{color:var(--muted);font-size:.85rem}.pending-sync-status{color:var(--muted);font-size:.85rem;font-weight:600}.pending-sync-item.failed .pending-sync-status{color:var(--danger)}.pending-sync-failure{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;display:flex}.pending-sync-error{color:var(--danger);flex:220px;margin:0;font-size:.9rem}.seat-grid button.pending-sync,.completed-strip button.pending-sync{opacity:.72;position:relative}.seat-grid button.pending-sync.selected{opacity:.85}.pending-sync-mark{color:var(--primary);line-height:1;display:inline-flex;position:absolute;top:2px;right:3px}.seat-grid button.selected .pending-sync-mark{color:var(--on-primary)}.pending-sync-tag{color:var(--primary);background:var(--primary-soft);vertical-align:middle;border-radius:999px;align-items:center;gap:3px;margin-left:6px;padding:1px 6px;font-size:.72rem;font-weight:600;display:inline-flex}.pending-sync-pill{color:var(--primary);background:var(--primary-soft);border-radius:999px;align-items:center;gap:3px;margin-left:6px;padding:2px 8px;font-size:.78rem;font-weight:600;display:inline-flex}.record-row.pending-sync>span:first-child{opacity:.8}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;margin-bottom:14px;display:flex}.page-header h1{flex:auto;margin:0;font-size:clamp(1.6rem,4vw,2rem);font-weight:800;line-height:1.15}.page-header.has-back h1{flex-basis:100%}.page-back{min-height:36px;color:var(--primary);background:0 0;border:0;border-radius:8px;align-items:center;gap:2px;margin-left:-8px;padding:0 10px 0 4px;font-weight:600;display:inline-flex}.page-status{color:var(--muted);white-space:nowrap;font-size:.9rem;font-weight:600}.page-header-actions{align-self:center;align-items:center;gap:8px;display:inline-flex}.page-header-actions .secondary-button{min-height:40px}.page-stack>.page-header{margin-bottom:0}.register-page{gap:12px;padding-bottom:92px}.register-summary{border:1px solid var(--line);min-height:44px;color:var(--ink);background:var(--surface);text-align:left;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:0 12px 0 14px;font-weight:600;display:flex}.register-actions{gap:8px;padding:12px;display:grid}.register-actions .field-label{color:var(--muted);margin:0;font-size:.82rem}.register-chip-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.register-chip{border:1px solid var(--line);min-height:38px;color:var(--ink);background:var(--surface);border-radius:8px;padding:0 8px;font-size:.92rem;font-weight:600}.register-chip[class*=task-type-]{color:var(--task-type-ink);background:var(--task-type-header-bg);border-color:#0000}.register-chip.roll-call-chip{color:var(--roll-call-ink);background:var(--roll-call-fill);border-color:#0000}.register-chip.points-chip{color:var(--points-ink);background:var(--points-fill);border-color:#0000}.register-actions.collapsed{gap:6px;padding:8px 10px}.register-chosen,.register-chosen-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.register-chosen .text-button,.register-chosen-heading .text-button{min-height:32px;padding:0 8px}.register-chosen-chips{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.register-chosen .register-change{flex-shrink:0}.register-recent{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.register-recent .field-label,.register-chip-row .field-label{margin-right:2px}.register-recent-chip{font-variant-numeric:tabular-nums;border:0;border-radius:8px;min-height:34px;padding:0 10px;font-size:.88rem;font-weight:600}.register-recent-chip.sign-plus{color:var(--positive);background:var(--positive-soft)}.register-recent-chip.sign-minus{color:var(--negative);background:var(--negative-soft)}.register-chip.active{outline:2px solid var(--primary);outline-offset:1px}.register-behavior-sign button.sign-plus{color:var(--positive);background:var(--positive-soft)}.register-behavior-sign button.sign-minus{color:var(--negative);background:var(--negative-soft)}.register-behavior-sign button.sign-plus.active,.register-behavior-sign button.sign-minus.active{color:var(--on-primary)}.register-behavior-sign button.sign-plus.active{background:var(--positive)}.register-behavior-sign button.sign-minus.active{background:var(--negative)}.register-page[data-sign=plus] .seat-grid button.selected,.register-page[data-sign=plus] .register-points .segmented button.active{color:var(--on-primary);background:var(--positive);border-color:var(--positive)}.register-page[data-sign=minus] .seat-grid button.selected,.register-page[data-sign=minus] .register-points .segmented button.active{color:var(--on-primary);background:var(--negative);border-color:var(--negative)}.register-fields{border:0;border-top:1px solid var(--line);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;min-width:0;margin:4px 0 0;padding:10px 0 0;display:grid}.register-fields label{min-width:0;font-size:.9rem}.register-fields input,.register-fields select{min-height:42px}.register-fields .segmented,.register-fields .field-label,.register-fields>input{grid-column:1/-1}.register-entry-fields{grid-template-columns:minmax(0,1fr);gap:8px;margin:0;padding:8px 0 0}.register-entry-fields>input{min-height:38px}.register-points{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.register-score{align-items:center;gap:6px;display:flex}.register-points .segmented{flex-wrap:nowrap;gap:2px;padding:3px}.register-points .segmented button{min-height:34px;padding:0 9px}.register-points .register-behavior-sign button{padding:0 11px}.register-points input{text-align:center;width:48px;min-height:40px;padding:0 4px}.register-fields .register-subjects{scrollbar-width:none;flex-wrap:nowrap;max-width:100%;overflow-x:auto}.register-subjects button{flex-shrink:0;min-height:34px}.register-seat-heading{justify-content:space-between;align-items:center;gap:8px;min-height:32px;display:flex}.register-seat-heading .field-label{color:var(--muted);margin:0;font-size:.82rem}.register-seat-heading .text-button{min-height:32px;padding:0 8px}.register-seat-tools{gap:2px;display:flex}.register-cleaning-jobs{gap:6px;display:grid}.register-cleaning-toggle{min-height:36px;color:var(--primary);background:0 0;border:0;border-radius:8px;justify-self:start;align-items:center;gap:4px;padding:0 6px 0 2px;font-size:.88rem;font-weight:700;display:inline-flex}.register-cleaning-count{color:var(--muted);font-weight:600}.register-cleaning-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;display:grid}.register-cleaning-grid button{border:1px solid var(--line);min-width:0;min-height:40px;color:var(--ink);background:var(--surface);text-align:left;border-radius:10px;justify-content:space-between;align-items:center;gap:6px;padding:4px 10px;font-size:.88rem;font-weight:600;display:flex}.register-cleaning-name{overflow-wrap:anywhere;min-width:0}.register-cleaning-grid button small{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;font-size:.78rem;font-weight:700}.register-cleaning-grid button.active{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.register-cleaning-grid button.active small{color:inherit}.register-cleaning-hint{margin:6px 0 0;font-size:.78rem}.register-hint{letter-spacing:-.02em;margin:0;font-size:.75rem;line-height:1.4}.register-seat-grid .seat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0}.register-seat-grid .seat-grid button{aspect-ratio:auto;min-height:48px;color:var(--ink);background:var(--surface);border-color:var(--line);font-variant-numeric:tabular-nums;border-radius:10px;font-size:1.15rem}.register-seat-grid .seat-grid button.selected{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.seat-grid button.seat-leave{align-content:center;place-items:center;gap:0;line-height:1.1;display:grid}.seat-leave-label{color:var(--muted);font-size:.72rem;font-weight:700}.seat-grid button.selected .seat-leave-label{color:inherit}.register-submit-bar{z-index:4;background:var(--surface);border:1px solid var(--line);width:min(760px,100% - 24px);box-shadow:var(--shadow);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 10px 10px 14px;display:flex;position:fixed;bottom:88px;left:50%;transform:translate(-50%)}.register-submit-text{gap:2px;min-width:0;display:grid}.register-submit-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.register-submit-text small{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.78rem;overflow:hidden}.register-submit-bar .primary-button{flex-shrink:0;min-height:42px}.register-toast{z-index:4;max-width:calc(100% - 32px);color:var(--on-primary);background:var(--ink);box-shadow:var(--shadow);white-space:nowrap;border-radius:999px;align-items:center;gap:10px;padding:6px 8px 6px 14px;font-size:.9rem;font-weight:700;display:flex;position:fixed;bottom:160px;left:50%;transform:translate(-50%)}.register-toast button{min-height:32px;color:var(--warning-soft);background:0 0;border:0;border-radius:999px;align-items:center;gap:4px;padding:0 10px;font-weight:700;display:inline-flex}.more-page{gap:12px}.semester-card{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;gap:2px;padding:14px 16px;display:grid}.semester-card-class{color:var(--muted);margin:0;font-size:.82rem;font-weight:600}.semester-card h2{margin:0 0 2px;font-size:1.25rem;font-weight:700}.semester-card h2 small{color:var(--muted);margin-left:6px;font-size:.85rem;font-weight:600}.semester-card p{margin:0;font-size:.92rem;font-weight:600}.semester-card-status{overflow-wrap:anywhere;color:var(--muted)}.more-menu{background:var(--surface);border:1px solid var(--line);border-radius:12px;display:grid;overflow:hidden}.more-item{border:0;border-bottom:1px solid var(--line);width:100%;min-height:52px;color:var(--ink);text-align:left;background:0 0;align-items:center;gap:10px;padding:10px 12px 10px 14px;font-size:1rem;font-weight:600;display:flex}.more-item:last-child{border-bottom:0}.more-item.static{cursor:default}.more-item-label{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.more-item-sub{min-width:0;color:var(--muted);text-align:right;text-overflow:ellipsis;white-space:nowrap;flex:auto;font-size:.86rem;font-weight:600;overflow:hidden}.more-item-chevron{color:var(--muted);flex-shrink:0;margin-left:auto}.more-item-sub+.more-item-chevron{margin-left:0}@media (width<=760px){.register-submit-bar{width:calc(100% - 16px);bottom:80px}.register-toast{bottom:152px}}.tasks-page{gap:12px}.tasks-list{align-content:start;gap:10px;min-width:0;display:grid}.tasks-empty{text-align:center;margin:0;padding:24px 16px}.task-category{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px 12px 16px;position:relative}.task-category:before{content:"";background:var(--task-type-accent);border-radius:0 4px 4px 0;width:4px;position:absolute;top:10px;bottom:10px;left:0}.task-category-head{justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 8px;font-size:1.05rem;font-weight:700;display:flex}.task-category-head small{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.82rem;font-weight:600}.task-category .task-shortcut-count{background:var(--surface)}.task-category .task-shortcut.selected{outline:2px solid var(--primary);outline-offset:1px}.task-sheet-layer{z-index:30;position:fixed;inset:0}.task-sheet-backdrop{background:var(--scrim);touch-action:none;animation:.18s ease-out task-sheet-fade;position:absolute;inset:0}.task-sheet{max-height:85dvh;color:var(--ink);background:var(--surface);box-shadow:var(--shadow-sheet);border-radius:18px 18px 0 0;flex-direction:column;transition:transform .18s ease-out;animation:.22s ease-out task-sheet-in;display:flex;position:absolute;bottom:0;left:0;right:0}.task-sheet-head{touch-action:none;flex-shrink:0;padding:8px 16px 6px}.task-sheet-grip{background:var(--line-strong);border-radius:2px;width:36px;height:4px;margin:0 auto 8px;display:block}.task-sheet-title{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.task-sheet-title h2{outline:none;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;font-size:1.2rem;font-weight:700;line-height:1.25;display:flex}.task-sheet-note{color:var(--muted);font-size:.88rem;font-weight:600}.task-sheet-meta{color:var(--muted);margin:2px 0 0;font-size:.84rem;font-weight:600}.task-sheet-flags{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;display:flex}.task-sheet-close{width:40px;height:40px}.task-sheet-body{overscroll-behavior:contain;min-height:0;padding:0 16px calc(12px + env(safe-area-inset-bottom));overflow-y:auto}.task-sheet-unit+.task-sheet-unit{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.task-sheet-unit-head{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.task-sheet-unit-head h3{margin:0;font-size:1.02rem}.task-sheet-unit-head span:not(.overdue-label){color:var(--muted);font-size:.85rem;font-weight:600}.task-sheet-tools{flex-wrap:wrap;gap:0 2px;margin:2px 0 4px -10px;display:flex}.task-sheet-tools .text-button{gap:4px;min-height:36px;padding:0 10px;font-size:.88rem}.task-sheet-due{flex-wrap:wrap;gap:6px;margin:0 0 10px;padding:0;list-style:none;display:flex}.task-sheet-due li{color:var(--muted);background:var(--bg);font-variant-numeric:tabular-nums;border-radius:999px;padding:3px 9px;font-size:.82rem;font-weight:600}.task-sheet-seats{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.task-sheet-seats button{min-width:0;min-height:44px;color:var(--ink);background:var(--surface);border:1px solid var(--line);font-variant-numeric:tabular-nums;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:2px 0;font-size:1.12rem;font-weight:700;display:flex;position:relative}.task-sheet-seats button:disabled{opacity:.28;cursor:default}.task-sheet-seats button.overdue{box-shadow:inset 0 -3px 0 var(--danger)}.task-sheet-seats button.selected{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.task-sheet-seats.removal button:not(:disabled){color:var(--danger);background:var(--negative-soft)}.task-sheet-seats.removal button.removing{color:var(--on-primary);background:var(--danger);border-color:var(--danger)}.task-sheet-seats .missing-homework-label{font-size:.68rem}.task-sheet-bar{background:var(--surface);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:10px;padding:8px 0;display:flex}.task-sheet-bar.sticky{z-index:1;position:sticky;bottom:0}.task-sheet-bar>span{margin-right:auto;font-weight:600}.task-sheet-bar.removal{background:var(--negative-soft);border-radius:8px;padding:10px}.task-sheet-bar.removal>span{color:var(--danger);font-size:.88rem}.task-sheet .archive-button,.task-sheet .completed-strip{margin-top:10px}@keyframes task-sheet-in{0%{transform:translateY(100%)}}@keyframes task-sheet-fade{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.task-sheet,.task-sheet-backdrop{transition:none;animation:none}}.tasks-split{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.tasks-detail{overscroll-behavior:contain;border-radius:12px;max-height:calc(100dvh - 116px);position:sticky;top:12px;overflow-y:auto}.task-sheet.panel{border:1px solid var(--line);max-height:none;box-shadow:none;border-radius:12px;animation:none;position:static}.task-sheet.panel .task-sheet-head{padding:14px 18px 4px}.task-sheet.panel .task-sheet-body{padding:0 18px 14px;overflow:visible}.task-sheet.panel .task-sheet-seats{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.task-sheet.panel .task-sheet-seats button{min-height:52px;font-size:1.25rem}.tasks-detail-hint{border:1px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:12px;margin:0;padding:48px 20px;font-weight:600}.register-toast.tasks-toast{bottom:96px}.class-page{gap:12px}.class-sort{align-items:center;display:inline-flex}.class-sort select{field-sizing:content;width:auto;max-width:11em;color:inherit;background:0 0;border:0;padding:0 2px;font-weight:600}.class-list{gap:8px;display:grid}@media (width>=1000px){.class-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.class-row{background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0}.class-row-toggle{width:100%;min-height:56px;color:inherit;text-align:left;background:0 0;border:0;border-radius:12px;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:10px 12px;display:grid}.class-row-no{text-align:center;font-variant-numeric:tabular-nums;font-size:1.45rem;font-weight:700;position:relative}.class-row-tags{flex-wrap:wrap;gap:6px;display:flex}.class-tag{color:var(--muted);background:var(--bg);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;padding:3px 9px;font-size:.8rem;font-weight:600}.class-tag[class*=task-type-]{color:var(--task-type-ink);background:var(--task-type-header-bg)}.class-tag.down{color:var(--negative);background:var(--negative-soft)}.class-tag.up{color:var(--positive);background:var(--positive-soft)}.class-tag.filled{color:var(--primary);background:var(--primary-soft)}.class-row-chevron{color:var(--muted)}.class-row-detail{border-top:1px solid var(--line);gap:4px;padding:0 14px 14px;display:grid}.class-row-detail h3{color:var(--muted);margin:10px 0 6px;font-size:.88rem;font-weight:600}.class-row-detail .hint{margin:0}.class-items,.class-events{margin:0;padding:0;list-style:none;display:grid}.class-items li{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 0;display:grid}.class-item-main{min-width:0;display:grid}.class-item-title{overflow-wrap:anywhere;font-weight:600}.class-item-title small{color:var(--muted);font-weight:600}.class-item-due{color:var(--muted);font-size:.82rem;font-weight:600}.class-item-due.overdue{color:var(--danger)}.excused-label{background:var(--primary-soft);color:var(--primary);border-radius:4px;margin-left:4px;padding:0 4px;font-size:.72rem;font-weight:700;line-height:1.4;display:inline-block}.task-sheet-seats .excused-label{margin-left:0;font-size:.68rem;display:block}.class-excused-toggle{border:1px solid var(--line-strong);background:var(--primary-soft);width:100%;min-height:56px;color:var(--primary);text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;display:flex}.class-excused-toggle[aria-expanded=true]{border-color:var(--primary)}.class-excused-toggle+div{margin-top:8px}.class-excused-toggle svg{flex-shrink:0}.class-excused-text{flex:1;gap:2px;min-width:0;display:grid}.class-excused-text strong{font-size:1rem;font-weight:700}.class-excused-text small{color:var(--muted);font-size:.82rem;font-weight:500}.class-excused-count{background:var(--surface);color:var(--primary);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.82rem;font-weight:700}.register-excused{margin-top:10px}.register-excused-seats{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.register-excused-seats button{border:1px solid var(--line);background:var(--surface);min-width:44px;min-height:44px;color:inherit;cursor:pointer;border-radius:8px;padding:0 8px;font-weight:600}.register-excused-seats button.active{border-color:var(--primary)}.register-excused-hint{margin:6px 0 0}.register-excused-seats button.register-excused-out{color:var(--muted);background:0 0;border-style:dashed}.register-excused-out .excused-out-label{color:var(--muted);background:0 0;font-weight:600}.class-items .secondary-button{gap:4px;min-height:38px;padding:0 10px}.class-events li{font-variant-numeric:tabular-nums;grid-template-columns:6.5em minmax(0,1fr) auto;gap:8px;padding:3px 0;font-size:.9rem;display:grid}.class-events li span:first-child{color:var(--muted)}.class-events .down{color:var(--negative)}.class-events .up{color:var(--positive)}.class-row-detail .completed-strip{margin-top:8px}.class-row-detail .completed-strip button{align-items:center;gap:4px;display:inline-flex}.entry-code-panel .section-heading h2{align-items:center;gap:8px;display:inline-flex}.entry-code-panel textarea{font-variant-numeric:tabular-nums;min-height:120px}.toggle-row{align-items:center;gap:8px;min-height:44px;font-weight:600;display:inline-flex}.toggle-row input{width:20px;height:20px;accent-color:var(--primary);margin:0}.entry-code-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;margin-top:12px;display:grid}.entry-code-seat{background:var(--surface);border:1px solid var(--line);border-radius:8px;grid-template-columns:auto 1fr auto auto;align-items:center;gap:6px;min-height:40px;padding:6px 10px;font-size:.9rem;display:grid}.entry-code-seat strong{font-variant-numeric:tabular-nums}.entry-code-seat span{color:var(--muted)}.entry-code-seat.set span{color:var(--primary);font-weight:600}.entry-code-seat .text-button{min-height:30px;padding:0 6px;font-size:.85rem}.entry-code-seat strong,.entry-code-seat .text-button{white-space:nowrap}.entry-code-check{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:8px;padding-bottom:4px;display:flex}.entry-code-check input{flex:120px;min-width:0}.entry-code-check .secondary-button{min-height:36px}.entry-code-check-result{font-style:normal;font-weight:600}.entry-code-check-result.match{color:var(--primary)}.entry-code-check-result.mismatch,.entry-code-check-result.failed{color:var(--danger)}@media (width<=640px){.entry-code-grid{grid-template-columns:minmax(0,1fr);gap:6px}.entry-code-seat{min-height:38px;padding:4px 10px}}:root{--attendance-sick-ink:var(--warning);--attendance-sick-bg:var(--warning-soft);--attendance-personal-ink:var(--type-other-ink);--attendance-personal-bg:#f3ecf8;--attendance-official-ink:var(--type-signature-ink);--attendance-official-bg:var(--type-signature-card);--attendance-late-ink:var(--negative);--attendance-late-bg:var(--negative-soft)}[data-attendance=sick]{--attendance-ink:var(--attendance-sick-ink);--attendance-bg:var(--attendance-sick-bg)}[data-attendance=personal]{--attendance-ink:var(--attendance-personal-ink);--attendance-bg:var(--attendance-personal-bg)}[data-attendance=official]{--attendance-ink:var(--attendance-official-ink);--attendance-bg:var(--attendance-official-bg)}[data-attendance=late]{--attendance-ink:var(--attendance-late-ink);--attendance-bg:var(--attendance-late-bg)}.roll-call-fields{grid-template-columns:minmax(0,1fr);gap:8px}.roll-call-date{align-items:center;gap:8px;display:flex}.roll-call-date input{flex:0 180px;min-width:0}.roll-call-legend{flex-wrap:wrap;gap:4px;margin:0;font-size:.85rem;font-weight:600;display:flex}.roll-call-legend span[data-attendance]{color:var(--attendance-ink);background:var(--attendance-bg);border-radius:6px;padding:0 6px}.roll-call-option{align-items:center;gap:8px;min-height:36px;display:flex}.register-fields .roll-call-option input{width:20px;height:20px;margin:0}.roll-call-hint{margin:0;font-size:.8rem}.roll-call-grid button{align-content:center;place-items:center;gap:0;line-height:1.1;display:grid;position:relative}.roll-call-grid button[data-attendance]:not([data-attendance=present]){color:var(--attendance-ink);background:var(--attendance-bg);border-color:var(--attendance-ink)}.roll-call-grid button.changed{outline:2px dashed var(--primary);outline-offset:1px}.attendance-badge{font-size:.72rem;font-weight:700}.class-tag.attendance-tag{color:var(--attendance-ink);background:var(--attendance-bg)}.class-attendance-counts{font-variant-numeric:tabular-nums;margin:0 0 4px;font-size:.9rem}.class-tag.weekly-count-tag{color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.class-task-counts table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;max-width:360px;font-size:.9rem}.class-task-counts th,.class-task-counts td{border-bottom:1px solid var(--line);text-align:right;padding:4px 6px}.class-task-counts thead th{color:var(--muted);font-weight:600}.class-task-counts tbody th{text-align:left;width:3.5em;font-weight:600}.class-attendance .class-events li{grid-template-columns:6.5em minmax(0,1fr)}.class-events [data-attendance],.attendance-days [data-attendance]{color:var(--attendance-ink);font-weight:600}.attendance-filters{gap:10px;display:grid}.attendance-filters .segmented{justify-self:start}.attendance-custom{flex-wrap:wrap;gap:10px;display:flex}.attendance-custom label{align-items:center;gap:6px;font-size:.9rem;display:flex}.attendance-custom input{min-width:0}.attendance-summary{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:.9rem;display:flex}.attendance-table{border:1px solid var(--line);background:var(--surface);border-radius:10px;overflow:hidden}.attendance-table-row{border:0;border-top:1px solid var(--line);width:100%;min-height:44px;color:var(--ink);font-variant-numeric:tabular-nums;text-align:center;background:0 0;grid-template-columns:minmax(3.5em,1.2fr) repeat(4,minmax(0,1fr));align-items:center;padding:0 12px;display:grid}.attendance-table-row>span:first-child{text-align:left}.attendance-table-head{color:var(--muted);border-top:0;font-size:.85rem;font-weight:600}.attendance-table-total{font-weight:700}button.attendance-table-row:disabled{cursor:default;opacity:1}.attendance-table-row .has-count{color:var(--attendance-ink);font-weight:700}.attendance-seat-no{align-items:center;gap:4px;font-weight:700;display:inline-flex}.attendance-seat.open{background:var(--bg)}.attendance-days{margin:0;padding:4px 12px 10px 3.5em;list-style:none}.attendance-days li{font-variant-numeric:tabular-nums;gap:12px;padding:2px 0;font-size:.9rem;display:flex}.roll-call-submit .register-submit-text strong{white-space:normal;line-height:1.3}.roll-call-toast{white-space:normal;border-radius:14px;width:min(560px,100% - 32px);bottom:182px}.roll-call-count{white-space:nowrap}.roll-call-toast span{min-width:0}.roll-call-toast button{white-space:nowrap;flex-shrink:0}.roll-call-hint{letter-spacing:-.02em;font-size:.75rem;line-height:1.4}.attendance-table-row:not(.attendance-table-head):not(.attendance-table-total)>span:not(:first-child):not(.has-count){color:var(--muted)}.projection-tool-overlay{z-index:10;background:#1021248c;place-items:center;padding:16px;display:grid;position:fixed;inset:0;overflow:hidden}.projection-tool-panel{box-sizing:border-box;color:#102124;background:#fffaf0;border:3px solid #24515f;border-radius:12px;gap:clamp(10px,2vh,20px);width:min(1180px,100%);max-height:100%;padding:clamp(14px,2.4vw,28px);display:grid;overflow:hidden auto}.projection-tool-head{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.projection-tool-head h2{margin:0;font-size:clamp(1.4rem,2.4vw,2rem);font-weight:900}.projection-tool-close{margin-left:auto}.projection-draw-pool{flex-wrap:wrap;gap:6px 14px;margin:0;font-size:clamp(1rem,1.6vw,1.3rem);font-weight:900;display:flex}.projection-draw-controls,.projection-timer-presets,.projection-timer-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.projection-tool-panel .projection-mode-switch{flex-wrap:wrap}.projection-tool-panel .projection-mode-switch button{min-height:44px;font-size:1.05rem}.projection-tool-panel button:disabled{opacity:.45}.projection-draw-button{color:#fff;background:#24515f;border:0;border-radius:10px;min-width:160px;min-height:64px;padding:0 28px;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:900}.projection-draw-result{align-content:center;place-items:center;gap:8px;min-height:clamp(160px,42vh,460px);display:grid}.projection-draw-seats{--draw-seat:min(36vh, 30vw);flex-wrap:wrap;justify-content:center;gap:clamp(10px,2vw,24px);margin:0;padding:0;list-style:none;display:flex}.projection-draw-seats.count-2{--draw-seat:min(32vh, 26vw)}.projection-draw-seats.count-3{--draw-seat:min(28vh, 19vw)}.projection-draw-seats.count-4,.projection-draw-seats.count-5,.projection-draw-seats.count-6{--draw-seat:min(19vh, 14vw)}.projection-draw-seats li{min-width:var(--draw-seat);height:var(--draw-seat);color:#213034;font-size:calc(var(--draw-seat) * .68);font-variant-numeric:tabular-nums;background:#f0b84f;border-radius:14px;place-items:center;padding:0 .12em;font-weight:900;line-height:1;display:grid}.projection-draw-result.shuffling li{opacity:.6}.projection-draw-hint{color:#4a5f64;margin:0;font-size:clamp(1.2rem,2.4vw,1.8rem);font-weight:900}.projection-draw-round{color:#fff;background:#24515f;border-radius:999px;margin:0;padding:4px 16px;font-size:clamp(1.1rem,2vw,1.5rem);font-weight:900}.projection-timer-minutes{align-items:center;gap:6px;font-size:1.1rem;font-weight:900;display:inline-flex}.projection-timer-minutes input{color:#102124;font-variant-numeric:tabular-nums;background:#fff;border:2px solid #24515f;border-radius:8px;width:4.5em;min-height:44px;padding:0 8px;font-size:1.2rem;font-weight:900}.projection-timer-display{border-radius:12px;place-items:center;gap:4px;padding:8px 0;display:grid}.projection-timer-clock{font-variant-numeric:tabular-nums;font-size:min(34vh,22vw);font-weight:900;line-height:1}.projection-timer-display.warning,.projection-timer-display.finished{color:#b3261e}.projection-timer-display.finished{animation:.5s step-end 6 projection-timer-flash}.projection-timer-done{font-size:clamp(2rem,6vw,4.5rem);font-weight:900}@keyframes projection-timer-flash{50%{color:#fff;background:#b3261e}}.projection-tool-panel.projection-stay{width:min(1600px,100%)}.projection-stay-date{font-variant-numeric:tabular-nums;font-size:clamp(1.2rem,2vw,1.7rem);font-weight:900}.projection-stay-threshold{font-variant-numeric:tabular-nums;align-items:center;gap:8px;font-size:clamp(1.05rem,1.7vw,1.4rem);font-weight:900;display:inline-flex}.projection-stay-threshold .projection-toolbar-button{justify-content:center;min-width:44px;padding:0}.projection-stay-seats{--stay-chip:clamp(80px, min(8vw, 14vh), 150px);grid-template-columns:repeat(auto-fill, minmax(var(--stay-chip), 1fr));gap:clamp(8px,1vw,14px);margin:0;padding:0;list-style:none;display:grid}.projection-stay-seats.few{--stay-chip:clamp(110px, min(14.5vw, 26vh), 240px)}.projection-stay-seats.some{--stay-chip:clamp(100px, min(11.5vw, 20vh), 200px)}.projection-stay-seats.many{--stay-chip:clamp(90px, min(9.5vw, 17vh), 170px)}.projection-stay-seats li{align-items:center;gap:calc(var(--stay-chip) * .05);padding:calc(var(--stay-chip) * .07) 4px calc(var(--stay-chip) * .09);color:#102124;background:#fff;border:3px solid #24515f;border-radius:12px;flex-direction:column;display:flex}.projection-stay-seats strong{font-size:calc(var(--stay-chip) * .5);font-variant-numeric:tabular-nums;font-weight:900;line-height:1}.projection-stay-reason{font-size:calc(var(--stay-chip) * .19);white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:999px;padding:1px .45em;font-weight:900;line-height:1.2}.projection-stay-reason.missing{color:#fff;background:#b3261e}.projection-stay-reason.overdue{color:#213034;background:#f0b84f}.projection-stay-reason.duty{color:#fff;background:#24515f}.projection-stay-seat{justify-content:center;align-items:center;gap:calc(var(--stay-chip) * .04);flex-wrap:wrap;display:flex}.projection-stay-seats .projection-duty-marks{width:calc(var(--stay-chip) * .3);height:calc(var(--stay-chip) * .3)}.projection-stay-reason.redo{color:#fff;background:#b3261e;border-radius:10px}.projection-stay-empty{text-align:center;padding:clamp(24px,10vh,96px) 0}.projection-toolbar-button.projection-timer-badge{font-variant-numeric:tabular-nums}.projection-toolbar-button.projection-timer-badge.warning{color:#fff;background:#b3261e;border-color:#b3261e}.projection.projection-toolbar-collapsed .projection-header.projection-toolbar-bar{min-width:0}@media (width<=560px){.projection-toolbar-bar .projection-toolbar-date{display:none}}@media (prefers-reduced-motion:reduce){.projection-timer-display.finished{outline:6px solid #b3261e;animation:none}}.projection-high-contrast .projection-tool-overlay{background:#000000b3}.projection-high-contrast .projection-tool-panel{color:#fff;background:#0b1215;border-color:#8fa3aa}.projection-high-contrast .projection-draw-button,.projection-high-contrast .projection-draw-round{color:#0b1215;background:#fff}.projection-high-contrast .projection-draw-seats li{color:#000;background:#fff}.projection-high-contrast .projection-draw-hint{color:#c5ced2}.projection-high-contrast .projection-stay-seats li{color:#000;background:#fff;border-color:#fff}.projection-high-contrast .projection-stay-reason.missing{color:#000;background:#ff4d3d}.projection-high-contrast .projection-stay-reason.overdue{color:#000;background:#ffc400}.projection-high-contrast .projection-stay-reason.duty{color:#000;background:#7fd1ff}.projection-high-contrast .projection-stay-reason.redo{color:#fff;background:#b3261e}.projection-high-contrast .projection-timer-minutes input{color:#fff;background:#1f3036;border-color:#fff}.projection-high-contrast .projection-timer-display.warning,.projection-high-contrast .projection-timer-display.finished{color:#ff7a66}.projection-high-contrast .projection-toolbar-button.projection-timer-badge.warning{color:#000;background:#ff7a66;border-color:#ff7a66}@keyframes projection-timer-flash-dark{50%{color:#000;background:#ff7a66}}.projection-high-contrast .projection-timer-display.finished{animation-name:projection-timer-flash-dark}@media (prefers-reduced-motion:reduce){.projection-high-contrast .projection-timer-display.finished{outline-color:#ff7a66;animation:none}}.projection-self-report-toggle.active{color:#fff;background:#24515f}.projection-self-report-count{color:#102124;font-variant-numeric:tabular-nums;background:#f0b84f;border-radius:999px;margin-left:2px;padding:1px 6px;font-size:.85em}.projection-self-report-banner{color:#102124;text-align:center;background:#fff1c9;border:2px solid #f0b84f;border-radius:8px;margin:0;padding:4px 12px;font-size:clamp(1rem,1.6vw,1.3rem);font-weight:900;line-height:1.3}.projection-matrix-cell{position:relative}.projection:has(>.projection-self-report-banner):has(>.projection-matrix){grid-template-rows:auto auto minmax(240px,1fr)}.projection-matrix-cell>.projection-matrix-tap{width:100%;height:100%;min-height:0;color:inherit;border-radius:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;display:block}.projection-matrix-cell.self-reported{color:var(--matrix-ink);background:var(--matrix-empty);box-shadow:inset 0 0 0 max(3px, calc(var(--matrix-cell) * .1)) var(--matrix-self-report-ring,var(--matrix-fill-ink))}.projection-matrix-cell.self-reported.missing-homework{box-shadow:inset 0 0 0 2px var(--task-type-accent), inset 0 0 0 max(5px, calc(var(--matrix-cell) * .14)) var(--matrix-self-report-ring,var(--matrix-fill-ink))}.projection-matrix-cell.self-reported:before{content:"✓";font-size:max(8px, calc(var(--matrix-cell) * .26));pointer-events:none;font-weight:900;line-height:1;position:absolute;top:0;left:1px}.seat-chips span.self-report-tappable{cursor:pointer}.projection .seat-chips span.self-reported{color:#213034;background:#fffaf0;position:relative;box-shadow:inset 0 0 0 4px #f0b84f}.seat-chips span.self-reported:before{content:"✓";font-size:.45em;font-weight:900;line-height:1;position:absolute;top:2px;left:5px}.projection-item-tap{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:#fff6dc;border:2px dashed #d8b75d;border-radius:8px;padding:4px 6px;display:block}.projection-student-card li.self-reported>.projection-item-tap{background:#fffaf0;border:3px solid #24515f}.projection-student-card li.self-reported:not(:has(>button)){background:#fffaf0;border:3px solid #24515f}.projection-student-card li.self-reported:not(:has(>button)){border-radius:8px;padding:2px 6px}.projection-self-report-mark{color:#fff;vertical-align:middle;background:#24515f;border-radius:4px;margin-left:6px;padding:0 6px;font-size:.75em;font-weight:900;display:inline-block}.projection-self-report-sheet{text-align:center;width:min(560px,100%)}.projection-self-report-sheet h2{margin:0;font-size:clamp(1.5rem,3vw,2.4rem);font-weight:900;line-height:1.25}.projection-self-report-detail{margin:0;font-size:clamp(1rem,1.6vw,1.3rem);font-weight:800}.projection-self-report-actions{justify-content:center;gap:16px;display:flex}.projection-self-report-actions button{border-radius:10px;min-width:140px;min-height:64px;padding:0 24px;font-size:clamp(1.3rem,2.2vw,1.8rem);font-weight:900}.projection-self-report-cancel{color:#24515f;background:#e7f0ef;border:3px solid #24515f}.projection-self-report-confirm{color:#fff;background:#24515f;border:3px solid #24515f}.projection-high-contrast .projection-self-report-banner{color:#000;background:#ffc400;border-color:#fff}.projection-high-contrast .projection-self-report-toggle.active{color:#000;background:#fff}.projection-high-contrast .projection-matrix-cell.self-reported{--matrix-self-report-ring:var(--matrix-fill);color:#fff}.projection-high-contrast .seat-chips span.self-reported,.projection-high-contrast .projection-task-card .seat-chips.large span.self-reported{color:#fff;background:#0b1215;box-shadow:inset 0 0 0 5px #fff}.projection-high-contrast .projection-item-tap{background:#16242a;border-color:#8fa3aa}.projection-high-contrast .projection-student-card li.self-reported>.projection-item-tap{background:#0b1215;border-color:#fff}.projection-high-contrast .projection-student-card li.self-reported:not(:has(>button)){background:#0b1215;border-color:#fff}.projection-high-contrast .projection-self-report-mark{color:#000;background:#fff}.projection-high-contrast .projection-self-report-cancel{color:#fff;background:#0b1215;border-color:#fff}.projection-high-contrast .projection-self-report-confirm{color:#000;background:#fff;border-color:#fff}.projection-progress{--mascot-size:clamp(56px, 6.2vw, 88px);align-items:center;gap:8px;min-width:0;display:flex;position:relative}.projection-progress-stack{gap:2px;min-width:0;display:grid}.projection-progress-line{color:#24515f;white-space:nowrap;font-variant-numeric:tabular-nums;margin:0;font-size:clamp(1.05rem,1.7vw,1.6rem);font-weight:900;line-height:1.2}.projection-progress .projection-progress-main{font-weight:900}.projection-progress .projection-progress-lead,.projection-toolbar-bar .projection-toolbar-toggle-label{font-size:inherit;font-weight:inherit}.projection-progress[data-mood=happy] .projection-progress-main{color:#2f7a4a}.projection-progress .projection-progress-reported{color:#7a5a12;font-size:.75em;font-weight:800;display:block}.projection-progress:not(.compact) .projection-progress-line{min-height:2.1em}.projection:has(>.projection-matrix) .projection-progress:not(.compact){--mascot-size:clamp(46px, 5.6vw, 80px)}.projection:has(>.projection-matrix) .projection-progress:not(.compact) .projection-progress-line{font-size:clamp(1rem,1.4vw,1.35rem)}@media (width<=1199px){:is(.projection .projection-progress:not(.compact),.projection:has(>.projection-matrix) .projection-progress:not(.compact)){--mascot-size:34px;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"title title""mascot main""reported reported";align-items:center;gap:2px 4px;display:grid}.projection-progress:not(.compact) .projection-progress-stack,.projection-progress:not(.compact) .projection-progress-line{display:contents}.projection-progress:not(.compact) h1{grid-area:title}.projection-progress:not(.compact) .projection-mascot{grid-area:mascot}.projection-progress:not(.compact) .projection-progress-main{grid-area:main}.projection-progress:not(.compact) .projection-progress-reported{grid-area:reported}}.projection-toolbar-bar .projection-toolbar-title{flex:0 3 auto;min-width:0;margin-right:0}.projection-progress.compact{--mascot-size:28px;flex:0 auto;gap:4px;margin-right:auto}.projection-progress.compact .projection-progress-line{text-overflow:ellipsis;font-size:1rem;overflow:hidden}.projection-progress.compact .projection-progress-reported{display:inline}@media (width<=560px){.projection.projection-toolbar-collapsed .projection-header.projection-toolbar-bar{gap:6px}.projection-toolbar-bar .projection-toolbar-title,.projection-toolbar-bar .projection-toolbar-toggle-label,.projection-progress.compact .projection-progress-lead,.projection-progress.compact .projection-progress-reported{display:none}.projection-toolbar-bar .projection-toolbar-button{padding:0 6px}}.projection-toolbar-bar .projection-self-report-count{font-size:.85rem;line-height:1.3}.projection-mascot{--mascot-line:#213034;--mascot-face:#213034;--mascot-cover:#f6a83b;--mascot-pages:#fff;--mascot-label:#fffdf6;--mascot-ring:#dfe7ea;--mascot-cheek:#ff8d9b;--mascot-band:#e5484d;--mascot-pencil:#ffd166;--mascot-wood:#f3c99a;--mascot-eraser:#ff9fb1;--mascot-sparkle:#ffbe1a;--mascot-shadow:#10212424;--mascot-stroke:2.5px;width:calc(var(--mascot-size) * .96);height:var(--mascot-size);flex:none;overflow:visible}.projection-mascot .mascot-shadow{fill:var(--mascot-shadow)}.projection-mascot .mascot-foot,.projection-mascot .mascot-pages,.projection-mascot .mascot-cover,.projection-mascot .mascot-ring,.projection-mascot .mascot-label,.projection-mascot .mascot-band,.projection-mascot .mascot-pencil-body,.projection-mascot .mascot-pencil-wood,.projection-mascot .mascot-pencil-eraser,.projection-mascot .mascot-sparkle{stroke:var(--mascot-line);stroke-width:var(--mascot-stroke);stroke-linejoin:round}.projection-mascot .mascot-foot,.projection-mascot .mascot-cover{fill:var(--mascot-cover)}.projection-mascot .mascot-pages{fill:var(--mascot-pages)}.projection-mascot .mascot-ring{fill:var(--mascot-ring)}.projection-mascot .mascot-label{fill:var(--mascot-label)}.projection-mascot .mascot-band{fill:var(--mascot-band)}.projection-mascot .mascot-arm{fill:none;stroke:var(--mascot-line);stroke-width:5px;stroke-linecap:round}.projection-mascot .mascot-hand{fill:var(--mascot-line)}.projection-mascot .mascot-cheek{fill:var(--mascot-cheek);opacity:.85}.projection-mascot .mascot-eye,.projection-mascot .mascot-mouth,.projection-mascot .mascot-pencil-lead{fill:var(--mascot-face)}.projection-mascot .mascot-eye-shine{fill:#fff}.projection-mascot .mascot-tongue{fill:#ff7a8a}.projection-mascot .mascot-line-face{fill:none;stroke:var(--mascot-face);stroke-width:2.6px;stroke-linecap:round}.projection-mascot .mascot-pencil-body{fill:var(--mascot-pencil)}.projection-mascot .mascot-pencil-wood{fill:var(--mascot-wood)}.projection-mascot .mascot-pencil-eraser{fill:var(--mascot-eraser)}.projection-mascot .mascot-sparkle{fill:var(--mascot-sparkle);stroke-width:1.2px}.projection-mascot .mascot-body{transform-box:view-box;transform-origin:48px 92px;animation:2.6s ease-in-out infinite projection-mascot-bob}.projection-mascot .mascot-eyes{transform-box:fill-box;transform-origin:50%;animation:4.2s ease-in-out infinite projection-mascot-blink}.projection-mascot.mood-excited .mascot-body{animation:1.2s ease-in-out infinite projection-mascot-hop}.projection-mascot .mascot-wave{transform-box:view-box;transform-origin:20.5px 50px;animation:.9s ease-in-out infinite alternate projection-mascot-wave}.projection-mascot.mood-happy .mascot-body{animation:2.2s ease-in-out infinite projection-mascot-sway}.projection-mascot .mascot-sparkle{transform-box:fill-box;transform-origin:50%;animation:1.6s ease-in-out infinite projection-mascot-twinkle}.projection-mascot .mascot-sparkle:nth-child(2){animation-delay:.5s}.projection-mascot .mascot-sparkle:nth-child(3){animation-delay:1s}.projection-mascot.jump{transform-origin:50% 100%;animation:.56s cubic-bezier(.3,.6,.4,1) 3 projection-mascot-jump}.projection-mascot.dance .mascot-body{animation:.9s ease-in-out infinite projection-mascot-dance}@keyframes projection-mascot-bob{50%{transform:translateY(-3px)}}@keyframes projection-mascot-blink{0%,90%,97%,to{transform:scaleY(1)}93%{transform:scaleY(.12)}}@keyframes projection-mascot-hop{25%{transform:translateY(-5px)rotate(-3deg)}50%{transform:translateY(0)}75%{transform:translateY(-5px)rotate(3deg)}}@keyframes projection-mascot-wave{0%{transform:rotate(-10deg)}to{transform:rotate(16deg)}}@keyframes projection-mascot-sway{0%,to{transform:rotate(-3deg)}50%{transform:translateY(-2px)rotate(3deg)}}@keyframes projection-mascot-twinkle{0%,to{opacity:.55;transform:scale(.6)}50%{opacity:1;transform:scale(1.15)}}@keyframes projection-mascot-jump{0%,to{transform:translateY(0)scale(1)}15%{transform:translateY(0)scale(1.08,.9)}50%{transform:translateY(-30%)scale(.95,1.06)}85%{transform:translateY(0)scale(1.05,.95)}}@keyframes projection-mascot-dance{0%,to{transform:translateY(0)rotate(-8deg)}25%{transform:translateY(-8px)rotate(0)}50%{transform:translateY(0)rotate(8deg)}75%{transform:translateY(-8px)rotate(0)}}.projection-speech{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.projection-seat-cheer{z-index:7;pointer-events:none;position:fixed;inset:0;overflow:hidden}.projection-seat-cheer-ring{animation:2s ease-out both projection-seat-ring;position:absolute}.projection-seat-cheer-ring:before{content:"";border:5px solid #f0b84f;border-radius:12px;position:absolute;inset:-9px;box-shadow:0 0 0 3px #ffffffe6,0 0 18px 4px #f0b84fb3}.projection-seat-cheer-bubble{--mascot-size:clamp(48px, 5vw, 72px);box-sizing:border-box;color:#102124;width:max-content;max-width:calc(100vw - 16px);transform-origin:var(--tail-x) 100%;background:#fff;border:4px solid #24515f;border-radius:18px;align-items:center;gap:8px;padding:6px 16px 6px 8px;font-size:clamp(1.15rem,2vw,1.75rem);font-weight:800;line-height:1.2;animation:2s ease-out both projection-seat-cheer-pop;display:flex;position:absolute;box-shadow:0 8px 24px #10212447}.projection-seat-cheer-bubble.below{transform-origin:var(--tail-x) 0}.projection-seat-cheer-bubble p{justify-items:start;min-width:0;margin:0;display:grid}.projection-seat-cheer-bubble strong{color:#24515f;white-space:nowrap;font-size:1.3em;font-weight:900}.projection-seat-cheer-bubble span{font-size:.8em;font-weight:800}.projection-seat-cheer-bubble:after{content:"";top:100%;left:var(--tail-x);background:inherit;border:inherit;border-width:0 4px 4px 0;border-radius:0 0 4px;width:16px;height:16px;margin:-8px 0 0 -8px;position:absolute;transform:rotate(45deg)}.projection-seat-cheer-bubble.below:after{border-width:4px 0 0 4px;border-radius:4px 0 0;margin:0 0 -8px -8px;top:auto;bottom:100%}@keyframes projection-seat-cheer-pop{0%{opacity:0;transform:scale(.5)}12%{opacity:1;transform:scale(1.06)}20%,85%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1)}}@keyframes projection-seat-ring{0%{opacity:0;transform:scale(1.5)}15%{opacity:1;transform:scale(1)}30%{transform:scale(1.12)}45%,85%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1)}}.projection-burst{z-index:6;pointer-events:none;width:0;height:0;position:fixed}.projection-burst-ring{left:calc(var(--burst-seat) * -.6);top:calc(var(--burst-seat) * -.6);width:calc(var(--burst-seat) * 1.2);height:calc(var(--burst-seat) * 1.2);opacity:0;border:4px solid #f0b84f;border-radius:50%;animation:.8s ease-out forwards projection-burst-ring;position:absolute}.projection-burst-piece{--piece:#f0b84f;left:calc(var(--size) / -2);top:calc(var(--size) / -2);width:var(--size);height:var(--size);opacity:0;animation:projection-burst-fly 1.25s cubic-bezier(.15, .7, .3, 1) var(--delay) forwards;position:absolute}.projection-burst-piece.c1{--piece:#2f9e8f}.projection-burst-piece.c2{--piece:#ef6f6c}.projection-burst-piece.c3{--piece:#7a6cf0}.projection-burst-piece.star{background:var(--piece);clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}.projection-burst-piece.bubble{border:3px solid var(--piece);border-radius:50%}.projection-burst-piece.dot{background:var(--piece);border-radius:50%}@keyframes projection-burst-ring{0%{opacity:.9;transform:scale(.4)}to{opacity:0;transform:scale(1.7)}}@keyframes projection-burst-fly{0%{opacity:0;transform:translate(0)scale(.3)rotate(0)}12%,70%{opacity:1}to{opacity:0;transform:translate(var(--dx), var(--dy)) scale(1) rotate(160deg)}}.projection-all-clear{z-index:9;cursor:pointer;background:#fffaf0d6;place-items:center;padding:16px;animation:.35s ease-out projection-all-clear-in;display:grid;position:fixed;inset:0;overflow:hidden}.projection-confetti{pointer-events:none;position:absolute;inset:0}.projection-confetti i{--piece:#f0b84f;top:-24px;left:var(--x);background:var(--piece);width:12px;height:18px;animation:projection-confetti-fall var(--t) linear var(--d) infinite both;border-radius:2px;position:absolute}.projection-confetti i.round{border-radius:50%;width:14px;height:14px}.projection-confetti i.c1{--piece:#2f9e8f}.projection-confetti i.c2{--piece:#ef6f6c}.projection-confetti i.c3{--piece:#7a6cf0}.projection-confetti i.c4{--piece:#3d8fd9}.projection-all-clear-card{--mascot-size:min(34vh, 240px);text-align:center;justify-items:center;gap:6px;display:grid;position:relative}.projection-all-clear-title{color:#24515f;margin:0;font-size:clamp(3rem,10vw,7.5rem);font-weight:900;line-height:1.05}.projection-all-clear-sub{color:#35515a;margin:0;font-size:clamp(1.2rem,2.6vw,2.2rem);font-weight:800}.projection-all-clear-close{color:#24515f;background:#e7f0ef;border:2px solid #24515f;border-radius:999px;min-height:44px;margin-top:10px;padding:0 20px;font-size:1.05rem;font-weight:900}@keyframes projection-all-clear-in{0%{opacity:0}}@keyframes projection-confetti-fall{0%{transform:translateY(-4vh)rotate(0)}to{transform:translate(var(--drift), 108vh) rotate(var(--spin))}}.projection-high-contrast .projection-mascot{--mascot-line:#fff;--mascot-face:#0b1215;--mascot-cover:#ffb340;--mascot-ring:#8fa3aa;--mascot-pages:#e6edf0;--mascot-band:#ff4d3d;--mascot-sparkle:#ffc400;--mascot-shadow:#ffffff29;--mascot-stroke:3px}.projection-high-contrast .projection-progress-line{color:#fff}.projection-high-contrast .projection-progress[data-mood=happy] .projection-progress-main{color:#8ff0a4}.projection-high-contrast .projection-progress .projection-progress-reported{color:#ffd98a}.projection-high-contrast .projection-seat-cheer-bubble{color:#fff;background:#0b1215;border-color:#ffc400;box-shadow:0 0 0 3px #000}.projection-high-contrast .projection-seat-cheer-bubble strong{color:#ffc400}.projection-high-contrast .projection-seat-cheer-ring:before{border-color:#ffc400;box-shadow:0 0 0 3px #000,0 0 0 6px #fff}.projection-high-contrast .projection-burst-ring{border-color:#fff}.projection-high-contrast .projection-burst-piece,.projection-high-contrast .projection-confetti i{--piece:#ffc400}.projection-high-contrast .projection-burst-piece.c1,.projection-high-contrast .projection-confetti i.c1{--piece:#3d9bff}.projection-high-contrast .projection-burst-piece.c2,.projection-high-contrast .projection-confetti i.c2{--piece:#ff4d3d}.projection-high-contrast .projection-burst-piece.c3,.projection-high-contrast .projection-confetti i.c3{--piece:#c77dff}.projection-high-contrast .projection-confetti i.c4{--piece:#fff}.projection-high-contrast .projection-all-clear{background:#0b1215db}.projection-high-contrast .projection-all-clear-title{color:#fff}.projection-high-contrast .projection-all-clear-sub{color:#e6edf0}.projection-high-contrast .projection-all-clear-close{color:#000;background:#fff;border-color:#fff}.projection-seat-cheer.still .projection-seat-cheer-ring,.projection-seat-cheer.still .projection-seat-cheer-bubble{animation:none}@media (prefers-reduced-motion:reduce){.projection-mascot,.projection-mascot *,.projection-seat-cheer-ring,.projection-seat-cheer-bubble,.projection-all-clear{animation:none!important}.projection-burst,.projection-confetti{display:none}}.projection-praise{--mascot-size:clamp(64px, 7vw, 110px);z-index:12;box-sizing:border-box;pointer-events:none;align-items:center;gap:12px;width:max-content;max-width:90vw;animation:3.5s ease-out both projection-praise-pop;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%)}.projection-praise-card{color:#102124;text-align:center;background:#fff;border:4px solid #f0b84f;border-radius:18px;justify-items:center;gap:2px;min-width:0;padding:8px 22px 10px;display:grid;box-shadow:0 10px 28px #10212440}.projection-praise-main{color:#24515f;overflow-wrap:anywhere;text-wrap:balance;font-variant-numeric:tabular-nums;margin:0;font-size:clamp(30px,4.2vw,64px);font-weight:900;line-height:1.1}.projection-praise-keep{white-space:nowrap}.projection-praise-cheer{color:#2f7a4a;margin:0;font-size:clamp(18px,2.2vw,34px);font-weight:900;line-height:1.2}.projection-praise-live{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes projection-praise-pop{0%{opacity:0;transform:translate(-50%)translateY(-24px)scale(.7)}8%{opacity:1;transform:translate(-50%)translateY(0)scale(1.06)}14%,88%{opacity:1;transform:translate(-50%)translateY(0)scale(1)}to{opacity:0;transform:translate(-50%)translateY(-8px)scale(1)}}.projection-class-goal{gap:3px;min-width:0;display:grid}.projection-class-goal .projection-class-goal-line{color:#24515f;white-space:nowrap;font-variant-numeric:tabular-nums;margin:0;font-size:clamp(1rem,1.5vw,1.4rem);font-weight:900;line-height:1.2}.projection-class-goal .projection-class-goal-done{color:#fff;background:#2f7a4a;border-radius:4px;margin-left:6px;padding:0 6px;font-size:.9em;font-weight:900}.projection-class-goal-bar{background:#e7f0ef;border-radius:999px;width:min(260px,100%);height:8px;overflow:hidden}.projection-class-goal-bar i{border-radius:inherit;transform-origin:0;background:#f0b84f;height:100%;transition:transform .4s ease-out;display:block}.projection-class-goal.reached .projection-class-goal-line{color:#2f7a4a}.projection-class-goal.reached .projection-class-goal-bar i{background:#2f7a4a}.projection-progress.compact .projection-progress-stack{align-items:center;gap:8px;display:flex}.projection-class-goal.compact{align-items:center;gap:6px;display:flex}.projection-class-goal.compact .projection-class-goal-line{font-size:.9rem}.projection-class-goal.compact .projection-class-goal-bar{width:48px;height:5px}@media (width<=1199px){:is(.projection .projection-progress:not(.compact):has(.projection-class-goal),.projection:has(>.projection-matrix) .projection-progress:not(.compact):has(.projection-class-goal)){grid-template-areas:"title title""mascot main""reported reported""goal goal"}.projection-progress:not(.compact) .projection-class-goal{grid-area:goal}}@media (width<=560px){.projection-class-goal.compact .projection-class-goal-bar{display:none}}.projection-praise-settings{width:min(720px,100%)}.projection-praise-row{flex-wrap:wrap;align-items:center;gap:10px 16px;font-size:clamp(1.05rem,1.7vw,1.4rem);font-weight:900;display:flex}.projection-praise-switch{min-width:72px}.projection-praise-note{color:#4a5f64;margin:0;font-size:clamp(.95rem,1.4vw,1.15rem);font-weight:800}.projection-high-contrast .projection-praise-card{color:#000;box-shadow:none;background:#fff;border-color:#ffc400}.projection-high-contrast .projection-praise-main{color:#000}.projection-high-contrast .projection-praise-note{color:#dfe9ea}.projection-high-contrast .projection-praise-cheer{color:#0b5d2a}.projection-high-contrast .projection-class-goal .projection-class-goal-line{color:#fff}.projection-high-contrast .projection-class-goal.reached .projection-class-goal-line{color:#8ff0a4}.projection-high-contrast .projection-class-goal-bar{background:#ffffff40}.projection-high-contrast .projection-class-goal-bar i{background:#ffc400}.projection-high-contrast .projection-class-goal.reached .projection-class-goal-bar i{background:#8ff0a4}.projection-high-contrast .projection-class-goal .projection-class-goal-done{color:#000;background:#8ff0a4}@media (prefers-reduced-motion:reduce){.projection-praise,.projection-class-goal-bar i{transition:none;animation:none!important}}.task-sheet-self-report{color:var(--warning);background:var(--warning-soft);border:1px solid var(--type-correction-border);border-radius:8px;gap:6px;margin:0 0 10px;padding:8px 10px;display:grid}.task-sheet-self-report p{font-variant-numeric:tabular-nums;margin:0;font-size:.92rem}.task-sheet-self-report-actions{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.task-sheet-self-report-actions .primary-button{min-height:40px;margin-left:auto}.self-report-label{color:var(--warning);background:var(--warning-soft);border:1px solid var(--type-correction-border);border-radius:4px;margin-left:4px;padding:0 4px;font-size:.72rem;font-weight:700;line-height:1.3;display:inline-block}.task-sheet-seats .self-report-label{margin-left:0;font-size:.68rem;display:block}.task-category-head>span{margin-right:auto}.task-category-head .self-report-tag{color:var(--warning);background:var(--warning-soft);border:1px solid var(--type-correction-border);border-radius:999px;padding:0 6px}.class-row-actions{justify-content:flex-end;gap:8px;padding-top:10px;display:flex}.class-row-actions .secondary-button{min-height:36px}.contact-note-layer{z-index:40;position:fixed;inset:0}.contact-note-backdrop{background:var(--scrim);touch-action:none;animation:.18s ease-out task-sheet-fade;position:absolute;inset:0}.contact-note-sheet{max-height:90dvh;color:var(--ink);background:var(--surface);box-shadow:var(--shadow-sheet);border-radius:18px 18px 0 0;flex-direction:column;animation:.22s ease-out task-sheet-in;display:flex;position:absolute;bottom:0;left:0;right:0}.contact-note-head{justify-content:space-between;align-items:center;gap:8px;padding:12px 12px 4px 16px;display:flex}.contact-note-head h2{margin:0;font-size:1.2rem;font-weight:800}.contact-note-head h2:focus{outline:none}.contact-note-controls{flex-wrap:wrap;align-items:center;gap:8px 14px;padding:4px 16px 10px;display:flex}.contact-note-signature{align-items:center;gap:6px;font-weight:600;display:inline-flex}.contact-note-signature input{width:20px;height:20px}.contact-note-body{overscroll-behavior:contain;flex:auto;min-height:0;padding:0 16px;overflow-y:auto}.contact-note-text{border:1px solid var(--line);background:var(--bg);white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;border-radius:12px;padding:12px 14px;font-size:.95rem;line-height:1.6}.contact-note-separator{color:var(--muted)}.contact-note-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.contact-note-actions button{min-height:44px}.contact-note-status{color:var(--primary);margin-right:auto;font-weight:700}.contact-note-status.warn{color:var(--danger)}@media (width>=700px){.contact-note-sheet{border-radius:18px;width:min(640px,100vw - 48px);max-height:min(86vh,860px);animation:.18s ease-out task-sheet-fade;inset:50% auto auto 50%;transform:translate(-50%,-50%)}}@media (prefers-reduced-motion:reduce){.contact-note-sheet,.contact-note-backdrop{animation:none}}@media print{body.contact-note-open{background:#fff;overflow:visible!important}body.contact-note-open>:not(.contact-note-layer){display:none!important}body.contact-note-open .contact-note-layer{position:static}body.contact-note-open .contact-note-backdrop,body.contact-note-open .contact-note-head,body.contact-note-open .contact-note-controls,body.contact-note-open .contact-note-actions,body.contact-note-open .contact-note-separator{display:none!important}body.contact-note-open .contact-note-sheet{width:auto;max-height:none;box-shadow:none;color:#000;background:#fff;border-radius:0;animation:none;position:static;transform:none}body.contact-note-open .contact-note-body{padding:0;overflow:visible}body.contact-note-open .contact-note-text{background:0 0;border:0;padding:0;font-size:12pt;line-height:1.7}body.contact-note-open .contact-note-block{break-after:page}body.contact-note-open .contact-note-block:last-child{break-after:auto}}.postpone-sheet .contact-note-head h2{font-variant-numeric:tabular-nums}.postpone-body{align-content:start;gap:12px;padding-bottom:12px;display:grid}.postpone-body .hint{margin:0}.postpone-groups,.postpone-preview-list{margin:0;padding:0;list-style:none}.postpone-groups{gap:6px;display:grid}.postpone-group{border:1px solid var(--line);background:var(--bg);font-variant-numeric:tabular-nums;cursor:pointer;border-radius:12px;flex-wrap:wrap;align-items:center;gap:4px 10px;min-height:48px;padding:6px 12px;display:flex}.postpone-group:has(input:checked){border-color:var(--primary);background:var(--primary-soft)}.postpone-group input{width:20px;height:20px;margin:0}.postpone-group-date{font-weight:700}.postpone-group-count{color:var(--muted);font-weight:600}.postpone-overdue{min-height:24px;margin-left:auto}.postpone-days{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.postpone-days-label{font-weight:700}.postpone-days-input{align-items:center;gap:6px;font-weight:600;display:inline-flex}.postpone-days-input input{border:1px solid var(--line-strong);width:4.5em;min-height:40px;color:var(--ink);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:8px;padding:0 8px}.postpone-days-input input[aria-invalid=true]{border-color:var(--danger)}.postpone-warn{color:var(--danger);margin:0;font-weight:600}.postpone-preview{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px 14px}.postpone-preview-list{font-variant-numeric:tabular-nums;gap:4px;font-weight:600;display:grid}.postpone-total{color:var(--primary);margin:6px 0 0;font-weight:700}.postpone-status{color:var(--primary);margin:0;font-weight:700}@media (width>=700px){.postpone-sheet{width:min(560px,100vw - 48px)}}.assessment-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 12px;display:flex}.assessment-tab-count{font-variant-numeric:tabular-nums;opacity:.8;min-width:1.4em;font-size:.8rem}.assessment-actions{flex-wrap:wrap;gap:8px;display:flex}.assessment-lock-hint,.assessment-status{flex-basis:100%;margin:0}.assessment-status{color:var(--primary);font-weight:700}.assessment-empty{margin:0}.assessment-groups{gap:16px;min-width:0;display:grid}.assessment-subject h2{margin-bottom:4px}.assessment-category+.assessment-category{margin-top:12px}.assessment-category h3{color:var(--muted);margin:0;font-size:.9rem}.assessment-item-list{margin:0;padding:0;list-style:none}.assessment-item-row{border-bottom:1px solid var(--line);align-items:center;gap:8px;display:flex}.assessment-item-open{min-width:0;min-height:52px;color:var(--ink);text-align:left;background:0 0;border:0;flex:auto;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;display:flex}.assessment-item-title{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;font-weight:700;display:inline-flex}.assessment-pending{color:var(--muted);align-items:center;gap:3px;font-size:.78rem;font-weight:600;display:inline-flex}.assessment-item-stats{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;justify-items:end;font-size:.88rem;display:grid}.assessment-item-stats span:first-child{color:var(--ink);font-weight:700}.assessment-item-edit{flex:none;width:40px;height:40px}@media (width>=900px){.assessment-groups{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}.assessment-sheet-title{min-width:0}.assessment-sheet-title p{color:var(--muted);margin:2px 0 0;font-size:.85rem}.assessment-form{align-content:start;gap:12px;padding-bottom:12px;display:grid}.assessment-fields{gap:12px;display:grid}.assessment-term-field{gap:6px;display:grid}.assessment-term-field .hint{font-size:.82rem}.assessment-form .validation-hint,.assessment-form .hint{margin:0}.assessment-item-dialog .assessment-delete{margin-right:auto}.assessment-entry-body{align-content:start;gap:10px;padding-bottom:12px;display:grid}.assessment-entry-tools{flex-wrap:wrap;gap:8px;display:flex}.assessment-fill{gap:6px;min-width:0;display:flex}.assessment-fill input{font-variant-numeric:tabular-nums;width:5.5em;min-height:44px;font-size:1rem}.assessment-paste{background:var(--bg);border:1px solid var(--line);border-radius:10px;gap:8px;padding:10px;display:grid}.assessment-paste textarea{font-variant-numeric:tabular-nums;font-size:1rem}.assessment-paste-actions{justify-content:flex-end;gap:8px;display:flex}.assessment-notice{color:var(--primary);background:var(--primary-soft);border-radius:8px;padding:8px 10px;font-size:.9rem}.assessment-notice p{margin:0;font-weight:600}.assessment-notice ul{color:var(--danger);margin:4px 0 0;padding-left:1.2em}.assessment-lock{margin:0}.assessment-entry-list{gap:6px;display:grid}.assessment-entry-row{grid-template-columns:2.4em minmax(0,1fr) 4.6em;align-items:center;gap:10px;display:grid}.assessment-entry-seat{text-align:right;font-variant-numeric:tabular-nums;font-size:1.1rem;font-weight:800}.assessment-entry-row input{font-variant-numeric:tabular-nums;min-height:44px;padding:6px 12px;font-size:1.15rem}.assessment-entry-row.changed input{border-color:var(--primary);background:var(--primary-soft)}.assessment-entry-was{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.78rem}.assessment-entry-stats{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;flex:100%;gap:2px 12px;font-size:.88rem;display:flex}.assessment-entry-stats strong{color:var(--ink)}.assessment-entry-missing{overflow-wrap:anywhere;flex-basis:100%}@media (width>=700px){.assessment-score-sheet{width:min(760px,100vw - 48px)!important}.assessment-entry-list{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:16px}}.assessment-file{flex-wrap:wrap;align-items:center;gap:8px;width:fit-content;max-width:100%;display:flex;position:relative}.assessment-file input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.assessment-file:focus-within .secondary-button{outline:2px solid var(--primary);outline-offset:2px}.assessment-preview{background:var(--bg);border:1px solid var(--line);border-radius:10px;gap:6px;padding:10px 12px;display:grid}.assessment-preview h3{margin:0;font-size:.95rem}.assessment-preview p,.assessment-preview-invalid ul{margin:0}.assessment-preview-items{gap:4px;margin:0;padding:0;list-style:none;display:grid}.assessment-preview-items li{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:2px 12px;padding:4px 0;display:flex}.assessment-preview-items span{color:var(--muted);font-size:.88rem}.assessment-preview-invalid ul{padding-left:1.2em;font-size:.88rem}.monitor-main{gap:16px;width:min(880px,100%);display:grid}.monitor-header h1{margin:0}.monitor-offline{color:var(--warning);background:var(--warning-soft);border:1px solid var(--type-correction-border);border-radius:10px;align-items:center;gap:8px;margin:0;padding:12px 14px;font-weight:600;display:flex}.monitor-blocked{justify-items:start;gap:12px;font-size:1.1rem;display:grid}.monitor-blocked p{margin:0}.monitor-who h2,.monitor-board h2,.monitor-verify h2{margin:0 0 10px;font-size:1.25rem}.monitor-who-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;display:grid}.monitor-who-button{min-height:150px;color:var(--on-primary);background:var(--primary);border:0;border-radius:14px;align-content:center;place-items:center;gap:6px;padding:12px;font-size:1rem;display:grid}.monitor-who-button strong{font-size:2rem;line-height:1.1}.monitor-who-button small{opacity:.9;font-size:.9rem}.monitor-who-button.other{color:var(--primary);background:var(--surface);border:2px dashed var(--line-strong)}.monitor-who-button.other strong{font-size:1.35rem}.monitor-who-button:disabled{opacity:.55}.monitor-step-head{flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:8px;display:flex}.monitor-step-head h2{margin:0}.monitor-today{color:var(--muted);margin:0;font-weight:600}.monitor-board{gap:14px;display:grid}.monitor-action-switch{width:100%}.monitor-action-switch button{flex:1 1 0;min-height:56px;font-size:1.25rem}.monitor-chips{flex-wrap:wrap;gap:10px;display:flex}.monitor-chip{min-height:52px;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;align-items:center;gap:8px;padding:0 16px;font-size:1.05rem;font-weight:600;display:inline-flex}.monitor-chip small{color:var(--muted);font-weight:500}.monitor-chip.selected{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.monitor-chip.selected small{color:var(--on-primary)}.monitor-note{gap:6px;max-width:320px;margin-top:14px;display:grid}.monitor-note input,.monitor-verify-form input{min-height:52px;font-size:1.15rem}.monitor-seat-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.monitor-seat-heading h2{margin:0}.monitor-seat-tools{gap:8px;display:flex}.monitor-seat-tools button{min-height:44px;padding:0 16px;font-size:1rem}.monitor-seat-hint{margin:0}.monitor-seat-grid{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:10px}.monitor-seat-grid button{font-size:1.45rem}.monitor-verify-form{grid-template-columns:minmax(0,320px) auto;align-items:end;gap:12px;display:grid}.monitor-verify-form label{gap:6px;display:grid}.monitor-submit-bar{z-index:2;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-weight:600;display:flex;position:sticky;bottom:12px}.monitor-submit-bar span{flex:auto;min-width:0}.monitor-submit-bar .primary-button{flex:none;min-width:112px}.monitor-own ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.monitor-own li{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding:6px 0;display:flex}.monitor-pending-tag{color:var(--warning);background:var(--warning-soft);border:1px solid var(--type-correction-border);border-radius:999px;margin-left:8px;padding:0 6px}.monitor-result{gap:10px;display:grid}.monitor-result h2{margin:0;font-size:1.6rem}.monitor-result p{margin:0}.monitor-result-line{font-size:1.2rem;font-weight:700}.monitor-result-seats{font-variant-numeric:tabular-nums;font-size:2rem;font-weight:800}.monitor-message{font-size:1.05rem}@media (width<=479px){.monitor-who-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.monitor-who-button{min-height:104px}.monitor-seat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.monitor-verify-form{grid-template-columns:1fr}}.monitor-settings{gap:14px;display:grid}.monitor-settings h3{margin:0 0 6px;font-size:1rem}.monitor-settings .seat-grid{margin:6px 0}.monitor-switch{align-items:center;gap:10px;font-weight:600;display:flex}.monitor-switch input{width:22px;height:22px}.monitor-log{gap:4px;margin:0;padding:0;font-size:.92rem;list-style:none;display:grid}.monitor-log li{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:2px 10px;padding:4px 0;display:flex}.monitor-log time,.monitor-log .monitor-log-status{color:var(--muted)}.monitor-pending-list{gap:8px;display:grid}.monitor-pending-list h2{margin:0;font-size:1.05rem}.monitor-pending-item{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding:8px 0;display:flex}.monitor-pending-item p{margin:0}.monitor-pending-actions{gap:8px;display:flex}.task-sheet-monitor{color:var(--muted);margin:4px 0 8px;font-size:.9rem}.task-sheet-seats .monitor-seat-label{font-size:.62rem;font-weight:600;line-height:1;display:block}.rewards-intro,.rewards-board{gap:12px;display:grid}.rewards-intro p,.rewards-board>p{margin:0}.rewards-intro select{min-height:44px}.rewards-empty{font-weight:600}.rewards-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.rewards-toolbar-actions{flex-wrap:wrap;gap:8px;display:flex}.rewards-progress{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.rewards-progress strong{font-variant-numeric:tabular-nums;font-size:1.15rem}.rewards-warning{color:var(--danger);font-size:.9rem;font-weight:600}.rewards-draw{color:var(--ink);background:var(--primary-soft);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 12px;display:flex}.rewards-draw p{flex:220px;margin:0;font-size:.92rem}.rewards-cleaning-link{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.rewards-cleaning-link p{flex:220px;margin:0}.rewards-cleaning-link .text-button{padding:0 8px}.rewards-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}@media (width>=700px){.rewards-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--rewards-rows,1), auto);grid-auto-flow:column;column-gap:12px}}.rewards-list>li{min-width:0}.rewards-row{border:1px solid var(--line);width:100%;min-height:56px;color:var(--ink);background:var(--surface);text-align:left;font-variant-numeric:tabular-nums;border-radius:12px;grid-template-columns:2rem 4rem 4.25rem minmax(0,1fr);align-items:center;gap:8px;padding:8px 12px;display:grid}.rewards-list.by-seat .rewards-row{grid-template-columns:4rem 5rem minmax(0,1fr)}.rewards-list.points-hidden .rewards-row{grid-template-columns:2rem 4rem minmax(0,1fr)}.rewards-list.by-seat.points-hidden .rewards-row{grid-template-columns:4rem minmax(0,1fr)}.rewards-order{border:1px solid var(--line);width:2rem;height:2rem;color:var(--muted);border-radius:999px;place-items:center;font-size:.95rem;font-weight:700;display:grid}.rewards-seat,.rewards-points{white-space:nowrap;font-size:1.45rem;font-weight:700;line-height:1.1}.rewards-row small{color:var(--muted);font-size:.85rem;font-weight:600}.rewards-tags{flex-wrap:wrap;justify-content:flex-end;gap:4px 6px;display:flex}.rewards-tag{color:var(--muted);background:var(--bg);white-space:nowrap;border-radius:999px;justify-self:start;padding:3px 9px;font-size:.8rem;font-weight:600}.rewards-tag.next{color:var(--primary);background:var(--primary-soft)}.rewards-check{color:var(--primary);white-space:nowrap;align-items:center;gap:2px;font-size:.9rem;font-weight:700;display:inline-flex}.rewards-row.next{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.rewards-row.next .rewards-order{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.rewards-row.done,.rewards-row.missing:not(button){color:var(--muted);background:var(--bg)}.rewards-row.done .rewards-tag,.rewards-row.missing:not(button) .rewards-tag{background:var(--surface)}.rewards-projection{z-index:40;color:var(--ink);background:var(--bg);text-align:center;flex-direction:column;align-items:center;gap:clamp(8px,1.8vmin,20px);padding:clamp(12px,2.4vmin,32px);display:flex;position:fixed;inset:0;overflow-y:auto}.rewards-projection svg{flex-shrink:0;width:1em;height:1em}.rewards-projection-head{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.rewards-projection-head h2{text-align:left;margin:0;font-size:clamp(1.25rem,4.2vmin,2.75rem);font-weight:800;line-height:1.2}.rewards-projection-head h2:focus{outline:none}.rewards-projection-now{justify-items:center;display:grid}.rewards-projection-now span{color:var(--muted);font-size:clamp(1.1rem,4vmin,2.5rem);font-weight:700}.rewards-projection-now strong{color:var(--primary);font-variant-numeric:tabular-nums;font-size:clamp(4rem,22vmin,15rem);font-weight:800;line-height:1}.rewards-projection-now strong.all-done{font-size:clamp(2.25rem,10vmin,6rem);line-height:1.2}.rewards-projection h3{color:var(--muted);margin:0;font-size:clamp(1rem,3vmin,1.75rem);font-weight:700}.rewards-projection ol,.rewards-projection ul{flex-wrap:wrap;justify-content:center;gap:clamp(6px,1.2vmin,14px);margin:0;padding:0;list-style:none;display:flex}.rewards-projection-line,.rewards-projection-group{flex-wrap:wrap;justify-content:center;align-items:center;gap:clamp(6px,1.6vmin,20px);display:flex}.rewards-projection-group{width:100%}.rewards-projection-line button{border:2px solid var(--line-strong);min-width:2.6em;color:var(--ink);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:16px;flex-direction:column;align-items:center;padding:.05em .35em;font-size:clamp(2rem,9vmin,6rem);font-weight:800;line-height:1.1;display:inline-flex}.rewards-projection-group button{border:1px solid var(--line);min-width:max(44px,7vmin);min-height:max(44px,7vmin);color:var(--ink);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;padding:0 .35em;font-size:clamp(1rem,3.2vmin,1.9rem);font-weight:700;line-height:1.05;display:inline-flex}.rewards-projection small{color:var(--muted);font-size:clamp(.7rem,1.6vmin,1rem);font-weight:700;line-height:1.1}.rewards-projection-group button.done{color:var(--muted);background:0 0;border-style:dashed;flex-direction:row;gap:.15em}.rewards-projection-actions{flex-wrap:wrap;justify-content:center;gap:clamp(8px,2vmin,24px);margin-top:auto;display:flex}.rewards-projection-actions button{border-radius:12px;min-height:clamp(52px,9vmin,96px);padding:0 1em;font-size:clamp(1.1rem,3.6vmin,2.1rem)}.rewards-check.rewards-job{white-space:normal;text-align:right}.rewards-projection.cleaning-pick{align-items:stretch;gap:clamp(6px,1.2vmin,14px)}.cleaning-pick-now{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px clamp(16px,4vmin,48px);display:flex}.cleaning-pick .rewards-projection-now{align-items:baseline;gap:.4em;display:flex}.cleaning-pick .rewards-projection-now strong{font-size:clamp(2.5rem,9vmin,6rem)}.cleaning-pick .rewards-projection-actions button{min-height:clamp(44px,7vmin,72px);font-size:clamp(1.05rem,3vmin,1.8rem)}.cleaning-pick .rewards-projection-now strong.all-done{font-size:clamp(2rem,7vmin,4.5rem)}.cleaning-pick-next{justify-items:center;gap:2px;display:grid}.cleaning-pick-next-label{color:var(--muted);font-size:clamp(.95rem,2.4vmin,1.5rem);font-weight:700;line-height:1.2}.rewards-projection .cleaning-pick-next ol{flex-wrap:nowrap;gap:clamp(6px,1.4vmin,16px)}.cleaning-pick-next li{border:2px solid var(--line-strong);min-width:2.2em;color:var(--ink);background:var(--surface);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:14px;padding:.04em .3em;font-size:clamp(1.6rem,4.6vmin,3.2rem);font-weight:800;line-height:1.05}.cleaning-pick-next li small{font-size:.45em}.cleaning-pick-queue{color:var(--muted);font-variant-numeric:tabular-nums;justify-items:start;gap:2px;font-size:clamp(1rem,3vmin,1.75rem);font-weight:700;display:grid}.cleaning-pick-queue p,.cleaning-pick-note{margin:0}.cleaning-pick-status{justify-items:center;gap:4px;display:grid}.cleaning-pick-note{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 12px;font-size:clamp(.95rem,2.6vmin,1.5rem);font-weight:700;display:flex}.cleaning-pick-note.picked{min-height:clamp(40px,5vmin,56px);color:var(--ink)}.cleaning-pick-note.picked button{min-height:clamp(40px,5vmin,56px);font-size:inherit;padding:0 .8em}.cleaning-pick-note.failed{color:var(--danger)}.cleaning-pick-note.editing{min-height:clamp(40px,5vmin,56px);color:var(--primary)}.rewards-projection ul.cleaning-pick-grid{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(64px,auto);gap:clamp(6px,1vmin,12px);display:grid}@media (width>=700px){.rewards-projection ul.cleaning-pick-grid{flex:auto;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);min-height:0}}@media (width>=1200px){.rewards-projection ul.cleaning-pick-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}.cleaning-pick-grid>li{min-width:0;min-height:0;display:flex}.cleaning-tile{border:2px solid var(--line-strong);min-width:0;color:var(--ink);background:var(--surface);border-radius:12px;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:1px;padding:2px 8px;line-height:1.12;display:flex;overflow:hidden}.rewards-projection button.cleaning-tile:not(:disabled){cursor:pointer}.rewards-projection .cleaning-pick-grid.locked button.cleaning-tile:not(:disabled){opacity:.7}.rewards-projection button.cleaning-tile:disabled{opacity:1;cursor:default}.rewards-projection button.cleaning-tile:not(:disabled):hover{border-color:var(--primary)}.cleaning-tile-name{overflow-wrap:anywhere;font-size:clamp(1rem,2.7vmin,1.6rem);font-weight:800}.cleaning-tile-seats{color:var(--primary);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:center;gap:4px;font-size:clamp(.95rem,2.5vmin,1.5rem);font-weight:800;display:flex}.cleaning-tile-free,.cleaning-tile-tag{color:var(--muted);font-size:clamp(.75rem,1.9vmin,1.1rem);font-weight:700}.cleaning-tile-tag{background:var(--bg);border-radius:999px;padding:0 .6em}.cleaning-tile.full,.cleaning-tile.fixed{border-style:dashed;border-color:var(--line);background:var(--bg)}.cleaning-tile.full .cleaning-tile-name,.cleaning-tile.fixed .cleaning-tile-name{color:var(--muted)}.rewards-projection .cleaning-tile-remove{border:2px solid var(--danger);min-width:44px;min-height:40px;color:var(--danger);background:var(--surface);font:inherit;border-radius:10px;padding:0 .4em}.rewards-projection-actions button.active{color:var(--on-primary);background:var(--primary)}@media (width<=699px){.cleaning-pick-now{gap:4px 16px}}.cleaning-intro{gap:10px;display:grid}.cleaning-intro p{margin:0}.cleaning-empty,.cleaning-summary strong{font-weight:700}.cleaning-summary strong{font-variant-numeric:tabular-nums;font-size:1.05rem}.cleaning-warning{color:var(--danger);font-weight:600}.cleaning-actions{flex-wrap:wrap;gap:8px;display:flex}.cleaning-reward-pick{border:1px solid var(--line);border-radius:8px;gap:10px;padding:12px;display:grid}.cleaning-reward-pick h2{margin:0;font-size:1rem}.cleaning-reward-pick select{min-height:44px}.cleaning-reward-pick-empty{font-weight:600}.cleaning-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.cleaning-row{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-items:stretch;gap:4px;display:flex}.cleaning-row-main{min-width:0;min-height:56px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:12px 0 0 12px;flex:auto;align-content:center;gap:4px;padding:6px 12px;display:grid}.cleaning-row-title{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.cleaning-row-title strong{overflow-wrap:anywhere;font-size:1.05rem}.cleaning-places,.cleaning-free{color:var(--muted);font-size:.85rem;font-weight:600}.cleaning-tag{color:var(--primary);background:var(--primary-soft);border-radius:999px;padding:2px 8px;font-size:.8rem;font-weight:700}.cleaning-row-seats{flex-wrap:wrap;align-items:center;gap:4px 6px;display:flex}.cleaning-chip{color:var(--on-primary);background:var(--primary);font-variant-numeric:tabular-nums;border-radius:999px;padding:2px 8px;font-size:.85rem;font-weight:700}.cleaning-row-move{flex:none;align-items:center;gap:2px;padding:0 4px 0 0;display:flex}.cleaning-row-move .icon-button:disabled{color:var(--line-strong)}.cleaning-page.scoring{padding-bottom:150px}.cleaning-score-row{gap:6px;padding:6px 8px 8px;display:grid}.cleaning-score-job{min-height:48px;color:var(--ink);text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;align-content:center;gap:2px;padding:6px 10px;display:grid}.cleaning-score-job.partial{border-color:var(--line-strong)}.cleaning-score-job.active{outline:2px solid var(--primary);outline-offset:0;background:var(--primary-soft)}.cleaning-score-job:disabled{color:var(--muted)}.cleaning-score-partial{color:var(--muted);font-size:.82rem;font-weight:600}.cleaning-score-seats{flex-wrap:wrap;gap:6px;display:flex}.cleaning-score-seat{border:1px solid var(--line-strong);min-width:64px;min-height:44px;color:var(--ink);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:999px;padding:0 12px;font-weight:700}.cleaning-score-seat.selected{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.cleaning-page[data-sign=plus] .cleaning-score-seat.selected,.cleaning-page[data-sign=plus] .register-points .segmented button.active{color:var(--on-primary);background:var(--positive);border-color:var(--positive)}.cleaning-page[data-sign=minus] .cleaning-score-seat.selected,.cleaning-page[data-sign=minus] .register-points .segmented button.active{color:var(--on-primary);background:var(--negative);border-color:var(--negative)}.register-submit-bar.cleaning-score-bar{flex-direction:column;align-items:stretch;gap:8px}.cleaning-score-bar-row{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.register-toast.cleaning-score-toast{bottom:214px}@media (width<=760px){.register-toast.cleaning-score-toast{bottom:206px}}.cleaning-form .lottery-field,.cleaning-form label{gap:6px;font-weight:700;display:grid}.cleaning-form label.lottery-switch{display:inline-flex}.cleaning-form input:not([type=checkbox]){min-height:44px}.cleaning-places-value{text-align:center;font-variant-numeric:tabular-nums;min-width:4em;font-size:1.1rem;font-weight:700}.cleaning-seats{border:0;margin:0;padding:0}.cleaning-seats legend{flex-wrap:wrap;align-items:center;gap:4px 10px;padding:0;font-weight:700;display:flex}.cleaning-seats .hint{margin:6px 0 0}.cleaning-full{color:var(--danger);font-size:.9rem}.cleaning-seat-grid button{align-content:center;place-items:center;gap:0;padding:2px;line-height:1.1;display:grid}.cleaning-seat-grid button:disabled{opacity:.45}.cleaning-seat-grid button.cleaning-seat-other{background:var(--bg)}.cleaning-seat-job{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;font-weight:700;overflow:hidden}.cleaning-editor .cleaning-delete{margin-right:auto}.lottery-settings>summary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:4px 12px;min-height:44px;font-weight:700;display:flex}.lottery-settings-title{font-size:1.08rem}.lottery-status{color:var(--muted);font-size:.9rem;font-weight:600}.lottery-status.on{color:var(--positive)}.lottery-settings-body{gap:14px;margin-top:12px;display:grid}.lottery-settings-body .hint,.lottery-board .hint{margin:0}.lottery-switch{align-items:center;gap:8px;min-height:44px;font-weight:700;display:inline-flex}.lottery-switch input{width:22px;height:22px}.lottery-field{gap:6px;display:grid}.lottery-field-label{font-weight:700}.lottery-start-date{flex-wrap:wrap;align-items:center;gap:8px;padding-left:30px;font-weight:700;display:flex}.lottery-start-date input{min-height:44px;font-size:1rem}.lottery-stepper{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.lottery-stepper input{text-align:center;font-variant-numeric:tabular-nums;width:5.5em;min-height:44px;font-size:1.1rem}.lottery-prizes{border:1px solid var(--line);border-radius:10px;gap:8px;margin:0;padding:12px;display:grid}.lottery-prizes legend{padding:0 4px;font-weight:700}.lottery-prizes ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.lottery-prizes li{grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:8px;display:grid}.lottery-prizes input,.lottery-prizes select{min-width:0;min-height:44px}.lottery-prizes .secondary-button{justify-self:start}.lottery-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:10px;display:flex}.lottery-summary{color:var(--muted);margin:0;font-weight:700}.lottery-remind{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.lottery-remind-label{color:var(--muted);font-weight:700}.lottery-remind-value{text-align:center;font-variant-numeric:tabular-nums;min-width:3.5em;font-weight:700}.lottery-board>.hint{margin-bottom:10px}.lottery-seats{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));align-items:start;gap:10px;margin:0;padding:0;list-style:none;display:grid}.lottery-seat{background:var(--surface);border:1px solid var(--line);border-radius:10px;gap:8px;padding:12px;display:grid}.lottery-seat.can-draw{border-color:var(--positive);background:var(--positive-soft)}.lottery-seat-head{align-items:center;gap:8px;display:flex}.lottery-seat-no{font-variant-numeric:tabular-nums;font-size:1.2rem}.lottery-chances{color:var(--on-primary);background:var(--positive);white-space:nowrap;border-radius:999px;padding:2px 10px;font-size:.9rem;font-weight:700}.lottery-draw-button{margin-left:auto}.lottery-seat.held{border-color:var(--warning);background:var(--warning-soft)}.lottery-hold{color:var(--warning);margin:0;font-weight:700}.lottery-progress-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.lottery-progress{background:var(--primary-soft);border:1px solid var(--line);border-radius:999px;height:12px;overflow:hidden}.lottery-progress span{width:var(--lottery-progress);background:var(--primary);border-radius:inherit;height:100%;display:block}.lottery-progress-text{font-variant-numeric:tabular-nums;white-space:nowrap;justify-items:end;font-weight:700;line-height:1.2;display:grid}.lottery-progress-text small{color:var(--muted);font-size:.8rem;font-weight:600}.lottery-draws{border-top:1px dashed var(--line-strong);gap:4px;margin:0;padding:8px 0 0;list-style:none;display:grid}.lottery-draws li{flex-wrap:wrap;align-items:center;gap:2px 8px;display:flex}.lottery-draws li.redeemed .lottery-draw-prize{color:var(--muted);text-decoration:line-through}.lottery-draw-prize{overflow-wrap:anywhere;align-items:center;gap:4px;min-width:0;font-weight:700;display:inline-flex}.lottery-draw-date{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.85rem}.lottery-draws li.overdue{border-left:3px solid var(--warning);padding-left:6px}.lottery-draw-age{color:var(--warning);background:var(--warning-soft);border:1px solid var(--warning);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;padding:0 8px;font-size:.85rem;font-weight:700}.lottery-redeem{align-items:center;gap:4px;min-height:40px;margin-left:auto;font-size:.9rem;font-weight:600;display:inline-flex}.lottery-redeem input{width:20px;height:20px}.lottery-undo.text-button{min-height:40px;padding:0 6px;font-size:.9rem}.lottery-tier{white-space:nowrap;border-radius:999px;padding:0 8px;font-size:.78rem;font-weight:700;line-height:1.6}.lottery-tier.tier-common{color:var(--roll-call-ink);background:var(--roll-call-fill)}.lottery-tier.tier-uncommon{color:var(--type-signature-ink);background:var(--type-signature-header)}.lottery-tier.tier-rare{color:var(--warning);background:var(--type-correction-pill)}.lottery-reveal{text-align:center;color:var(--primary);justify-items:center;gap:10px;padding:18px 8px;display:grid}.lottery-reveal-prize{color:var(--ink);overflow-wrap:anywhere;font-size:clamp(1.8rem,7vw,2.6rem);font-weight:900;line-height:1.15}.lottery-reveal .lottery-tier{font-size:1rem}.projection-lottery-count{color:#fff;font-variant-numeric:tabular-nums;background:#2f7d55;border-radius:999px;margin-left:2px;padding:1px 7px;font-size:.85em}.projection-toolbar-bar .projection-lottery-count{font-size:.85rem;line-height:1.3}.projection-tool-panel.projection-lottery{width:min(1600px,100%)}.projection-lottery-seats{--lottery-chip:clamp(80px, min(8vw, 14vh), 150px);grid-template-columns:repeat(auto-fill, minmax(var(--lottery-chip), 1fr));gap:clamp(8px,1vw,14px);margin:0;padding:0;list-style:none;display:grid}.projection-lottery-seats.few{--lottery-chip:clamp(110px, min(14.5vw, 26vh), 240px)}.projection-lottery-seats.some{--lottery-chip:clamp(100px, min(11.5vw, 20vh), 200px)}.projection-lottery-seats.many{--lottery-chip:clamp(90px, min(9.5vw, 17vh), 170px)}.projection-lottery-seats button{align-items:center;gap:calc(var(--lottery-chip) * .04);width:100%;padding:calc(var(--lottery-chip) * .07) 4px calc(var(--lottery-chip) * .08);color:#102124;cursor:pointer;background:#fff;border:3px solid #2f7d55;border-radius:12px;flex-direction:column;display:flex}.projection-lottery-seats strong{font-size:calc(var(--lottery-chip) * .5);font-variant-numeric:tabular-nums;font-weight:900;line-height:1}.projection-lottery-seats span{color:#fff;font-size:calc(var(--lottery-chip) * .19);font-variant-numeric:tabular-nums;background:#2f7d55;border-radius:999px;padding:1px .5em;font-weight:900;line-height:1.2}.projection-lottery-empty{text-align:center;padding:clamp(24px,10vh,96px) 0}.projection-lottery-confirm{text-align:center;justify-items:center;gap:clamp(16px,4vh,40px);padding:clamp(24px,8vh,80px) 0;display:grid}.projection-lottery-question{margin:0;font-size:clamp(2.4rem,7vw,5rem);font-weight:900;line-height:1.1}.projection-lottery-stage{text-align:center;align-content:center;place-items:center;gap:clamp(10px,2vh,24px);min-height:clamp(260px,56vh,620px);display:grid;position:relative}.projection-lottery-scene{--mascot-size:min(30vh, 220px);justify-content:center;align-items:flex-end;gap:clamp(8px,2vw,32px);display:flex}.projection-lottery-box{width:min(32vh,240px);height:min(32vh,240px);overflow:visible}.projection-lottery-box .lottery-box-shadow{fill:#10212424}.projection-lottery-box .lottery-box-base,.projection-lottery-box .lottery-box-top{fill:#e5484d;stroke:#213034;stroke-width:3px}.projection-lottery-box .lottery-box-top{fill:#f2666a}.projection-lottery-box .lottery-box-ribbon{fill:#ffd166;stroke:#213034;stroke-width:2px}.projection-lottery-box .lottery-box-bow,.projection-lottery-box .lottery-box-knot{fill:#ffd166;stroke:#213034;stroke-width:3px;stroke-linejoin:round}.projection-lottery-box .lottery-box-mark{fill:#fff;font-size:34px;font-weight:900}.projection-lottery-box .lottery-box-body,.projection-lottery-box .lottery-box-lid{transform-box:fill-box;transform-origin:50% 100%}.projection-lottery-box.shaking .lottery-box-body{animation:.3s ease-in-out infinite projection-lottery-shake}.projection-lottery-box.shaking .lottery-box-lid{animation:.3s ease-in-out infinite projection-lottery-lid}@keyframes projection-lottery-shake{0%,to{transform:rotate(0)}25%{transform:rotate(-7deg)translateY(-3px)}75%{transform:rotate(7deg)translateY(-3px)}}@keyframes projection-lottery-lid{50%{transform:translateY(-8px)rotate(-4deg)}}.projection-lottery-caption{margin:0;font-size:clamp(1.6rem,3.6vw,2.8rem);font-weight:900}.projection-lottery-result{--mascot-size:min(26vh, 200px);flex-wrap:wrap;justify-content:center;align-items:center;gap:clamp(12px,3vw,40px);display:flex;position:relative}.projection-lottery-result-text{justify-items:center;gap:clamp(6px,1.5vh,16px);max-width:min(100%,1100px);display:grid}.projection-lottery-lead{margin:0;font-size:clamp(1.8rem,4.4vw,3.4rem);font-weight:900}.projection-lottery-prize{color:#24515f;overflow-wrap:anywhere;margin:0;font-size:clamp(3rem,9vw,8rem);font-weight:900;line-height:1.05}.projection-lottery-tier{border-radius:999px;padding:4px .8em;font-size:clamp(1.2rem,2.6vw,2rem);font-weight:900}.projection-lottery-tier.tier-common{color:#17544b;background:#c2e7de}.projection-lottery-tier.tier-uncommon{color:#fff;background:#3d6fb0}.projection-lottery-tier.tier-rare{color:#213034;background:#ffbe1a}.projection-lottery-stage.reveal.tier-rare .projection-lottery-prize{color:#b34700}.projection-lottery-stage .projection-confetti{position:fixed}.projection-high-contrast .projection-lottery-count{color:#000;background:#8ff0a4}.projection-high-contrast .projection-lottery-seats button{color:#000;background:#fff;border-color:#fff}.projection-high-contrast .projection-lottery-seats span{color:#000;background:#8ff0a4}.projection-high-contrast .projection-lottery-prize,.projection-high-contrast .projection-lottery-stage.reveal.tier-rare .projection-lottery-prize{color:#fff}.projection-high-contrast .projection-lottery-tier.tier-common{color:#000;background:#8ff0a4}.projection-high-contrast .projection-lottery-tier.tier-uncommon{color:#000;background:#7cc4ff}.projection-high-contrast .projection-lottery-tier.tier-rare{color:#000;background:#ffc400}.projection-high-contrast .projection-lottery-box .lottery-box-base,.projection-high-contrast .projection-lottery-box .lottery-box-top,.projection-high-contrast .projection-lottery-box .lottery-box-ribbon,.projection-high-contrast .projection-lottery-box .lottery-box-bow,.projection-high-contrast .projection-lottery-box .lottery-box-knot{stroke:#fff}.projection-high-contrast .projection-lottery-box .lottery-box-shadow{fill:#ffffff29}@media (prefers-reduced-motion:reduce){.projection-lottery-box .lottery-box-body,.projection-lottery-box .lottery-box-lid{animation:none!important}}.projection-toothbrushing-count{color:#fff;font-variant-numeric:tabular-nums;background:#3d6fb0;border-radius:999px;margin-left:2px;padding:1px 7px;font-size:.85em}.projection-toolbar-bar .projection-toothbrushing-count{font-size:.85rem;line-height:1.3}.projection-tool-panel.projection-toothbrushing{gap:clamp(8px,1.4vh,16px);width:min(1800px,100%)}.projection-tool-panel.projection-toothbrushing.step-board{flex-direction:column;height:calc(100dvh - 32px);display:flex;overflow:hidden}.projection-toothbrushing.step-board>*{flex:none}.projection-toothbrushing.step-board>.projection-toothbrushing-area{flex:auto;min-height:0;overflow:hidden}.projection-toothbrushing.step-board>.projection-toothbrushing-area.scroll{overflow-y:auto}.projection-toothbrushing-counts{font-variant-numeric:tabular-nums}.projection-toothbrushing-controls{flex-wrap:wrap;align-items:center;gap:8px 20px;display:flex}.projection-toothbrushing-actions{flex-wrap:wrap;gap:8px;margin-left:auto;display:flex}.projection-toothbrushing-actions .projection-toolbar-button{justify-content:center;min-width:72px;font-size:clamp(1rem,1.5vw,1.25rem)}.projection-toothbrushing-split{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-size:clamp(1.05rem,1.7vw,1.4rem);font-weight:900;display:inline-flex}.projection-toothbrushing-split input{cursor:pointer;width:24px;height:24px;margin:0}.projection-toothbrushing-settings summary{cursor:pointer;min-height:32px;font-size:clamp(1rem,1.5vw,1.2rem);font-weight:900}.projection-toothbrushing.step-board>.projection-toothbrushing-settings[open]{overscroll-behavior:contain;flex:0 auto;min-height:0;max-height:40vh;overflow-y:auto}.projection-toothbrushing-groups-body{gap:8px;padding-top:8px;display:grid}.projection-toothbrushing-groups{white-space:nowrap}.projection-toothbrushing-correct.active{color:#fff;background:#b34700;border-color:#b34700}.projection-toothbrushing-status{flex-wrap:wrap;align-items:center;gap:6px 16px;min-height:44px;display:flex}.projection-toothbrushing-note{color:#4a5f64;margin:0;font-size:clamp(1rem,1.6vw,1.3rem);font-weight:800}.projection-toothbrushing-note.full{color:#fff;background:#b3261e;border-radius:8px;padding:2px 12px;font-weight:900}.projection-toothbrushing-note.correcting{color:#b34700;font-weight:900}.projection-toothbrushing-note.recorded{color:#2f7d55;font-weight:900}.projection-toothbrushing-cheer{--mascot-size:44px;align-items:center;gap:10px;display:flex}.projection-toothbrushing-cheer p{color:#2f7d55;margin:0;font-size:clamp(1.4rem,3vw,2.2rem);font-weight:900}.projection-toothbrushing-seats{--tb-chip:clamp(72px, min(8.4vw, 11vh), 150px);--tb-unit:calc(var(--tb-chip) * .8);grid-template-columns:repeat(auto-fill, minmax(var(--tb-chip), 1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.projection-toothbrushing-area:not(.scroll) .projection-toothbrushing-seats.measured{height:100%}.projection-toothbrushing-seats.measured li{min-height:0;display:flex}.projection-toothbrushing-seats.measured button{height:100%;min-height:0}.projection-toothbrushing-seats.few{--tb-chip:clamp(110px, min(14.5vw, 24vh), 240px)}.projection-toothbrushing-seats.some{--tb-chip:clamp(100px, min(12vw, 19vh), 200px)}.projection-toothbrushing-seats.many{--tb-chip:clamp(84px, min(10vw, 15vh), 170px)}.projection-toothbrushing-seats button{width:100%;min-height:max(56px, calc(var(--tb-unit) * 1.05));justify-content:center;align-items:center;gap:calc(var(--tb-unit) * .03);padding:calc(var(--tb-unit) * .05) 4px;color:#102124;cursor:pointer;touch-action:manipulation;background:#fff;border:3px solid #8fa3aa;border-radius:12px;flex-direction:column;display:flex;position:relative}.projection-toothbrushing-seats strong{font-size:calc(var(--tb-unit) * .5);font-variant-numeric:tabular-nums;font-weight:900;line-height:1}.projection-toothbrushing-state{font-size:calc(var(--tb-unit) * .25);white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:900;line-height:1.15}.projection-toothbrushing-seats .phase-waiting .projection-toothbrushing-state{color:#4a5f64;font-size:calc(var(--tb-unit) * .22)}.projection-toothbrushing-seats .phase-out{background:#e3eefb;border-color:#3d6fb0}.projection-toothbrushing-seats .phase-out .projection-toothbrushing-state{color:#1d4f8f}.projection-toothbrushing-check{color:#1d4f8f;font-size:calc(var(--tb-unit) * .26);font-weight:900;line-height:1}.projection-high-contrast .projection-toothbrushing-check{color:#000}.projection-toothbrushing-seats .phase-back{background:#e3f4ea;border-color:#2f7d55}.projection-toothbrushing-seats .phase-back .projection-toothbrushing-state{color:#2f7d55;font-size:calc(var(--tb-unit) * .3)}.projection-toothbrushing-trip{color:#fff;font-size:max(14px, calc(var(--tb-unit) * .15));white-space:nowrap;background:#24515f;border-radius:999px;padding:0 .4em;font-weight:900;line-height:1.4;position:absolute;top:3px;left:3px}.projection-toothbrushing-seats .phase-leave{color:#8fa3aa;cursor:default;background:#f1f3f2;border-style:dashed}.projection-tool-panel .projection-toothbrushing-seats button.phase-leave:disabled{opacity:.7}.projection-toothbrushing-seats.correcting button:not(:disabled){outline-offset:2px;outline:3px dashed #b34700}.projection-toothbrushing-review{gap:clamp(10px,2vh,20px);display:grid}.projection-toothbrushing-review section{gap:8px;display:grid}.projection-toothbrushing-review h3{margin:0;font-size:clamp(1.3rem,2.2vw,1.8rem);font-weight:900}.projection-toothbrushing-chips{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.projection-toothbrushing-chips button,.projection-toothbrushing-chips.info li,.projection-toothbrushing-chips.locked li{color:#24515f;font-variant-numeric:tabular-nums;background:#fff;border:3px dashed #8fa3aa;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-width:64px;min-height:56px;padding:0 12px;font-size:clamp(1.4rem,2.6vw,2rem);font-weight:900;display:inline-flex}.projection-toothbrushing-chips button.selected{color:#fff;background:#24515f;border-style:solid;border-color:#24515f}.projection-toothbrushing-chips button.already span{font-size:.6em}.projection-toothbrushing-chips.info li{color:#1d4f8f;background:#e3eefb;border-style:solid;border-color:#3d6fb0}.projection-toothbrushing-chips.locked li{color:#4a5f64;background:#f1f3f2}.projection-toothbrushing-chips.locked li span{font-size:.6em}.projection-toothbrushing-chips.locked li.already{color:#2f7d55;background:#e3f4ea;border-style:solid;border-color:#2f7d55}.projection-toothbrushing-question{margin:0;font-size:clamp(1.8rem,4.4vw,3.2rem);font-weight:900;line-height:1.2}.projection-high-contrast .projection-toothbrushing-count{color:#000;background:#7cc4ff}.projection-high-contrast .projection-toothbrushing-split input{accent-color:#ffc400}.projection-high-contrast .projection-toothbrushing-groups{color:#fff}.projection-high-contrast .projection-toothbrushing-note,.projection-high-contrast .projection-toothbrushing-seats .phase-waiting .projection-toothbrushing-state{color:#dfe9ea}.projection-high-contrast .projection-toothbrushing-note.full{color:#000;background:#ff7a66}.projection-high-contrast .projection-toothbrushing-note.correcting,.projection-high-contrast .projection-toothbrushing-note.recorded,.projection-high-contrast .projection-toothbrushing-cheer p{color:#ffc400}.projection-high-contrast .projection-toothbrushing-seats button{color:#fff;background:#0b1215;border-color:#8fa3aa}.projection-high-contrast .projection-toothbrushing-seats .phase-out,.projection-high-contrast .projection-toothbrushing-chips.info li{color:#000;background:#7cc4ff;border-color:#fff}.projection-high-contrast .projection-toothbrushing-seats .phase-out .projection-toothbrushing-state{color:#000}.projection-high-contrast .projection-toothbrushing-seats .phase-back{color:#000;background:#8ff0a4;border-color:#8ff0a4}.projection-high-contrast .projection-toothbrushing-seats .phase-back .projection-toothbrushing-state{color:#000}.projection-high-contrast .projection-toothbrushing-seats .phase-leave{color:#8fa3aa;background:#16242a}.projection-high-contrast .projection-toothbrushing-seats.correcting button:not(:disabled){outline-color:#ffc400}.projection-high-contrast .projection-toothbrushing-correct.active{color:#000;background:#ffc400;border-color:#ffc400}.projection-high-contrast .projection-toothbrushing-chips button{color:#fff;background:#0b1215;border-color:#8fa3aa}.projection-high-contrast .projection-toothbrushing-chips.locked li{color:#c5ced2;background:#16242a;border-color:#8fa3aa}.projection-high-contrast .projection-toothbrushing-chips.locked li.already{color:#000;background:#8ff0a4;border-color:#8ff0a4}.projection-high-contrast .projection-toothbrushing-chips button.selected{color:#000;background:#fff;border-color:#fff}.projection-hold-confirm-wrap{flex-direction:column;align-items:center;gap:6px;display:inline-flex}button.projection-hold-confirm{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;position:relative;overflow:hidden}.projection-hold-fill{transform-origin:0;pointer-events:none;background:#ffffff61;position:absolute;inset:0;transform:scaleX(0)}.projection-hold-confirm.holding .projection-hold-fill{transition:transform var(--hold-ms,1.5s) linear;transform:scaleX(1)}.projection-hold-label{position:relative}.projection-hold-confirm.still.holding{outline-offset:3px;outline:5px solid #ffbe1a}.projection-hold-hint{color:#4a5f64;font-size:clamp(.95rem,1.4vw,1.15rem);font-weight:900}.projection-hold-hint.nudged{color:#b34700;animation:.4s ease-in-out projection-hold-nudge}@keyframes projection-hold-nudge{25%{transform:translate(-5px)}75%{transform:translate(5px)}}.projection-high-contrast .projection-hold-fill{background:#00000047}.projection-high-contrast .projection-hold-confirm.still.holding{outline-color:#ffc400}.projection-high-contrast .projection-hold-hint{color:#dfe9ea}.projection-high-contrast .projection-hold-hint.nudged{color:#ffc400}@media (prefers-reduced-motion:reduce){.projection-hold-hint.nudged{animation:none!important}.projection-hold-confirm.holding .projection-hold-fill{transition:none}}.projection-tool-panel.projection-duty{flex-direction:column;gap:clamp(8px,1.4vh,16px);width:min(1800px,100%);height:calc(100dvh - 32px);display:flex;overflow:hidden}.projection-duty>*{flex:none}.projection-duty-shift{gap:8px;display:inline-flex}.projection-duty-shift .projection-toolbar-button{font-size:clamp(1rem,1.5vw,1.25rem)}.projection-duty-controls{flex-wrap:wrap;align-items:center;gap:8px 20px;display:flex}.projection-duty-list{counter-reset:duty;flex-wrap:wrap;gap:6px 8px;margin:0;padding:0;list-style:none;display:flex}.projection-duty-list li{color:#24515f;counter-increment:duty;background:#e7f0ef;border:2px solid #24515f;border-radius:999px;padding:4px 12px;font-size:clamp(1rem,1.6vw,1.35rem);font-weight:900}.projection-duty-list li:before{content:counter(duty) ". "}.projection-duty-actions{align-items:center}button.projection-hold-confirm.projection-duty-end{color:#fff;background:#24515f;border:3px solid #24515f;border-radius:10px;min-height:52px;padding:0 22px;font-size:clamp(1.1rem,1.8vw,1.5rem);font-weight:900}.projection-duty-end-wrap{flex-direction:row;gap:10px}.projection-duty-closed-mark{color:#fff;background:#2f7d55;border-radius:10px;padding:8px 16px;font-size:clamp(1.1rem,1.8vw,1.5rem);font-weight:900}.projection-duty-status{min-height:0}.projection-duty-waiting{color:#7a3f00;font-weight:900}.projection-duty>.projection-duty-area{flex:auto;min-height:0;display:grid;overflow:hidden}.projection-duty-team{--duty-count:2;--duty-gap:clamp(10px, 1.6vw, 20px);--duty-unit:min(calc((100vw - 120px) / var(--duty-count) / 1.15), 46vh);grid-template-columns:repeat(var(--duty-count), minmax(0, 1fr));gap:var(--duty-gap);height:100%;margin:0;padding:0;list-style:none;display:grid}@supports (width:1cqw){.projection-duty>.projection-duty-area{container-type:size}.projection-duty-team{--duty-unit:min(calc((100cqw - (var(--duty-count) - 1) * var(--duty-gap)) / var(--duty-count)), 100cqh)}}.projection-duty-team.lanes{--duty-unit:min(calc((100vw - 120px) / 2 / 1.15), calc(46vh - 148px))}@supports (width:1cqw){.projection-duty-team.lanes{--duty-unit:min(calc((100cqw - var(--duty-gap)) / 2), calc(100cqh - 148px))}}.projection-duty-team li{justify-content:center;align-items:center;gap:calc(var(--duty-unit) * .035);min-height:0;padding:calc(var(--duty-unit) * .04);color:#102124;background:#fff;border:4px solid #24515f;border-radius:16px;flex-direction:column;display:flex;position:relative;overflow:hidden}.projection-duty-team li.redo{background:#fff3f1;border-color:#b3261e}.projection-duty-team strong{font-size:calc(var(--duty-unit) * .4);font-variant-numeric:tabular-nums;font-weight:900;line-height:1}.projection-duty-owed{top:calc(var(--duty-unit) * .035);left:calc(var(--duty-unit) * .035);color:#fff;font-size:max(1rem, calc(var(--duty-unit) * .065));background:#7a3f00;border-radius:999px;padding:2px 10px;font-weight:900;position:absolute}.projection-duty-seat{justify-content:center;align-items:center;gap:calc(var(--duty-unit) * .04);display:flex}.projection-duty-marks{width:max(48px, calc(var(--duty-unit) * .34));height:max(48px, calc(var(--duty-unit) * .34));flex:none;overflow:visible}.projection-duty-marks path.drawn{stroke:#102124}.projection-duty-marks path.next{stroke:#c2cfd2;stroke-width:6px;stroke-dasharray:8 8}.projection-duty-redo{color:#fff;font-size:max(1.2rem, calc(var(--duty-unit) * .11));background:#b3261e;border-radius:10px;padding:2px .6em;font-weight:900;line-height:1.2}.projection-duty-team .projection-hold-confirm-wrap{gap:2px}button.projection-hold-confirm.projection-duty-stroke,.projection-duty-erase{min-height:48px;padding:0 calc(var(--duty-unit) * .06);color:#24515f;font-size:max(1.05rem, calc(var(--duty-unit) * .075));background:#e7f0ef;border:3px solid #24515f;border-radius:10px;font-weight:900}.projection-duty-team .projection-hold-fill{background:#24515f4d}.projection-duty-team.correcting .projection-duty-erase:not(:disabled){color:#fff;background:#b34700;border-color:#b34700}.projection-duty-side-shift{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.projection-duty-side-shift button{color:#24515f;min-height:44px;font-size:max(1rem, calc(var(--duty-unit) * .06));cursor:pointer;background:#fff;border:2px solid #24515f;border-radius:10px;align-items:center;gap:4px;padding:0 12px;font-weight:900;display:inline-flex}.projection-duty-side-shift button:disabled{opacity:.45;cursor:default}.projection-duty-team li.empty{background:#f4f7f7;border-style:dashed}.projection-duty-empty-note{color:#4a5f66;font-size:max(1.1rem, calc(var(--duty-unit) * .08));text-align:center;margin:0;font-weight:900}.projection-duty-lanes{flex:0 auto;align-content:start;gap:8px;min-width:0;display:grid}.projection-duty-lane-choice{flex-wrap:wrap;align-items:center;gap:8px;font-weight:900;display:flex}.projection-duty-lane-choice button[aria-pressed=true]{color:#fff;background:#24515f;border-color:#24515f}.projection-duty-lane-row{grid-template-columns:6.2em minmax(0,1fr);align-items:start;gap:8px;display:grid}.projection-duty-lane-row-label{white-space:nowrap;align-items:center;min-height:44px;font-weight:900;display:flex}.projection-duty-lane-seats{flex-wrap:wrap;gap:6px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.projection-duty-lane-seats button{color:#24515f;min-width:44px;min-height:44px;font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;background:#fff;border:2px solid #24515f;border-radius:10px;padding:0 6px;font-size:1.15rem;font-weight:900}.projection-duty-lane-row.right .projection-duty-lane-seats button{color:#fff;background:#24515f}.projection-duty-lane-seats button:disabled{cursor:default;opacity:.6}.projection-duty-lane-hint{color:#4a5f66;margin:0;font-weight:700}.projection-duty-lane-last{color:#7a3f00;margin-left:.5em;font-weight:900}.projection-duty-direction{flex-wrap:wrap;align-items:center;gap:8px;font-weight:900;display:flex}.projection-duty-direction button[aria-pressed=true]{color:#fff;background:#24515f;border-color:#24515f}.projection-duty-up-next{color:#4a5f66;text-align:center;font-variant-numeric:tabular-nums;margin:0;font-weight:800}.projection-duty-team .projection-duty-up-next{font-size:max(1rem, calc(var(--duty-unit) * .055))}.projection-duty-up-next.single{font-size:1.15rem}.projection-duty-legacy{color:#102124;background:#fff4d6;border:2px solid #7a3f00;border-radius:12px;gap:8px;padding:10px 14px;font-weight:800;display:grid}.projection-duty-legacy p,.projection-duty-legacy ul{margin:0}.projection-duty-legacy ul{padding-left:1.2em}.projection-duty-legacy-actions{flex-wrap:wrap;gap:8px;display:flex}.projection-duty>.projection-duty-area{min-height:min(280px,42vh)}.projection-duty>.projection-duty-settings[open]{overscroll-behavior:contain;flex:0 auto;min-height:0;overflow:hidden auto}.projection-duty-settings[open]>summary{z-index:1;background:var(--duty-settings-bg,#fffaf0);position:sticky;top:0}.projection-duty-settings-prefs{flex-wrap:wrap;align-items:flex-end;gap:10px 20px;display:flex}.projection-duty-settings-body.split{align-items:flex-start}.projection-duty-settings-body.split .projection-duty-lanes{flex:440px}.projection-duty-settings-body.split .projection-duty-settings-prefs{flex-direction:column;flex:0 auto;align-items:flex-start}.projection-duty-settings summary{cursor:pointer;font-size:clamp(1rem,1.5vw,1.2rem);font-weight:900}.projection-duty-settings-body{flex-wrap:wrap;align-items:flex-end;gap:10px 20px;padding-top:8px;display:flex}.projection-duty-lines{gap:4px;font-weight:900;display:grid}.projection-duty-lines textarea{min-width:min(360px,70vw);font:inherit;font-weight:700}.projection-high-contrast .projection-duty-list li{color:#fff;background:#0b1215;border-color:#fff}.projection-high-contrast button.projection-hold-confirm.projection-duty-end{color:#000;background:#fff;border-color:#fff}.projection-high-contrast .projection-duty-closed-mark{color:#000;background:#7ee2a8}.projection-high-contrast .projection-duty-waiting{color:#ffc400}.projection-high-contrast .projection-duty-team li{color:#000;background:#fff;border-color:#fff}.projection-high-contrast .projection-duty-team li.redo{background:#fff;border-color:#ff4d3d;box-shadow:inset 0 0 0 6px #ff4d3d}.projection-high-contrast .projection-duty-team li .projection-duty-stroke,.projection-high-contrast .projection-duty-team li .projection-duty-erase{color:#000;background:#fff;border-color:#000}.projection-high-contrast .projection-duty-team li .projection-hold-hint{color:#000}.projection-high-contrast .projection-duty-marks path.next{stroke:#8fa3aa}.projection-high-contrast .projection-duty-marks path.drawn{stroke:#000}.projection-high-contrast .projection-duty-redo{color:#fff;background:#b3261e}.projection-high-contrast .projection-duty-team.correcting .projection-duty-erase:not(:disabled){color:#000;background:#ffc400;border-color:#ffc400}.projection-high-contrast .projection-duty-team li .projection-duty-side-shift button{color:#000;background:#fff;border-color:#000}.projection-high-contrast .projection-duty-team li.empty{background:#fff;border-style:dashed}.projection-high-contrast .projection-duty-empty-note{color:#000}.projection-high-contrast .projection-duty-lane-seats button{color:#fff;background:#0b1215;border-color:#fff}.projection-high-contrast .projection-duty-lane-row.right .projection-duty-lane-seats button,.projection-high-contrast .projection-duty-lane-choice button[aria-pressed=true]{color:#000;background:#fff;border-color:#fff}.projection-high-contrast .projection-duty-settings{--duty-settings-bg:#0b1215}.projection-high-contrast .projection-duty-lane-hint,.projection-high-contrast .projection-duty-up-next{color:#d6e2e5}.projection-high-contrast .projection-duty-team .projection-duty-up-next{color:#000}.projection-high-contrast .projection-duty-direction button[aria-pressed=true]{color:#000;background:#fff;border-color:#fff}.projection-high-contrast .projection-duty-legacy{color:#fff;background:#0b1215;border-color:#ffc400}.projection-high-contrast .projection-duty-lane-last{color:#ffc400}.projection-high-contrast .projection-duty-lines textarea{color:#fff;background:#1f3036;border-color:#fff}.projection-tool-panel.projection-toothbrushing{position:relative}.outing-feedback{z-index:2;color:#102124;cursor:pointer;background:#fff;border:4px solid #24515f;border-radius:16px;justify-items:center;gap:8px;max-width:calc(100% - 32px);padding:clamp(12px,2.4vh,24px) clamp(18px,3vw,40px);display:grid;position:absolute;bottom:clamp(16px,4vh,40px);left:50%;transform:translate(-50%);box-shadow:0 10px 30px #10212447}.outing-feedback-text{text-align:center;margin:0;font-size:clamp(1.8rem,4.6vw,3.6rem);font-weight:900;line-height:1.15}.outing-feedback.band-good{background:#e3f4ea;border-color:#2f7d55}.outing-feedback.band-good .outing-feedback-text{color:#1f5e3e}.outing-feedback.band-fast,.outing-feedback.band-slow{background:#fff3e6;border-color:#b34700}.outing-feedback.band-fast .outing-feedback-text,.outing-feedback.band-slow .outing-feedback-text{color:#8a3700}.projection-high-contrast .outing-feedback{color:#fff;background:#0b1215;border-color:#fff}.projection-high-contrast .outing-feedback .outing-feedback-text{color:#fff}.projection-high-contrast .outing-feedback.band-good .outing-feedback-text{color:#8ff0a4}.projection-high-contrast .outing-feedback.band-fast .outing-feedback-text,.projection-high-contrast .outing-feedback.band-slow .outing-feedback-text{color:#ffc400}.outing-feedback.page{z-index:6;box-sizing:border-box;width:min(560px,100% - 32px);position:fixed;bottom:104px}.outing-feedback.page .outing-feedback-text{font-size:clamp(1.4rem,5vw,2rem)}.outing-feedback-record{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;font-weight:800;display:flex}.outing-feedback-value{font-variant-numeric:tabular-nums;font-size:1.5rem;font-weight:900}.outing-board{gap:12px;min-width:0;display:grid}.outing-board .projection-tool-head{gap:8px 12px}.outing-board .projection-mode-switch button{min-height:44px;padding:0 18px;font-size:1.05rem}.outing-board .projection-toothbrushing-actions{margin-left:0}.outing-board .projection-toothbrushing-note{font-size:1rem}.outing-board .projection-toothbrushing-cheer p{font-size:1.4rem}.outing-board .projection-toothbrushing-seats{--tb-chip:96px;--tb-unit:84px}.outing-board .projection-toothbrushing-seats button{min-height:84px}.outing-board .projection-toothbrushing-seats button:disabled:not(.phase-leave){cursor:default;opacity:.6}@media (width<=480px){.outing-board .projection-toothbrushing-seats{--tb-chip:72px;--tb-unit:64px;gap:8px}.outing-board .projection-toothbrushing-seats button{min-height:68px}}.outing-board .projection-toothbrushing-review h3{font-size:1.2rem}.outing-board .projection-toothbrushing-chips button,.outing-board .projection-toothbrushing-chips.info li,.outing-board .projection-toothbrushing-chips.locked li{font-size:1.4rem}.outing-board .projection-self-report-actions{flex-wrap:wrap}.outing-board .projection-self-report-actions button{min-height:52px;font-size:1.15rem}.outing-board .projection-toothbrushing-question{font-size:1.5rem}.outing-board .projection-lottery-confirm{padding:24px 0}.outing-settings{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:4px 14px}.outing-settings>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:800;display:flex}.outing-settings-body{gap:16px;padding:4px 0 14px;display:grid}.outing-settings-body section{gap:6px;display:grid}.outing-settings-body h3{margin:0;font-size:1rem}.outing-settings-body .hint{margin:0}.outing-setting-row{flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;font-weight:700;display:flex}.outing-setting-row[role=group]{flex-wrap:nowrap}.outing-setting-row>span:first-child{flex:0 11em;min-width:0}.outing-setting-row select{min-width:8em;min-height:44px}.outing-stepper-value:empty{display:none}.outing-stepper-value{text-align:center;font-variant-numeric:tabular-nums;min-width:3em}.outing-log{gap:8px;display:grid}.outing-log h2{margin:0;font-size:1.1rem}.outing-log ol{gap:4px;margin:0;padding:0;list-style:none;display:grid}.outing-log li{background:var(--surface);border:1px solid var(--line);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;border-radius:8px;padding:8px 12px}.outing-log li.out{border-color:#3d6fb0}.outing-readonly{margin:0}.outing-settings label,.outing-lunch-settings label,.outing-board .projection-toothbrushing-split{align-items:center;gap:8px;display:flex}.outing-settings input[type=checkbox],.outing-lunch-settings input[type=checkbox],.outing-board .projection-toothbrushing-split input{flex:none;width:22px;height:22px;margin:0;padding:0}.outing-settings input[type=time],.outing-lunch-settings input[type=time],.outing-settings select{width:auto;min-width:8em;min-height:44px;padding:6px 10px}.outing-lunch-body{gap:4px;display:grid}.outing-lunch-days{gap:4px;margin:0;padding:0;list-style:none;display:grid}.outing-lunch-days .outing-check{min-width:6.5em}.outing-lunch-off{color:var(--muted)}.outing-lunch-settings summary{cursor:pointer;min-height:32px;font-size:clamp(1rem,1.5vw,1.2rem);font-weight:900}.projection-toothbrushing.step-board>.outing-lunch-settings[open]{overscroll-behavior:contain;flex:0 auto;min-height:0;max-height:40vh;overflow-y:auto}.outing-lunch-settings .outing-lunch-body{padding-top:8px;font-size:clamp(1rem,1.5vw,1.2rem);font-weight:800}.outing-lunch-settings .hint{color:#4a5f64;margin:0}.outing-lunch-settings .outing-lunch-off{color:#4a5f64}.outing-lunch-settings input[type=time]{color:#102124;background:#fff;border:2px solid #24515f;border-radius:8px}.projection-high-contrast .outing-lunch-settings .hint,.projection-high-contrast .outing-lunch-settings .outing-lunch-off{color:#dfe9ea}.register-recent-chip.register-now-chip{border:1px solid var(--primary);color:var(--primary);background:var(--surface)}.register-recent-chip.register-now-chip.active{background:var(--primary-soft);outline:2px solid var(--primary);outline-offset:1px}.register-schedule-hint{margin:0;font-size:.8rem;font-weight:600}.register-seat-options{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;margin:2px 0 8px;display:flex}.register-seat-layout button{min-height:34px;padding:0 12px}.register-quick-tap{min-height:34px;color:var(--ink);align-items:center;gap:6px;margin-left:auto;font-size:.9rem;font-weight:700;display:inline-flex}.register-quick-tap input{width:20px;height:20px;accent-color:var(--primary);margin:0}.seat-chart{gap:8px;min-width:0;display:grid}.seat-chart-board{width:min(60%,320px);color:var(--on-primary);background:var(--primary);letter-spacing:.3em;text-align:center;border-radius:6px;justify-self:center;padding:3px 0;font-size:.82rem;font-weight:700}.register-seat-grid .seat-grid.seat-chart-grid,.seat-chart-desks{gap:6px;margin:0;display:grid}.seat-chart-grid button{min-width:0}.seat-chart-empty{border:1px dashed var(--line-strong);border-radius:10px;min-height:48px}.seat-chart-unplaced{border-top:1px dashed var(--line);gap:4px;padding-top:6px;display:grid}.seat-chart-unplaced-label{color:var(--muted);margin:0;font-size:.82rem;font-weight:700}.register-seat-grid .seat-chart-unplaced .seat-grid{margin:0}ul.register-toast.register-quick-toast{opacity:.94;pointer-events:none;border-radius:12px;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:4px 4px 4px 12px;font-size:.84rem;list-style:none;left:auto;right:max(12px,50% - 380px);transform:none}.register-quick-toast li{justify-content:space-between;align-items:center;gap:8px;min-height:30px;display:flex}.register-quick-toast button{pointer-events:auto;min-height:30px}.register-page[data-quick]{padding-bottom:200px}.schedule-page{gap:12px}.schedule-page[data-dirty]{padding-bottom:96px}.schedule-intro,.schedule-section{gap:10px;display:grid}.schedule-intro p,.schedule-section p,.schedule-section h2{margin:0}.schedule-section h2{font-size:1.05rem}.schedule-actions,.schedule-section-actions{flex-wrap:wrap;align-items:flex-end;gap:8px 12px;display:flex}.schedule-periods,.schedule-slots,.schedule-swaps{gap:8px;margin:0;padding:0;list-style:none;display:grid}.schedule-period-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"label label remove""start dash end";align-items:center;gap:6px;display:grid}.schedule-period-row>.schedule-period-label{grid-area:label;max-width:9em}.schedule-period-row>.schedule-start{grid-area:start}.schedule-period-row>span{grid-area:dash}.schedule-period-row>.schedule-end{grid-area:end}.schedule-period-row>.schedule-remove{grid-area:remove;justify-self:end}@media (width>=560px){.schedule-period-row{grid-template-columns:7em minmax(0,10em) auto minmax(0,10em) 44px;grid-template-areas:"label start dash end remove";justify-content:start}}.schedule-page input,.schedule-page select{min-width:0;min-height:42px;padding:8px 10px}.schedule-page input[type=time]{padding:8px 6px}.schedule-break{grid-template-columns:auto 72px;align-items:center;font-size:.9rem}.schedule-remove{color:var(--negative);background:var(--negative-soft)}.schedule-grid-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.schedule-grid{border-collapse:separate;border-spacing:4px;table-layout:fixed;width:100%;min-width:600px}.schedule-grid th{color:var(--muted);text-align:center;font-size:.82rem;font-weight:700}.schedule-grid thead th:first-child,.schedule-grid tbody th{width:68px}.schedule-grid tbody th{color:var(--ink);line-height:1.2;display:table-cell}.schedule-grid tbody th small{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:600;display:block}.schedule-page .schedule-grid input{text-align:center;width:100%;padding:8px 4px;font-size:.92rem}.schedule-grid input.not-point{color:var(--muted);background:var(--bg)}.schedule-slot-row{border-bottom:1px solid var(--line);gap:6px;padding-bottom:8px;display:grid}.schedule-slot-row:last-child{border-bottom:0;padding-bottom:0}.schedule-slot-times{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;display:grid}.schedule-slot-times select{grid-column:1/-1}@media (width>=560px){.schedule-slot-times{grid-template-columns:minmax(0,10em) auto minmax(0,10em) minmax(0,10em);justify-content:start}.schedule-slot-times select{grid-column:auto}}.schedule-slot-days{justify-content:space-between;align-items:center;gap:8px;display:flex}.schedule-weekdays button{min-height:36px;padding:0 10px}.schedule-swaps li{border:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:4px 4px 4px 12px;font-weight:600;display:flex}.schedule-swaps .text-button{color:var(--negative);flex-shrink:0}.schedule-empty{color:var(--muted)}.schedule-swap-form{border:0;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));align-items:end;gap:8px;min-width:0;margin:0;padding:0;display:grid}.schedule-swap-form .validation-hint{grid-column:1/-1;margin:0}.seat-chart-size{flex-wrap:wrap;align-items:flex-end;gap:8px 12px;display:flex}.seat-chart-size label{font-size:.9rem}.seat-chart-front button{min-height:36px;padding:0 12px}.seat-chart-desks button{border:1px solid var(--line-strong);min-width:0;min-height:48px;color:var(--ink);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:10px;font-size:1.1rem;font-weight:700}.seat-chart-desks button.empty{background:0 0;border-style:dashed}.seat-chart-desks button.left{color:var(--muted);text-decoration:line-through}.seat-chart-desks button.selected{color:var(--on-primary);background:var(--primary);border-color:var(--primary);border-style:solid}.seat-chart-unplaced-editor{gap:6px;display:grid}.seat-chart-chips{flex-wrap:wrap;gap:6px;display:flex}.seat-chart-chips button{border:1px solid var(--line-strong);min-width:44px;min-height:40px;color:var(--primary);background:var(--primary-soft);font-variant-numeric:tabular-nums;border-radius:8px;padding:0 8px;font-weight:700}.schedule-save-bar .schedule-save-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.schedule-save-bar .text-button{min-height:42px;padding:0 8px}
