/* Alveriq Fleet shares the workspace palette and responsive navigation. */
.fleet-view{display:grid;gap:1.2rem;min-width:0}.fleet-view .panel+.panel{margin-top:0}.fleet-tabs{display:flex;gap:.45rem;flex-wrap:wrap;margin-bottom:1rem}.fleet-tabs button{max-width:100%;min-height:44px;white-space:normal}.fleet-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:1.2rem;align-items:start}.fleet-primary{background:#123b36;color:#eff7f1;border:0;display:grid;gap:1.1rem}.fleet-primary .eyebrow,.fleet-primary .meta,.fleet-primary .muted{color:#c5dfd1}.fleet-primary h2{font-size:1.55rem;line-height:1.25}.fleet-primary .pill{justify-self:start;background:#31564a;color:#d3f7a8}.fleet-primary .fleet-vehicle-name{font-size:1rem;color:#d7eade}.fleet-kilometres{font-size:clamp(2rem,5vw,3.3rem);font-weight:650;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1.15}.fleet-kilometres small{font-size:.85rem;font-weight:450;letter-spacing:0}.fleet-primary .actions>button{flex:1 1 145px;min-height:50px}.fleet-primary .secondary{background:#294f46;color:#f0f8f1;border-color:#5b7c6d}.fleet-caption{font-size:.8rem;color:var(--muted);line-height:1.6}.fleet-vehicle-list,.fleet-shortcuts{display:grid;gap:.65rem;margin-top:1rem}.fleet-shortcut{width:100%;display:flex;gap:.7rem;justify-content:space-between;align-items:center;text-align:left;padding:.85rem}.fleet-shortcut>span{min-width:0;overflow-wrap:anywhere}.fleet-shortcut strong{display:block;font-size:.875rem}.fleet-shortcut .meta{display:block;font-weight:400;margin-top:.2rem}.fleet-shortcut .fleet-shortcut-arrow{flex:0 0 auto;font-size:1.1rem}.fleet-empty{padding:1.5rem .5rem;text-align:center;color:var(--muted);line-height:1.6}.fleet-empty h3{margin-bottom:.5rem;color:var(--ink)}.fleet-filters label{flex:1 1 150px;min-width:0;max-width:230px}.fleet-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1rem 0}.fleet-summary>div{min-width:0;overflow-wrap:anywhere}.fleet-summary strong{display:block;font-size:1.6rem;font-variant-numeric:tabular-nums;margin:.4rem 0}.fleet-table td{vertical-align:top}.fleet-table .fleet-trip-title{display:block;background:transparent;padding:0;border:0;text-align:left;font-weight:650;color:var(--accent);min-height:28px;max-width:100%;white-space:normal}.fleet-table .fleet-trip-title:hover{text-decoration:underline}.fleet-table .fleet-distance{white-space:nowrap;font-variant-numeric:tabular-nums}.fleet-category{font-size:.75rem}.fleet-category.private,.fleet-category.family{background:var(--soft);color:var(--muted)}.fleet-dialog{max-width:820px}.fleet-dialog form,.fleet-dialog>div{min-width:0}.fleet-dialog .form-grid{margin-top:1rem}.fleet-dialog .check-label input{margin-top:2px;width:20px;min-height:20px}.fleet-dialog .check-label{align-items:flex-start;line-height:1.5}.fleet-dialog .form-actions>button{min-height:46px}.fleet-odometer-field{font-size:1.1rem;font-variant-numeric:tabular-nums;font-weight:600}.fleet-gps{border:1px solid var(--line);border-radius:11px;padding:1rem;display:grid;gap:.65rem;margin:1rem 0;background:var(--soft)}.fleet-gps .actions{align-items:center}.fleet-gps p{font-size:.85rem}.fleet-gps button{min-height:42px}.fleet-gps-output{font-variant-numeric:tabular-nums;color:var(--muted)}.fleet-route-summary{display:grid;grid-template-columns:26px minmax(0,1fr);gap:.8rem;margin:1.25rem 0}.fleet-route-summary .fleet-location-marker{width:22px;height:22px;border-radius:50%;background:var(--soft);display:grid;place-items:center;color:var(--accent);font-size:.7rem;font-weight:650}.fleet-route-summary>div{min-width:0;overflow-wrap:anywhere}.fleet-route-summary strong{display:block}.fleet-route-map{width:100%;min-width:0;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:.7rem}.fleet-route-map svg{display:block;width:100%;height:auto;max-height:300px}.fleet-route-map polyline{fill:none;stroke:var(--accent);stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.fleet-route-map circle{stroke:var(--surface);stroke-width:2;vector-effect:non-scaling-stroke;fill:var(--accent)}.fleet-route-map .fleet-route-start{fill:var(--drive-bar)}.fleet-route-map figcaption{font-size:.75rem;color:var(--muted);line-height:1.5;margin-top:.65rem}.fleet-detail-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.3rem 0}.fleet-detail-actions>*{max-width:100%}.fleet-history{margin-top:1.5rem;border-top:1px solid var(--line);padding-top:1rem}.fleet-history summary{font-weight:600;cursor:pointer}.fleet-history article{border-bottom:1px solid var(--line);padding:1rem 0;display:grid;gap:.45rem}.fleet-history article:last-child{border:0}.fleet-history .meta{font-variant-numeric:tabular-nums}.fleet-review-message{border-left:3px solid var(--accent);padding:.9rem 1rem;background:var(--soft);border-radius:0 8px 8px 0;margin:1rem 0;line-height:1.5}.fleet-retry-note{padding:.8rem;border:1px solid var(--line);border-radius:8px;background:var(--soft);font-size:.8125rem;line-height:1.5;margin-top:1rem}.fleet-button-link{border:0;background:transparent;padding:.3rem 0;color:var(--accent);min-height:34px;font-size:.875rem}.fleet-favorite-row{display:flex;align-items:center;gap:.5rem}.fleet-favorite-row .fleet-shortcut{flex:1}.fleet-favorite-row>.ghost{flex:0 0 auto}.fleet-vehicle-card{border:1px solid var(--line);border-radius:12px;padding:1rem;min-width:0}.fleet-vehicle-card .section-title{margin-bottom:.7rem}.fleet-vehicle-card .actions{margin-top:1rem}.fleet-plate{font-variant-numeric:tabular-nums;border:1px solid var(--line);border-left:5px solid #3976ad;border-radius:5px;padding:.4rem .65rem;background:var(--surface);font-weight:650;display:inline-block;max-width:100%;overflow-wrap:anywhere}.fleet-state-summary{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center}.fleet-text-wrap{overflow-wrap:anywhere;white-space:pre-line}.fleet-history-table{font-size:.8rem}.fleet-view .table-wrap:focus-visible,.fleet-dialog .table-wrap:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
@media(max-width:1050px){.fleet-layout{grid-template-columns:minmax(0,1fr)}.fleet-shortcuts{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}}
@media(max-width:680px){.fleet-tabs button{flex:1 1 auto}.fleet-filters label{max-width:none;flex:1 1 42%}.fleet-summary{gap:.65rem}.fleet-summary strong{font-size:1.3rem}.fleet-dialog{padding:1rem}.fleet-detail-actions>*{flex:1 1 150px;text-align:center}.fleet-primary h2{font-size:1.35rem}}
@media(max-width:420px){.fleet-summary{grid-template-columns:minmax(0,1fr);gap:.85rem}.fleet-summary>div{border-bottom:1px solid var(--line);padding-bottom:.6rem}.fleet-summary>div:last-child{border:0}.fleet-filters label{flex:1 1 100%}.fleet-primary .actions>button,.fleet-tabs button{flex:1 1 100%}.fleet-route-summary{grid-template-columns:22px minmax(0,1fr);gap:.65rem}.fleet-detail-actions>*{flex-basis:100%}.fleet-gps{padding:.8rem}.fleet-gps .actions>button{flex:1 1 100%}}

.fleet-dialog [hidden]{display:none!important}.fleet-kilometres,.fleet-caption,.fleet-module-card .pill{overflow-wrap:anywhere;white-space:normal}.fleet-summary strong{overflow-wrap:anywhere}.fleet-dialog .fleet-gps button{white-space:normal}.fleet-view .panel>.section-title>div{min-width:0}
