/* FIELDHQ: one fixed workspace layout, with independent account color palettes. */
:root[data-theme=slate]{color-scheme:dark;--bg:#0c1822;--surface:#122430;--surface2:#192e3b;--chrome:#0e1e2a;--border:#29404f;--accent:#13d5df;--accent2:#71edf0;--accent-soft:#123d49;--accent-border:#237486;--ram-color:#bc99f4;--cpu-color:#13d5df;--text:#cfdee8;--muted:#99afbf;--heading:#f4f8fb;--console-bg:#0a1620;--chart-grid:#243c4a;--online:#6ed78d;--offline:#ef6565;--warn:#efbb65}
:root[data-theme=operations]{color-scheme:dark;--bg:#0b131b;--surface:#12212c;--surface2:#192e3a;--chrome:#0d1b25;--border:#293e4b;--accent:#22b8f3;--accent2:#8bdcff;--accent-soft:#12364b;--accent-border:#246b8d;--ram-color:#b097f4;--cpu-color:#22b8f3;--text:#cedce6;--muted:#9aafbf;--heading:#f2f7fb;--console-bg:#09131b;--chart-grid:#283b49;--online:#73d78c;--offline:#ee6767;--warn:#edbd6d}
:root[data-theme=fielddesk]{color-scheme:light;--bg:#f7f8f5;--surface:#fff;--surface2:#f0f3ee;--chrome:#fafbf8;--border:#d8dfd7;--accent:#285f32;--accent2:#214c29;--accent-soft:#e3efdf;--accent-border:#8eaf87;--ram-color:#8659d7;--cpu-color:#285f32;--text:#2e3b43;--muted:#596a70;--heading:#15232b;--console-bg:#f2f5f1;--chart-grid:#e0e6df;--online:#288443;--offline:#b83333;--warn:#8b6419}
html[data-theme] body{font-family:Barlow,system-ui,sans-serif;font-size:13px;background:var(--bg);color:var(--text)}
html[data-theme] :is(h1,h2,h3,.card-label,.chart-title,.chart-value,.fleet-server-title,.manager-summary strong,.panel-tab,.workspace-brand){font-family:Barlow,system-ui,sans-serif;letter-spacing:normal}
html[data-theme] h1{font-size:27px;font-weight:700}html[data-theme] h2{font-size:18px}html[data-theme] h3{font-size:15px}
html[data-theme] :is(header,.manager-header){height:54px;left:0;padding:0 20px 0 0;background:var(--chrome);background-image:none;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:22px;box-shadow:none}
html[data-theme] :is(header,.manager-header)::before,html[data-theme] :is(header,.manager-header)::after{display:none}
html[data-theme] .fieldhq-brand{height:54px;min-width:184px;padding:0 20px;display:flex;align-items:center;font:800 22px Barlow,system-ui,sans-serif;color:var(--heading);letter-spacing:-.6px;text-decoration:none;border-right:1px solid var(--border)}
html[data-theme] .fieldhq-brand span{color:var(--accent)}
html[data-theme] .fieldhq-areas{display:flex;height:54px;gap:25px;flex-shrink:0}
html[data-theme] .fieldhq-areas a{display:flex;align-items:center;gap:8px;padding:0 5px;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent;font-size:13px}
html[data-theme] .fieldhq-areas a[aria-current]{color:var(--accent);border-color:var(--accent)}
html[data-theme] .header-left{display:flex;align-items:center;gap:22px}
html[data-theme] #workspace-server-name{font:500 12px Barlow,sans-serif;color:var(--muted);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .fieldhq-search{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:170px;width:260px;padding:0 10px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
html[data-theme] .fieldhq-search input{min-width:0;width:100%;height:29px;border:0;background:transparent;padding:4px 0;font:12px Barlow,sans-serif;color:var(--text);outline-offset:3px}
html[data-theme] .fieldhq-account{display:flex;align-items:center;gap:14px;font-size:12px}
html[data-theme] .manager-header>.workspace-back:last-child,html[data-theme] header>.btn-logout{margin-left:auto}
html[data-theme] .ui-icon{width:16px;height:16px;stroke-width:1.6;flex-shrink:0}
html[data-theme] .sidebar{top:54px;width:184px;padding:0 10px;background:var(--chrome);border-right:1px solid var(--border)}
html[data-theme] .sidebar .brand{display:none}
html[data-theme] .sidebar-instances{padding:12px 0;gap:7px;border:0}
html[data-theme] .sidebar-instances .instance-label{font-size:10px;color:var(--muted);text-transform:none;letter-spacing:0}
html[data-theme] .sidebar-instances select{font:11px Barlow,sans-serif;padding:6px;min-height:29px;background:var(--surface);border:1px solid var(--border)}
html[data-theme] .sidebar .panel-tabs{gap:3px;padding:0}
html[data-theme] .sidebar .panel-tab{font-size:12px;font-weight:500;padding:9px 10px;min-height:34px;border:0;border-left:2px solid transparent;border-radius:3px;gap:9px;color:var(--text);text-decoration:none}
html[data-theme] .sidebar :is(.panel-tab.active,.panel-tab[aria-selected=true],.panel-tab[aria-current]){color:var(--accent);background:var(--accent-soft);border-left-color:var(--accent)}
html[data-theme] .sidebar .nav-label{font:500 9px Barlow,sans-serif;letter-spacing:.08em;color:var(--muted);padding:12px 10px 4px;border:0}
html[data-theme] .sidebar .workspace-unit-link{display:flex;gap:9px;padding:8px 10px;font:500 12px Barlow,sans-serif;background:transparent;border:0;min-height:34px;color:var(--text)}
html[data-theme] .sidebar .workspace-unit-link small{display:none}
html[data-theme] .sidebar-bottom{border-top:1px solid var(--border);padding:12px 0}.sidebar-bottom>.brand-icon,.sidebar-bottom>div{display:none}
html[data-theme] :is(.layout,.fleet-page .manager-main){margin-left:184px;padding:78px 24px 24px;max-width:none}
html[data-theme] .units-main{padding-top:78px}
html[data-theme] :is(.card,.chart-card,.fleet-chart-panel,.fleet-alert-panel,.fleet-cards,.config-category,.mods-card){box-shadow:none;border-radius:5px;background:var(--surface);border-color:var(--border)}
html[data-theme] :is(.btn-save,.btn-logout,.manager-link,.config-button){font-family:Barlow,system-ui,sans-serif;letter-spacing:0;border-radius:4px;text-transform:none}
html[data-theme] :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* Fleet heading: actions and five small totals share the first band on wide screens. */
html[data-theme] .fleet-overview-top{display:grid;grid-template-columns:minmax(520px,1.2fr) minmax(420px,1fr);gap:20px;align-items:start;margin-bottom:16px}
html[data-theme] .fleet-overview-top .manager-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0;padding:0;border:0}
html[data-theme] .fleet-overview-top .manager-heading>div:first-child{flex:1 1 180px}
html[data-theme] .fleet-overview-top h1{font-size:26px;margin:0 0 5px}
html[data-theme] .fleet-overview-top .feature-note{font-size:11px;line-height:1.5;margin:0;color:var(--muted)}
html[data-theme] .fleet-heading-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0}
html[data-theme] .fleet-heading-actions :is(button,a){height:33px;margin:0;padding:7px 10px;min-height:33px;font-size:11px;display:inline-flex;align-items:center;gap:6px}
html[data-theme] .fleet-heading-actions .btn-save{background:var(--accent);color:var(--bg);border:1px solid var(--accent)}
html[data-theme=fielddesk] .fleet-heading-actions .btn-save{color:#fff}
html[data-theme] .fleet-overview-top .manager-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0;border:0;padding:0}
html[data-theme] .fleet-overview-top .manager-summary>div{display:grid;grid-template-columns:19px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 7px;align-items:center;padding:10px 8px;min-height:64px;background:var(--surface);border:1px solid var(--border);border-radius:4px}
html[data-theme] .fleet-overview-top .manager-summary .ui-icon{grid-row:1/3;grid-column:1;color:var(--accent)}
html[data-theme] .fleet-overview-top .manager-summary strong{grid-column:2;grid-row:1;font:700 19px Barlow,sans-serif;line-height:1.1;color:var(--heading)}
html[data-theme] .fleet-overview-top .manager-summary span{grid-column:2;grid-row:2;font:400 10px Barlow,sans-serif;white-space:normal}
html[data-theme] #overview-ram-detail{grid-column:1/-1;font-size:9px;color:var(--muted)}
html[data-theme] .fleet-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px;padding:0;background:transparent;border:0}
html[data-theme] .fleet-filters label:first-child{flex:0 1 170px}
html[data-theme] .fleet-filters :is(input,select,button){height:30px;min-height:30px;padding:5px 8px;font:11px Barlow,sans-serif}
html[data-theme] #overview-feedback{font-size:10px;margin:0;min-height:0}
/* Thumbnail and address belong to the server column, as in the mockup. */
html[data-theme] :is(.fleet-table-heading,.fleet-server-card){grid-template-columns:48px minmax(150px,1.35fr) minmax(110px,1fr) 54px 66px 74px 66px 296px;gap:0 10px}
html[data-theme] .fleet-table-heading{font-size:11px;padding:10px 12px;background:var(--surface2);border-radius:4px 4px 0 0}
html[data-theme] .fleet-server-card{min-height:76px;padding:10px 12px}
html[data-theme] .fleet-server-art{height:42px;grid-row:1/4}
html[data-theme] .fleet-server-art img{width:100%;height:100%;object-fit:cover}
html[data-theme] .fleet-server-card h3{grid-column:2;grid-row:1;font:600 12px Barlow,sans-serif;line-height:1.3}
html[data-theme] .fleet-server-title:after{display:none}
html[data-theme] .fleet-server-card>.fleet-address{grid-column:2;grid-row:2;font:10px Barlow,sans-serif;color:var(--muted);line-height:1.5}
html[data-theme] .fleet-card-heading{grid-column:2;grid-row:3;gap:5px;flex-wrap:wrap;font-size:9px;margin:0}
html[data-theme] .fleet-build{font-size:9px}
html[data-theme] .fleet-server-card>.fleet-map{grid-column:3;grid-row:1/4;font-size:11px;line-height:1.5}
html[data-theme] .fleet-card-stats dd{grid-row:1/4;font:500 11px Barlow,sans-serif}
html[data-theme] .fleet-card-stats>div:nth-child(1) dd{grid-column:4}
html[data-theme] .fleet-card-stats>div:nth-child(2) dd{grid-column:5}
html[data-theme] .fleet-card-stats>div:nth-child(3) dd{grid-column:6}
html[data-theme] .fleet-uptime{grid-column:7;grid-row:1/4;font-size:11px}
html[data-theme] .fleet-server-card .manager-actions{grid-column:8;grid-row:1/4;display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end;position:relative;z-index:1}
html[data-theme] .fleet-server-card .manager-actions :is(button,a){font:500 10px Barlow,sans-serif;min-height:27px;padding:5px 8px;white-space:nowrap;background:var(--surface2)}
html[data-theme] .manager-actions .action-stop{background:#a92e30;color:#fff;border-color:#cd4949}
html[data-theme] .manager-actions [data-action=Remove]{color:var(--offline);border-color:var(--offline)}
html[data-theme] .fleet-usage-track{display:block;height:4px;width:100%;margin-top:5px;background:var(--border);border-radius:2px;overflow:hidden}
html[data-theme] .fleet-usage-fill{display:block;height:100%;background:var(--accent)}
html[data-theme] .fleet-card-stats>div:nth-child(3) .fleet-usage-fill{background:var(--ram-color)}
html[data-theme] .fleet-storage{grid-row:4;grid-column:2/-1}
html[data-theme] .fleet-server-card .fleet-event-error{grid-row:5;grid-column:2/-1}
/* Equal resource charts and activity panel form the bottom band. */
html[data-theme] .fleet-trend-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(280px,1fr);gap:14px;margin:16px 0}
html[data-theme] .fleet-trend-strip :is(.fleet-chart-panel,.fleet-alert-panel){margin:0;border:1px solid var(--border);min-width:0;overflow:hidden}
html[data-theme] .fleet-section-heading{padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}
html[data-theme] .fleet-section-heading h2{font:600 12px Barlow,sans-serif;color:var(--heading)}
html[data-theme] :is(#fleet-cpu-reading,#fleet-memory-reading){font:700 20px Barlow,sans-serif;color:var(--accent)}
html[data-theme] #fleet-memory-reading{color:var(--ram-color)}
html[data-theme] .fleet-chart{height:154px;padding:0 12px 10px}
html[data-theme] .fleet-events{max-height:155px;font-size:11px}
html[data-theme] .fleet-event{padding:8px 12px;gap:8px;font-size:10px}
html[data-theme] .fleet-event time{font-size:9px}
html[data-theme] #fleet-alert-status{font-size:10px;margin:0;padding:0 12px 6px}
html[data-theme] .fleet-attention-count{font-size:10px;color:var(--muted)}
html[data-theme] .fleet-attention-count strong{color:var(--heading)}
html[data-theme] .fleet-player-trends{border:1px solid var(--border);border-radius:4px;background:var(--surface);margin-top:12px}
html[data-theme] .fleet-player-trends summary{padding:10px 12px;font-size:12px;cursor:pointer}
html[data-theme] .fleet-reading-notes{font-size:11px;color:var(--muted)}
@media(max-width:1290px){html[data-theme] .fleet-overview-top{grid-template-columns:minmax(0,1fr)}html[data-theme] .fleet-overview-top .manager-summary{max-width:760px}html[data-theme] .fleet-overview-top .manager-heading{flex-wrap:nowrap}html[data-theme] :is(.fleet-table-heading,.fleet-server-card){grid-template-columns:42px minmax(120px,1.2fr) minmax(90px,.9fr) 43px 55px 65px 55px 260px;gap:0 8px}html[data-theme] .fleet-server-card .manager-actions :is(button,a){font-size:10px;padding:5px 7px}}
@media(max-width:1150px){html[data-theme] .fieldhq-search{width:210px}html[data-theme] .fieldhq-account .workspace-back{font-size:11px}html[data-theme] .fleet-trend-strip{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-theme] .fleet-trend-strip .fleet-alert-panel{grid-column:1/-1}html[data-theme] :is(.fleet-table-heading,.fleet-server-card){grid-template-columns:40px minmax(100px,1fr) minmax(80px,.8fr) 40px 48px 60px 48px 160px;gap:0 6px}html[data-theme] #workspace-server-name{display:none}}
@media(max-width:900px){html[data-theme] .fieldhq-search{width:170px}html[data-theme] .fieldhq-account .workspace-back{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-theme] .fleet-overview-top .manager-heading{flex-wrap:wrap}html[data-theme] :is(.fleet-table-heading,.fleet-server-card){grid-template-columns:40px minmax(110px,1fr) minmax(80px,.8fr) 40px 48px 60px}html[data-theme] .fleet-table-heading span:nth-last-child(-n+2){display:none}html[data-theme] .fleet-uptime{grid-column:2;grid-row:4}html[data-theme] .fleet-server-card .manager-actions{grid-column:3/-1;grid-row:4;margin-top:8px}html[data-theme] .fleet-storage{grid-row:5}html[data-theme] .fleet-server-card .fleet-event-error{grid-row:6}}
@media(max-width:700px){html[data-theme] :is(header,.manager-header){height:54px;gap:10px;padding-right:10px}html[data-theme] .fieldhq-brand{min-width:auto;padding:0 12px;font-size:18px;border:0}html[data-theme] .fieldhq-areas{gap:8px}html[data-theme] .fieldhq-areas a{font-size:11px;gap:4px}html[data-theme] .fieldhq-search{display:none}html[data-theme] .fieldhq-account{margin-left:auto;gap:5px}html[data-theme] .fieldhq-account .workspace-back{max-width:82px;font-size:10px}html[data-theme] .fieldhq-account .btn-logout{font-size:10px;padding:5px}html[data-theme] .header-left{gap:5px}html[data-theme] :is(.layout,.fleet-page .manager-main){margin-left:0;padding:108px 12px 24px}html[data-theme] .sidebar{top:54px;width:220px}html[data-theme] .mobile-nav-toggle{top:62px}html[data-theme] .fleet-overview-top{gap:12px}html[data-theme] .fleet-overview-top .manager-summary{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}html[data-theme] .fleet-overview-top .manager-summary>div{min-height:58px}html[data-theme] .fleet-trend-strip{grid-template-columns:minmax(0,1fr)}html[data-theme] .fleet-table-heading{display:none}html[data-theme] .fleet-server-card{grid-template-columns:42px minmax(0,1fr) minmax(0,1fr);gap:5px 10px;padding:12px}html[data-theme] .fleet-server-art{grid-column:1;grid-row:1/4}html[data-theme] .fleet-server-card h3{grid-column:2/-1;grid-row:1}html[data-theme] .fleet-server-card>.fleet-address{grid-column:2/-1;grid-row:2}html[data-theme] .fleet-card-heading{grid-column:2/-1;grid-row:3}html[data-theme] .fleet-server-card>.fleet-map{grid-column:1/-1;grid-row:4}html[data-theme] .fleet-card-stats dd{grid-row:5}html[data-theme] .fleet-card-stats>div:nth-child(1) dd{grid-column:1}html[data-theme] .fleet-card-stats>div:nth-child(2) dd{grid-column:2}html[data-theme] .fleet-card-stats>div:nth-child(3) dd{grid-column:3}html[data-theme] .fleet-card-stats dt{position:static;width:auto;height:auto;clip-path:none;font-size:9px;color:var(--muted)}html[data-theme] .fleet-card-stats>div{display:flex;flex-direction:column;gap:3px;grid-row:5}html[data-theme] .fleet-card-stats>div:nth-child(1){grid-column:1}html[data-theme] .fleet-card-stats>div:nth-child(2){grid-column:2}html[data-theme] .fleet-card-stats>div:nth-child(3){grid-column:3}html[data-theme] .fleet-uptime{grid-column:1/-1;grid-row:6}html[data-theme] .fleet-server-card .manager-actions{grid-column:1/-1;grid-row:7;justify-content:flex-start}html[data-theme] .fleet-storage{grid-row:8}html[data-theme] .fleet-server-card .fleet-event-error{grid-row:9}html[data-theme] .units-page .manager-header>#units-server-navigation{display:none}html[data-theme] .units-page .manager-header>.workspace-back:last-child{font-size:10px}html[data-theme] .units-main{padding-top:78px}}

/* Keep search available beside the mobile navigation toggle. */
@media(max-width:700px){html[data-theme] .fleet-page .fieldhq-search{display:flex;position:absolute;top:63px;right:12px;width:calc(50% - 18px);min-width:0;height:34px;border-radius:4px}html[data-theme] .fleet-page .mobile-nav-toggle{width:calc(50% - 6px);min-height:34px;font-size:11px;padding:7px}html[data-theme] .fleet-page .manager-main{padding-top:63px}html[data-theme] .fleet-overview-top{margin-top:0}}
html[data-theme] #fleet-sidebar .panel-tab{display:flex}
html[data-theme] #fleet-sidebar .sidebar-instances{margin-bottom:8px;border-bottom:1px solid var(--border)}
html[data-theme] #server-name-display{font-family:Barlow,system-ui,sans-serif;font-size:26px;font-weight:700;letter-spacing:0}
html[data-theme] .dashboard-summary .chart-value{font-family:Barlow,system-ui,sans-serif;font-size:24px}

html[data-theme] body :is(header,.manager-header){background-image:none;letter-spacing:0;text-transform:none}
html[data-theme] .fieldhq-brand{font-weight:800}html[data-theme] .fieldhq-areas{letter-spacing:0}
html[data-theme] .fleet-software-status{padding:9px 12px;margin:8px 0 12px;font-size:11px}
html[data-theme] .fleet-software-status summary{cursor:pointer;color:var(--muted)}
html[data-theme] .fleet-software-status[open] summary{margin-bottom:9px}
@media(max-width:1150px){html[data-theme] .fleet-card-stats,html[data-theme] .fleet-card-stats>div{display:contents}html[data-theme] .fleet-card-stats dt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
@media(max-width:700px){html[data-theme] .fleet-card-stats>div{display:flex;grid-row:5}html[data-theme] .fleet-card-stats dt{position:static;clip-path:none;width:auto;height:auto}html[data-theme] .fleet-card-stats dd{grid-row:auto;grid-column:auto}html[data-theme] .fleet-card-stats{margin:0;padding:0;border:0}html[data-theme] .fleet-server-card{grid-template-rows:auto;min-height:0}}
html[data-theme] .fleet-server-card .manager-actions .action-stop{background:#aa3035;color:#fff;border-color:#ca4b50}
html[data-theme] .fleet-server-card .manager-actions .action-stop:hover{background:#92262b}
:root[data-theme=fielddesk]{--button-text:#fff}
html[data-theme] .fleet-heading-actions #overview-create{background:var(--accent);background-image:none;color:var(--button-text)}

/* Population shares one wider summary card. */
html[data-theme] .dashboard-summary{grid-template-columns:minmax(320px,1.7fr) repeat(3,minmax(0,1fr))}
html[data-theme] .dashboard-summary .dashboard-population{grid-template-columns:26px minmax(0,1fr);gap:12px}
html[data-theme] .dashboard-population>.ui-icon{grid-column:1;grid-row:1}
html[data-theme] .population-counts{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
html[data-theme] .population-counts>div+div{border-left:1px solid var(--border);padding-left:12px}
html[data-theme] .population-counts .card-label{font-size:11px;margin:3px 0 0}
html[data-theme] .population-counts .chart-value{font-size:24px;margin:0;overflow-wrap:anywhere}
@media(max-width:1100px){html[data-theme] .dashboard-summary{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-theme] .dashboard-summary .dashboard-population{grid-column:1/-1}}
@media(max-width:500px){html[data-theme] .dashboard-summary{grid-template-columns:minmax(0,1fr)}html[data-theme] .dashboard-summary .dashboard-population{grid-column:1}html[data-theme] .population-counts{gap:8px}html[data-theme] .population-counts>div+div{padding-left:8px}}

/* Dashboard order follows the document: counters, CPU/memory, network/FPS, console, storage/disk. */
html[data-theme] .dashboard-metric-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px;align-items:stretch}
html[data-theme] .dashboard-metric-row :is(.card,.chart-card){margin:0;padding:13px;min-width:0}
html[data-theme] .dashboard-metric-row .chart-wrap{height:150px}
html[data-theme] #fps-metrics{min-width:0;display:grid}
html[data-theme] #panel-dashboard>#console-card{width:100%;margin:0 0 14px;min-width:0}
html[data-theme] .dashboard-storage-row #storage-card{grid-column:auto}
html[data-theme] .dashboard-secondary{padding:12px;border:1px solid var(--border);border-radius:5px;background:var(--surface);margin-bottom:14px}
html[data-theme] .dashboard-secondary>summary{cursor:pointer;font-size:12px;color:var(--muted)}
html[data-theme] .dashboard-secondary-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;align-items:start}
html[data-theme] .dashboard-secondary-content>*{grid-area:auto;margin:0;min-width:0}
@media(max-width:700px){html[data-theme] .dashboard-metric-row,html[data-theme] .dashboard-secondary-content{grid-template-columns:minmax(0,1fr)}}

/* Keep every dashboard row separated, including full-width console and disclosures. */
html[data-theme] #panel-dashboard:not([hidden]){display:flex;flex-direction:column;gap:14px}
html[data-theme] #panel-dashboard>:is(.dashboard-heading,.dashboard-summary,.field-resource-charts,.dashboard-metric-row,#console-card,.dashboard-secondary){margin:0!important}
html[data-theme] .dashboard-metric-row .chart-card{display:flex;flex-direction:column}
html[data-theme] .dashboard-metric-row .chart-header{min-height:76px;margin-bottom:10px;align-items:start}
html[data-theme] .dashboard-metric-row .traffic-values{margin:8px 0 0;gap:8px 24px}
html[data-theme] .dashboard-metric-row .traffic-values strong{font-size:16px;margin-top:3px}
html[data-theme] .dashboard-metric-row .chart-wrap{flex:none;margin:0;height:150px}
html[data-theme] .dashboard-metric-row :is(.chart-sub,.feature-note){text-align:left;line-height:1.5}
html[data-theme] .dashboard-metric-row .chart-wrap+:is(.chart-sub,.feature-note){margin:10px 0 0}
html[data-theme] .dashboard-storage-row{align-items:start}
