/* Shared headquarters/campus workspace: classroom records remain the primary content. */
:root { --backend-paper:#fff; --backend-ground:#f5f7fb; --backend-ink:#172033; --backend-blue:#215bc4; --backend-line:#dce3ef; --backend-alert:#a34812; }
[hidden] { display:none !important; }
label.checkbox { display:inline-flex; align-items:center; gap:8px; width:fit-content; min-height:44px; cursor:pointer; }
.checkbox input[type="checkbox"],.checkbox input[type="radio"] { flex:0 0 18px; width:18px; height:18px; min-height:18px; padding:0; margin:0; align-self:center; }
.checkbox input:focus-visible { outline:3px solid #739bdf; outline-offset:2px; }
.admin-tabs { display:flex; flex-wrap:wrap; gap:6px; border-bottom:1px solid var(--backend-line); padding-bottom:12px; }
.admin-tabs .admin-tab,.admin-tabs .button { min-height:42px; padding:10px 14px; }
#goTeachLink { margin-left:auto; }
.backend-title { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.backend-title h2 { margin-bottom:6px; }
.backend-title p { margin:0; color:#526179; line-height:1.7; }
.backend-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:end; gap:12px; }
.backend-metrics { display:flex; flex-wrap:wrap; border-block:1px solid var(--backend-line); padding:16px 0; gap:24px 40px; }
.backend-metrics div { min-width:100px; display:grid; gap:6px; }
.backend-metrics strong { font-size:25px; font-weight:650; font-variant-numeric:tabular-nums; }
.backend-metrics span { color:#526179; font-size:13px; }
.backend-scroll { overflow:auto; max-width:100%; }
.backend-table { width:100%; border-collapse:collapse; min-width:850px; font-size:14px; }
.backend-table th { text-align:left; background:#edf2fa; color:#34435b; font-size:13px; }
.backend-table th,.backend-table td { padding:12px 10px; border-bottom:1px solid #e4e9f0; vertical-align:top; }
.backend-table td { max-width:220px; overflow-wrap:anywhere; white-space:normal; }
.backend-subline { display:block; color:#68778c; font-size:12px; line-height:1.7; margin-top:4px; }
.backend-issue { color:var(--backend-alert); font-weight:600; }
.backend-state { padding:26px 12px; color:#526179; line-height:1.8; }
.backend-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.backend-actions button,.backend-table button { min-height:38px; padding:8px 12px; }
.backend-detail { border-left:3px solid var(--backend-blue); padding-left:18px; }
.backend-details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:0; }
.backend-details dt { color:#68778c; font-size:13px; margin-bottom:6px; }
.backend-details dd { margin:0; overflow-wrap:anywhere; line-height:1.7; }
.backend-note { color:#68778c; font-size:13px; line-height:1.7; }
.backend-detail ol { padding-left:22px; line-height:1.9; }
.backend-key-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:18px; }
.backend-key-list button { width:100%; text-align:left; background:transparent; color:var(--backend-ink); border:1px solid var(--backend-line); margin-bottom:8px; }
.backend-key-list button[aria-pressed="true"] { border-color:var(--backend-blue); background:#edf3ff; }
.backend-record { border-bottom:1px solid var(--backend-line); padding:14px 0; }
.backend-record pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; line-height:1.8; }
.backend-warning { border-left:3px solid #cd8934; padding:10px 14px; background:#fff9ed; line-height:1.8; }
.panel { box-shadow:none; }
.panel form :focus-visible,.admin-tabs :focus-visible,.backend-actions :focus-visible,.backend-table :focus-visible { outline:3px solid #739bdf; outline-offset:2px; }
@media(max-width:1050px) { .backend-filters { grid-template-columns:repeat(3,minmax(0,1fr)); } .backend-details { grid-template-columns:repeat(2,minmax(0,1fr)); } .admin-tabs .admin-tab,.admin-tabs .button { padding:10px 11px; } }
@media(max-width:740px) { .backend-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } .backend-key-layout { grid-template-columns:1fr; } #goTeachLink { margin-left:0; } }

.campus-hero { display:block; }
.campus-hero .filter-row { display:grid; grid-template-columns:1fr 1fr; align-items:end; gap:12px; }
.campus-hero .filter-row .row { grid-column:1/-1; display:flex; flex-wrap:wrap; }
.campus-hero input,.campus-hero select { height:44px; }
.campus-summary { display:flex; gap:24px; margin-top:16px; }
.campus-summary .metric-card { min-width:150px; }
.fixed-user-list { height:auto; min-height:140px; max-height:460px; }
.backend-scroll { max-height:420px; }
.backend-table th { position:sticky; top:0; }
.backend-overview-item { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 0; border-bottom:1px solid var(--backend-line); }
