/* Principal dashboard: horizontal status cards and one aligned content column. */
.principal-dashboard .dash-layout{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:18px;align-items:start}
.principal-dashboard .dash-side{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px;width:100%}
.principal-dashboard .dash-side>.dash-panel{margin:0;min-width:0;box-sizing:border-box}
.principal-dashboard .dash-side>.dash-spotlight{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:6px 24px;align-items:center;padding:20px 24px}
.principal-dashboard .dash-side>.dash-spotlight>.dash-eyebrow,.principal-dashboard .dash-side>.dash-spotlight>h3,.principal-dashboard .dash-side>.dash-spotlight>p{grid-column:1;margin:0}
.principal-dashboard .dash-side>.dash-spotlight>.dash-wide{grid-column:2;grid-row:1/4;margin:0;width:100%;min-height:46px}
.principal-dashboard .dash-side>.dash-panel:not(.dash-spotlight){display:grid;grid-template-columns:minmax(160px,1.2fr) repeat(3,minmax(90px,1fr)) auto;gap:18px;align-items:center;padding:18px 24px}
.principal-dashboard .dash-side .dash-mini-row{padding:0;display:flex;align-items:center;gap:10px}
.principal-dashboard .dash-side .dash-text-link{padding:0;white-space:normal;text-align:left}
.principal-dashboard .dash-main{width:100%;gap:18px}
.principal-dashboard .dash-main>.dash-panel{margin:0;width:100%;box-sizing:border-box}
.principal-dashboard .dash-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.principal-dashboard .dash-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#studentActivationPanel h2{margin-top:0}
#studentActivationPanel .activation-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
#studentActivationPanel .activation-toolbar label{flex:0 1 420px;margin:0;display:flex;flex-direction:column;gap:6px;min-width:0}
#studentActivationPanel .activation-toolbar input{width:100%;box-sizing:border-box;min-width:0}
#studentActivationPanel .activation-toolbar button{margin:0;min-height:44px}
#studentActivationReport>div:first-child{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px!important}
#studentActivationReport>div:first-child>button{min-width:0!important;width:100%;height:100%;box-sizing:border-box;overflow-wrap:anywhere}
.principal-dashboard #principalRecentActivity{margin:0!important}
@media(max-width:900px){
 .principal-dashboard .dash-side>.dash-panel:not(.dash-spotlight){grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 .principal-dashboard .dash-side .dash-panel-title{grid-column:1/-1}
 .principal-dashboard .dash-side .dash-text-link{grid-column:1/-1}
 #studentActivationReport>div:first-child{grid-template-columns:repeat(3,minmax(0,1fr))}
 .principal-dashboard .dash-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .principal-dashboard .dash-side>.dash-spotlight{grid-template-columns:minmax(0,1fr);padding:16px}
 .principal-dashboard .dash-side>.dash-spotlight>.dash-wide{grid-column:1;grid-row:auto;margin-top:8px}
 .principal-dashboard .dash-side>.dash-panel:not(.dash-spotlight){padding:16px;gap:10px}
 .principal-dashboard .dash-side .dash-mini-row{align-items:flex-start;flex-direction:column;gap:5px}
 .principal-dashboard .dash-action-grid{grid-template-columns:minmax(0,1fr)}
 #studentActivationReport>div:first-child{grid-template-columns:repeat(2,minmax(0,1fr))}
 #studentActivationPanel .activation-toolbar label{flex-basis:100%}
}
/* Align principal home controls without changing their actions. */
.principal-dashboard :is(#principalAccountActions,#principalLeadershipNav,#principalActionCentre,.dash-panel,.dash-hero,.dash-hero-actions,.dash-action-grid){min-width:0;max-width:100%;box-sizing:border-box}
.principal-dashboard #principalAccountActions{gap:12px;padding:18px}
.principal-dashboard #principalAccountActions>button{display:flex;align-items:center;justify-content:center;text-align:center!important;width:100%;min-width:0;min-height:52px;height:100%;margin:0!important;float:none!important;padding:12px 14px;box-sizing:border-box;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.4;font-size:14px}
.principal-dashboard #principalLeadershipNav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(60px,auto);align-items:stretch;gap:12px!important;padding:0!important;width:100%;max-width:100%;overflow:visible!important;scroll-snap-type:none;box-sizing:border-box}
.principal-dashboard #principalLeadershipNav>button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%!important;height:100%;min-width:0!important;max-width:100%!important;min-height:60px;flex:none!important;margin:0!important;padding:12px!important;border-radius:14px;white-space:normal!important;word-break:normal;overflow-wrap:break-word;text-align:center!important;line-height:1.35;font-size:14px!important;box-sizing:border-box}
.principal-dashboard #principalLeadershipNav>button>span{flex-shrink:0}
.principal-dashboard .dash-hero-actions{gap:12px}
.principal-dashboard .dash-hero-actions>button{width:100%;min-height:48px;margin:0!important;box-sizing:border-box;white-space:normal;line-height:1.4;text-align:center}
.principal-dashboard .dash-action-grid{gap:12px;align-items:stretch}
.principal-dashboard .dash-action-grid>button{min-width:0;width:100%;height:100%;margin:0;box-sizing:border-box;white-space:normal;line-height:1.4}
.principal-dashboard .dash-action-grid>button :is(b,strong,small){overflow-wrap:break-word;word-break:normal}
.principal-dashboard :is(.dash-section-head,.pra-head,.plf-heading){gap:12px;align-items:center;flex-wrap:wrap}
.principal-dashboard :is(.dash-section-head,.pra-head,.plf-heading)>div{min-width:0}
.principal-dashboard :is(.dash-section-head,.pra-head,.plf-heading)>button{margin:0;min-height:44px;white-space:normal}
.principal-dashboard #principalActionCentre .pac-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.principal-dashboard #principalActionCentre .pac-head>div{min-width:0}
.principal-dashboard #principalActionCentre #pacRefresh{min-height:44px;margin:0;white-space:nowrap;align-self:center}
.principal-dashboard #principalActionCentre .pac-stats{gap:12px;align-items:stretch}
.principal-dashboard #principalActionCentre .pac-stats>button{min-width:0;width:100%;min-height:92px;height:100%;margin:0;box-sizing:border-box;white-space:normal;line-height:1.4}
.principal-dashboard #principalActionCentre .pac-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}
.principal-dashboard #principalActionCentre .pac-actions>button{width:100%;margin:0;min-width:0;min-height:48px;white-space:normal}
.principal-dashboard :is(h1,h2,h3,p){overflow-wrap:break-word;word-break:normal}
@media(max-width:1050px) and (min-width:701px){.principal-dashboard #principalLeadershipNav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .principal-dashboard #principalLeadershipNav{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
 .principal-dashboard #principalLeadershipNav>button:last-child:nth-child(odd){grid-column:1/-1}
 .principal-dashboard #principalLeadershipNav>button{font-size:14px!important;min-height:64px;padding:12px 10px!important}
 .principal-dashboard #principalAccountActions{padding:16px;gap:10px}
 .principal-dashboard #principalAccountActions>button{min-height:52px}
 .principal-dashboard #principalActionCentre .pac-head{grid-template-columns:minmax(0,1fr)}
 .principal-dashboard #principalActionCentre #pacRefresh{width:100%;min-height:48px}
 .principal-dashboard :is(.pra-head,.plf-heading)>button{width:100%;min-height:48px}
 .principal-dashboard .dash-section-head{align-items:flex-start}
 .principal-dashboard .dash-section-head>button{min-height:44px}
}
@media(max-width:600px){.principal-dashboard #principalAccountActions{grid-template-columns:minmax(0,1fr)}}