/* Shared filter geometry and palette: Vehicles is the reference. */
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageReport #rpSidebar,#pageMaintenance,#pageVehicles) :is([data-live-filter],[data-rp-type],.mt-chip,[data-fleet-workspace-filter]) {
 --filter-accent:var(--filter-source,var(--vf-accent,var(--rp-tab,#4f46e5)));
 --filter-ink:var(--filter-accent);
 --filter-tint:color-mix(in srgb,var(--filter-accent) 7%,white);
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-height:33px!important;padding:6px 10px!important;gap:8px!important;
 border:1px solid transparent!important;border-radius:8px!important;
 background:var(--filter-tint)!important;color:var(--filter-ink)!important;
 font:500 12px/19px Inter,sans-serif!important;box-shadow:none!important;transform:none!important;
}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageReport #rpSidebar,#pageMaintenance,#pageVehicles) :is([data-live-filter="moving"],[data-fleet-workspace-filter="moving"]) {--filter-source:#16845b}
html:root[data-horizon="v1"] body.ag-navixy .ag-context-panel [data-live-filter="online"] {--filter-source:#0f766e}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageMaintenance) :is([data-live-filter="paused"],.mt-chip.soon) {--filter-source:#b97812}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageMaintenance) :is([data-live-filter="parked"],.mt-chip.due) {--filter-source:#3068ed}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageMaintenance) :is([data-live-filter="off"],.mt-chip.archived) {--filter-source:#748399}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance .mt-chip.overdue {--filter-source:#cb5550}
html:root[data-theme="dark"][data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageReport #rpSidebar,#pageMaintenance,#pageVehicles) :is([data-live-filter],[data-rp-type],.mt-chip,[data-fleet-workspace-filter]) {
 --filter-ink:color-mix(in srgb,var(--filter-accent) 60%,white);
 --filter-tint:color-mix(in srgb,var(--filter-accent) 15%,#18212d);
}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageReport #rpSidebar,#pageMaintenance,#pageVehicles) :is([data-live-filter],[data-rp-type],.mt-chip,[data-fleet-workspace-filter]):is([aria-pressed="true"],.selected,.is-active) {border-color:color-mix(in srgb,var(--filter-ink) 65%,transparent)!important}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageReport #rpSidebar,#pageMaintenance,#pageVehicles) :is([data-live-filter],[data-rp-type],.mt-chip,[data-fleet-workspace-filter]):hover {border-color:var(--filter-ink)!important}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageReport #rpSidebar,#pageMaintenance,#pageVehicles) :is([data-live-filter],[data-rp-type],.mt-chip,[data-fleet-workspace-filter]):focus-visible {outline:2px solid var(--filter-ink)!important;outline-offset:3px}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageMaintenance) :is([data-live-filter],.mt-chip) b {display:inline-grid;place-items:center;min-width:18px;height:19px;padding:0 5px;border-radius:4px;font-size:11px!important;font-weight:600!important;color:inherit!important;background:transparent!important}
html:root[data-horizon="v1"] body.ag-navixy :is(.ag-context-panel,#pageMaintenance) :is([data-live-filter][aria-pressed="true"],.mt-chip.selected) b {background:var(--filter-ink)!important;color:var(--filter-tint)!important}
html:root[data-horizon="v1"] body.ag-navixy .ag-context-panel [data-live-filter]::before {content:"";display:block!important;position:static!important;width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:currentColor!important}
html:root[data-horizon="v1"] body.ag-navixy .ag-context-panel [data-live-filter]>span::before {display:none!important}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance .mt-dot {width:5px;height:5px;flex:0 0 5px}
html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar>.rp-type-grid {display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 24px!important}
html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar>.rp-type-grid .rp-type-button {width:auto!important;min-height:33px!important;padding:6px 10px!important;gap:8px!important;flex:0 0 auto!important}
html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar .rp-type-name {font-size:12px!important;font-weight:500!important}
html:root[data-horizon="v1"] body.ag-navixy :is(#pageReport,#pageMaintenance) {--filters-panel:#fff;--filters-line:#e7edf4;--filters-text:#26354b}
html:root[data-theme="dark"][data-horizon="v1"] body.ag-navixy :is(#pageReport,#pageMaintenance) {--filters-panel:#1c2735;--filters-line:#2e3c4f;--filters-text:#e4ebf5}
html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar .rp-filter-toolbar,
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance .mt-filterline {
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;
 padding:18px!important;border:1px solid var(--filters-line)!important;border-radius:12px!important;
 background:var(--filters-panel)!important;box-shadow:none!important;box-sizing:border-box!important;
}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance .mt-toolbar {gap:24px!important}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance .mt-status {gap:8px!important}
html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar .rp-filter-toolbar>.rp-search-wrap {
 display:flex!important;align-items:center!important;gap:10px!important;flex:0 1 320px!important;
 min-width:180px!important;height:40px!important;margin:0!important;padding:0 12px!important;
 border:1px solid var(--filters-line)!important;border-radius:10px!important;background:var(--filters-panel)!important;box-sizing:border-box!important;
}
html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar #rpVehicleSearch {width:100%!important;min-width:0!important;height:38px!important;padding:0!important;border:0!important;outline:none;background:transparent!important;color:var(--filters-text)!important;font:400 12px Inter,sans-serif!important;box-shadow:none!important}
html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar .rp-search-wrap:focus-within {outline:2px solid #3068ed;outline-offset:2px}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance #mtSearch {flex:0 1 320px!important;width:320px!important;max-width:100%!important}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance :is(#mtSearch,select) {height:40px!important;min-height:40px!important;font-size:12px!important;border-color:var(--filters-line)!important;background:var(--filters-panel)!important;color:var(--filters-text)!important}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance #mtSearch:focus-visible {outline:2px solid #3068ed;outline-offset:2px}
@media(max-width:700px) {
 html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar .rp-filter-toolbar>.rp-search-wrap,
 html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance #mtSearch {flex:1 1 100%!important;width:100%!important;min-width:0!important}
 html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance .mt-kinds {flex-wrap:wrap}
}

html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar [data-rp-type="hours"] {--filter-source:#0f766e}
html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar :is(.rp-filter-toolbar>.rp-search-wrap,#rpVehiclePicker>summary,.rp-period-field) {border:1px solid var(--filters-line)!important;box-shadow:none!important;background:var(--filters-panel)!important}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance .mt-kinds {background:transparent!important;padding:0!important;gap:8px!important}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance #mtKinds button {min-height:33px!important;padding:6px 10px!important;border:1px solid transparent!important;border-radius:8px!important;font-size:12px!important;font-weight:500!important;background:color-mix(in srgb,#3068ed 7%,var(--filters-panel))!important;color:#3068ed!important;box-shadow:none!important}
html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance #mtKinds button.selected {border-color:#7c9cf4!important}
html:root[data-theme="dark"][data-horizon="v1"] body.ag-navixy #pageMaintenance #mtKinds button {background:#203656!important;color:#adc7ff!important}

html:root[data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar #rpVehicleSearch:focus {outline:none!important}
html:root[data-theme="dark"][data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar .rp-vehicle-button {color:#e4ebf5!important}
html:root[data-theme="dark"][data-horizon="v1"] body.ag-navixy #pageReport #rpSidebar .rp-vehicle-button .rp-vehicle-name {color:inherit!important}

html:root[data-horizon="v1"] body.ag-navixy #pageMaintenance .mt-filtergroups {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
