/* Scoped to the fire page; retain the existing Fleet shell and navigation. */
.shell-v2.battery-mode .topbar .title{width:auto!important;flex:1 1 auto!important;min-width:245px;font-size:27px!important}
.shell-v2 .pageView.batteryView{width:100%!important;height:100%!important;min-width:0;overflow:hidden}
.shell-v2 .pageView.batteryView.active{display:block!important}
.batteryView .fire-dashboard{--fire-bg:#0a2030;--fire-line:#24485f;--fire-muted:#a0b8c9;--fire-text:#e8f3fd;--fire-cyan:#58c6ff;display:grid;grid-template-rows:auto auto;gap:12px;width:100%;height:100%;color:var(--fire-text);font-size:13px}
.fire-dashboard *{box-sizing:border-box}.fire-dashboard svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fire-dashboard button,.fire-dashboard input{font:inherit}.fire-dashboard button{cursor:pointer}.fire-dashboard button:focus-visible,.fire-dashboard input:focus-visible{outline:2px solid #55caff;outline-offset:2px}
.fire-panel,.fire-summary-card{border:1px solid var(--fire-line);border-radius:7px;background:linear-gradient(155deg,#0c2536,#091c2b);min-width:0}
.fire-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fire-summary-card{display:flex;align-items:center;gap:18px;padding:12px 18px}.fire-summary-icon{display:flex;color:var(--fire-cyan)}.fire-summary-icon svg{width:39px;height:39px}.fire-summary-card>div>span{font-size:13px;font-weight:700}.fire-summary-card strong{display:block;font-size:29px;line-height:34px;font-variant-numeric:tabular-nums}.fire-summary-card strong small{font-size:15px}.fire-summary-card>div>small{display:block;min-height:10px;font-size:10px;color:var(--fire-muted)}
.fire-summary-normal strong,.fire-summary-normal .fire-summary-icon{color:#66e7a0}.fire-summary-attention strong,.fire-summary-attention .fire-summary-icon{color:#f6c55a}.fire-summary-missing .fire-summary-icon{color:#91aac0}
.fire-workspace{display:grid;grid-template-columns:254px minmax(0,1fr);gap:12px;min-height:0}.fire-vehicles{display:flex;flex-direction:column;padding:12px;min-height:0;overflow:hidden}.fire-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px;margin-bottom:8px}.fire-panel-heading h2{font-size:15px;font-weight:800;margin:0}.fire-panel-heading>span{font-size:10px;color:var(--fire-muted);white-space:nowrap}
.fire-search{display:flex;align-items:center;gap:8px;border:1px solid #2b5169;border-radius:6px;padding:9px;background:#071b2a}.fire-search svg{width:17px;height:17px;flex:none;color:#aec7d9}.fire-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:inherit;font-size:12px}.fire-search input::placeholder{color:#7f9bae}
.fire-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}.fire-filters button{border:1px solid #2a4d64;border-radius:5px;background:#0c2639;color:#a5bace;padding:7px 0;font-size:12px}.fire-filters button[aria-pressed=true]{background:#087bd7;border-color:#34b7ff;color:white}
.fire-vehicle-list{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#38556b transparent;overscroll-behavior:auto}.fire-vehicle-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:8px;width:100%;border:1px solid transparent;border-bottom-color:#1e3c50;background:transparent;color:var(--fire-text);padding:13px 7px;text-align:left;align-items:start;border-radius:5px}.fire-vehicle-row:hover{background:#10324a}.fire-vehicle-row.selected{border-color:#248bc2;background:#103a56;box-shadow:inset 3px 0 #32b8ff}.fire-list-dot{width:7px;height:7px;background:currentColor;border-radius:50%;margin-top:6px}.fire-vehicle-name{display:flex;flex-direction:column;gap:7px;min-width:0}.fire-vehicle-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.fire-vehicle-name small{color:var(--fire-muted);font-size:10px;white-space:nowrap}.fire-vehicle-right{display:flex;flex-direction:column;align-items:end;gap:8px;max-width:90px}.fire-vehicle-right b{font-size:11px;white-space:nowrap}.fire-vehicle-right small{font-size:9px;color:var(--fire-muted);white-space:nowrap}
.fire-mode{padding-top:12px;border-top:1px solid #1e3c50;margin-top:10px;color:var(--fire-muted);font-size:10px;line-height:1.7}.fire-mode span{display:block}.fire-mode button{color:#6acbff;border:0;background:transparent;padding:3px 0;font-size:11px}
.fire-detail{display:grid;gap:10px;min-width:0;min-height:0}.fire-selected-header{display:flex;gap:14px;align-items:center;min-width:0;padding:0 3px}.fire-selected-header h2{margin:0;font-size:19px;letter-spacing:-.5px;white-space:nowrap;max-width:42%;overflow:hidden;text-overflow:ellipsis}.fire-selected-header>span{font-size:11px;color:var(--fire-muted);white-space:nowrap}.fire-selected-header .fire-age{margin-left:auto;font-size:11px}
.fire-overview{display:grid;grid-template-columns:minmax(315px,1.07fr) minmax(0,1fr);gap:10px}.fire-current{padding:12px 14px}.fire-current-main{display:flex;align-items:center;gap:14px;margin-bottom:14px}.fire-shield{color:#68e99e;display:flex}.fire-shield svg{width:43px;height:43px}.fire-current-main>div>span{font-size:12px;color:#c0d4e3}.fire-current-main strong{display:block;font-size:24px;line-height:32px;letter-spacing:-.6px}
.fire-stage-scale{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;text-align:center}.fire-stage-scale>div>i{display:block;height:10px;border:1px solid #557080;border-radius:3px;background:#142c3b;margin-bottom:5px}.fire-stage-scale>div>span{display:block;font-size:12px}.fire-stage-scale>div>small{display:block;font-size:10px;white-space:nowrap;margin-top:3px;color:#a5bbcb}.fire-stage-scale .is-current>i{background:currentColor;border-color:currentColor}.fire-stage-scale [data-fire-step="0"].is-current{color:#65e99c}.fire-stage-scale [data-fire-step="1"].is-current,.fire-stage-scale [data-fire-step="2"].is-current{color:#f2c65b}.fire-stage-scale [data-fire-step="3"].is-current{color:#ff9a44}.fire-stage-scale [data-fire-step="4"].is-current{color:#ff6571}.fire-stage-scale [data-fire-step="5"]>i{border-color:#823a4e}
.fire-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fire-metric{display:flex;align-items:center;gap:10px;padding:10px 12px}.fire-metric-icon{color:var(--fire-cyan);display:flex}.fire-metric-icon svg{width:27px;height:27px}.fire-metric>div>span{display:block;font-size:11px;color:#adc2d3;margin-bottom:3px}.fire-metric strong{font-size:23px;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.fire-metric>div>small{font-size:12px;margin-left:5px;color:#c8d8e4}
.fire-inspection{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(235px,1fr);gap:10px}.fire-packs,.fire-reasons{padding:10px 12px;overflow:hidden}.fire-pack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.fire-pack{display:flex;align-items:center;gap:10px;border:1px solid #254b64;background:#092130;border-radius:5px;padding:10px 8px;min-width:0;min-height:73px}.fire-pack-icon{display:flex;color:#8ed7fa}.fire-pack-icon svg{width:31px;height:31px}.fire-pack>div{min-width:0;display:grid;gap:3px}.fire-pack strong{font-size:11px;font-weight:700}.fire-pack b{font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.fire-pack>div>span{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.fire-pack small{font-size:9px;color:#a6bdce}.fire-pack .fire-tone-0{color:#6aeaa0}
.fire-ten-packs{grid-template-columns:repeat(5,minmax(0,1fr))}.fire-ten-packs .fire-pack{gap:5px;padding:9px 5px}.fire-ten-packs .fire-pack-icon svg{width:20px;height:24px}.fire-ten-packs .fire-pack b{font-size:12px}.fire-ten-packs .fire-pack>div>span{font-size:10px}
.fire-reasons{display:flex;flex-direction:column}.fire-reasons ul{padding:0;margin:0;list-style:none}.fire-reasons li{display:flex;gap:9px;align-items:start;font-size:11px;line-height:1.5;padding:7px 0;border-bottom:1px solid #183d53}.fire-reasons li svg{width:16px;height:16px;flex:none;color:#76d9b0}.fire-dtc{display:flex;align-items:center;gap:8px;padding-top:11px;font-size:11px;color:#a9c4d8;line-height:1.5}.fire-dtc svg{width:19px;height:19px;flex:none}.fire-text-button{display:flex;justify-content:end;gap:6px;margin-top:auto;padding:4px 0 0;color:#70cfff;border:0;background:none;text-align:right;font-size:11px}
.fire-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0}.fire-chart{padding:8px 10px;display:flex;flex-direction:column;overflow:hidden}.fire-chart .fire-panel-heading{margin:0;min-height:24px}.fire-chart [data-fire-chart-host]{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.fire-dashboard .fire-plot{width:100%;height:100%;max-height:200px;overflow:visible;stroke:none;fill:none}.fire-chart-grid{stroke:#203c50;stroke-width:1}.fire-chart-grid text{font-size:10px;fill:#a8c1d3;stroke:none;font-family:inherit}.fire-chart-line{stroke:#55c7ff;stroke-width:2;fill:none;vector-effect:non-scaling-stroke}.fire-plot [data-fire-hover][hidden]{display:none}.fire-crosshair{stroke:#8cc8e1;stroke-width:1;stroke-dasharray:3 3}.fire-plot [data-fire-hover] circle{fill:#66d7ff;stroke:none}.fire-plot [data-fire-hover] rect{fill:#0b1d2b;stroke:#3f7899;stroke-width:1}.fire-plot [data-fire-hover] text{fill:#ecf7ff;stroke:none;font-size:11px;font-family:inherit}
.fire-history{padding:7px 12px;overflow:hidden}.fire-history .fire-panel-heading{min-height:24px;margin-bottom:4px}.fire-history-scroll{max-height:67px;overflow:auto;scrollbar-width:thin}.fire-history table{width:100%;border-collapse:collapse;font-size:10px;table-layout:fixed}.fire-history th{text-align:left;color:#a2bbce;font-size:10px;font-weight:600;background:#0c2538;position:sticky;top:0}.fire-history td,.fire-history th{padding:6px 8px;border-bottom:1px solid #203f54;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fire-history th:nth-child(1){width:14%}.fire-history th:nth-child(2){width:14%}.fire-history th:nth-child(3){width:29%}.fire-history .fire-history-empty{color:#9bb4c8;text-align:center;padding:12px}
.fire-tone-0{color:#66e79b}.fire-tone-1,.fire-tone-2{color:#f3c85d}.fire-tone-3{color:#ffa14d}.fire-tone-4{color:#ff6a74}.fire-tone-missing{color:#91a9bd}.fire-empty,.fire-chart-empty{color:#91abc0;padding:25px 10px;text-align:center;line-height:1.8;font-size:12px}.fire-chart-empty{padding:10px}
.fire-dialog{width:min(650px,90vw);max-height:80vh;overflow:auto;border:1px solid #315b77;border-radius:10px;padding:22px;background:#0b2131;color:#e7f3fd;font-size:13px;line-height:1.8}.fire-dialog::backdrop{background:#020d18b5}.fire-dialog button{background:#12344b;color:#d9eaf5;border:1px solid #39627c;border-radius:5px;padding:5px 13px}.fire-dialog ol{padding-left:23px}.fire-dialog-note{color:#adc5d6}.fire-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#061827;padding:12px;border-radius:5px}
html[data-theme="light"] .fire-dashboard{--fire-text:#19344c;--fire-muted:#60798c;--fire-line:#c7d8e5}html[data-theme="light"] .fire-panel,html[data-theme="light"] .fire-summary-card{background:#f7fbff}html[data-theme="light"] .fire-search,html[data-theme="light"] .fire-pack,html[data-theme="light"] .fire-history th{background:#eef5fc}html[data-theme="light"] .fire-vehicle-row{color:#173850}html[data-theme="light"] .fire-vehicle-row.selected{background:#d9edff}html[data-theme="light"] .fire-current-main>div>span,html[data-theme="light"] .fire-metric>div>span,html[data-theme="light"] .fire-stage-scale>div>small{color:#4b687e}html[data-theme="light"] .fire-chart-grid{stroke:#d1e0ea}html[data-theme="light"] .fire-chart-grid text{fill:#59768c}html[data-theme="light"] .fire-stage-scale>div>i{background:#e2edf5}html[data-theme="light"] .fire-filters button{background:#e9f3fb;color:#355d7b}html[data-theme="light"] .fire-filters button[aria-pressed=true]{background:#087bd7;color:white}html[data-theme="light"] .fire-tone-0{color:#15864d}html[data-theme="light"] .fire-tone-1,html[data-theme="light"] .fire-tone-2{color:#9a6a00}html[data-theme="light"] .fire-summary-normal strong{color:#15864d}
@media(prefers-reduced-motion:reduce){.fire-dashboard *{animation:none!important;transition:none!important}}

/* Keep both pack rows within the fixed inspection panel. */
.fire-dashboard .fire-pack{padding:6px 8px;min-height:0;line-height:1.15}.fire-dashboard .fire-pack>div{gap:3px}.fire-dashboard .fire-ten-packs .fire-pack{padding:6px 4px}


.shell-v2.battery-mode .fleetStat{display:none!important}
.fire-dashboard .fire-chart-dot{fill:#55c7ff;stroke:none}


html[data-theme=light] .fire-summary-attention strong{color:#916000}html[data-theme=light] .fire-summary-icon,html[data-theme=light] .fire-pack-icon,html[data-theme=light] .fire-metric-icon{color:#27779d}html[data-theme=light] .fire-summary-normal .fire-summary-icon{color:#15864d}html[data-theme=light] .fire-summary-attention .fire-summary-icon{color:#916000}html[data-theme=light] .fire-pack small,html[data-theme=light] .fire-dtc{color:#526d81}html[data-theme=light] .fire-pack .fire-tone-0{color:#15864d}html[data-theme=light] .fire-text-button,html[data-theme=light] .fire-mode button{color:#126695}


/* Replace the legacy live-mode coming-soon overlay only on this page. */
.cr-live-mode .shell-v2 .batteryView.active>.fire-dashboard{visibility:visible!important}
.cr-live-mode .shell-v2 .batteryView.active::after{content:none!important;display:none!important}


/* Match the shared Fleet scale; shorten rows rather than shrinking page text. */
.battery-dense .fire-dashboard{grid-template-rows:auto auto;gap:10px}.battery-dense .fire-detail{gap:8px}.battery-dense .fire-current{padding:8px 12px}.battery-dense .fire-current-main{margin-bottom:8px}.battery-dense .fire-metric{padding:6px 10px}.battery-dense .fire-history-scroll{max-height:51px}
.fire-dashboard .fire-shield.fire-tone-missing{color:#91a9bd}.fire-dashboard .fire-shield.fire-tone-1,.fire-dashboard .fire-shield.fire-tone-2{color:#f3c85d}.fire-dashboard .fire-shield.fire-tone-3{color:#ffa14d}.fire-dashboard .fire-shield.fire-tone-4{color:#ff6a74}


.battery-dense .fire-summary-card{min-height:0;padding:6px 16px}.battery-dense .fire-summary-card>div>span{display:block;line-height:16px}.battery-dense .fire-summary-card strong{line-height:30px}.battery-dense .fire-summary-card>div>small{line-height:10px}


/* Keep card contents centered and let short windows scroll instead of clipping rows. */
.shell-v2.battery-mode .main{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:auto;scrollbar-width:thin;scrollbar-color:#38556b transparent;padding-bottom:28px!important}
.shell-v2 .pageView.batteryView.active{height:auto!important;min-height:100%;overflow:visible}
.batteryView .fire-dashboard,.battery-dense .fire-dashboard{height:auto;grid-template-rows:auto auto;gap:18px;padding-bottom:8px}
.fire-summary{gap:16px}
.fire-dashboard .fire-summary-card,.battery-dense .fire-summary-card{padding:14px 22px;min-height:0;gap:18px;align-items:center}
.fire-summary-card>div{display:grid;gap:2px;align-content:center}
.fire-dashboard .fire-summary-card>div>span,.battery-dense .fire-summary-card>div>span{display:block;line-height:18px}
.fire-dashboard .fire-summary-card strong,.battery-dense .fire-summary-card strong{line-height:34px}
.fire-dashboard .fire-summary-card>div>small,.battery-dense .fire-summary-card>div>small{min-height:14px;line-height:14px}
.fire-workspace{gap:16px;align-items:start}
.fire-detail,.battery-dense .fire-detail{gap:14px;align-content:start}
.fire-overview,.fire-inspection,.fire-charts{gap:16px}
.fire-current,.battery-dense .fire-current{padding:16px 18px}
.fire-current-main,.battery-dense .fire-current-main{margin-bottom:16px}
.fire-metrics{gap:12px}
.fire-metric,.battery-dense .fire-metric{padding:12px 16px;align-items:center}
.fire-metric>div>span{line-height:17px;margin-bottom:6px}
.fire-metric strong{line-height:28px}
.fire-packs,.fire-reasons{padding:14px 16px}
.fire-pack-grid{gap:10px}
.fire-dashboard .fire-pack{padding:8px 9px}
.fire-dashboard .fire-ten-packs .fire-pack{padding:8px 6px}
.fire-chart{padding:12px 14px}
.fire-history{display:flex;flex-direction:column;padding:12px 16px}
.fire-history-scroll,.battery-dense .fire-history-scroll{flex:1;max-height:220px;overflow:auto}
.fire-history .fire-history-empty{white-space:normal;line-height:1.65;padding:14px 12px}


.fire-vehicles{padding:16px}
.fire-vehicle-list{max-height:min(56vh,520px)}
.fire-vehicle-right b{white-space:normal;line-height:1.4;text-align:right;overflow-wrap:anywhere}
.fire-stage-scale>div>small{line-height:15px}

.fire-selected-header{flex-wrap:wrap;align-content:start;row-gap:10px}
.fire-context{flex-basis:100%;display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid var(--fire-line);border-radius:6px;background:#0a2232;font-size:12px;min-width:0}
.fire-context>b{flex-shrink:0;color:#63d2fa;font-size:12px;padding-right:12px;border-right:1px solid var(--fire-line)}
.fire-context-speed{flex-shrink:0;font-variant-numeric:tabular-nums;color:var(--fire-text)}
.fire-location{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--fire-text)}
.fire-context>small{margin-left:auto;flex-shrink:0;font-size:10px;color:var(--fire-muted)}
.fire-dashboard .fire-pack-voltage{white-space:nowrap;font-variant-numeric:tabular-nums}
.fire-dashboard .fire-pack-voltage small{font-size:8px;color:var(--fire-muted)}
html[data-theme=light] .fire-context{background:#eef5fc}
html[data-theme=light] .fire-context>b{color:#18638c}

.fire-last-valid{font-size:10px;color:var(--fire-muted);line-height:17px;margin-top:8px}
.fire-coverage{font-size:10px;color:#f2bc6c;line-height:17px}
.fire-reception-banner{font-size:10px;line-height:17px;color:#88d6f8;padding:6px 0 9px;border-bottom:1px solid var(--fire-line);margin-bottom:4px}
.fire-event-filters{display:flex;gap:5px}.fire-event-filters button{font:inherit;font-size:10px;padding:4px 9px;border:1px solid #31556e;border-radius:4px;color:var(--fire-muted);background:transparent;cursor:pointer}
.fire-event-filters button[aria-pressed=true]{background:#16435f;color:#d6efff}
.fire-storage-state{font-size:9px;color:var(--fire-muted);margin:0 0 7px}
html[data-theme=light] .fire-reception-banner{color:#17567c}html[data-theme=light] .fire-coverage{color:#8d5b00}

.fire-stage-history{padding:14px 16px;min-width:0}
.fire-stage-history .fire-panel-heading{flex-wrap:wrap}
.fire-range-form{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px}
.fire-range-form label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--fire-muted)}
.fire-range-form input,.fire-range-form button{border:1px solid var(--fire-line);border-radius:5px;padding:5px 7px;background:transparent;color:var(--fire-text);font-size:11px}
.fire-range-form input{color-scheme:dark;min-width:0}.fire-range-form button{color:var(--fire-cyan);font-weight:700}
.fire-range-form small,.fire-stage-note{color:var(--fire-muted);font-size:11px}
.fire-stage-note{margin:6px 0 0}.fire-stage-note:empty{display:none}
.fire-stage-history [data-fire-stage-plot]{overflow-x:auto;border:1px solid var(--fire-line);border-radius:5px;background:#081d2a;min-height:72px;display:grid;align-items:center}
.fire-dashboard .fire-stage-plot{display:block;width:100%;min-width:500px;height:auto;max-height:220px;stroke:none}
.fire-stage-marks circle{fill:var(--fire-cyan);stroke:none}
.fire-reception-status{font-size:24px;font-weight:800;line-height:1.1;color:var(--fire-muted);white-space:nowrap}
.fire-reception-status[data-state=normal]{color:#66e79b}.fire-reception-status[data-state=abnormal]{color:#ff7781}
.fire-pack-grid{grid-template-columns:repeat(auto-fit,minmax(max(108px,calc((100% - 20px) / 3)),1fr))}
.fire-pack-grid.fire-ten-packs{grid-template-columns:repeat(auto-fit,minmax(max(108px,calc((100% - 40px) / 5)),1fr))}
.fire-pack-tile{min-width:0;padding:8px 9px;border:1px solid var(--fire-line);border-radius:6px;background:#092130}
.fire-pack-tile header,.fire-pack-tile header strong,.fire-pack-tile dl div{display:flex;align-items:center;gap:5px}
.fire-pack-tile header,.fire-pack-tile dl div{justify-content:space-between}
.fire-pack-tile header strong{font-size:12px;white-space:nowrap}.fire-pack-tile .fire-pack-icon svg{width:16px;height:16px}
.fire-pack-tile header small{font-size:9px;white-space:nowrap}.fire-pack-tile dl{margin:6px 0 0;padding-top:5px;border-top:1px solid var(--fire-line)}
.fire-pack-tile dt{color:var(--fire-muted);font-size:9px;white-space:nowrap}.fire-pack-tile dd{margin:0;font-size:11px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.fire-pack-tile dd small{font-size:8px;color:var(--fire-muted)}

.fire-pack-tile{padding-inline:6px}
.fire-pack-tile header,.fire-pack-tile header strong,.fire-pack-tile dl div{gap:3px}
.fire-pack-tile header strong{font-size:13px}
.fire-pack-tile .fire-pack-icon svg{width:14px;height:14px}
.fire-pack-tile header small{font-size:10px}
.fire-pack-tile dt{font-size:11px}
.fire-pack-tile dd{font-size:12px}
.fire-pack-tile dd small{font-size:10px}
.fire-reception-banner{font-size:12px}
html[data-theme=light] .fire-range-form input{color-scheme:light}html[data-theme=light] .fire-range-form button{color:#126695}
html[data-theme=light] .fire-pack-tile,html[data-theme=light] .fire-stage-history [data-fire-stage-plot]{background:#eef5fc}
html[data-theme=light] .fire-reception-status[data-state=normal]{color:#15864d}html[data-theme=light] .fire-reception-status[data-state=abnormal]{color:#b32438}
@media(max-width:1100px){.fire-inspection{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){
 .fire-dashboard .fire-workspace,.fire-overview,.fire-charts{grid-template-columns:minmax(0,1fr)}
 .fire-dashboard .fire-vehicles{max-height:240px}
 .fire-dashboard .fire-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .batteryView .fire-dashboard,.battery-dense .fire-dashboard{grid-template-rows:auto auto;}
 .fire-charts .fire-chart{min-height:175px}.fire-context>small{white-space:normal;flex-shrink:1}
}



/* Size each panel to its content instead of stretching it to the history below. */
.fire-summary-card [data-fire-summary-note]:empty,.fire-coverage:empty,.fire-last-valid:empty{display:none}
.fire-dashboard .fire-vehicles{position:sticky;top:0}
.fire-selected-header{padding:1px 2px 0}
.fire-selected-header h2{line-height:1.2}
.fire-context{flex-wrap:wrap;row-gap:5px}
.fire-inspection{align-items:start}
.fire-packs{container-type:inline-size}
.fire-pack-grid,.fire-pack-grid.fire-ten-packs{grid-template-columns:repeat(2,minmax(0,1fr))}
@container (min-width:370px){.fire-pack-grid:not(.fire-ten-packs){grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (min-width:590px){.fire-pack-grid.fire-ten-packs{grid-template-columns:repeat(5,minmax(0,1fr))}}
@container (max-width:250px){.fire-pack-grid,.fire-pack-grid.fire-ten-packs{grid-template-columns:minmax(0,1fr)}}
.fire-pack-grid>.fire-empty{grid-column:1/-1;padding:14px 8px}
.fire-pack-tile dl div{min-height:18px}
.fire-text-button{align-self:flex-end;margin-top:10px}
.fire-dtc{overflow-wrap:anywhere}
.fire-reasons li.fire-receipt-missing svg{color:#ff7781}
html[data-theme=light] .fire-reasons li.fire-receipt-missing svg{color:#b32438}
.fire-dashboard .fire-plot{display:block;height:auto;max-height:none}
.fire-chart [data-fire-chart-host]{min-height:60px}
.fire-history td:last-child{white-space:normal;overflow-wrap:anywhere}
@media(max-width:720px){
 .fire-dashboard .fire-vehicles{position:static;max-height:none}
 .fire-dashboard .fire-vehicle-list{max-height:200px}
 .fire-dashboard .fire-summary-card{padding:10px 12px;gap:9px}
 .fire-dashboard .fire-summary-icon svg{width:27px;height:27px}
 .fire-charts .fire-chart{min-height:0}
 .fire-history table{min-width:430px}
}
