.app-shell,.workspace,.workspace>main,.admin-shell,.admin-workspace,.admin-workspace>main{min-width:0;max-width:100%}.sidebar{max-width:100vw;overflow-x:hidden}.sidebar>*,.school-switch>span,.nav-group a>span{min-width:0;max-width:100%}.school-switch{flex-shrink:0}.school-switch small{white-space:normal;overflow-wrap:anywhere;line-height:1.5}.school-icon,.nav-group svg,.year-label svg{flex-shrink:0}.year-label{flex-wrap:wrap}.dashboard-grid>div,.financial-charts>*,.stats-grid>*,.two-columns>*,.class-grid>*,.event-grid>*,.plan-grid>*,.form-grid>*,.detail-grid>*{min-width:0}.app-shell .panel,.app-shell .stat,.app-shell .welcome,.app-shell .plan-card,.app-shell .starter-card,.app-shell .class-card,.app-shell .event-card{overflow-wrap:anywhere;min-width:0;max-width:100%}.app-shell .stat h2{white-space:normal;overflow-wrap:anywhere}.app-shell .stat-icon{flex-shrink:0}.app-shell .panel-heading>div,.app-shell .welcome>div,.app-shell .page-heading>div,.app-shell .event-item>span:nth-child(2),.app-shell .followup button>span:nth-child(2){min-width:0}.app-shell .event-item svg,.app-shell .followup svg,.app-shell .alert-icon{flex-shrink:0}.table-wrap,[data-slot=table-container],.week-grid{overscroll-behavior-x:contain;min-width:0;max-width:100%;overflow-x:auto}.table-wrap>div{min-width:0;max-width:100%}.app-shell .week-grid{grid-template-columns:repeat(6,minmax(125px,1fr))}.app-shell .financial-charts,.app-shell .two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .financial-status-body{flex-wrap:wrap}.app-shell .financial-status ul{min-width:105px;margin:0}.app-shell .financial-bars>div>div:first-child{flex-wrap:wrap}.app-shell .financial-bars strong{overflow-wrap:anywhere;max-width:100%}.app-shell .bar-chart{gap:clamp(4px,2vw,24px);min-width:0}.app-shell .bar-column{min-width:0}.app-shell .chart-axis{flex-shrink:0}.app-shell .chart-legend{flex-wrap:wrap}.app-shell .topbar,.app-shell .breadcrumb{min-width:0}.app-shell .topbar-right{flex-shrink:0}.app-shell .page-footer,.app-shell .table-footer{flex-wrap:wrap;gap:8px}.app-shell .module-toolbar>*,.app-shell .search-input{min-width:0;max-width:100%}.app-shell .primary,.app-shell .secondary{white-space:normal;max-width:100%}.app-shell .primary svg,.app-shell .secondary svg{flex-shrink:0}.drawer,.modal{overflow-wrap:anywhere}[data-slot=sheet-content].drawer{overscroll-behavior-y:contain;width:590px;max-width:100vw;height:100dvh;max-height:100dvh;padding-top:max(25px, env(safe-area-inset-top));padding-bottom:max(25px, env(safe-area-inset-bottom));border-radius:0;position:fixed;inset:0 0 auto auto;overflow:hidden auto}.drawer .heading-actions,.modal-footer{flex-wrap:wrap}@media (width<=1050px){.app-shell .financial-charts{grid-template-columns:minmax(0,1fr)}}@media (width<=1020px){.app-shell .dashboard-grid,.app-shell .two-columns{grid-template-columns:minmax(0,1fr)}}@media (width<=760px){.app-shell .sidebar{width:min(280px,88vw);min-width:0}.app-shell .panel-heading{flex-wrap:wrap}.app-shell .term-card{width:100%;min-width:0}.app-shell .term-card span{margin-left:0}.app-shell .module-toolbar{flex-wrap:wrap}.app-shell .module-toolbar>input,.app-shell .module-toolbar>select{width:100%;max-width:none}.app-shell .stats-grid h2{overflow-wrap:anywhere;font-size:clamp(20px,6vw,27px)}}@media (width<=360px){.app-shell .stats-grid,.app-shell .stats-grid.three{grid-template-columns:minmax(0,1fr)}.app-shell .stats-grid.three .stat:last-child{grid-column:auto}.app-shell .stat{min-height:0}}@media print{.table-wrap,[data-slot=table-container],.week-grid{max-width:none;overflow:visible}}.auth-shell>*,.auth-form-inner,.auth-form form,.auth-form label{min-width:0;max-width:100%}.auth-form input,.auth-form select{min-width:0}.auth-form .primary{white-space:normal;overflow-wrap:anywhere}.auth-form-inner h2{overflow-wrap:anywhere}@media (width<=760px){.auth-shell{grid-template-columns:minmax(0,1fr)}}
