/* STRVYX brand system: navy, technology blue, cyan and ice. */
:root{--brand-blue:#0066ff;--brand-cyan:#00bfff;--brand-dark:#080f18;--brand-ice:#eaf5ff;--purple:#0066ff;--purple-light:#eaf2ff;--border:#d9e5f1;--muted:#64768b;color:#14263e;background:#f2f7fc;--sidebar:250px}
body{background:#f2f7fc;color:#14263e}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #54baff;outline-offset:3px}input,select,textarea{background:#fff;color:#14263e;border-color:#ccddeb}input::placeholder,textarea::placeholder{color:#71859c}button:disabled{opacity:.55;cursor:not-allowed}h1,h2,h3{color:#14263e}button{white-space:normal;line-height:1.35}
.sidebar{background:linear-gradient(180deg,#071b35,#080f18 80%);border-color:#20374f;z-index:1100}.brand-logo{height:100px;padding:13px 20px;border-bottom:1px solid #1b3550}.brand-logo img{display:block;width:210px!important;max-width:100%;height:74px!important;object-fit:contain;background:#fff;border-radius:9px;padding:3px}.nav-caption{color:#90a8c1}.nav-caption span{color:#45d1ff}.nav-scroll-controls{border-color:#243b53}.nav-scroll-controls span{color:#9eb5cf}.nav-scroll-controls button{background:#122a44;color:#d9edff;border-color:#2c4865}.nav-item{color:#bdd0e4}.nav-item>svg{color:#7c9bbd}.nav-item:hover,.subnav a:hover{background:#112d4c;color:white}.nav-item.active,.nav-item.current{background:#113661;color:#fff;box-shadow:none}.nav-item.active>svg,.nav-item.current>svg{color:#43d1ff}.subnav{border-color:#294562}.subnav a{color:#adc4df}.subnav a.active{background:#0e3b70;color:#80e4ff;box-shadow:inset 3px 0 #00bfff}.logout{border-color:#243b53}.sidebar-foot{color:#98afc8}.system-dot{background:#26c9ff}
.topbar{background:#fff;border-color:#dce7f2;z-index:1001;padding:0 24px}.workspace-heading strong{color:#102540}.workspace-eyebrow,.section-eyebrow{color:#567593}.global-search{background:#f0f6fc;border-color:#dce7f2;color:#6b83a0}.global-search input{color:#14263e}.avatar{background:#0d2c50;color:#fff;border:2px solid #a8dcff}.content-page{background:#f2f7fc;padding:28px;min-width:0}.page-heading{gap:20px;flex-wrap:wrap}.page-heading h1{color:#102540}.page-heading p{color:#5c7189;line-height:1.55}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.workspace-notice{background:#eaf5ff;border-color:#c9e4fa;color:#3c6387;line-height:1.5}.card{background:#fff;border:1px solid #dce7f2;box-shadow:0 6px 22px #0c315308;border-radius:16px}.muted,.filter-note{color:#5f748b}.primary{background:#0066ff;border-color:#0066ff;color:#fff}.primary:hover{background:#0056d8;border-color:#0056d8;color:#fff}.text-button{color:#005edb}.text-button:hover{background:#edf5ff}.module-filters{gap:14px;align-items:end;flex-wrap:wrap}.module-filters label,.form-field{color:#365674}.module-filters input,.module-filters select,.form-field input,.form-field select{background:#fff;border-color:#ccddeb;color:#14263e}.module-kpis>div{background:white;border-color:#dce7f2}.module-kpis strong{color:#073d87}.module-kpis span,.report-results .muted{color:#5d738c}.table-scroll{max-width:100%;overflow:auto}.data-table{color:#233d59}.data-table th{background:#edf5ff;color:#355b82;white-space:nowrap}.data-table td{border-color:#e1ebf4}.data-table td:first-child{color:#163550}.data-table tr:hover td{background:#f6faff}.table-empty{color:#61768e;padding:28px!important}.records-card{overflow:hidden}.records-card .table-scroll{border-radius:15px}.record-search{max-width:100%}
.tracking-page{background:#eaf5ff;isolation:isolate}.leaflet-tile-pane{filter:saturate(.8) contrast(.97)}.asset-panel{background:#fff;border-color:#dce7f2;box-shadow:0 10px 40px #08264420}.panel-heading{background:#fff}.panel-heading h2{color:#112c4b}.panel-heading h2 span{background:#eaf2ff;color:#0056b8}.status-summary button{background:#f0f6fc}.status-summary button:hover{background:#e4f0fc}.status-summary span{color:#5f7389}.status-tabs{background:#edf4fc}.status-tabs button{color:#516d8b}.status-tabs .active{background:#fff;color:#005edb;box-shadow:0 2px 7px #12355610}.search-input{background:#f6faff;border-color:#dce7f2}.search-input input{color:#173655}.asset-card{border-color:#e1eaf4}.asset-card:hover{background:#f2f7ff}.asset-card.selected{background:#e9f4ff;box-shadow:inset 3px 0 #0066ff}.asset-title strong{color:#15314f}.asset-id{color:#63788e}.asset-readings{color:#506d89}.asset-readings svg{color:#6d8aad}.panel-footer{background:#f2f7fc;color:#58738d;border-color:#dce7f2}.map-toolbar,.map-actions>button{border-color:#d4e6f6}.map-toolbar .active{color:#005edb}.marker-inner.is-selected{outline-color:#0066ff}.vehicle-detail,.detail-panel{background:#fff;color:#17324e}.detail-kpis{background:#edf5ff;grid-template-columns:repeat(4,minmax(0,1fr))}.detail-kpis strong{color:#0d335d}.detail-kpis small,.detail-kpis span,.vehicle-detail .muted{color:#5d7690}.vehicle-detail .health-details{background:#f4f9ff;border-color:#dce7f2}.vehicle-detail .telemetry-grid span{color:#58718c}.vehicle-detail .telemetry-grid strong{color:#142f4e}.expand-hint{color:#0066ff}.detail-scroll-controls{background:#fffffff2}.detail-scroll-controls button{background:#edf5ff;color:#20527e}.map-toolbar button,.map-actions button{color:#2c5279}.map-toolbar button:disabled{color:#59718b}.map-layer-controls{background:#fff}
.command-metrics section{background:#fff;border-color:#dce7f2}.command-metrics section:first-child{background:linear-gradient(125deg,#092546,#064c99);border-color:#0b4681;color:#fff}.command-metrics section:first-child strong,.command-metrics section:first-child svg{color:#fff}.command-metrics section svg{color:#0066ff}.command-metrics section small{color:#5d7690}.command-metrics section:first-child small{color:#b7dfff}.command-status button{background:#f0f6fc;color:#315574}.attention-card>p,.attention-item small{color:#5d7690}.attention-count{background:#eaf5ff;color:#0759af}.attention-item{border-color:#dce7f2}.journey-summary{background:linear-gradient(155deg,#0c2e51,#080f18);color:#eaf5ff}.journey-summary h2,.journey-summary strong{color:#fff}.journey-summary p,.journey-summary span{color:#bad6f0}.journey-summary .journey-current strong{color:#39d0ff}.journey-map-label{background:#fffffff2;color:#1c456c}.playback-console{background:#fff;border-color:#dce7f2}.playback-console input[type=range]{accent-color:#0066ff}.report-chart{background:#fff;border-color:#dce7f2}.report-chart polyline{stroke:#0066ff}.chart-caption{color:#5d7690}.workspace-dialog{background:#fff;color:#14263e;border-color:#dce7f2}.workspace-dialog::backdrop{background:#04172b80}.workspace-dialog h2{color:#14263e}.toast{background:#0a2d51;color:#fff;border-color:#1d5488}.search-results{background:#fff;color:#14263e;border-color:#dce7f2}.search-results button{color:#183d63}.gf-editor fieldset{background:#f5faff;border-color:#cbdff2}.gf-list-row{border-color:#dce7f2}.gf-list-row small{color:#5d7690}.gf-editor button:not(.primary){color:#1c5388;background:#f4f9ff}.gf-editor input:focus{border-color:#0066ff}.gf-editor #gf-message{color:#245b88;overflow-wrap:anywhere}.gf-history{overflow:hidden}.gf-map{border:1px solid #ccdfef}.gf-editor h2,#gf-list h2,.gf-history h2{margin-bottom:16px}.gf-checkbox{padding:7px 0}.gf-editor [type=submit]{min-height:44px}.boot{background:#eaf5ff;color:#0b2c50}.boot strong,.boot h1{color:#0b2c50}.boot span{color:#54738e}.boot>img{background:#fff;border-radius:12px}.login-page{background:radial-gradient(ellipse at 10% 10%,#cef3ff 0,transparent 45%),radial-gradient(ellipse at 90% 90%,#d8eaff 0,transparent 50%),#eaf5ff}.login-card{border-color:#d4e7f9}.login-card h1{color:#102540}
/* Semantic status colours remain distinct from brand colours. */
.badge.moving{background:#e4f5eb;color:#146844}.badge.idle{background:#fff2d5;color:#7f5900}.badge.stopped{background:#fdeae6;color:#a53529}.badge.offline{background:#e9edf3;color:#526172}.badge.uploading{background:#e6f3ff;color:#095dab}.vehicle-icon.uploading{background:#e6f3ff;color:#0066ff}.immobiliser-button.is-enabled{color:#176139}
@media(min-width:851px){.sidebar{width:250px}.workspace{margin-left:250px}.asset-panel{width:350px}.status-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.status-tabs{overflow-x:auto;justify-content:flex-start}.status-tabs button{flex-shrink:0}.global-search{max-width:400px;width:38vw}}
@media(max-width:1000px){.command-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.command-layout{grid-template-columns:1fr}.module-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.workspace{margin-left:0;min-width:0}.sidebar{width:250px}.topbar{padding:0 12px;gap:8px}.topbar .global-search{min-width:0;flex:1;width:auto}.global-search kbd{display:none}.topbar-right{gap:5px;flex-shrink:0}.topbar .notification-button{width:32px}.topbar .avatar{width:32px;height:32px}.content-page{padding:20px 14px}.page-heading h1,.module-page h1{font-size:26px}.page-heading{gap:12px}.heading-actions{width:100%}.module-filters{align-items:stretch}.module-filters label{flex:1 1 160px;min-width:0}.module-filters input,.module-filters select{width:100%}.gf-layout{grid-template-columns:minmax(0,1fr)}.gf-editor,.gf-history,#gf-list{padding:18px}.gf-list-row{gap:10px}.gf-list-row>div{min-width:0;overflow-wrap:anywhere}.gf-list-row button{flex-shrink:0}.gf-history .module-filters{display:flex;flex-wrap:wrap}.gf-history .module-filters label{flex-basis:100%}.module-page .card{min-width:0}.journey-layout{grid-template-columns:1fr}.journey-summary{padding:22px}.playback-buttons{flex-wrap:wrap}.playback-buttons label{max-width:100%}.tracking-page .asset-panel{width:calc(100% - 24px);left:12px;right:12px;max-width:360px}.tracking-page .status-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.tracking-page .status-summary strong{font-size:24px}.tracking-page .status-summary span{font-size:10px}.status-tabs{display:flex;overflow-x:auto;justify-content:flex-start}.status-tabs button{flex-shrink:0}.vehicle-detail{z-index:700}.table-scroll{overscroll-behavior-x:contain}.search-results{max-width:calc(100vw - 28px)}}
@media(max-width:420px){.topbar .global-search{padding:0 8px}.global-search input{font-size:12px}.global-search>svg{display:none}.command-metrics{gap:10px}.command-metrics section{padding:15px}.command-metrics strong{font-size:28px}.gf-map{height:300px}.asset-panel .panel-heading{padding:14px}.status-tabs button{padding:8px}.detail-kpis strong{font-size:22px}.login-card{padding:24px 20px}.heading-actions button{flex:1 1 auto}.page-heading h1{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.brand-logo{background:#081b32;height:132px}.brand-logo img{height:106px!important;object-fit:cover;object-position:center 56%}.command-metrics section>div svg{color:#0066ff}.command-metrics section:first-child>div svg{color:#4edcff}.demo-label{background:#eaf5ff;color:#0b5caa;border-color:#c9e3ff}.workflow-note{background:#f0f7ff;border-color:#d8e8f8}.workflow-note strong{color:#155a9b}.workflow-note p,.attention-foot{color:#5d7690}.command-status{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.command-status button{min-width:0;white-space:normal}.row-actions button{color:#075eb8}.connection-note{background:#eaf5ff;border-color:#c9e4fa;color:#254f78}.connection-note strong{color:#104675}.record-search input{min-width:0}.journey-summary .section-eyebrow{color:#9dccf8}.status-dot.uploading{background:#1687fa}
@media(max-width:850px){.brand-logo{height:132px}.command-status{grid-template-columns:repeat(2,minmax(0,1fr))}.module-filters button{min-height:42px}}
@media(max-width:850px){#report-overview>div:last-child{grid-column:1/-1}#report-overview>div:last-child strong{font-size:20px;white-space:nowrap}.asset-panel .status-summary span{white-space:nowrap}.gf-editor .gf-checkbox{align-items:flex-start}.gf-editor input[type=checkbox]{margin-top:3px;flex-shrink:0}}
.vehicle-detail .health-details summary{gap:16px;line-height:1.5;min-height:44px;font-size:13px}.vehicle-detail .expand-hint{width:20px;height:20px;line-height:1;flex-shrink:0;display:inline-flex;transform-origin:center}.vehicle-detail .panel-heading{align-items:flex-start;gap:12px}.vehicle-detail .panel-heading>div{min-width:0}.vehicle-detail .panel-heading h2{overflow-wrap:anywhere;line-height:1.25;font-size:15px;font-weight:650;letter-spacing:-.15px}.vehicle-detail #close-detail{flex-shrink:0}.vehicle-detail .detail-status{padding:4px 12px;font-size:11px}.vehicle-detail .detail-status .badge{font-size:9px}.vehicle-detail .detail-kpis{padding:8px 6px}.vehicle-detail .detail-location{padding:8px 12px;gap:6px;font-size:12px}.vehicle-detail .detail-location small{font-size:10px}.vehicle-detail .immobiliser-button{font-size:11px;padding:6px 8px}.vehicle-detail .immobiliser-button small{font-size:10px}.vehicle-detail .detail-kpis strong{white-space:nowrap;font-size:16px;letter-spacing:-.3px}.vehicle-detail .detail-kpis>div{padding-inline:4px;gap:3px;text-align:center}.vehicle-detail .detail-kpis span{font-size:10px;line-height:1.4}.vehicle-detail .detail-kpis small{font-size:10px}.vehicle-detail .detail-kpis svg{color:#5a7d9f;width:14px;height:14px}.vehicle-detail .detail-kpis small{margin-left:3px}.vehicle-detail .immobiliser-button.is-unavailable{min-height:44px;background:#f0f5fa;border-color:#cfdeec;color:#4e657c}.vehicle-detail .immobiliser-button.is-unavailable small{color:#4e657c;letter-spacing:0}.vehicle-detail .telemetry-grid strong{overflow-wrap:anywhere}.behaviour-card{--insight-cyan:#00bfff;--insight-muted:#9cb9d5;background:radial-gradient(ellipse at 95% 0,#123d67,transparent 65%),#091b30;border-color:#24486c}.behaviour-period{background:#0a223e;border-color:#315878}.behaviour-period [aria-pressed=true]{background:#13558f}.behaviour-period button,.score-eyebrow,.score-period-note,.trend-labels,.events-heading,.behaviour-foot span{color:#b6d3ec}.score-context>strong{color:#4dd7ff}.score-context p,.behaviour-event>div>span{color:#d0e4f7}.trend-line{stroke:#00bfff}.trend-area{fill:#00bfff16}.event-symbol{background:#153c60;color:#70dfff}.event-meter{background:#244b70}.event-meter>i{background:#1abaff}.vehicle-detail .score-method{background:#07172b80}.vehicle-detail .score-method summary,.score-method p{color:#bad4ed}
@media(max-width:420px){.vehicle-detail .health-details summary{font-size:14px}.vehicle-detail .detail-kpis strong{font-size:16px}.vehicle-detail .detail-kpis span{font-size:10px}.vehicle-detail .detail-kpis small{font-size:10px}}
/* Keep Leaflet controls inside their map, below vehicle overlays. */
.tracking-page #map{z-index:0;isolation:isolate}.vehicle-detail .location-with-control .address-copy{min-width:0;overflow-wrap:anywhere}.vehicle-detail .immobiliser-button.is-unavailable{white-space:normal}.vehicle-detail .immobiliser-button.is-unavailable span{min-width:0}.vehicle-detail .immobiliser-button.is-unavailable small{white-space:normal}
@media(max-width:480px){.vehicle-detail .location-with-control{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:6px}.vehicle-detail .location-with-control>.immobiliser-button{grid-column:1/-1;width:100%;max-width:100%;justify-content:center}.vehicle-detail .immobiliser-button.is-unavailable span{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:3px 8px}.vehicle-detail .immobiliser-button.is-unavailable small{display:inline;margin-top:0}.vehicle-detail .location-with-control .address-copy small{white-space:normal}.vehicle-detail .telemetry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-detail .panel-heading h2{font-size:15px}}
@media(max-width:480px){.vehicle-detail .location-with-control>.address-copy{grid-column:2;grid-row:1;width:auto}.vehicle-detail .location-with-control>svg{display:block;grid-column:1;grid-row:1;margin-top:3px}}

/* Investor feedback batch 1: prominent, honest vehicle voltage and GPS age. */
.vehicle-voltage{margin:0;padding:4px 12px;color:#12345b}.vehicle-voltage small{display:block;margin:0;font-size:10px;line-height:1.4;color:#526b83}.detail-status>span{min-width:0;white-space:normal;text-align:right}@media(max-width:480px){.vehicle-voltage{padding-inline:14px}}

.vehicle-detail .driver-score-basic{padding:16px 20px}.driver-score-summary{font-size:24px;font-weight:700;color:#10385e;margin-bottom:12px}.driver-score-summary small{font-size:13px;font-weight:400;color:#536e87}.driver-score-details .text-button{display:inline-block;min-height:40px}

.badge.unplugged{background:#f3e8ff;color:#7424a8}.marker-inner.unplugged{background:#852ac0}.status-dot.unplugged{background:#852ac0}.status-summary strong.unplugged{color:#852ac0}.unplug-notice{margin:10px 18px;padding:12px;background:#f3e8ff;border:1px solid #d7b4ec;border-radius:8px;color:#59217b;font-size:13px;line-height:1.5}

.tracking-page .status-summary:has([data-status="Unplugged"]){grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px 14px 8px}
.tracking-page .asset-panel .status-summary button{min-height:44px;padding:4px;flex-direction:row;gap:6px;align-items:center;border-radius:8px}
.tracking-page .asset-panel .status-summary strong{font-size:21px;line-height:1.2;letter-spacing:0}
.tracking-page .asset-panel .status-summary span{font-size:11px;line-height:1.2}

.extended-telemetry{padding:16px;border-top:1px solid #dce7f2}.extended-telemetry-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}.extended-telemetry h3,.extended-telemetry h4{margin:8px 0 12px}.extended-telemetry p{font-size:13px;line-height:1.5}.extended-telemetry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.extended-telemetry-row{min-width:0;padding:10px;background:#fff;border:1px solid #e0eaf5;border-radius:8px;display:flex;flex-direction:column;gap:6px}.extended-telemetry-row span{font-size:12px;color:#58718b}.extended-telemetry-row strong{font-size:14px;overflow-wrap:anywhere}.extended-telemetry-row small{font-size:10px;line-height:1.4;color:#617991}.other-io-details{margin-top:16px}.other-io-details>summary{font-size:14px!important}.telemetry-missing,.telemetry-checked{color:#536e87}@media(max-width:420px){.extended-telemetry-grid{grid-template-columns:1fr}.extended-telemetry{padding:12px}}

.main-vehicle-panel .compact-vehicle-heading{display:flex;align-items:center;gap:6px;padding:6px 12px}.compact-vehicle-heading h2{margin:0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:22px;flex:1}.vehicle-panel-actions{display:flex;gap:2px;flex-shrink:0}.vehicle-panel-actions button{width:44px;height:44px;min-width:44px;padding:10px}.vehicle-panel-actions [data-move-panel]{cursor:grab;touch-action:none}.vehicle-panel-actions [data-move-panel]:active{cursor:grabbing}.main-playback-trial .timeline-uk-time{display:block;padding:8px 0;color:#064fa4;font-weight:600;font-size:14px}.main-playback-trial .timeline-label{gap:10px}.main-playback-trial .module-filters input[type="datetime-local"]{min-width:0;max-width:100%}.main-playback-trial .journey-current{flex-wrap:wrap}.main-playback-trial #journey-time{font-size:13px;overflow-wrap:anywhere}@media(max-width:600px){.main-playback-trial .module-filters label{flex-basis:100%}.main-playback-trial .journey-summary #journey-stats strong{font-size:18px}.main-playback-trial .journey-current{gap:10px}.main-playback-trial #journey-time{flex-basis:100%}.main-playback-trial .playback-console{position:static}.main-vehicle-panel .compact-vehicle-heading{padding:6px 10px}.compact-vehicle-heading h2{font-size:20px}}

.last-driven-row{display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:space-between;padding:4px 12px;color:#173b60;background:#f3f8ff;border-bottom:1px solid #d9e7f5;font-size:11px}.last-driven-row span{overflow-wrap:anywhere}

.report-export-actions{display:flex;flex-wrap:wrap;gap:8px}.export-status{display:block;max-width:420px;font-size:13px;color:#365779;overflow-wrap:anywhere}.export-status:empty{display:none}@media(max-width:600px){.report-export-actions{width:100%}.report-export-actions button{flex:1;min-height:44px}}

@media(max-width:600px){.report-export-actions button{white-space:nowrap;font-size:14px;padding:10px}}

.strvyx-vehicle-cluster{display:flex!important;align-items:center;justify-content:center;background:#0066ff;border:5px solid #b8dcff;border-radius:50%;box-shadow:0 2px 8px #082e5b55;color:white;font-weight:800;font-size:16px}.strvyx-vehicle-cluster:focus{outline:3px solid #080f18;outline-offset:3px}




.report-summary-controls{align-items:flex-start}.report-summary-controls p{flex:1;min-width:210px;margin:0;font-size:12px;line-height:1.6}.report-summary-controls select{min-height:44px}@media(max-width:600px){.report-summary-controls label,.report-summary-controls p{width:100%}.report-summary-controls select{width:100%}}

/* Full recorded scorecard in the vehicle panel. */
.live-scorecard .live-score-content{min-width:0}.live-scorecard .live-score-link{display:block;color:#70dfff;padding:16px 0;font-weight:600}.live-scorecard .behaviour-heading h3{color:#edf6ff}.live-scorecard .orbit-track{stroke:#244b70}.live-scorecard .orbit-ticks{stroke:#527698}.live-scorecard .trend-end{fill:#70dfff;stroke:#123d67}.live-scorecard .behaviour-foot strong{color:#edf6ff}.live-scorecard .score-context{overflow-wrap:anywhere}
@media(max-width:380px){.vehicle-detail .live-scorecard{margin-inline:12px;padding-inline:12px}.live-scorecard .behaviour-overview{gap:10px}.vehicle-detail .live-scorecard .score-orbit{width:88px;height:88px;flex-basis:88px}.vehicle-detail .live-scorecard .score-context>strong{font-size:20px}.live-scorecard .behaviour-foot{gap:10px}}

/* Match the original behaviour card proportions using the STRVYX palette. */
.vehicle-detail .live-scorecard{padding:14px;border-radius:14px;background:radial-gradient(ellipse at 100% 0,#174d7b,transparent 75%),#091e34;border:1px solid #245177}
.live-scorecard .behaviour-heading h3{font-size:17px;font-weight:600}.live-scorecard .behaviour-period{margin-top:10px;border-color:#3b6284;border-radius:7px;padding:3px}.live-scorecard .behaviour-period button{min-height:44px;padding:6px 14px}.live-scorecard .behaviour-period [aria-pressed=true]{background:#1768a7}
.vehicle-detail .live-scorecard .behaviour-overview{gap:14px;margin:12px 0 16px}.vehicle-detail .live-scorecard .score-orbit{width:104px;height:104px;flex-basis:104px}.live-scorecard .orbit-inner{stroke:#386287}.live-scorecard .orbit-ticks{stroke:#6289a9}.live-scorecard .score-context>strong{font-size:23px;font-weight:600;letter-spacing:-.5px}.live-scorecard .score-context p{font-size:13px;line-height:1.6}.live-scorecard .score-period-note{font-size:12px;line-height:1.6}.live-scorecard .behaviour-trend{padding:10px 0;border-color:#ffffff20}.live-scorecard .behaviour-trend>svg{height:48px;margin-top:6px}.live-scorecard .trend-baseline{stroke:#416282}.live-scorecard .behaviour-events{padding:10px 0}.live-scorecard .behaviour-event{padding:7px 0}.live-scorecard .event-symbol{width:28px;height:28px;border-radius:8px}.live-scorecard .event-meter{max-width:none;margin-top:7px;height:4px}.live-scorecard .behaviour-event>strong{font-size:20px;font-weight:600}.live-scorecard .behaviour-foot{padding:12px 0;border-color:#ffffff20}.live-scorecard .behaviour-foot>div>svg{color:#70dfff}.live-scorecard .live-score-link{border-top:1px solid #ffffff20;padding:12px 0 0;min-height:44px}
@media(max-width:380px){.vehicle-detail .live-scorecard{padding:12px;margin-inline:10px}.vehicle-detail .live-scorecard .score-orbit{width:88px;height:88px;flex-basis:88px}.vehicle-detail .live-scorecard .behaviour-overview{gap:12px}.vehicle-detail .live-scorecard .score-context>strong{font-size:22px}}
@media(max-width:600px){.tracking-page .map-toolbar .segmented{display:inline-flex;position:absolute;top:calc(100% + 8px);left:0;background:#fff;border:1px solid #d4e6f6;box-shadow:0 2px 8px #17243912;border-radius:8px}.tracking-page .map-toolbar .segmented button{min-height:44px;font-size:12px;padding:8px 12px}}

.vehicle-detail>#view-timeline,.vehicle-detail>#view-playback{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0 12px 8px;width:calc(100% - 24px)}


/* Both map panels use independent move/reset controls. */
.asset-panel>.panel-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:0 6px;align-items:center;padding:6px 14px}.asset-panel>.panel-heading>div:first-child{display:contents}.asset-panel>.panel-heading .section-eyebrow{grid-column:1;grid-row:1;margin-bottom:0}.asset-panel>.panel-heading h2{grid-column:1;grid-row:2;white-space:nowrap}.asset-panel-top-actions{grid-column:2;grid-row:1;justify-self:end;align-self:start}.asset-panel>.panel-heading #refresh{grid-column:2;grid-row:2;justify-self:end;min-height:28px;padding:2px 5px;font-size:12px;gap:4px}.asset-panel>.panel-heading #refresh svg{width:14px;height:14px}.asset-panel[hidden],.show-vehicles-list[hidden]{display:none}.show-vehicles-list{position:absolute;left:16px;bottom:16px;z-index:650;min-height:44px;background:#fff;color:#005edb;box-shadow:0 4px 18px #08264422}.asset-panel .vehicle-panel-actions{gap:0}.asset-panel .vehicle-panel-actions button{width:44px;min-width:44px;height:44px;padding:10px}
@media(max-width:600px){.tracking-page .status-summary:has([data-status="Unplugged"]){padding-top:0;padding-bottom:4px}.asset-panel{display:block;overflow-y:auto;overscroll-behavior:contain;height:min(500px,calc(100% - 118px))}.asset-panel>.panel-heading{position:sticky;top:0;z-index:2;padding:4px 14px}.asset-panel .asset-list{overflow:visible}.asset-panel>.panel-heading h2{font-size:20px;grid-row:1/3;align-self:center}}

/* Score lettering scales with the ring instead of overflowing at small sizes. */
.live-scorecard .orbit-score{fill:#edf6ff;font-family:inherit;font-size:38px;font-weight:650;letter-spacing:-1.7px}.live-scorecard .orbit-caption{fill:#b6d3ec;font-family:inherit;font-size:10px;letter-spacing:.2px}
.map-actions #map-labels{width:auto;min-width:64px;padding:0 10px;white-space:nowrap;font-size:14px;min-height:44px}
@media(max-width:600px){.tracking-page .map-actions{top:67px}.tracking-page .map-actions .icon-button{width:44px;height:44px}}

/* Compact list readings reuse the same received telemetry as vehicle details. */
.asset-card--telemetry{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;column-gap:10px;row-gap:0}.asset-card--telemetry .asset-card-body{display:contents}.asset-card--telemetry .asset-title{grid-column:2}.asset-card--telemetry .asset-id,.asset-card--telemetry .card-short-address,.asset-card--telemetry .card-gps-age{grid-column:1/-1}.asset-card--telemetry .vehicle-icon{width:34px;height:38px;margin-top:3px}.asset-card--telemetry .asset-title{align-items:flex-start;gap:8px}.asset-card--telemetry .asset-title>strong{min-width:0;overflow-wrap:anywhere}.asset-card-status{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0;max-width:118px}.card-road-limit{font-size:10px;line-height:1.4;color:#63788e;white-space:normal;text-align:right}.asset-card--telemetry .asset-readings{grid-column:1/-1;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:4px;font-size:10px;margin:9px 0;min-width:0}.asset-card--telemetry .card-reading{min-width:0;align-items:center;gap:3px;flex:0 0 auto;white-space:nowrap}.asset-card--telemetry .card-reading svg{width:12px;height:12px}.asset-card--telemetry .card-reading>span{display:inline;white-space:nowrap}.asset-card--telemetry .card-reading small{font-size:10px;color:#63788e}.card-short-address{display:flex;gap:5px;align-items:flex-start;margin-top:8px;font-size:11px;line-height:1.5;color:#516d8b}.card-short-address>svg{margin-top:2px}.card-short-address>[data-card-address]{min-width:0;overflow-wrap:anywhere}.card-short-address>[data-card-address-source]{font-size:9px;flex-shrink:0}.card-gps-age{display:flex;gap:5px;align-items:center;font-size:10px;color:#63788e;margin-top:8px}.card-gps-age svg{flex-shrink:0}

.asset-card--telemetry .card-odometer-time{grid-column:1/-1;font-size:10px;line-height:1.4;color:var(--muted,#627e9b);overflow-wrap:anywhere;}

.vehicle-odometer{margin:6px 12px;font-size:11px;color:#516d8b}.vehicle-odometer small{display:block;font-size:10px;margin-top:3px}

.vehicle-detail .starter-controls .immobiliser-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vehicle-detail .starter-controls .immobiliser-options button{min-width:0;min-height:64px;padding:8px;font-size:12px;white-space:normal}.vehicle-detail .starter-controls .immobiliser-options button span{min-width:0;overflow-wrap:anywhere}.vehicle-detail .starter-controls .immobiliser-options small{font-size:10px}.vehicle-detail .starter-controls .immobiliser-heading{flex-wrap:wrap;gap:6px}.vehicle-detail .starter-controls .immobiliser-heading span{font-size:10px}.vehicle-detail .starter-controls .immobiliser-feedback,.vehicle-detail .starter-blockers{font-size:11px;overflow-wrap:anywhere}.vehicle-detail .starter-blockers{padding-left:16px}

