.school-schedule{display:grid;gap:1rem;margin-block:1rem}
.school-schedule [hidden]{display:none!important}
.school-schedule form,.school-schedule fieldset,.school-schedule details,.school-schedule [data-school=results]{display:grid;gap:.85rem;min-width:0}
.school-schedule fieldset,.school-schedule details,.school-schedule [data-school=results]{margin:0;padding:1rem;border:1px solid var(--line,#dce3ed);border-radius:1rem}
.school-schedule details:not([open])>*:not(summary){display:none}
.school-schedule h2,.school-schedule h3,.school-schedule p{margin:0}
.school-schedule legend,.school-schedule summary,.school-settings label,.school-resources label{font-weight:650}
.school-schedule summary{cursor:pointer}
.school-note{color:var(--muted,#536275);font-size:.94rem}
.school-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem}
.school-actions label{display:flex;align-items:center;gap:.45rem}
.school-settings,.school-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.school-settings label,.school-resources label{display:grid;align-content:start;gap:.3rem}
.school-schedule textarea{resize:vertical;width:100%}
.school-scroll{max-width:100%;overflow:auto}
.school-schedule table{width:100%;border-collapse:collapse;font-size:.94rem}
.school-schedule th,.school-schedule td{padding:.45rem;text-align:start;border-bottom:1px solid var(--line,#dce3ed)}
.school-schedule .school-data input,.school-schedule .school-data select{width:100%;min-width:5.6rem}
.school-schedule .school-data td:first-child input{min-width:9rem}
.school-board{min-width:36rem;table-layout:fixed}
.school-board td{vertical-align:top}
.school-board tbody th{width:3rem}
.school-slot{display:block;width:100%;padding:.5rem;text-align:start;overflow-wrap:anywhere;color:inherit;background:var(--soft,#ecf4ff);border:1px solid var(--line,#dce3ed);border-radius:.6rem;cursor:pointer;font:inherit}
.school-slot small{display:block;opacity:.85}
.school-slot[data-locked]{border-inline-start:3px solid #3175c4}
.school-schedule [role=status]:empty{display:none}
.school-schedule [role=status]{padding:.65rem .85rem;background:var(--soft,#ecf4ff);border-radius:.6rem}
.school-schedule dialog{color:inherit;background:var(--card,#fff);max-width:min(30rem,90vw);border:1px solid var(--line,#dce3ed);border-radius:1rem;padding:1rem}
.school-schedule dialog::backdrop{background:rgba(14,28,47,.55)}
@media(max-width:650px){.school-settings,.school-resources{grid-template-columns:minmax(0,1fr)}.school-schedule fieldset,.school-schedule details,.school-schedule [data-school=results]{padding:.65rem}}
