.academy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.academy-item{border:1px solid #e4e4dc;border-radius:8px;padding:22px;min-width:0}.academy-item h2{font-size:20px}.academy-item p,.academy-meta{color:#667085;font-size:14px;margin:8px 0}.academy-item .actions{margin-top:18px}.academy-section{padding-block:24px;border-bottom:1px solid #e4e4dc}.academy-section>h2{margin-bottom:16px}.academy-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #e4e4dc}.academy-row>div{min-width:0;flex:1}.academy-row .actions{flex:0 1 auto}.academy-policy{white-space:pre-wrap;line-height:1.9;padding-block:16px;max-width:760px}.academy-photo{width:100%;height:220px;object-fit:cover;border-radius:6px;display:block;margin-block:16px}.academy-status{display:inline-block;color:#235b45;background:#edf6f1;padding:4px 9px;border-radius:4px;font-size:12px}.academy-qr{width:180px;height:180px;object-fit:contain}.academy-empty{text-align:center;padding:48px 16px;color:#667085}.academy-empty svg{width:36px;height:36px;display:block;margin:0 auto 16px}#editorForm{display:grid;gap:16px}#editorForm label{margin:0}#editorForm label>span{display:block;margin-bottom:6px}#editorForm textarea{font:inherit;width:100%;min-height:100px;resize:vertical;border:1px solid #e4e4dc;border-radius:6px;padding:10px;color:#0b1220;background:#fff}#editorForm .check-row{margin-top:4px}#editorForm .check-row span{margin:0}h1,h2,h3,p,span,button{overflow-wrap:anywhere}button{max-width:100%}#content{min-height:240px}.academy-calendar{font-variant-numeric:tabular-nums}.academy-toolbar{display:flex;gap:12px;flex-wrap:wrap;padding:12px 0 20px}.academy-toolbar select{width:auto;max-width:100%}@media(max-width:640px){.academy-grid{grid-template-columns:1fr}.topbar nav{flex-basis:100%;order:3;justify-content:space-between}.topbar nav a{padding:10px 0}.topbar .text-button{margin-inline-start:auto}.segments{display:flex;flex-wrap:wrap}.segments button{font-size:13px;white-space:normal}.academy-row{align-items:flex-start}.academy-row .actions{flex-basis:100%}.academy-photo{height:180px}.academy-item{padding:18px}.academy-section>h2{font-size:20px}}
.curriculum-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}.curriculum-filters label{display:grid;gap:6px;flex:1 1 200px;min-width:0}.curriculum-filters input,.curriculum-filters select{width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #cbd0da;border-radius:6px;background:#fff;color:#0b1220}.academy-policy{overflow-wrap:anywhere}
#tabs{display:flex;flex-wrap:nowrap;width:100%;gap:4px;padding:8px 4px 12px;overflow-x:auto;scroll-padding-inline:4px;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#667085 transparent}
#tabs button{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:8px;min-width:0;max-width:100%;min-height:48px;padding:10px 12px;text-align:start;white-space:normal;overflow-wrap:normal;border-radius:4px;font-size:14px;line-height:1.5}
#tabs button[aria-current=page]{background:#edf1ff;color:#2445df;border-bottom-color:#2f55ff;font-weight:600}
#tabs button:hover{background:#eef1ff}
.academy-discovery-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) minmax(140px,1fr) auto auto;gap:12px;align-items:end;padding:16px 0 24px;border-bottom:1px solid #e4e4dc}.academy-discovery-filters label{display:grid;gap:6px;min-width:0;margin:0}.academy-discovery-filters button{min-height:48px}.academy-discovery-pagination{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:18px 0}.academy-discovery-pagination p{margin-inline-end:auto;color:#667085}@media(max-width:900px){.academy-discovery-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-discovery-filters label:first-child{grid-column:1/-1}}@media(max-width:360px){.academy-discovery-filters{grid-template-columns:minmax(0,1fr)}.academy-discovery-filters label:first-child{grid-column:auto}}
.academy-private-image{display:block;width:100%;max-width:760px;height:420px;max-height:60vh;object-fit:contain;margin-block:16px}
.academy-outage-settlement>div{flex:1 1 240px}
.academy-message-row>div{flex:1 1 280px}.academy-message-body{white-space:pre-wrap;line-height:1.7}
.academy-family-record>div,.academy-incident-row>div{flex:1 1 280px}
.coach-workspace-nav{display:flex;gap:8px;flex-wrap:wrap;padding-block:12px 20px;border-bottom:1px solid #e4e4dc;margin-bottom:20px}
.coach-workspace-nav button{min-height:48px;padding:12px 16px;white-space:normal}
.coach-workspace-nav [aria-current=page]{background:#0b1220;color:#fff}
.coach-sheet{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:36px;align-items:start}
.coach-sheet-column{min-width:0}.coach-sheet .academy-policy{font-size:16px;padding-block:4px 16px;line-height:1.8}
.coach-sheet h3{font-size:18px}.coach-sheet .academy-section{padding-block:12px}
@media(max-width:850px){.coach-sheet{grid-template-columns:minmax(0,1fr);gap:0}}

/* Workspace hierarchy stays full width; individual schedules belong to their group. */
#content{outline-offset:6px;min-width:0}
.academy-section>h2{font-size:20px;line-height:1.5;margin-bottom:12px}
.academy-row h3{font-size:16px;line-height:1.6}
.academy-section .academy-section>h2{font-size:18px}
.academy-management{padding-block:16px}
.academy-management .academy-toolbar{padding:0;gap:8px 16px}
.academy-toolbar:empty,.actions:empty{display:none}
.academy-group{margin-top:20px;border-top:2px solid #e4e4dc;min-width:0}
.academy-group>.academy-row:first-child{align-items:flex-start}
.academy-group .academy-session{padding-inline-start:16px;border-inline-start:2px solid #e4e4dc}
.academy-session h3{font-size:15px;font-weight:400;font-variant-numeric:tabular-nums}
.academy-row .actions{gap:8px;max-width:100%}
.academy-row>button{flex-shrink:0}
.academy-row .academy-meta{line-height:1.7}
#editorForm>label{min-width:0}
#editorForm textarea{min-width:0;font-size:16px}
.coach-workspace-nav{flex:initial;gap:8px}
.coach-workspace-nav [aria-current=page]{background:#edf1ff;color:#2445df;box-shadow:inset 0 -2px #2f55ff}
@media(max-width:640px){
  .academy-section{padding-block:20px}
  .academy-toolbar{gap:8px}
  .academy-toolbar>button,.academy-row .actions>button{flex:1 1 145px;justify-content:flex-start;text-align:start}
  .academy-group .academy-session{padding-inline-start:12px}
  .academy-row>div{flex-basis:100%}
  .academy-row>button{max-width:100%;text-align:start}
  .coach-workspace-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .coach-workspace-nav button{padding:10px;text-align:start;justify-content:flex-start}
}
/* Accessibility: status chips at least 13px. */
.academy-status{font-size:13px}
#editorForm button:disabled{opacity:.55;cursor:not-allowed}
#editorForm input:disabled,#editorForm select:disabled,#editorForm textarea:disabled{background:#eceeed;color:#555;cursor:not-allowed}
