/* School operations: quiet navigation, direct actions, aggregate information. */
.sa-workspace { width: min(1320px, calc(100% - 80px)); margin: 0 auto; padding: 34px 0 64px; color: #1b2320; }
.sa-workspace.sa-compact { padding-top: 18px; padding-bottom: 36px; }
.sa-compact .sa-tools > .sa-section-heading { margin-bottom: 14px; }
.sa-compact #admin-tools-title { font-size: 18px; }
.sa-compact .sa-tool-card { padding: 16px 18px 10px; }
.sa-compact .sa-tool-card > p { margin: 8px 0 10px; }
.sa-workspace *, .sa-nav * { box-sizing: border-box; }
.sa-workspace [hidden] { display: none !important; }
.sa-workspace a { text-decoration: none; }
.sa-workspace a:hover { color: #135640; }
.sa-workspace button, .sa-workspace .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sa-workspace .material-symbols-rounded, .sa-nav .material-symbols-rounded { font-size: 21px; flex-shrink: 0; }
.sa-nav { display: flex; gap: 7px; align-items: center; width: min(1320px, calc(100% - 80px)); margin: 0 auto; min-height: 65px; border-bottom: 1px solid #e1ded5; overflow-x: auto; }
.sa-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 15px; min-height: 44px; white-space: nowrap; border-radius: 8px; color: #5c6862; font-size: 14px; text-decoration: none; }
.sa-nav a:hover { background: #eeece5; color: #1b2320; }
.sa-nav a[aria-current] { color: #135640; background: #e4ece4; font-weight: 650; }
.sa-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sa-heading h1 { font-size: clamp(27px, 2.7vw, 36px); line-height: 1.15; margin: 9px 0 10px; letter-spacing: -.035em; }
.sa-heading p { color: #667069; margin: 0; font-size: 15px; }
.sa-workspace .sa-eyebrow { font: 500 11px/1.5 var(--font-data, monospace); letter-spacing: .09em; text-transform: uppercase; color: #697369; margin: 0 0 6px; }
.sa-eyebrow span { padding: 0 8px; opacity: .5; }
.sa-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.sa-actions .button { padding: 10px 15px; font-size: 13px; }
.sa-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 34px; background: #eeeee6; border: 1px solid #dfdfd3; border-radius: 12px; padding: 7px 0; }
.sa-overview a { display: flex; align-items: center; gap: 14px; color: #5e6b5e; padding: 16px 22px; border-right: 1px solid #d9dcd0; min-width: 0; }
.sa-overview a:last-child { border: 0; }
.sa-overview a:hover { background: #e5eadf; }
.sa-overview strong { display: block; color: #243b2d; font-size: 25px; line-height: 1.1; font-weight: 650; font-variant-numeric: tabular-nums; }
.sa-overview small { display: block; color: #566453; font-size: 12px; margin-top: 6px; }
.sa-stat-arrow { align-self: flex-start; margin-left: auto; opacity: .7; }
.sa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.sa-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.sa-section-heading h2 { font-size: 21px; letter-spacing: -.025em; margin: 0; line-height: 1.25; }
.sa-search { display: flex; align-items: center; width: 250px; max-width: 100%; position: relative; }
.sa-search > span { position: absolute; left: 12px; color: #718073; pointer-events: none; }
.sa-search input { width: 100%; border: 1px solid #deded3; padding: 10px 10px 10px 40px; font-size: 13px; min-height: 42px; }
.sa-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sa-tool-card { background: #fff; border: 1px solid #e2dfd5; border-radius: 12px; padding: 21px 22px 13px; min-width: 0; scroll-margin-top: 110px; }
.sa-tool-card header { display: flex; align-items: center; gap: 12px; }
.sa-tool-card h3 { font-size: 17px; line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.sa-icon { height: 36px; width: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; }
.sa-icon.green { background: #e9f0e8; color: #3a6845; }
.sa-icon.blue { background: #eaf0f3; color: #456c80; }
.sa-icon.amber { background: #f5eee1; color: #997434; }
.sa-tool-card > p { color: #73786f; font-size: 12px; line-height: 1.5; margin: 12px 0 15px; }
.sa-tool-card ul, .sa-attention ul { list-style: none; margin: 0; padding: 0; }
.sa-tool-card li { border-top: 1px solid #f0eee7; }
.sa-tool-card li a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; padding: 9px 0; color: #334239; font-size: 13px; font-weight: 500; line-height: 1.4; }
.sa-tool-card li a > .material-symbols-rounded { font-size: 16px; color: #8b978c; }
.sa-tool-card li a:hover { color: #135640; background: #f4f7f0; }
.sa-sidebar { display: grid; gap: 18px; padding-top: 3px; }
.sa-attention { border: 1px solid #e2dfd5; border-radius: 12px; background: #fff; padding: 22px 20px 8px; }
.sa-attention .sa-section-heading { margin-bottom: 9px; }
.sa-attention h2 { font-size: 19px; }
.sa-pill { display: inline-block; border-radius: 6px; padding: 5px 8px; font-size: 11px; font-weight: 550; line-height: 1.35; background: #eeeee8; color: #626b60; }
.sa-pill.amber { background: #f7ecd9; color: #826025; }
.sa-pill.green { background: #e9f0e8; color: #326041; }
.sa-muted { font-size: 12px; color: #768071; margin: 0 0 12px; }
.sa-attention li a { display: flex; align-items: center; gap: 11px; border-top: 1px solid #f0eee7; padding: 15px 0; color: #374236; }
.sa-attention li a:hover { background: #fcfaf5; }
.sa-attention-count { min-width: 34px; padding: 7px; border: 1px solid #ece2c7; border-radius: 7px; color: #8d6d33; background: #fbf5e9; font-size: 14px; font-weight: 600; text-align: center; }
.sa-attention strong { font-size: 13px; font-weight: 600; display: block; }
.sa-attention small { color: #778074; font-size: 11px; display: block; margin-top: 4px; line-height: 1.4; }
.sa-attention li a > .material-symbols-rounded { margin-left: auto; color: #879182; font-size: 18px; }
.sa-setup-card { background: #e8ede2; border: 1px solid #d8dfce; border-radius: 12px; padding: 22px; position: relative; }
.sa-setup-card > .material-symbols-rounded { position: absolute; right: 20px; top: 22px; color: #6f8062; }
.sa-setup-card h2 { font-size: 17px; margin: 0 0 10px; color: #384a32; }
.sa-setup-card p { font-size: 12px; color: #65735d; margin: 0; }
.sa-setup-card strong { color: #394e31; }
.sa-setup-card progress { display: block; width: 100%; height: 6px; margin: 17px 0 19px; accent-color: #648147; border: 0; border-radius: 4px; background: #d3dcc7; }
.sa-setup-card progress::-webkit-progress-bar { background: #d3dcc7; border-radius: 4px; }
.sa-setup-card progress::-webkit-progress-value { background: #648147; border-radius: 4px; }
.sa-setup-card a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: #3b5831; min-height: 28px; }
.sa-setup-card a span { font-size: 17px; }
.sa-notifications { display: flex; align-items: center; gap: 10px; color: #6b7667; padding: 2px 12px; min-height: 44px; font-size: 13px; }
.sa-notifications > :last-child { margin-left: auto; }
.sa-class-jump { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; align-items: center; padding: 27px 28px; border: 1px solid #dfded2; background: #f0f0e8; border-radius: 12px; margin-top: 28px; scroll-margin-top: 100px; }
.sa-class-jump h2 { font-size: 21px; margin: 0 0 7px; }
.sa-class-jump p { color: #6c7564; margin: 0; font-size: 13px; line-height: 1.5; }
.sa-class-jump label { display: block; font-size: 12px; margin-bottom: 8px; }
.sa-class-jump form > div { display: flex; gap: 9px; }
.sa-class-jump select { flex: 1; min-width: 0; width: 100%; }
.sa-class-jump button { flex-shrink: 0; font-size: 13px; }
.sa-class-spaces { font-size: 12px; color: #586c4b; display: flex; gap: 8px; grid-column: 2; justify-self: start; }
.sa-empty { padding: 40px 24px; text-align: center; color: #64705e; border: 1px dashed #d5dbcb; border-radius: 12px; }
.sa-empty strong, .sa-empty h2 { color: #34462e; font-size: 19px; }
.sa-clear { padding: 20px 0; text-align: center; color: #496840; }
.sa-clear > span { display: block; margin-bottom: 10px; }
.sa-clear p { font-size: 12px; line-height: 1.6; color: #6e7a66; }
.sa-account-summary { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.sa-account-summary a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 15px; border: 1px solid #dedfd2; border-radius: 9px; font-size: 13px; color: #5a6651; }
.sa-account-summary a[aria-current] { background: #e6ecdf; border-color: #bac9ab; color: #38542a; }
.sa-account-summary strong { font-size: 19px; font-weight: 600; }
.sa-account-list { background: #fff; border: 1px solid #e2dfd5; border-radius: 12px; padding: 24px; }
.sa-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid #ebe8de; }
.sa-filters label { display: grid; gap: 7px; font-size: 12px; flex: 1; min-width: 150px; }
.sa-filters label:first-child { flex: 2; }
.sa-filters input, .sa-filters select { width: 100%; font-size: 14px; }
.sa-filters button { font-size: 13px; }
.sa-filters > a { font-size: 12px; padding: 14px 0; color: #506940; }
.sa-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 12px; }
.sa-results-heading h2 { font-size: 18px; margin: 0; }
.sa-results-heading span { font-size: 12px; color: #78836d; }
.sa-table-scroll { overflow-x: auto; }
.sa-account-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sa-account-table th, .sa-account-table td { padding: 16px 12px; text-align: left; border-bottom: 1px solid #eeece3; vertical-align: middle; background: transparent; }
.sa-account-table thead th { background: #f7f7f1; color: #727a69; font-size: 11px; font-weight: 550; white-space: nowrap; }
.sa-account-table th:first-child, .sa-account-table td:first-child { padding-left: 12px; }
.sa-account-table th strong { display: block; color: #33442d; font-weight: 600; }
.sa-account-table th small { display: block; color: #79816f; font-weight: 400; font-size: 12px; margin-top: 5px; overflow-wrap: anywhere; }
.sa-account-table td { color: #5d6954; }
.sa-account-table td a { color: #3d6530; font-weight: 550; }
.sa-status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; }
.sa-status-dot.green { background: #6d9452; }
.sa-status-dot.amber { background: #b99753; }
.sa-pagination { display: flex; justify-content: end; align-items: center; gap: 18px; margin-top: 22px; font-size: 13px; }
.sa-account-help { display: flex; gap: 16px; margin-top: 24px; padding: 22px; background: #eeeee6; border-radius: 12px; color: #65735a; }
.sa-account-help h2 { font-size: 15px; margin: 0 0 8px; }
.sa-account-help p { font-size: 13px; line-height: 1.7; margin: 0; }
.sa-account-help a { text-decoration: underline; color: #3f6132; }
.onboarding-admin-shell [id^="onboarding-account-"] { scroll-margin-top: 100px; }
.onboarding-admin-shell [id^="onboarding-account-"]:target { background: #edf3e8; outline: 2px solid #b9cba8; border-radius: 8px; }
.sa-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Admin tabs open on their working controls, with a small identifying toolbar. */
.role-admin .sa-tab-page { padding-top: 18px; padding-bottom: 36px; }
.role-admin .sa-tab-page > * + * { margin-top: 16px; }
.role-admin .sa-tab-page > :is(.surface-head, .sa-heading) {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 16px;
  margin: 0 0 14px; padding: 0; min-height: 44px;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.role-admin .sa-tab-page > :is(.surface-head, .sa-heading) h1 {
  margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.02em;
}
.role-admin .sa-tab-page > :is(.surface-head, .sa-heading) > div:first-child > p:not(.sa-context-note),
.role-admin .sa-tab-page > :is(.stat-grid, .platform-stat-grid, .sa-account-summary, .setup-progress-card),
.role-admin .sa-tab-page > .surface-head > .form-role-label { display: none; }
.role-admin .sa-tab-page > :is(.surface-head, .sa-heading) .sa-context-note {
  margin: 5px 0 0; font-size: 12px; line-height: 1.5;
}
.role-admin .sa-tab-page > :is(.surface-head, .sa-heading) :is(.button, button) {
  min-height: 40px; padding: 8px 12px; font-size: 13px;
}
.role-admin .sa-tab-page > .sa-heading .sa-actions { width: auto; flex-shrink: 1; }
.role-admin .sa-tab-page > .panel,
.role-admin .sa-tab-page > .two-col > .panel,
.role-admin .sa-tab-page .sa-account-list { padding: 18px; }
.role-admin .sa-tab-page > .panel > h2,
.role-admin .sa-tab-page > .two-col > .panel > h2 { font-size: 18px; margin: 0 0 12px; }
.role-admin .sa-tab-page .sa-filters { padding-bottom: 14px; }
.role-admin .sa-tab-page .sa-results-heading { margin: 14px 0 8px; }
.role-admin .sa-tab-page .sa-account-table :is(th, td) { padding-block: 12px; }
.role-admin .sa-tab-page .sa-account-help { padding: 16px 18px; }
.role-admin .sa-tab-page .site-editor-status-strip { padding: 9px 14px; gap: 10px; border-radius: 9px; }
.role-admin .sa-tab-page .site-editor-status-strip > span:nth-child(2) {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
}
.role-admin .sa-tab-page .site-editor-status-strip :is(strong, small),
.role-admin .sa-tab-page .site-editor-unsaved-note { font-size: 12px; }
.role-admin .sa-tab-page .site-editor-panel { padding: 18px; }
.role-admin .sa-tab-page .site-editor-panel-head { margin-bottom: 14px; padding-bottom: 14px; }
.role-admin .sa-tab-page .site-editor-panel-head h2 { font-size: 18px; }
.role-admin .sa-tab-page .site-editor-panel-head .eyebrow { display: none; }
.role-admin .sa-tab-page .catalogue-toolbar { margin: 0 0 8px; gap: 12px; }
.role-admin .sa-tab-page .form-section { margin-top: 18px; }
.role-admin .sa-tab-page .catalogue-section-head { margin-bottom: 8px; }
.role-admin .sa-tab-page .form-card { padding: 14px 16px; }
.role-admin .sa-tab-page .wizard-layout { margin-top: 14px; gap: 18px; }
.role-admin .sa-tab-page .setup-active-panel { padding: 18px; }
.role-admin .sa-tab-page .setup-active-panel > h2 { font-size: 20px; margin: 4px 0 8px; }
.role-admin .sa-tab-page .setup-active-panel > .eyebrow,
.role-admin .sa-tab-page .setup-sequence-guidance { display: none; }
.role-admin .sa-tab-page .setup-sequence-nav { margin: 12px 0; padding: 10px; }
.role-admin .sa-tab-page .wizard-step { padding: 9px 10px; }
.role-admin .sa-documents .sa-pack-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.role-admin .sa-documents .sa-pack-tools > h2 { margin: 0; font-size: 16px; }
.role-admin .sa-documents .sa-pack-tools .form-actions { margin: 0; flex: 1; gap: 10px; }
.role-admin .sa-documents .sa-pack-tools select { width: auto; min-width: 180px; }
@media (max-width: 600px) {
  .role-admin .sa-tab-page > :is(.surface-head, .sa-heading) { gap: 10px; }
  .role-admin .sa-tab-page > :is(.surface-head, .sa-heading) :is(.hero-actions, .site-editor-head-actions, .sa-actions) { gap: 8px; flex-wrap: wrap; }
  .role-admin .sa-documents .sa-pack-tools .form-actions { flex-basis: 100%; align-items: stretch; }
  .role-admin .sa-documents .sa-pack-tools select { min-width: 0; width: 100%; }
}
@media (min-width: 1280px) { .sa-tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .sa-workspace, .sa-nav { width: min(1480px, calc(100% - 96px)); } }
@media (max-width: 1100px) { .sa-heading { align-items: flex-start; flex-direction: column; gap: 18px; } .sa-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 20px; } .sa-tool-card { padding: 18px 16px 10px; } .sa-tool-card header { gap: 9px; } .sa-tool-card h3 { font-size: 16px; } .sa-overview a { padding: 13px 15px; gap: 10px; } .sa-overview small { font-size: 11px; } .sa-section-heading { align-items: flex-start; flex-wrap: wrap; } .sa-class-jump { grid-template-columns: 1fr; } .sa-class-spaces { grid-column: 1; } }
@media (max-width: 900px) { .sa-workspace, .sa-nav { width: calc(100% - 40px); } .sa-layout { grid-template-columns: 1fr; } .sa-sidebar { grid-template-columns: 1.4fr 1fr; align-items: start; } .sa-notifications { grid-column: 2; } .sa-attention { grid-row: span 2; } .sa-search { width: 270px; } }
@media (max-width: 600px) { .sa-workspace, .sa-nav { width: calc(100% - 32px); } .sa-workspace { padding-top: 25px; } .sa-nav { gap: 2px; min-height: 59px; } .sa-nav a { padding-inline: 11px; font-size: 12px; } .sa-nav .material-symbols-rounded { font-size: 18px; } .sa-heading { margin-bottom: 22px; } .sa-heading p { font-size: 13px; line-height: 1.6; } .sa-actions { width: 100%; } .sa-actions .button { flex: 1; font-size: 12px; padding: 10px; } .sa-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 26px; padding: 0; } .sa-overview a { padding: 16px 12px; } .sa-overview a:nth-child(2) { border-right: 0; } .sa-overview a:nth-child(-n+2) { border-bottom: 1px solid #d9dcd0; } .sa-overview strong { font-size: 23px; } .sa-stat-arrow { display: none; } .sa-tool-grid, .sa-sidebar { grid-template-columns: 1fr; } .sa-tool-card { padding: 20px 20px 12px; } .sa-tool-card h3 { font-size: 17px; } .sa-search { width: 100%; } .sa-section-heading { gap: 15px; } .sa-tools > .sa-section-heading { flex-direction: column; } .sa-tool-card li a { font-size: 14px; min-height: 46px; } .sa-notifications { grid-column: 1; } .sa-attention { grid-row: auto; } .sa-class-jump { padding: 22px 20px; } .sa-class-jump form > div { flex-direction: column; } .sa-class-jump button { width: 100%; } .sa-account-list { padding: 16px; } .sa-filters { align-items: stretch; } .sa-filters label { min-width: 100%; } .sa-filters button { width: 100%; } .sa-account-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .sa-account-summary a { font-size: 11px; gap: 8px; padding: 10px; } .sa-account-table { min-width: 770px; } .sa-account-help { padding: 18px; } }
/* Platform school context, registration, and activity controls. */
.school-context-selector { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.school-context-selector label { font-size: .75rem; font-weight: 700; }
.school-context-selector select { width: auto; max-width: 240px; min-width: 0; margin: 0; }
.school-context-selector button { white-space: nowrap; }
.school-admin-banner { background: #e4f0e9; color: #174a35; }
.activity-setting-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #e0e8e2; }
.activity-setting-row small, .activity-detail { display: block; color: #596b60; margin-top: .25rem; }
.activity-filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; align-items: end; margin: 1.25rem 0; }
.activity-filter-grid label { display: grid; gap: .35rem; min-width: 0; }
.activity-filter-grid select, .activity-filter-grid input { width: 100%; min-width: 0; }
.registration-field { display: grid; gap: .35rem; }
.registration-field .errorlist, .auth-form > .errorlist { color: #a32424; margin: 0; padding-left: 1.2rem; }
.registration-review-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
#registration-requests .platform-record-card { margin-top: .75rem; }
.hw-platform-content { min-width: 0; }
.hw-platform-content .table-wrap { overflow-x: auto; }
@media (max-width: 1050px) {
  .topbar-inner:has(.school-context-selector) { flex-wrap: wrap; }
  .topbar-inner:has(.school-context-selector) .workspace-search-trigger { display: none; }
}
@media (max-width: 620px) {
  .topbar-inner:has(.school-context-selector) .topbar-actions { flex-wrap: wrap; width: 100%; }
  .school-context-selector { flex: 1; }
  .school-context-selector select { max-width: none; width: 100%; }
  .school-context-selector label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .activity-setting-row { align-items: flex-start; flex-direction: column; }
  .school-admin-banner { flex-wrap: wrap; gap: .75rem; }
}
