:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#1d302d;background:#f5f6f2;font-synthesis:none;--ink:#173f38;--muted:#73817a;--line:#e0e6de;--accent:#e7efc9}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select,textarea{outline-offset:4px}button{border:0;border-radius:9px;padding:11px 16px;background:var(--ink);color:white;font-weight:600}button:hover{filter:brightness(1.13)}button:disabled{opacity:.5;cursor:default}button.secondary{background:#edf1e8;color:var(--ink)}button.danger{background:#963e39}input,select,textarea{border:1px solid #ccd7cd;border-radius:8px;padding:11px 12px;background:white;color:#1d302d;width:100%}textarea{min-height:100px;resize:vertical}label{font-size:13px;display:grid;gap:7px;margin:14px 0;font-weight:600}label.check{display:flex;align-items:center}input[type=checkbox]{width:auto}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;margin-bottom:9px}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:16px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);font-weight:700}.muted{color:var(--muted);font-size:13px}.login{display:grid;grid-template-columns:1.15fr 1fr;min-height:100vh}.login-story{background:var(--ink);color:white;padding:10vw 7vw;display:flex;flex-direction:column;justify-content:center}.login-story img{width:66px;margin-bottom:50px}.login-story h1{font-size:54px;line-height:1.1;max-width:480px}.login-story p{color:#c9d6bd;font-size:18px;line-height:1.6}.login-form{align-self:center;padding:8vw;max-width:650px}.login-form button{width:100%;margin-top:12px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:750;font-size:20px}.brand img{width:36px}.shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{padding:26px 18px;border-right:1px solid var(--line);background:#fcfdf9;position:sticky;top:0;height:100vh;overflow:auto}.sidebar .brand{padding:0 12px 25px}.sidebar .eyebrow{margin:22px 12px 10px}.nav-button{display:flex;align-items:center;text-align:left;width:100%;background:transparent;color:#66786d;font-size:13px;padding:11px 13px;margin:3px 0;gap:11px}.nav-button.active{background:var(--ink);color:#fff}.nav-icon{font-size:15px;width:19px;text-align:center}.content{padding:0 38px 40px;max-width:1600px;width:100%;margin:auto}.topbar{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);margin-bottom:30px}.topbar select{max-width:360px;font-size:13px}.account{display:flex;align-items:center;gap:13px;font-size:13px}.avatar{width:38px;height:38px;border-radius:50%;background:#e2ebd4;display:grid;place-items:center;font-weight:700}.heading{display:flex;justify-content:space-between;align-items:center;margin:22px 0 26px;gap:20px}.heading p{margin:0;line-height:1.5}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat,.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.stat:first-child{background:var(--ink);color:white}.stat:first-child .muted{color:#c2d7c7}.stat strong{display:block;font-size:32px;letter-spacing:-1px;margin:14px 0 10px}.stat .muted{font-size:12px}.columns{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}.card{margin-bottom:20px}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #edf0eb}.row:last-child{border-bottom:0}.row p{margin:5px 0 0}.pill{padding:5px 9px;border-radius:20px;background:#eaf2e3;color:#365d3f;font-size:11px;white-space:nowrap}.pill.warn{background:#fff0d2;color:#8b6428}.pill.bad{background:#fbe7e1;color:#8c3d33}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px}.toolbar input{max-width:420px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:white}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th{text-align:left;background:#f0f3eb;padding:14px;font-size:11px;color:#677768;text-transform:uppercase;letter-spacing:.7px}td{padding:14px;border-bottom:1px solid #edf0eb;max-width:330px;overflow:hidden;text-overflow:ellipsis}.table-action{padding:6px 10px;background:#eef3e7;color:#245044;font-size:12px}.empty{text-align:center;padding:60px 25px;background:white;border:1px dashed #d4dece;border-radius:14px}.empty p{color:#73817a;line-height:1.6}.bars{height:150px;display:flex;align-items:flex-end;gap:18px;margin:30px 0 25px}.bar-group{flex:1;text-align:center;color:#78907b;font-size:11px}.bar{background:#b8cfa1;min-height:3px;border-radius:5px 5px 0 0;margin-bottom:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .wide{grid-column:1/-1}.error{background:#fbece7;padding:12px;color:#8a342b;border-radius:7px;font-size:13px;margin:12px 0;white-space:pre-wrap}.banner{background:#fff2d5;border:1px solid #edd7a4;padding:12px 16px;border-radius:9px;margin-bottom:20px;font-size:13px}.prose{white-space:pre-wrap;line-height:1.7;font-size:14px}.public-page{max-width:900px;margin:70px auto;padding:40px}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(720px,94vw);max-height:90vh;box-shadow:0 30px 100px #14261940}dialog::backdrop{background:#172f2866}dialog .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}#toast{position:fixed;bottom:24px;right:24px;max-width:440px;background:var(--ink);color:white;padding:16px 22px;border-radius:12px;display:none;z-index:99}.loading{padding:100px;text-align:center}.mobile-menu{display:none}.source{font-size:12px;color:#5e7763;padding:7px 0}.scope-note{font-size:12px;color:#748575;padding-top:25px}.audit{white-space:normal;font-size:12px}.field-value{overflow-wrap:anywhere}.actions-inline{display:flex;gap:8px;flex-wrap:wrap}a{color:#216b57}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.columns{grid-template-columns:1fr}.shell{grid-template-columns:210px 1fr}.content{padding:0 22px 30px}}@media(max-width:760px){.login{grid-template-columns:1fr}.login-story{display:none}.login-form{padding:35px;max-width:none}.shell{grid-template-columns:1fr}.sidebar{display:none}.sidebar.open{display:block;position:fixed;z-index:10;width:240px;box-shadow:15px 0 40px #152c2533}.mobile-menu{display:block;padding:8px 12px}.topbar{flex-wrap:wrap;padding:14px 0;gap:10px}.topbar select{max-width:100%;flex:1}.account{font-size:12px}.content{padding:0 18px 26px}.heading{align-items:flex-start}h1{font-size:26px}.stat{padding:18px}.stat strong{font-size:27px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.account .name{display:none}.stats{gap:10px}.card{padding:18px}}
/* School workspace redesign: accessible light surfaces with navy/teal accents. */
:root{font-family:"Segoe UI",Inter,Arial,sans-serif;color:#172a43;background:#f2f5fa;--ink:#12334d;--muted:#53677c;--line:#dbe3ed;--accent:#d8f2ec;font-size:15px}body{background:#f2f5fa;line-height:1.5}button,input,select{min-height:44px}button{border-radius:10px;transition:background .15s,box-shadow .15s}button:hover{box-shadow:0 3px 10px #162e4918;filter:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b16a08;outline-offset:3px}button.secondary{background:#e9eff6;color:#163c58}button:disabled{opacity:.6}.muted,.scope-note{color:#53677c}.eyebrow{color:#526b80;letter-spacing:1.6px;font-size:11px}h1{font-size:30px;font-weight:750}h2{font-size:21px}h3{line-height:1.45}input,select,textarea{border-color:#b7c6d7;color:#182e44;font-size:14px;border-radius:9px}label{color:#344e66;font-size:13px}small{font-size:12px}.shell{grid-template-columns:252px minmax(0,1fr)}.sidebar{background:#122b43;border:0;color:#e4ecf5;padding:28px 16px}.sidebar .brand{color:white;font-size:18px;padding:0 12px 18px;line-height:1.25}.sidebar .eyebrow,.sidebar .scope-note{color:#b4c7d9}.nav-group{margin:7px 0}.nav-group summary{cursor:pointer;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:#b7c9da;padding:13px 12px;list-style-position:inside}.nav-button{font-size:13px;color:#d2dfeb;margin:3px 0;min-height:44px}.nav-button:hover{background:#203e59}.nav-button.active{background:#d4f0e9;color:#103f38;font-weight:750;box-shadow:inset 3px 0 #35b39c}.nav-icon{font-size:17px}.content{padding:0 32px 40px;max-width:1720px}.topbar{min-height:88px;background:#f2f5fa;margin-bottom:24px;gap:12px}.topbar select{background:white;max-width:390px}.account{gap:9px}.avatar{background:#d7eee9;color:#174b43;flex-shrink:0}.account button{font-size:12px;padding:9px 12px}.heading{margin:20px 0}.heading .muted{font-size:12px}.card,.stat{border:1px solid #dce4ed;box-shadow:0 4px 18px #1b365305;border-radius:16px}.stat{padding:22px}.stat:first-child{background:white;color:#172a43;border-top:3px solid #0b7666}.stat:first-child .muted{color:#53677c}.stat strong{font-size:32px;color:#143a53}.stat:nth-child(2){border-top:3px solid #4479bf}.stat:nth-child(3){border-top:3px solid #bd8123}.stat:nth-child(4){border-top:3px solid #8762aa}.columns{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.pill{color:#195745;background:#e5f3eb;font-size:12px;white-space:normal;line-height:1.4;padding:6px 10px}.pill.warn{color:#744910;background:#fff1d8}.pill.bad{color:#922e35;background:#ffe9e9}.row{border-bottom-color:#e9eef5}.table-wrap{border-radius:14px}.table-wrap th{background:#eaf0f7;color:#425970}td{max-width:380px}tbody tr:hover{background:#f6f9fc}.table-action{color:#154c64;background:#eaf1f7;min-height:36px;font-size:12px}.toolbar{flex-wrap:wrap}.toolbar p{margin:0;flex:1}.empty{padding:65px 25px}.welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;border-radius:20px;background:linear-gradient(110deg,#15344f,#175963);color:white;padding:30px 32px;margin-bottom:22px;overflow:hidden}.welcome .eyebrow{color:#c1e8df}.welcome h2{font-size:28px;letter-spacing:-.7px;margin-bottom:8px}.welcome p{color:#d7e5ec;margin-bottom:0}.hero-symbol{font-size:100px;line-height:1;color:#9bcfc6;opacity:.65;margin:0 20px}.quick-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.quick-actions button,.welcome>button{background:#e0f3ec;color:#123f3c;font-size:13px}.welcome.compact{padding:24px 28px}.welcome.compact h2{font-size:24px}.agenda{display:flex;gap:30px;align-items:center}.agenda h2{font-size:19px;margin:0}.agenda .eyebrow{margin-bottom:5px}.agenda-items{display:flex;gap:25px;flex:1;flex-wrap:wrap}.agenda-items>div{border-left:3px solid #a0cfc6;padding-left:14px;display:grid;gap:3px}.agenda-items time{font-size:12px;color:#196655;font-weight:700}.agenda-items strong{font-size:14px}.agenda-items small{color:#53677c}.setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.setup-step{display:flex;align-items:center;text-align:left;background:white;color:#173750;border:1px solid #d7e2ee;padding:22px;gap:18px}.setup-step>span:nth-child(2){flex:1}.setup-step strong{display:block;font-size:16px}.setup-step small{display:block;font-weight:400;color:#53677c;margin-top:6px}.step-number{background:#e5f3ee;color:#19624e;min-width:36px;height:36px;display:grid;place-items:center;border-radius:50%}.filters{display:flex;align-items:end;flex-wrap:wrap;gap:15px;margin-bottom:22px}.filters label{margin:0;min-width:160px}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(165px,1fr));gap:12px;overflow-x:auto;padding-bottom:18px}.day-column{border:1px solid #d9e3ed;background:#edf2f8;border-radius:14px;padding:10px;min-height:270px}.day-column.today{border:2px solid #247b6a}.day-heading{display:flex;align-items:baseline;justify-content:space-between;padding:8px 4px 14px;gap:5px}.day-heading h2{font-size:14px;margin:0}.day-heading span{font-size:11px;color:#53677c}.period{border:1px solid #dae4ed;border-left:3px solid #378c7d;background:white;border-radius:9px;padding:12px;margin-bottom:10px}.period time{font-size:12px;color:#196555;font-weight:700}.period h3{margin:8px 0;font-size:14px}.period p{font-size:12px;color:#53677c;margin:4px 0}.period.changed{border-left-color:#b7791b}.period.cancelled{border-left-color:#b85c62;background:#fff3f2}.period-actions{display:flex;flex-direction:column;gap:6px;margin-top:12px}.period-actions button{font-size:11px;padding:6px}.day-empty{font-size:12px;text-align:center;color:#5d7185;margin-top:35px}.period-input{padding:16px;background:#f2f6fa;border:1px solid #d5e1ec;border-radius:12px;margin:15px 0}.day-checks{display:flex;flex-wrap:wrap;gap:5px 16px}.day-checks label{margin:8px 0}.day-checks input{min-height:24px}fieldset{border:1px solid #c6d4e2;border-radius:10px;padding:12px}legend{font-size:13px;padding:0 7px}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.error{color:#842b2c;background:#fff0ee}.banner{color:#654619;background:#fff3dc}.login{background:#f6f8fc}.login-story{background:radial-gradient(ellipse at 10% 10%,#24786e 0,transparent 60%),linear-gradient(145deg,#143650,#15263f);position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:360px;height:360px;border:1px solid #ffffff20;border-radius:50%;right:-130px;bottom:-80px;box-shadow:0 0 0 60px #ffffff05,0 0 0 120px #ffffff03}.login-story h1{font-size:52px;letter-spacing:-2px;position:relative;z-index:1}.login-form{padding:5vw;max-width:620px;width:100%}.login-form h1{font-size:28px;margin-top:36px}.login-form .brand{color:#153b54}.login-form button{background:#126958}.login-form .scope-note{font-size:11px}.form-grid{gap:0 20px}dialog{width:min(820px,95vw);border-radius:20px;box-shadow:0 30px 100px #122b4350}dialog::backdrop{background:#0c213370;backdrop-filter:blur(3px)}#toast{background:#143c52;color:white;max-width:min(440px,90vw)}.check{min-height:32px}.check input{min-height:24px}.table-wrap input,.table-wrap select{min-width:140px}
@media(max-width:1200px){.shell{grid-template-columns:225px minmax(0,1fr)}.content{padding:0 22px 30px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:1fr}.agenda{align-items:start;flex-direction:column}.account .name{display:none}}
@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{display:none}.sidebar.open{display:block;width:260px}.content{padding:0 15px 25px}.topbar{padding:14px 0}.topbar select{min-width:0}.account{width:100%;justify-content:flex-end}.welcome{padding:23px;align-items:start}.welcome h2{font-size:23px}.hero-symbol{display:none}.welcome.compact{display:block;padding:22px}.welcome.compact>button{margin-top:18px}.setup-grid{grid-template-columns:1fr}.quick-actions button{flex:1}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:27px}.agenda-items{gap:18px}.filters{gap:12px}.filters label{flex:1;min-width:140px}.login-form{padding:28px}.week-grid{grid-template-columns:repeat(7,190px)}.heading{gap:10px}.form-grid{grid-template-columns:1fr}.table-wrap{max-width:100%}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.heading,#toast,.filters,.welcome,.period-actions,button{display:none!important}.shell{display:block}.content{padding:0;max-width:none}.week-grid{overflow:visible;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.day-column{padding:4px;break-inside:avoid}.period{padding:6px}.day-heading{display:block}.day-heading h2{font-size:12px}body{background:white}@page{size:landscape;margin:10mm}}

