.journal-grid-scroll{border:1px solid var(--border);background:var(--surface);border-radius:10px;max-height:70vh;overflow:auto}.journal-grid-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}.journal-grid-table caption{text-align:left;padding:10px;font-weight:600}.journal-grid-table th,.journal-grid-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:center;min-width:92px;padding:0}.journal-grid-table thead th{background:var(--surface);z-index:2;padding:6px;position:sticky;top:0}.journal-grid-table th:first-child{text-align:left;white-space:normal;background:var(--surface);z-index:1;min-width:230px;max-width:280px;padding:10px;position:sticky;left:0}.journal-grid-table thead th:first-child{z-index:3}.journal-grid-table th small{display:block}.journal-grid-table thead button{background:0 0;border:0;padding:3px}.grid-cell{min-height:60px;position:relative}.grid-cell input{text-align:center;width:100%;min-width:90px;color:inherit;background:0 0;border:2px solid #0000;border-radius:0;margin:0;padding:8px;font-size:17px;font-weight:700}.grid-cell input:focus{outline:2px solid var(--primary);outline-offset:-2px;background:var(--surface)}.grid-cell input:read-only{cursor:default}.grid-cell:focus-within{box-shadow:inset 0 0 0 2px var(--primary)}.grid-cell small{white-space:normal;max-width:180px;display:block}.grid-cell.error{border-radius:0;margin:0;padding:0}.grid-cell-error{color:var(--danger);padding:4px}.grid-tokens{justify-content:center;gap:2px;padding-bottom:3px;font-size:12px;display:flex}.mark-slash{color:var(--muted);padding-right:2px}.grid-save-state{min-height:20px;margin:6px 0}.grid-save-state button{margin-left:10px}.grid-legend{flex-wrap:wrap;gap:12px;padding:10px 0;font-size:12px;display:flex}.mark-excellent,.grid-excellent{color:#168044}.mark-good,.grid-good{color:#2369c5}.mark-satisfactory,.grid-satisfactory{color:#a56a00}.mark-poor,.grid-poor{color:#c73535}.mark-excused,.grid-excused{color:#8752bd}.mark-neutral,.grid-neutral{color:var(--text)}[data-theme=dark] :is(.mark-excellent,.grid-excellent){color:#66d695}[data-theme=dark] :is(.mark-good,.grid-good){color:#81b9ff}[data-theme=dark] :is(.mark-satisfactory,.grid-satisfactory){color:#efc364}[data-theme=dark] :is(.mark-poor,.grid-poor){color:#ff9494}[data-theme=dark] :is(.mark-excused,.grid-excused){color:#c2a1ef}.grid-cell:not(:focus-within) input{color:#0000}.grid-cell .grid-tokens{pointer-events:none;font-size:17px;font-weight:700;position:absolute;inset:8px 0 auto}.grid-cell:focus-within .grid-tokens{display:none}@media (max-width:760px){.journal-grid-table th:first-child{min-width:150px;max-width:170px;font-size:12px}.journal-grid-scroll{max-height:75vh}}.journal-focused .journal-compact-heading{margin:8px 0 12px}.journal-focused .journal-compact-heading h1{font-size:22px}.journal-focused .journal-compact-heading .eyebrow{display:none}.journal-focused .section-heading{margin:10px 0}.journal-focused .journal-secondary{margin-top:24px}.journal-focused .journal-grid-scroll{border:2px solid #8b9caf;border-radius:8px;height:65vh;max-height:80vh}.journal-focused .journal-grid-table th,.journal-focused .journal-grid-table td{border-bottom:1px solid #8b9caf;border-right:1px solid #8b9caf}.journal-focused .grid-cell{min-height:46px}.journal-focused .grid-cell input,.journal-focused .grid-cell .grid-tokens{font-size:21px;font-weight:800}.journal-focused .grid-cell input{min-height:46px}.journal-focused .grid-cell:not(:focus-within):has(.grid-tokens span){background:color-mix(in srgb,currentColor 9%,var(--surface))}.journal-focused .grid-cell:focus-within{box-shadow:inset 0 0 0 3px var(--primary)}.journal-focused .journal-grid-table thead th{border-bottom:2px solid #657b94}.journal-focused .journal-grid-table tbody tr:hover>th{background:var(--accent-soft)}[data-theme=dark] .journal-focused .journal-grid-table th,[data-theme=dark] .journal-focused .journal-grid-table td{border-color:#65788e}.journal-grid-table thead button{border-radius:6px;flex-direction:column;gap:2px;width:100%;display:flex}.journal-grid-table thead button:hover{background:var(--accent-soft)}.journal-grid-table thead button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.grid-task-label{color:var(--muted);margin-top:4px;font-size:11px;font-weight:400;display:block}.grid-task-label.assigned{color:var(--primary);font-weight:700}.journal-focused .journal-grid-table .target-column{background:var(--accent-soft)}.journal-focused .journal-grid-table thead .target-column{box-shadow:inset 0 -3px var(--primary)}.journal-target{border:1px solid var(--border);background:var(--accent-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin:10px 0;padding:10px 12px;font-size:13px;display:flex}.journal-target button{flex-shrink:0}.grid-cell-readonly{background:color-mix(in srgb,var(--muted) 6%,var(--surface))}.grid-cell-lock{color:var(--muted);pointer-events:none;position:absolute;top:4px;right:4px}.grid-cell .grid-cell-blocked-hint{color:var(--muted);text-align:left;padding:5px 6px;font-size:11px;line-height:1.35}.grid-cell .grid-visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.grid-cell .grid-cell-retry{white-space:normal;max-width:160px;margin:3px;padding:5px;font-size:11px}.grid-no-member{color:var(--muted);min-width:90px;padding:10px;display:block}.grid-no-member small{white-space:normal;max-width:160px;font-size:11px;display:none}.grid-no-member:focus{outline:2px solid var(--primary);outline-offset:-2px}.grid-no-member:focus small{display:block}.grid-conflict-label{color:var(--muted);overflow-wrap:anywhere;font-size:13px}.grid-conflict-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.grid-conflict-values>div{border:1px solid var(--border);background:var(--surface);overflow-wrap:anywhere;border-radius:8px;padding:12px}.grid-conflict-values>div:last-child{border-color:var(--primary)}.grid-conflict-values dt{color:var(--muted);margin-bottom:8px;font-size:12px}.grid-conflict-values dd{margin:0}.grid-conflict-values strong{font-size:18px;display:block}.grid-conflict-values small{color:var(--muted);margin-top:7px;font-size:12px;line-height:1.4;display:block}.grid-conflict-actions{flex-wrap:wrap}.grid-conflict-actions button{white-space:normal}@media (max-width:540px){.grid-conflict-values{grid-template-columns:1fr;gap:8px;margin:12px 0}.grid-conflict-values>div{padding:9px 12px}.grid-conflict-values dt{margin-bottom:4px}.grid-conflict-values small{margin-top:3px}.grid-conflict-actions button{width:100%}}
.journal-student-search{flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0;display:flex}.journal-student-search label{flex:1;min-width:220px;max-width:450px;margin:0;font-size:12px}.journal-student-search input{padding:9px 12px}.journal-student-search>span{color:var(--muted);padding:9px 0;font-size:12px}.journal-student-search button{font-size:12px}.journal-fill-filter{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px 18px;padding:10px 0 14px;font-size:12px;display:flex}.journal-fill-filter label{color:var(--text);align-items:center;gap:7px;margin:0;font-size:12px;display:flex}.journal-fill-filter input{width:16px;height:16px;margin:0}.journal-fill-filter small{flex-basis:100%;font-size:11px}.journal-focused .journal-grid-table thead th[data-lesson]{min-width:104px;padding:6px}.journal-grid-table thead .journal-column-details{font-size:13px;line-height:1.3}.journal-grid-table thead .journal-column-trigger{width:34px;min-height:26px;color:var(--muted);border:1px solid var(--border);flex-direction:row;margin:3px auto 0;padding:3px;display:flex}.journal-completion{border:1px solid var(--border);color:var(--muted);white-space:nowrap;border-radius:5px;margin:5px 0 0;padding:3px 5px;font-size:10px;font-weight:500;line-height:1.4;display:inline-block}.completion-attention,.completion-empty{color:var(--text);background:color-mix(in srgb,#ee981d 14%,var(--surface));border-color:color-mix(in srgb,#ee981d 60%,var(--border))}.completion-complete{color:var(--text);background:color-mix(in srgb,#45972e 12%,var(--surface));border-color:color-mix(in srgb,#45972e 50%,var(--border))}.journal-column-menu{z-index:100;border:1px solid var(--input-border);background:var(--surface);width:min(300px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--text);border-radius:12px;padding:14px;position:fixed;overflow-y:auto;box-shadow:0 10px 35px #0003}.journal-column-menu>strong{margin-bottom:8px;display:block}.journal-column-menu p{margin:6px 0;font-size:12px}.journal-column-menu>button{text-align:left;white-space:normal;justify-content:flex-start;width:100%;margin-top:9px;font-size:13px;display:flex}.journal-column-menu>small{margin-top:7px;font-size:11px;line-height:1.45;display:block}.journal-focused .journal-grid-table .journal-no-students{color:var(--muted);text-align:left;white-space:normal;padding:24px}@media (max-width:600px){.journal-student-search{align-items:center;gap:8px}.journal-student-search label{flex-basis:100%;max-width:none}.journal-student-search>span{margin-left:auto}.journal-fill-filter{gap:8px}.journal-fill-filter>span{flex-basis:100%}}
.schedule-settings{gap:16px;display:grid}.settings-tabs,.settings-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.settings-tabs [aria-selected=true]{background:var(--accent-soft);border-color:var(--blue)}.settings-toolbar>input{flex:1;min-width:160px}.settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.settings-fields label{margin:0}.settings-fields input,.settings-fields textarea{margin-top:6px}.settings-days,.settings-bells{grid-column:1/-1}.settings-days{flex-wrap:wrap;gap:14px;display:flex}.settings-days label{align-items:center;gap:5px;display:flex}.settings-days input,.settings-bells input[type=checkbox]{width:auto;margin:0}.settings-bells>div{grid-template-columns:100px 1fr 1fr;align-items:center;gap:14px;margin-bottom:10px;display:grid}.schedule-settings td{white-space:normal;overflow-wrap:anywhere;min-width:100px}.schedule-settings th{white-space:normal}.schedule-room-select{grid-column:1/-1}.schedule-export-form{gap:14px;display:grid}.schedule-export-actions{flex-wrap:wrap;gap:10px;display:flex}.schedule-print-frame{border:1px solid var(--border);background:#fff;width:100%;height:60vh}@media (max-width:600px){.settings-fields{grid-template-columns:1fr}.settings-bells>div{grid-template-columns:70px minmax(0,1fr) minmax(0,1fr);gap:8px}.settings-toolbar>*{width:100%}.schedule-export-actions>*{flex:1;min-width:90px}}dialog:has(.schedule-settings){width:min(1000px,100vw - 32px)}dialog:has(.schedule-export-form){width:min(1120px,100vw - 32px)}.schedule-settings td:last-child{white-space:nowrap;min-width:120px}@media (max-width:600px){.schedule-settings table,.schedule-settings tbody{width:100%;display:block}.schedule-settings thead{display:none}.schedule-settings tr{border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;margin-bottom:12px;padding:8px;display:flex}.schedule-settings td{white-space:normal;border:0;width:50%;padding:8px;display:block;min-width:0!important}.schedule-settings td:first-child,.schedule-settings td:nth-child(3),.schedule-settings td:last-child{width:100%}.schedule-settings td:before{content:attr(data-label);color:var(--muted);margin-bottom:5px;font-size:11px;display:block}.schedule-settings .table-scroll{overflow:visible}}
dialog:has(.journal-export){width:min(1050px,100vw - 24px)}.journal-export{min-width:0}.journal-print-review{border:1px solid var(--border);border-radius:10px;gap:12px;min-width:0;padding:16px;display:grid}.journal-print-review h3{margin:0}.journal-print-review p{overflow-wrap:anywhere;margin:0}.journal-print-counts{color:var(--muted);flex-wrap:wrap;gap:10px 20px;font-size:13px;display:flex}.journal-print-counts b{color:var(--text)}.journal-print-review-list{gap:12px;min-width:0;max-height:320px;display:grid;overflow:auto}.journal-print-review-list article{border-top:1px solid var(--border);overflow-wrap:anywhere;padding:12px 0;font-size:13px}.journal-print-review-list dl{grid-template-columns:1fr 1fr;gap:16px;margin:8px 0;display:grid}.journal-print-review-list dt{color:var(--muted);font-size:12px}.journal-print-review-list dd{white-space:pre-wrap;margin:4px 0}.journal-print-review-list a{font-size:12px}.journal-export .schedule-print-frame{min-width:0}@media (max-width:600px){.journal-print-review{padding:12px}.journal-print-review-list dl{grid-template-columns:1fr;gap:10px}.journal-print-review .section-heading{flex-direction:column;align-items:stretch}.journal-print-review .pagination{flex-wrap:wrap}}
.journal-grade-import{gap:14px;display:grid}.journal-grade-import .management-toolbar{align-items:end}.journal-grade-import .management-toolbar label{flex:1;min-width:0}.journal-import-preview{max-height:45vh}.journal-import-preview td{white-space:normal;min-width:85px}.journal-import-preview td:nth-child(2){min-width:190px}@media (max-width:600px){.journal-grade-import .management-toolbar{grid-template-columns:1fr;display:grid}.journal-grade-import .management-toolbar>*{width:100%}}
.ktp-view{gap:18px;display:grid}.ktp-heading-actions{flex-wrap:wrap;gap:8px;display:flex}.ktp-metrics{flex-wrap:wrap;gap:16px 26px;display:flex}.ktp-metrics span{color:var(--muted);font-size:12px}.ktp-metrics b{color:var(--text);font-size:20px;display:block}.ktp-notice{background:var(--notice-bg);color:var(--notice-text);border-radius:8px;padding:12px}.ktp-topic h3{overflow-wrap:anywhere;margin:7px 0}.ktp-topic p{margin-bottom:8px}.ktp-details{gap:10px;display:grid}.ktp-details dt{color:var(--muted);font-size:12px}.ktp-details dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0}.ktp-download{padding:10px}.ktp-lessons>div{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.ktp-lessons span{overflow-wrap:anywhere;min-width:0}.ktp-lessons button{flex-shrink:0}.ktp-preview{overflow-wrap:anywhere;max-height:260px;overflow:auto}.ktp-issues{color:var(--notice-text);padding-left:22px}@media (max-width:650px){.ktp-topic .section-heading,.ktp-view>.panel>.section-heading,.ktp-lessons>div{flex-direction:column;align-items:flex-start}}
.lesson-task{border:1px solid var(--border);background:var(--surface);border-radius:10px;margin:16px 0;padding:16px}.lesson-task .lesson-topic-choice,.lesson-task .lesson-task-extra{grid-column:1/-1}.lesson-kind-context{align-content:start;gap:8px;min-width:0;display:grid}.lesson-kind-context p{margin:0}.lesson-kind-context button{justify-self:start}.lesson-task-extra{border-top:1px solid var(--border);padding-top:12px}.lesson-task-extra summary{cursor:pointer}.lesson-task-extra[open]>label{gap:6px;margin-top:12px;display:grid}.lesson-task select{min-width:0;max-width:100%}.lesson-task h3{margin-top:0}.lesson-task-fields{grid-template-columns:minmax(0,2fr) minmax(120px,1fr);gap:12px;display:grid}.lesson-task-fields label{min-width:0;margin:8px 0}.lesson-task-fields input,.lesson-task-fields select{width:100%}.lesson-task .hint{margin-top:8px}.lesson-task form button{margin-top:12px}.lesson-task .error button{margin-left:8px}.lesson-topic-choice{gap:6px;min-width:0;display:grid}.lesson-topic-picker{border:1px solid var(--border);border-radius:8px;min-width:0}.lesson-topic-picker summary{cursor:pointer;overflow-wrap:anywhere;white-space:pre-wrap;padding:10px}.lesson-topic-picker summary small{margin-top:4px;display:block}.lesson-topic-options{border-top:1px solid var(--border);min-width:0;padding:10px}.lesson-topic-options>label{gap:6px;display:grid}.lesson-topic-options input[type=search]{width:100%;min-width:0}.lesson-topic-list{overscroll-behavior:contain;max-height:300px;margin-top:10px;overflow:auto}.lesson-topic-option{border-bottom:1px solid var(--border);cursor:pointer;align-items:flex-start;gap:10px;min-width:0;padding:10px;font-weight:500;margin:0!important;display:flex!important}.lesson-topic-option input{flex:none;margin-top:4px;width:auto!important}.lesson-topic-option>span{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}.lesson-topic-option strong{font-weight:700}.lesson-topic-option small{margin-top:4px;display:block}.lesson-topic-option:has(input:checked){background:var(--surface)}.lesson-topic-option:has(input:disabled){opacity:.6;cursor:default}@media (max-width:520px){.lesson-task-fields{grid-template-columns:1fr}.lesson-task{padding:12px}}dialog:has(.lesson-task){width:min(880px,100vw - 32px)}.lesson-task fieldset{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.lesson-task fieldset>label{min-width:0;margin:0}.lesson-task fieldset>.lesson-task-fields,.lesson-task fieldset>.hint,.lesson-task fieldset>button{grid-column:1/-1}.lesson-task fieldset>button{justify-self:start}@media (max-width:600px){.lesson-task fieldset{grid-template-columns:1fr}}.lesson-topic-picker summary>span{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}
dialog:has(.ktp-import){width:min(1220px,100vw - 24px)}.ktp-import{gap:16px;min-width:0;display:grid}.ktp-import fieldset{border:0;gap:16px;min-width:0;margin:0;padding:0;display:grid}.ktp-import p{margin:0}.ktp-import-destination{gap:3px;display:grid}.ktp-import-destination span{color:var(--muted);font-size:12px}.ktp-import-steps{gap:10px;margin:0;padding:0;list-style:none;display:flex}.ktp-import-steps li{background:var(--hover);color:var(--muted);border-radius:8px;flex:1;padding:10px;font-size:12px}.ktp-import-steps .current{background:var(--accent-soft);color:var(--blue);font-weight:600}.ktp-import-steps .done{color:var(--green)}.ktp-import-upload{border:1px dashed var(--input-border);border-radius:10px;grid-template-columns:1fr 1fr;gap:20px;padding:16px;display:grid}.ktp-import-upload label{margin:0}.ktp-import-upload>div{color:var(--muted);align-self:center;gap:8px;font-size:12px;display:grid}.ktp-import-options,.ktp-import-filters{grid-template-columns:1fr 1fr;align-items:end;gap:16px;display:grid}.ktp-import-options label,.ktp-import-filters label{margin:0}.ktp-import .check-label{align-items:flex-start;gap:9px;margin:0;font-size:13px;font-weight:400;display:flex}.ktp-import .check-label input{flex-shrink:0;width:18px;height:18px;margin:2px 0 0}.ktp-import-summary{background:var(--hover);border-radius:10px;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:14px;display:grid}.ktp-import-summary span{color:var(--muted);font-size:11px}.ktp-import-summary b{color:var(--text);margin-top:4px;font-size:14px;display:block}.ktp-import-summary.is-dirty{opacity:.55}.ktp-import-pending{background:var(--notice-bg);color:var(--notice-text);border-radius:8px;padding:12px;font-size:13px}.ktp-import-warnings{font-size:12px}.ktp-import-warnings summary,.ktp-import-extra-row summary,.ktp-import-replacement summary{cursor:pointer}.ktp-import-warnings ul{padding-left:20px}.ktp-import-table-wrap{border:1px solid var(--border);border-radius:10px;overflow:auto}.ktp-import-table{table-layout:fixed;border-collapse:collapse;white-space:normal;width:100%;min-width:760px}.ktp-import-table th,.ktp-import-table td{vertical-align:top;text-align:left;border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:10px}.ktp-import-table th{background:var(--hover);font-size:12px}.ktp-import-table th:first-child{width:75px}.ktp-import-table th:nth-child(2){width:105px}.ktp-import-table th:nth-child(4){width:90px}.ktp-import-table th:nth-child(5){width:250px}.ktp-import-table input,.ktp-import-table select,.ktp-import-table textarea{width:100%;min-width:0;margin:0;padding:9px;font-size:13px}.ktp-import-table textarea{min-height:65px}.ktp-import-table input[type=checkbox]{width:18px;height:18px}.ktp-import-table small{margin-top:5px;font-size:11px;display:block}.ktp-import-table .is-excluded{opacity:.6}.ktp-import-table .has-errors{background:var(--error-bg)}.ktp-import-table [aria-invalid=true]{border:2px solid var(--error-border)}.ktp-cell-errors{color:var(--error-text);margin:6px 0 0;padding-left:15px;font-size:11px}.ktp-import-duplicate{color:var(--notice-text);font-size:11px;margin-top:7px!important}.ktp-import-extra-row>td{padding-top:2px}.ktp-import-extra-row summary{color:var(--muted);font-size:12px}.ktp-import-extra{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 0;display:grid}.ktp-import-extra label{margin:0;font-size:12px}.ktp-import-pages{justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.ktp-import-replacement{border:1px solid var(--border);border-radius:8px;padding:12px;font-size:12px}.ktp-import-replacement ul{max-height:180px;padding-left:22px;overflow:auto}.ktp-import-replacement h3{margin-top:12px}.ktp-import-replace-confirm{background:var(--notice-bg);border-radius:8px;padding:14px}.ktp-import-footer{background:var(--surface);border-top:1px solid var(--border);z-index:2;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;display:flex;position:sticky;bottom:0}.ktp-import-footer>p{color:var(--muted);max-width:60ch;font-size:12px}.ktp-import-footer>div{flex-shrink:0;gap:8px;display:flex}@media (max-width:700px){.ktp-import-upload,.ktp-import-options,.ktp-import-filters{grid-template-columns:1fr;gap:12px}.ktp-import-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.ktp-import-steps{gap:4px}.ktp-import-steps li{padding:8px;font-size:11px}.ktp-import-footer{flex-direction:column;align-items:stretch;gap:8px;bottom:0}.ktp-import-footer>div{justify-content:space-between}.ktp-import-extra{grid-template-columns:1fr}.ktp-import-pages{flex-wrap:wrap}.ktp-import-table-wrap{max-width:100%}}.ktp-import-table [aria-invalid=true]{border:2px solid var(--danger);background:var(--error-bg);box-shadow:0 0 0 1px var(--danger)}.ktp-import-table [data-budget-review=true]:not([aria-invalid=true]){border:2px solid var(--notice-text);background:var(--notice-bg)}.ktp-import-row-error{color:var(--danger);margin-top:5px;font-size:11px;display:block}.ktp-import .ktp-cell-errors{white-space:normal;font-size:12px;line-height:1.5}.ktp-import-summary .is-over-budget{border:2px solid var(--danger);background:var(--error-bg);color:var(--error-text);border-radius:7px;margin:-6px;padding:6px}.ktp-import-summary .is-over-budget b,.ktp-import-summary .is-over-budget small{color:var(--error-text)}.ktp-import-cell-issues,.ktp-import-budget-issues{border:2px solid var(--danger);background:var(--error-bg);border-radius:10px;gap:12px;min-width:0;padding:16px;display:grid}.ktp-import-cell-issues h3,.ktp-import-budget-issues h3{color:var(--error-text);margin:0}.ktp-import-cell-issues p,.ktp-import-budget-issues p{color:var(--text);font-size:13px;line-height:1.5}.ktp-import-cell-issues>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ktp-import-cell-issues ul{gap:7px;max-height:250px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.ktp-import-cell-issues li>button{text-align:left;border-color:var(--danger);overflow-wrap:anywhere;justify-content:stretch;gap:4px;width:100%;font-size:12px;display:grid}.ktp-import-cell-issues li span{font-weight:400;display:block}.ktp-budget-issue{border-top:1px solid var(--error-border);justify-content:space-between;align-items:center;gap:14px;min-width:0;padding-top:12px;font-size:13px;display:flex}.ktp-budget-issue>div{overflow-wrap:anywhere;gap:5px;min-width:0;display:grid}.ktp-budget-issue>div>b{color:var(--error-text)}.ktp-budget-issue button{flex-shrink:0;font-size:12px}.ktp-budget-issue>span{max-width:30ch;font-size:12px}@media (max-width:700px){.ktp-import-cell-issues,.ktp-import-budget-issues{padding:12px}.ktp-budget-issue{flex-direction:column;align-items:stretch}.ktp-budget-issue button{align-self:flex-start}.ktp-import-summary .is-over-budget{margin:-4px;padding:4px}}.ktp-import-table-wrap{container-type:inline-size}.ktp-import-extra-row details{max-width:calc(100cqw - 22px)}.ktp-import.is-advisory .ktp-import-budget-issues,.ktp-import.is-advisory .ktp-import-summary .is-over-budget{border-color:var(--notice-text);background:var(--notice-bg);color:var(--notice-text)}.ktp-import.is-advisory .ktp-import-budget-issues h3,.ktp-import.is-advisory .ktp-budget-issue>div>b,.ktp-import.is-advisory .ktp-import-summary .is-over-budget b,.ktp-import.is-advisory .ktp-import-summary .is-over-budget small{color:var(--notice-text)}.ktp-import.is-advisory .ktp-budget-issue{border-top-color:var(--notice-text)}
dialog:has(.ktp-change){width:min(920px,100vw - 24px)}.ktp-change{gap:16px;min-width:0;display:grid}.ktp-change p{margin:0}.ktp-change fieldset{border:0;min-width:0;margin:0;padding:0}.ktp-change label{margin:0}.ktp-change-summary{background:var(--hover);border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px;display:grid}.ktp-change-summary span{color:var(--muted);font-size:12px}.ktp-change-summary b{color:var(--text);font-size:20px;display:block}.ktp-change-lists{grid-template-columns:1fr 1fr;gap:14px;display:grid}.ktp-change-list{border:1px solid var(--border);border-radius:9px;min-width:0;padding:12px}.ktp-change-list h3{font-size:14px}.ktp-change-list ul{max-height:280px;margin:0;padding:0;list-style:none;overflow:auto}.ktp-change-list li{border-bottom:1px solid var(--border);overflow-wrap:anywhere;gap:4px;padding:9px 0;font-size:12px;display:grid}.ktp-change-list li:last-child{border:0}.ktp-change-list li>span{color:var(--muted)}.ktp-change-list.remove{border-color:var(--error-border)}.ktp-change-list.restore{border-color:var(--success-border)}.ktp-change-list.skip{background:var(--notice-bg)}.ktp-change details summary{cursor:pointer;font-size:13px}.ktp-change-confirm{background:var(--notice-bg);border-radius:9px;gap:10px;font-size:13px;font-weight:400;display:flex;margin-top:16px!important;padding:14px!important}.ktp-change-confirm input{flex-shrink:0;width:18px;height:18px;margin:2px 0 0}.ktp-change-footer{z-index:2;background:var(--surface);border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;padding:14px 0;display:flex;position:sticky;bottom:0}.ktp-change-footer>span{color:var(--muted);font-size:12px}.ktp-change-footer>div{gap:8px;display:flex}.ktp-selection{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;padding:14px;display:flex}.ktp-selection label,.ktp-topic-select{align-items:center;gap:8px;margin:0;font-size:12px;font-weight:400;display:flex}.ktp-selection input,.ktp-topic-select input{width:18px;height:18px;margin:0}.ktp-topic-select{margin-bottom:12px}.ktp-selection>span{color:var(--muted);font-size:12px}.ktp-history-items{margin:12px 0;padding:0;list-style:none}.ktp-history-items>li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:15px 0;display:flex}.ktp-history-items>li>div{gap:6px;min-width:0;display:grid}.ktp-history-items b{overflow-wrap:anywhere;font-size:13px}.ktp-history-items span{color:var(--muted);font-size:12px}.ktp-history-pages{justify-content:flex-end;align-items:center;gap:12px;display:flex}.ktp-change .error{margin:0}.ktp-change ul.error{padding-left:30px}.ktp-change .error button{margin:8px 0 0;display:flex}@media (max-width:600px){.ktp-change-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ktp-change-lists{grid-template-columns:1fr}.ktp-change-footer{flex-direction:column;align-items:stretch}.ktp-change-footer>div{justify-content:space-between}.ktp-change-footer button{padding:9px;font-size:12px}.ktp-history-items>li{flex-direction:column;align-items:stretch;gap:10px}.ktp-history .section-heading{flex-wrap:wrap}.ktp-history-pages{justify-content:space-between;font-size:12px}.ktp-history-pages button{padding:8px;font-size:11px}.ktp-selection>button{font-size:12px}}.ktp-change-destination{overflow-wrap:anywhere;gap:3px;display:grid}.ktp-change-destination span{color:var(--muted);font-size:12px}.ktp-linked-removal-warning{background:var(--notice-bg);border:1px solid var(--error-border);border-radius:10px;gap:10px;min-width:0;padding:16px;display:grid}.ktp-linked-removal-warning h3{margin:0;font-size:16px}.ktp-linked-removal-warning ul{max-height:220px;margin:8px 0 0;padding-left:22px;overflow:auto}.ktp-linked-removal-warning li{overflow-wrap:anywhere;padding:5px 0}.ktp-linked-delete-button{color:var(--danger);border-color:var(--error-border)}.ktp-change-footer>div{flex-wrap:wrap}.ktp-change-footer button{white-space:normal;min-height:44px}
.ktp-layout-switch{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ktp-layout-switch>span{color:var(--muted);font-size:12px}.ktp-quick-editor{gap:14px;min-width:0;display:grid}.ktp-quick-toolbar,.ktp-quick-pages{justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.ktp-quick-scroll{border:1px solid var(--border);background:var(--surface);border-radius:10px;overflow:auto;container-type:inline-size}.ktp-quick-table{table-layout:fixed;white-space:normal;min-width:960px}.ktp-quick-table th,.ktp-quick-table td{vertical-align:top;overflow-wrap:anywhere;padding:10px}.ktp-quick-table th:first-child{width:55px}.ktp-quick-table th:nth-child(2){width:45px}.ktp-quick-table th:nth-child(4){width:60px}.ktp-quick-table th:nth-child(5){width:150px}.ktp-quick-table th:nth-child(6){width:180px}.ktp-quick-table th:nth-child(7){width:150px}.ktp-quick-topic h3{margin:5px 0;font-size:13px}.ktp-quick-topic p{margin:0;font-size:12px}.ktp-quick-topic small{font-size:11px}.ktp-quick-topic input[type=checkbox]{width:18px;height:18px;margin:0}.ktp-quick-topic button{margin-bottom:5px;padding:7px;font-size:11px}.ktp-quick-topic details{margin-top:8px;font-size:11px}.ktp-quick-topic summary{cursor:pointer}.ktp-quick-topic dl{gap:8px;display:grid}.ktp-quick-topic dt{color:var(--muted)}.ktp-quick-topic dd{white-space:pre-wrap;margin:2px 0}.ktp-quick-homework{white-space:pre-wrap;max-height:100px;overflow:auto}.ktp-inline-editor{gap:14px;max-width:calc(100cqw - 22px);padding:8px;display:grid}.ktp-editor-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ktp-editor-heading span{color:var(--muted);font-size:11px}.ktp-editor-fields{gap:12px;min-width:0;display:grid}.ktp-editor-fields label{min-width:0;margin:0;font-size:12px}.ktp-editor-main{grid-template-columns:minmax(180px,2fr) 85px minmax(150px,1fr) minmax(180px,2fr);gap:12px;display:grid}.ktp-editor-fields textarea{min-height:70px;padding:10px;font-size:13px}.ktp-editor-fields input,.ktp-editor-fields select{padding:10px;font-size:13px}.ktp-editor-fields [aria-invalid=true]{border:2px solid var(--danger);background:var(--error-bg)}.ktp-editor-fields details summary{cursor:pointer;color:var(--muted);font-size:12px}.ktp-editor-extra{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:12px;display:grid}.ktp-editor-errors{color:var(--error-text);margin:7px 0;padding-left:18px;font-size:12px}.ktp-editor-save-actions{flex-wrap:wrap;gap:10px;display:flex}.ktp-editor-comparison{background:var(--notice-bg);border-radius:9px;gap:12px;padding:14px;display:grid}.ktp-editor-comparison dl,.ktp-batch-preview dl{gap:12px;display:grid}.ktp-editor-comparison dt,.ktp-batch-preview dt{color:var(--muted);font-size:12px}.ktp-editor-comparison dd,.ktp-batch-preview dd{white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;margin:4px 0;font-size:12px;overflow:auto}dialog:has(.ktp-batch-editor){width:min(1080px,100vw - 24px)}.ktp-batch-editor{gap:16px;min-width:0;display:grid}.ktp-batch-editor p{margin:0}.ktp-batch-editor>fieldset{border:0;gap:14px;min-width:0;margin:0;padding:0;display:grid}.ktp-batch-editor label{margin:0}.ktp-editor-check{align-items:flex-start;gap:8px;font-size:13px;font-weight:400;display:flex}.ktp-editor-check input{flex-shrink:0;width:18px;height:18px;margin:2px 0 0}.ktp-paste-source{white-space:pre;min-height:130px;font:13px/1.5 monospace}.ktp-paste-row{border:1px solid var(--border);border-radius:10px;min-width:0;padding:14px}.ktp-bulk-fields{gap:14px;display:grid}.ktp-bulk-fields>div{border:1px solid var(--border);border-radius:9px;gap:8px;padding:14px;display:grid}.ktp-batch-preview{background:var(--hover);border-radius:10px;gap:14px;min-width:0;padding:16px;display:grid}.ktp-batch-changes{gap:12px;max-height:320px;display:grid;overflow:auto}.ktp-batch-changes details{background:var(--surface);border-radius:7px;padding:10px}.ktp-batch-changes summary{cursor:pointer;font-size:13px}.ktp-batch-footer{background:var(--surface);z-index:2;border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex;position:sticky;bottom:0}.ktp-batch-footer>span{color:var(--muted);font-size:12px}.ktp-batch-footer>div{gap:8px;display:flex}@media (max-width:700px){.ktp-editor-main,.ktp-editor-extra{grid-template-columns:1fr}.ktp-quick-scroll{background:0 0;border:0;overflow:visible}.ktp-quick-table,.ktp-quick-table tbody{width:100%;min-width:0;display:block}.ktp-quick-table thead{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.ktp-quick-table .ktp-quick-topic{background:var(--surface);border:1px solid var(--border);border-radius:10px;grid-template-columns:32px 1fr;margin-bottom:12px;padding:10px;display:grid}.ktp-quick-topic>td{border:0;grid-column:1/-1;min-width:0;padding:6px;display:block}.ktp-quick-topic>td:first-child{grid-area:1/1}.ktp-quick-topic>td:nth-child(2){grid-area:1/2}.ktp-quick-topic>td[data-label]:before{content:attr(data-label) ": ";color:var(--muted);font-size:11px}.ktp-quick-edit-row,.ktp-quick-edit-row>td{border:0;min-width:0;padding:0;display:block}.ktp-inline-editor{background:var(--surface);border:1px solid var(--border);border-radius:10px;max-width:none;margin-bottom:14px;padding:14px}.ktp-quick-pages{flex-wrap:wrap;font-size:11px}.ktp-quick-pages button{padding:8px;font-size:11px}.ktp-batch-footer{flex-direction:column;align-items:stretch}.ktp-batch-footer>div{justify-content:space-between}.ktp-batch-footer button{padding:9px;font-size:12px}.ktp-paste-row{padding:10px}}.ktp-quick-table caption{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.ktp-quick-scroll{max-height:75vh}.ktp-quick-table th{z-index:1;background:var(--surface-subtle);position:sticky;top:0}.ktp-bulk-fields [aria-invalid=true]{border:2px solid var(--danger);background:var(--error-bg)}@media (max-width:700px){.ktp-quick-scroll{max-height:none}}.ktp-batch-editor .error ul,.ktp-batch-editor>fieldset>details>ul{max-height:240px;overflow:auto}.ktp-quick-table th:first-child{width:65px}
dialog:has(.ktp-workflow){width:min(1000px,100vw - 24px)}.ktp-workflow{gap:16px;min-width:0;display:grid}.ktp-workflow p{margin:0}.ktp-workflow fieldset{border:0;gap:12px;min-width:0;margin:0;padding:0;display:grid}.ktp-workflow label{margin:0}.ktp-workflow-toolbar{flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;display:flex}.ktp-workflow-check{align-items:flex-start;gap:10px;font-size:13px;font-weight:400;display:flex}.ktp-workflow-check input{flex-shrink:0;width:18px;height:18px;margin:2px 0 0}.ktp-workflow-check span{overflow-wrap:anywhere;min-width:0}.ktp-workflow-check small{color:var(--muted);margin-top:5px;display:block}.ktp-workflow-items{gap:10px;max-height:390px;display:grid;overflow:auto}.ktp-workflow article{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:9px;gap:10px;min-width:0;padding:14px;font-size:13px;display:grid}.ktp-workflow-skipped{background:var(--hover)}.ktp-workflow-preview{background:var(--hover);border-radius:10px;gap:14px;min-width:0;padding:16px;display:grid}.ktp-workflow-preview ol,.ktp-workflow-preview ul,.ktp-workflow>fieldset>details ul{max-height:300px;padding-left:24px;overflow:auto}.ktp-workflow-preview li{overflow-wrap:anywhere;margin-bottom:10px;font-size:13px}.ktp-workflow-preview li span{margin-top:4px;display:block}.ktp-workflow-preview h3,.ktp-workflow-preview h4{margin:0}.ktp-workflow details summary{cursor:pointer}.ktp-workflow-footer{background:var(--surface);border-top:1px solid var(--border);z-index:2;justify-content:space-between;align-items:center;gap:10px;padding:14px 0;display:flex;position:sticky;bottom:0}.ktp-workflow-footer>span{color:var(--muted);font-size:12px}.ktp-workflow-footer>div{gap:8px;display:flex}.ktp-workflow-tools{flex-wrap:wrap;gap:10px;display:flex}@media (max-width:700px){.ktp-workflow-footer{flex-direction:column;align-items:stretch}.ktp-workflow-footer>div{justify-content:space-between}.ktp-workflow-footer button{padding:9px;font-size:12px}.ktp-workflow-preview,.ktp-workflow article{padding:12px}.ktp-workflow-check{font-size:12px}.ktp-workflow-tools button{flex:100%}}
.ktp-lesson-board{gap:18px;min-width:0;display:grid}.ktp-lesson-board h3{margin:0}.ktp-lesson-board p{margin:6px 0}.ktp-board-filters{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.ktp-board-filters label{flex:145px;min-width:0;margin:0}.ktp-board-filters .ktp-board-search{flex-basis:230px}.ktp-board-counts{color:var(--muted);flex-wrap:wrap;gap:12px 24px;font-size:13px;display:flex}.ktp-board-counts b{color:var(--text)}.ktp-board-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:13px}.ktp-board-table th{text-align:left;color:var(--muted);background:var(--hover);padding:10px;font-weight:500}.ktp-board-table th:first-child{width:23%}.ktp-board-table th:nth-child(2){width:34%}.ktp-board-table th:nth-child(3){width:22%}.ktp-board-table td{vertical-align:top;border-top:1px solid var(--border);overflow-wrap:anywhere;white-space:pre-wrap;padding:14px 10px}.ktp-board-info,.ktp-board-theme,.ktp-board-state{gap:9px;min-width:0;display:grid}.ktp-board-info span{color:var(--muted)}.ktp-board-theme label{margin:0;font-size:12px}.ktp-board-theme select{width:100%;min-width:0;max-width:100%;font-size:12px}.ktp-board-theme button{justify-self:start;font-size:12px}.ktp-lesson-board details{overflow-wrap:anywhere;font-size:12px}.ktp-lesson-board details ul,.ktp-board-state ul{margin:4px 0;padding-left:18px}.ktp-lesson-board summary{cursor:pointer}.ktp-board-shared,.ktp-board-state ul,.ktp-board-empty{color:var(--notice-text)}.ktp-board-state a{font-size:12px}.ktp-board-week{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.ktp-board-calendar{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px;display:grid}.ktp-board-calendar article{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:10px;align-content:start;gap:15px;min-width:0;padding:16px;display:grid}.ktp-workflow-period{flex-wrap:wrap;gap:12px;display:flex}.ktp-workflow-period label{flex:180px;min-width:0}.ktp-workspace-tabs{flex-wrap:wrap;gap:8px;display:flex}@media (max-width:900px){.ktp-board-table,.ktp-board-table tbody,.ktp-board-table tr,.ktp-board-table td{width:100%;display:block}.ktp-board-table thead{display:none}.ktp-board-table tr{border:1px solid var(--border);border-radius:10px;margin-bottom:14px;padding:5px 12px}.ktp-board-table td{border:0;padding:10px 0}.ktp-board-table td:before{content:attr(data-label);color:var(--muted);margin-bottom:6px;font-size:11px;display:block}.ktp-board-info{gap:6px}.ktp-board-week button{font-size:12px}.ktp-workspace-tabs button{flex:auto}}
.attestation-view{gap:18px;display:grid}.attestation-card{gap:16px;display:grid}.attestation-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.attestation-meta small,.attestation-meta b{display:block}.attestation-meta b{overflow-wrap:anywhere;margin-top:5px}.attestation-setup-fields{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr);gap:16px;display:grid}.attestation-setup-fields label{margin-top:10px}.attestation-table input,.attestation-table select{min-width:145px;margin:0}.attestation-table th,.attestation-table td{vertical-align:middle}.attestation-summary{flex-wrap:wrap;gap:10px;display:flex}.attestation-summary span{border:1px solid var(--border);background:var(--surface-subtle);border-radius:8px;padding:10px 14px}.attestation-actions{gap:12px;display:grid}.attestation-actions label{margin:0}.attestation-history{border-top:1px solid var(--border);padding-top:16px}.attestation-history article{border-bottom:1px solid var(--border);padding:12px 0}.attestation-history article p{margin:5px 0}.attestation-statement{border:1px solid var(--success-border);border-radius:8px;padding:14px}.attestation-reviewed{background:var(--notice-bg);color:var(--notice-text)}.attestation-completed{border-color:var(--success-border);color:var(--green)}@media (max-width:760px){.attestation-meta{grid-template-columns:1fr 1fr}.attestation-setup-fields{grid-template-columns:1fr}.attestation-table input,.attestation-table select{min-width:135px}.attestation-view .table-scroll{margin-inline:-8px}.attestation-summary span{flex:120px}}.attestation-workflow{gap:14px;min-width:0;display:grid}.attestation-workflow h3,.attestation-workflow p{margin:0}.attestation-workflow .notice{gap:8px;display:grid}.attestation-workflow .notice button{text-align:left;white-space:normal;justify-self:start}.attestation-workflow-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.attestation-workflow-steps>div{align-content:start;gap:8px;min-width:0;display:grid}.attestation-workflow-steps button{white-space:normal;width:100%}.attestation-workflow-steps small{overflow-wrap:anywhere}@media (max-width:760px){.attestation-workflow-steps{grid-template-columns:1fr}}
.journal-period{margin:20px 0}.journal-period fieldset{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.journal-period label{margin:0;font-size:12px}.journal-period select,.journal-period input{width:auto;max-width:100%}.journal-period-arrows{gap:8px;display:flex}.journal-period .hint{margin-top:10px}.journal-topic-preview{white-space:nowrap;text-overflow:ellipsis;max-width:155px;margin:6px auto;font-size:11px;font-weight:400;display:block;overflow:hidden}.journal-date-button{color:var(--blue);padding:4px 6px;font-weight:600}.lesson-details-grid{gap:14px;margin:20px 0;display:grid}.lesson-details-grid dt{color:var(--muted);font-size:12px}.lesson-details-grid dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0}.lesson-roster-heading{margin:24px 0 8px}.journal-empty{margin-top:20px}.journal-mobile .lesson-details-button{margin:10px 0}.journal-tab-content[aria-busy=true]{opacity:.65;pointer-events:none}.journal-mobile select{max-width:100%}.journal-table th:first-child{white-space:normal;max-width:260px}.journal-table th:last-child small{white-space:normal}.journal-total-label{margin:14px 0}@media (max-width:760px){.journal-period fieldset{align-items:stretch}.journal-period label{flex:125px;min-width:0}.journal-period select,.journal-period input{width:100%}.journal-period-arrows{align-self:end}.journal-period button{min-height:40px}.tabs{flex-wrap:wrap;gap:12px}.student-row{gap:12px}.student-row>span{overflow-wrap:anywhere;min-width:0}.student-row .cell-button{flex-shrink:0}.journal-period .pagination{margin-top:14px}}.journal-selection{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.journal-selection label{min-width:0;margin:0}.journal-selection select{min-width:0}.assignment-card h2{overflow-wrap:anywhere}.journal-subject-card{align-self:start;padding:0;overflow:hidden}.journal-subject-toggle{background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:space-between;align-items:stretch;gap:24px;width:100%;min-height:180px;padding:24px;display:flex}.journal-subject-toggle:hover{background:var(--hover)}.journal-subject-toggle h2{margin:7px 0 8px}.journal-subject-toggle .eyebrow{margin:0;display:block}.subject-open-label{color:var(--blue);justify-content:space-between;align-items:center;font-size:12px;display:flex}.journal-subject-toggle[aria-expanded=true] .subject-open-label svg{transform:rotate(90deg)}.journal-group-list{border-top:1px solid var(--border);padding:18px}.journal-group-list>p{margin:0 0 8px;font-size:12px}.journal-group-button{text-align:left;border:0;border-radius:8px;justify-content:space-between;width:100%;padding:13px 10px}.journal-group-button>span{min-width:0}.journal-group-button b,.journal-group-button small{display:block}.journal-group-button small{white-space:normal;overflow-wrap:anywhere;margin-top:3px}.journal-group-button .archive-label{color:var(--danger)}@media (max-width:1000px){.journal-selection{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.journal-selection{grid-template-columns:1fr}}@media (max-width:760px){.journal-subject-toggle{min-height:150px;padding:19px}.journal-group-list{padding:12px}.journal-group-button{padding:12px 8px}}.record-check{align-items:center;gap:10px;margin:10px 0;display:flex!important}.record-check input[type=checkbox]{width:18px;min-width:18px;height:18px;margin:0}.record-roster{border:1px solid var(--border);border-radius:8px;max-height:260px;padding:8px;overflow:auto}.record-selection{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.record-history{border-top:1px solid var(--border);margin-top:24px;padding-top:16px}.record-history article{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:12px 0}.record-history article p{white-space:pre-wrap;margin:6px 0}.record-before{opacity:.65}.record-history small{display:block}.journal-table th>.text-button{width:max-content;max-width:100%;margin:7px auto 0;display:flex}
.journal-toolbar{flex-wrap:wrap;align-items:center;gap:16px;margin:16px 0 6px;display:flex}.journal-main-tabs{gap:6px;display:flex}.journal-toolbar .journal-period{flex:1;margin:0}.journal-period.compact fieldset{align-items:center;gap:8px}.journal-period.compact label{align-items:center;gap:8px;display:flex}.journal-period.compact .hint{display:none}.journal-period.compact input,.journal-period.compact select{margin:0;padding:8px}.journal-more{margin-left:auto;position:relative}.journal-more summary,.grid-help summary{cursor:pointer;color:var(--muted);padding:8px;font-size:13px}.journal-more>div{z-index:12;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:260px;padding:14px;position:absolute;top:100%;right:0;box-shadow:0 8px 24px #0002}.journal-more>div>button{text-align:left;background:0 0;border:0;width:100%;display:block}.journal-more .summary-strip{margin:10px 0;font-size:12px;display:block}.journal-more .summary-strip span{margin:6px 0;display:block}.journal-focused .journal-compact-heading{margin:12px 0}.journal-focused .journal-compact-heading h1{font-size:22px}.journal-focused .section-heading h2{color:var(--muted);font-size:14px;font-weight:500}.grid-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.grid-save-state{min-height:18px;margin:0;font-size:12px}.grid-help{margin-left:auto;position:relative}.grid-help[open]{max-width:600px}.grid-help p{color:var(--muted);font-size:13px}.journal-focused .journal-grid-scroll{border:1px solid var(--input-border);border-radius:8px;height:auto;min-height:240px;max-height:calc(100vh - 285px)}.journal-grid-table caption{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.journal-focused .journal-grid-table th,.journal-focused .journal-grid-table td{border-color:var(--input-border);min-width:64px}.journal-focused .journal-grid-table thead th{border-bottom:1px solid var(--input-border);background:var(--surface-subtle);height:58px;padding:8px 3px}.journal-grid-table thead button{color:var(--blue);font-size:13px}.journal-grid-table thead small{color:var(--muted);margin-top:6px;font-size:10px;font-weight:400}.journal-focused .journal-grid-table th:first-child{white-space:normal;min-width:245px;max-width:265px;padding:10px}.journal-grid-table .student-number{width:24px;color:var(--muted);font-size:12px;display:inline-block}.journal-grid-table .student-profile-link{max-width:210px;color:var(--text);font-size:13px;text-decoration:none}.journal-grid-table .student-profile-link:hover{text-decoration:underline}.journal-focused .journal-grid-table tbody tr:nth-child(5n)>*{border-bottom-color:var(--navy)}.journal-focused .journal-grid-table .active-column,.journal-focused .journal-grid-table .active-row>th{background:var(--accent-soft)}.journal-focused .journal-grid-table .grid-average{background:var(--surface-subtle);border-left:1px solid var(--input-border);z-index:1;min-width:75px;font-size:12px;position:sticky;right:0}.journal-focused .journal-grid-table thead .grid-average{z-index:3}.journal-focused .grid-cell{min-height:44px}.journal-focused .grid-cell input{min-width:62px;min-height:44px;padding:8px 2px;font-size:16px;font-weight:500}.journal-focused .grid-cell:not(:focus-within):has(.grid-tokens span){background:0 0}.journal-focused .grid-cell:focus-within{box-shadow:inset 0 0 0 2px var(--primary)}.journal-focused .grid-cell .grid-tokens{justify-content:center;align-items:center;padding:0;font-size:15px;display:flex;inset:0}.journal-focused .grid-cell:focus-within .grid-tokens{display:none}.grid-grades{align-items:center;gap:3px;display:flex}.grade-badge{background:var(--primary);color:#fff;border:0;border-radius:2px;justify-content:center;align-items:center;width:20px;height:22px;font-weight:700;line-height:1;display:inline-flex}.grade-5{background:#45972e}.grade-4{background:#65a13b}.grade-3{background:#ee981d}.grade-2{background:#d72132}.grid-attendance{font-size:12px;font-weight:500;position:absolute;top:3px;left:4px}.grid-presence{color:var(--muted);font-size:22px}.cell-picker{z-index:100;background:var(--surface);width:min(280px,100vw - 24px);color:var(--text);border:1px solid var(--input-border);border-radius:12px;padding:12px;position:fixed;box-shadow:0 10px 35px #0003}.cell-picker-grades{gap:8px;display:flex}.cell-picker-grades .grade-badge{color:#fff;border-radius:6px;flex:1;width:40px;height:38px;padding:0;font-size:20px}.cell-picker-attendance{gap:5px;padding:10px 0;display:flex}.cell-picker-attendance button{padding:7px;font-size:12px}.cell-picker-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding-top:8px;display:flex}.cell-picker-footer>button{color:var(--muted);background:0 0;border:0;padding:5px;font-size:12px}.cell-picker-footer summary{cursor:pointer;font-size:12px}.cell-picker-footer details[open]{position:relative}.cell-picker-footer details>button{width:100%;margin-top:6px;font-size:12px;display:block}.lesson-quick-actions{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}dialog:has(.grade-picker){border-radius:0;width:min(470px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:24px;position:fixed;inset:0 0 0 auto;overflow-y:auto}dialog:has(.grade-picker) .dialog-body{padding:0}.journal-timeline{background:var(--surface-subtle);border:1px solid var(--input-border);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:12px 0;padding:12px 16px;display:flex}.journal-timeline>div:first-child{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.journal-timeline strong{font-size:13px}.journal-timeline span,.journal-timeline small{color:var(--muted);font-size:12px}.journal-timeline small{flex-basis:100%}.journal-timeline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.journal-timeline-actions button,.journal-timeline-actions select{min-height:36px;font-size:12px}.journal-timeline-actions label{align-items:center;gap:8px;font-size:12px;display:flex}.journal-main-tabs{flex-wrap:wrap}@media (max-width:760px){.journal-toolbar{gap:8px}.journal-toolbar .journal-period{flex-basis:100%;order:3}.journal-period.compact label{flex:0 auto}.journal-focused .journal-grid-table th:first-child{min-width:170px;max-width:180px}.journal-grid-table .student-profile-link{max-width:140px;font-size:12px}.journal-grid-table .student-number{width:18px}.journal-focused .journal-grid-scroll{max-height:65vh}.journal-more>div{right:0}.journal-grid-table .grid-average{min-width:60px!important}.journal-timeline{padding:12px}.journal-timeline-actions{width:100%}.journal-timeline-actions label{flex:1}.journal-timeline-actions select{flex:1;min-width:0}}.journal-workspace-heading{justify-content:space-between;align-items:center;gap:16px;margin:12px 0;display:flex}.journal-workspace-heading h2{color:var(--muted);margin:0 0 4px;font-size:14px;font-weight:500}.journal-workspace-heading .muted{font-size:12px}.journal-workspace-heading>button{flex-shrink:0}.journal-workspace-expanded{z-index:80;background:var(--bg);flex-direction:column;padding:16px 24px;display:flex;position:fixed;inset:0;overflow:auto}.journal-workspace-expanded .journal-workspace-heading{margin:0 0 10px}.journal-workspace-expanded .journal-workspace-heading h2{color:var(--text);font-size:18px;font-weight:600}.journal-workspace-tools{justify-content:space-between;align-items:center;gap:12px;display:flex}.journal-workspace-tools .journal-period,.journal-workspace-tools label{margin:0}.journal-workspace-expanded>.journal-view-switch{margin:8px 0}.journal-workspace-expanded>.journal-timeline{margin:0 0 8px;padding:8px 12px}.journal-workspace-expanded .journal-timeline small{display:none}.journal-workspace-expanded>.journal-tab-content{flex-direction:column;flex:1;min-height:240px;display:flex}.journal-workspace-expanded .journal-grid-panel{flex-direction:column;flex:1;min-height:0;display:flex}.journal-focused .journal-workspace-expanded .journal-grid-scroll{flex:1;height:auto;min-height:200px;max-height:none}.journal-workspace-expanded .journal-fill-filter{margin:4px 0 8px}.journal-workspace-expanded .grid-meta{flex-shrink:0}.journal-workspace-expanded .journal-grid-table th,.journal-workspace-expanded .journal-grid-table td{min-width:80px}.journal-workspace-expanded .grid-cell,.journal-workspace-expanded .grid-cell input{min-height:50px}.journal-workspace-expanded .grid-cell input{font-size:18px}.journal-workspace-expanded .grade-badge{width:24px;height:26px;font-size:17px}@media (max-width:760px){.journal-workspace-heading{align-items:flex-start;gap:8px}.journal-workspace-heading>button{padding:8px;font-size:12px}.journal-workspace-expanded{padding:12px}.journal-workspace-expanded .journal-workspace-heading h2{font-size:15px}.journal-workspace-tools>small{display:none}}.cell-picker-grades,.grade-picker-signed{grid-template-columns:repeat(12,minmax(0,1fr));display:grid}.cell-picker-grades>button,.grade-picker-signed>button{grid-column:span 3}.cell-picker-grades>button:nth-child(n+5),.grade-picker-signed>button:nth-child(n+5){grid-column:span 4}.cell-picker-grades .grade-badge{width:100%}
.journal-workspace-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.journal-grid-actions{justify-content:flex-end;margin:0 0 8px;display:flex}.journal-focused .journal-grid-table tbody tr:focus-within>th{background:var(--accent-soft)}.journal-workspace-expanded{height:100dvh;padding:6px 8px;overflow:hidden}.journal-workspace-expanded .journal-workspace-heading{flex-shrink:0;gap:8px;min-height:34px;margin:0 0 5px}.journal-workspace-expanded .journal-workspace-heading>div:first-child{min-width:0}.journal-workspace-expanded .journal-workspace-heading h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;overflow:hidden}.journal-workspace-expanded .journal-workspace-heading .muted{font-size:10px}.journal-workspace-expanded button{font-size:12px}.journal-workspace-expanded .journal-workspace-actions button{min-height:32px;padding:5px 8px}.journal-workspace-expanded .journal-workspace-tools[hidden]{display:none}.journal-workspace-expanded>.journal-tab-content{min-height:0;overflow:hidden}.journal-focused .journal-workspace-expanded .journal-grid-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:3px;min-height:0;max-height:none}.journal-workspace-expanded .journal-grid-panel{min-height:0}.journal-workspace-expanded .grid-meta{min-height:24px}.journal-workspace-expanded .grid-help summary{padding:3px 6px;font-size:11px}.journal-workspace-tools-hidden>.journal-view-switch,.journal-workspace-tools-hidden>.journal-timeline,.journal-workspace-tools-hidden .journal-fill-filter{display:none}.journal-workspace-expanded .journal-fill-filter{gap:4px 12px;margin:0;padding:4px 0}.journal-workspace-expanded .journal-fill-filter small{display:none}.journal-workspace-expanded .journal-view-switch{gap:6px}.journal-workspace-expanded .journal-view-switch button{min-height:32px;padding:5px 8px}.journal-workspace-expanded .pair-navigation{gap:6px;margin-bottom:4px;padding:4px 6px;position:static}.journal-workspace-expanded .pair-navigation select{margin:0;padding:4px}.journal-workspace-expanded .pair-description{max-height:42px;margin:3px 0;font-size:11px;line-height:1.3;overflow:auto}.journal-focused .journal-workspace-compact .journal-grid-table th,.journal-focused .journal-workspace-compact .journal-grid-table td{min-width:54px}.journal-focused .journal-workspace-compact .journal-grid-table thead th[data-lesson]{width:62px;min-width:62px;height:58px;padding:3px 2px}.journal-focused .journal-workspace-compact .journal-grid-table th:first-child{min-width:200px;max-width:220px;padding:3px 5px}.journal-workspace-compact .student-profile-link{max-width:180px;font-size:12px;line-height:1.2}.journal-workspace-compact .student-number{width:20px;font-size:10px}.journal-focused .journal-workspace-compact .grid-cell,.journal-focused .journal-workspace-compact .grid-cell input{min-height:30px}.journal-focused .journal-workspace-compact .grid-cell input{min-width:52px;padding:4px 2px;font-size:14px;line-height:18px}.journal-workspace-compact .grade-badge{width:18px;height:20px;font-size:14px}.journal-workspace-compact .grid-attendance{font-size:10px;top:1px;left:2px}.journal-workspace-compact .journal-column-details{font-size:11px;line-height:1.1}.journal-workspace-compact .grid-task-label{margin:1px 0;font-size:9px}.journal-workspace-compact .journal-grid-table thead small{margin-top:2px;font-size:9px}.journal-workspace-compact .journal-completion{vertical-align:middle;border-radius:50%;width:7px;height:7px;margin:2px 0;padding:0;font-size:0;overflow:hidden}.journal-workspace-compact .journal-completion.completion-attention,.journal-workspace-compact .journal-completion.completion-empty{background:#ee981d}.journal-workspace-compact .journal-completion.completion-complete{background:#45972e}.journal-focused .journal-workspace-compact .journal-column-trigger{vertical-align:middle;width:24px;min-height:20px;margin:0 2px;padding:0;display:inline-flex}.journal-workspace-compact .journal-column-trigger svg{height:14px}.journal-focused .journal-workspace-compact .journal-grid-table .grid-average{min-width:52px;font-size:11px}.journal-focused .journal-workspace-compact .journal-grid-table .grid-final{min-width:90px;max-width:100px}.journal-workspace-compact .grid-final button{padding:3px;font-size:11px}@media (max-width:600px){.journal-workspace-expanded .journal-workspace-heading{flex-wrap:wrap;gap:3px}.journal-workspace-expanded .journal-workspace-heading>div:first-child{width:100%}.journal-workspace-expanded .journal-workspace-heading .muted{display:none}.journal-workspace-actions{flex-wrap:wrap}.journal-workspace-expanded .journal-workspace-actions button{min-height:40px}.journal-focused .journal-workspace-compact .journal-grid-table th:first-child{min-width:150px;max-width:160px}.journal-workspace-compact .student-profile-link{max-width:130px}.journal-focused .journal-workspace-compact .grid-cell,.journal-focused .journal-workspace-compact .grid-cell input{min-height:36px}.journal-focused .journal-workspace-compact .grid-cell input{font-size:16px}}
.curator-task-tabs{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.curator-task-tabs button[aria-pressed=true],.curator-task-stats button[aria-pressed=true]{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.curator-task-stats button{text-align:left;white-space:normal;font:inherit;color:inherit;justify-content:start;display:grid}.curator-task-filters{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:16px;display:flex}.curator-task-filters label{flex:180px;gap:8px;min-width:0;font-weight:600;display:grid}.curator-task-filters select,.curator-task-filters input{width:100%;min-width:0}.curator-task-filters .curator-task-search{flex:2 260px}.curator-task-table table{width:100%;min-width:850px}.curator-task-table th,.curator-task-table td{vertical-align:top;white-space:normal}.curator-task-table th:first-child{width:23%}.curator-task-table td:nth-child(2){width:35%}.curator-task-table small,.curator-task-table b{margin-top:7px;display:block}.curator-task-subject{color:var(--blue);text-align:left;white-space:normal;background:0 0;border:0;padding:0}.curator-task-overdue{color:var(--danger)}.curator-task-status{border:1px solid var(--border);border-radius:7px;padding:5px 8px;font-size:12px;display:inline-block}.curator-task-status.returned,.curator-task-status.missing{background:var(--surface-subtle)}.curator-task-pages{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;margin:16px 0;display:flex}.curator-task-pages span{font-size:13px}@media (max-width:600px){.curator-task-filters label{flex-basis:100%}.curator-task-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.curator-task-pages{justify-content:flex-start}}@media (max-width:700px){.curator-task-table{padding:12px}.curator-task-table table{white-space:normal;min-width:0;display:block}.curator-task-table caption{text-align:left;margin-bottom:12px;display:block}.curator-task-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.curator-task-table tbody{gap:12px;display:grid}.curator-task-table tbody tr{border:1px solid var(--border);border-radius:8px;grid-template-columns:minmax(0,1fr);display:grid;overflow:hidden}.curator-task-table th:first-child,.curator-task-table td:nth-child(2){width:auto}.curator-task-table tbody th,.curator-task-table tbody td{overflow-wrap:anywhere;min-width:0;padding:12px;display:block}.curator-task-table tbody td:last-child{border-bottom:0}.curator-task-table [data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:7px;font-size:10px;font-weight:400;display:block}.curator-task-table button{white-space:normal;text-align:left}}
.curator-overview.panel{padding:0;overflow:hidden}.curator-overview-heading{border-bottom:1px solid var(--border);padding:18px 20px}.curator-overview-heading h2{margin:0;font-size:15px}.curator-overview-heading p{margin:6px 0 0;font-size:12px}.curator-matrix{scrollbar-gutter:stable;overscroll-behavior:contain;isolation:isolate;max-height:clamp(320px,68dvh,780px);overflow:auto}.curator-matrix:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.curator-matrix table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}.curator-matrix th,.curator-matrix td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);overflow-wrap:anywhere;width:210px;min-width:210px;max-width:210px;padding:14px 16px}.curator-matrix thead th{z-index:2;background:var(--surface-subtle);box-shadow:0 1px var(--input-border);position:sticky;top:0}.curator-matrix tr>th:first-child{z-index:1;background:var(--surface);width:240px;min-width:240px;max-width:240px;box-shadow:2px 0 var(--input-border);position:sticky;left:0}.curator-matrix thead tr>th:first-child{z-index:3;background:var(--surface-subtle)}.curator-matrix .student-profile-link{white-space:normal;text-align:left;line-height:1.5}.curator-matrix tbody tr:nth-child(2n)>*{background:var(--surface-subtle)}.curator-matrix tbody tr>.curator-attention{background:color-mix(in srgb,#e8881c 10%,var(--surface))}.curator-matrix tbody tr:hover>*,.curator-matrix tbody tr:focus-within>*{background:var(--accent-soft)}@media (max-width:600px){.curator-overview-heading{padding:14px}.curator-matrix th,.curator-matrix td{width:190px;min-width:190px;max-width:190px;padding:12px;font-size:12px}.curator-matrix tr>th:first-child{width:140px;min-width:140px;max-width:140px}.curator-matrix .student-profile-link{font-size:12px}.curator-tools label:has(input[type=search]){min-width:0}}
.curator-reports{max-width:1200px}.curator-report-actions{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px;display:flex}.curator-report-actions label{min-width:180px;margin:0}.curator-report-actions p{align-self:center;margin:0}.curator-report-list article{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.curator-report-list p{margin:6px 0}.curator-report-list small{color:var(--muted)}.curator-report-section{border:1px solid var(--border);border-radius:12px;min-width:0;margin:24px 0;padding:20px}.curator-report-section legend{max-width:100%;padding:0 8px;font-weight:600}.curator-report-row{border-bottom:1px solid var(--border);margin-bottom:16px;padding:16px 0}.curator-report-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;display:grid}.curator-report-fields label{min-width:0}.curator-report-fields textarea{resize:vertical;width:100%;min-height:80px}.curator-report-section:disabled input,.curator-report-section:disabled textarea{opacity:1;color:var(--text);-webkit-text-fill-color:var(--text)}.curator-report-success{color:var(--success,#15803d)}@media (max-width:600px){.curator-report-fields{grid-template-columns:1fr}.curator-report-section{padding:12px}.curator-report-actions>*{width:100%}.curator-report-list article,.curator-report-form .section-heading{flex-direction:column;align-items:stretch}.curator-report-actions button{min-height:44px}.curator-reports input,.curator-reports textarea,.curator-reports select{min-width:0;max-width:100%}}.curator-report-print{border:1px solid var(--border);background:var(--surface);border-radius:8px;justify-content:center;align-items:center;padding:9px 13px;text-decoration:none;display:inline-flex}.curator-report-print:focus-visible{outline:3px solid var(--focus)}.curator-report-form>.section-heading>.curator-report-actions{margin-bottom:0}
.schedule-parity-badge{vertical-align:middle;white-space:nowrap;border:1px solid var(--border);background:var(--surface-subtle);color:var(--muted);border-radius:7px;justify-self:start;align-items:center;gap:7px;padding:5px 9px;font-size:12px;font-weight:600;line-height:1.4;display:inline-flex}.schedule-parity-badge[data-parity=NUMERATOR]{background:var(--accent-soft);color:var(--blue);border-color:color-mix(in srgb,var(--blue) 24%,var(--border))}.schedule-parity-badge[data-parity=DENOMINATOR]{background:color-mix(in srgb,#8866ca 10%,var(--surface));color:var(--lightningcss-light,#6840a5)var(--lightningcss-dark,#c2a5fa);border-color:color-mix(in srgb,#8866ca 30%,var(--border))}.parity-mark{border:1px solid;border-radius:4px;place-items:center;width:19px;height:19px;font-size:10px;line-height:1;display:grid}.schedule-week-type{flex-wrap:wrap;align-items:center;gap:10px;margin-top:7px;display:flex}.schedule-week-type .schedule-state{margin:0}.template-parity-choice{background:var(--surface-subtle);border-radius:10px;border:1px solid var(--border)!important;margin:0 0 14px!important;padding:12px!important}.template-editor .editor-change-list .schedule-parity-badge{margin:4px 0 8px}
.schedule-bulk-plan{border:1px solid var(--border);border-radius:.65rem;gap:.7rem;min-width:0;padding:.8rem;display:grid}.schedule-bulk-plan>summary{cursor:pointer;font-weight:650}.schedule-bulk-plan[open]>summary{margin-bottom:.65rem}.schedule-bulk-plan fieldset{min-width:0}.schedule-bulk-choices{flex-wrap:wrap;gap:.4rem .85rem;display:flex}.schedule-bulk-choices label,.schedule-composer .schedule-bulk-choices label{flex-direction:row;align-items:center;gap:.4rem;min-height:2.3rem;margin:0;display:flex}.schedule-bulk-choices input[type=checkbox]{width:auto}.schedule-bulk-preview{white-space:pre-line;max-height:12rem;margin:.4rem 0 .65rem;padding-inline-start:1.3rem;overflow:auto}.schedule-bulk-preview li{margin-bottom:.35rem}
.pair-edit-form>fieldset{border:0;gap:14px;min-width:0;margin:0;padding:0;display:grid}.cross-week-transfer{border:1px solid var(--border);background:var(--surface);border-radius:10px;gap:12px;padding:14px;display:grid}.cross-week-transfer h3,.cross-week-transfer p{overflow-wrap:anywhere;margin:0}.cross-week-transfer article{border-bottom:1px solid var(--border);gap:6px;padding:10px 0;display:grid}.cross-week-transfer label:has(input[type=checkbox]){align-items:flex-start;gap:10px;display:flex}.cross-week-transfer input[type=checkbox]{flex:none;width:18px;height:18px;margin:2px 0}.cross-week-transfer button{white-space:normal;max-width:100%}.cross-week-transfer code{overflow-wrap:anywhere}@media (max-width:380px){.pair-edit-form .pair-move-fields>label:first-child{grid-column:1/-1}}
.editor-view-modes{flex-wrap:wrap;gap:7px;display:flex}.editor-view-modes button{padding:8px 12px;font-size:12px}.editor-view-modes button[aria-pressed=true]{border-color:var(--blue);background:var(--accent-soft);color:var(--blue)}.schedule-day-board{gap:10px;min-width:0;display:grid}.day-board-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.day-board-toolbar>div{align-items:end;gap:7px;display:flex}.day-board-toolbar label{margin:0;font-size:12px}.day-board-toolbar select{margin-top:4px;padding:8px;font-size:12px}.day-board-toolbar>span{color:var(--muted);text-transform:capitalize;font-size:12px}.day-board-scroll{border:1px solid var(--border);background:var(--surface);border-radius:10px;max-height:72vh;overflow:auto}.day-board-scroll table{table-layout:fixed;white-space:normal;border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.day-board-scroll th{z-index:2;background:var(--surface);text-align:left;border-bottom:1px solid var(--border);padding:11px;position:sticky;top:0}.day-board-scroll th:first-child{z-index:3;text-align:center;width:55px;left:0}.day-board-scroll tbody th{z-index:1;top:auto}.day-board-scroll th small{color:var(--muted);margin-top:4px;font-size:11px;font-weight:400;display:block}.day-board-scroll td{vertical-align:top;background:var(--surface-subtle);border-right:1px solid var(--border);border-bottom:1px solid var(--border);cursor:pointer;height:115px;padding:6px}.day-board-scroll td:hover{background:var(--accent-soft)}.day-board-scroll .is-active-slot{box-shadow:inset 0 0 0 2px var(--blue)}.day-board-scroll article{border:1px solid var(--input-border);border-left:3px solid var(--blue);background:var(--surface);overflow-wrap:anywhere;border-radius:7px;margin-bottom:5px;padding:10px}.day-board-scroll article>b{font-size:13px;line-height:1.45;display:block}.day-board-scroll article>span{color:var(--muted);margin:5px 0;font-size:11px;display:block}.day-board-scroll article p{margin:5px 0;font-size:11px;line-height:1.5}.day-board-scroll article small{font-size:11px;line-height:1.5;display:block}.day-board-scroll article>div{gap:5px;margin-top:8px;display:flex}.day-board-scroll article button{padding:6px 7px;font-size:11px}.day-board-scroll article button:first-child{flex:1}.day-board-scroll .is-active-pair{border-color:var(--blue)}.day-board-scroll .is-cancelled{opacity:.7}.day-board-scroll article strong{color:var(--danger);font-size:11px}.day-board-add{width:100%;min-height:95px;color:var(--muted);opacity:.65;background:0 0;border:0;flex-direction:column;gap:6px;font-size:11px;display:flex}.day-board-add:hover,.day-board-add:focus-visible{opacity:1;color:var(--blue);background:0 0}.day-board-hint{color:var(--muted);margin:0;font-size:11px}@media (max-width:760px){.day-board-toolbar>div{width:100%}.day-board-toolbar label{flex:1}.day-board-scroll{max-height:70vh}.editor-view-modes{grid-template-columns:1fr 1fr;display:grid}.editor-view-modes button{padding:9px 6px;font-size:11px}}
.schedule-workbench{gap:14px;display:grid}.editor-filters{background:var(--surface);border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end;gap:12px;padding:16px;display:grid}.editor-filters label,.editor-controls label{min-width:0;margin:0;font-size:12px}.editor-search{grid-column:1/-1}.editor-filters input,.editor-filters select,.editor-controls select{padding:8px}.editor-controls,.editor-selection{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.editor-controls span{margin-right:auto}.editor-controls [aria-pressed=true]{border-color:var(--blue);color:var(--blue)}.editor-selection{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:12px}.editor-selection label,.editor-ack{align-items:center;gap:8px;margin:0;display:flex}.editor-selection select{width:auto;margin:0}.editor-selection input,.editor-ack input,.editor-table input,.editor-days input{flex:none;width:17px;height:17px;margin:0}.editor-table-scroll{border:1px solid var(--border);border-radius:10px;max-height:70vh;overflow:auto}.editor-table{background:var(--surface);white-space:normal;min-width:900px}.editor-table th{z-index:1;position:sticky;top:0}.editor-table td,.editor-table th{vertical-align:middle;padding:10px}.editor-table small{display:block}.editor-table tr.selected{background:var(--accent-soft)}.editor-table select{min-width:118px;margin:0;padding:6px;font-size:12px}.editor-days{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.editor-days section,.editor-days article{border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:12px}.editor-days article{margin-top:10px}.editor-days p{margin:6px 0}.editor-days label{gap:8px;display:flex}.editor-change-list{max-height:38vh;margin:12px 0;overflow:auto}.editor-change-list>div,.editor-change-list>article{border-bottom:1px solid var(--border);padding:12px 0}.editor-change-list p{overflow-wrap:anywhere;margin:5px 0}dialog:has(.editor-change-list){width:min(900px,100vw - 32px)}@media (max-width:600px){.editor-filters{grid-template-columns:1fr 1fr}.editor-selection select,.editor-controls .primary{width:100%}}.drag-board table{white-space:normal;table-layout:fixed;min-width:1200px}.drag-board th:first-child{width:55px}.drag-board td{vertical-align:top;border:1px solid var(--border);height:100px;padding:5px}.drag-board article{border:1px solid var(--input-border);background:var(--surface);border-radius:6px;margin:3px 0;padding:8px}.drag-board article[draggable=true]{cursor:grab}.drag-board article p{margin:5px 0}.drag-board article button{padding:4px;font-size:12px}.drag-board .drop-hover{background:var(--accent-soft);outline:2px solid var(--primary)}dialog:has(.template-editor){width:min(1000px,100vw - 32px)}.template-editor .editor-change-list button{margin-right:6px}.template-editor fieldset{border:0;padding:0}.schedule-workbench>.schedule-check{margin:.75rem 0}.schedule-check-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.schedule-stale-draft{margin:0}.schedule-stale-draft p{margin:.35rem 0 .65rem}.schedule-stale-draft>div{flex-wrap:wrap;gap:.5rem;display:flex}.conflict-queue>summary{color:var(--error-text);font-weight:650}.schedule-issue-actions{flex-wrap:wrap;gap:.4rem;display:flex}.schedule-issue-actions button{min-height:2.75rem}.schedule-workbench td[data-group-name]:focus{outline:3px solid var(--focus);outline-offset:-3px}.publication-problems:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.schedule-joint-preview{margin:.6rem 0;padding:0;list-style:none}.schedule-joint-preview li{border-top:1px solid var(--border);overflow-wrap:anywhere;gap:.2rem;padding:.6rem 0;display:grid}@media (max-width:560px){.schedule-issue-pair{flex-direction:column;align-items:stretch}.schedule-issue-actions>button{white-space:normal;max-width:100%}}
.schedule-editing-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;min-width:0;display:grid}.has-composer .schedule-editing-layout{grid-template-columns:minmax(0,1fr) 360px}.schedule-grid-workspace{grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;display:grid}.schedule-composer{border:1px solid var(--border);background:var(--surface);scrollbar-gutter:stable;min-width:0;max-height:calc(100dvh - 32px);color:var(--text);border-radius:14px;padding:18px;position:sticky;top:16px;overflow:auto;box-shadow:0 6px 24px #00000008}.composer-heading{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:16px;display:flex}.composer-eyebrow{letter-spacing:.12em;color:var(--muted);font-size:10px;font-weight:600}.composer-heading h3{margin:5px 0 0;font-size:19px;line-height:1.3}.composer-heading h3:focus{outline:none}.composer-heading>button{color:var(--muted);background:0 0;border:0;padding:6px}.composer-context{background:var(--accent-soft);color:var(--blue);border-radius:9px;gap:5px;margin-bottom:14px;padding:12px 14px;font-size:12px;display:grid}.composer-context>span{text-transform:capitalize}.composer-context>b{font-size:14px}.schedule-composer form>fieldset{border:0;min-width:0;margin:0;padding:0}.schedule-composer label{min-width:0;margin:12px 0 0;font-size:12px;display:block}.schedule-composer input,.schedule-composer select{min-width:0;max-width:100%;margin-top:6px;font-size:13px}.composer-subject-heading{align-items:center;gap:7px;margin-top:18px;font-size:12px;display:flex}.composer-subject-heading>span{color:var(--muted);margin-left:auto;font-size:11px}.composer-subjects{gap:5px;max-height:190px;margin-top:8px;padding:2px;display:grid;overflow:auto}.composer-subjects>button{text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:7px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:10px 11px;font-size:12px;line-height:1.45;display:flex}.composer-subjects>button>span{overflow-wrap:anywhere}.composer-subjects>button>svg{flex:none}.composer-subjects>button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--blue);color:var(--blue)}.composer-subjects>p{color:var(--muted);margin:8px 0;font-size:12px}.composer-details,.composer-manual-room{border-top:1px solid var(--border);margin-top:14px;padding-top:5px}.composer-details summary,.composer-manual-room summary{cursor:pointer;color:var(--muted);padding:9px 0;font-size:12px}.composer-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}.composer-fields>label{margin-top:6px}.schedule-composer .composer-joint{align-items:center;gap:9px;display:flex}.composer-joint input[type=checkbox]{flex:none;width:16px;height:16px;margin:0}.composer-joint-section{margin-top:12px}.composer-joint-toggle{border:1px solid var(--blue);background:var(--accent-soft);width:100%;min-height:42px;color:var(--blue);text-align:left;border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.composer-joint-toggle>svg{flex:none}.composer-joint-toggle>svg:last-child{margin-left:auto;transition:transform .15s}.composer-joint-toggle[aria-expanded=true]>svg:last-child{transform:rotate(45deg)}.composer-joint-toggle>b{background:var(--blue);min-width:21px;height:21px;color:var(--surface);border-radius:12px;justify-content:center;align-items:center;padding:0 5px;font-size:11px;display:inline-flex}.composer-joint-groups{border:1px solid var(--border);border-top:0;border-radius:0 0 8px 8px;padding:10px 12px}.composer-joint-groups .hint{margin:0;font-size:11px;line-height:1.5}.composer-joint-toggle[aria-expanded=true]{border-radius:8px 8px 0 0}.composer-joint-groups[hidden]{display:none}.composer-joint-options{max-height:250px;padding:2px;overflow:auto}.composer-joint-options .composer-joint{align-items:flex-start}.composer-joint-options .composer-joint>input{margin-top:2px}.composer-joint-options .composer-joint>span{overflow-wrap:anywhere;min-width:0}.composer-joint-options small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.4;display:block}.composer-quick-actions{flex-wrap:wrap;gap:5px;margin-bottom:12px;display:flex}.composer-quick-actions button{align-items:center;gap:5px;padding:6px 8px;font-size:11px;display:inline-flex}.composer-validation{background:var(--surface-subtle);color:var(--muted);border-radius:8px;align-items:center;gap:7px;margin-top:16px;padding:10px 12px;font-size:12px;line-height:1.5;display:flex}.composer-validation>svg{color:var(--blue);flex:none}.composer-validation.has-issues{border-left:3px solid #d99626;display:block}.composer-validation p{margin:6px 0}.composer-footer{gap:7px;margin-top:12px;display:grid}.composer-footer p{color:var(--muted);margin:0 0 4px;font-size:11px;line-height:1.5}.composer-footer button{justify-content:center;align-items:center;gap:7px;padding:10px;font-size:12px;display:flex}.composer-danger button{margin:6px 5px 0 0;font-size:12px}.composer-teacher-day{background:var(--surface-subtle);border:1px solid var(--border);border-radius:8px;margin-top:10px;padding:10px 12px;font-size:11px;line-height:1.5}.composer-teacher-day p{margin:0;font-size:11px}.composer-teacher-status{align-items:flex-start;gap:6px;display:flex}.composer-teacher-status svg{flex:none;margin-top:1px}.composer-teacher-status.is-free{color:var(--green)}.composer-teacher-status.is-busy{color:var(--error-text)}.composer-teacher-day summary{cursor:pointer;color:var(--muted);align-items:center;gap:5px;padding:8px 0 0;display:flex}.composer-teacher-conflicts{margin:8px 0;padding-left:16px}.composer-teacher-agenda{max-height:170px;margin-top:8px;overflow:auto}.composer-teacher-agenda article{border-top:1px solid var(--border);align-items:flex-start;gap:9px;padding:8px 0;display:flex}.composer-teacher-agenda article>b{white-space:nowrap;font-size:10px}.composer-teacher-agenda article>span{overflow-wrap:anywhere;min-width:0}.composer-teacher-agenda small{color:var(--muted);font-size:10px;display:block}.composer-teacher-agenda .is-overlapping{color:var(--error-text)}.composer-resource-error{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.composer-resource-error button{padding:4px 7px;font-size:11px}.composer-toolbar{flex-wrap:wrap;gap:7px;display:flex}.composer-toolbar button{align-items:center;gap:6px;padding:8px 10px;font-size:12px;display:inline-flex}.composer-toolbar button svg{flex:none}.composer-clipboard{border:1px dashed var(--blue);background:var(--accent-soft);border-radius:9px;align-items:center;gap:10px;min-width:0;padding:10px 14px;font-size:12px;display:flex}.composer-clipboard>span{overflow-wrap:anywhere;flex:1;min-width:0}.composer-clipboard small{color:var(--muted);margin-top:4px;display:block}.composer-clipboard>svg{color:var(--blue);flex:none}.composer-clipboard button{padding:7px;font-size:12px}.composer-notice{color:var(--muted);padding:5px 0;font-size:12px;line-height:1.5}.composer-paste{text-align:left;background:var(--accent-soft);border:1px dashed var(--blue);border-radius:8px;align-items:center;gap:9px;width:100%;padding:10px;font-size:12px;display:flex}.composer-paste small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.schedule-workbench .drag-board table{min-width:650px}.schedule-workbench .drag-board thead th{background:var(--surface);padding:12px 5px;font-size:12px}.schedule-workbench.has-composer .drag-board table{width:100%;min-width:0}.schedule-workbench .drag-board td{cursor:pointer;height:108px;transition:background .15s;position:relative}.schedule-workbench .drag-board td:hover{background:var(--accent-soft)}.schedule-workbench .drag-board td.is-active-slot{box-shadow:inset 0 0 0 2px var(--blue);background:var(--accent-soft)}.schedule-workbench .drag-board article.is-active-pair{border-color:var(--blue)}.schedule-workbench .drag-board .board-empty-add{width:100%;height:100%;min-height:74px;color:var(--muted);opacity:.55;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:5px;margin:0;padding:5px;font-size:11px;display:flex}.schedule-workbench .drag-board .board-empty-add span:first-child{font-size:20px;line-height:1}.schedule-workbench .drag-board td:hover .board-empty-add,.schedule-workbench .drag-board td:focus-within .board-empty-add{opacity:1;color:var(--blue)}.schedule-workbench .drag-board .board-pair-actions{gap:4px;display:flex}.schedule-workbench .drag-board .board-pair-actions>button{flex:1}.schedule-workbench .drag-board .board-pair-actions>.board-copy{flex:0 0 30px;width:auto;font-size:14px}@media (min-width:1500px){.has-composer .schedule-editing-layout{grid-template-columns:minmax(0,1fr) 380px}}@media (max-width:1100px){.schedule-workbench .drag-board table{min-width:570px}.has-composer .schedule-editing-layout{grid-template-columns:minmax(0,1fr)}.schedule-composer{z-index:30;width:min(380px,100vw - 24px);max-height:none;position:fixed;inset:12px 12px 12px auto;box-shadow:0 12px 55px #0004}.composer-toolbar{gap:5px}.composer-clipboard{flex-wrap:wrap}.composer-clipboard>span{min-width:150px}}@media (max-width:760px){.schedule-workbench .drag-board table{min-width:0}.schedule-workbench .drag-board td{height:auto}.schedule-workbench .drag-board td:not(:has(article)){padding:10px;display:block}.schedule-workbench .drag-board .board-empty-add{flex-direction:row;min-height:30px;font-size:12px}.schedule-workbench .drag-board tbody{flex-direction:column;gap:8px;display:flex}.schedule-workbench .drag-board tr{display:contents}.schedule-workbench .drag-board td{order:var(--slot-order)}.schedule-composer{border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh;padding:18px 20px;inset:0}.composer-toolbar{width:100%}.composer-toolbar .primary{margin-left:auto}.schedule-workbench>.editor-taskbar{gap:8px}.composer-clipboard>button:last-child{margin-left:auto}}.composer-join-offer{border:1px solid var(--border);border-left:3px solid var(--blue);background:var(--surface);border-radius:8px;margin:12px 0;padding:12px}.composer-join-offer>strong{font-size:13px;display:block}.composer-join-offer>div+div{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.composer-join-members{gap:6px;margin:8px 0;padding:0;list-style:none;display:grid}.composer-join-members li{overflow-wrap:anywhere;gap:1px;min-width:0;font-size:12px;display:grid}.composer-join-members span{color:var(--muted)}.composer-join-offer button{white-space:normal;min-height:38px}.planner-row-actions{flex-wrap:wrap;gap:5px;display:flex}.schedule-workbench button.schedule-add-joint-group{width:auto;min-height:36px;color:var(--blue);white-space:normal;text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:5px;margin-top:3px;padding:4px 7px;font-size:11px;display:inline-flex}.schedule-workbench button.schedule-add-joint-group:hover{background:var(--accent-soft)}.schedule-add-joint-group svg{flex:none}
dialog:has(.schedule-corrections){width:min(42rem,100vw - 2rem)}dialog:has(.schedule-corrections) .dialog-body>.section-heading{z-index:1;background:var(--surface);border-bottom:1px solid var(--border);margin-bottom:.8rem;padding-block:.3rem .6rem;position:sticky;top:0}dialog:has(.schedule-corrections) .dialog-body>.section-heading h2{margin:0}.schedule-corrections{gap:1rem;min-width:0;display:grid}.correction-fields{border:0;gap:.75rem;min-width:0;margin:0;padding:0;display:grid}.correction-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.schedule-corrections label{gap:.35rem;min-width:0;margin:0;display:grid}.schedule-corrections input:not([type=checkbox]),.schedule-corrections select{width:100%;min-width:0;margin:0}.correction-fields>.hint{margin:0}.schedule-corrections input[type=checkbox]{margin:.2rem 0 0}.correction-selection{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.correction-selection button{min-height:2.75rem}.correction-rows{border:1px solid var(--border);overscroll-behavior:contain;border-radius:.65rem;max-height:17rem;overflow:auto}.correction-rows p{margin:0;padding:.75rem}.schedule-corrections .correction-row{cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.7rem;min-height:2.75rem;padding:.55rem .75rem;display:grid}.correction-row+.correction-row,.correction-preview-rows li+li{border-top:1px solid var(--border)}.correction-row:focus-within{outline:2px solid var(--accent-text);outline-offset:-2px}.correction-row strong,.correction-row small,.correction-review strong,.correction-review small{overflow-wrap:anywhere;display:block}.correction-review{border-top:1px solid var(--border);gap:.65rem;padding-top:1rem;scroll-margin-top:4rem;display:grid}.correction-review h3,.correction-review p{margin:0}.correction-journals,.correction-preview-rows{margin:.4rem 0 0;padding:0;list-style:none}.correction-journals li,.correction-preview-rows li{padding:.45rem 0}.correction-preview-rows{overscroll-behavior:contain;max-height:16rem;overflow:auto}.correction-publish{gap:.65rem;display:grid}@media (max-width:560px){.correction-form-grid{grid-template-columns:minmax(0,1fr)}}
.schedule-week{gap:16px;display:grid}.week-toolbar,.draft-toolbar,.week-footer{background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;padding:14px;display:flex}.week-toolbar>div:nth-child(2){gap:3px;margin-right:auto;display:grid}.week-toolbar small{color:var(--muted)}.week-navigation,.week-actions,.draft-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.week-navigation input{width:145px;margin:0;padding:8px}.week-navigation button,.week-actions button,.draft-toolbar button,.week-footer button{align-items:center;gap:6px;display:inline-flex}.draft-toolbar>span{align-items:center;gap:7px;margin-right:auto;display:flex}.week-grid{grid-template-columns:repeat(5,minmax(170px,1fr));gap:10px;padding-bottom:6px;display:grid;overflow-x:auto}.week-grid.day-view{grid-template-columns:minmax(0,520px);justify-content:center;overflow:visible}.week-day{background:var(--surface);border:1px solid var(--border);border-radius:14px;align-self:start;min-width:170px;padding:10px}.week-day>header{border-bottom:1px solid var(--border);justify-content:space-between;padding:4px 3px 10px;display:flex}.week-day>header small{color:var(--muted)}.week-day article{border:1px solid var(--border);background:var(--background);cursor:default;border-radius:10px;margin-top:10px;padding:10px;position:relative}.week-day article.selected{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 20%,transparent)}.week-day article.cancelled{opacity:.65}.week-day article.cancelled:after{content:"";border-top:2px solid var(--danger);position:absolute;top:50%;left:8px;right:8px}.week-day article>div{justify-content:space-between;gap:6px;font-size:13px;display:flex}.week-day article h3{margin:9px 0 5px;font-size:14px;line-height:1.35}.week-day article p,.week-day article small{color:var(--muted);margin:4px 0;font-size:12px;line-height:1.45}.week-day article strong{color:var(--danger);margin:7px 0;font-size:12px;display:block}.week-day article button{z-index:1;width:100%;margin-top:8px;position:relative}.validation{border:1px solid var(--border);border-radius:12px;gap:5px;padding:14px;display:grid}.validation span{color:var(--muted)}.validation p{margin:4px 0}.week-footer span{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.schedule-week .modal label{gap:6px;margin:12px 0;display:grid}@media (max-width:900px){.week-grid{display:block;overflow:visible}.week-day{min-width:0;margin-bottom:12px}.week-day:has(article:first-of-type){grid-template-columns:1fr 1fr;gap:10px;display:grid}.week-day>header{grid-column:1/-1}.week-day article{margin-top:0}}@media (max-width:600px){.week-toolbar,.draft-toolbar{align-items:stretch}.week-navigation,.week-actions,.week-navigation input{width:100%}.week-actions button,.draft-toolbar button{flex:1;justify-content:center}.week-day:has(article:first-of-type){display:block}.week-day>header{margin-bottom:10px}.week-day article{margin-top:10px}}.week-grid .journal-picker{min-width:0;max-width:100%;margin-left:0}.week-grid .journal-picker .journal-link{white-space:normal;width:100%}
.schedule-form fieldset{border:0;min-width:0;margin:16px 0;padding:0}.schedule-form legend{margin-bottom:12px;font-weight:600}.schedule-fields{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.schedule-assignment-list{border:1px solid var(--border);border-radius:8px;max-height:230px;margin:12px 0;overflow:auto}.schedule-assignment-list label{border-bottom:1px solid var(--border);cursor:pointer;align-items:flex-start;gap:10px;margin:0;padding:12px;display:flex}.schedule-assignment-list label:last-child{border-bottom:0}.schedule-assignment-list label:hover{background:var(--hover)}.schedule-assignment-list input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;padding:0}.schedule-assignment-list span{overflow-wrap:anywhere;min-width:0;line-height:1.45}.schedule-assignment-list small{color:var(--muted);margin-top:4px;font-weight:400;display:block}.schedule-form .hint{display:block}.schedule-history article,.schedule-notifications article{border-top:1px solid var(--border);overflow-wrap:anywhere;padding:16px 0}.schedule-history{margin-top:20px}.schedule-history p{margin:8px 0}.schedule-edit-button{margin-top:10px}.schedule-notifications p{white-space:pre-wrap;line-height:1.6}.schedule-tools{flex-wrap:wrap;gap:12px;margin:16px 0;display:flex}.schedule-tools input{flex:1;min-width:0}@media (max-width:600px){.schedule-fields{grid-template-columns:1fr}.schedule-form .dialog-actions{flex-wrap:wrap}.schedule-form .dialog-actions button{width:100%}}.schedule-form .schedule-joint-toggle{align-items:flex-start;gap:10px;font-size:12px;display:flex}.schedule-joint-toggle input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;padding:0}.schedule-joint-toggle span{min-width:0}.schedule-joint-toggle small{margin-top:4px;font-weight:400;display:block}
.week-day article{background:var(--bg)}.week-filter{max-width:520px;margin:0}.week-day article small.success{color:var(--green)}.schedule-week .modal label.schedule-removal-confirmation{align-items:flex-start;gap:10px;line-height:1.5;display:flex}.schedule-removal-confirmation input{width:18px;min-width:18px;height:18px;margin-top:3px}.schedule-removal-confirmation span{font-weight:500}
.schedule-simple-header{background:var(--surface);border:1px solid var(--border);border-radius:14px;gap:16px;padding:20px;display:grid}.schedule-week-heading,.schedule-next-step,.schedule-secondary-actions,.editor-taskbar,.editor-taskbar>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.schedule-week-heading h2{margin:0 0 6px;font-size:20px}.schedule-state{color:var(--muted);font-size:12px}.schedule-state.editing{color:var(--blue);font-weight:700}.schedule-next-step{border-top:1px solid var(--border);padding-top:14px}.schedule-next-step p{color:var(--muted);margin:4px 0 0;font-size:13px}.schedule-next-step>div{flex:1;min-width:220px}.schedule-secondary-actions{justify-content:flex-start}.schedule-more{min-width:0}.schedule-more summary,.editor-extra-filters summary{cursor:pointer;color:var(--muted);border-radius:6px;padding:8px;font-size:13px}.schedule-more summary:focus-visible,.editor-extra-filters summary:focus-visible{outline:2px solid var(--blue)}.schedule-more[open]{flex-basis:100%}.schedule-more>div{background:var(--background);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;gap:8px;padding:8px;display:flex}.editor-taskbar{padding:14px 0}.editor-taskbar>div{justify-content:flex-start}.editor-taskbar small{color:var(--muted);font-size:12px}.schedule-workbench>.editor-filters{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(160px,1fr));padding:12px}.schedule-workbench>.editor-filters .editor-search{grid-column:auto}.editor-extra-filters{margin-top:-10px}.editor-extra-filters .editor-filters{padding:12px}.editor-selection{font-size:12px}.editor-selection>span{color:var(--muted);margin-right:auto}.schedule-check{margin:0;padding:12px}.schedule-check>button{margin-left:12px}@media (max-width:700px){.schedule-simple-header{padding:14px}.schedule-week-heading>div,.schedule-week-heading .week-navigation{width:100%}.schedule-week-heading h2{font-size:18px}.schedule-next-step>.primary,.editor-taskbar>.primary{width:100%}.schedule-workbench>.editor-filters{grid-template-columns:1fr 1fr}.schedule-workbench>.editor-filters .editor-search{grid-column:1/-1}.editor-taskbar small{flex-basis:100%}.schedule-secondary-actions>button,.schedule-more{width:100%}.schedule-more>div{display:grid}.editor-extra-filters .editor-filters{grid-template-columns:1fr 1fr}}.editor-table .cell-quick-edit{text-align:left;border:1px dashed var(--border);width:100%;color:var(--text);font:inherit;cursor:pointer;background:0 0;border-radius:6px;padding:7px;display:block}.editor-table .cell-quick-edit:hover,.editor-table .cell-quick-edit:focus-visible{border-color:var(--blue);background:var(--accent-soft);outline:2px solid var(--blue);outline-offset:1px}.editor-table .cell-quick-edit small{color:var(--blue)}
.schedule-simple-header{gap:10px;padding:14px 18px}.schedule-week-heading h2{font-size:18px}.schedule-editing-hint{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.schedule-editing-hint button{margin-left:12px}.schedule-secondary-actions{justify-content:flex-end}.schedule-more>div{background:var(--surface)}.schedule-workbench{gap:10px;margin-top:12px}.schedule-workbench>.editor-taskbar{padding:4px 0}.schedule-change-count{color:var(--muted);font-size:13px}.schedule-workbench>.editor-filters.simple-filters{grid-template-columns:minmax(150px,1fr) minmax(230px,2fr) auto;align-items:end;padding:12px}.simple-filters .editor-search{grid-column:auto}.workbench-more{padding-bottom:8px;position:relative}.workbench-more summary{cursor:pointer;color:var(--muted);font-size:13px}.workbench-more>div{z-index:10;background:var(--surface);border:1px solid var(--border);border-radius:10px;width:290px;max-height:65vh;padding:14px;position:absolute;top:100%;right:0;overflow:auto;box-shadow:0 8px 24px #0002}.workbench-more>div>button{text-align:left;width:100%;margin-bottom:5px;display:block}.workbench-more .editor-extra-filters{margin:8px 0 0}.workbench-more .editor-filters{border:0;grid-template-columns:1fr;padding:8px;display:grid}.workbench-more label select{width:100%}.schedule-workbench .editor-controls{color:var(--muted);font-size:12px}.schedule-workbench .editor-controls button{background:0 0;border:0;padding:4px 8px;font-size:12px}.schedule-workbench .drag-board{background:var(--surface);max-height:70vh}.schedule-workbench .drag-board table{min-width:850px}.schedule-workbench .drag-board td{background:var(--surface-subtle);height:72px}.schedule-workbench .drag-board article{background:var(--surface);border:1px solid var(--input-border);border-left:3px solid var(--blue);box-shadow:none;border-radius:7px;padding:10px}.schedule-workbench .drag-board article b{color:var(--muted);font-size:11px;font-weight:500}.schedule-workbench .drag-board article p{font-size:12px;font-weight:600;line-height:1.4}.schedule-workbench .drag-board article small{color:var(--muted);font-size:10px;line-height:1.6;display:block}.schedule-workbench .drag-board article button{border:1px solid var(--input-border);background:var(--surface);width:100%;color:var(--blue);border-radius:5px;margin-top:8px;padding:5px}.schedule-workbench .drag-board article button:hover{background:var(--accent-soft)}.pair-action-picker{gap:10px;display:grid}.pair-action-picker p{color:var(--muted);margin:0 0 8px}.pair-action-picker>button{text-align:left;background:var(--surface-subtle);border-radius:8px;padding:14px}.pair-action-picker summary,.resource-options summary,.publication-filters summary{cursor:pointer;color:var(--muted);padding:10px 0;font-size:13px}.pair-action-picker details button{margin-top:10px}.schedule-check{border:0;font-size:12px;background:0 0!important;padding:8px 0!important}.schedule-check>button{padding:4px 8px;font-size:11px}.resource-options .resource-picker{background:var(--surface-subtle);border-radius:8px;margin-bottom:14px;padding:12px}.schedule-workbench .editor-table{min-width:800px}@media (max-width:760px){.schedule-week-heading .week-navigation{justify-content:flex-start}.schedule-week-heading .week-navigation input{max-width:155px}.schedule-workbench>.editor-filters.simple-filters{grid-template-columns:1fr auto}.simple-filters .editor-search{grid-area:2/1/auto/-1}.schedule-workbench .editor-taskbar>.primary{width:auto}.workbench-more{padding:8px}.workbench-more>div{width:min(290px,100vw - 40px)}.schedule-workbench .drag-board{background:0 0;border:0;max-height:none}.schedule-workbench .drag-board table{width:100%;min-width:0;display:block}.schedule-workbench .drag-board thead{display:none}.schedule-workbench .drag-board tbody{gap:10px;display:grid}.schedule-workbench .drag-board tr{display:contents}.schedule-workbench .drag-board tr>th{display:none}.schedule-workbench .drag-board td{border-radius:10px;height:auto;padding:12px;display:none}.schedule-workbench .drag-board td:has(article){display:block}.schedule-workbench .drag-board td:before{content:attr(data-day-label);color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:600;display:block}.schedule-workbench .drag-board article b,.schedule-workbench .drag-board article small{font-size:12px}.schedule-workbench .drag-board article p{font-size:14px}}.pair-edit-context{gap:5px;margin:0 0 18px;display:grid}.pair-edit-context span{color:var(--muted);font-size:13px}.pair-edit-tabs{flex-wrap:wrap;gap:6px;margin-bottom:18px;display:flex}.pair-edit-tabs>button{padding:8px 10px;font-size:12px}.pair-edit-tabs>button[aria-pressed=true]{color:#fff;background:var(--primary);border-color:var(--primary)}.pair-edit-tabs details{margin-left:auto;font-size:12px}.pair-edit-tabs summary,.manual-resource summary,.resource-settings summary,.pair-change-description summary{cursor:pointer;color:var(--muted);padding:8px 0;font-size:12px}.pair-edit-tabs details button{margin-top:8px;display:block}.compact-resources{background:var(--surface-subtle);border-radius:8px;padding:12px}.compact-resources h3{margin:0 0 10px;font-size:15px}.compact-resources label{font-size:12px}.compact-resources .editor-change-list{max-height:220px;margin-top:10px;overflow:auto}.compact-resources .editor-change-list>div{border:0;padding:4px 0}.compact-resources .editor-change-list button{text-align:left;background:var(--surface);border-radius:6px;width:100%;padding:9px;font-size:13px}.compact-resources .hint{font-size:11px}.resource-selection{margin:10px 0;font-size:13px;font-weight:600}.manual-resource[open]{background:var(--surface-subtle);border-radius:8px;padding:8px}.pair-move-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.pair-preview{background:var(--surface-subtle);color:var(--muted);border-radius:8px;margin:14px 0;padding:10px 12px;font-size:12px}.pair-preview p{margin:4px 0}.pair-preview.has-issues{color:var(--text);border-left:3px solid #ee981d}.pair-edit-form .dialog-actions{margin-top:14px}.schedule-check details summary{cursor:pointer;padding:9px 0}.schedule-issues{gap:10px;max-height:50vh;margin:12px 0;display:grid;overflow:auto}.schedule-issues article{border:1px solid var(--border);background:var(--surface);color:var(--text);border-left:3px solid #ee981d;border-radius:8px;padding:12px}.schedule-issues article>p{color:var(--muted);margin:0 0 10px;font-size:12px}.schedule-issue-pair{justify-content:space-between;align-items:center;gap:12px;margin:8px 0;display:flex}.schedule-issue-pair span{gap:5px;font-size:12px;display:grid}.schedule-issue-pair small{color:var(--muted)}.schedule-issue-pair>div{flex-wrap:wrap;gap:6px;display:flex}.schedule-issue-pair button{padding:6px 9px;font-size:11px}.publication-problems{margin:16px 0}.publication-problems>b{font-size:15px}@media (max-width:760px){.pair-edit-tabs{grid-template-columns:1fr 1fr;display:grid}.pair-edit-tabs details{grid-column:1/-1;margin:0}.schedule-issue-pair{flex-direction:column;align-items:flex-start}.schedule-issues{max-height:60vh}.pair-move-fields{gap:8px}}.schedule-warning-list{gap:14px;min-width:0;margin:10px 0 16px;font-size:14px;display:grid}.schedule-warning-intro{color:var(--muted);max-width:900px;margin:0;line-height:1.6}.schedule-warning{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--text);overflow-wrap:anywhere;border-left:3px solid #ee981d;border-radius:10px;padding:18px}.schedule-warning h3{margin:0 0 10px;font-size:15px}.schedule-warning-reasons{margin:0 0 14px;padding-left:20px;line-height:1.6}.schedule-warning-reasons li+li{margin-top:6px}.schedule-warning-lessons{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.schedule-warning-lesson{background:var(--surface-subtle);border:1px solid var(--border);border-radius:8px;min-width:0;padding:14px}.schedule-warning-lesson-title{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.schedule-warning-lesson>b{font-size:14px;line-height:1.5;display:block}.schedule-warning-lesson>p{color:var(--muted);margin:7px 0 12px;font-size:13px}.schedule-warning-lesson dl{gap:8px;margin:0;font-size:13px;display:grid}.schedule-warning-lesson dl>div{grid-template-columns:100px minmax(0,1fr);gap:8px;display:grid}.schedule-warning-lesson dt{color:var(--muted)}.schedule-warning-lesson dd{margin:0}.schedule-warning .schedule-warning-advice{color:var(--text);margin:14px 0 0;font-size:13px;line-height:1.6}.schedule-warning>p{white-space:pre-line;margin:0}@media (max-width:760px){.schedule-warning{padding:14px}.schedule-warning-lessons{grid-template-columns:1fr}.schedule-warning-lesson dl>div{grid-template-columns:1fr;gap:2px}}
.teaching-hours{gap:18px;display:grid}.hours-toolbar,.hours-list-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.hours-toolbar label{gap:6px;min-width:230px;max-width:100%;display:grid}.hours-search{align-items:center;gap:8px;max-width:100%;display:flex}.hours-search input{min-width:0}.hours-teacher-list{grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:12px;display:grid}.hours-teacher{text-align:left;width:100%;color:var(--text);cursor:pointer;justify-content:space-between;align-items:center;gap:20px;display:flex}.hours-teacher:hover{border-color:var(--primary,#2563eb)}.hours-teacher>span:first-child{min-width:0}.hours-teacher b{overflow-wrap:anywhere}.hours-teacher small{color:var(--muted);margin-top:6px;display:block}.hours-teacher-total{white-space:nowrap;text-align:right}.hours-teacher-total b{font-size:22px}.hours-summary{grid-template-columns:repeat(4,1fr);gap:18px;margin-top:24px;display:grid}.hours-summary>div{gap:6px;display:grid}.hours-summary b{font-size:30px}.hours-summary span{color:var(--muted)}.hours-back{justify-self:start;align-items:center;gap:8px;display:inline-flex}.hours-subjects td{vertical-align:top}.hours-subjects details{margin-top:8px;font-size:13px}.hours-subjects summary{cursor:pointer;color:var(--muted);overflow-wrap:anywhere}.hours-group-list{padding-left:18px;line-height:1.8}.hours-subjects td:not(:first-child){white-space:nowrap}.hours-list-heading h2 small{color:var(--muted);font-weight:400}@media (max-width:600px){.hours-summary{grid-template-columns:repeat(2,1fr)}.hours-toolbar label,.hours-search,.hours-search input{width:100%}.hours-toolbar select{max-width:100%}.hours-teacher{gap:12px;padding:18px}.hours-teacher-total b{font-size:19px}}.teaching-hours>*{min-width:0}.hours-subjects td.hours-plan{white-space:normal;min-width:160px}.hours-plan>div+div{margin-top:12px}.hours-plan small{color:var(--muted)}
.schedule-section-tabs{flex-wrap:wrap;gap:8px;margin:0 0 20px;display:flex}.workload-panel .section-heading{align-items:flex-start}.workload-panel h2{margin-bottom:6px}.workload-panel .section-heading p{margin:0}.workload-tools{flex-wrap:wrap;align-items:end;gap:16px;display:flex}.workload-tools label{min-width:180px;margin:12px 0 0}.workload-tools>p{flex:1;margin:0 0 10px}.workload-tools>button{margin-bottom:1px}.workload-summary{border-top:1px solid var(--border);border-bottom:1px solid var(--border);flex-wrap:wrap;gap:12px 28px;margin:12px 0;padding:18px 0;display:flex}.workload-summary b{color:var(--blue);font-size:20px}.workload-panel caption{text-align:left;margin:10px 0;font-size:14px;font-weight:600}.workload-panel .workload-groups{white-space:normal;min-width:180px;max-width:300px}.workload-panel td.wrap{white-space:normal;min-width:180px;max-width:380px}.workload-panel tfoot{font-weight:600}@media (max-width:700px){.workload-tools{align-items:stretch;gap:10px}.workload-tools label,.workload-tools>button,.workload-tools>p{width:100%}.workload-tools>p{flex-basis:100%;margin:0}.workload-panel{padding:16px}}.workload-warning{background:color-mix(in srgb,#ee981d 12%,var(--surface));color:var(--text);border:1px solid #b87918;border-radius:8px;margin:16px 0;padding:12px 16px}.workload-warning strong{margin-bottom:3px;display:block}
