:root{font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;color:#19283e;background:#f5f7fb;font-size:14px;font-synthesis:none;--nav:#121e32;--accent:#3467ed;--ink:#19283e;--muted:#8791a1;--border:#e6eaf1;--bg:#f5f7fb}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}.signin-screen{display:flex;min-height:100vh;background:#fff}.signin-visual{width:53%;position:relative;overflow:hidden;background:radial-gradient(ellipse at 63% 55%,#25426b,#101d35 71%);color:#fff}.visual-orbit{position:absolute;border:1px solid #44608466;border-radius:50%;width:700px;height:700px;top:-230px;left:12%}.orbit-two{width:1000px;height:1000px;left:-25%;top:-340px}.visual-map{position:absolute;inset:9% 5% 20%;opacity:.66}.visual-map svg{width:100%;height:100%}.viz-pin{position:absolute;color:#b4d1ff;font-size:32px}.pin-one{left:33%;top:50%}.pin-two{left:60%;top:28%}.pin-three{left:76%;top:57%}.visual-caption{position:absolute;bottom:11%;left:12%;right:12%}.eyebrow{color:#4667a8;font-size:11px;font-weight:800;letter-spacing:1.8px}.eyebrow.light{color:#83aeff}.visual-caption h1{font-size:44px;font-weight:750;line-height:1.16;margin:16px 0}.visual-caption p{color:#b6c4da;font-size:15px;max-width:440px;line-height:1.7}.signin-pane{display:flex;align-items:center;justify-content:center;flex:1;padding:44px}.signin-inner{width:100%;max-width:390px}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:18px;font-weight:800;letter-spacing:.7px}.brand small{display:block;color:#7786a4;font-size:8px;letter-spacing:2px;margin-top:4px}.brand-thin{font-weight:400;color:#8facff}.brand-symbol{background:#416eff;color:#fff;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-size:25px}.brand-dark{color:#243858}.form-head{margin:88px 0 30px}.form-head h2{font-size:27px;letter-spacing:-1px;margin:12px 0}.form-head p{color:var(--muted);line-height:1.55}.signin-inner label,.form-field{display:block;font-size:12px;font-weight:700;margin-bottom:20px;color:#415169}.signin-inner input,.form-field input,.form-field select{display:block;width:100%;padding:14px 13px;border:1px solid #dce3ed;border-radius:9px;margin-top:9px;outline:0;background:white;color:var(--ink)}input:focus,select:focus{border-color:#759afa!important;box-shadow:0 0 0 3px #4a7bff20}.button{border:1px solid var(--border);border-radius:9px;min-height:39px;padding:0 16px;font-weight:700;background:white;color:#364a68;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:background .2s}.button:hover{background:#f1f5ff}.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.primary:hover{background:#2153db}.button.danger{border-color:#efc0c0;color:#b23b3b}.button.full{width:100%;min-height:46px;justify-content:space-between;padding:0 18px}.form-error{color:#bf3e4f;min-height:20px}.signin-foot{display:block;text-align:center;margin-top:40px;color:#a1adbc}.shell{display:flex;min-height:100vh}.nav{width:236px;flex-shrink:0;background:var(--nav);color:#cbd8ed;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:28px 14px}.nav>.brand{padding:0 12px 40px}.nav-group{font-size:10px;font-weight:800;letter-spacing:1.6px;margin:0 16px 13px;color:#697d9b}.nav-links{display:flex;flex-direction:column;gap:7px}.nav-link{border:0;background:transparent;color:#96a7c1;text-align:left;border-radius:9px;width:100%;display:flex;align-items:center;gap:13px;padding:13px 16px;font-weight:650}.nav-link:hover{background:#263857;color:white}.nav-link.active{background:#284c9d;color:#fff}.nav-icon{font-size:21px;line-height:15px;width:20px;text-align:center}.nav-bottom{margin-top:auto}.server-check{margin:0 8px 12px;padding:14px;border:1px solid #32405a;border-radius:10px;display:flex;gap:10px;align-items:center;font-size:12px}.server-check small{display:block;color:#86a5cc;font-size:11px;margin-top:4px}.online-dot,.pulse-dot{width:8px;height:8px;display:inline-block;flex-shrink:0;border-radius:50%;background:#27cc92;box-shadow:0 0 0 4px #2bc38b20}.signout{border-top:1px solid #314059;border-radius:0}.page{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:20px}.location{display:flex;gap:13px;align-items:center}.location .crumb,.slash,.updated{color:#9aa5b5;font-size:12px}.location strong{font-size:13px}.top-actions{display:flex;align-items:center;gap:24px}.user-chip{display:flex;gap:10px;align-items:center;border-left:1px solid var(--border);padding-left:24px}.user-avatar{border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-weight:800;background:#e8edff;color:#466ced}.user-chip strong{display:block;font-size:12px}.user-chip small{color:#9ba7b8;font-size:10px}.content{padding:27px 30px 36px;flex:1;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;gap:10px}.page-heading h1{font-size:24px;letter-spacing:-.8px;margin:7px 0 5px}.page-heading p{color:#97a0ae;margin:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat{background:#fff;border:1px solid var(--border);border-radius:13px;padding:18px 20px;min-height:116px;box-shadow:0 1px 3px #1d38500a}.stat-label{display:flex;align-items:center;justify-content:space-between;color:#8b98a9;font-size:12px}.stat-symbol{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;font-size:16px;font-weight:800}.stat-symbol.blue{background:#e9efff;color:#4e78e9}.stat-symbol.green{background:#e7f9f0;color:#13a86d}.stat-symbol.purple{background:#efebff;color:#7359d1}.stat-symbol.orange{background:#fff1df;color:#da9945}.stat strong{display:block;font-size:30px;line-height:1.1;margin:3px 0 5px;letter-spacing:-1px}.stat small{color:#acb5c1;font-size:11px}.workspace{height:calc(100vh - 336px);min-height:520px;border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden;display:grid;grid-template-columns:340px minmax(0,1fr);box-shadow:0 2px 5px #17253c08}.vehicle-pane{display:flex;flex-direction:column;overflow:hidden;min-height:0;border-right:1px solid var(--border)}.panel-title{padding:19px 19px 14px}.panel-title h2,.table-heading h2{font-size:15px;margin:0;font-weight:780}.panel-title p{margin:6px 0 0;color:#9faaba;font-size:11px}.count-pill{font-size:11px;background:#edf1ff;color:#4365c6;border-radius:999px;padding:3px 8px;margin-left:5px}.vehicle-search{margin:0 16px 13px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;color:#91a0b4;padding:0 11px}.vehicle-search span{font-size:21px}.vehicle-search input{border:0;outline:0!important;box-shadow:none!important;width:100%;height:38px;padding-left:8px;color:var(--ink)}.chips{display:flex;gap:5px;padding:0 14px 14px;overflow:auto}.chip{font-size:11px;font-weight:720;padding:7px 11px;border:1px solid transparent;background:#f3f6fa;color:#7a8ba3;border-radius:6px;white-space:nowrap}.chip.active{background:#e8efff;color:#3560db}.vehicle-list{overflow:auto;flex:1}.device{padding:14px 16px;border:0;border-top:1px solid #f0f2f5;background:#fff;text-align:left;display:flex;width:100%;gap:12px;align-items:flex-start}.device:hover{background:#f7faff}.device.active{background:#eff4ff;border-left:3px solid #3973f8;padding-left:13px}.device-icon{background:#eef3fa;display:grid;place-items:center;border-radius:9px;width:40px;height:40px;color:#6583b0;flex-shrink:0;font-size:20px}.device-core{flex:1;min-width:0}.device-title{font-weight:800;color:#293b54;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-meta{color:#a0a9b7;font-size:11px;margin-top:5px}.status{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:750;white-space:nowrap}.status:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.status.online{color:#18ad7c}.status.offline{color:#e18f71}.status.unknown{color:#9da9ba}.map-pane{position:relative;min-width:0}.map{height:100%;background:#e7eaf0}.map-top{position:absolute;z-index:500;top:14px;left:14px;right:14px;display:flex;justify-content:space-between;pointer-events:none}.map-control,.map-tools{pointer-events:auto;display:flex;align-items:center;gap:9px;border-radius:9px;background:#fff;box-shadow:0 2px 15px #1f2e4830;padding:9px 13px;font-size:12px}.map-subtext{color:#93a2b3}.map-tools{padding:4px}.map-btn{background:#fff;border:0;padding:7px 11px;border-radius:6px;font-size:20px;color:#5c738f}.map-btn:hover{background:#f0f4fa}.vehicle-detail{position:absolute;bottom:17px;left:16px;right:16px;z-index:500;background:#fff;border-radius:11px;box-shadow:0 5px 25px #1429432a;padding:13px 16px;max-width:620px}.no-selection{color:#a2afbf;font-size:12px;padding:6px}.detail-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.detail-head strong{font-size:14px}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.detail-metric small{display:block;color:#9aa6b4;font-size:10px}.detail-metric strong{font-size:13px}.detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.detail-actions .button{min-height:32px;font-size:11px}.route-tools{border-top:1px solid var(--border);padding-top:12px;margin-top:12px;display:flex;gap:8px;align-items:end;flex-wrap:wrap}.route-tools label{font-size:10px;color:#75859a;flex:1;min-width:155px}.route-tools input{display:block;margin-top:5px;height:33px;width:100%;border:1px solid var(--border);border-radius:7px;padding:0 6px;color:#47566d}.route-tools .button{height:34px;font-size:11px}.player{display:flex;gap:9px;align-items:center;margin-top:11px}.player input[type=range]{flex:1;min-width:90px;accent-color:var(--accent)}.player small{white-space:nowrap;color:#6c788a}.player .button{min-height:30px}.vehicle-marker{width:32px;height:32px;background:#fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 10px #2742654b;border:2px solid #407cf8;position:relative}.vehicle-marker.offline{border-color:#aab4c3}.vehicle-marker span{font-size:16px}.leaflet-div-icon{background:transparent!important;border:0!important}.route-start,.route-end{width:16px;height:16px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #233b5d55,0 1px 5px #0004}.route-start{background:#1eb88a}.route-end{background:#f17372}.replay-dot{width:19px;height:19px;background:#2b61fc;border:4px solid white;border-radius:50%;box-shadow:0 2px 12px #102a7059}.empty-block{padding:38px 20px;color:#9da9b7;text-align:center;font-size:12px;line-height:1.8}.admin-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,.8fr);gap:18px}.white-panel{border:1px solid var(--border);border-radius:13px;background:white;overflow:hidden;min-height:310px}.table-heading{padding:22px 23px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;font-size:10px;color:#929faf;text-transform:uppercase;letter-spacing:.8px;font-weight:750;padding:14px 17px;background:#fbfcfd;white-space:nowrap}td{padding:17px;border-top:1px solid #edf0f4;vertical-align:middle}tbody tr:hover{background:#fbfdff}.mono{font-family:ui-monospace,monospace;font-size:11px;color:#7c90a8}.state-pill{padding:5px 8px;border-radius:20px;font-size:10px;font-weight:750;white-space:nowrap}.state-pill.good{background:#e4f7ee;color:#159467}.state-pill.bad{background:#fff0e7;color:#c9854b}.button.small{min-height:29px;padding:0 10px;font-size:11px}.editor{padding:22px}.editor h2{font-size:16px;margin:0 0 6px}.editor p{font-size:12px;color:#9ba7b4;line-height:1.5}.selection-list{border:1px solid var(--border);border-radius:9px;max-height:340px;overflow:auto;margin:15px 0}.selection-row{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:11px 12px;border-bottom:1px solid #edf1f4;font-size:12px}.selection-row:last-child{border:0}.selection-row label{display:flex;align-items:center;gap:9px;cursor:pointer;min-width:0}.selection-row input{accent-color:var(--accent)}.selection-row small{color:#99a6b4;white-space:nowrap}.selection-row.disabled{opacity:.55}.editor-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.modal-backdrop{position:fixed;inset:0;background:#17243c88;display:grid;place-items:center;z-index:3000;padding:24px}.modal{width:min(100%,480px);max-height:90vh;overflow:auto;background:white;border-radius:14px;box-shadow:0 20px 80px #0015}.modal-head{padding:21px 24px;display:flex;justify-content:space-between;border-bottom:1px solid var(--border)}.modal-head h2{margin:0;font-size:18px}.icon-btn{border:0;background:transparent;font-size:24px;color:#8190a3}.modal-body{padding:23px 24px}.modal-body .form-field{margin-bottom:14px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);padding:17px 24px}.note{padding:12px;border-radius:8px;background:#f2f6ff;font-size:11px;color:#58739e;line-height:1.6}.toasts{position:fixed;right:20px;bottom:20px;z-index:4000;display:grid;gap:10px}.toast{background:#192b46;color:white;border-radius:9px;padding:13px 18px;box-shadow:0 5px 20px #11203b40;min-width:250px;max-width:360px}.toast.error{background:#b93e52}@media(max-width:1250px){.nav{width:205px}.workspace{grid-template-columns:295px minmax(0,1fr)}.content{padding:22px 20px}.stats{gap:10px}.stat{padding:14px}.admin-layout{grid-template-columns:1fr}}@media(max-width:960px){.nav{width:70px;padding:23px 8px}.nav>.brand{padding:0 7px 35px}.nav .brand>span:not(.brand-symbol),.nav-group,.nav-link:not(.active),.server-check,.nav .nav-link{font-size:0}.nav-link{justify-content:center;padding:16px 0}.nav-icon{font-size:20px}.brand-symbol{width:38px;height:38px}.content{padding:20px 15px}.topbar{padding:0 18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{height:660px}.signin-visual{width:42%}.visual-caption h1{font-size:32px}}@media(max-width:680px){.signin-visual{display:none}.form-head{margin-top:65px}.nav{width:56px;padding:18px 5px}.nav>.brand{padding:0 0 30px}.brand-symbol{width:38px;height:38px}.topbar{height:60px}.updated{display:none}.user-chip{padding-left:0;border:0}.user-chip div{display:none}.location{gap:6px}.location .crumb,.location .slash{display:none}.page-heading h1{font-size:19px}.page-heading p{font-size:11px}.stat{padding:12px;min-height:98px}.stat strong{font-size:24px}.stats{gap:7px}.workspace{display:flex;flex-direction:column;height:850px}.vehicle-pane{height:260px;flex-shrink:0;border-right:0;border-bottom:1px solid var(--border)}.vehicle-list{display:flex;overflow-x:auto}.device{min-width:235px;border-top:1px solid var(--border);border-right:1px solid var(--border)}.map-pane{flex:1;min-height:0}.vehicle-detail{left:8px;right:8px;bottom:8px;max-height:65%;overflow:auto}.map-control{font-size:10px}.map-subtext{display:none}.admin-layout{grid-template-columns:minmax(0,1fr)}.editor{padding:15px}.detail-meta{gap:6px}.detail-metric strong{font-size:11px}}

/* Fleet Panel MT 0.3: enhanced enterprise fleet controls */
.workspace {transition:grid-template-columns .22s ease,height .22s ease; min-height:610px}
.workspace.fleet-list-hidden{grid-template-columns:0 minmax(0,1fr)}
.workspace.fleet-list-hidden .vehicle-pane{overflow:hidden;visibility:hidden;border:0;min-width:0}
.workspace.fleet-immersive{position:fixed;inset:12px;z-index:1200;height:auto;min-height:0;box-shadow:0 18px 70px #0b1c365e}
.workspace.fleet-immersive .map-pane{min-height:0}
.workspace.fleet-immersive .vehicle-detail{max-height:min(58%,480px)}
.map-tools{gap:2px}
.map-btn.fleet-tool{border-left:1px solid #e9edf2;border-radius:4px;min-width:34px}
.map-btn[aria-pressed="true"]{color:#315be7;background:#edf2ff}
.fleet-marker{height:38px;width:38px;position:relative;display:grid;place-items:center;border:2px solid #4171ee;background:#fff;border-radius:13px;box-shadow:0 2px 10px #101b3555}
.fleet-marker.is-offline{border-color:#a6afbd;filter:grayscale(.68);opacity:.85}
.fleet-marker-symbol{font-size:21px;line-height:1}
.fleet-marker-heading{position:absolute;top:-15px;left:12px;color:#385ff1;font-size:13px;text-shadow:0 1px #fff,0 -1px #fff}
.vehicle-detail{max-width:min(980px,calc(100% - 32px));max-height:min(60%,470px);overflow-y:auto;overscroll-behavior:contain;border:1px solid #e7eaf4;padding:16px 19px;box-shadow:0 6px 28px #172d485c}
.detail-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}
.detail-metric{min-width:0}.detail-metric strong{overflow-wrap:anywhere}
.fleet-sensor-section{border-top:1px solid #e9edf3;padding:6px 0 9px;margin-top:6px}
.fleet-sensor-title{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:transparent;color:#344b70;text-align:left;font-size:12px;font-weight:750;padding:5px 2px;cursor:pointer}
.fleet-sensor-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:5px}
.fleet-sensor{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #e9edf2;background:#f9fbfe;border-radius:9px;padding:7px}
.fleet-sensor-glyph{font-size:17px;flex-shrink:0}.fleet-sensor span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}
.fleet-sensor small{font-size:10px;color:#7689a2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fleet-sensor strong{font-size:12px;color:#253d62;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fleet-sensor-section.is-minimized .fleet-sensor-grid{display:none}
.fleet-no-sensors{font-size:11px;color:#8795a8;padding:7px 4px;grid-column:1/-1}
.fleet-detail-actions{margin:9px 0 0}
.fleet-route-summary{font-size:11px;color:#607896;margin-top:10px;margin-bottom:7px;font-weight:650}
.fleet-player{display:flex;align-items:center;gap:6px;max-width:100%;margin:8px 0}
.fleet-player input[type=range]{min-width:40px;flex:1;accent-color:#4366ef}
.fleet-player select{border:1px solid #dfe5ee;background:#fff;color:#263b5f;font-size:11px;font-weight:750;padding:7px 5px;border-radius:8px}
.fleet-player-metadata{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#64738a}
.fleet-stop-list{display:flex;flex-wrap:wrap;gap:6px;max-height:70px;overflow:auto;margin-top:6px}
.fleet-stop{font-size:10px;color:#84622a;background:#fff8e9;border:1px solid #ffe5a9;border-radius:16px;padding:5px 8px}
.fleet-stop:hover{background:#fff0c8}
.fleet-customer-tools{padding:13px 16px;border-bottom:1px solid #edf1f5;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.fleet-customer-tools input{padding:9px 11px;min-width:170px;flex:1;border:1px solid #e5e9ef;border-radius:8px;font-size:12px}
.fleet-customer-chips{display:flex;gap:5px}
.fleet-customer-summary{padding:0 18px;font-size:11px;color:#8091a5}
.fleet-gps-search{width:100%;padding:10px;border:1px solid #e3e8ef;border-radius:8px;outline:0;margin-top:8px}
.fleet-tenant-summary{font-size:11px;color:#8394ab;margin-top:12px}
#tenant-tbody tr[hidden],.selection-row[hidden]{display:none}
@media(max-width:1250px){.fleet-sensor-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:960px){.fleet-sensor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace.fleet-list-hidden{grid-template-columns:0 minmax(0,1fr)}}
@media(max-width:680px){.workspace.fleet-list-hidden .vehicle-pane{display:none}.workspace.fleet-list-hidden{display:flex;flex-direction:column}.workspace.fleet-immersive{inset:2px}.fleet-sensor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-detail{max-width:calc(100% - 12px);max-height:64%;left:6px;right:6px;padding:11px}.detail-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-player{flex-wrap:wrap}.fleet-player input[type=range]{flex-basis:40%}.map-tools{max-width:180px}}


/* Fleet Panel MT v0.4 | Settings */
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.settings-panel{border:1px solid #e4e9f2;border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(16,37,74,.025);padding:24px;min-width:0}
.settings-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.settings-head h2{font-size:18px;color:#15223e;line-height:1.3;margin:0 0 5px}.settings-head p{color:#8796b0;margin:0;font-size:12px}
.settings-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#eef2ff;color:#3658ba;font-size:20px;flex-shrink:0}
.settings-connection{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #edf0f7;padding:15px 0}.settings-label{display:flex;flex-direction:column;gap:4px}.settings-label strong{font-size:14px;color:#1c2b47}.settings-label small{font-size:12px;color:#8995a9}.settings-badge{white-space:nowrap;display:inline-flex;align-items:center;border-radius:20px;padding:6px 10px;font-weight:650;font-size:11px;background:#f1f4f8;color:#64748b}.settings-badge.good{background:#e7f7ee;color:#18764b}.settings-badge.bad{background:#fff0ee;color:#af4139}.settings-badge.waiting{background:#eef2f8;color:#64748b}
.settings-metadata{margin:0}.settings-metadata>div{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:11px 0;border-bottom:1px solid #edf0f7}.settings-metadata dt{color:#72809a;font-size:12px}.settings-metadata dd{margin:0;font-size:12px;font-weight:650;color:#26324c;text-align:right;overflow-wrap:anywhere}
.settings-hint{font-size:12px;line-height:1.65;color:#7d8a9f;margin:12px 0}.settings-warning{background:#fff5eb;border:1px solid #f1d9c6;border-radius:10px;padding:12px 14px;line-height:1.55;font-size:12px;color:#9e501e;margin:16px 0}
.settings-form{display:flex;flex-direction:column;gap:17px}.settings-form label{font-size:12px;color:#586780;font-weight:650;display:flex;flex-direction:column;gap:7px}.settings-form input,.settings-form select{width:100%;height:42px;background:white;border:1px solid #dce4f0;border-radius:9px;padding:0 12px;color:#192746;font-size:13px;font-weight:500;outline:none}.settings-form input:focus,.settings-form select:focus{border-color:#5b7cff;box-shadow:0 0 0 3px rgba(77,110,240,.1)}
.settings-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;border-top:1px solid #edf0f7;padding-top:18px;margin-top:3px}.settings-actions small{font-size:12px;color:#72809a}
.settings-audit{max-height:270px;overflow:auto}.settings-audit-row{padding:12px 0;border-top:1px solid #edf0f7}.settings-audit-detail{display:flex;align-items:center;justify-content:space-between;gap:15px}.settings-audit-detail strong{font-weight:650;color:#283755;font-size:12px}.settings-audit-detail small{color:#8996ad;white-space:nowrap;font-size:11px}
@media(max-width:1000px){.settings-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.settings-panel{padding:17px}.settings-connection{flex-wrap:wrap}.settings-audit-detail{flex-wrap:wrap}}

.settings-sensors{border:1px solid #edf0f7;border-radius:10px;margin:3px 0 0;padding:15px}.settings-sensors legend{font-size:12px;font-weight:650;color:#3a4a66;padding:0 7px}
.settings-sensors .settings-hint{margin:0 0 12px}.settings-sensor-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.settings-sensor-option{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;font-size:12px!important;font-weight:500!important;cursor:pointer}.settings-sensor-option input{width:15px!important;height:15px!important;accent-color:#3658ba;flex:none}
@media(max-width:550px){.settings-sensor-options{grid-template-columns:1fr}}


/* Fleet Panel MT v0.5 UI */
.vehicle-detail{max-width:min(760px,calc(100% - 30px));max-height:min(35%,265px);padding:12px 14px;overflow-y:auto;transition:opacity .18s ease,transform .18s ease}
.vehicle-detail.v05-closed{display:none!important}
.vehicle-detail .detail-head{padding-right:30px;position:relative}
.vehicle-detail .detail-head .v05-close{position:absolute;right:0;top:-5px;border:0;background:#eef2f8;border-radius:8px;width:30px;height:30px;color:#516379;font-size:22px;cursor:pointer}
.vehicle-detail .detail-head .v05-close:hover{background:#dee8fa;color:#315ed1}
.map-tools .v05-hidden{display:none!important}
.map-tools .fleet-tool{font-size:11px;white-space:nowrap;padding:8px 10px}
.v05-section .v05-card{background:#fff;border:1px solid #e4e9f1;border-radius:13px;padding:22px;margin-bottom:18px;min-width:0}
.v05-section .v05-card h2{font-size:15px;margin:0 0 17px;color:#1b2f4b}
.v05-muted{color:#8391a3;font-size:12px;line-height:1.6}
.v05-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;margin:8px 0 20px}
.v05-field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#78879b;min-width:140px;flex:1}
.v05-field input[type=checkbox]{width:auto;align-self:flex-start}
.v05-input,.v05-select{padding:10px 12px;border:1px solid #dce3ee;background:#fff;color:#1d324c;border-radius:8px;min-height:39px;max-width:100%;min-width:120px;font:inherit}
.v05-controls>.v05-select{min-width:220px;flex:1}
.v05-record{padding:16px 6px;border-bottom:1px solid #eef1f6;display:flex;gap:8px;align-items:flex-start;flex-direction:column}
.v05-record:last-child{border-bottom:0}.v05-record strong{font-size:13px}.v05-record p{margin:0;color:#66758b;font-size:12px}.v05-record small{color:#8b98aa}
.v05-row{display:flex;justify-content:space-between;padding:14px 4px;border-bottom:1px solid #eef1f6;gap:12px;font-size:12px}
.v05-linkbox{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:18px}.v05-linkbox input{flex:1;min-width:260px}
@media(max-width:680px){.vehicle-detail{max-height:240px;left:8px;right:8px;bottom:8px}.v05-section .v05-card{padding:14px}.v05-controls{gap:8px}.v05-field{min-width:100%}.v05-controls>.v05-select{min-width:100%}}
.v05-chart{padding:10px 0 18px}.v05-chart h3{font-size:12px;color:#536480}.v05-chart canvas{width:100%;height:190px;border:1px solid #e6ebf2;border-radius:9px}
.v05-due{color:#b95333!important;font-weight:700}


/* Fleet Panel v0.6 | Compact navigation and Trip Studio */
.shell .nav{width:210px;min-width:210px;padding:22px 10px;transition:width .18s ease,min-width .18s ease}
.nav .v06-nav-switch{width:38px;height:36px;display:grid;place-items:center;align-self:flex-end;margin:0 6px 10px;border:1px solid #304361;border-radius:9px;background:#1c2c48;color:#e5eaff;cursor:pointer;font-size:19px}
.nav .v06-nav-switch:hover{background:#263e63}
.shell .nav .nav-links{gap:3px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
.shell .nav .nav-link{min-height:41px;padding:10px 12px;font-size:12px;line-height:19px;border-radius:8px;gap:11px}
.shell .nav .nav-icon{font-size:18px;min-width:20px;text-align:center;display:inline-block}
.shell .nav .nav-group{font-size:9px;margin:4px 12px 10px}
body.v06-nav-compact .shell .nav{width:68px;min-width:68px;padding:17px 7px}
body.v06-nav-compact .shell .nav .v06-nav-switch{margin:0 auto 12px;width:42px}
body.v06-nav-compact .shell .nav>.brand{padding:0 4px 24px;justify-content:center}
body.v06-nav-compact .shell .nav>.brand>span:not(.brand-symbol){display:none}
body.v06-nav-compact .shell .nav .brand-symbol{width:38px;height:38px}
body.v06-nav-compact .shell .nav .nav-group{display:none}
body.v06-nav-compact .shell .nav .nav-link{justify-content:center;width:100%;min-height:44px;padding:11px 0;font-size:0;gap:0}
body.v06-nav-compact .shell .nav .nav-icon{font-size:20px;min-width:22px}
body.v06-nav-compact .shell .nav .nav-bottom{margin-top:auto}
body.v06-nav-compact .shell .nav .nav-bottom .server-check{display:none}
.shell .content{padding:20px 22px 25px}
.shell .topbar{height:61px;padding:0 22px}
#view-fleet .page-heading{margin-bottom:13px}
#view-fleet .page-heading h1{font-size:21px}
#view-fleet .page-heading .eyebrow{font-size:9px}
#view-fleet .page-heading p{font-size:11px}
#view-fleet .stats{gap:9px;margin-bottom:12px}
#view-fleet .stat{min-height:75px;padding:11px 14px}
#view-fleet .stat-label{font-size:11px}
#view-fleet .stat strong{font-size:23px;line-height:1.1}
#view-fleet .stat small{font-size:10px}
#view-fleet .workspace{height:calc(100vh - 250px);min-height:510px;grid-template-columns:285px minmax(0,1fr)}
#view-fleet .vehicle-pane .panel-title{padding:14px 13px 10px}
#view-fleet .vehicle-pane .panel-title p{display:none}
#view-fleet .vehicle-pane .vehicle-search{margin:0 11px 8px}
#view-fleet .vehicle-pane .chips{padding:0 10px 9px}
#view-fleet .vehicle-list .device{padding:10px 11px}
#view-fleet .vehicle-list .device-title{font-size:12px}
#view-fleet .workspace.fleet-list-hidden{grid-template-columns:0 minmax(0,1fr)}
#view-fleet .workspace.fleet-immersive{height:auto;min-height:0}
#view-fleet .vehicle-detail{box-sizing:border-box;width:400px;max-width:calc(100% - 26px);max-height:244px;border:1px solid #dce4f0;border-radius:12px;padding:10px 12px;box-shadow:0 11px 32px #14294342;z-index:530;left:13px;bottom:13px;right:auto;overflow:auto}
#view-fleet .vehicle-detail .detail-head{position:relative;user-select:none;touch-action:none;cursor:grab;min-height:32px;padding-right:62px;margin-bottom:6px}
#view-fleet .vehicle-detail.v06-dragging .detail-head{cursor:grabbing}
#view-fleet .vehicle-detail .detail-head strong{font-size:12px;line-height:1.3}
#view-fleet .vehicle-detail .detail-head .status{font-size:10px}
#view-fleet .vehicle-detail .detail-head .v05-close{cursor:pointer}
#view-fleet .vehicle-detail .detail-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:5px}
#view-fleet .vehicle-detail .detail-metric{padding:5px 7px;border:1px solid #edf1f6;background:#f9fbfd;border-radius:8px}
#view-fleet .vehicle-detail .detail-metric small{font-size:9px}
#view-fleet .vehicle-detail .detail-metric strong{font-size:11px}
#view-fleet .vehicle-detail .fleet-sensor-title{font-size:11px}
#view-fleet .vehicle-detail .fleet-sensor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#view-fleet .vehicle-detail .detail-actions{gap:5px;margin:7px 0 0}
#view-fleet .vehicle-detail .detail-actions .button{padding:7px 8px;font-size:10px;min-height:28px}
#view-fleet .vehicle-detail .route-tools{gap:5px}
#view-fleet .vehicle-detail .route-tools input{max-width:155px}
.v06-quick-preview{position:fixed;z-index:3000;width:280px;min-height:110px;pointer-events:none;background:#15263e;color:#f5f7ff;box-shadow:0 12px 40px #10213a55;border:1px solid #395273;border-radius:12px;padding:13px 14px;font-size:12px}
.v06-quick-preview[hidden]{display:none}
.v06-preview-title{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:12px}
.v06-preview-title strong{font-size:12px;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v06-preview-title span{font-size:10px;white-space:nowrap}
.v06-status-on{color:#67e7a7}.v06-status-off{color:#ffb59e}
.v06-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.v06-preview-grid div{min-width:0}.v06-preview-grid small{display:block;color:#9bafc9;font-size:10px;margin-bottom:3px}.v06-preview-grid strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.v06-trip-studio{position:absolute;z-index:525;bottom:14px;left:15px;right:15px;box-sizing:border-box;background:rgba(255,255,255,.98);border:1px solid #dbe3ef;border-radius:16px;box-shadow:0 15px 38px #12294a3e;padding:12px 17px 10px;font-size:12px;max-height:205px;overflow:auto}
.v06-trip-studio[hidden]{display:none}
.v06-trip-top{display:flex;justify-content:space-between;gap:14px;align-items:center}
.v06-trip-heading{display:flex;gap:10px;align-items:baseline;min-width:0}.v06-trip-heading strong{font-size:13px;color:#162945}.v06-trip-heading small{font-size:11px;color:#8290a5}
.v06-trip-stats{display:flex;gap:22px;margin:6px 0 0}.v06-trip-stat{display:flex;align-items:baseline;gap:5px}.v06-trip-stat strong{font-size:12px;color:#1f365a}.v06-trip-stat small{font-size:10px;color:#8393a7}
.v06-trip-close{border:0;background:#eef2f9;width:25px;height:25px;border-radius:6px;cursor:pointer;font-size:19px;color:#556d87}
.v06-trip-line{position:relative;padding:13px 3px 15px}
.v06-trip-seek{width:100%;accent-color:#4664e8;cursor:pointer;display:block;margin:4px 0;appearance:auto}
.v06-trip-flags{position:absolute;left:10px;right:10px;top:33px;height:14px;pointer-events:none}
.v06-trip-flag{position:absolute;border:0;border-radius:10px;transform:translateX(-50%);width:17px;height:17px;font-size:10px;line-height:12px;padding:0;pointer-events:auto;cursor:pointer;color:#fff;background:#eca631}
.v06-trip-flag.start{background:#15aa76}.v06-trip-flag.finish{background:#ec5663}
.v06-trip-controls{display:flex;align-items:center;gap:12px;margin-top:1px}
.v06-trip-controls .v06-play{width:32px;height:32px;border:0;border-radius:8px;background:#3d63e5;color:#fff;cursor:pointer;font-size:16px}
.v06-trip-controls .v06-live-time{font-size:12px;font-weight:700;color:#243956}
.v06-trip-controls .v06-live-speed{font-size:11px;color:#647796}
.v06-trip-controls .v06-speeds{margin-left:auto;min-height:30px;border-radius:8px;padding:0 9px;border:1px solid #dae3f0;background:#fff;color:#243956}
.v06-trip-controls .v06-open-detail{background:#f3f6fd;border:1px solid #dfe7f1;padding:7px 11px;border-radius:8px;color:#2d4a79;cursor:pointer}
/* Trips overview: designed around events and map-first workflow, not a copied layout */
#view-timeline .v05-chart{margin-top:12px}#view-timeline .v05-results{margin-top:13px}
.v06-day-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:17px 0 24px}
.v06-day-summary>div{background:#f6f8fc;border:1px solid #e3e9f3;border-radius:11px;padding:16px;display:flex;flex-direction:column;gap:6px}
.v06-day-summary strong{font-size:23px;color:#213b69}.v06-day-summary small{font-size:11px;color:#8394aa}
.v06-event-track{position:relative;padding:0 2px 10px}.v06-event-track:before{content:'';position:absolute;left:91px;top:25px;bottom:27px;width:2px;background:#e3eaf5}
.v06-event{position:relative;display:grid;grid-template-columns:68px 24px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:78px;padding:8px 8px}
.v06-event time{font-size:11px;color:#566d90;font-weight:700;text-align:right}.v06-event-axis{z-index:1;display:flex;align-items:center;justify-content:center}
.v06-event-dot{height:16px;width:16px;border-radius:50%;display:block;border:3px solid white;box-shadow:0 0 0 2px #6687ec;background:#3d68ea}
.v06-event.stop .v06-event-dot{box-shadow:0 0 0 2px #f2c77d;background:#df9b22}
.v06-event.event .v06-event-dot{box-shadow:0 0 0 2px #d5bdf4;background:#945bde}
.v06-event-info{background:#fff;border:1px solid #e4eaf2;box-shadow:0 2px 5px #19304b06;border-radius:10px;padding:12px 15px;min-width:0}
.v06-event-info>strong{font-size:13px;color:#233956}.v06-event-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:7px}
.v06-event-tags span{font-size:10px;border-radius:5px;background:#edf2fa;color:#5e7699;padding:4px 7px}
.v06-event-address{display:block;color:#8b98aa;margin-top:6px;font-size:11px}
.v06-view-trip{font-size:11px;background:#eef3ff;color:#3a60c8;border:1px solid #dce7ff;border-radius:8px;padding:8px 10px;cursor:pointer}
.v06-view-trip:hover{background:#e2ebff}.v06-no-trips{padding:22px 10px;color:#8391a2}
.v06-assignment-box{background:white;border:1px solid #e3e9f1;border-radius:13px;padding:18px}
.v06-assignment-tools{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}
.v06-assignment-tools input{border:1px solid #dce5f2;padding:12px 14px;width:min(370px,100%);border-radius:8px}
.v06-assignment-count{font-size:12px;color:#7a899a}.v06-assignment-scroll{overflow:auto}
.v06-assignment-table{width:100%;border-collapse:collapse;font-size:12px}
.v06-assignment-table th{text-align:left;color:#8190a4;font-size:11px;background:#f5f7fb;font-weight:650}
.v06-assignment-table td,.v06-assignment-table th{border-bottom:1px solid #e9eef5;padding:12px 14px}
.v06-assignment-table .v06-dev-name{font-weight:700;color:#253f66}
.v06-assignment-select{min-width:180px;max-width:300px;width:100%;border-radius:8px;border:1px solid #dbe3ef;background:#fff;padding:9px;color:#2c4364}
.v06-assignment-note{margin:14px 0 0;color:#7b889a;font-size:11px;line-height:1.7}
@media(max-width:1050px){#view-fleet .workspace{grid-template-columns:250px minmax(0,1fr)}.v06-trip-stats{gap:10px;flex-wrap:wrap}.v06-trip-heading{flex-direction:column;gap:2px}}
@media(max-width:760px){body.v06-nav-compact .shell .nav{width:55px;min-width:55px;padding:13px 5px}.shell .content{padding:16px 12px}#view-fleet .workspace{display:flex;flex-direction:column;height:780px}#view-fleet .vehicle-pane{height:195px}.v06-trip-studio{left:6px;right:6px;bottom:8px;padding:9px}.v06-trip-stats{gap:9px}.v06-trip-stat small{display:none}.v06-trip-top{align-items:flex-start}#view-fleet .vehicle-detail{width:min(380px,calc(100% - 12px));left:6px;bottom:6px;max-height:238px}.v06-day-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.v06-event{grid-template-columns:45px 18px minmax(0,1fr);gap:5px}.v06-event-track:before{left:60px}.v06-view-trip{grid-column:3;justify-self:start}.v06-event-info{padding:9px}.v06-assignment-table td,.v06-assignment-table th{padding:9px}}


/* Fleet Panel v0.6.1 | Live Tail */
.live-tail-toggle{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px!important;font-weight:700;color:#425675!important;min-height:31px}
.live-tail-toggle.is-on{background:#e9f0ff!important;color:#255adb!important}
.live-tail-icon{font-size:19px;line-height:1}
.live-tail-panel{position:absolute;z-index:510;top:65px;right:14px;width:215px;padding:11px 12px;border:1px solid #dce4f0;border-radius:10px;background:#fffefa;box-shadow:0 8px 26px #172d4d22;font-size:11px;color:#34435b}
.live-tail-title{font-weight:780;font-size:12px;margin-bottom:4px}
.live-tail-state{font-size:10px;color:#8290a3;margin-bottom:9px;min-height:13px}
.live-tail-panel label{display:block;font-size:10px;color:#6b7890;margin-bottom:5px}
.live-tail-panel select{width:100%;border:1px solid #dce3ec;border-radius:6px;padding:6px;color:#283b54;background:#fff;margin-bottom:10px;font-size:11px}
.live-tail-panel label.live-tail-follow{display:flex;gap:8px;align-items:center;color:#334764;font-size:11px;margin-bottom:10px}
.live-tail-panel input[type=checkbox]{accent-color:#2f65ec}
.live-tail-clear{width:100%;font-size:11px;border:1px solid #e3e8f2;background:#f4f7fc;color:#405677;border-radius:7px;padding:7px}
.live-tail-clear:hover{background:#e7eefc}
.live-tail-panel.is-off{display:none}
@media(max-width:700px){.live-tail-panel{right:6px;top:58px;width:182px;padding:9px}.live-tail-toggle{padding:6px!important}}


/* Fleet Panel 0.7: professional routes and GPS Health Center */
.v07-health-panel{background:#fff;border:1px solid #e2e8f2;border-radius:15px;padding:20px;box-shadow:0 8px 20px rgba(19,37,73,.035)}
.v07-health-controls{display:flex;flex-wrap:wrap;gap:13px;align-items:end;margin-bottom:18px}
.v07-label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#5d6e88;flex:1;min-width:165px}
.v07-label:nth-child(1){min-width:240px;flex:2}
.v07-label select,.v07-label input{appearance:auto;min-height:42px;padding:9px 11px;background:#fff;border-radius:9px;border:1px solid #dbe3f0;color:#253957;font:inherit;font-size:13px;width:100%}
.v07-health-status{font-size:12px;color:#637695;margin:0 0 14px}
.v07-health-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:17px}
.v07-health-metric{border:1px solid #e4eaf4;border-radius:12px;background:#f8faff;padding:15px;display:flex;flex-direction:column;gap:7px;min-width:0}
.v07-health-metric small{font-size:11px;color:#788aa5}.v07-health-metric strong{font-size:25px;color:#23385d;line-height:1.2}
.v07-health-metric span{font-size:11px;color:#8b9ab0}
.v07-health-messages{display:grid;gap:9px}.v07-health-alert{border-radius:11px;border:1px solid #dee5ee;padding:13px 16px;background:#f8fafc}
.v07-health-alert.warn{background:#fffaf3;border-color:#f3e0c2}.v07-health-alert.ok{background:#f5faf7;border-color:#d0e9da}
.v07-health-alert strong{font-size:13px;color:#34415a}.v07-health-alert p{margin:5px 0 0;color:#52627a;font-size:12px;line-height:1.65}
.v07-health-chart{margin-top:18px;border:1px solid #e1e9f5;border-radius:11px;padding:16px;overflow:hidden}
.v07-health-chart h3{font-size:14px;margin:0 0 14px;color:#23385d}.v07-health-chart canvas{display:block;max-width:100%;height:auto}
.v07-health-note{font-size:12px;color:#6a7990;line-height:1.75;margin:15px 3px}
.v07-timeline-heading{margin:8px 0 15px}.v07-timeline-heading h3{margin:0 0 6px;font-size:16px;color:#233954}.v07-timeline-heading p{margin:0;color:#8795a8;font-size:12px}
.v07-journey-feed{display:flex;flex-direction:column;gap:12px;max-width:1020px}
.v07-journey{background:#fff;border:1px solid #e0e7f0;border-radius:14px;padding:17px 20px;box-shadow:0 3px 9px rgba(20,38,71,.025);min-width:0}
.v07-trip{border-left:4px solid #3c70ee}.v07-stop{border-left:4px solid #e5ad2e}
.v07-journey-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;margin-bottom:14px}.v07-journey-head strong{font-size:14px;color:#1f3658}
.v07-trip-time{font-size:12px;font-weight:650;background:#eef3fe;color:#526e9b;border-radius:7px;padding:5px 8px;font-variant-numeric:tabular-nums}
.v07-path{position:relative;display:grid;gap:14px;margin:0 0 17px 4px}.v07-path:before{content:'';position:absolute;left:13px;top:20px;bottom:20px;border-left:2px dashed #cbdaf4}
.v07-path-line{position:relative;z-index:1;display:flex;align-items:flex-start;gap:12px;min-width:0}.v07-path-marker{width:28px;height:28px;min-width:28px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#4878f0;font-size:11px;font-weight:800;box-shadow:0 0 0 4px white}.v07-path-marker.end{background:#1aaf8b}
.v07-path-location{display:flex;flex-direction:column;gap:3px;min-width:0;padding-top:0}.v07-path-location small{color:#8d9bae;font-size:11px}.v07-path-location strong{color:#263952;font-size:13px;font-weight:650;overflow-wrap:anywhere;line-height:1.48}
.v07-trip-footer{border-top:1px solid #eef2f7;padding-top:12px;display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap}
.v07-tags{display:flex;gap:8px;flex-wrap:wrap}.v07-tag{background:#f3f6fb;border-radius:7px;padding:6px 9px;font-size:11px;color:#657993}
.v07-trip-action{cursor:pointer;border:1px solid #b8cafd;background:#edf3ff;border-radius:8px;font-weight:750;padding:9px 13px;font-size:12px;color:#2856c6}
.v07-trip-action:hover{background:#dce8ff}.v07-trip-action:focus-visible{outline:3px solid #8cadff;outline-offset:2px}
.v07-stop-address{font-size:13px;color:#40566f;overflow-wrap:anywhere}.v07-stop-duration{display:block;color:#7f90a7;margin-top:9px;font-size:11px}
.v07-events-fold,.v07-chart-fold{background:#fff;border:1px solid #e0e6f1;border-radius:12px;margin:15px 0;max-width:1020px;overflow:hidden}
.v07-chart-fold{margin-top:12px}.v07-events-fold>summary,.v07-chart-fold>summary{cursor:pointer;color:#415979;font-size:13px;font-weight:700;padding:15px 18px}
.v07-events-body{padding:3px 17px 14px;max-height:320px;overflow:auto}.v07-event-small{display:grid;grid-template-columns:75px 1fr;gap:13px;padding:9px 4px;border-top:1px solid #edf1f7;font-size:12px;color:#51627a}.v07-event-small time{font-weight:700;color:#8190a6}
.v07-chart-fold .v05-chart{margin:0!important;padding:0 15px 13px}
@media(max-width:850px){.v07-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.v07-health-metrics{grid-template-columns:1fr}.v07-journey{padding:13px}.v07-trip-footer{align-items:stretch}.v07-trip-action{width:100%}}


/* Fleet Panel v0.8 - Trip previews and exports */
#view-timeline .v07-timeline-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.v08-export,.v08-mini-trigger{border:1px solid #d6e2f8;border-radius:9px;color:#3059aa;background:#f4f7ff;font-weight:750;cursor:pointer;font-size:11px;padding:8px 11px}
.v08-export:hover,.v08-mini-trigger:hover{background:#e6eeff}.v08-export:disabled{opacity:.45;cursor:not-allowed}
.v08-mini-trigger{margin-left:6px}.v08-mini-trigger.is-open{background:#e4f0ff;border-color:#83a8eb}
.v08-mini-map{margin-top:12px;border:1px solid #dce5f3;border-radius:10px;overflow:hidden;background:#edf3fa;min-height:170px;position:relative}
.v08-mini-map .v08-map-inner{height:225px;width:100%;z-index:0}.v08-mini-loading{display:flex;min-height:170px;align-items:center;justify-content:center;font-size:12px;color:#71849e}
@media(max-width:540px){.v08-mini-trigger{margin-left:0;width:100%}}

/* Fleet Panel 0.8 - Zones */
.gf-layout{display:grid;grid-template-columns:minmax(245px,285px) minmax(320px,1fr) minmax(220px,270px);gap:13px;align-items:start}
.gf-panel{background:#fff;border:1px solid #e1e8f3;border-radius:14px;box-shadow:0 3px 16px #1d365309;padding:16px;min-width:0}
.gf-panel h2{font-size:15px;color:#233858;margin:0 0 13px}.gf-muted{font-size:11px;line-height:1.6;color:#7c8ba0;margin:5px 0 11px}.gf-small{font-size:10px;margin-top:12px}
.gf-form label{display:block;margin:15px 0;font-size:12px;color:#4a5c77;font-weight:700}
.gf-form input[type=text],.gf-form select{display:block;margin-top:6px;width:100%;border-radius:8px;border:1px solid #d6e0ee;padding:10px 11px;min-height:40px;background:white;color:#273c5a;font:inherit;font-size:12px}
.gf-form input[type=range]{width:100%;accent-color:#3869ed;margin-top:14px}.gf-form label strong{float:right;color:#285de0}
.gf-coordinates{background:#f4f7fc;border:1px solid #e6ebf4;border-radius:8px;padding:9px 10px;font-size:11px;color:#6b7f9a}.gf-coordinates strong{display:block;color:#304664;margin-top:4px}
.gf-list-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:14px 0}.gf-list-heading h2{margin:0}.gf-list-heading span{background:#e8efff;color:#2d58bc;border-radius:10px;padding:5px 9px;font-size:11px;font-weight:750}
.gf-devices{max-height:210px;overflow:auto;border:1px solid #e6ebf3;border-radius:8px;padding:5px}.gf-device{margin:0!important;display:flex!important;gap:9px;align-items:center;padding:8px 7px;border-bottom:1px solid #f0f3f9;color:#334766;font-size:11px!important;cursor:pointer}
.gf-device:last-child{border:none}.gf-device input{accent-color:#3869ed;flex:none}.gf-device span{overflow-wrap:anywhere}
.gf-create{width:100%;margin-top:16px}.gf-map-container{padding:0;overflow:hidden;min-height:450px}.gf-map-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;color:#304661;font-size:13px}.gf-map-top span{font-size:10px;color:#8595a9}
.gf-map{height:485px;background:#edf2f9;z-index:0}.gf-map-note{padding:10px 15px;color:#8392a4;font-size:10px;min-height:30px}
.gf-zone-list{display:flex;flex-direction:column;gap:10px;max-height:660px;overflow:auto}.gf-zone{border:1px solid #e3e9f3;border-radius:10px;padding:12px;background:#f9fbff}.gf-zone-head{display:flex;flex-direction:column;gap:4px}.gf-zone-head strong{color:#263b58;font-size:13px;overflow-wrap:anywhere}.gf-zone-head small{font-size:10px;color:#8190a8}.gf-zone-actions{display:flex;gap:7px;margin-top:12px}.gf-zone-actions .button{font-size:11px!important;padding:7px 9px}.gf-delete{color:#b94a47!important}.gf-error{color:#ad4141;font-size:12px;padding:12px}
@media(max-width:1250px){.gf-layout{grid-template-columns:270px minmax(350px,1fr)}.gf-existing{grid-column:1/-1}.gf-zone-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));max-height:none}}
@media(max-width:760px){.gf-layout{grid-template-columns:minmax(0,1fr)}.gf-existing{grid-column:1}.gf-map{height:360px}}


/* Fleet Command v1.0: an independent visual language, not a third-party UI clone. */
:root{--v10-ink:#10243b;--v10-muted:#75859c;--v10-blue:#456ef0;--v10-line:#e4eaf2;--v10-quiet:#f5f8fd}
body.v10-enhanced{background:#f4f7fb;color:var(--v10-ink)}
body.v10-enhanced .shell .nav{background:linear-gradient(178deg,#122038 0%,#0b1729 95%);border-right:1px solid #273a59}
body.v10-enhanced .shell .nav .brand-symbol{background:linear-gradient(135deg,#779afc,#4262e5);box-shadow:0 4px 14px #4e72ef40}
body.v10-enhanced .shell .nav .nav-link{color:#a8bad3;transition:background .16s,transform .16s}
body.v10-enhanced .shell .nav .nav-link:hover{color:white;background:#263a59;transform:translateX(2px)}
body.v10-enhanced .shell .nav .nav-link.active{background:linear-gradient(105deg,#3458ab,#4269d7);color:white;box-shadow:inset 3px 0 #99bbff,0 3px 10px #0002}
body.v10-enhanced .topbar{height:69px;background:#fff;border-bottom:1px solid #e5ebf5}
body.v10-enhanced .page{background:radial-gradient(circle at 82% 8%,#eef4ff 0,transparent 27%),#f4f7fb}
body.v10-enhanced .topbar .user-chip{border-left:1px solid #e1e7f0}
body.v10-enhanced .topbar .user-avatar{background:#e8eeff;color:#3c63de}
body.v10-enhanced .page-heading h1{letter-spacing:-.75px}
body.v10-enhanced #view-fleet .workspace{border-radius:15px;box-shadow:0 8px 35px #2236510b}
body.v10-enhanced .vehicle-list .device{transition:background .17s}
body.v10-enhanced .v05-close{border-radius:7px}
body.v10-enhanced .v07-journey{box-shadow:0 6px 25px #1f36530c;border-color:#e7edf5}
.v10-bell{position:relative;flex:0 0 auto;width:38px;height:38px;border-radius:11px;background:#f4f7ff;color:#385bdd;border:1px solid #e5ebfb;display:grid;place-items:center;transition:transform .18s,background .18s}
.v10-bell:hover{transform:translateY(-1px);background:#eaf0ff}
.v10-bell-symbol{font-size:26px;font-weight:800;line-height:1}
.v10-bell-count{position:absolute;top:-7px;right:-7px;border-radius:20px;background:#db5057;color:#fff;min-width:19px;height:19px;padding:1px 5px;font:700 10px/17px Inter,Arial,sans-serif;border:2px solid #fff}
.v10-bell-count[hidden]{display:none!important}
.v10-has-alerts .nav-icon{color:#ffb889!important}
.v10-page{color:var(--v10-ink);max-width:1620px;margin:0 auto 40px;animation:v10-rise .33s ease-out}
@keyframes v10-rise{from{opacity:.65;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.v10-page h1,.v10-page h2,.v10-page p{margin:0}
.v10-overline{font-weight:800;font-size:10px;letter-spacing:2.1px;text-transform:uppercase;color:#87aaff}
.v10-hero{position:relative;border-radius:20px;min-height:223px;overflow:hidden;background:linear-gradient(114deg,#122c4d 0%,#214b93 55%,#456feb 125%);padding:34px 40px;color:white;display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 26px #1e467d28}
.v10-hero h1{font-size:clamp(26px,3vw,38px);letter-spacing:-1.35px;line-height:1.14;margin:12px 0 9px;color:#fff}
.v10-hero p{color:#c6d8f7;font-size:13px;line-height:1.55;max-width:520px}
.v10-hero-actions{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.v10-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;gap:8px;min-height:39px;padding:10px 16px;font-weight:750;font-size:12px;cursor:pointer;transition:filter .15s,transform .15s}
.v10-btn:hover{transform:translateY(-1px);filter:brightness(.98)}.v10-btn:focus-visible,.v10-filter:focus-visible,.v10-bell:focus-visible{outline:3px solid #9ec1ff;outline-offset:2px}
.v10-btn-white{background:#fff;color:#20477e;box-shadow:0 2px 7px #041c3d22}.v10-btn-ghost{background:#ffffff12;color:#fff;border-color:#ffffff55}
.v10-btn-primary{background:linear-gradient(105deg,#345fe2,#537cf1);color:#fff;box-shadow:0 5px 12px #315ce82c}
.v10-btn-outline{background:#fff;color:#31528c;border-color:#dce6f5}
.v10-hero-graphic{position:relative;width:200px;height:180px;margin:0 38px 0 12px;flex-shrink:0;display:grid;place-items:center}
.v10-hero-graphic::before{content:'';width:90px;height:90px;border-radius:20px;background:#eef6ff21;backdrop-filter:blur(5px);border:1px solid #ffffff50;box-shadow:0 0 0 8px #ffffff0e;transform:rotate(-15deg)}
.v10-hero-graphic>span{position:absolute;color:#fff;font-size:17px;font-weight:900;letter-spacing:2px}
.v10-ring{position:absolute;border:1px dashed #d8e9ff65;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.v10-ring.r1{width:150px;height:150px}.v10-ring.r2{width:218px;height:218px}
.v10-node{position:absolute;width:10px;height:10px;background:#6ee2bc;border:3px solid #d2fff1;border-radius:50%;box-shadow:0 0 0 6px #71fbd32d}
.v10-node.n1{top:18%;left:12%}.v10-node.n2{right:-5%;top:45%}.v10-node.n3{bottom:8%;left:21%}
.v10-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.v10-metric{background:#fff;border:1px solid #e3e9f2;border-radius:15px;padding:18px 19px;min-height:126px;box-shadow:0 5px 17px #172f5508}
.v10-metric-top{display:flex;align-items:center;justify-content:space-between;color:#75869e;font-size:11px;font-weight:720;gap:9px}
.v10-metric strong{display:block;color:#132b49;font-size:32px;letter-spacing:-1.3px;line-height:1.1;margin:9px 0 7px;font-weight:830}
.v10-metric small{font-size:10px;color:#9ca9b9;display:block;line-height:1.5}
.v10-metric-icon{font-size:17px;font-weight:850;width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#eff3ff;color:#5176ed}
.v10-metric-green .v10-metric-icon{background:#e7f9f0;color:#18ab77}.v10-metric-violet .v10-metric-icon{background:#efeaff;color:#7d68d8}.v10-metric-orange .v10-metric-icon{background:#fff0e7;color:#d88657}
.v10-command-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:17px}
.v10-surface{background:#fff;border:1px solid #e3eaf4;border-radius:16px;padding:23px;box-shadow:0 5px 22px #243c5709;min-width:0}
.v10-section-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:20px}
.v10-section-heading h2{font-size:15px;color:#1d3451;letter-spacing:-.2px;font-weight:850}
.v10-section-heading p{margin-top:6px;font-size:11px;line-height:1.5;color:#9ca8ba}
.v10-mini-label{font-size:9px;font-weight:800;letter-spacing:1px;color:#129e7d;background:#e9f8f3;padding:7px 9px;border-radius:6px}
.v10-status-bar{height:15px;display:flex;overflow:hidden;border-radius:99px;background:#e9eef6}
.v10-status-fill{transition:width .3s ease}.v10-status-fill.v10-on{background:linear-gradient(90deg,#4bbd9b,#62d8b5)}.v10-status-fill.v10-off{background:#e1e8f4}
.v10-status-legend{color:#7e8fa5;font-size:11px;margin:10px 0 20px;font-weight:600}
.v10-device-line{background:#fff;border:0;border-top:1px solid #edf1f7;width:100%;text-align:left;display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 2px;font-size:11px;font-weight:730;color:#294364}
.v10-device-line small{color:#a0acba;font-size:10px;font-weight:400;text-align:right}.v10-device-line:hover{background:#f8faff}
.v10-device-dot{display:block;background:#e0a080;border-radius:50%;width:7px;height:7px}
.v10-inline-link{border:0;background:none;color:#4569df;font-weight:740;font-size:11px;white-space:nowrap}
.v10-empty{font-size:12px;color:#91a2b8}.v10-empty-card{background:#f7f9fd;border:1px dashed #d8e3f1;border-radius:12px;padding:28px 18px;color:#8ca0b6;text-align:center;font-size:12px}
.v10-footer-note{font-size:11px;color:#90a0b3;line-height:1.6;margin-top:20px!important}
.v10-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:5px 0 20px}
.v10-heading .v10-overline{color:#526fde}.v10-heading h1{font-size:28px;letter-spacing:-.9px;color:#1c2f49;margin:8px 0 5px}.v10-heading p{font-size:12px;color:#8495a9}
.v10-alert-stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:17px}
.v10-alert-stat-row .v10-metric{min-height:112px}.v10-alert-stat-row .v10-metric strong{font-size:27px;margin:7px 0 4px}
.v10-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:18px;align-items:start}
.v10-alert-panel{min-height:350px}.v10-filter-buttons{display:flex;gap:5px;background:#f3f6fc;border-radius:10px;padding:4px;align-self:start}
.v10-filter{border:0;background:transparent;color:#8292aa;padding:8px 9px;border-radius:7px;white-space:nowrap;font-size:10px;font-weight:800}
.v10-filter.is-active{background:#fff;color:#345dd4;box-shadow:0 2px 6px #22365116}
.v10-alert-list{display:grid;gap:9px;max-height:calc(100vh - 350px);min-height:160px;overflow:auto;padding-right:4px}
.v10-alert-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:12px;background:#fbfcff;border:1px solid #e9eef6;border-radius:11px;padding:13px;min-width:0}
.v10-alert-symbol{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#e8efff;color:#4a72ec;font-size:18px;font-weight:900}
.v10-tone-critical .v10-alert-symbol{background:#fff0e8;color:#e47745}.v10-tone-warning .v10-alert-symbol{background:#fff7e6;color:#c79635}
.v10-alert-content{min-width:0}.v10-alert-content strong{font-size:12px;color:#233b58;display:block}.v10-alert-content p{font-size:11px;color:#788da4;line-height:1.5;word-wrap:break-word;margin:5px 0!important}
.v10-alert-foot{font-size:10px;color:#a3b0bd;display:flex;gap:14px;flex-wrap:wrap}
.v10-alert-actions{display:flex;align-items:end;flex-direction:column;gap:9px;white-space:nowrap}
.v10-state{background:#eef2fd;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:800;color:#5a7eb5}
.v10-state.state-open{background:#fff1e9;color:#d47b4e}.v10-state.state-resolved{background:#e6f7ed;color:#1f9e70}
.v10-small-btn{border:1px solid #d7e2f4;background:#fff;color:#345fc7;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:800}
.v10-small-btn:hover{background:#eef3ff}
.v10-aside{display:grid;gap:16px}.v10-rule-list{display:grid;gap:9px;margin-top:10px}
.v10-rule{padding:9px 0;display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f3f8;cursor:pointer}
.v10-rule-text{display:grid;gap:4px}.v10-rule-text strong{font-size:12px;color:#29405c}.v10-rule-text small{font-size:10px;color:#9ba9b9;line-height:1.45}
.v10-switch{appearance:none;width:34px;height:21px;flex:0 0 34px;border-radius:40px;background:#dce5f0;border:1px solid #cbd7e5;position:relative;cursor:pointer;transition:background .2s}
.v10-switch:after{content:'';position:absolute;left:2px;top:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:transform .2s}
.v10-switch:checked{background:#4672ec;border-color:#4672ec}.v10-switch:checked:after{transform:translateX(13px)}
.v10-control{display:grid;gap:5px;margin-bottom:11px}.v10-control label{color:#8492a5;font-size:10px;font-weight:800}
.v10-control select,.v10-rule-details input,.v10-rule-details select{min-height:37px;background:#fff;border:1px solid #dae3f0;border-radius:8px;padding:8px 10px;color:#2f486b;max-width:100%;width:100%;font-size:12px}
.v10-rule-details{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:17px 0}
.v10-rule-details label{font-size:10px;color:#8292a9;font-weight:750;display:grid;gap:6px;line-height:1.4}
.v10-rules-panel .v10-btn{width:100%;margin-top:3px}
.v10-save-result{min-height:15px;font-size:10px;color:#4b77ce;margin:8px 0 0!important}
.v10-icon{background:#f0f4ff;border-radius:8px;padding:9px;color:#5274df}
.v10-explainer{background:#eff4fd;border-color:#e2e9f8;box-shadow:none}.v10-explainer strong{font-size:12px;color:#2d508a}
.v10-explainer p{font-size:11px;line-height:1.75;color:#6d83a4;margin:8px 0!important}
.v10-monitor-status{font-size:10px;color:#6682b2;border-top:1px solid #dce6f6;padding-top:12px}
@media(max-width:1250px){.v10-page-grid{grid-template-columns:minmax(0,1fr) 315px}.v10-metric-grid{gap:9px}.v10-hero-graphic{margin-right:15px}}
@media(max-width:1080px){.v10-page-grid{grid-template-columns:1fr}.v10-aside{grid-template-columns:1fr 1fr;align-items:start}.v10-command-grid{grid-template-columns:1fr}.v10-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.v10-hero{padding:25px 20px;min-height:205px}.v10-hero-graphic{display:none}.v10-hero h1{font-size:26px}.v10-hero-actions{gap:7px}.v10-btn{font-size:11px;padding:8px 11px}.v10-aside{grid-template-columns:1fr}.v10-alert-stat-row{gap:7px}.v10-alert-stat-row .v10-metric{padding:10px;min-height:94px}.v10-metric{padding:14px}.v10-metric strong{font-size:27px}.v10-metric-top{font-size:10px}.v10-section-heading{flex-direction:column;align-items:start}.v10-heading h1{font-size:21px}.v10-surface{padding:15px}.v10-alert-card{grid-template-columns:26px minmax(0,1fr);gap:8px;padding:9px}.v10-alert-symbol{width:25px;height:25px;font-size:14px}.v10-alert-actions{grid-column:2;flex-direction:row;align-items:center}.v10-alert-list{max-height:none}.v10-rule-details{gap:9px}}
@media(max-width:480px){.v10-metric-grid{gap:8px}.v10-hero h1{font-size:23px}.v10-heading{align-items:start}.v10-bell{width:32px;height:32px}.v10-metric small{font-size:9px}.v10-status-legend{font-size:10px}.v10-alert-stat-row .v10-metric-icon{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.v10-page{animation:none}.v10-btn,.v10-bell{transition:none}}
.v10-close-btn{border:0;background:transparent;color:#869bb4;font-size:9px;padding:3px 5px}
.v10-close-btn:hover{background:#f1f5fb;color:#4165a9}
.v10-heading-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}


/* Fleet Panel 2.0 | Refined visual system, restrained depth and responsive layout */
:root{--f2-navy:#12223d;--f2-blue:#4269ed;--f2-text:#182b46;--f2-muted:#8190a7;--f2-edge:#e6ecf4;--f2-card:#fff;--f2-bg:#f5f7fb;--f2-shade:0 10px 30px rgba(23,43,78,.045)}
body.f2-ready{background:var(--f2-bg);color:var(--f2-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.f2-ready .content{background:#f5f7fb}
.f2-ready .topbar{border-bottom:1px solid var(--f2-edge);background:rgba(255,255,255,.95)}
.f2-ready .nav{background:linear-gradient(174deg,#10213c 0%,#0b1a30 85%);border-right:1px solid #172a48}
.f2-ready .nav-links{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.14) transparent}
.f2-ready .nav-link{border-radius:12px;transition:background .16s ease,transform .16s ease}
.f2-ready .nav-link:hover{transform:translateX(2px);background:rgba(124,162,255,.11)}
.f2-ready .nav-link.active{background:linear-gradient(112deg,#315bb8,#3558a9);box-shadow:0 4px 14px rgba(22,44,103,.20)}
.f2-ready .view:not(.hidden) {animation:f2Fade .25s ease-out}
@keyframes f2Fade{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.f2-page{max-width:1650px;margin:0 auto;padding-bottom:44px}
.f2-title{margin:5px 0 22px}.f2-eyebrow{display:inline-block;font-size:10px;letter-spacing:.22em;font-weight:800;color:#5871a0;margin-bottom:10px}
.f2-title h1{font-size:clamp(25px,2.2vw,34px);letter-spacing:-.04em;line-height:1.15;font-weight:790;color:#152843;margin:0 0 9px}.f2-title p{font-size:13px;color:#8a97ab;margin:0}
.f2-banner{border-radius:22px;background:linear-gradient(112deg,#10284b,#193969 63%,#224c80);color:#fff;min-height:256px;display:flex;align-items:center;justify-content:space-between;padding:34px 48px;position:relative;overflow:hidden;box-shadow:0 16px 34px rgba(24,44,84,.12)}
.f2-banner>div:first-child{position:relative;z-index:2}.f2-banner span{font-size:10px;letter-spacing:.22em;color:#92bae8;font-weight:750}.f2-banner h2{font-size:clamp(29px,3vw,43px);line-height:1.17;letter-spacing:-.04em;margin:14px 0}.f2-banner h2 em{font-style:normal;color:#9dccfb}.f2-banner p{font-size:13px;color:#b8cee5;margin:0 0 22px}
.f2-banner-buttons{display:flex;gap:10px;flex-wrap:wrap}.f2-banner button{border-radius:11px;padding:11px 17px;font-weight:700;font-size:12px;border:1px solid rgba(255,255,255,.13);cursor:pointer}
.f2-cta{background:#fff;color:#173866}.f2-soft{background:rgba(255,255,255,.09);color:#fff}.f2-banner button:hover{filter:brightness(1.06)}
.f2-orbit{width:260px;height:220px;position:relative;margin-right:25px;flex-shrink:0}.f2-orbit>span{position:absolute;left:42%;top:37%;font-size:74px;line-height:1;color:#7bcdfd;text-shadow:0 0 30px #4f97e155}.f2-ring{border:1px solid rgba(181,214,255,.24);position:absolute;border-radius:50%;aspect-ratio:1;transform:rotate(-25deg)}.f2-r1{height:185px;inset:10px 0 0 28px}.f2-r2{height:270px;inset:-33px 0 0 -14px;opacity:.65}.f2-orbit:after{content:'';position:absolute;width:10px;height:10px;border:3px solid #193969;border-radius:50%;background:#70daae;top:36px;left:180px;box-shadow:0 0 17px #70daae}
.f2-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:17px 0}.f2-stat{min-height:130px;background:#fff;border-radius:17px;border:1px solid var(--f2-edge);padding:20px 21px;position:relative;box-shadow:var(--f2-shade)}
.f2-stat-name{font-size:12px;color:#7889a3;margin-bottom:8px}.f2-stat>strong{display:block;font-size:32px;line-height:1.1;letter-spacing:-.04em;color:#142845}.f2-stat>small{display:block;font-size:10px;margin-top:8px;color:#9aaaBD}.f2-stat-icon{position:absolute;right:19px;top:18px;background:#eef3ff;color:#5278dc;border-radius:10px;width:31px;height:31px;display:grid;place-items:center;font-size:17px}
.f2-dashboard-grid,.f2-two{display:grid;grid-template-columns:1fr 1fr;gap:17px}.f2-panel{background:#fff;border:1px solid var(--f2-edge);border-radius:18px;padding:21px 22px;box-shadow:var(--f2-shade);min-width:0}.f2-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:8px}.f2-panel-head h2{font-size:15px;letter-spacing:-.02em;color:#1e3250;margin:0}.f2-panel-head>span{font-size:10px;color:#9aa9bf;white-space:nowrap}
.f2-meter{height:12px;overflow:hidden;background:#ebeff6;border-radius:20px;margin-top:26px}.f2-meter span{background:linear-gradient(90deg,#34a98a,#59d1a2);height:100%;display:block;border-radius:20px;transition:width .25s ease}.f2-hint{font-size:12px;color:#8997aa;line-height:1.6}.f2-row{width:100%;display:flex;gap:12px;align-items:center;text-align:left;border:0;background:transparent;padding:10px 2px;border-top:1px solid #edf1f6;cursor:pointer}.f2-row strong{font-size:12px;color:#283a57;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.f2-row small{font-size:10px;color:#91a0b6}.f2-device-dot{width:9px;height:9px;background:#f0a08f;border-radius:50%;flex-shrink:0}.f2-row:hover{background:#f8faff}.f2-empty{padding:32px 16px;text-align:center;color:#97a5b6;background:#fafbfd;border:1px dashed #e0e8f2;border-radius:12px;font-size:12px}.f2-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:17px}.f2-shortcuts button{background:white;border:1px solid var(--f2-edge);border-radius:13px;min-height:56px;text-align:center;color:#2f4668;font-size:12px;font-weight:700;cursor:pointer}.f2-shortcuts button:hover{border-color:#8ba8ed;background:#f9fbff}
.f2-toolbar{background:#fff;border:1px solid var(--f2-edge);border-radius:16px;padding:15px;display:flex;align-items:flex-end;gap:12px;margin-bottom:18px;flex-wrap:wrap}.f2-toolbar label,.f2-form label{display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:11px;color:#677d9c}.f2-toolbar label{min-width:180px;flex:1}.f2-toolbar input,.f2-toolbar select,.f2-form input,.f2-form select,.f2-assign{border:1px solid #dfe7f2;border-radius:10px;background:#fff;color:#213550;min-height:40px;padding:8px 11px;outline:none;font:inherit;font-size:12px;max-width:100%}.f2-toolbar input:focus,.f2-toolbar select:focus,.f2-form input:focus,.f2-form select:focus{border-color:#7e9deb;box-shadow:0 0 0 3px #4269ed14}
.f2-button{min-height:41px;padding:10px 17px;border:0;border-radius:10px;background:#355fc4;color:#fff;cursor:pointer;font-weight:750;font-size:12px;white-space:nowrap}.f2-button:hover{background:#284fae}.f2-button:disabled{opacity:.45;cursor:default}.f2-secondary{background:#edf2fa;color:#355487}.f2-secondary:hover{background:#dce7fa}.f2-results{min-height:95px}.f2-diag-header{display:flex;justify-content:space-between;align-items:center;font-weight:750;font-size:18px;background:#fff;border:1px solid var(--f2-edge);padding:20px;border-radius:16px}.f2-tag{display:inline-block;background:#e9f8f2;border-radius:100px;color:#24916b;padding:7px 11px;font-size:11px;font-weight:750}.f2-tag.warn{background:#fff1de;color:#bd7b25}
.f2-measures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:17px 0}.f2-measure{background:#fff;border:1px solid var(--f2-edge);border-radius:14px;min-height:110px;padding:17px}.f2-measure small{font-size:11px;color:#8293aa;display:block}.f2-measure strong{font-size:24px;color:#1c3455;display:inline-block;margin:8px 4px 0 0}.f2-measure span{font-size:11px;color:#91a0b4}.f2-state-list{display:flex;gap:12px;flex-wrap:wrap}.f2-state-list>span{background:#fff;border:1px solid var(--f2-edge);border-radius:10px;padding:10px 13px;color:#5c718e;font-size:12px}.f2-warning{padding:14px;border-radius:12px;background:#fff6ea;color:#8f612d;font-size:12px;border:1px solid #ffe8cd}
.f2-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}.f2-summary-item{padding:18px 20px;background:#fff;border:1px solid var(--f2-edge);border-radius:14px}.f2-summary-item small{color:#8090a6;font-size:11px;display:block}.f2-summary-item strong{font-size:25px;display:block;margin-top:7px;color:#173458}.f2-trip{background:white;border:1px solid #e5eaf2;border-radius:15px;padding:19px 21px;margin-bottom:11px;box-shadow:var(--f2-shade)}.f2-trip-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.f2-trip-top strong{font-size:13px;color:#2a3f5c}.f2-trip-path{position:relative;border-left:2px solid #95b0dd;margin:17px 0 13px 9px;padding-left:16px;display:grid;gap:14px}.f2-trip-path>div{font-size:13px;color:#2d4767}.f2-trip-path>div:first-child:before,.f2-trip-path>div:last-child:before{content:'';position:absolute;left:-6px;width:10px;height:10px;border-radius:50%;background:#4675de;border:2px solid white}.f2-trip-path>div:first-child:before{top:0}.f2-trip-path>div:last-child:before{bottom:0;background:#30ae82}.f2-trip-metrics{color:#7c8fa9;font-size:12px}
.f2-form{display:grid;gap:13px}.f2-form label{width:100%}.f2-driver-row,.f2-sub{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #edf1f6;flex-wrap:wrap}.f2-driver-row>div{flex:1;min-width:140px;display:grid;gap:5px}.f2-driver-row strong,.f2-sub strong{font-size:13px;color:#1d3454}.f2-driver-row small,.f2-sub small{font-size:11px;color:#8493ab}.f2-assign{max-width:280px}.f2-sub{display:grid;grid-template-columns:1fr auto}.f2-sub small{grid-column:1/-1}
@media(max-width:1200px){.f2-measures{grid-template-columns:repeat(3,1fr)}.f2-orbit{margin-right:0;max-width:200px}.f2-banner{padding:32px}}
@media(max-width:980px){.f2-stat-grid{grid-template-columns:repeat(2,1fr)}.f2-dashboard-grid,.f2-two{grid-template-columns:1fr}.f2-measures{grid-template-columns:repeat(2,1fr)}.f2-banner{min-height:220px}.f2-orbit{display:none}.f2-shortcuts{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.f2-title h1{font-size:26px}.f2-stat-grid,.f2-summary{grid-template-columns:repeat(2,1fr);gap:8px}.f2-measures{grid-template-columns:repeat(2,1fr);gap:8px}.f2-measure{padding:13px;min-height:93px}.f2-measure strong{font-size:19px}.f2-banner{padding:25px;border-radius:16px}.f2-banner h2{font-size:28px}.f2-banner p{max-width:260px}.f2-stat{padding:15px;min-height:110px}.f2-stat>strong{font-size:25px}.f2-stat-icon{top:12px;right:12px}.f2-toolbar label{min-width:100%;flex:1}.f2-toolbar .f2-button{flex:1}.f2-panel{padding:16px}.f2-trip-top{flex-wrap:wrap}.f2-trip-top strong{line-height:1.5}.f2-driver-row{align-items:stretch}.f2-assign{max-width:100%;width:100%}}
/* Never let an expanded desktop sidebar consume the mobile viewport. */
@media(max-width:760px){
 body.f2-ready .shell .nav{width:58px!important;min-width:58px!important;padding:13px 5px!important}
 body.f2-ready .shell .nav>.brand{padding:0 0 22px!important;justify-content:center}
 body.f2-ready .shell .nav>.brand>span:not(.brand-symbol){display:none!important}
 body.f2-ready .shell .nav .nav-group{display:none!important}
 body.f2-ready .shell .nav .nav-link{font-size:0!important;min-height:42px;justify-content:center!important;padding:10px 0!important;gap:0!important}
 body.f2-ready .shell .nav .nav-icon{font-size:19px!important;min-width:24px!important}
 body.f2-ready .shell .nav .v06-nav-switch{display:none!important}
 body.f2-ready .shell .nav .nav-bottom{padding:0}
 body.f2-ready .shell .page{min-width:0;width:calc(100% - 58px)}
 body.f2-ready .topbar{padding:0 12px!important}
 body.f2-ready .content{padding:16px 11px!important}
 .f2-title{margin:3px 0 16px}
 .f2-banner{padding:22px 19px}
 .f2-banner h2{font-size:26px}
 .f2-banner p{font-size:12px}
 .f2-stat-name{font-size:11px}
 .f2-stat{padding:12px}
 .f2-panel-head{align-items:flex-start}
 .f2-panel-head>span{white-space:normal;text-align:right}
 .f2-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .f2-shortcuts button{padding:10px 7px}
}


/* Teltonika Studio v2.1 */
.f21-nav[hidden],.f21-nav.hidden{display:none!important}
.f21-page{max-width:1460px;margin:auto}.f21-head{display:flex;align-items:start;justify-content:space-between;gap:18px;margin:0 0 22px}
.f21-head small{letter-spacing:.14em;color:#4776c7;font-weight:700;font-size:10px}.f21-head h1{font-size:29px;letter-spacing:-.04em;margin:8px 0}.f21-head p{color:#7f90a6;margin:0}.f21-preview{border:1px solid #cddaf1;border-radius:20px;color:#3c65a8;padding:8px 12px;font-size:11px;font-weight:700;white-space:nowrap}
.f21-alert{font-size:13px;color:#546780;background:#eef4ff;border:1px solid #d6e5ff;padding:14px 16px;border-radius:14px;line-height:1.6;margin-bottom:20px}
.f21-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.f21-panel{border:1px solid #e2e9f3;background:#fff;padding:22px;border-radius:16px;box-shadow:0 7px 28px rgba(31,52,81,.035)}
.f21-panel h2{margin:0;font-size:18px}.f21-panel h3{font-size:13px;margin:26px 0 10px}.f21-panel .f21-sub{font-size:12px;color:#7a8ca4;line-height:1.6;margin:10px 0 18px}
.f21-panel label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-weight:600;font-size:12px;color:#536782}.f21-panel input:not([type=file]),.f21-panel select{width:100%;padding:11px 12px;border:1px solid #dae3ef;background:white;border-radius:9px;color:#172c48;min-height:43px}
.f21-panel input[type=file]{width:100%;border:1px dashed #bccbe2;padding:16px;border-radius:12px;color:#64758d}.f21-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.f21-fields label:first-child{grid-column:1/-1}
.f21-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.f21-actions button{min-height:40px}.f21-quiet{border:1px solid #d9e4f4;border-radius:8px;background:#f8faff;padding:10px 13px;color:#35547f;font-weight:600;cursor:pointer}
.f21-hint,.f21-result{color:#657994;font-size:12px;line-height:1.5;margin:12px 0}.f21-result{min-height:30px}.f21-error{color:#aa3348}
.f21-warning{background:#fff8e8;border:1px solid #f1e3bc;color:#7f6430;border-radius:8px;font-size:12px;padding:12px}.f21-confirm{background:#f3f7ff;padding:16px;border-radius:12px;border:1px solid #dce8ff;margin:16px 0}.f21-confirm[hidden]{display:none!important}.f21-confirm strong{font-size:13px;display:block;overflow-wrap:anywhere}.f21-confirm p{font-size:12px;line-height:1.6;color:#637a9a}
.f21-history{max-height:240px;overflow:auto}.f21-log{border-bottom:1px solid #e8eef6;padding:8px 0;color:#64758b;font-size:12px}
@media(max-width:900px){.f21-layout{grid-template-columns:1fr}.f21-panel{padding:16px}.f21-head h1{font-size:24px}}

/* Fleet Panel 2.1 | compact on-demand Street View preview */
.f21-sv-window{position:absolute;z-index:1250;top:70px;right:16px;width:min(420px,calc(100% - 28px));border:1px solid #dbe5f2;border-radius:15px;background:#fff;box-shadow:0 15px 40px rgba(14,33,66,.2);overflow:hidden;color:#203250}
.f21-sv-window[hidden]{display:none!important}
.f21-sv-head{min-height:52px;padding:9px 12px 9px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid #e4eaf4}
.f21-sv-heading{min-width:0;display:flex;flex-direction:column;gap:3px}
.f21-sv-heading strong{font-size:13px;color:#183052;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.f21-sv-heading span{font-size:11px;color:#71829d}
.f21-sv-close{border:1px solid #dde6f3;border-radius:8px;background:#f7f9fc;font-size:22px;color:#405877;width:33px;height:33px;flex:0 0 33px;cursor:pointer}
.f21-sv-canvas{width:100%;height:260px;min-height:200px;background:#eff3f9}
.f21-sv-canvas[hidden]{display:none!important}
.f21-sv-status{padding:24px 16px;font-size:12px;color:#627693;min-height:85px;line-height:1.5}
.f21-sv-status[hidden]{display:none!important}
.f21-sv-foot{padding:8px 12px;color:#798aa2;font-size:10px;border-top:1px solid #eef2f7}
.f21-sv-tool{font-size:12px!important;font-weight:800;min-width:42px}
.f21-sv-tool:disabled{opacity:.4;cursor:not-allowed}
.f21-sv-action{white-space:nowrap}
@media(max-width:700px){.f21-sv-window{left:10px;right:10px;top:58px;width:auto;max-width:none}.f21-sv-canvas{height:220px}.f21-sv-heading strong{font-size:12px}}