.access-label{display:grid;gap:5px;justify-items:end}.access-label .muted{font-size:11px}
@media(max-width:760px){.quick-actions{display:grid;grid-template-columns:1fr 1fr}.quick-actions button{text-align:left}.agenda{gap:18px}}
/* Native switches and radio-backed segmented choices keep keyboard/form semantics. */
.switch-field{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 16px;background:#f6f9fc;border:1px solid #d6e2ec;border-radius:12px;min-height:64px}.switch-label{flex:1;line-height:1.5}.switch-control{position:relative;display:flex;gap:9px;align-items:center;min-width:87px;min-height:44px;flex-shrink:0}.switch-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:1}.switch-track{width:46px;height:26px;border-radius:20px;background:#65778c;position:relative;transition:background .15s}.switch-track:after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;background:white;border-radius:50%;box-shadow:0 1px 3px #162e4930;transition:transform .15s}.switch-control input:checked+.switch-track{background:#116a59}.switch-control input:checked+.switch-track:after{transform:translateX(20px)}.switch-on{display:none}.switch-control input:checked~.switch-state .switch-on{display:inline}.switch-control input:checked~.switch-state .switch-off{display:none}.switch-state{font-size:12px;font-weight:700;color:#334c63}.switch-control input:focus-visible+.switch-track{outline:3px solid #b16a08;outline-offset:4px}.choice-field{margin:14px 0;padding:0;border:0;min-width:0}.choice-field legend{font-size:13px;font-weight:600;color:#344e66;padding:0;margin-bottom:8px}.segments{display:flex;flex-wrap:wrap;gap:6px}.segment{position:relative;display:flex;flex:1;margin:0;min-width:82px;font-size:12px;cursor:pointer}.segment input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}.segment span{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;min-height:44px;border:1px solid #b8c8d7;border-radius:9px;padding:9px 11px;color:#38526b;background:white;font-weight:600;line-height:1.35;white-space:normal}.segment input:checked+span{background:#d8f1e9;border-color:#126b59;color:#104b40;box-shadow:inset 0 0 0 1px #126b59}.segment input:checked+span:before{content:"✓";margin-right:6px;font-weight:800}.segment input:focus-visible+span{outline:3px solid #b16a08;outline-offset:3px}.segment input:disabled{cursor:default}.segment input:disabled+span{opacity:.7}.choice-help{grid-column:1/-1;margin:-5px 0 8px;line-height:1.6}.login-form .segments{display:grid;grid-template-columns:1fr 1fr}.login-form .segment{min-width:0}.table-wrap .choice-field{margin:0;min-width:275px}.table-wrap .choice-field legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.table-wrap .segments{display:grid;grid-template-columns:repeat(3,minmax(80px,1fr));gap:5px}.table-wrap .segment{min-width:0}.table-wrap .segment span{font-size:11px;padding:8px 5px;min-height:38px}.day-checks .check{position:relative;min-width:100px;margin:4px 0;padding:9px 12px;border:1px solid #b8c8d7;border-radius:9px;background:white;cursor:pointer}.day-checks .check:has(input:checked){background:#d8f1e9;border-color:#126b59;color:#104b40}.day-checks input{accent-color:#126b59}.form-grid>.choice-field{align-self:start}@media(max-width:760px){.switch-field{padding:12px}.segments{gap:5px}.segment{min-width:90px}.day-checks{gap:6px}.day-checks .check{flex:1;font-size:12px}}
/* Keep secondary sign-in actions distinct and readable on the light form. */
.login-form button.secondary{background:#fff;color:#17324d;border:1px solid #b8c8d7}
#identity-management .row>div:last-child{display:flex;flex-wrap:wrap;gap:8px}
#module-items form{padding:16px 0;border-bottom:1px solid var(--line)}
@media(max-width:760px){.account{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:100%}.topbar{flex-wrap:wrap}.account button{padding:9px 10px;font-size:12px}.public-page .heading{align-items:flex-start}}

.attachment-preview{display:block;width:100%;height:65vh;object-fit:contain;border:1px solid #dbe5df;margin:1rem 0}.select-search{font-size:.85rem;padding:.45rem;margin:0 0 .25rem}dialog .row{gap:1rem;flex-wrap:wrap}

.combo{position:relative;display:inline-block;min-width:0;width:100%}.combo-native{display:none!important}.combo:after{content:"▾";position:absolute;right:13px;top:50%;transform:translateY(-50%);pointer-events:none;color:#38536a}.combo-input{width:100%;padding-right:32px!important;box-sizing:border-box}.combo-list{position:fixed;z-index:10000;overflow:auto;background:#fff;color:#15344b;border:1px solid #abc2d4;border-radius:10px;box-shadow:0 8px 28px #102b4329;padding:5px;box-sizing:border-box}.combo-list [role=option]{padding:10px 12px;border-radius:6px;cursor:pointer;overflow-wrap:anywhere}.combo-list [role=option].focused{background:#e3f2ed}.combo-list [aria-selected=true]{font-weight:650}.combo-empty{padding:12px;color:#617283}.topbar>.combo{max-width:390px}.filters .combo{min-width:170px}label>.combo{display:block}

/* Guided setup and destructive action review. */
.wizard{border:2px solid var(--accent,#1b5145);margin-bottom:24px;background:var(--surface,#fff)}
.wizard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.wizard h2{margin:4px 0 16px}.wizard progress{width:100%;height:8px;accent-color:#1b5145}
button.danger{background:#a22d35;color:white;border:1px solid #a22d35}button.danger:hover{background:#81232a}
.delete-summary{max-height:240px;overflow:auto;border:1px solid #e6dddd;border-radius:12px;padding:0 14px;margin-bottom:16px}
#wizard-error:empty{display:none}@media(max-width:600px){.wizard-heading{flex-direction:column}.wizard .actions{flex-wrap:wrap}.wizard{padding:18px}}
.content,#main{min-width:0}.wizard .actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:760px){.toolbar{flex-wrap:wrap}.toolbar input{flex:1 1 100%;min-width:0}.toolbar button{flex:1}.row{flex-wrap:wrap}.row>div{min-width:0;max-width:100%}.row button{margin:3px 0}}
.multi-select{position:relative;margin:14px 0}.multi-select>label{margin-bottom:6px}.multi-select>p{margin:6px 0;overflow-wrap:anywhere}.multi-options{position:absolute;left:0;right:0;top:74px;z-index:30;background:white;border:1px solid #afc4d4;border-radius:12px;box-shadow:0 12px 30px #17334830;max-height:260px;overflow:auto;padding:8px 12px}.multi-options[hidden]{display:none}.multi-options .check{margin:0;padding:9px 4px;border-bottom:1px solid #edf1f5;cursor:pointer}.multi-options input{accent-color:#126b59}.form-error:not(:empty){color:#9b2735;padding:12px;background:#fff0ef;border-radius:8px}.setup-grid .card{min-width:0}

.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:12px 0}.month-grid>*{text-align:center;padding:5px}.month-grid .has-event{background:#d9eee8;border-radius:6px;color:#0e5548;font-weight:700}.calendar-event{width:100%;margin:6px 0;text-align:left}

.content{margin:0 auto;align-self:start}
/* Visual timetable editor */
.tb-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.tb-heading h2{font-size:28px;margin-bottom:8px}.tb-heading p:last-child{margin-bottom:0}.tb-filters{align-items:end}.tb-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.tb-actions [role=status]{font-size:13px;color:var(--muted)}#tb-error:not(:empty){padding:14px;background:#fff0e9;color:#8b2920;border-radius:10px}.tb-workspace{display:grid;grid-template-columns:200px minmax(0,1fr);gap:18px;align-items:start}.tb-palette{padding:16px;position:sticky;top:12px;max-height:85vh;overflow:auto}.tb-subject{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;margin:8px 0;padding:13px;border:2px solid transparent;gap:4px;color:#17334d;cursor:grab}.tb-subject small{font-weight:400;font-size:12px}.tb-subject.tb-selected{border-color:#147a67;box-shadow:0 0 0 2px #a8e2d5}.tb-board-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:white}.tb-board{width:100%;table-layout:fixed;min-width:960px;border-collapse:separate;border-spacing:0;white-space:normal}.tb-board th{background:#e7edf5;color:#18364c;text-transform:none;letter-spacing:0;text-align:center;font-size:12px;padding:12px;border-bottom:1px solid var(--line)}.tb-board th:first-child{position:sticky;left:0;z-index:2;width:110px;background:#e7edf5}.tb-board tbody th strong{display:block;margin:8px 0}.tb-board tbody th button{display:block;margin:6px auto;min-height:34px}.tb-board td{overflow:visible;text-overflow:clip;vertical-align:top;border-right:1px solid #e2e9f0;padding:7px;min-height:125px}.tb-cell>small,.tb-break>small{display:block;text-align:center;font-size:11px;color:#52677b;margin:3px 0 8px;white-space:nowrap}.tb-lesson{position:relative;border:2px solid transparent;border-radius:9px;margin:5px 0;cursor:grab}.tb-edit{background:transparent!important;color:#19344a!important;padding:9px 16px 10px 7px;width:100%;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;min-height:98px;overflow-wrap:anywhere;font-size:12px}.tb-edit span{font-weight:400}.tb-edit small{font-size:10px;font-weight:400}.tb-remove{position:absolute;top:0;right:0;background:transparent;color:#254b5e;padding:0;min-height:24px;width:22px;font-size:17px}.tb-empty{width:100%;min-height:100px;border:1px dashed #bdcbd9;border-radius:8px;color:#617589;background:#f7f9fc;font-weight:500;font-size:12px}.tb-over{background:#d7f3ea;outline:3px solid #17816b;outline-offset:-3px}.tb-break{background:#fff5dc;text-align:center;vertical-align:middle!important;color:#795800}.tb-break strong{display:block;margin-top:28px;font-size:13px}.tb-closed{color:#8a98a5;background:#f2f4f6;font-size:11px;text-align:center;vertical-align:middle!important}.tb-colour-0{background:#dceefb}.tb-colour-1{background:#e7e2fa}.tb-colour-2{background:#d8f1e8}.tb-colour-3{background:#ffe6d8}.tb-colour-4{background:#f9e0ec}.tb-colour-5{background:#e5efcc}.tb-conflict{border-color:#c43f38!important}.tb-conflicts{margin-top:18px}.tb-conflicts p{font-size:13px}#tb-times-preview{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:12px 0}#tb-times-preview p{margin:0;font-size:13px;padding:7px;background:#eef4f8;border-radius:6px}@media(max-width:900px){.tb-workspace{grid-template-columns:1fr}.tb-palette{position:static;max-height:none}.tb-palette #tb-subjects{display:flex;overflow:auto;gap:8px}.tb-subject{min-width:150px;width:150px}.tb-heading{align-items:flex-start;flex-direction:column}.tb-board{min-width:900px}.tb-actions{position:sticky;bottom:0;background:#f2f5fa;padding:10px;z-index:3}}@media print{.tb-palette,.tb-actions,.tb-filters,.tb-heading,.tb-conflicts{display:none}.tb-workspace{display:block}.tb-board-wrap{overflow:visible}.tb-board{min-width:0}.tb-edit{display:flex!important}.tb-remove{display:none!important}}
.tb-board-area{min-width:0}.tb-mobile-day{display:none}@media(max-width:760px){.tb-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tb-filters label{min-width:0;width:100%;margin:4px 0}.tb-filters label:nth-child(3),.tb-filters>button{grid-column:1/-1}.tb-filters input{min-width:0;max-width:100%}.tb-actions{position:static;padding:0}.tb-mobile-day{display:grid}.tb-board{display:block;min-width:0;width:100%}.tb-board thead{display:none}.tb-board tbody{display:block}.tb-board tbody tr{display:none}.tb-board tbody tr[data-mobileactive=true]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.tb-board tbody th:first-child{position:static;grid-column:1/-1;width:auto;display:flex;align-items:center;gap:12px}.tb-board tbody th button{margin:0}.tb-board td{display:block;min-width:0;max-width:none}.tb-board .tb-closed{display:none}.tb-edit{font-size:13px;min-height:95px}.tb-lesson{min-width:0}.tb-lesson strong{overflow-wrap:normal}.tb-break strong{margin-top:22px}.tb-cell>small,.tb-break>small{font-size:12px}.tb-palette{margin-bottom:0}}

/* Unified ocean workspace theme: shared by every portal and module. */
:root{--ink:#0b746f;--muted:#687c85;--line:#dfe7e8;--accent:#e4f3ef;color:#203840;background:#f5f7f6}body{background:#f5f7f6;color:#203840}.content{padding:0 28px 36px}.sidebar{background:linear-gradient(170deg,#173d4c 0%,#102c39 100%);border:0;padding:24px 16px;color:#fff}.sidebar .brand{color:white;font-size:19px}.sidebar .brand img{border-radius:9px;background:#ffffff18;padding:4px}.sidebar .eyebrow,.sidebar summary,.sidebar footer{color:#bfdbdf}.sidebar .nav-button{color:#e3eff0;border-radius:9px;min-height:43px;font-weight:500}.sidebar .nav-button:hover{background:#ffffff13;filter:none}.sidebar .nav-button.active{background:#ffffff26;color:#fff;border-left:3px solid #75d4be;box-shadow:0 4px 12px #102c3912}.sidebar details{border-color:#ffffff18}.sidebar summary{font-size:11px;letter-spacing:.9px}.topbar{background:white;margin:0 -28px 22px;padding:15px 28px;min-height:78px;border-bottom:1px solid var(--line)}.topbar .account{gap:8px}.avatar{background:#e4f3ef;color:#0b746f}.heading{margin:18px 0 22px}h1{font-size:28px;letter-spacing:-.7px;color:#203840}h2,h3{color:#203c46}button{background:#087d75;box-shadow:none;border-radius:8px}button:hover{filter:brightness(1.06)}button.secondary,.table-action,.account button{background:#e9f3f1;color:#146960}.account button{font-size:12px;padding:10px 12px}button.danger{background:#b74259;color:#fff}.card,.stat{border:1px solid #dfe8e7;box-shadow:0 3px 14px #183d4805;border-radius:12px}.stat:first-child{background:linear-gradient(120deg,#0e7773,#278f86);color:white}.stat:first-child .muted{color:#e4f3ef}.stat strong{font-size:30px}.welcome{background:linear-gradient(110deg,#e8f4ef,#f4f8f2);border:1px solid #dcebe4;color:#244c4c}.welcome h2{color:#244c4c}.welcome .eyebrow,.welcome p{color:#617c76}.hero-symbol{color:#82b6a8}.quick-actions button{background:white;color:#176d65;border:1px solid #d2e5df}.pill{background:#e6f1f4;color:#376c7b}.pill.warn{background:#fff2d9;color:#825d15}.pill.bad{background:#fce7ec;color:#a52c49}.pill.good{background:#e0f4ec;color:#226a50}input,select,textarea{border-color:#cbdcdd;color:#243e46;border-radius:8px;background:#fff}input:focus,textarea:focus,.combo-input:focus{outline:2px solid #72bdb6;outline-offset:1px;border-color:#3b958e}.combo-list,.multi-menu{border-color:#d6e4e3;box-shadow:0 8px 24px #183d4816}.combo-list [role=option].focused,.combo-list [role=option]:hover{background:#e5f2ee;color:#17665e}.table-wrap{border-color:#dbe6e5;border-radius:11px}th{background:#edf3f3;color:#5f7a80;font-size:11px;border-color:#dce8e7}td{border-bottom-color:#eaf0ef}tbody tr:hover{background:#f5faf8}.row{border-bottom-color:#eaf0ef}.switch-field{background:#f7faf8;border-color:#dce7e3}.switch-control input:checked+.switch-track{background:#0c8276}.segment input:checked+span{background:#e2f3eb;border-color:#238b78;color:#1d6355;box-shadow:inset 0 0 0 1px #238b78}.day-checks .check:has(input:checked){background:#e2f3eb;border-color:#238b78;color:#1d6355}.day-checks input{accent-color:#0c8276}.login-story{background:linear-gradient(145deg,#204e60,#102e3d)}.login-story h1{color:white}.login-story p{color:#c8e0e3}.login-form{background:#fff}.login-form button.secondary{color:#176d65;border-color:#cde2dd}dialog{border:1px solid #d9e6e1;border-radius:16px;box-shadow:0 24px 80px #153e4930}dialog::backdrop{background:#14323d66}.tb-heading{padding:18px 22px}.tb-heading h2{font-size:23px}.tb-heading .eyebrow{letter-spacing:1px}.tb-heading p{font-size:13px}.tb-board thead th{background:#285c70;color:#fff;border-color:#4d8091}.tb-board thead th:first-child{background:#204c60;color:#fff}.tb-board tbody th:first-child{background:#edf4f4;color:#315c67}.tb-cell>small{color:#657f85}.tb-lesson{box-shadow:0 2px 5px #173d4c0a;border-radius:8px}.tb-colour-0{background:#dcecfb;border-left:3px solid #5595d2}.tb-colour-1{background:#e9e1fb;border-left:3px solid #9270d2}.tb-colour-2{background:#dcf2ee;border-left:3px solid #4eaa95}.tb-colour-3{background:#ffeadf;border-left:3px solid #e39b70}.tb-colour-4{background:#fbe1ec;border-left:3px solid #d980a8}.tb-colour-5{background:#e8f0d6;border-left:3px solid #9ab361}.tb-subject.tb-selected{border-color:#238b78;box-shadow:0 0 0 2px #cbe9df}.tb-empty{background:#f7faf8;border-color:#cadfdb;color:#6a8986}.tb-over{background:#ddf1e9;outline-color:#3b9a83}.tb-break{background:#fff2cf;color:#98701c}.tb-conflicts h3{font-size:15px}.tb-conflicts p{line-height:1.6}.tb-conflict{border:2px solid #c43f59!important}.tb-actions{background:#fff;padding:12px;border:1px solid var(--line);border-radius:10px}.tb-actions [role=status]{margin-left:auto}.tb-filters{gap:14px}.tb-edit{min-height:88px}.tb-empty{min-height:90px}@media(min-width:1200px){.tb-workspace{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.tb-palette{grid-column:1;grid-row:1;position:static;max-height:none;padding:14px;margin:0}.tb-palette h3{margin:0 0 8px}.tb-palette label{margin:0 0 8px;max-width:300px}.tb-palette #tb-subjects{display:flex;flex-wrap:wrap;gap:8px}.tb-palette .tb-subject{width:auto;min-width:140px;margin:0;padding:9px 12px}.tb-palette p{margin:8px 0 0;font-size:11px}.tb-board-area{grid-column:1;grid-row:2}.tb-workspace>.tb-conflicts{grid-column:2;grid-row:1/3;margin:0;padding:18px;position:sticky;top:12px}.tb-board{min-width:780px}.tb-board th:first-child{width:90px}.tb-board td{padding:5px}.tb-edit{font-size:11px;padding-left:5px}.tb-board th{padding:10px 5px}}@media(max-width:760px){.content{padding:0 16px 24px}.topbar{margin:0 -16px 18px;padding:14px 16px}.account{flex-wrap:wrap}.heading h1{font-size:26px}.tb-actions{padding:10px}.tb-actions [role=status]{margin-left:0;width:100%}.tb-palette{padding:16px}.tb-heading{padding:18px}.tb-edit{font-size:13px}.tb-workspace>.tb-conflicts{margin-top:0}.stats{gap:10px}}@media print{.topbar,.tb-palette,.tb-conflicts{display:none!important}.tb-workspace{display:block}.tb-board-area{display:block}.card{box-shadow:none}body{background:white}}
.heading-actions{display:flex;gap:8px;align-items:center}kbd{font:10px inherit;border:1px solid #cadfdb;border-radius:4px;padding:3px 5px;margin-left:8px;color:#67877e}.task-launcher{min-width:0}.task-tabs{display:flex;gap:7px;margin:16px 0}.task-tabs button{background:#edf4f1;color:#4c7366;font-size:12px}.task-tabs button[aria-pressed=true]{background:#0b7c6d;color:white}#task-results{max-height:50vh;overflow:auto;margin-bottom:16px;display:grid;gap:6px}.task-result{background:#f5faf8;border:1px solid #dce9e2;color:#2f5449;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:12px 14px}.task-result small{display:block;color:#698479;font-weight:400;margin-top:5px}.work-shortcuts-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-shortcuts-title h2{margin-bottom:4px}.work-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.work-shortcut{background:#f7faf8;border:1px solid #dce9e2;color:#2b6154;text-align:left;padding:17px}.work-shortcut strong{display:flex;justify-content:space-between;gap:12px;font-size:14px}.work-shortcut small{display:block;color:#6e867e;margin-top:8px;font-weight:400;line-height:1.4}.work-shortcut:hover,.task-result:hover{background:#e4f2ea;border-color:#8ab9a6;filter:none}@media(max-width:760px){.heading{align-items:flex-start;flex-wrap:wrap}.heading-actions{width:100%}.heading-actions #find-task{flex:1;text-align:left}.heading-actions kbd{display:none}.work-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.work-shortcut{padding:13px}.work-shortcuts-title{align-items:flex-start}.work-shortcuts-title button{font-size:11px;padding:10px}.work-shortcut strong{font-size:13px}.task-tabs button{padding:10px}.task-result small{line-height:1.4}}
.stat:first-child strong{color:white}.welcome:has(.quick-actions:empty){padding:22px 26px;min-height:0}.quick-actions:empty{display:none}.welcome:has(.quick-actions:empty) h2{font-size:23px}.welcome:has(.quick-actions:empty) p:last-of-type{margin-bottom:0}.welcome:has(.quick-actions:empty) .hero-symbol{font-size:48px}

/* School-selected themes; slate is the fallback before a workspace is loaded. */
:root{--theme-side:#243447;--theme-action:#2563EB;--theme-bg:#F6F8FB;--theme-soft:#EAF1FD;--theme-text:#244571;--theme-border:#DCE5F1;--theme-focus:#80A6F7}
:root[data-theme=forest]{--theme-side:#23483F;--theme-action:#28745D;--theme-bg:#FAF8F3;--theme-soft:#EDF3EA;--theme-text:#315C49;--theme-border:#DFE5D9;--theme-focus:#83B59A}
:root[data-theme=charcoal]{--theme-side:#252D38;--theme-action:#087F8C;--theme-bg:#F5F9FA;--theme-soft:#E6F3F5;--theme-text:#285B64;--theme-border:#D9E7EA;--theme-focus:#73B7C0}
:root[data-theme=navy]{--theme-side:#173D4C;--theme-action:#087D75;--theme-bg:#F5F7F6;--theme-soft:#E8F3F0;--theme-text:#2B6154;--theme-border:#DCE9E2;--theme-focus:#83B9AB}
:root{--ink:var(--theme-action);--line:var(--theme-border);background:var(--theme-bg)}body{background:var(--theme-bg)}.sidebar{background:var(--theme-side)}.sidebar .nav-button.active{border-left-color:white}.sidebar .eyebrow,.sidebar summary,.sidebar footer{color:#d9e6ee}.sidebar .nav-button{color:#f1f6fa}button{background:var(--theme-action)}button.secondary,.table-action,.account button,.avatar,.task-tabs button{background:var(--theme-soft);color:var(--theme-text)}.task-tabs button[aria-pressed=true],.switch-control input:checked+.switch-track{background:var(--theme-action);color:white}.stat:first-child{background:var(--theme-action);border-top-color:var(--theme-action)}.welcome{background:var(--theme-soft);border-color:var(--theme-border)}.welcome h2,.welcome p,.welcome .eyebrow,.hero-symbol{color:var(--theme-text)}.work-shortcut,.task-result,.switch-field{background:var(--theme-bg);border-color:var(--theme-border);color:var(--theme-text)}.work-shortcut small,.task-result small{color:#60717b}.work-shortcut:hover,.task-result:hover,.combo-list [role=option].focused,.combo-list [role=option]:hover{background:var(--theme-soft);border-color:var(--theme-focus);color:var(--theme-text)}.card,.stat,.table-wrap{border-color:var(--theme-border)}th,.tb-board tbody th:first-child{background:var(--theme-soft);color:var(--theme-text)}.tb-board thead th,.tb-board thead th:first-child{background:var(--theme-side);color:white}.tb-subject.tb-selected{border-color:var(--theme-action);box-shadow:0 0 0 2px var(--theme-soft)}input:focus,textarea:focus,.combo-input:focus{outline-color:var(--theme-focus);border-color:var(--theme-action)}.segment input:checked+span,.day-checks .check:has(input:checked){background:var(--theme-soft);border-color:var(--theme-action);color:var(--theme-text);box-shadow:inset 0 0 0 1px var(--theme-action)}.theme-picker{border:0;padding:0;margin:0 0 24px}.theme-picker legend{font-size:19px;font-weight:700;margin-bottom:8px}.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-option{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--theme-border);border-radius:10px;margin:0;cursor:pointer}.theme-option:has(input:checked){border:2px solid var(--theme-action);background:var(--theme-soft);padding:15px}.theme-option input{width:18px;height:18px;accent-color:var(--theme-action);flex-shrink:0}.theme-option>span{flex:1}.theme-swatches{display:flex;gap:6px;margin-top:10px}.theme-swatches i{display:block;height:28px;flex:1;border:1px solid #00000018;border-radius:5px}.theme-option:focus-within{outline:2px solid var(--theme-focus);outline-offset:2px}@media(max-width:600px){.theme-options{grid-template-columns:1fr}}@media print{body{background:white}}
.tb-teacher-heading{margin-top:18px!important}#tb-teachers{display:flex;flex-wrap:wrap;gap:8px}.tb-teacher{background:var(--theme-soft);color:var(--theme-text);border:2px solid transparent;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 12px;cursor:grab}.tb-teacher small{font-weight:400;font-size:11px}.tb-teacher.tb-selected{border-color:var(--theme-action)}.tb-fix{margin-top:8px;font-size:12px}.tb-fix-options{display:grid;gap:8px;margin-bottom:18px}.tb-fix-options button{text-align:left}@media(max-width:760px){#tb-teachers{flex-wrap:nowrap;overflow:auto}.tb-teacher{flex-shrink:0}}
@media(min-width:1200px){.tb-palette{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.tb-palette>h3:first-child{grid-column:1;grid-row:1}.tb-palette>label:first-of-type{grid-column:1;grid-row:2}.tb-palette>#tb-subjects{grid-column:1;grid-row:3;align-self:start}.tb-palette>.tb-teacher-heading{grid-column:2;grid-row:1;margin-top:0!important}.tb-palette>label:nth-of-type(2){grid-column:2;grid-row:2}.tb-palette>#tb-teachers{grid-column:2;grid-row:3;align-self:start}.tb-palette>p{grid-column:1/-1}}
/* Workspace navigation and personal preferences */
.menu-symbol{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.sidebar .nav-button{display:flex;align-items:center;gap:10px;text-align:left;width:100%}.workspace-nav summary{display:flex;align-items:center;gap:10px;padding:12px 9px;cursor:pointer;font-size:14px;letter-spacing:0;text-transform:none}.workspace-nav summary:after{content:'⌄';margin-left:auto}.workspace-nav>div{border-left:1px solid #ffffff38;margin:0 0 12px 18px;padding-left:8px}.workspace-nav>div .nav-button{font-size:13px}.workspace-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0;margin-bottom:20px;border-bottom:1px solid var(--theme-border)}.workspace-tabs .nav-button{display:flex;align-items:center;gap:7px;width:auto;background:transparent;color:var(--theme-text);padding:10px 12px;border-radius:8px}.workspace-tabs .nav-button.active{background:var(--theme-soft);box-shadow:inset 0 -2px var(--theme-action)}.topbar{flex-wrap:wrap;gap:12px}.topbar #workspace{flex:1;min-width:210px;max-width:420px}.top-task-search{flex:1;min-width:220px;max-width:420px;margin:0;cursor:pointer}.topbar .account{margin-left:auto;flex-wrap:wrap}.workspace-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.workspace-tile{background:white;color:var(--theme-text);border:1px solid var(--theme-border);padding:22px;border-radius:12px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.workspace-tile:hover{background:var(--theme-soft);filter:none;border-color:var(--theme-focus)}.workspace-tile>.menu-symbol{height:28px;width:28px}.workspace-tile strong{font-size:17px}.workspace-tile small{font-weight:400;color:#60717b;line-height:1.5}.workspace-tile>span{font-size:12px}.favorite-tiles .workspace-tile{padding:14px;gap:8px}.favorite-tiles .workspace-tile strong{font-size:14px}.favorite-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.favorite-picker label{display:flex;align-items:center;gap:9px;border:1px solid var(--theme-border);padding:12px;border-radius:8px;margin:0}.favorite-picker input{width:18px;height:18px;flex-shrink:0;accent-color:var(--theme-action)}.theme-option small{display:block;margin-top:7px;font-weight:400}.setup-progress{margin:20px 0}.setup-progress progress{display:block;width:100%;height:16px;margin-top:12px;accent-color:var(--theme-action)}.chart-label{display:flex;justify-content:space-between;gap:12px;margin:16px 0 8px}.chart-track{height:10px;background:var(--theme-soft);border-radius:5px;overflow:hidden}.chart-track span{display:block;height:100%;background:var(--theme-action)}.dashboard-chart>p{margin-top:22px}.nav-button:focus-visible,.workspace-tile:focus-visible,summary:focus-visible{outline:2px solid var(--theme-focus);outline-offset:2px}
@media(max-width:1000px){.workspace-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.favorite-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.workspace-tiles,.favorite-picker{grid-template-columns:1fr}.topbar #workspace,.top-task-search{width:100%;max-width:none;min-width:0;flex-basis:100%}.topbar .account{margin:0}.workspace-tabs .nav-button{font-size:12px;padding:9px}.workspace-tile{padding:16px}.workspace-tabs{gap:4px}.sidebar .nav-button,.workspace-nav summary{min-height:44px}}
/* School setup: separate step navigation, working area and actions. */
:root[data-theme=royal]{--theme-side:#fff;--theme-action:#0755FF;--theme-bg:#F1F6FF;--theme-soft:#EAF1FF;--theme-text:#19365D;--theme-border:#DCE6F5;--theme-focus:#7CA6FF}
:root[data-theme=royal] .sidebar{border-right:1px solid var(--theme-border)}:root[data-theme=royal] .sidebar :is(.brand,.nav-button,.eyebrow,summary,footer){color:#19365D}:root[data-theme=royal] .sidebar .nav-button.active{background:#0755FF;color:white;border-left-color:#0755FF}:root[data-theme=royal] .workspace-nav>div{border-color:#DCE6F5}:root[data-theme=royal] .tb-board thead th{background:#19365D;color:white}
.setup-mode>.heading,.setup-mode>.workspace-tabs{display:none}.wizard{padding:0!important;border:0!important;background:transparent!important;margin:24px 0 0!important;min-width:0}.wizard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.wizard-heading h1{margin:0;font-size:30px}.wizard-heading p{margin:8px 0 0}.wizard-progress{padding:20px 24px!important;margin-bottom:24px}.wizard-progress .setup-progress{margin:0}.wizard-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start}.wizard-navigation{padding:14px!important;margin:0!important}.wizard-navigation summary{padding:12px;cursor:pointer;font-weight:700}.wizard-step{display:flex;width:100%;align-items:center;gap:10px;text-align:left;background:transparent;color:var(--theme-text);border:1px solid transparent;padding:12px 8px;margin:4px 0;border-radius:9px;font-size:13px;line-height:1.4}.wizard-step>span:nth-child(2){flex:1}.wizard-step[aria-current=step]{background:var(--theme-soft);border-color:var(--theme-focus)}.wizard-number{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;border-radius:50%;background:var(--theme-soft);color:var(--theme-text)}.wizard-step[aria-current=step] .wizard-number{background:var(--theme-action);color:white}.wizard-status{display:inline-block;border-radius:20px;background:var(--theme-soft);color:var(--theme-text);font-size:10px;padding:5px 8px;white-space:nowrap;font-weight:600}.wizard-status.done,.wizard-number.done{background:#E8F5EF;color:#256448}.wizard-more summary{font-size:13px}#wizard-review{width:100%;margin-top:16px;border-top:1px solid var(--theme-border)}.wizard-content{background:white;border:1px solid var(--theme-border);border-radius:14px;padding:24px;min-width:0}.wizard-step-heading h2{display:flex;align-items:center;gap:12px;margin:10px 0}.wizard-step-heading .eyebrow{margin:0}.wizard-step-heading>p{color:#60717b}.wizard-content #main{min-width:0}#wizard-unsaved{background:#FFF6DD;color:#795D13;padding:12px;border-radius:8px}#wizard-subject-form{padding:20px 0;border-bottom:1px solid var(--theme-border);margin-bottom:24px}.wizard-footer{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:white;border:1px solid var(--theme-border);border-radius:12px;padding:18px 22px;margin-top:24px;box-shadow:0 -5px 24px #19365D08}.wizard-footer>p{flex:1;font-size:12px;color:#60717b;margin:0}.wizard-footer>div{display:flex;gap:10px}.wizard-footer #wizard-error{flex-basis:100%;color:#a32626}.wizard-footer #wizard-error:empty{display:none}.wizard-review-list{display:grid;gap:8px;margin:20px 0}.wizard-review-list button{display:flex;justify-content:space-between;gap:14px;text-align:left}.wizard-review-list strong{font-size:12px}.wizard-content .table-wrap{max-width:100%;overflow:auto}
@media(max-width:1100px){.wizard-layout{grid-template-columns:270px minmax(0,1fr);gap:16px}.wizard-step{flex-wrap:wrap}.wizard-step .wizard-status{margin-left:37px}.wizard-footer>p{display:none}}@media(max-width:760px){.wizard-layout{grid-template-columns:minmax(0,1fr)}.wizard-heading{align-items:flex-start;flex-wrap:wrap}.wizard-content{padding:16px}.wizard-step{flex-wrap:nowrap}.wizard-step .wizard-status{margin-left:0}.wizard-footer{padding:12px;gap:10px}.wizard-footer>div{flex:1;flex-wrap:wrap;justify-content:flex-end}.wizard-footer button{font-size:12px;padding:12px}.wizard-heading h1{font-size:25px}.wizard-step-heading h2{flex-wrap:wrap}}
