.school-operations{--ops-rule:#d7e0eb;--ops-ink:#193047;margin-block:24px;padding:24px;background:#fff;border:1px solid var(--ops-rule);border-radius:12px;color:var(--ops-ink)}
.school-operations *{box-sizing:border-box;min-width:0}
.ops-heading,.ops-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ops-heading h3{margin:0;font-size:1.45rem}.ops-status{margin:12px 0;color:#425a72}.ops-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.ops-tabs button[aria-pressed=true]{background:var(--ops-ink);color:#fff}
.ops-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:24px 0 16px}.ops-toolbar h4{margin:0;font-size:18px}.ops-hint{max-width:70ch;line-height:1.6;color:#425a72;margin:0 0 16px}.ops-actions{justify-content:flex-start}.ops-reminders summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}.school-operations [hidden]{display:none!important}
.ops-form{border-block:1px solid var(--ops-rule);padding:16px 0;margin:16px 0}.ops-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;border:0;padding:0;margin:0 0 16px}
.ops-form.ops-recovery{padding:20px;border:1px solid #d8c791;border-radius:12px;background:#fffdf6}
.ops-recovery-heading{display:flex;align-items:flex-start;gap:12px}.ops-recovery-heading h4{margin:0 0 6px;font-size:1.125rem;line-height:1.4}.ops-recovery-heading p{margin:0;max-width:65ch;color:#655323;line-height:1.5}
.ops-recovery-icon{display:block;flex:0 0 24px;color:#806014}.ops-recovery-icon svg{display:block;width:24px;height:24px}
.ops-recovery-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;margin:24px 0;padding:20px 0;border-block:1px solid #e8dfc5}.ops-recovery-details dt{margin:0 0 6px;color:#536477;font-size:.8125rem;line-height:1.4}.ops-recovery-details dd{margin:0;font-size:.9375rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ops-recovery-notes{grid-column:1/-1}.ops-recovery-notes dd{font-weight:400;white-space:pre-wrap;max-width:65ch}.ops-recovery-details .ops-recovery-badge{display:inline-block;padding:3px 8px;border-radius:4px;background:#edf2fa;color:#24466e;font-size:.8125rem}
@media(max-width:820px){.ops-recovery-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ops-form.ops-recovery{padding:16px}.ops-recovery-details{gap:16px}.ops-recovery-details>div:first-child{grid-column:1/-1}.ops-recovery .ops-actions{align-items:stretch;flex-direction:column}.ops-recovery .ops-actions button{width:100%}}
.ops-fields label{display:grid;gap:6px;font-size:.9rem;font-weight:600}.ops-fields input,.ops-fields select,.ops-fields textarea{width:100%;min-height:44px;font:inherit}.school-operations button{min-height:44px;cursor:pointer}.school-operations button:disabled{cursor:default;opacity:.6}
.ops-form-feedback{margin:16px 0 12px;line-height:1.5;font-size:.9375rem}.ops-form-feedback:empty{display:none}.ops-form-feedback[role=alert],.ops-field-error{color:#9b2525}.ops-field-error{font-size:.8125rem;line-height:1.5;font-weight:400}.ops-fields [aria-invalid=true]{border-color:#b72c2c}
.school-operations :focus-visible{outline:3px solid #315cbb;outline-offset:3px}.ops-list{list-style:none;margin:0;padding:0}.ops-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--ops-rule)}
.school-operations .btn{padding:10px 16px;border:1px solid #b9c7d8;border-radius:8px;background:#fff;color:#244da5;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.35}.school-operations .btn:hover{background:#edf3ff}.school-operations .btn-primary{background:#2c56b5;border-color:#2c56b5;color:#fff}.school-operations .btn-primary:hover{background:#234797}.ops-tabs .btn{border-color:transparent;background:#f2f5f8;color:#425a72}.ops-tabs .btn[aria-pressed=true]{background:#193047;color:#fff}
.ops-row strong,.ops-row span{display:block;overflow-wrap:anywhere}.ops-row span{font-size:.9rem;color:#425a72;margin-top:4px}.ops-reminders{padding:12px 0;border-block:1px solid var(--ops-rule);margin-block:16px}.ops-reminders p{margin:8px 0}.ops-timeline{padding-left:20px}.ops-timeline li{padding:12px 0;border-bottom:1px solid var(--ops-rule)}.ops-timeline time{display:block;font-size:.85rem;color:#425a72}
@media(max-width:600px){.school-operations{padding:16px}.ops-row{align-items:flex-start;flex-direction:column}.ops-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ops-tabs button{white-space:normal}.ops-heading{align-items:flex-start}}
@media(min-width:601px) and (max-width:1100px){.portal-pages[data-portal-root=student] .ops-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
.ops-workspace{display:grid;grid-template-columns:184px minmax(0,1fr);gap:24px;margin-top:20px;border-top:1px solid var(--ops-rule);padding-top:20px}
.ops-shortcuts{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:16px;padding-top:12px;border-top:1px solid #d7e0eb}.ops-shortcuts a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;font-weight:600;color:#244da5;text-underline-offset:4px}.ops-shortcuts a:focus-visible{outline:3px solid #315cbb;outline-offset:3px}
.school-operations .ops-tabs{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0}
.ops-tabs .btn{text-align:left;background:transparent;border-radius:8px;line-height:1.5}
.ops-tabs .btn:hover{background:#edf3ff}.ops-tabs .btn[aria-pressed=true]{background:var(--ops-ink);color:#fff}
.ops-content{min-width:0}.ops-toolbar{margin:0 0 16px}.ops-agenda-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding:16px;background:#f5f7fa;border-radius:8px}
.ops-agenda-filters label{display:grid;flex:1 1 140px;gap:6px;font-size:.875rem;font-weight:600}.ops-agenda-filters .form-input{width:100%;min-height:44px;background:#fff}
.ops-list .ops-row>div{flex:1}.ops-agenda-time{flex:0 0 72px;align-self:flex-start;font-variant-numeric:tabular-nums}.ops-agenda-time strong{font-size:1.125rem;color:var(--ops-ink)}.ops-agenda-time span{font-size:.8rem}
.ops-next{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;margin-top:12px;border-top:1px solid var(--ops-rule)}.ops-next h4{font-size:1.125rem;margin:0 0 8px}.ops-next time{display:block;font-size:1.25rem;font-weight:700;color:#244da5}.ops-next p{margin:6px 0 0;max-width:65ch;overflow-wrap:anywhere}
.school-operations .ops-timeline{list-style:none;padding:0}.ops-timeline li{position:relative;padding:16px 0 16px 24px}.ops-timeline li:before{content:'';position:absolute;left:0;top:23px;width:8px;height:8px;border-radius:50%;background:#2c56b5}.ops-timeline li strong{display:block}.ops-timeline time{margin:4px 0}.ops-timeline li span{font-size:.9rem;color:#425a72}
@media(max-width:820px){.ops-workspace{grid-template-columns:minmax(0,1fr);gap:20px}.school-operations .ops-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ops-tabs .btn{text-align:center;background:#f2f5f8}.ops-next{align-items:flex-start;flex-direction:column}.ops-agenda-filters{padding:12px}.ops-agenda-filters label{flex-basis:calc(50% - 12px)}}
@media(max-width:600px){.ops-list .ops-row:has(.ops-agenda-time){display:grid;grid-template-columns:60px minmax(0,1fr);gap:8px 12px}.ops-row:has(.ops-agenda-time)>.btn{grid-column:2;justify-self:start}.ops-agenda-time{margin-top:2px}.ops-agenda-filters label{flex-basis:100%}}
.ops-availability-check{margin:8px 0 20px;padding:16px;border:1px solid var(--ops-rule);border-radius:8px;background:#f5f7fa}
.ops-availability-check h5{font-size:1rem;margin:0 0 12px}.ops-availability-check p{font-size:.875rem;line-height:1.5;margin:8px 0 0;color:#425a72}
.ops-availability-check ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}.ops-availability-check li{display:grid;gap:4px;border-left:3px solid #a06e19;padding-left:12px}.ops-availability-check li[data-state=ready]{border-color:#287444}.ops-availability-check li[data-state=conflict]{border-color:#9b2525}.ops-availability-check span{font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}
.ops-form>h4{font-size:1.125rem;margin:4px 0 20px}.ops-fields label{align-content:start}.ops-fields textarea{min-height:96px;resize:vertical}.ops-form>.ops-actions{padding-top:8px;gap:12px}
@media(max-width:600px){.ops-form>.ops-actions{display:grid;grid-template-columns:minmax(0,1fr) auto}.ops-form>.ops-actions .btn{margin:0}.ops-toolbar{align-items:stretch}.ops-toolbar h4{align-self:center}}
.ops-overview-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:8px 0 24px}.ops-overview-stat{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:130px;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer}.ops-overview-stat:hover{border-color:var(--brand)}.ops-overview-stat strong{font-size:28px;line-height:1}.ops-overview-stat span:last-child{margin-top:auto;color:var(--brand);font-size:13px}.ops-overview-agenda{border-top:1px solid var(--line);padding-top:18px}.ops-overview-heading,.ops-overview-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.ops-overview-row{padding:16px 0;border-top:1px solid var(--line)}.ops-overview-row>div{display:grid;gap:4px;min-width:0}.ops-overview-row span{color:var(--ink-mute);font-size:13px}.ops-overview-heading h4{margin:0}@media(max-width:600px){.ops-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-overview-stat{min-height:116px;padding:14px}.ops-overview-row{align-items:flex-start;flex-wrap:wrap}}
.ops-task-row{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.ops-task-row>div{display:grid;gap:5px;min-width:0}.ops-task-row span,.ops-task-row p{font-size:13px;color:var(--ink-mute);overflow-wrap:anywhere}.ops-task-editor{width:min(580px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:12px;padding:24px;background:var(--surface);color:var(--ink)}.ops-task-editor::backdrop{background:#14243a80}.ops-task-editor form{display:grid;gap:14px}.ops-task-editor label{display:grid;gap:5px;font-size:14px}.ops-task-editor .form-input{width:100%}.ops-task-editor button{min-height:44px}@media(max-width:600px){.ops-task-editor{padding:18px}.ops-task-row{flex-wrap:wrap}}

/* School management reference: grouped rail and calm operational cards. */
#page-dashboard #school-operations:not(.ops-finance){--ops-rule:#e4e2da;--ops-ink:#16213a;margin:28px 0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ops-ink);font-size:14px;line-height:1.5}
#page-dashboard #school-operations:not(.ops-finance) .ops-heading{padding:20px 24px 0;background:#fff;border:1px solid var(--ops-rule);border-bottom:0;border-radius:14px 14px 0 0}
#page-dashboard #school-operations:not(.ops-finance) .ops-heading h3{font-size:20px;letter-spacing:-.02em}
#page-dashboard #school-operations:not(.ops-finance) .ops-status{margin:0;padding:4px 24px 20px;background:#fff;border-inline:1px solid var(--ops-rule);color:#5b6478;font-size:13px}
#page-dashboard #school-operations:not(.ops-finance) .ops-status[data-ready=true]:before{content:'';display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#2f9e63}
#page-dashboard #school-operations:not(.ops-finance) .ops-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;margin:0;padding:0 24px 24px;background:#fff;border:1px solid var(--ops-rule);border-top:0;border-radius:0 0 14px 14px}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:2px;align-self:start;margin:0;padding:12px;background:#fff;border:1px solid var(--ops-rule);border-radius:14px}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs .btn{min-height:44px;padding:10px;border:0;border-radius:9px;background:transparent;color:#33405c;text-align:left;font-weight:600;line-height:1.35}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs .btn:hover{background:#f3f5fb}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs .btn[aria-pressed=true]{background:#e9eefc;color:#1f3fae}
#page-dashboard #school-operations:not(.ops-finance) .ops-content{min-width:0}
#page-dashboard #school-operations:not(.ops-finance) .ops-toolbar{margin:0 0 18px;gap:12px}
#page-dashboard #school-operations:not(.ops-finance) .ops-toolbar h4{font-size:20px;letter-spacing:-.02em}
#page-dashboard #school-operations:not(.ops-finance) :is(.ops-hint,.ops-row span,.ops-task-row span,.ops-task-row p,.ops-timeline time,.wf-hint,.wf-empty){color:#5b6478}
#page-dashboard #school-operations:not(.ops-finance) .btn{border-color:#cfd3de;border-radius:10px;background:#fff;color:#1f3fae;font-weight:650}
#page-dashboard #school-operations:not(.ops-finance) .btn:hover{background:#e9eefc}
#page-dashboard #school-operations:not(.ops-finance) .btn-primary{background:#2447c8;border-color:#2447c8;color:#fff}
#page-dashboard #school-operations:not(.ops-finance) .btn-primary:hover{background:#1f3fae;border-color:#1f3fae}
#page-dashboard #school-operations:not(.ops-finance) .ops-overview-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}
#page-dashboard #school-operations:not(.ops-finance) .ops-overview-stat{min-height:120px;padding:14px 16px;border:1px solid var(--ops-rule);border-radius:12px;background:#fbfbf9;gap:5px}
#page-dashboard #school-operations:not(.ops-finance) .ops-overview-stat strong{font-size:30px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
#page-dashboard #school-operations:not(.ops-finance) .ops-overview-stat span:first-child{color:#5b6478;font-size:13px}
#page-dashboard #school-operations:not(.ops-finance) .ops-overview-stat span:last-child{color:#1f3fae;font-weight:700}
#page-dashboard #school-operations:not(.ops-finance) .ops-overview-quick{margin:20px 0;padding:22px;border:1px solid var(--ops-rule);border-radius:14px}
#page-dashboard #school-operations:not(.ops-finance) :is(.ops-agenda-filters,.ops-form,.wf-form,.ops-content>form.ops-fields){padding:20px;border:1px solid var(--ops-rule);border-radius:14px;background:#fff;margin-block:18px 22px}
#page-dashboard #school-operations:not(.ops-finance) :is(.ops-fields,.wf-form>fieldset){gap:16px}
#page-dashboard #school-operations:not(.ops-finance) :is(.form-input,.ops-fields input,.ops-fields select,.ops-fields textarea){min-height:44px;padding:10px 12px;border:1px solid #cfd3de;border-radius:10px;background:#fff;color:#16213a;font:inherit}
#page-dashboard #school-operations:not(.ops-finance) :is(.ops-row,.ops-task-row,.wf-record,.ops-overview-row){padding:17px 0;border-color:var(--ops-rule)}
#page-dashboard #school-operations:not(.ops-finance) .ops-list>.ops-row:only-child:not(:has(*)){padding:24px;border:1px dashed #d5d3ca;border-radius:12px;text-align:center;color:#5b6478}
#page-dashboard #school-operations:not(.ops-finance) .wf-calendar-days{gap:0;padding:8px 4px;margin-bottom:20px;border:1px solid var(--ops-rule);border-radius:12px;background:#fff}
#page-dashboard #school-operations:not(.ops-finance) .wf-calendar-day[aria-pressed=true]{background:#2447c8;border-color:#2447c8}
#page-dashboard #school-operations:not(.ops-finance) :focus-visible{outline:3px solid #2447c8;outline-offset:2px}
@media(max-width:600px){#page-dashboard #school-operations:not(.ops-finance) .ops-heading{padding:16px 16px 0}#page-dashboard #school-operations:not(.ops-finance) .ops-status{padding:4px 16px 16px}#page-dashboard #school-operations:not(.ops-finance) .ops-workspace{padding:0 16px 16px;gap:16px}#page-dashboard #school-operations:not(.ops-finance) .ops-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#page-dashboard #school-operations:not(.ops-finance) .ops-overview-stat{min-height:112px;padding:12px}#page-dashboard #school-operations:not(.ops-finance) .ops-overview-quick{padding:16px}#page-dashboard #school-operations:not(.ops-finance) :is(.ops-agenda-filters,.ops-form,.wf-form,.ops-content>form.ops-fields){padding:16px}}

/* The school sections share the Dashboard's horizontal tab pattern. */
#page-dashboard #school-operations:not(.ops-finance) .ops-workspace{display:block}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs{display:flex;flex-direction:row;align-items:stretch;flex-wrap:nowrap;gap:24px;width:100%;max-width:100%;margin:0 0 24px;padding:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border:0;border-bottom:1px solid var(--ops-rule);border-radius:0}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs .btn{flex:0 0 auto;min-height:48px;padding:10px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#5b6478;font-size:14px;font-weight:550;white-space:nowrap;box-shadow:none}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs .btn:hover{background:transparent;color:#16213a}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs .btn[aria-pressed=true]{background:transparent;border-bottom-color:#2447c8;color:#16213a}
#page-dashboard #school-operations:not(.ops-finance) .ops-tabs .btn:focus-visible{outline-offset:-3px}


#page-dashboard #school-operations:not(.ops-finance) .ops-tabs{flex-wrap:nowrap;gap:18px;overflow-x:auto;overflow-y:hidden}
.ops-more-tabs{position:relative;align-self:center;max-width:100%}
.ops-more-tabs summary{min-height:44px;align-content:center;padding:0 8px;cursor:pointer;font-size:14px}
#page-dashboard #school-operations .ops-more-tabs>.btn{display:block;width:100%;padding:8px;text-align:left;white-space:normal}
#page-dashboard #school-operations .ops-more-tabs:not([open])>.btn{display:none}
.ops-overview-priorities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}
@media(max-width:760px){.ops-overview-priorities{grid-template-columns:minmax(0,1fr)}}
