/* Final cascade: one page scroll, wrapping controls, visible firm branding. */
.shell{min-width:0;grid-template-columns:230px minmax(0,1fr)}.main,.content,#content,.panel{min-width:0;max-width:100%}
.core-toolbar,.ops-toolbar,.audit-toolbar{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:flex-end!important}
.core-toolbar>label,.ops-toolbar>label{display:flex!important;flex-direction:column!important;gap:7px!important;flex:1 1 170px!important;min-width:0!important;margin:0!important}
.core-toolbar input,.core-toolbar select,.ops-toolbar input,.ops-toolbar select{width:100%;min-width:0;margin:0!important;min-height:44px}
.core-toolbar>button,.ops-toolbar>button{flex:0 1 auto!important;min-height:44px;max-width:100%;white-space:normal}
.heading,.panel-head,.learning-actions{flex-wrap:wrap;gap:12px}.heading>*,.panel-head>*{min-width:0}
#content .table-wrap{overflow:visible!important;max-height:none!important;overscroll-behavior:auto!important}html,body{height:auto;overscroll-behavior:auto}
table{table-layout:fixed;white-space:normal}td,th{overflow-wrap:anywhere;min-width:0}td button{max-width:100%;white-space:normal;margin:3px 0}
button:not(.secondary):not(.icon):not(.link):not(.quick-card):not([data-nav]){background-color:var(--firm-color,var(--blue));color:var(--firm-ink,#fff)}
.sidebar nav button.active{background:var(--firm-color,var(--blue));color:var(--firm-ink,#fff)}.topbar{border-top:4px solid var(--firm-color,var(--blue))}
.report-bars{padding:20px}.report-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(60px,3fr) 50px;gap:12px;align-items:center;margin:14px 0}.report-row meter{width:100%;height:25px;accent-color:var(--blue)}
@media(max-width:900px){.shell{display:block}.core-toolbar>label,.ops-toolbar>label{flex-basis:calc(50% - 12px)!important}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.core-toolbar>label,.ops-toolbar>label{flex-basis:100%!important}.core-toolbar>button,.ops-toolbar>button{flex:1 1 120px!important}.stats{grid-template-columns:1fr}.report-row{grid-template-columns:1fr 2fr 35px;gap:6px}.content{padding:18px 12px}.form-grid{grid-template-columns:1fr}.heading h1{font-size:26px}.panel-head{padding:16px}}
