/* Keep list workspaces inside the viewport; only table content scrolls. */
#app.shell.list-workspace { display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden; }
#app.shell.list-workspace>.topbar { position:relative;min-height:62px;padding:8px 20px;gap:16px; }
#app.shell.list-workspace>.main { width:100%;max-width:none;margin:0;padding:10px 16px 12px;height:100%;min-height:0;overflow:hidden; }
#app.shell.list-workspace .list-page.active { height:100%;min-height:0;overflow:hidden; }
#app.list-workspace .workspace-heading,#app.list-workspace .accounts-hero { padding:0 0 8px;margin:0;flex:none; }
#app.list-workspace .workspace-metrics,#app.list-workspace .account-metrics { margin:8px 0!important;gap:8px!important;flex:none; }
#app.list-workspace .workspace-metric,#app.list-workspace .account-metric { min-height:42px;padding:8px 12px!important;box-shadow:0 2px 0 -1px #d7c5a8!important; }
#app.list-workspace .workspace-metric strong,#app.list-workspace .account-metric strong { font-size:20px!important; }
#app.list-workspace .workspace-tabs,#app.list-workspace .account-tabs { margin:0 0 8px;min-height:34px;padding:3px;flex:none; }
#app.list-workspace .workspace-tabs button,#app.list-workspace .account-tabs button { padding:6px 14px; }
#app.list-workspace .workspace-panel,#app.list-workspace .account-panel { min-height:0;flex:1;overflow:hidden; }
#app.list-workspace .workspace-scroll,#app.list-workspace .account-scroll { min-height:0;max-height:none;flex:1;overflow-x:scroll;overflow-y:auto; }
#app.list-workspace .workspace-toolbar,#app.list-workspace .account-panel-head { flex:none;padding:8px 12px; }
#app.list-workspace .workspace-pagination,#app.list-workspace .account-footer { flex:none;padding:6px 12px; }
.workspace-top-scroll { flex:none;height:14px;overflow-x:scroll;overflow-y:hidden;background:#f2eadc;scrollbar-width:auto;scrollbar-color:#90a7c2 #f1f4f9; }
.workspace-top-scroll>div { height:1px; }
.workspace-top-scroll::-webkit-scrollbar { height:14px; }
.workspace-top-scroll::-webkit-scrollbar-thumb { background:#90a7c2;border:3px solid #f1f4f9;border-radius:9px; }
#app.shell.list-workspace.workspace-wide>.topbar { display:none; }
#app.shell.list-workspace.workspace-wide { grid-template-rows:minmax(0,1fr); }
#app.list-workspace.workspace-wide .workspace-metrics,#app.list-workspace.workspace-wide .account-metrics { display:none; }
@media(max-height:700px) { #app.list-workspace .workspace-metrics,#app.list-workspace .account-metrics { display:none; } }
@media(max-width:600px) { #app.shell.list-workspace>.main { padding:8px; } #app.list-workspace .workspace-heading h1,#app.list-workspace .accounts-hero h1 {font-size:22px;} #app.list-workspace .workspace-metrics,#app.list-workspace .account-metrics {display:none;} }
#app.shell.list-workspace>.topbar { grid-column:1;grid-row:1; }
#app.shell.list-workspace>.main { grid-column:1;grid-row:2; }
#app.shell.list-workspace.workspace-wide>.main { grid-row:1; }
.workspace-top-scroll { display:flex;align-items:center;overflow:hidden;padding:0 4px;height:16px;background:#eee4d4; }
.workspace-top-scroll[hidden] { display:none!important; }
.workspace-top-scroll input { appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:10px;margin:0;padding:0;border:0;border-radius:5px;background:#d8cbb9;box-shadow:inset 0 1px 2px #58462a22;cursor:ew-resize; }
.workspace-top-scroll input::-webkit-slider-thumb { appearance:none;-webkit-appearance:none;width:64px;height:10px;border:1px solid #8d7961;border-radius:5px;background:#aa9477; }
.workspace-top-scroll input::-moz-range-thumb { width:64px;height:10px;border:1px solid #8d7961;border-radius:5px;background:#aa9477; }
.workspace-top-scroll input:focus-visible {outline:2px solid #bc401b;outline-offset:1px;}
#app.shell.list-workspace .workspace-expand { display:inline-flex;align-items:center; }
