:root{--electric-blue:#0067d9;--chrome-height:106px;scroll-padding-top:calc(var(--chrome-height) + 12px)}
.app-chrome{position:sticky;top:0;z-index:40;background:#fff}
.app-chrome .topbar{position:static;min-height:56px;height:auto;padding-top:9px;padding-bottom:9px;gap:12px}
.app-chrome .nav{position:static;padding-top:5px;padding-bottom:5px;gap:3px;flex-wrap:wrap}
.nav button{font-size:12px;padding:8px 10px;min-height:34px}.nav button:focus-visible{outline:2px solid var(--electric-blue);outline-offset:1px}
.header-brand{display:flex;align-items:center;gap:20px;min-width:0}.country-selector{display:flex;align-items:center;gap:6px}
.country-selector button{font-size:10px;font-weight:650;border:1px solid #dce4ed;border-radius:4px;padding:7px 10px;white-space:nowrap}
.country-selector .country-active{background:var(--electric-blue);border-color:var(--electric-blue);color:white}
.country-selector .country-soon{background:#f6f8fb;color:#72808e;cursor:default}
.country-flag{display:inline-block;width:20px;height:14px;object-fit:cover;vertical-align:-2px;flex-shrink:0;margin-right:7px;border:1px solid #d5dee6;border-radius:2px}
.country-label{font-size:10px;margin-right:6px}.saved-load,.favorite-load{text-align:left;min-width:0;overflow-wrap:anywhere}
.module-tooltip{position:fixed;z-index:65;max-width:min(340px,calc(100vw - 16px));font-size:12px;line-height:1.5;padding:9px 12px;background:#173e58;color:#fff;border-radius:6px;box-shadow:0 4px 15px #193b5630;pointer-events:none}
main{padding-top:10px}.filters-panel{padding:10px 12px;top:var(--chrome-height)}
.filters-head{margin-bottom:8px}.filters-head .btn{font-size:12px;padding:6px 9px}.filters-head span{font-size:11px}
.filter-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:7px 9px;align-items:end}
.filter-grid label,.filter-footer label,.vm-filter{gap:4px;font-size:11px}
.filter-grid input,.filter-grid select,.date-picker{min-height:33px;padding:7px 8px;font-size:12px}
.vm-filter{grid-column:span 2}.filter-footer{display:flex;align-items:end;gap:12px;margin-top:7px;min-width:0}
.hs-filter{width:140px;flex:none}.hs-filter input{padding:7px 8px;min-height:33px;font-size:12px}
.data-range{font-size:11px;color:var(--muted);padding-bottom:8px;min-width:0}
.filter-footer .list-order{margin:0 0 0 auto;flex:none;padding-bottom:1px}.list-order label{display:flex;align-items:center;gap:8px}.list-order select{font-size:12px;min-height:33px}
.filter-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:7px}.filter-tools:has(#groupsBtn[hidden]):has(#volumeHome:empty),.filter-tools:has(#groupsBtn[hidden]):has(#volumePanel.hidden){display:none}
#volumeHome{margin-left:auto;min-width:0}#volumeHome:empty{display:none}.volume-panel{margin:0;padding:3px 8px}.volume-panel summary{padding:4px;font-size:12px}
.volume-panel[open]{width:min(800px,100%)}.volume-controls{gap:8px}.volume-panel .volume-controls{margin-top:3px;padding-top:7px}.volume-panel .volume-controls label{font-size:11px}
.volume-dock{display:flex;justify-content:flex-end;padding:5px 24px;background:#edf4fc;border-bottom:1px solid #c0d5ed;max-height:min(330px,55dvh);overflow:auto}.volume-dock[hidden]{display:none}
.volume-docked{position:static;max-width:100%;background:#e1efff;border:1px solid var(--electric-blue);color:#094b91;box-shadow:none}
.volume-docked summary{color:#094b91;font-weight:650}.volume-docked[open]{width:min(800px,100%)}
.chips{margin-top:7px;gap:5px}.chips:empty{display:none}.chip{padding:3px 7px;font-size:11px}.view-root{margin-top:10px}
.kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px 12px;align-items:stretch}
.kpi-grid .dv-kpi{display:grid;grid-row:span 2;grid-template-rows:subgrid;padding:12px 14px;container-type:inline-size}
.kpi-grid .dv-kpi>span{align-self:end;min-height:18px;line-height:18px;white-space:nowrap;font-size:11px}
.kpi-grid .dv-kpi>strong{margin:0;align-self:baseline;white-space:nowrap;overflow-wrap:normal;font-size:clamp(14px,calc(150cqw / var(--value-length,10)),26px);line-height:1.25;letter-spacing:-.035em}
@media(min-width:1180px) and (min-height:850px){.filters-panel{position:sticky}}
@media(max-width:1179px),(max-height:849px){.filters-panel{position:static}}
@media(max-width:1550px){.filter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1000px){.filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.filter-footer{flex-wrap:wrap}.filter-footer .list-order{margin-left:auto}.filters-head>div:first-child{flex-wrap:wrap;gap:3px}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.app-chrome .topbar{padding:8px 12px;align-items:flex-start}.header-brand{gap:6px;align-items:flex-start;flex-direction:column}.country-selector button{padding:5px 8px;font-size:9px}.app-chrome .nav{flex-wrap:nowrap;overflow-x:auto;padding:4px 12px}.nav button{font-size:11px;white-space:nowrap;flex:none}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-footer{gap:7px 10px;align-items:center}.hs-filter{width:100px}.data-range{flex:1;padding:0;font-size:10px}.filter-footer .list-order{width:100%;margin:0}.list-order label{width:100%;justify-content:space-between}.list-order select{min-width:0;max-width:60%}.filters-panel{padding:9px}.filter-tools{flex-wrap:wrap}.volume-dock{padding:5px 12px}.volume-panel .volume-controls{display:grid;grid-template-columns:1fr 1fr}.volume-panel .volume-controls label{min-width:0}.volume-controls label:first-child,.volume-actions{grid-column:1/-1}.volume-actions .btn{padding:7px;font-size:11px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}.kpi-grid .dv-kpi{padding:10px}.kpi-grid .dv-kpi>span{font-size:10px}.module-tooltip{font-size:11px}}

.kpi-grid .dv-kpi>span .info{display:inline-block;min-height:0;line-height:inherit;margin-left:4px}

/* Shared compact active-filter bar. Full controls always remain in normal flow. */
.filter-home,.module-filter-home{overflow-anchor:none;min-width:0}
.filter-home[hidden],#filters[hidden]{display:none!important}
#filters.filters-panel{position:static}
#stickyActiveFilters{background:#edf4f7;border-bottom:1px solid #bfd3e1;overflow-anchor:none}
#stickyActiveFilters[hidden]{display:none}
.sticky-filter-row{display:flex;align-items:center;gap:8px;padding:6px 24px;min-width:0;flex-wrap:wrap}
.sticky-chip-strip{display:flex;flex:1;min-width:70px;overflow-x:auto;align-items:center;gap:5px;scrollbar-width:thin}
.sticky-chip-strip .chips{display:flex;flex-wrap:nowrap;margin:0;flex:none;gap:5px}
.sticky-chip-strip .chip{white-space:nowrap;flex:none}.sticky-chip-strip .chip strong{max-width:320px;overflow:hidden;text-overflow:ellipsis}
.sticky-filter-actions{display:flex;align-items:flex-start;gap:8px;flex:none;max-width:100%}
.sticky-filter-toggle{white-space:nowrap;flex:none;min-height:32px;padding:6px 10px;font-size:12px}
.sticky-volume-slot[hidden]{display:none}.sticky-volume-slot{min-width:0}
.sticky-volume-slot .volume-panel{position:static;margin:0;max-width:100%;background:#e1efff;border:1px solid #0067d9}
.sticky-volume-slot summary{color:#094b91;font-size:12px;white-space:nowrap}
.sticky-filter-row:has(.volume-panel[open]) .sticky-filter-actions{width:100%;justify-content:flex-end}
.sticky-volume-slot:has(.volume-panel[open]){flex:1;max-width:800px}
.sticky-volume-slot .volume-panel[open]{width:100%}
#stickyFilterDrawer{padding:0 24px 8px;max-height:min(52dvh,520px);overflow:auto;overscroll-behavior:contain}
#stickyFilterDrawer[hidden]{display:none}
#stickyFilterDrawer .filters-panel{box-shadow:none;margin:0}
#stickyFilterDrawer .office-filter-controls{padding:12px;background:#fff;border:1px solid #cbdde5;border-radius:8px;margin-top:8px}
.office-active-chips:empty{display:none}
@media(max-width:700px){.sticky-filter-row{padding:5px 12px;gap:5px}.sticky-filter-actions{gap:4px}.sticky-filter-toggle{font-size:11px;padding:6px 8px}.sticky-volume-slot summary{max-width:120px;overflow:hidden;text-overflow:ellipsis;font-size:11px}.sticky-volume-slot:has(.volume-panel[open]) summary{max-width:none}.sticky-chip-strip{min-width:40px}.sticky-chip-strip .chip{font-size:10px}.sticky-chip-strip .chip strong{max-width:190px}#stickyFilterDrawer{padding:0 10px 7px;max-height:48dvh}}
:root{scroll-padding-top:0}
