.fi-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.fi-overview-metrics button{border:1px solid #e5e7eb;border-radius:12px;background:var(--panel,#fff);color:var(--text,#182230);padding:16px;text-align:left;cursor:pointer;min-height:110px}.fi-overview-metrics small,.fi-overview-metrics span{display:block;font-size:12px;color:var(--muted,#667085)}.fi-overview-metrics strong{display:block;font-size:27px;margin:8px 0;font-weight:650}.fi-overview-metrics button:hover{border-color:#ff9b80}.fi-filter-label{display:grid;gap:6px;font-size:12px;padding:12px 14px;color:var(--muted,#667085)}.fi-filter-label select{width:100%;min-height:40px;border:1px solid #e5e7eb;border-radius:7px;background:var(--panel,#fff);color:var(--text,#182230);padding:8px;font:inherit}.fi-vehicle-row{display:flex!important;align-items:flex-start;flex-direction:column;gap:5px!important;text-align:left;min-height:105px;white-space:normal}.fi-vehicle-row.selected{background:#fff5f0!important;border-color:#ff9b80!important}.fi-vehicle-row small{font-size:10px!important;line-height:1.5;overflow-wrap:anywhere}.fi-state{display:inline-flex!important;align-items:center;gap:6px;padding:3px 7px;border-radius:5px;background:#f2f4f7;color:#475467;font-size:11px!important;width:max-content}.fi-state:before{content:"";width:6px;height:6px;border-radius:50%;background:#98a2b3}.fi-state[data-state=Moving]{color:#067647;background:#ecfdf3}.fi-state[data-state=Moving]:before{background:#12b76a}.fi-state[data-state=Idle]{color:#93370d;background:#fffaeb}.fi-state[data-state=Idle]:before{background:#f79009}.fi-state[data-state=Parked]{color:#175cd3;background:#eff8ff}.fi-state[data-state=Offline]{color:#b42318;background:#fef3f2}.fi-state[data-state=Offline]:before{background:#f04438}.fi-vehicle-detail{border-top:1px solid #e5e7eb;padding:20px;background:var(--panel,#fff);color:var(--text,#182230)}.fi-vehicle-detail[hidden]{display:none}.fi-vehicle-detail header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.fi-vehicle-detail h3{font-size:18px;margin:6px 0}.fi-vehicle-detail small{font-size:11px;color:var(--muted,#667085)}.fi-vehicle-detail p{font-size:12px;color:var(--muted,#667085);line-height:1.6}.fi-close{border:0;background:#f2f4f7;color:#344054;width:40px;height:40px;border-radius:8px;font-size:24px;cursor:pointer}.fi-vehicle-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.fi-vehicle-detail dt{font-size:11px;color:var(--muted,#667085)}.fi-vehicle-detail dd{margin:5px 0;font-size:13px;overflow-wrap:anywhere}.fi-detail-actions{display:flex;gap:10px;margin-bottom:20px}.fi-detail-actions button{flex:1}.fi-history-form{display:flex;align-items:flex-end;gap:12px;border-top:1px solid #eef0f3;padding-top:16px}.fi-history-form label{display:grid;gap:6px;flex:1;font-size:12px}.fi-history-form input{border:1px solid #d0d5dd;border-radius:7px;padding:10px;min-height:44px;font:16px system-ui;background:var(--panel,#fff);color:var(--text,#182230);width:100%;box-sizing:border-box}.fi-route-result{margin-top:14px;font-size:12px;line-height:1.6}.fi-route-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fi-route-stats span{font-size:11px;color:var(--muted,#667085)}.fi-route-stats strong{display:block;color:var(--text,#182230);font-size:17px}.fi-replay{display:flex;gap:14px;align-items:center}.fi-replay input{flex:1;min-width:0;accent-color:#ff3600}.fi-replay-time{margin:10px 0;color:var(--muted,#667085)}.fi-timeline{list-style:none;padding:0;margin:12px 0;max-height:220px;overflow:auto}.fi-timeline li{padding:10px 0;border-bottom:1px solid #eef0f3}.fi-timeline strong,.fi-timeline span{display:block}.fi-timeline span{font-size:11px;color:var(--muted,#667085)}.fi-attention-card{margin-bottom:20px}.fi-attention-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #eef0f3}.fi-attention-row:last-child{border:0}.fi-attention-row strong,.fi-attention-row span{display:block}.fi-attention-row strong{font-size:14px;text-transform:capitalize}.fi-attention-row span,.fi-attention-row p{font-size:12px;color:var(--muted,#667085);margin:6px 0}.fi-empty{padding:14px;color:var(--muted,#667085);font-size:13px}.fi-overview-metrics button:focus-visible,.fi-vehicle-row:focus-visible{outline:2px solid #ff3600;outline-offset:2px}.fi-status-help{font-size:11px;color:var(--muted,#667085);padding:8px 14px;line-height:1.5}.dispatch-map-card .cf-map-workspace{grid-template-columns:280px minmax(0,1fr)}.dispatch-map-card .cf-map-fleet{max-height:560px;overflow:auto}.dispatch-map-card #dispatch-live-map{min-height:480px}.dispatch-map-card{overflow:hidden}
@media(max-width:760px){.fi-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fi-overview-metrics button{padding:12px;min-height:96px}.fi-overview-metrics strong{font-size:24px}.dispatch-map-card .cf-map-workspace{display:flex;flex-direction:column-reverse}.dispatch-map-card #dispatch-live-map{min-height:340px}.dispatch-map-card .cf-map-fleet{max-height:300px;width:100%;border-right:0}.fi-vehicle-detail{padding:16px}.fi-history-form{flex-direction:column;align-items:stretch}.fi-history-form button{width:100%}.fi-attention-row{align-items:flex-start}.fi-attention-row button{flex-shrink:0;min-height:44px}.fi-route-stats{gap:8px}}
