:root{font-family:Segoe UI,Arial,sans-serif;color:#172c4c;background:#f3f7fd;color-scheme:light}
*{box-sizing:border-box}body{margin:0}
header{display:flex;align-items:center;gap:16px;padding:24px 5vw;border-bottom:1px solid #dce6f4;background:#fff;box-shadow:0 3px 18px #234c8610}
.mark{background:#2563eb;color:#fff;font-weight:800;font-size:28px;border-radius:12px;padding:7px 16px;box-shadow:0 4px 12px #2563eb25}
small{display:block;color:#526783;margin-top:5px}#identity{margin-left:auto;color:#526783;overflow-wrap:anywhere}
main{max-width:1200px;margin:50px auto;padding:0 24px;min-height:65vh}.eyebrow{letter-spacing:3px;font-size:11px;font-weight:700;color:#245fc4}
h1{font-size:38px;letter-spacing:-1px;color:#153765}h2{font-size:22px;color:#193d70}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.card,form{background:#fff;border:1px solid #d9e4f3;padding:24px;border-radius:16px;margin-bottom:18px;box-shadow:0 6px 24px #24497d08}form{max-width:620px}
label{display:block;color:#354f70;margin:14px 0 6px;font-size:14px;font-weight:600}
input,select{width:100%;padding:12px;background:#f9fbff;color:#172c4c;border:1px solid #aabedb;border-radius:8px;font:inherit}
input:hover,select:hover{border-color:#648cc4}
button{border:1px solid #b8cff1;background:#edf4ff;color:#1e53a5;padding:11px 18px;border-radius:8px;cursor:pointer;font:inherit;font-weight:600;margin:8px 8px 0 0;transition:background .15s,border-color .15s}
form button{background:#2563eb;color:#fff;border:1px solid #2563eb}button:hover{background:#dfebff;border-color:#80a8e4}form button:hover{background:#1d4ed8;border-color:#1d4ed8}button:disabled{opacity:.6;cursor:wait}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3b82f6;outline-offset:3px}
#message{color:#9a4b09;min-height:20px;white-space:pre-wrap}
.badge{display:inline-block;font-size:12px;font-weight:600;color:#245fc4;background:#edf4ff;border:1px solid #d5e5fc;border-radius:20px;padding:5px 10px}
.muted{color:#526783;line-height:1.6}footer{padding:24px 5vw;color:#526783;border-top:1px solid #dce6f4;background:#fff}
table{border-collapse:collapse;width:100%;background:#fff}td,th{text-align:left;padding:12px;border-bottom:1px solid #dce6f4}th{background:#edf4ff;color:#193d70}
@media(max-width:600px){header{flex-wrap:wrap}#identity{margin-left:0}h1{font-size:29px}}
.brand-logo{display:block;width:48px;height:60px;object-fit:contain;flex-shrink:0}
.catalog-nav{display:flex;flex-wrap:wrap;gap:4px;margin:18px 0}.catalog-nav button.selected{background:#2563eb;color:#fff;border-color:#2563eb}.section-heading{display:flex;align-items:center;gap:16px}.catalog-form{max-width:none}.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px 20px}.table-scroll{overflow-x:auto;border:1px solid #d9e4f3;border-radius:12px;margin-top:16px}.table-scroll td{min-width:110px}.table-scroll td button{white-space:nowrap}.table-search{max-width:420px;margin-top:18px;background:#fff}.form-feedback{color:#9a4b09}.check-label{display:flex;align-items:center;gap:10px;font-weight:400}.check-label input{width:auto}.table-scroll tbody tr:hover{background:#f5f9ff}
.summary-panel{padding:16px 20px;border-left:4px solid #2563eb;border-radius:8px;background:#e8f1ff;color:#193d70;font-weight:600}
.schedule-toolbar{display:flex;flex-wrap:wrap;gap:18px;margin:20px 0}.schedule-toolbar>div{min-width:200px;flex:1}.schedule-grid{min-width:1100px;table-layout:fixed}.schedule-grid th{white-space:pre-line;vertical-align:top}.schedule-grid th:first-child{width:155px}.schedule-grid td{vertical-align:top;padding:8px}.schedule-grid td>button{padding:4px 10px}.lesson-card{background:#edf4ff;border:1px solid #bad0f2;border-left:4px solid #2563eb;padding:10px;border-radius:8px;margin-bottom:8px;font-size:13px;overflow-wrap:anywhere}.lesson-card strong{display:block;margin:8px 0}.lesson-card button{font-size:12px;padding:5px 8px}.lesson-extra{background:#effaf6;border-left-color:#23845c}.lesson-club{background:#f5efff;border-left-color:#8055bc}.lesson-conflict{border-color:#b84242;background:#fff3f2}.conflict-panel{padding:18px;border:1px solid #e0a6a0;background:#fff5f3;border-radius:10px;margin:18px 0;color:#8d2e25}.conflict-panel li{margin:7px 0}
.public-link{display:inline-block;color:#1d4ed8;padding:12px 0;font-weight:600}.public-day{margin:24px 0;background:white;border:1px solid #d9e4f3;border-radius:16px;padding:22px}.public-day h2{text-transform:capitalize;font-size:19px;margin-top:0}.public-lesson{display:flex;gap:24px;padding:16px 0;border-top:1px solid #e3ebf7}.public-lesson p{margin:8px 0}.public-time{min-width:105px;color:#245fc4;font-weight:700}.public-schedule main{max-width:800px;margin:28px auto}.public-schedule #class-select{max-width:300px;background:white}.public-schedule #public-status{color:#9a4b09}@media(max-width:500px){.public-lesson{gap:12px}.public-time{min-width:90px;font-size:13px}.public-day{padding:16px}.public-schedule main{padding:0 14px}.public-schedule h1{font-size:26px}}

.preparation-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 30px}
.preparation-stage{background:white;border:1px solid #d9e4f3;border-radius:14px;padding:18px;min-width:0}
.preparation-stage h3{margin:0;color:#193d70}.preparation-stage>p{min-height:44px;font-size:14px}
.preparation-link{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;margin:6px 0;padding:10px 12px;gap:5px;white-space:normal}
.preparation-link small{font-weight:400;font-size:12px}.preparation-link.state-filled{background:#effaf4;border-color:#a4d6b6;color:#185c36}
.preparation-link.state-partial{background:#fff8e7;border-color:#e5c46b;color:#765300}
.preparation-link.state-empty,.preparation-link.state-optional{background:#f5f7fb;color:#52637a;border-color:#d9e4f3}
.preparation-link.selected{outline:3px solid #2563eb;outline-offset:1px}.preparation-link:focus-visible{outline:3px solid #193d70;outline-offset:2px}
#preparation-year{max-width:360px}@media(max-width:850px){.preparation-stages{grid-template-columns:1fr}.preparation-stage>p{min-height:0}}

.automatic-panel{margin:20px 0;border:1px solid #b9d0ef;border-radius:14px;background:white;overflow:hidden}
.automatic-panel>summary{cursor:pointer;padding:18px;color:#193d70;font-weight:700;background:#e8f1ff}
.automatic-body{padding:20px}.automatic-body .catalog-form{max-width:none}.rule-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e1e9f5;padding:10px 0}.automatic-result{margin-top:20px}.automatic-result table{min-width:850px}

.warning-panel{margin:18px 0;padding:16px 20px;border:1px solid #e5c46b;border-radius:12px;background:#fff8e7;color:#765300}

.daily-panel{margin:20px 0;border:1px solid #b9d0ef;border-radius:14px;background:#fff;overflow:hidden}.daily-panel>summary{cursor:pointer;padding:18px;color:#193d70;font-weight:700;background:#e8f1ff}.daily-body{padding:20px}.daily-lesson{border:1px solid #d9e4f3;border-radius:10px;padding:16px;margin:12px 0;background:#f9fbff}.daily-changed,.public-changed{background:#fff8e7;border-left:4px solid #d49b1b}.daily-cancelled,.public-cancelled{background:#fff1f0;border-left:4px solid #c4564b}.public-changed{padding:16px 12px;border-radius:8px;margin-top:8px}.change-label{font-size:13px;color:#765300;font-weight:600}.public-cancelled .change-label{color:#8d2e25}.daily-body .rule-row{flex-wrap:wrap}

.optional-students{margin:18px 0;padding:16px;background:#f5f7fb;border:1px solid #d9e4f3;border-radius:12px}.optional-students>summary{cursor:pointer;color:#526783;font-weight:600}
.public-schedule header{background:#123564;color:#fff;padding:18px max(24px,calc((100vw - 1180px)/2));box-shadow:none}.public-schedule header small{color:#dbe8fa;font-size:16px;font-weight:700}.public-schedule header strong{font-size:14px;font-weight:400}.public-schedule main{max-width:1180px;margin:34px auto;padding:0 24px}.public-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px}.public-heading h1{font-size:32px;margin:14px 0 24px}.public-heading p{color:#526783;font-size:14px}.public-controls{display:flex;gap:32px;align-items:flex-end;background:#fff;border:1px solid #d9e4f3;border-radius:16px;padding:18px 20px;box-shadow:0 3px 14px #24497d08}.public-controls label,.public-controls .control-label{display:block;margin:0 0 8px;color:#354f70;font-size:14px;font-weight:600}.public-class-control{width:130px;flex-shrink:0}.public-days-control{flex:1}.public-search-control{width:300px}.public-controls input,.public-controls select{background:#fff;padding:10px 12px}.public-controls #day-tabs{display:flex;gap:6px;flex-wrap:wrap}.public-controls #day-tabs button{margin:0;border:1px solid #aabedb;border-radius:9px;padding:8px 11px;font-size:14px;font-weight:500;background:#fff;color:#354f70}.public-controls #day-tabs button.active{background:#2563eb;border-color:#2563eb;color:white}.public-controls #day-tabs button.is-today:not(.active){border-color:#2563eb;box-shadow:inset 0 -3px #2563eb}.public-day-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0 16px}.public-day-heading h2{margin:0;font-size:22px}.public-date{font-size:14px;color:#526783}.public-lesson-row{display:grid;grid-template-columns:86px 145px minmax(0,1fr);background:#fff;border:1px solid #d9e4f3;border-radius:15px;overflow:hidden;margin:12px 0;min-height:76px;box-shadow:0 4px 16px #24497d08}.public-number{background:#2563eb;color:white;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:12px 6px}.public-number strong{font-size:29px;line-height:1.15}.public-number small{font-size:11px;font-weight:700;color:#e6efff;margin-top:5px}.public-clock{padding:20px 14px;display:flex;align-items:center;color:#354f70;font-size:14px;font-weight:600;border-right:1px solid #eef2f8;white-space:nowrap}.public-lesson-info{padding:20px;min-width:0;align-self:center}.public-lesson-line{display:flex;align-items:baseline;gap:12px 20px;flex-wrap:wrap}.public-subject{font-size:17px;color:#172c4c}.public-teacher{font-size:15px;color:#354f70}.public-room{font-size:13px;font-weight:600;color:#1e53a5;background:#edf4ff;padding:4px 8px;border-radius:6px}.public-group{margin-top:9px}.public-lesson-info .change-label{margin:10px 0 0}.public-row-changed{background:#fff8e7;border-color:#e5c46b}.public-row-changed .public-number{background:#b67b0d}.public-row-cancelled{background:#fff1f0;border-color:#d8a7a1}.public-row-cancelled .public-number{background:#b84242}.public-row-cancelled .change-label{color:#8d2e25}.public-kind{color:#586192}.public-empty{background:#fff;border:1px solid #d9e4f3;border-radius:12px;padding:24px;color:#526783}.public-schedule #updated{margin-top:24px;line-height:1.6}.public-schedule #public-status:empty{display:none}
@media(max-width:900px){.public-controls{flex-wrap:wrap;gap:18px}.public-search-control{width:100%}.public-heading{display:block}.public-heading h1{margin-bottom:8px}.public-heading p{margin-bottom:20px}}
@media(max-width:550px){.public-schedule header{padding:14px 16px}.public-schedule main{padding:0 12px;margin:20px auto}.public-heading h1{font-size:27px}.public-controls{padding:14px;gap:16px}.public-class-control{width:100%}.public-schedule #class-select{max-width:none}.public-days-control{flex-basis:100%}.public-controls #day-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.public-controls #day-tabs button{padding:9px 3px}.public-lesson-row{grid-template-columns:58px minmax(0,1fr);min-height:100px}.public-number{grid-row:1/3}.public-number strong{font-size:25px}.public-clock{grid-column:2;padding:12px 14px 0;border:0;align-items:flex-start}.public-lesson-info{grid-column:2;padding:10px 14px 14px}.public-lesson-line{gap:8px;display:block}.public-subject,.public-teacher{display:block;margin-bottom:8px}.public-room{display:inline-block}.public-day-heading{gap:8px}.public-day-heading h2{font-size:20px}}

.lesson-movable{cursor:grab}.lesson-movable:active{cursor:grabbing}.drag-handle{display:block;width:100%;text-align:left;background:#fff;border:1px dashed #8caedf!important;color:#245fc4!important;touch-action:none;user-select:none}.drag-handle:disabled{cursor:default;color:#526783!important}.lesson-dragging{opacity:.5;outline:2px solid #2563eb}.schedule-grid td.drop-ready{background:#f3f8ff}.schedule-grid td.drop-over{background:#dceaff;box-shadow:inset 0 0 0 3px #2563eb}.schedule-grid td:focus-visible{outline:3px solid #2563eb;outline-offset:-3px}.drag-status{padding:12px 16px;color:#193d70;background:#e8f1ff;border-radius:10px;line-height:1.5}

.schedule-scroll{max-height:72vh;overflow:auto;scroll-behavior:auto}.schedule-grid thead th{position:sticky;top:0;z-index:2}.schedule-grid tbody th:first-child{position:sticky;left:0;z-index:1}.schedule-grid thead th:first-child{left:0;z-index:3}
.swap-dialog{max-width:620px;width:calc(100% - 48px);max-height:85vh;overflow:auto;border:1px solid #bdd4ef;border-radius:16px;padding:24px;color:#17365d}.swap-dialog::backdrop{background:rgba(18,42,75,.4)}.swap-dialog button{margin:8px 8px 0 0}.swap-dialog select{width:100%}
.matrix-editor{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;margin-top:20px}.matrix-editor>.drag-status{grid-column:1/-1}.matrix-board{min-width:0}.matrix-scroll{overflow:auto;max-height:75vh;border:1px solid #bed3eb;border-radius:10px}.matrix-table{width:max-content;border-collapse:separate;border-spacing:0;font-size:12px}.matrix-table th,.matrix-table td{border-right:1px solid #d4e0ec;border-bottom:1px solid #d4e0ec;padding:5px;min-width:210px;max-width:260px;vertical-align:top}.matrix-table thead th{position:sticky;top:0;background:#edf5ff;z-index:3}.matrix-table th:first-child{min-width:90px}.matrix-table th:nth-child(2){min-width:140px}.matrix-day{background:#edf5ff}.matrix-selected{background:#bcd9ff!important}.matrix-table .matrix-allowed{background:#e6f5ec}.matrix-table .matrix-blocked{background:#ffe7e7}.matrix-table button{font-size:12px;padding:5px;margin:2px;white-space:normal;text-align:left}.matrix-lesson{display:block;width:100%;color:#143e72;background:#fff;border:1px solid #c6d7ed}.matrix-side{background:#f5f9ff;border:1px solid #c8daf0;border-radius:12px;padding:14px;max-height:75vh;overflow:auto}.matrix-side label{display:block;margin-bottom:12px}.matrix-side select{width:100%;margin-top:5px}.matrix-reasons{font-size:13px}.matrix-reasons .check-label{display:flex}@media(max-width:900px){.matrix-editor{grid-template-columns:1fr}.matrix-side{grid-row:2;max-height:none}.matrix-scroll{max-height:65vh}}
/* The right pane follows the reference: lessons above, class selection below. */
.matrix-editor{grid-template-columns:minmax(0,1fr) minmax(380px,38%)}.matrix-side{display:grid;grid-template-rows:minmax(230px,1.25fr) minmax(190px,1fr);gap:12px;padding:0;background:transparent;border:0;overflow:hidden;height:75vh;max-height:75vh}.matrix-upper,.matrix-lower{min-height:0;overflow:auto;padding:12px;background:#fff;border:1px solid #c8daf0;border-radius:8px}.matrix-upper h3,.matrix-lower h3{font-size:14px;margin:0 0 10px;color:#244b78}.matrix-activity-list{max-height:32vh;overflow:auto}.matrix-picker-table{width:100%;border-collapse:collapse;font-size:13px}.matrix-picker-table th{background:#edf5ff;text-align:left;padding:7px;position:sticky;top:0}.matrix-picker-table td{padding:5px 7px;border-bottom:1px solid #d9e5f2}.matrix-picker-table button{display:block;background:transparent;border:0;color:#17365d;text-align:left;font-size:13px;margin:0;padding:4px;width:100%;border-radius:3px}.matrix-picker-table tr{cursor:pointer}.matrix-picker-selected td{background:#d7e8ff}.matrix-picker-selected button{font-weight:700}.matrix-upper>label{margin-top:10px}.matrix-lower .matrix-picker-table th:last-child,.matrix-lower .matrix-picker-table td:last-child{width:80px;text-align:right}@media(max-width:900px){.matrix-editor{grid-template-columns:1fr}.matrix-side{height:auto;max-height:none;grid-template-rows:minmax(230px,auto) 240px}.matrix-upper{max-height:60vh}.matrix-lower{max-height:240px}}
.public-bell-notice{background:#edf5ff;border:1px solid #b6d4f4;border-left:5px solid #2872bd;border-radius:10px;padding:14px 18px;margin:14px 0;color:#163e70}.public-bell-notice strong{font-size:17px}.public-bell-notice p{margin:6px 0}.public-bell-notice small{display:block;line-height:1.5}
.draft-resource-picker{display:flex;flex-wrap:wrap;gap:8px 18px;max-height:180px;overflow:auto;margin:14px 0}.draft-resource-picker label{margin:0}.draft-preview-table{min-width:1100px;width:100%}.draft-preview-table td{min-width:145px;vertical-align:top}.draft-preview-table article{padding:7px;border:1px solid #d8e5f2;border-radius:6px;margin-bottom:5px}.draft-preview-table p{font-size:12px;margin:5px 0}
.draft-preview-table .draft-window{background:#fff6dc;color:#795719;border:1px solid #ead5a2}
.schedule-steps{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;padding:12px;background:#edf5ff;border:1px solid #c8daf0;border-radius:12px}.schedule-steps button{margin:0}.schedule-steps [aria-current=step]{background:#1f65b4;color:white;border-color:#1f65b4}.schedule-stage{border:1px solid #d4e2f2;border-radius:12px;padding:18px;background:white}.schedule-stage>h3{margin-top:0}.schedule-notices{margin-top:24px}.schedule-stage[hidden]{display:none!important}

body:not(.public-schedule) main{max-width:1600px;width:100%;padding-inline:clamp(12px,2vw,32px)}
body[data-layout-mode="fluid"]:not(.public-schedule) main{max-width:none}
body[data-layout-mode="fixed"][data-layout-width="1200"]:not(.public-schedule) main{max-width:1200px}
body[data-layout-mode="fixed"][data-layout-width="1440"]:not(.public-schedule) main{max-width:1440px}
body[data-layout-mode="fixed"][data-layout-width="1600"]:not(.public-schedule) main{max-width:1600px}
body[data-layout-mode="fixed"][data-layout-width="1920"]:not(.public-schedule) main{max-width:1920px}
@media(max-width:700px){header{flex-wrap:wrap;gap:10px;padding:16px}#identity{flex-basis:100%;margin-left:0}}

textarea{width:100%;padding:12px;border:1px solid #aabedb;border-radius:8px;font:inherit;resize:vertical;background:#f9fbff;color:#172c4c}.ai-outgoing{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#edf4ff}.ai-panel{margin:16px 0}.ai-panel summary{cursor:pointer;font-weight:600}

/* Step-by-step scheduling workspace */
main:has(.schedule-workspace){margin-top:26px}main:has(.schedule-workspace)>h1{font-size:28px;margin-bottom:12px}
.schedule-workspace{color:#173454}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0 12px}.workspace-heading h2{margin:0;font-size:26px}.workspace-draft{padding:6px 10px;color:#2467d7;background:#edf4ff;border-radius:6px;font-size:13px}
.workspace-period{display:flex;justify-content:flex-end;gap:12px}.workspace-period>div{min-width:240px}.workspace-period label{margin-top:0;font-size:12px}.workspace-period select{padding:8px 10px;background:white}
.schedule-workspace .schedule-steps{align-items:center;gap:7px;background:white;border:0;border-bottom:1px solid #dce5f0;border-radius:0;padding:14px 0;margin:10px 0 20px}.schedule-workspace .schedule-steps>button{background:transparent;border-color:transparent;color:#60738d;padding:10px 14px;font-size:14px}.schedule-workspace .schedule-steps>button[aria-current=step]{background:#edf4ff;color:#2467d7;border-color:#c2d7f7}.schedule-workspace .schedule-stage{background:transparent;border:0;padding:0;border-radius:0}.schedule-workspace .schedule-stage-heading{font-size:22px;margin:0 0 12px}.schedule-workspace [data-stage=compose]>.schedule-stage-heading,.schedule-workspace [data-stage=compose]>p.muted:first-of-type{display:none}
.schedule-extra-menu{margin-left:auto;position:relative}.schedule-extra-menu>summary{padding:10px 12px;color:#315b92;cursor:pointer;list-style:none;font-size:14px;border:1px solid #dce5f0;border-radius:7px;background:white}.schedule-extra-menu>summary::after{content:' ▾'}.schedule-extra-actions{position:absolute;right:0;top:100%;padding:8px;background:#fff;box-shadow:0 10px 32px #17345425;border:1px solid #dce5f0;border-radius:8px;min-width:230px;z-index:30}.schedule-extra-actions button{display:block;text-align:left;width:100%;margin:0;padding:11px 12px;border:0;background:transparent}.schedule-extra-actions button:hover{background:#edf4ff}
.workspace-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:14px}.workspace-actions button{margin:0;font-size:13px;padding:9px 12px;background:white}.workspace-actions .workspace-primary{order:-1;background:#2467d7;color:white;border-color:#2467d7}.workspace-actions .workspace-primary:hover{background:#1858bd}.workspace-modes,.workspace-subtabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:14px}.workspace-modes button,.workspace-subtabs button{margin:0;background:transparent;border-color:transparent;color:#65788f;font-size:13px;padding:8px 12px}.workspace-modes button[aria-pressed=true],.workspace-subtabs button[aria-pressed=true]{background:#e7f0ff;color:#1d5fc7;border-color:#bfd4f4}.workspace-modes{border-bottom:1px solid #dce5f0;padding-bottom:9px}
.schedule-workspace .schedule-toolbar{margin:10px 0 16px;gap:12px;max-width:760px}.schedule-workspace .schedule-toolbar>div{min-width:180px}.schedule-workspace .schedule-toolbar label{font-size:12px;margin-top:0}.schedule-workspace .schedule-toolbar select{background:white;padding:9px 10px}
.workspace-next{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:10px 14px;border-radius:8px;background:#edf4ff;color:#315b92;font-size:13px;margin:0 0 14px}.workspace-next button{margin:0;padding:4px 6px;background:transparent;border:0;color:#2467d7;font-size:13px;white-space:nowrap}.workspace-health{font-size:13px;color:#315b72;margin:8px 0 14px}
.schedule-manual-workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}.schedule-board{min-width:0}.schedule-inspector{min-width:0;background:white;border:1px solid #dce5f0;border-radius:12px;padding:18px;position:sticky;top:16px}.schedule-inspector>h3{font-size:16px;margin:0 0 12px}.schedule-inspector>p{font-size:13px;color:#64768d}.schedule-inspector .catalog-form{padding:0;border:0;box-shadow:none;margin:0}.schedule-inspector .field-grid{display:grid;grid-template-columns:1fr;gap:0}.schedule-inspector h3{font-size:16px;margin:0 0 14px}.schedule-inspector label{font-size:12px}.schedule-inspector input,.schedule-inspector select{font-size:13px;padding:9px;max-width:100%}.schedule-inspector button{font-size:13px;padding:9px 11px}.schedule-inspector .check-label{font-size:12px;margin:15px 0}.schedule-inspector .check-label input{flex:0 0 auto}
.schedule-workspace .schedule-scroll{margin-top:0;background:#fff;border-color:#dce5f0}.schedule-workspace .schedule-grid{min-width:660px;table-layout:fixed}.schedule-workspace .schedule-grid th:first-child{width:105px}.schedule-workspace .schedule-grid th{font-size:12px;background:#f6f9fd;padding:10px 6px}.schedule-workspace .schedule-grid td{padding:5px;background:#fff;vertical-align:top}.schedule-workspace .lesson-card{padding:9px;border-radius:7px;border-left-width:3px;font-size:12px;margin-bottom:5px}.schedule-workspace .lesson-card strong{font-size:13px;margin:5px 0}.schedule-workspace .lesson-card small{font-size:11px}.schedule-workspace .lesson-card button{font-size:11px;padding:4px 6px;margin:6px 3px 0 0}.schedule-workspace .lesson-card div{color:#4a6484}.schedule-workspace .drag-status{font-size:12px;color:#64768d;margin:0 0 10px}.schedule-workspace .lesson-card:has(.drag-handle):hover{box-shadow:0 2px 9px #2467d715}
.workspace-auto-panel{margin:0 0 16px;border:1px solid #c2d7f7;border-radius:10px;background:white}.workspace-auto-panel:not([open]){display:none}.workspace-auto-panel>summary,.workspace-flat-panel>summary{display:none}.workspace-flat-panel{border:0!important;background:transparent!important;margin:0!important}.schedule-settings>.ai-panel{background:white;border:1px solid #dce5f0;padding:15px;border-radius:10px}.schedule-settings>.catalog-form{background:white}.schedule-workspace .workspace-flat-panel>.automatic-body,.schedule-workspace .workspace-flat-panel>.daily-body{padding:0}.schedule-workspace .draft-resource-picker{max-height:180px}.daily-workspace>[hidden]{display:none!important}
.schedule-workspace .schedule-notices{border-top:1px solid #dce5f0;padding-top:16px;margin-top:24px}.schedule-notices>summary{cursor:pointer;color:#315b72;font-size:14px;padding:8px 0;font-weight:600}.schedule-notices .summary-panel,.schedule-notices .conflict-panel{font-size:13px}.schedule-workspace .schedule-stage[hidden],.schedule-workspace .schedule-settings[hidden]{display:none!important}
@media(min-width:1500px){.schedule-manual-workspace{grid-template-columns:minmax(0,1fr) 320px}.schedule-workspace .schedule-grid{min-width:780px}.schedule-workspace .lesson-card{padding:12px;font-size:13px}}
@media(max-width:1050px){.schedule-manual-workspace{grid-template-columns:minmax(0,1fr)}.schedule-inspector{position:static}.schedule-inspector .field-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:0 16px}}
@media(max-width:650px){.workspace-period{justify-content:flex-start}.workspace-period>div{min-width:0;width:100%}.schedule-extra-menu{margin-left:0}.schedule-extra-actions{position:static;box-shadow:none;min-width:0}.schedule-workspace .schedule-steps{gap:3px}.schedule-workspace .schedule-steps>button{padding:8px;font-size:12px}.workspace-heading h2{font-size:23px}.workspace-actions button{font-size:12px}.schedule-inspector .field-grid{grid-template-columns:1fr}.workspace-next{gap:6px}}

.schedule-workspace .schedule-grid td.workspace-free{background:#eaf7ef}.schedule-workspace .schedule-grid td.workspace-blocked{background:#fff0f0}.schedule-workspace .lesson-card.lesson-selected{border-color:#2467d7;box-shadow:0 0 0 1px #2467d7}
body:has(.schedule-workspace)>header{padding:12px 2vw}body:has(.schedule-workspace)>header .brand-logo{width:36px;height:45px}
main:has(.schedule-workspace){margin-top:18px}main:has(.schedule-workspace)>.eyebrow{display:none}main:has(.schedule-workspace)>h1{font-size:23px;margin:10px 0}main:has(.schedule-workspace)>#message:empty{display:none}
#content:has(.schedule-workspace)>button{margin:0;padding:4px 0;border:0;background:transparent;font-size:12px}
.schedule-workspace .workspace-heading{margin:12px 0;display:grid;grid-template-columns:1fr auto auto}.workspace-heading .workspace-period{margin-left:15px}.workspace-heading .workspace-period label{display:none}.workspace-heading .workspace-period select{font-size:13px}.workspace-heading h2{font-size:23px}
.schedule-workspace .schedule-steps{padding:10px 0;margin:8px 0 14px}.schedule-workspace .schedule-toolbar{max-width:none;align-items:flex-end;gap:10px;margin:8px 0 12px}.schedule-workspace .schedule-toolbar>div{min-width:170px;flex:0 1 230px}.schedule-workspace .schedule-toolbar .workspace-modes{min-width:0;flex:1;justify-content:flex-end;gap:2px;border:0;padding:0;margin:0}.schedule-workspace .workspace-next{padding:8px 12px;margin-bottom:8px}.schedule-workspace .workspace-health{margin:5px 0 10px}.schedule-workspace .drag-status{padding:7px 10px}
.schedule-workspace .lesson-self-class>small:first-child,.schedule-workspace .lesson-card>small:last-of-type{display:none}.schedule-workspace .lesson-card .drag-handle{display:inline-flex;width:auto}.schedule-workspace .lesson-card strong{margin:2px 0 5px}.schedule-workspace .lesson-card div{font-size:12px}.schedule-inspector form>p.muted{font-size:12px}
@media(max-width:700px){.schedule-workspace .workspace-heading{display:flex}.workspace-heading .workspace-period{margin-left:0;width:100%}.schedule-workspace .schedule-toolbar .workspace-modes{flex-basis:100%;justify-content:flex-start}.schedule-workspace .schedule-toolbar>div{flex:1;min-width:130px}}

.schedule-inspector form button[type=button]{background:white;color:#315b92;border-color:#c8d8ed}.schedule-inspector form button[type=button]:hover{background:#edf4ff}

.workspace-view-switch{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 16px;padding:12px 14px;border:1px solid #c9dcf7;border-radius:9px;background:white}.workspace-view-switch>strong{font-size:13px;color:#315b72}.workspace-view-switch .workspace-modes{margin:0;padding:0;border:0}.workspace-view-switch>span{font-size:12px;flex-basis:100%}.workspace-view-switch .workspace-modes button{border:1px solid #d4e2f5;background:#f6f9fe}.workspace-view-switch .workspace-modes button[aria-pressed=true]{background:#2467d7;color:white;border-color:#2467d7}

.matrix-unplace-zone{margin-top:16px;padding:14px;border:2px dashed #8baed0;border-radius:10px;background:#f1f7ff;color:#234d75}.matrix-unplace-zone p{margin:6px 0}.matrix-lesson[draggable=true],.matrix-activity-list [draggable=true]{cursor:grab}.matrix-lesson[draggable=true]:active,.matrix-activity-list [draggable=true]:active{cursor:grabbing}

/* Readable schedule tables follow the actual profile-constrained workspace width. */
.schedule-workspace{container-type:inline-size;min-width:0;font-size:16px;line-height:1.5}
.schedule-workspace .schedule-manual-workspace{grid-template-columns:minmax(0,1fr) minmax(280px,310px)}
.schedule-workspace .schedule-grid{width:100%;min-width:1080px;table-layout:fixed;border-collapse:separate;border-spacing:0}
.schedule-workspace .schedule-grid th:first-child{width:112px}
.schedule-workspace .schedule-grid th{font-size:15px;line-height:1.5;padding:14px 9px;font-weight:600}
.schedule-workspace .schedule-grid td{padding:8px;min-height:100px}
.schedule-workspace .lesson-card{font-size:16px;line-height:1.5;padding:13px;margin-bottom:10px;border-radius:9px;overflow-wrap:break-word}
.schedule-workspace .lesson-card strong{font-size:18px;line-height:1.4;margin:9px 0;font-weight:650}
.schedule-workspace .lesson-card small{font-size:14px;line-height:1.5}
.schedule-workspace .lesson-card button{font-size:14px;line-height:1.4;padding:9px 10px;min-height:38px}
.schedule-workspace .drag-status{font-size:15px;line-height:1.5;padding:12px 15px}
.schedule-workspace .schedule-scroll,.schedule-workspace .matrix-scroll{max-height:78vh;overscroll-behavior:contain;scrollbar-gutter:stable}
.schedule-workspace .schedule-inspector{padding:18px}
.schedule-workspace .schedule-inspector label,.schedule-workspace .schedule-inspector .check-label{font-size:15px;line-height:1.5}
.schedule-workspace .schedule-inspector input,.schedule-workspace .schedule-inspector select,.schedule-workspace .schedule-inspector button{font-size:16px;line-height:1.4;min-height:42px}
.schedule-workspace .schedule-inspector input[type=checkbox]{min-height:0}
.schedule-workspace .schedule-inspector>p{font-size:15px}
.schedule-workspace .matrix-editor{grid-template-columns:minmax(0,1fr) minmax(310px,34%);gap:18px;align-items:start}
.schedule-workspace .matrix-table{width:100%;min-width:550px;font-size:16px;table-layout:fixed}
.schedule-workspace .matrix-table th,.schedule-workspace .matrix-table td{min-width:0;max-width:none;padding:10px;line-height:1.5;overflow-wrap:break-word}
.schedule-workspace .matrix-table thead th:first-child{width:112px}
.schedule-workspace .matrix-table thead th:nth-child(2){width:170px}
.schedule-workspace .matrix-table th:first-child{min-width:0}
.schedule-workspace .matrix-table th:nth-child(2){min-width:0}
.schedule-workspace .matrix-table button{font-size:16px;line-height:1.5;padding:11px;margin:3px 0;min-height:42px}
.schedule-workspace .matrix-lesson{padding:14px!important;border-radius:8px;text-align:left;white-space:normal}
.schedule-workspace .matrix-lesson strong{display:block;font-size:18px;font-weight:650;line-height:1.4;margin-bottom:7px}
.schedule-workspace .matrix-lesson-teacher{display:block;font-size:16px;color:#355675;line-height:1.5}
.schedule-workspace .matrix-lesson-room{display:block;margin-top:7px;font-size:15px;font-weight:500;color:#215d99}
.schedule-workspace .matrix-day{font-weight:600;color:#244c75}
.schedule-workspace .matrix-side{height:78vh;max-height:78vh;grid-template-rows:minmax(260px,1.2fr) minmax(220px,1fr)}
.schedule-workspace .matrix-upper,.schedule-workspace .matrix-lower{padding:15px}
.schedule-workspace .matrix-upper h3,.schedule-workspace .matrix-lower h3{font-size:18px;line-height:1.4;margin-bottom:13px}
.schedule-workspace .matrix-picker-table{font-size:16px;line-height:1.5;table-layout:auto}
.schedule-workspace .matrix-picker-table th,.schedule-workspace .matrix-picker-table td{padding:10px 8px;overflow-wrap:break-word}
.schedule-workspace .matrix-picker-table button{font-size:16px;line-height:1.5;padding:7px 4px;min-height:40px}
.schedule-workspace .matrix-side label,.schedule-workspace .matrix-reasons{font-size:15px;line-height:1.5}
.schedule-workspace .matrix-side select{font-size:16px;min-height:42px}
.schedule-workspace .matrix-activity-list{max-height:38vh}
.schedule-workspace .matrix-lower .matrix-picker-table th:last-child,.schedule-workspace .matrix-lower .matrix-picker-table td:last-child{width:95px}
@container(max-width:1100px){.schedule-workspace .schedule-manual-workspace{grid-template-columns:minmax(0,1fr)}.schedule-workspace .schedule-inspector{position:static}.schedule-workspace .schedule-inspector .field-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 16px}}
@container(max-width:880px){.schedule-workspace .matrix-editor{grid-template-columns:minmax(0,1fr)}.schedule-workspace .matrix-side{height:auto;max-height:none;grid-template-columns:minmax(0,1fr) minmax(240px,.8fr);grid-template-rows:auto;grid-row:auto}.schedule-workspace .matrix-upper,.schedule-workspace .matrix-lower{max-height:65vh}.schedule-workspace .matrix-table{min-width:520px}.schedule-workspace .matrix-table thead th:first-child{width:100px}.schedule-workspace .matrix-table thead th:nth-child(2){width:150px}}
@container(max-width:580px){.schedule-workspace .matrix-side{grid-template-columns:minmax(0,1fr)}.schedule-workspace .matrix-upper,.schedule-workspace .matrix-lower{max-height:60vh}.schedule-workspace .schedule-scroll,.schedule-workspace .matrix-scroll{max-height:75vh}}
@media(pointer:coarse){.schedule-workspace .matrix-picker-table button,.schedule-workspace .lesson-card button,.schedule-workspace .matrix-table button{min-height:44px}}

/* Compact single-line lesson content; time remains two distinct readable lines. */
.schedule-workspace .matrix-table{width:max-content;min-width:100%;table-layout:auto}
.schedule-workspace .matrix-table th,.schedule-workspace .matrix-table td{padding:6px 8px}
.schedule-workspace .matrix-table thead th:first-child{width:105px;min-width:105px}
.schedule-workspace .matrix-table thead th:nth-child(2){width:165px;min-width:165px}
.schedule-workspace .matrix-table .matrix-lesson{display:flex;flex-wrap:nowrap;align-items:center;gap:7px;white-space:nowrap;width:100%;min-height:40px;padding:6px 8px!important;margin:2px 0;line-height:1.4}
.schedule-workspace .matrix-lesson strong{display:inline-block;font-size:16px;line-height:1.4;font-weight:600;margin:0;padding:4px 7px;background:#e7f0ff;color:#214f88;border-radius:5px;white-space:nowrap}
.schedule-workspace .matrix-lesson-teacher{display:inline;font-size:16px;line-height:1.4;white-space:nowrap}
.schedule-workspace .matrix-lesson-room{display:inline-block;font-size:15px;line-height:1.4;margin:0;padding:4px 7px;background:#e6f5ed;color:#246246;border-radius:5px;white-space:nowrap}
.schedule-workspace .matrix-lesson-separator{color:#8092a5;font-size:15px}
.schedule-workspace .matrix-time-cell{white-space:nowrap;vertical-align:middle;font-weight:400}
.schedule-workspace .matrix-time-number,.schedule-workspace .matrix-time-range{display:block;font-size:14px;line-height:1.45;white-space:nowrap;padding:3px 6px;border-radius:4px}
.schedule-workspace .matrix-time-number{background:#e8f0fc;color:#244f81;font-weight:600}
.schedule-workspace .matrix-time-range{background:#f0f3f7;color:#475c75;margin-top:4px;font-variant-numeric:tabular-nums}
.schedule-workspace .matrix-table td>small{font-size:13px;margin:3px 0}
.schedule-workspace .matrix-table td>button:not(.matrix-lesson){font-size:14px;padding:5px 8px;min-height:32px}
.schedule-workspace .matrix-table td>button.matrix-occupancy-details{display:block;width:100%;border:0;background:transparent;color:#8a352d;text-align:left;white-space:normal;font-size:14px;line-height:1.5;padding:5px 2px;box-shadow:none;margin:0;overflow-wrap:anywhere}
.schedule-workspace .matrix-table td>button.matrix-occupancy-details:hover:not(:disabled){background:#fff3ef;text-decoration:underline}
.schedule-workspace .matrix-table td>button.matrix-occupancy-details:disabled{opacity:1;cursor:default;color:#8a352d}

/* Approved occupancy cards: same single-line content as an ordinary lesson. */
.schedule-workspace .matrix-table .matrix-lesson{background:#fff}
.schedule-workspace .matrix-table .matrix-lesson-busy{background:#ffeded;border-color:#e9b6b2}
.schedule-workspace .matrix-occupied-label{display:inline;font-size:14px;font-weight:600;color:#973e35;white-space:nowrap}
.schedule-workspace .matrix-table .matrix-external-lesson:disabled{opacity:1;color:#143e72;cursor:default}

/* Keep sticky table headings inside their own scroll panes, below the editor. */
.schedule-workspace .matrix-editor,.schedule-workspace .schedule-board{position:relative;isolation:isolate;z-index:0}
.schedule-workspace .matrix-scroll,.schedule-workspace .matrix-upper,.schedule-workspace .matrix-lower,.schedule-workspace .matrix-activity-list,.schedule-workspace .schedule-scroll{position:relative;isolation:isolate}
.schedule-workspace .schedule-inspector{z-index:5;max-height:calc(100dvh - 32px);overflow-y:auto;scrollbar-gutter:stable}
.schedule-workspace .schedule-stage>.schedule-inspector{position:relative;top:auto;max-height:none;overflow:visible;scrollbar-gutter:auto;margin-bottom:16px}

.schedule-workspace .matrix-lesson-row{display:flex;align-items:center;gap:8px;min-width:0;width:100%}
.schedule-workspace .matrix-lesson-row>.matrix-lesson{flex:1 1 auto;width:auto;min-width:0}
.schedule-workspace .matrix-table .matrix-remove-lesson{flex:0 0 36px;align-self:center;display:inline-flex;align-items:center;justify-content:center;margin:0 0 0 auto;padding:5px;width:36px;min-height:36px;border:1px solid #e1e7ef;border-radius:6px;background:#fff;color:#9b3d35;font-size:19px;line-height:1;cursor:pointer}
.schedule-workspace .matrix-table .matrix-remove-lesson:hover{background:#fff0ee;border-color:#dfa9a3}
@media(pointer:coarse){.schedule-workspace .matrix-table .matrix-remove-lesson{flex-basis:44px;width:44px;min-height:44px}}

.schedule-workspace .matrix-table .matrix-extra{background:#f3efff;border-color:#c5b6eb}
.schedule-workspace .matrix-table .matrix-extra strong{background:#e7ddfb;color:#5c3a90}
.schedule-workspace .matrix-table .matrix-extra.matrix-lesson-busy{background:#ffeded;border-color:#e9b6b2}

.matrix-lesson.matrix-extra,.draft-preview-table .draft-extra{background:#f3efff;border-color:#c5b6eb}

.class-multiselect{border:1px solid #adc4e9;border-radius:8px;background:#f8faff;padding:12px}.class-multiselect summary{cursor:pointer;color:#154d8c}.class-multiselect-list{max-height:260px;overflow:auto;margin-top:10px;display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:6px}.class-multiselect .check-label{margin:0;padding:6px}.class-multiselect button{margin:8px 5px 0 0}

.import-subject-row{padding:18px;margin:12px 0;border:1px solid #d4e1f3;border-radius:12px;background:#fff;min-width:0}.import-subject-row>strong{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.import-subject-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:12px;align-items:start}.import-subject-controls>div,.import-extra-fields>div{min-width:0}.import-subject-row label{display:block;margin:0 0 7px;line-height:1.4}.import-subject-row select,.import-subject-row textarea{width:100%;max-width:100%;box-sizing:border-box;font:inherit;font-size:16px;line-height:1.4}.import-subject-row select{min-height:54px}.import-subject-row textarea{min-height:54px;padding:10px 12px;resize:vertical;border:1px solid #a8c1e8;border-radius:8px;background:#f8faff;color:#173b69}.import-subject-row details{margin-top:14px;border-top:1px solid #e3ebf7;padding-top:12px}.import-subject-row summary{cursor:pointer;line-height:1.5}.import-extra-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:12px}.catalog-form .table-scroll input[type=number]{min-width:100px}@media(max-width:760px){.import-subject-controls,.import-extra-fields{grid-template-columns:minmax(0,1fr)}.import-subject-row{padding:14px}}

.catalog-trash-button{display:inline-flex;align-items:center;justify-content:center;margin-left:10px;margin-right:0;padding:8px;color:#b23c38;background:#fff4f3;border:1px solid #efc7c3}.catalog-trash-button:hover{background:#ffe3df}.catalog-delete-dialog{max-width:620px;width:calc(100% - 40px);border:1px solid #bfd2ef;border-radius:16px;padding:24px;color:#173b69}.catalog-delete-dialog::backdrop{background:rgba(15,35,65,.4)}.catalog-delete-dialog button{margin-right:10px}.catalog-delete-dialog [role=status]{color:#b23c38}

.import-subject-controls select,.import-subject-controls textarea{height:66px;min-height:66px}

.public-row-extra:not(.public-row-changed):not(.public-row-cancelled) .public-number{background:#7952b3}.public-row-extra .public-number small{color:#fff}.public-row-extra .public-kind{color:#684395}

.public-row-changed .public-number{background:#c83d45}.public-row-changed .public-number small{color:#fff}
.school-hub{margin-top:8px;--hub-gap:20px}.hub-workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:var(--hub-gap);align-items:stretch}.hub-schedule,.hub-module{background:#fff;border:1px solid #dfe7f3;border-radius:16px;min-width:0}.hub-schedule{padding:26px}.hub-heading{display:flex;gap:14px;align-items:center}.school-hub h2{font-size:20px;line-height:1.35;margin:0;color:#173b69}.hub-icon{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;background:#edf3ff;color:#285fe7;border-radius:12px;flex-shrink:0}.hub-icon svg{width:23px;height:23px}.hub-description{color:#617893;margin:12px 0 22px}.school-hub button{font:inherit;box-sizing:border-box;white-space:normal;cursor:pointer;margin:0}.school-hub .hub-primary{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;border:0;background:#285fe7;color:#fff;border-radius:10px;padding:15px 18px;text-align:left;font-weight:600;margin-bottom:24px;min-height:50px}.school-hub .hub-primary:hover{background:#1f51ce}.hub-arrow{margin-left:auto;flex-shrink:0}.hub-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.hub-groups h3{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#72849c;margin:0 0 10px}.school-hub .hub-item{display:flex;align-items:center;gap:10px;width:100%;padding:12px 5px;min-height:48px;border:0;background:transparent;color:#25476e;text-align:left;border-radius:8px}.school-hub .hub-item:hover{background:#f0f5ff;color:#2156d7}.hub-item .hub-icon{width:20px;height:22px;background:transparent;color:#7188a9;border-radius:0}.hub-item .hub-icon svg{width:19px;height:19px}.hub-item .hub-arrow{color:#839bb8}.hub-side{display:flex;flex-direction:column;gap:var(--hub-gap)}.hub-module{display:flex;align-items:flex-start;gap:14px;padding:23px;flex:1}.hub-module-body{min-width:0;flex:1}.hub-module p{color:#617893;margin:9px 0 14px;line-height:1.55}.hub-status{display:inline-flex;align-items:center;gap:6px;color:#527361;font-size:12px;margin-bottom:9px}.hub-status:before{content:'';display:block;width:6px;height:6px;border-radius:50%;background:#619178}.hub-planned{color:#72849c}.hub-planned:before{background:#a4afc0}.school-hub .hub-link{display:flex;align-items:center;gap:12px;text-align:left;padding:0;min-height:36px;color:#285fe7;border:0;border-radius:4px;background:transparent;font-weight:600}.school-hub .hub-link:hover{color:#173f9e;text-decoration:underline}.hub-future{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hub-gap);margin-top:var(--hub-gap)}.hub-future .hub-module{display:block;padding:22px}.hub-future .hub-icon{background:#f1f4f9;color:#8295af;margin-bottom:14px}.hub-future h2{font-size:18px}.hub-future p{margin-bottom:0}.school-hub button:focus-visible{outline:3px solid #95b1ff;outline-offset:3px}@media(min-width:1700px){.hub-workspace{grid-template-columns:minmax(0,1.8fr) minmax(350px,1fr)}.hub-schedule{padding:32px}.hub-module{padding:28px}}@media(max-width:1000px){.hub-workspace{grid-template-columns:minmax(0,1fr)}.hub-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hub-future .hub-module{padding:18px}}@media(max-width:650px){.hub-groups,.hub-side,.hub-future{grid-template-columns:minmax(0,1fr)}.hub-schedule,.hub-module{padding:20px}.hub-future .hub-module{display:flex}.hub-future .hub-icon{margin:0}.hub-groups{gap:20px}.school-hub h2{font-size:19px}.hub-heading{align-items:flex-start}}
.school-branding-settings{margin-top:28px;padding:24px;border:1px solid #d5e1f2;border-radius:16px;background:#fff}.school-logo-preview{display:block;max-width:180px;max-height:140px;object-fit:contain;margin:16px 0}.school-logo-preview[hidden]{display:none}.school-branding-settings input[type=file]{display:block;max-width:100%;box-sizing:border-box}.brand-logo{object-fit:contain}
.profile-settings{margin-top:16px;width:100%;min-width:0}.profile-settings-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:6px;background:#e9eff9;border-radius:12px;margin-bottom:20px;width:fit-content;max-width:100%}.profile-settings-tabs button{margin:0;background:transparent;border:0;color:#526d90;padding:12px 18px;border-radius:9px;font:inherit;min-height:44px}.profile-settings-tabs button[aria-selected=true]{background:#fff;color:#2057ce;box-shadow:0 2px 7px #16396812}.profile-settings-context{max-width:600px;margin-bottom:18px}.profile-settings-panel{background:#fff;border:1px solid #d5e1f2;border-radius:16px;padding:26px;min-width:0}.profile-settings-panel[hidden],.profile-settings-context[hidden]{display:none}.profile-settings-panel>h2{margin-top:0}.profile-settings-panel form{margin:0;padding:0;width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;background:transparent;box-sizing:border-box}.profile-settings-panel form>label,.profile-settings-panel form>select,.profile-settings-panel form>input{max-width:760px}.profile-settings-panel form>p{max-width:820px}.profile-settings-panel .school-branding-settings{padding:0;margin:0;border:0;border-radius:0}.profile-settings-panel h2{margin-top:0}.profile-settings-panel .branding-body{display:grid;grid-template-columns:160px minmax(0,760px);gap:26px;align-items:start;margin-top:22px}.branding-preview-box{border:1px solid #e0e7f2;background:#f7f9fd;border-radius:12px;min-height:150px;display:flex;align-items:center;justify-content:center;padding:16px;text-align:center;color:#73849a}.branding-preview-box .school-logo-preview{margin:0;max-width:125px;max-height:125px;width:auto;height:auto}.branding-controls{min-width:0}.branding-controls label{margin-top:0}.profile-settings-panel input,.profile-settings-panel select{box-sizing:border-box;max-width:100%}.profile-settings-panel button{max-width:100%;white-space:normal}.profile-settings-panel .check-label{display:flex;align-items:center;gap:10px}.profile-settings-panel .check-label input{width:auto;flex-shrink:0}.profile-settings-panel form>label:not(.check-label){display:block;margin-top:16px}.profile-settings-panel form>h2+label{margin-top:18px}@media(max-width:650px){.profile-settings-panel{padding:20px}.profile-settings-panel .branding-body{grid-template-columns:minmax(0,1fr);gap:18px}.branding-preview-box{width:150px;max-width:100%}.profile-settings-tabs{width:100%}.profile-settings-tabs button{flex:1 1 120px;padding:11px 12px}}
body.auth-login{background:#f3f6fc;min-height:100vh;display:flex;flex-direction:column}.auth-login>header{padding-top:20px;padding-bottom:20px}.auth-login main{width:100%;max-width:none;box-sizing:border-box;padding:48px 28px 32px;margin:0;flex:1;display:flex;align-items:center;justify-content:center}.auth-login main>.eyebrow,.auth-login main>#title,.auth-login main>#message{display:none}.auth-login #content{width:100%;max-width:1080px}.auth-window{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #dfe7f3;border-radius:22px;overflow:hidden;box-shadow:0 18px 60px #294d8310;width:100%;box-sizing:border-box}.auth-intro{padding:44px 38px;background:linear-gradient(145deg,#edf4ff,#e0ecff);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:38px}.auth-intro:after{content:'';position:absolute;width:270px;height:270px;border:1px solid #c8dafa;border-radius:50%;right:-120px;bottom:-145px;box-shadow:0 0 0 40px #d4e3fc66,0 0 0 80px #d4e3fc44;pointer-events:none}.auth-kicker{font-size:12px;color:#4773b9;letter-spacing:.12em;text-transform:uppercase;margin-bottom:24px;font-weight:600}.auth-intro h2{font-size:36px;line-height:1.18;letter-spacing:-.025em;font-weight:650;color:#183e74;margin:0 0 18px;max-width:360px}.auth-intro p{color:#58759a;margin:0;max-width:350px;font-size:16px;line-height:1.7}.auth-features{display:flex;flex-direction:column;gap:16px;position:relative;z-index:1}.auth-feature{display:flex;align-items:center;gap:12px;color:#3b5e8f;font-size:14px}.auth-feature .hub-icon{background:#ffffffa8;width:34px;height:34px;border-radius:10px;color:#3c6bba}.auth-feature .hub-icon svg{width:19px;height:19px}.auth-form-side{padding:44px 40px;display:flex;align-items:center;min-width:0}.auth-login .auth-form{width:100%;min-width:0;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;box-sizing:border-box}.auth-form h2{font-size:28px;font-weight:650;letter-spacing:-.02em;line-height:1.3;color:#17385e;margin:0 0 8px}.auth-form .auth-caption{font-size:14px;color:#78889d;margin:0 0 28px}.auth-form label{display:block;font-size:14px;font-weight:500;color:#355273;margin:18px 0 8px}.auth-form input{font:inherit;font-size:16px;width:100%;min-width:0;height:50px;border:1px solid #d3deed;border-radius:10px;background:#fbfcff;color:#203f65;padding:12px 14px;box-sizing:border-box;margin:0}.auth-form input::placeholder{color:#98a6b8}.auth-password{position:relative}.auth-password input{padding-right:54px}.auth-form .auth-eye{position:absolute;right:4px;top:3px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;background:transparent;border:0;border-radius:8px;color:#70839f;margin:0;padding:0;font-size:22px}.auth-form .auth-eye:hover{background:#edf3fd;color:#285ee2}.auth-form .auth-submit{display:block;width:100%;min-height:50px;border:0;border-radius:10px;background:#285ee8;color:#fff;font:inherit;font-weight:600;margin:24px 0 0;padding:12px 16px}.auth-form .auth-submit:hover{background:#204fcb}.auth-form .auth-submit:disabled{opacity:.65;cursor:wait}.auth-form .auth-support{border-top:1px solid #edf0f6;padding-top:21px;margin:10px 0 0;color:#8190a5;font-size:12px;text-align:center}.auth-support span{display:block;margin-top:3px;color:#667e9b;font-size:13px}.auth-form .auth-feedback{min-height:20px;color:#b33038;font-size:13px;margin:10px 0 0}.auth-form input[aria-invalid=true]{border-color:#cc5360}.auth-login>footer{background:transparent;border:0;text-align:center;padding:8px 20px 26px;font-size:12px;color:#7a8da7}.auth-form button:focus-visible{outline:3px solid #9cbaff;outline-offset:3px}@media(max-width:760px){.auth-login main{padding:28px 20px}.auth-window{grid-template-columns:1fr;max-width:460px;margin:auto}.auth-intro{display:none}.auth-form-side{padding:32px 28px}.auth-login .brand-logo{width:34px;height:44px}.auth-login>header{padding:18px 22px}}@media(max-width:380px){.auth-login main{padding:20px 12px}.auth-form-side{padding:26px 20px}.auth-form h2{font-size:24px}}
.auth-eye .hub-icon{width:24px;height:24px;background:transparent;color:inherit;border-radius:0}.auth-eye .hub-icon svg{width:21px;height:21px}
/* Center the sign-in window in the available screen area. */
body.auth-login{min-height:100vh;min-height:100dvh}.auth-login>main{flex:1 0 auto;min-height:calc(100vh - 160px);min-height:calc(100dvh - 160px);display:flex;align-items:center;justify-content:center;padding:32px 28px;box-sizing:border-box}.auth-login #content{margin:0 auto}.auth-login .auth-window{margin:0 auto}.auth-login>footer{margin-top:auto}@media(max-width:760px){.auth-login>main{padding:24px 20px;min-height:calc(100dvh - 140px)}}@media(max-height:650px){.auth-login>main{min-height:0;padding-top:24px;padding-bottom:24px}}
/* Override the shared 1600px workspace cap on the sign-in page. */
body.auth-login:not(.public-schedule)>main{width:100%;max-width:none;margin-inline:0;align-self:stretch}body.auth-login:not(.public-schedule)>main>#content{width:min(100%,1080px);max-width:1080px;margin-inline:auto}
.member-scope-fields{margin:18px 0;padding:16px;background:#f1f6ff;border:1px solid #d6e3f7;border-radius:12px}.member-scope-fields[hidden]{display:none}.member-scope-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.member-scope-range label{min-width:0}.school-shifts-panel{background:#fff;border:1px solid #d6e3f7;border-radius:12px;padding:18px;margin:18px 0}.school-shifts-panel select{width:auto;max-width:100%;min-width:180px;margin-right:12px}.school-shifts-panel h3{margin-top:0}@media(max-width:500px){.member-scope-range{grid-template-columns:1fr}.school-shifts-panel select{width:100%;margin-right:0}}
.member-modules{border:1px solid #d6e3f7;border-radius:12px;padding:18px;margin:18px 0;max-width:760px;box-sizing:border-box;background:#f7faff}.member-modules legend{padding:0 8px;font-weight:600;color:#234d7c}.member-modules .check-label{padding:7px 0;margin:0;display:flex;gap:10px;align-items:center}.member-modules input[type=checkbox]{width:auto;flex-shrink:0;margin:0}.member-modules p{font-size:13px;margin-bottom:0}.hub-workspace.hub-workspace-single{grid-template-columns:minmax(0,1fr)}

.bell-builder{padding:24px;border:1px solid #cbdcf4;border-radius:16px;background:#fff;margin:16px 0}.bell-builder-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:16px;margin:20px 0}.bell-builder-fields label{display:flex;flex-direction:column;gap:7px}.bell-builder .table-scroll{margin-top:20px}.bell-builder td input{width:110px;min-width:0}

.draft-variants-panel{border:1px solid #bfd3ef;border-radius:14px;background:white;margin:16px 0}.draft-variants-panel>summary{cursor:pointer;padding:16px 20px;font-weight:650;background:#edf4ff;border-radius:14px;color:#193d70}.draft-variants-panel .button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}.draft-variants-panel .button-row input,.draft-variants-panel .button-row select{width:auto;flex:1 1 240px;min-width:0}.draft-confirm{max-width:580px;width:calc(100% - 32px);border:1px solid #bdd1ef;border-radius:18px;padding:24px;color:#193d70}.draft-confirm::backdrop{background:#10284866}

.first-grade-form{max-width:none;width:100%}.first-grade-form>fieldset{display:flex;flex-wrap:wrap;gap:12px 24px;border:1px solid #cbdcf4;border-radius:12px;padding:18px}.first-grade-form>fieldset .check-label{margin:0;min-width:80px}.first-grade-form .bell-builder{box-shadow:none}.first-grade-form .bell-builder-fields label{min-width:0}

.first-grade-form .bell-builder-fields{align-items:start;grid-template-columns:repeat(4,minmax(0,1fr))}.first-grade-form .first-grade-field-caption{display:flex;align-items:flex-end;min-height:44px;line-height:1.4}.first-grade-form .first-grade-field-help{display:block;font-size:13px;line-height:1.5;color:#526b8b;white-space:normal}.first-grade-form .bell-builder-fields input{margin:0;width:100%;min-width:0;box-sizing:border-box}@media(max-width:1050px){.first-grade-form .bell-builder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.first-grade-form .bell-builder-fields{grid-template-columns:minmax(0,1fr)}.first-grade-form .first-grade-field-caption{min-height:0}}
.school-picker-intro{color:#667c99;margin:0 0 28px}.school-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:22px;max-width:1200px}.school-picker-card{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:22px;background:#fff;border:1px solid #dce6f5;border-radius:18px;padding:26px;box-shadow:0 8px 28px #183f7809;min-width:0;transition:border-color .15s,box-shadow .15s}.school-picker-card:hover{border-color:#aac5f4;box-shadow:0 10px 30px #183f7814}.school-picker-logo{width:64px;height:64px;padding:7px;background:#f0f5ff;color:#2862c8;border:1px solid #e0eaff;border-radius:15px;display:flex;align-items:center;justify-content:center;font-weight:700}.school-picker-logo img{max-width:100%;max-height:100%;object-fit:contain}.school-picker-info{min-width:0}.school-picker-info h2{margin:12px 0;font-size:23px;line-height:1.35;overflow-wrap:anywhere}.school-picker-role{display:inline-block;background:#edf3fc;color:#456897;border-radius:20px;padding:6px 10px;font-size:12px}.school-picker-meta{color:#607896;font-size:14px;line-height:1.6;margin:0;overflow-wrap:anywhere}.school-picker-enter{grid-column:1/-1;width:100%;margin:0;min-height:46px;background:#2563eb;color:#fff;border-color:#2563eb;text-align:left;padding:12px 16px}.school-picker-enter:hover{background:#1d4ed8;color:#fff;border-color:#1d4ed8}body[data-school-view=list] .school-picker{display:flex;flex-direction:column}body[data-school-view=list] .school-picker-card{grid-template-columns:64px minmax(0,1fr) auto;align-items:center;padding:20px 24px}body[data-school-view=list] .school-picker-enter{grid-column:auto;width:auto;white-space:nowrap}body[data-school-view=list] .school-picker-info h2{font-size:20px;margin:8px 0}
/* Small-screen layouts preserve document/table scrolling inside their own panels. */
@media(max-width:760px){header{flex-wrap:wrap;padding:16px;gap:10px}header #identity{max-width:100%;font-size:13px}header button{min-height:44px;margin:0}main{margin:24px auto;padding:0 16px;min-width:0}h1{font-size:29px;overflow-wrap:anywhere}h2,h3{overflow-wrap:anywhere}.grid{grid-template-columns:minmax(0,1fr)}.card,form{padding:18px;min-width:0;max-width:100%}.field-grid,.bell-builder-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid>*,.button-row>*{min-width:0}.button-row{flex-wrap:wrap}input,select,textarea{font-size:16px;min-width:0;max-width:100%}button{min-height:44px;max-width:100%;white-space:normal}.table-responsive,.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.school-picker-card{padding:20px;gap:16px}.school-picker-info h2{font-size:21px}.profile-settings-tabs{width:100%}.profile-settings-panel{padding:18px}body[data-school-view=list] .school-picker-card{grid-template-columns:54px minmax(0,1fr);gap:14px;padding:18px}body[data-school-view=list] .school-picker-logo{width:54px;height:54px}body[data-school-view=list] .school-picker-enter{grid-column:1/-1;width:100%}}
@media(max-width:480px){.field-grid,.bell-builder-fields{grid-template-columns:minmax(0,1fr)}.school-picker{grid-template-columns:minmax(0,1fr)}.school-picker-info h2{font-size:20px}.school-picker-card{grid-template-columns:54px minmax(0,1fr)}.school-picker-logo{width:54px;height:54px}header .brand{min-width:0}#identity{margin-left:0;width:100%}}

@media(max-width:760px){.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.section-heading{flex-wrap:wrap;gap:8px}.schedule-toolbar>div{min-width:0;flex:1 1 100%}.schedule-workspace,.schedule-stage,.matrix-editor,.matrix-board,#content{min-width:0}.schedule-stage{padding:12px}.schedule-workspace .workspace-heading{flex-wrap:wrap}.schedule-workspace .workspace-heading>*{max-width:100%}}
.school-picker-card{position:relative;grid-template-rows:minmax(0,1fr) auto}.school-picker-info{padding-right:24px}.school-picker-enter{align-self:end}.school-picker-rename{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:36px;height:36px;min-height:36px;margin:0;padding:7px;border:0;border-radius:9px;color:#6982a4;background:transparent}.school-picker-rename:hover{background:#edf3ff;color:#245cd4}body[data-school-view=list] .school-picker-card{grid-template-rows:auto;padding-right:68px}body[data-school-view=list] .school-picker-enter{grid-row:1;align-self:center}.school-rename-dialog{width:min(500px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d5e1f2;border-radius:16px;padding:26px;color:#173756;box-shadow:0 18px 70px #142e5633}.school-rename-dialog::backdrop{background:#142e5666}.school-rename-dialog form{margin:0;padding:0;border:0;box-shadow:none;max-width:none}.school-rename-dialog h2{margin:0 0 20px}.school-rename-dialog .button-row{display:flex;justify-content:flex-end;gap:10px}.school-rename-dialog button{margin:0}.school-rename-dialog button[type=button]{background:#edf3ff;color:#265ba9;border-color:#cbdcf4}.school-rename-dialog .form-feedback{min-height:20px}
@media(max-width:760px){.school-picker-rename{width:44px;height:44px;min-height:44px;top:9px;right:9px}.school-picker-info{padding-right:28px}body[data-school-view=list] .school-picker-card{grid-template-rows:minmax(0,1fr) auto;padding-right:18px}body[data-school-view=list] .school-picker-enter{grid-row:2;align-self:end}.school-rename-dialog{padding:20px}.school-rename-dialog input{font-size:16px}}

.school-picker-logo{grid-column:1;grid-row:1}.school-picker-info{grid-column:2;grid-row:1}body[data-school-view=list] .school-picker-enter{grid-column:3;grid-row:1}@media(max-width:760px){body[data-school-view=list] .school-picker-enter{grid-column:1/-1;grid-row:2}}
.calculation-progress{margin:20px 0;padding:clamp(18px,3vw,30px);border:1px solid #c9daf7;border-radius:20px;background:linear-gradient(135deg,#fff,#f5f9ff);color:#173d70;box-shadow:0 8px 28px #234f8a0a}
.calculation-progress-header{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.calculation-progress-header h3{margin:0 0 5px;font-size:22px}.calculation-progress-header p{margin:0;color:#60738e}.calculation-spinner{width:30px;height:30px;flex:none;border:3px solid #dae6fc;border-top-color:#2860ed;border-radius:50%;animation:calculation-spin 1s linear infinite}.calculation-connection{margin-left:auto;font-size:13px;padding:7px 11px;border-radius:20px;background:#e7f5ef;color:#18734d}.calculation-connection[data-connected=false]{background:#fff3db;color:#885c13}
.calculation-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0;margin:28px 0;list-style:none}.calculation-stages li{display:flex;align-items:center;gap:8px;padding:12px 10px;border-radius:10px;background:#edf1f7;color:#6a7890;font-size:13px}.calculation-stages li>span:first-child{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#fff;font-weight:700}.calculation-stages li[data-state=active]{background:#e0eaff;color:#1649c5;box-shadow:inset 0 0 0 1px #abc4ff;font-weight:700}.calculation-stages li[data-state=done]{background:#e7f5ef;color:#18734d}.calculation-active{display:grid;gap:6px;margin-bottom:16px}.calculation-active strong{font-size:19px}.calculation-active>span{color:#60738e;overflow-wrap:anywhere}.calculation-progress progress{display:block;width:100%;height:9px;border:0;border-radius:10px;overflow:hidden;accent-color:#2860ed;background:#e3ebf8}.calculation-progress progress::-webkit-progress-bar{background:#e3ebf8}.calculation-progress progress::-webkit-progress-value{background:#2860ed;border-radius:10px;transition:width .4s}.calculation-progress progress:indeterminate{background:linear-gradient(90deg,#e3ebf8,#82a9ff,#e3ebf8);background-size:200% 100%;animation:calculation-flow 2s linear infinite}.calculation-progress progress:indeterminate::-webkit-progress-bar{background:transparent}.calculation-block-count{display:block;margin:9px 0 20px;font-size:13px;color:#60738e}.calculation-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.calculation-stats>div{display:grid;gap:7px;padding:14px 16px;background:#fff;border:1px solid #e0e8f4;border-radius:12px}.calculation-stats span{font-size:13px;color:#60738e}.calculation-stats strong{font-size:24px;font-variant-numeric:tabular-nums}.calculation-note{margin:18px 0 0!important;font-size:13px;color:#60738e}
@keyframes calculation-spin{to{transform:rotate(360deg)}}@keyframes calculation-flow{to{background-position:-200% 0}}@media(max-width:900px){.calculation-stages{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:540px){.calculation-progress-header>div{flex:1;min-width:180px}.calculation-connection{margin-left:0}.calculation-stages{grid-template-columns:1fr 1fr;gap:6px;margin:20px 0}.calculation-stages li{font-size:12px}.calculation-stats{grid-template-columns:1fr}.calculation-stats>div{display:flex;align-items:center;justify-content:space-between}.calculation-progress-header h3{font-size:20px}}@media(prefers-reduced-motion:reduce){.calculation-spinner,.calculation-progress progress:indeterminate{animation:none}.calculation-progress progress::-webkit-progress-value{transition:none}}

.matrix-calendar-label{margin-left:6px;padding:3px 6px;background:#fff2ce;color:#755213;border-radius:5px;font-size:11px;white-space:nowrap}

.schedule-workspace .matrix-lower{display:flex;flex-direction:column;overflow:hidden}.matrix-class-controls{flex:none;background:#fff;padding-bottom:10px}.matrix-class-controls h3{margin-top:0}.matrix-side .matrix-show-distributed{display:flex;align-items:center;gap:9px;margin:8px 0 0;cursor:pointer}.matrix-show-distributed input{width:18px;height:18px;margin:0;flex:none}.matrix-class-list{min-height:0;overflow:auto;overscroll-behavior:contain}

.schedule-workspace .matrix-resource-note{display:block;width:100%;margin:5px 0;padding:7px 10px;border:1px dashed #d7ae68;border-radius:7px;background:#fff9ed;color:#80601f;font-size:13px;text-align:left;white-space:normal;font-weight:400}.schedule-workspace .matrix-resource-note:hover{background:#fff1d5}

.matrix-group-label{margin-left:6px;padding:3px 6px;border-radius:5px;background:#edf2ff;color:#395681;font-size:12px;white-space:normal}

.matrix-week-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-weight:600;margin-bottom:8px}.matrix-week-control select{width:auto;max-width:100%;min-width:240px}.matrix-week-hint{font-size:13px;line-height:1.5;margin:0 0 12px}.matrix-calendar-label{white-space:nowrap}

.public-week-control{width:190px;flex-shrink:0}.public-week-control input{width:100%;min-width:0}@media(max-width:550px){.public-week-control{width:100%}}

/* Voice assistant scoped styles */

.voice-studio{--vs-ink:#17223b;--vs-muted:#68748c;--vs-accent:#6255dd;color:var(--vs-ink);max-width:1320px;margin:20px auto;font-family:inherit}.voice-studio *{box-sizing:border-box}.vs-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.vs-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:750;color:var(--vs-accent)}.vs-header h2{font-size:clamp(26px,3vw,38px);letter-spacing:-.04em;margin:10px 0}.vs-header p{color:var(--vs-muted);margin:0}.vs-badge{background:#eeedff;color:#5147ae;padding:10px 15px;border-radius:24px;font-size:12px;white-space:nowrap}.vs-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}.vs-controls{background:linear-gradient(155deg,#242849,#151c32);color:#fff;border-radius:24px;padding:30px 24px;text-align:center;box-shadow:0 18px 45px #20284218}.vs-orb{position:relative;display:flex;justify-content:center;align-items:center;width:132px;height:132px;margin:8px auto 28px;border-radius:50%;background:radial-gradient(circle at 32% 25%,#b9a9ff,#7465e8 48%,#403c80);box-shadow:0 0 0 12px #ffffff05,0 0 0 24px #ffffff03,0 20px 40px #0003;overflow:hidden}.vs-orb span{font-size:54px;font-weight:800;color:#ffffffd9;letter-spacing:-.08em}.vs-orb i{position:absolute;bottom:22px;left:49%;width:3px;height:9px;background:#fff9;border-radius:5px}.vs-orb i:nth-child(2){left:42%;height:6px}.vs-orb i:nth-child(4){left:56%;height:6px}.vs-controls h3{font-size:18px;line-height:1.4;margin:0 0 10px}.vs-help{color:#b8bed5;font-size:13px;line-height:1.65}.vs-status{color:#dedaff;min-height:44px;margin:18px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.vs-voice-actions{display:grid;gap:10px}.voice-studio button{cursor:pointer;font-family:inherit;border-radius:12px;padding:12px 15px;transition:background .15s,transform .15s;white-space:normal;font-size:13px;line-height:1.4}.voice-studio button:disabled{opacity:.45;cursor:wait}.voice-studio button:focus-visible,.voice-studio textarea:focus-visible,.voice-studio select:focus-visible,.voice-studio summary:focus-visible{outline:3px solid #a799ff;outline-offset:3px}.vs-controls button{background:#ffffff09;color:#e9e9fa;border:1px solid #ffffff20;margin:0}.vs-controls button:hover{background:#ffffff18}.vs-controls .vs-primary{background:#e9e3ff;color:#352b68;border-color:transparent;font-weight:750}.vs-controls .vs-secondary{border-color:#8675db;color:#e7dfff}.vs-settings{border-top:1px solid #ffffff18;margin-top:24px;padding-top:18px;text-align:left;font-size:13px}.vs-settings summary{cursor:pointer;color:#c6c9df}.vs-settings label{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}.vs-settings input[type=checkbox]{width:17px;height:17px;accent-color:#a395ff;margin:0}.vs-settings select{width:100%;background:#303650;color:#fff;border:1px solid #555b78;border-radius:9px;padding:10px}.vs-settings p{color:#aeb6d0;font-size:12px;line-height:1.6}.vs-workspace{display:grid;gap:18px;min-width:0}.vs-response{background:#fff;border:1px solid #e1e5ef;border-radius:22px;box-shadow:0 8px 30px #28345a05;overflow:hidden}.vs-response-header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:21px 25px;border-bottom:1px solid #eef0f6;flex-wrap:wrap}.vs-response-header h3{margin:0;font-size:16px}.vs-source{font-size:11px;font-weight:600;color:#6759b0;background:#f3f0ff;border-radius:20px;padding:6px 10px}.vs-question{font-size:13px;color:#64718a;background:#f8f9fc;border-left:3px solid #b4a4f3;margin:22px 25px 0;padding:11px 14px;white-space:pre-wrap;overflow-wrap:anywhere}.vs-answer-text{min-height:260px;max-height:540px;overflow:auto;overscroll-behavior:contain;padding:24px 28px;font-size:16px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#25324c;user-select:text;scrollbar-width:thin}.vs-response-tools{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #eef0f6;padding:14px 24px}.vs-response-tools button{background:#f6f7fb;border:1px solid #e7eaf3;color:#58667f;padding:8px 12px;font-size:12px}.vs-composer{padding:20px 23px;background:#fff;border:1px solid #e1e5ef;border-radius:20px}.vs-composer>label{display:block;font-size:13px;font-weight:700;margin-bottom:12px}.voice-studio .vs-input{display:block;width:100%;resize:vertical;min-height:90px;max-height:300px;border:0;background:#f7f8fc;color:#24314a;border-radius:12px;padding:15px;font-family:inherit;font-size:15px;line-height:1.6;margin:0}.vs-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.vs-composer-footer>span{font-size:11px;color:#8b94a7}.voice-studio .vs-send{background:#6255dd;border:1px solid #6255dd;color:#fff;font-weight:700;padding:11px 26px;margin:0}.voice-studio .vs-send:hover{background:#5145c6}.vs-examples{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.vs-examples>span{width:100%;font-size:11px;color:#8b94a7;margin:0 0 3px 3px}.vs-examples button{font-size:12px;border:1px solid #dfe3ef;background:transparent;color:#68748c;padding:8px 12px;border-radius:20px;margin:0}.vs-examples button:hover{background:#eeedff;color:#5147ae}.vs-footnote{font-size:11px;color:#8a94a8;line-height:1.7;margin:20px 4px}.voice-studio[data-state=listening] .vs-orb{box-shadow:0 0 0 12px #ad9dff18,0 0 0 24px #ad9dff0a}.voice-studio[data-state=thinking] .vs-orb i,.voice-studio[data-state=speaking] .vs-orb i{animation:vs-wave .7s ease-in-out infinite alternate}.voice-studio[data-state=speaking] .vs-orb i:nth-child(2){animation-delay:.2s}.voice-studio[data-state=speaking] .vs-orb i:nth-child(4){animation-delay:.4s}@keyframes vs-wave{to{height:18px}}@media(max-width:800px){.vs-layout{grid-template-columns:1fr}.vs-controls{padding:24px}.vs-orb{width:80px;height:80px;margin:0 auto 22px}.vs-orb span{font-size:36px}.vs-voice-actions{grid-template-columns:1fr 1fr}.vs-voice-actions button:last-child{grid-column:1/-1}.vs-settings{margin-top:18px}.vs-answer-text{min-height:220px}.vs-header{align-items:start}.vs-badge{display:none}}
.vs-robot-stage{position:relative;isolation:isolate;height:245px;margin:-4px -5px 20px;display:grid;place-items:center;perspective:600px}.vs-robot{position:relative;width:168px;height:225px;filter:drop-shadow(0 14px 12px #0005)}.vs-robot-head{position:absolute;left:16px;top:40px;width:136px;height:116px;border-radius:35px 35px 24px 24px;background:linear-gradient(120deg,#e5e9ef,#a3adbc 35%,#cbd2dc 65%,#7b8799);border:2px solid #a4adbc;box-shadow:inset 3px 2px 5px #fff8,inset -5px -2px 6px #44506350;transform-origin:50% 100%;z-index:3;animation:vs-head-idle 7s ease-in-out infinite}.vs-robot-head:before,.vs-robot-head:after{content:'';position:absolute;width:12px;height:25px;background:linear-gradient(90deg,#758194,#c6cdd8);border-radius:7px;top:53px;z-index:-1;left:-9px;border:1px solid #707f94}.vs-robot-head:after{left:auto;right:-9px}.vs-robot-antenna{position:absolute;width:7px;height:30px;top:-30px;left:calc(50% - 3px);background:linear-gradient(90deg,#7e8b9d,#e6ebf2,#8b99aa);border-radius:4px}.vs-robot-antenna:before{content:'';position:absolute;width:14px;height:14px;border-radius:50%;top:-8px;left:-4px;background:radial-gradient(circle at 30% 25%,#f4f7fb,#a8b3c3 55%,#5e6d85);border:1px solid #a5afbe}.vs-robot-camera{position:absolute;width:9px;height:9px;top:10px;left:calc(50% - 4px);border:2px solid #455469;border-radius:50%;background:#142438;box-shadow:inset 1px 1px 2px #7cb3cb}.vs-robot-visor{position:absolute;display:flex;gap:9px;justify-content:center;align-items:center;left:10px;right:10px;top:27px;height:49px;border-radius:13px;background:linear-gradient(145deg,#111b2b,#090e17);border:3px solid #647184;box-shadow:inset 0 4px 7px #000,0 1px 0 #ffffff8c;overflow:hidden}.vs-robot-eye{position:relative;width:35px;height:29px;border-radius:5px 5px 50% 50%;background:#ffd864;box-shadow:0 0 12px #ffd34b35;overflow:hidden;transform:scaleY(.8);transition:transform .3s}.vs-robot-eye:before{content:'';position:absolute;left:0;right:0;top:0;height:10px;background:#121a27;z-index:2;transition:height .3s}.vs-robot-eye i{position:absolute;width:7px;height:12px;background:#192131;left:18px;top:6px;border-radius:1px;animation:vs-pupil 8s ease-in-out infinite}.vs-robot-mouth{position:absolute;bottom:12px;left:23px;right:23px;height:19px;display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,1fr);gap:2px;padding:3px;background:#152033;border:2px solid #58657b;border-radius:6px;overflow:hidden}.vs-robot-mouth i{background:#ffdc71;border-radius:1px;box-shadow:0 0 3px #ffd45e50}.vs-robot-neck{position:absolute;width:39px;height:27px;top:146px;left:65px;background:repeating-linear-gradient(#364155 0 4px,#8290a4 4px 7px);z-index:2}.vs-robot-body{position:absolute;left:5px;bottom:2px;width:158px;height:74px;background:linear-gradient(100deg,#8b98aa,#dce2eb 42%,#a9b4c5 75%,#69788f);border-radius:38px 38px 18px 18px;border:2px solid #94a1b4;box-shadow:inset 0 5px 4px #f4f7ff6b}.vs-robot-door{position:absolute;left:49px;top:23px;width:56px;height:41px;border-radius:8px;border:1px solid #7c8a9e;box-shadow:inset 1px 0 #e8edf8}.vs-robot-door:after{content:'';position:absolute;width:11px;height:3px;background:#58677c;top:3px;left:21px;border-radius:0 0 6px 6px}.vs-robot-speaker{position:absolute;top:22px;left:8px;width:29px;height:37px;border-radius:50%;border:3px solid #69758a;background:repeating-radial-gradient(circle,#1a2436 0 2px,#3e4c61 2px 3px)}.vs-robot-speaker.right{left:auto;right:8px}.vs-robot-radar{position:absolute;width:195px;height:195px;border:1px solid #a995ff15;border-radius:50%;top:17px}.vs-robot-radar:after{content:'';position:absolute;inset:-15px;border:1px solid #a995ff0c;border-radius:50%}.vs-robot-wave{position:absolute;bottom:0;width:70px;height:5px;border-radius:50%;background:#a79aff55;filter:blur(2px)}
.voice-studio[data-state=waiting] .vs-robot-head{animation:vs-head-listen 5s ease-in-out infinite}.voice-studio[data-state=listening] .vs-robot-head{animation:vs-head-listen 2.8s ease-in-out infinite}.voice-studio[data-state=listening] .vs-robot-eye:before{height:2px}.voice-studio[data-state=listening] .vs-robot-eye{transform:scaleY(1)}.voice-studio[data-state=listening] .vs-robot-radar,.voice-studio[data-state=waiting] .vs-robot-radar{animation:vs-radar 2s ease-out infinite}.voice-studio[data-state=thinking] .vs-robot-eye i{animation:vs-thinking 1.4s ease-in-out infinite}.voice-studio[data-state=thinking] .vs-robot-antenna:before{animation:vs-antenna 1s ease-in-out infinite alternate}.voice-studio[data-state=speaking] .vs-robot-head{animation:vs-head-talk .7s ease-in-out infinite alternate}.voice-studio[data-state=speaking] .vs-robot-mouth{animation:vs-mouth .19s ease-in-out infinite alternate}.voice-studio[data-state=speaking] .vs-robot-mouth i:nth-child(3n){animation:vs-teeth .23s ease-in-out infinite alternate}.voice-studio[data-state=speaking] .vs-robot-eye:before{height:6px}
@keyframes vs-head-idle{0%,85%,100%{transform:rotate(0)}90%{transform:rotate(-2deg)}}@keyframes vs-pupil{0%,65%,100%{transform:translateX(0)}72%,82%{transform:translateX(-8px)}}@keyframes vs-head-listen{0%,100%{transform:rotate(-7deg) translateY(-1px)}50%{transform:rotate(5deg) translateY(-3px)}}@keyframes vs-radar{0%{transform:scale(.85);opacity:.15;border-color:#b5a5ff}40%{opacity:.65}100%{transform:scale(1.15);opacity:0}}@keyframes vs-thinking{0%,100%{transform:translate(-7px,-2px)}50%{transform:translate(4px,-2px)}}@keyframes vs-antenna{to{box-shadow:0 0 12px #b9a8ff;background:#d1c1ff}}@keyframes vs-head-talk{to{transform:translateY(-2px) rotate(2deg)}}@keyframes vs-mouth{to{height:24px;bottom:9px;gap:4px 2px}}@keyframes vs-teeth{to{opacity:.4}}@media(max-width:800px){.vs-robot-stage{height:205px}.vs-robot{transform:scale(.85)}}

@media(prefers-reduced-motion:reduce){.voice-studio *{animation:none!important;transition:none!important}}


/* Keep every weekday in a single aligned row; move whole controls at breakpoints. */
.public-controls{display:grid;grid-template-columns:180px 110px minmax(0,1fr) 220px;gap:18px;align-items:end}
.public-week-control,.public-class-control,.public-days-control,.public-search-control{width:auto;min-width:0}
.public-controls #day-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;gap:5px}
.public-controls #day-tabs button{min-width:0;white-space:nowrap;padding:9px 4px;font-size:13px;text-align:center}
@media(max-width:1100px){.public-controls{grid-template-columns:180px 110px minmax(0,1fr)}.public-search-control{grid-column:1/-1}}
@media(max-width:760px){.public-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.public-days-control,.public-search-control{grid-column:1/-1}}
@media(max-width:550px){.public-controls{grid-template-columns:minmax(0,1fr)}.public-controls #day-tabs button{font-size:12px;padding:9px 2px}}


.academic-module{min-width:0}.academic-nav,.academic-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0}.academic-nav button[aria-pressed="true"]{background:#2563eb;color:white}.academic-filter,.academic-report,.academic-record{background:white;border:1px solid #d3e1f5;border-radius:14px;padding:18px;margin:16px 0}.academic-record summary{font-weight:650;cursor:pointer;overflow-wrap:anywhere}.academic-details{display:grid;grid-template-columns:minmax(140px,.35fr) minmax(0,1fr);gap:8px 20px}.academic-details dt{color:#607796}.academic-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.academic-file-link{display:block;margin:8px 0;overflow-wrap:anywhere}.academic-record>.academic-actions{justify-content:flex-end}.academic-filter .academic-actions>label{display:flex;gap:8px;align-items:center;margin:0}.academic-filter input[type=checkbox]{width:auto}.academic-dialog{width:min(900px,94vw);max-height:90dvh;overflow:auto;border:1px solid #c9daf0;border-radius:16px;padding:24px;box-shadow:0 20px 70px #173b6940}.academic-dialog::backdrop{background:#173b6960}.academic-dialog label{display:flex;flex-direction:column;gap:8px}.academic-dialog input[type=checkbox]{width:auto}.academic-dialog textarea{min-height:100px}.academic-dialog .field-grid>*{min-width:0}.academic-dialog .academic-actions{justify-content:flex-end}.academic-dialog input,.academic-dialog select,.academic-dialog textarea{max-width:100%;box-sizing:border-box}@media(max-width:650px){.academic-details{grid-template-columns:minmax(0,1fr);gap:5px}.academic-details dd{margin-bottom:12px}.academic-filter .field-grid,.academic-dialog .field-grid{grid-template-columns:minmax(0,1fr)}.academic-nav{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}.academic-nav button{text-align:left;white-space:normal}.academic-dialog{padding:16px}.academic-record,.academic-filter,.academic-report{padding:14px}}
.academic-module .academic-filter{max-width:none;width:100%}.academic-dialog form{max-width:none;width:100%;margin:0;padding:0;border:0;box-shadow:none;background:transparent}.academic-filter>.field-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}

.academic-entry-panel{margin:18px 0;padding:24px;border:1px solid #cbdcf5;border-radius:16px;background:#fff;box-shadow:0 8px 24px #173b6908}.academic-entry-panel form{width:100%;max-width:none;margin:0;padding:0;border:0;box-shadow:none;background:transparent}.academic-entry-panel h3{margin:0 0 20px}.academic-entry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:18px;align-items:start}.academic-entry-grid label{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0}.academic-entry-grid input,.academic-entry-grid select,.academic-entry-grid textarea{width:100%;margin:0;min-width:0}.academic-entry-grid textarea{min-height:100px;resize:vertical}.academic-entry-panel .academic-actions{justify-content:flex-end}.academic-report>button{margin:0 10px 10px 0}.academic-report>h3{margin-top:0}@media(max-width:650px){.academic-entry-panel{padding:16px}.academic-entry-grid{grid-template-columns:minmax(0,1fr)}}

.vs-playback{padding:16px 24px;border-top:1px solid #e2e8f0}.vs-playback p{margin:0 0 10px}.vs-audio-player{display:block;width:100%;margin-bottom:10px}.vs-playback[hidden]{display:none}

.bender-widget{position:fixed;right:22px;bottom:14px;z-index:80;width:180px;pointer-events:none;color:#25324c;font-family:inherit}.bender-widget[hidden]{display:none}.bender-widget .voice-studio{margin:0;max-width:none}.bender-widget .bw-host>button,.bender-widget .vs-header,.bender-widget .vs-footnote,.bender-widget .vs-examples,.bender-widget .vs-settings,.bender-widget .vs-voice-actions,.bender-widget .vs-controls>h3,.bender-widget .vs-help{display:none}.bender-widget .vs-layout{display:block}.bender-widget .vs-controls{position:relative;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#35415b;pointer-events:auto}.bender-widget .vs-robot-stage{height:213px;margin:0;perspective:600px}.bender-widget .vs-robot{transform:scale(.83);transform-origin:50% 100%;filter:drop-shadow(0 8px 6px #293c5926)}.bender-widget .vs-robot-radar,.bender-widget .vs-robot-wave{display:none}.bender-widget .bw-robot-toggle{position:absolute;top:4px;left:6px;width:168px;height:205px;z-index:5;border:0;background:transparent;border-radius:60px 60px 24px 24px;padding:0;cursor:pointer;margin:0}.bender-widget .bw-robot-toggle:hover{background:#a99aff0b}.bender-widget .bw-robot-toggle:focus-visible{outline:3px solid #8f7de5;outline-offset:3px}.bender-widget .vs-status{color:#59647d;text-align:center;font-size:11px;line-height:1.45;min-height:0;margin:4px 0 7px;padding:5px 7px;border-radius:10px;background:#ffffffd9;box-shadow:0 2px 10px #25355509;overflow-wrap:anywhere}.bw-tools{display:flex;justify-content:center;gap:5px}.bender-widget .bw-tools button{color:#68728b;background:#ffffffeb;border:1px solid #dfe4ef;border-radius:18px;padding:6px 9px;font-size:10px;margin:0;box-shadow:0 3px 10px #263b5908;cursor:pointer}.bender-widget .bw-tools button[aria-pressed=true]{color:#337860;border-color:#b3dec9;background:#edfff4}.bender-widget .bw-tools button:disabled{cursor:default}.bender-widget .vs-workspace{display:none;position:absolute;bottom:50px;right:193px;width:410px;max-width:calc(100vw - 220px);gap:0;border:1px solid #e1e5ef;border-radius:22px;background:#fff;box-shadow:0 18px 60px #29385c24;pointer-events:auto;animation:bw-appear .18s ease-out}.bender-widget.bw-expanded .vs-workspace{display:grid}.bender-widget .vs-workspace:after{content:'';position:absolute;right:-8px;bottom:97px;width:15px;height:15px;transform:rotate(45deg);background:#fff;border-top:1px solid #e1e5ef;border-right:1px solid #e1e5ef}.bender-widget .vs-response{border:0;border-radius:22px 22px 0 0;box-shadow:none}.bender-widget .vs-response-header{padding:15px 17px;gap:7px}.bender-widget .vs-response-header h3{font-size:14px}.bender-widget .vs-source{font-size:10px;padding:4px 7px}.bender-widget .bw-close{margin:0 0 0 auto;padding:0;width:26px;height:26px;border:0;border-radius:50%;background:#f3f4f9;color:#717b91;font-size:20px;line-height:20px;cursor:pointer}.bw-school{color:#8a92a4;font-size:10px;margin:9px 18px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bender-widget .vs-question{font-size:12px;margin:12px 17px 0;padding:8px 10px;max-height:65px;overflow:auto}.bender-widget .vs-answer-text{min-height:65px;max-height:min(32vh,300px);font-size:13px;line-height:1.7;padding:14px 18px}.bender-widget .vs-response-tools{padding:8px 14px;gap:5px}.bender-widget .vs-response-tools button{font-size:10px;padding:5px 7px;margin:0}.bender-widget .vs-composer{border:0;border-top:1px solid #edf0f6;border-radius:0 0 22px 22px;padding:12px 14px}.bender-widget .vs-composer>label{display:none}.bender-widget .vs-input{min-height:58px;max-height:140px;font-size:12px;padding:10px}.bender-widget .vs-composer-footer{margin-top:8px}.bender-widget .vs-send{font-size:12px;padding:7px 16px}.bender-widget .vs-playback{padding:9px 16px}.bender-widget .vs-playback p{display:none}.bender-widget .vs-audio-player{height:32px;margin-bottom:4px}.bender-widget .vs-playback a{font-size:10px}.bw-setting{display:grid!important;grid-template-columns:22px minmax(0,1fr);gap:4px 12px;margin:22px 0!important;align-items:center}.bw-setting input{width:18px!important;height:18px!important;margin:0!important;accent-color:#6854da}.bw-setting span{font-weight:650}.bw-setting small{grid-column:2;font-weight:400;color:#7c879a;line-height:1.65}.bw-setting input:disabled+span{color:#9299a6}@keyframes bw-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:900px){.bender-widget{right:10px;bottom:8px;width:122px}.bender-widget .vs-robot-stage{height:154px}.bender-widget .vs-robot{transform:scale(.6)}.bender-widget .bw-robot-toggle{height:150px;width:122px;left:0}.bender-widget .bw-tools button{font-size:9px;padding:5px 6px}.bender-widget .vs-status{font-size:10px}.bender-widget .vs-workspace{position:fixed;right:12px;bottom:205px;width:calc(100% - 24px);max-width:410px;max-height:calc(100dvh - 240px);overflow:auto}.bender-widget .vs-workspace:after{display:none}.bender-widget .vs-answer-text{max-height:24vh}.bender-widget .vs-controls{padding:0}.bender-widget .vs-response-tools{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.bender-widget *,.bender-widget *:before{animation:none!important;transition:none!important}}
