/* Keep wide admin tables scrollable without making the whole screen overflow. */
.ak-main,.ak-content,.ak-page,.ak-form-main,.ak-card{min-width:0}
.ak-content{overflow-x:hidden}
.ak-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.ak-stat-card,.ak-stat-body{min-width:0}
.ak-stat-value{overflow-wrap:anywhere}
.ak-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.ak-tab{flex:0 0 auto}
.ak-table-wrap{max-width:100%;overscroll-behavior-x:contain;scrollbar-width:thin}
.ak-statusbar{max-width:100%;overflow-x:auto}
.ak-statusbar-step{flex:0 0 auto}
@media(max-width:1200px){.ak-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){
 .ak-stat-card{padding:16px;gap:12px}
 .ak-stat-icon{width:40px;height:40px;font-size:18px}
 .ak-stat-value{font-size:24px}
 .ak-toolbar{flex-wrap:wrap;gap:12px}
 .ak-toolbar-left,.ak-toolbar-right{min-width:0;max-width:100%}
 .ak-form-layout{grid-template-columns:minmax(0,1fr)}
 .ak-admin-badge{max-width:35vw}
}
@media(max-width:420px){.ak-stats-grid{grid-template-columns:minmax(0,1fr)!important}.ak-header{gap:8px}.ak-header-left{gap:6px}}
