/* RC29 | Supervisor Portal - cohesive operational UI
   Loaded after page templates so legacy inline rules cannot undo it.
   Design only: no modification to form names, actions or session handling. */
:root{--sp29-green:#08795c;--sp29-deep:#064a39;--sp29-deeper:#043b2f;--sp29-ink:#173a30;--sp29-body:#385448;--sp29-muted:#698177;--sp29-soft:#eef8f2;--sp29-bg:#f3f7f5;--sp29-border:#dbe7e1;--sp29-border-lite:#e9f0ec;--sp29-radius:16px;--sp29-shadow:0 7px 25px rgba(13,63,45,.035);--sp29-font:'Cairo',Tahoma,'Segoe UI',sans-serif}
body.portal-has-sidebar {background:var(--sp29-bg)!important;font-family:var(--sp29-font)!important;color:var(--sp29-body)!important;line-height:1.75}
body.portal-has-sidebar .portal-shell{font-family:var(--sp29-font)!important}
body.portal-has-sidebar .portal-header{background:#fff!important;border-bottom:1px solid var(--sp29-border)!important;box-shadow:0 4px 14px rgba(15,67,47,.025)}
body.portal-has-sidebar .portal-header-inner{max-width:1600px;min-height:70px;padding-inline:clamp(16px,2.1vw,32px)}
body.portal-has-sidebar .portal-brand-copy strong{font-size:15px!important;font-weight:600!important;line-height:1.55!important}
body.portal-has-sidebar .portal-brand-copy small{font-size:11px!important;font-weight:400!important}
body.portal-has-sidebar .portal-logo{font-size:17px;font-weight:600;background:#08795c;box-shadow:none;width:41px;height:41px}
body.portal-has-sidebar .portal-account-copy{text-align:right;max-width:350px}
body.portal-has-sidebar .portal-account-copy strong{font-size:13px!important;font-weight:500!important}
body.portal-has-sidebar .portal-account-copy small{font-size:11px!important}
body.portal-has-sidebar :is(.portal-btn,button,input,select,textarea){font-family:var(--sp29-font)!important}
body.portal-has-sidebar .portal-btn{min-height:42px;border-radius:10px;padding:0 16px;font-size:13px!important;font-weight:500!important}
body.portal-has-sidebar .portal-btn.violet{background:var(--sp29-green)!important;border-color:var(--sp29-green)!important;color:#fff!important}
body.portal-has-sidebar .portal-btn.primary{background:var(--sp29-green)!important;border-color:var(--sp29-green)!important}
body.portal-has-sidebar :is(.portal-surface,.ws-panel,.ws-kpi){border:1px solid var(--sp29-border)!important;border-radius:var(--sp29-radius)!important;box-shadow:var(--sp29-shadow)!important}
body.portal-has-sidebar .portal-main{min-width:0}
/* Right-hand navigation matches administration shell while staying legible. */
body.portal-has-sidebar .portal-nav-shell{background:var(--sp29-deep)!important;border:0!important;color:#eff9f4!important}
body.portal-has-sidebar .portal-nav-head{min-height:92px;padding:21px 16px;border-bottom:1px solid rgba(255,255,255,.14)}
body.portal-has-sidebar .portal-nav-mark{background:rgba(255,255,255,.1)!important;color:#f6fff9!important;border-radius:11px}
body.portal-has-sidebar .portal-nav-heading strong{font-size:15px!important;font-weight:600!important;color:#fff!important}
body.portal-has-sidebar .portal-nav-heading small{font-size:11px!important;color:#b8d8cb!important}
body.portal-has-sidebar .portal-nav-label{color:#a6c9ba!important;font-size:11px!important;font-weight:500!important;margin:17px 12px 7px}
body.portal-has-sidebar .portal-nav .portal-nav-item{color:#eef8f3!important;font-size:13.5px!important;font-weight:500!important;min-height:47px;border:0!important;border-right:3px solid transparent!important;border-radius:10px!important;padding:9px 12px!important}
body.portal-has-sidebar .portal-nav .portal-nav-item:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
body.portal-has-sidebar .portal-nav .portal-nav-item.active{background:#ddf4e8!important;color:var(--sp29-deep)!important;border-right-color:#44b98f!important}
body.portal-has-sidebar .portal-nav-item-icon{background:rgba(255,255,255,.1)!important;color:#d7efe4!important;width:31px;height:31px;flex-basis:31px}
body.portal-has-sidebar .portal-nav .portal-nav-item.active .portal-nav-item-icon{background:#c6e9d7!important;color:#07523c!important}
body.portal-has-sidebar .portal-nav-item-icon svg{stroke-width:1.7;fill:none}
body.portal-has-sidebar .portal-nav-bottom{background:rgba(255,255,255,.065)!important;border-color:rgba(255,255,255,.16)!important;color:#b9d8c9!important}
body.portal-has-sidebar .portal-nav-bottom-title{color:#f1fcf5!important;font-size:12px!important;font-weight:500!important}
body.portal-has-sidebar .portal-nav-bottom-subtitle{color:#bad9cd!important;font-size:11px!important}
body.portal-has-sidebar :is(.portal-nav-collapse,.portal-menu-close){border-color:rgba(255,255,255,.19);background:rgba(255,255,255,.08);color:#eaf8f0}
body.portal-has-sidebar :is(.portal-nav-collapse,.portal-menu-close):hover{background:rgba(255,255,255,.16);color:white}
body.portal-has-sidebar .portal-footer{font-size:11px;color:#82938b;padding-bottom:20px}
/* Shared page anatomy */
body.portal-has-sidebar .rc29-page{width:100%!important;max-width:1530px!important;margin-inline:auto!important;padding:20px clamp(14px,1.6vw,28px) 48px!important;box-sizing:border-box!important;min-width:0!important;direction:rtl}
body.portal-has-sidebar .rc29-page :is(h1,h2,h3,h4){font-family:var(--sp29-font)!important;letter-spacing:0!important;color:var(--sp29-ink)!important;font-weight:600!important;line-height:1.55!important}
body.portal-has-sidebar .rc29-page h1{font-size:clamp(22px,1.6vw,26px)!important}
body.portal-has-sidebar .rc29-page h2{font-size:18px!important}
body.portal-has-sidebar .rc29-page h3{font-size:16px!important}
body.portal-has-sidebar .rc29-page :is(p,li){line-height:1.85}
body.portal-has-sidebar .rc29-page :is(b,strong){font-weight:600!important}
body.portal-has-sidebar .rc29-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-family:var(--sp29-font)!important;font-size:13.5px!important;font-weight:400!important;min-height:42px!important;border-radius:10px!important;border:1px solid var(--sp29-border)!important;color:var(--sp29-ink)!important;background-color:#fff}
body.portal-has-sidebar .rc29-page :is(input,select,textarea):focus-visible{outline:2px solid #86c7ae!important;outline-offset:1px}
body.portal-has-sidebar .rc29-page :is(button,.ws-button,.ws-link,.school-toggle,.reset-filters){font-family:var(--sp29-font)!important;font-size:13px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-page :is(a,button){-webkit-tap-highlight-color:transparent}
body.portal-has-sidebar .rc29-page :is(a,button,summary):focus-visible{outline:2px solid var(--sp29-green)!important;outline-offset:3px}
body.portal-has-sidebar .rc29-page :is(table){width:100%;border-collapse:collapse}
body.portal-has-sidebar .rc29-page :is(th){background:#f3f8f5!important;color:#5e756b!important;font-size:12.5px!important;font-weight:600!important;padding:12px 15px!important;white-space:nowrap}
body.portal-has-sidebar .rc29-page :is(td){font-size:13px!important;font-weight:400!important;padding:14px 15px!important;border-bottom:1px solid var(--sp29-border-lite);vertical-align:middle}
body.portal-has-sidebar .rc29-page :is(table tbody tr:hover){background:#f8fbf9}
body.portal-has-sidebar .rc29-page :is(.portal-badge,.exec-chip,.ws-status){border-radius:999px!important;min-height:27px;padding:3px 10px;font-size:11px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-page .export-menu summary{min-height:42px;padding:0 14px;font-size:13px!important;font-weight:500!important;border-radius:10px}
body.portal-has-sidebar .rc29-page .export-popover a{font-size:13px!important;font-weight:400!important;min-height:38px}
.rc29-page-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:145px;padding:24px 28px!important;border:1px solid #d6e9de!important;border-radius:16px!important;background:linear-gradient(110deg,#eaf7ef,#f7fbf8 56%,#fff)!important;box-shadow:var(--sp29-shadow)!important;margin-bottom:14px;overflow:hidden}
.rc29-page-hero h1{margin:5px 0 4px!important}
.rc29-page-hero p{font-size:13px!important;color:var(--sp29-muted)!important;margin:0}
.rc29-eyebrow{font-size:12.5px!important;font-weight:500!important;color:var(--sp29-green)!important}
.rc29-hero-side{display:flex;flex-direction:column;gap:8px;align-items:flex-end;min-width:205px}
.rc29-hero-side small{font-size:12px!important;color:var(--sp29-muted)}
.rc29-week-pill{display:inline-flex;align-items:center;min-height:34px;padding:4px 13px;background:#e4f4eb;border:1px solid #cfebda;border-radius:10px;color:#086746;font-size:13px;font-weight:500}
.rc29-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}
.rc29-kpi{background:#fff;border:1px solid var(--sp29-border);border-radius:15px;padding:19px 19px 16px;min-height:125px;box-shadow:var(--sp29-shadow);display:flex;flex-direction:column;gap:5px;position:relative}
.rc29-kpi-symbol{position:absolute;left:17px;top:17px;width:34px;height:34px;border-radius:10px;background:#e8f5ed;color:#08795c;font-size:18px;display:grid;place-items:center;font-weight:500}
.rc29-kpi-label{font-size:13px;font-weight:500;color:#6a8076}
.rc29-kpi strong{display:block;font-size:28px!important;font-weight:500!important;line-height:1.4;color:var(--sp29-ink)}
.rc29-kpi small{font-size:11.5px!important;color:#71887d;line-height:1.5}
.rc29-panel{padding:0;min-width:0;overflow:hidden;background:#fff}
.rc29-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--sp29-border-lite)}
.rc29-panel-head h2{margin:3px 0 0!important}
.rc29-panel-head p{margin:3px 0 0;color:var(--sp29-muted);font-size:12px!important}
.rc29-text-link{color:#087257!important;font-size:13px!important;font-weight:500!important;text-decoration:none;white-space:nowrap}
.rc29-text-link:hover{text-decoration:underline}
.rc29-tone,.rc29-count{border-radius:999px;background:#eff6f2;color:#477a65;display:inline-flex;align-items:center;padding:6px 12px;font-size:12px;white-space:nowrap}
.rc29-tone.attention{background:#fff5e7;color:#956316}.rc29-tone.success{background:#e5f6e9;color:#107049}
.rc29-btn{min-height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:10px;text-decoration:none;font-size:13px;font-weight:500;white-space:nowrap}
.rc29-btn.primary{background:var(--sp29-green);color:#fff!important}.rc29-btn.primary:hover{background:#066c52}
.rc29-dashboard-layout{display:grid;grid-template-columns:minmax(0,0.85fr) minmax(0,1.35fr);gap:14px;margin-bottom:14px}
.rc29-action-body{padding:22px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:24px;min-height:160px}
.rc29-action-body h3{margin:0 0 7px;font-size:18px!important}
.rc29-action-body p{font-size:13px!important;color:var(--sp29-muted)!important;margin:0}
.rc29-callout{margin:0 20px 20px;padding:12px 15px;border:1px solid #e2ebe5;border-radius:11px;background:#f7faf8;color:#587469;display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.9}
.rc29-callout-dot{width:8px;height:8px;border-radius:50%;background:#e3a845;margin-top:8px;flex:0 0 8px}
.rc29-week-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:18px 19px}
.rc29-week-day{min-width:0;padding:12px 8px;min-height:115px;text-align:center;border:1px solid #e1ebe5;border-radius:11px;background:#fbfdfb;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px}
.rc29-week-day.is-today{border-color:#93cdb4;background:#eff9f2}
.rc29-week-day strong{font-size:13px!important;font-weight:500!important}
.rc29-week-day small{font-size:11px;color:var(--sp29-muted)}
.rc29-week-day-status{font-size:10.5px;color:#966b29;background:#fff3e4;line-height:1.5;border-radius:7px;padding:3px 5px;margin-top:4px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rc29-week-day-status.has-activity{background:#e7f6ed;color:#167553}
.rc29-week-school{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rc29-dashboard-bottom{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rc29-list{padding:3px 17px 11px}
.rc29-list-item{padding:13px 5px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--sp29-border-lite)}
.rc29-list-item:last-child{border-bottom:0}
.rc29-list-item strong{font-size:13px!important;color:var(--sp29-ink)!important;font-weight:500!important}
.rc29-list-item p{margin:3px 0 0!important;font-size:12px!important;color:var(--sp29-muted)!important}
.rc29-empty{padding:24px 18px;font-size:13px;color:#71847a;text-align:center}
/* Weekly plan editor: preserve original IDs, names, validation and dynamic school selectors. */
body.portal-has-sidebar .rc29-plan .planner-hero{min-height:150px!important;padding:24px 26px!important;background:linear-gradient(110deg,#eaf7ef,#fff)!important;border-color:#d6e9de!important;margin-bottom:13px}
body.portal-has-sidebar .rc29-plan .hero-copy .eyebrow{font-size:12.5px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-plan .hero-copy h1{font-size:clamp(22px,1.6vw,26px)!important;font-weight:600!important}
body.portal-has-sidebar .rc29-plan .hero-copy p{font-size:13px!important;color:var(--sp29-muted)!important}
body.portal-has-sidebar .rc29-plan .hero-percent strong{font-size:26px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-plan .hero-percent small{font-size:12px!important}
body.portal-has-sidebar .rc29-plan .hero-progress-copy{font-size:12px!important}
body.portal-has-sidebar .rc29-plan .planner-live{padding:12px 14px!important;border-radius:10px}
body.portal-has-sidebar .rc29-plan .planner-live strong{font-size:13px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-plan .planner-live small{font-size:12px!important}
body.portal-has-sidebar .rc29-plan .planner-live-badge{font-size:11px!important;font-weight:500!important}
.rc29-editor-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 12px;padding:17px 19px;background:#fff;border:1px solid var(--sp29-border);border-radius:14px}
.rc29-editor-intro strong{font-size:16px;font-weight:500!important;color:var(--sp29-ink)}
.rc29-editor-intro p{margin:3px 0 0;font-size:12px;color:var(--sp29-muted)}
body.portal-has-sidebar .rc29-plan .week-board{gap:12px!important;grid-template-columns:repeat(5,minmax(0,1fr))}
body.portal-has-sidebar .rc29-plan .day-card{min-height:335px!important;border-radius:15px!important;overflow:visible}
body.portal-has-sidebar .rc29-plan .day-head{min-height:92px!important;padding:16px 13px!important;background:linear-gradient(180deg,#ebf7f0,#f7fbf8)!important;border-radius:14px 14px 0 0}
body.portal-has-sidebar .rc29-plan .day-head-copy strong{font-size:15px!important;font-weight:600!important}
body.portal-has-sidebar .rc29-plan .day-head-copy small{font-size:11.5px!important;line-height:1.6}
body.portal-has-sidebar .rc29-plan .day-state-label{font-size:11px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-plan .day-content{padding:16px 13px!important}
body.portal-has-sidebar .rc29-plan .section-label,body.portal-has-sidebar .rc29-plan .visit-field label{font-size:12px!important;font-weight:500!important;color:#4e7062!important}
body.portal-has-sidebar .rc29-plan .form-control{min-height:43px!important;font-size:13px!important;font-weight:400!important}
body.portal-has-sidebar .rc29-plan .visit-title{font-size:13px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-plan .visit-field{margin-top:13px!important}
body.portal-has-sidebar .rc29-plan .school-count{font-size:11px!important}
body.portal-has-sidebar .rc29-plan .school-option{font-size:12px!important;line-height:1.7}
body.portal-has-sidebar .rc29-plan .validation-message,body.portal-has-sidebar .rc29-plan .read-value,body.portal-has-sidebar .rc29-plan .compact-note{font-size:12px!important}
body.portal-has-sidebar .rc29-plan .planner-actions{margin-top:14px;padding:17px 20px;display:flex;align-items:center;gap:14px}
body.portal-has-sidebar .rc29-plan .planner-actions-note,body.portal-has-sidebar .rc29-plan .planner-submit-help{font-size:12px!important}
body.portal-has-sidebar .rc29-plan .planner-buttons{gap:8px}
body.portal-has-sidebar .rc29-plan .planner-buttons .portal-btn{min-height:43px!important}
body.portal-has-sidebar .rc29-plan .js-submit-button:not(:disabled){box-shadow:0 6px 16px rgba(8,121,92,.13)}
/* History data and empty state */
body.portal-has-sidebar .rc29-history .history-head{margin-bottom:14px!important}
body.portal-has-sidebar .rc29-history .history-head h1{font-size:clamp(22px,1.6vw,26px)!important;font-weight:600!important}
body.portal-has-sidebar .rc29-history .history-head p{font-size:13px!important}
body.portal-has-sidebar .rc29-history .history-card{margin-top:0!important}
body.portal-has-sidebar .rc29-history .history-table th,body.portal-has-sidebar .rc29-history .history-table td{padding:14px 18px!important}
body.portal-has-sidebar .rc29-history .history-week strong{font-size:13px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-history .history-week small,body.portal-has-sidebar .rc29-history .mini-progress-copy,body.portal-has-sidebar .rc29-history .execution-pct{font-size:11px!important}
body.portal-has-sidebar .rc29-history .history-empty{font-size:14px!important;padding:54px!important}
body.portal-has-sidebar .rc29-history .exec-chip{font-size:11px!important}
/* Schools: consistent cards and generous readable content. Keep existing client filters/export. */
body.portal-has-sidebar .rc29-schools .schools-hero{min-height:140px!important;padding:23px 26px!important;margin-bottom:14px!important;background:linear-gradient(110deg,#edf8f1,#fff)!important}
body.portal-has-sidebar .rc29-schools .schools-hero .eyebrow{font-size:12.5px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-schools .schools-hero h1{font-size:clamp(22px,1.6vw,26px)!important;font-weight:600!important}
body.portal-has-sidebar .rc29-schools .schools-hero p{font-size:13px!important}
body.portal-has-sidebar .rc29-schools .schools-count{font-size:12px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-schools .schools-count strong{font-size:15px!important}
body.portal-has-sidebar .rc29-schools .schools-search-card{padding:15px 17px!important;margin:0 0 14px!important;border-radius:14px}
body.portal-has-sidebar .rc29-schools .search-row{gap:10px}
body.portal-has-sidebar .rc29-schools .school-search,body.portal-has-sidebar .rc29-schools .school-filter{min-height:43px!important;font-size:13px!important}
body.portal-has-sidebar .rc29-schools .search-icon{font-size:21px!important}
body.portal-has-sidebar .rc29-schools .result-count{font-size:12px!important}
body.portal-has-sidebar .rc29-schools .schools-grid{margin-top:0;gap:12px!important;grid-template-columns:repeat(4,minmax(0,1fr))}
body.portal-has-sidebar .rc29-schools .school-card{min-height:155px!important;padding:15px!important;border-radius:14px!important;display:flex;flex-direction:column;gap:11px}
body.portal-has-sidebar .rc29-schools .school-main{min-width:0}
body.portal-has-sidebar .rc29-schools .school-name{font-size:14px!important;font-weight:600!important;line-height:1.75!important}
body.portal-has-sidebar .rc29-schools .school-code{font-size:11px!important}
body.portal-has-sidebar .rc29-schools .school-chip{font-size:11px!important;font-weight:500!important;min-height:25px}
body.portal-has-sidebar .rc29-schools .school-footer{margin-top:auto!important}
body.portal-has-sidebar .rc29-schools .school-sector-short{font-size:12px!important}
body.portal-has-sidebar .rc29-schools .school-toggle{font-size:12px!important;min-height:34px!important;padding:0 11px!important}
body.portal-has-sidebar .rc29-schools .school-details{padding-top:12px!important;gap:8px!important}
body.portal-has-sidebar .rc29-schools .school-detail-row :is(strong,span){font-size:11.5px!important}
body.portal-has-sidebar .rc29-schools .stage-source{font-size:11px!important}
body.portal-has-sidebar .rc29-schools .no-results{padding:50px 20px!important;font-size:13px!important}
/* Execution has historically tiny captions; preserve fields and server validation. */
body.portal-has-sidebar .rc29-execution .ve-head{background:linear-gradient(110deg,#edf8f1,#fff)!important;padding:24px!important}
body.portal-has-sidebar .rc29-execution .ve-eyebrow{font-size:12px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-execution .ve-head h1{font-size:24px!important;font-weight:600!important}
body.portal-has-sidebar .rc29-execution .ve-head p{font-size:13px!important}
body.portal-has-sidebar .rc29-execution :is(.ve-title,.section-head h2){font-size:16px!important;font-weight:600!important}
body.portal-has-sidebar .rc29-execution :is(.ve-sub,.section-head p,.ve-info-item small,.ve-chip,.ve-note,.choice-card label span,.domain-pick small,.domain-progress span,.rating-option label,.support-card-head small,.validation-hint){font-size:12px!important;line-height:1.75!important}
body.portal-has-sidebar .rc29-execution :is(.ve-info-item strong,.choice-card label strong,.domain-pick strong,.domain-name strong,.perf-q,.score-copy strong,.support-card-head strong,.support-toggle label){font-size:13px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-execution :is(.field label,.ve-chip,.ve-status,.domain-no,.save-button,.secondary-link){font-size:12px!important;font-weight:500!important}
body.portal-has-sidebar .rc29-execution :is(.save-button,.secondary-link){min-height:42px!important}
/* Responsive; preserve right-hand navigation offcanvas behavior. */
@media(max-width:1250px){.rc29-dashboard-layout{grid-template-columns:1fr}.rc29-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.portal-has-sidebar .rc29-schools .schools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.portal-has-sidebar .rc29-plan .week-board{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.rc29-dashboard-bottom{grid-template-columns:1fr}body.portal-has-sidebar .rc29-schools .schools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.portal-has-sidebar .rc29-plan .week-board{grid-template-columns:repeat(2,minmax(0,1fr))}.rc29-week-strip{grid-template-columns:repeat(3,minmax(0,1fr))}body.portal-has-sidebar .portal-account-copy{display:none}}
@media(max-width:620px){body.portal-has-sidebar .rc29-page{padding:13px 11px 32px!important}.rc29-page-hero{padding:19px!important;min-height:0;flex-direction:column;align-items:flex-start}.rc29-hero-side{align-items:flex-start;min-width:0}.rc29-kpis{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.rc29-kpi{padding:14px;min-height:115px}.rc29-kpi strong{font-size:24px!important}.rc29-kpi-symbol{position:static;width:27px;height:27px;margin-bottom:2px}.rc29-kpi-label{font-size:12px}.rc29-dashboard-layout{grid-template-columns:1fr}.rc29-week-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px}.rc29-panel-head{padding:15px;align-items:flex-start;flex-wrap:wrap}.rc29-action-body{padding:16px;min-height:0}.rc29-callout{margin:0 14px 15px}.rc29-list{padding:0 11px 8px}body.portal-has-sidebar .rc29-plan .week-board{grid-template-columns:1fr}body.portal-has-sidebar .rc29-plan .day-card{min-height:0!important}body.portal-has-sidebar .rc29-plan .planner-hero{padding:18px!important}body.portal-has-sidebar .rc29-plan .hero-main{flex-direction:column!important}body.portal-has-sidebar .rc29-plan .planner-actions{flex-direction:column!important;align-items:stretch!important}body.portal-has-sidebar .rc29-plan .planner-buttons{justify-content:flex-start;flex-wrap:wrap}body.portal-has-sidebar .rc29-plan .planner-buttons .portal-btn{flex:1}body.portal-has-sidebar .rc29-schools .schools-grid{grid-template-columns:1fr}body.portal-has-sidebar .rc29-schools .search-row{flex-direction:column;align-items:stretch}body.portal-has-sidebar .rc29-schools .search-row > *{width:100%;flex:0 0 auto;min-width:0}body.portal-has-sidebar .rc29-schools .school-card{min-height:135px!important}body.portal-has-sidebar .rc29-history .history-head{flex-direction:column!important;align-items:flex-start!important}body.portal-has-sidebar .rc29-history .history-card > div{overflow-x:auto!important}body.portal-has-sidebar .rc29-history .history-table{min-width:850px}}
@media(prefers-reduced-motion:reduce){body.portal-has-sidebar *,body.portal-has-sidebar *::before,body.portal-has-sidebar *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.rc29-kpi-symbol svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
/* History filters */
.rc29-history-filters{margin:0 0 14px;padding:14px 17px;display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.rc29-history-filters label{display:flex;flex-direction:column;gap:6px;color:#61796d;font-size:12px;font-weight:500}
.rc29-history-filters label:first-child{flex:1 1 260px}
.rc29-history-filters label:nth-child(2){flex:0 1 235px}
.rc29-filter-count{margin-inline-start:auto;align-self:center;font-size:12px;color:#607a6c}
body.portal-has-sidebar .rc29-history .js-history-row[hidden]{display:none!important}
/* Schools default list; toggle switches to card layout without affecting filtering. */
body.portal-has-sidebar .rc29-schools .schools-grid{grid-template-columns:1fr!important;gap:7px!important}
body.portal-has-sidebar .rc29-schools .school-card{min-height:90px!important;padding:14px 18px!important;display:grid!important;grid-template-columns:minmax(240px,2.1fr) minmax(120px,.75fr) minmax(185px,1fr);align-items:center;column-gap:18px;row-gap:8px}
body.portal-has-sidebar .rc29-schools .school-top{align-items:center;min-width:0}
body.portal-has-sidebar .rc29-schools .school-meta{margin:0!important}
body.portal-has-sidebar .rc29-schools .school-footer{margin:0!important;min-width:0}
body.portal-has-sidebar .rc29-schools .school-details{grid-column:1/-1;border-top:1px solid var(--sp29-border-lite);margin-top:6px;padding-top:13px!important}
body.portal-has-sidebar .rc29-schools .schools-grid.is-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.portal-has-sidebar .rc29-schools .schools-grid.is-cards .school-card{display:flex!important;min-height:165px!important;flex-direction:column;align-items:stretch}
body.portal-has-sidebar .rc29-schools .schools-grid.is-cards .school-footer{margin-top:auto!important}
@media(max-width:1130px){body.portal-has-sidebar .rc29-schools .school-card{grid-template-columns:minmax(160px,1.6fr) minmax(100px,.65fr) minmax(130px,.8fr);gap:12px}body.portal-has-sidebar .rc29-schools .schools-grid.is-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body.portal-has-sidebar .rc29-schools .school-card{display:flex!important;align-items:stretch;flex-direction:column;gap:8px}body.portal-has-sidebar .rc29-schools .schools-grid.is-cards{grid-template-columns:1fr!important}.rc29-history-filters{flex-direction:column;align-items:stretch}.rc29-history-filters label,.rc29-history-filters label:first-child,.rc29-history-filters label:nth-child(2){flex:initial}.rc29-filter-count{align-self:flex-start}}
