.gps-root{--gp-bg:#f4f7fb;--gp-card:#fff;--gp-text:#152438;--gp-muted:#5c6e82;--gp-line:#dce5ed;--gp-soft:#edf3f7;--gp-blue:#116dde;--gp-green:#12765a;--gp-amber:#946000;--gp-red:#b4333a;color:var(--gp-text);font-size:14px;line-height:1.5;max-width:1800px;margin:auto}.gps-root,.gps-root *,.gps-dialog,.gps-dialog *{box-sizing:border-box}.gps-root button,.gps-root input,.gps-root select,.gps-dialog button,.gps-dialog input,.gps-dialog select{font:inherit}.gps-root button,.gps-dialog button{cursor:pointer}.gps-root button:disabled,.gps-dialog button:disabled{opacity:.5;cursor:wait}.gps-root :focus-visible,.gps-dialog :focus-visible,.gps-sharing :focus-visible{outline:3px solid #5aa4ff;outline-offset:3px}.gps-root h1,.gps-root h2,.gps-root h3,.gps-root p{margin:0}.gps-root h1{font-size:clamp(27px,3vw,37px);line-height:1.16;letter-spacing:-1px}.gps-root h2{font-size:18px}.gps-root svg,.gps-dialog svg,.gps-sharing svg{width:20px;height:20px;flex:none}.gps-eyebrow{color:var(--gp-blue);font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}.gps-head{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:24px 0}.gps-head p{color:var(--gp-muted);margin-top:9px;max-width:640px}.gps-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.gps-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid var(--gp-line);border-radius:12px;color:var(--gp-text);background:var(--gp-card);font-weight:700;text-decoration:none}.gps-btn.primary{background:var(--gp-blue);color:white;border-color:transparent}.gps-btn.danger{color:var(--gp-red)}.gps-btn.small{padding:7px 10px}.gps-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.gps-metric{background:var(--gp-card);border:1px solid var(--gp-line);border-radius:17px;padding:17px 20px}.gps-metric small{display:block;color:var(--gp-muted);font-size:12px}.gps-metric b{display:block;font-size:28px;letter-spacing:-.7px}.gps-metric span{font-size:12px;color:var(--gp-muted)}.gps-notice{padding:13px 16px;border-radius:12px;background:#eaf3ff;border:1px solid #c9dfff;color:#18559c;margin-bottom:14px}.gps-notice.error{background:#fff1f0;color:#a2343c;border-color:#efcdcf}.gps-notice[hidden]{display:none}.gps-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px}.gps-fleet,.gps-main{min-width:0;background:var(--gp-card);border:1px solid var(--gp-line);border-radius:20px;overflow:hidden}.gps-fleet-head{padding:20px 17px 14px}.gps-search{display:flex;align-items:center;gap:8px;border:1px solid var(--gp-line);border-radius:12px;padding:0 11px;margin-top:14px;background:var(--gp-bg)}.gps-search input{min-width:0;border:0;background:transparent;color:var(--gp-text);padding:12px 0;width:100%;outline:none}.gps-filters{display:flex;gap:5px;margin-top:10px}.gps-filters button,.gps-tabs button,.gps-phone-tabs button{border:0;background:transparent;color:var(--gp-muted);padding:10px 12px;min-height:44px;border-radius:10px;font-weight:700}.gps-filters button[aria-pressed=true],.gps-tabs button[aria-selected=true],.gps-phone-tabs button[aria-pressed=true]{background:var(--gp-soft);color:var(--gp-blue)}.gps-vehicle-list{max-height:630px;overflow:auto;padding:0 9px 12px}.gps-vehicle{display:block;text-align:left;width:100%;padding:15px 12px;border:1px solid transparent;border-radius:14px;margin-bottom:7px;background:transparent;color:var(--gp-text)}.gps-vehicle[aria-pressed=true]{background:var(--gp-soft);border-color:#b9d5f4}.gps-vehicle-top{display:flex;gap:9px;align-items:center;justify-content:space-between}.gps-vehicle b{font-size:14px}.gps-vehicle p{font-size:12px;color:var(--gp-muted);margin-top:7px}.gps-vehicle small{color:var(--gp-muted);font-size:11px}.gps-dot{width:8px;height:8px;display:inline-block;border-radius:50%;background:#8c9aad;margin-right:6px}.gps-dot.moving,.gps-dot.stopped{background:#16a178}.gps-dot.stale,.gps-dot.weak,.gps-dot.waiting{background:#d59b26}.gps-chip{display:inline-flex;align-items:center;font-size:11px;padding:5px 8px;border-radius:8px;white-space:nowrap;background:var(--gp-soft);color:var(--gp-muted)}.gps-chip.moving,.gps-chip.stopped{color:var(--gp-green);background:#e3f5ee}.gps-chip.weak,.gps-chip.stale,.gps-chip.waiting{color:var(--gp-amber);background:#fff3d6}.gps-topbar{display:flex;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid var(--gp-line);align-items:center;flex-wrap:wrap}.gps-tabs{display:flex;gap:5px}.gps-checked{font-size:11px;color:var(--gp-muted)}.gps-map-wrap{position:relative;margin:14px;border:1px solid var(--gp-line);border-radius:15px;overflow:hidden;background:var(--gp-soft)}.gps-map{height:400px;position:relative;overflow:hidden;touch-action:pan-y;background-color:#e8eef2;background-image:linear-gradient(#d5e0e855 1px,transparent 1px),linear-gradient(90deg,#d5e0e855 1px,transparent 1px);background-size:32px 32px}.gps-map.pan{touch-action:none;cursor:grab}.gps-tiles,.gps-overlay{position:absolute;inset:0}.gps-tiles img{position:absolute;width:256px;height:256px;max-width:none}.gps-overlay{width:100%!important;height:100%!important;overflow:visible}.gps-overlay .gps-route{fill:none;stroke:#1673df;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.gps-overlay .gps-gap{fill:none;stroke:#c18827;stroke-width:2;stroke-dasharray:5 7}.gps-marker{position:absolute;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;border:0;background:transparent;color:#15304d;padding:0;min-width:44px;min-height:44px;z-index:2}.gps-marker span{font-size:12px;line-height:1.2;background:white;padding:8px 11px;box-shadow:0 3px 15px #17324e30;border:1px solid #d5e2ef;border-radius:9px;font-weight:800;white-space:nowrap;max-width:160px;overflow:hidden;text-overflow:ellipsis}.gps-marker i{display:flex;align-items:center;justify-content:center;width:34px;height:34px;color:white;background:#166ede;border:3px solid white;border-radius:50%;box-shadow:0 3px 15px #17324e44;font-style:normal}.gps-marker.old i{background:#718398}.gps-map-controls{position:absolute;right:12px;top:12px;z-index:4;display:flex;gap:6px}.gps-map-controls .gps-btn{box-shadow:0 2px 9px #16375220;padding:8px 11px;background:var(--gp-card)}.gps-map-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--gp-muted);padding:8px 12px;background:var(--gp-card);position:relative;z-index:4;flex-wrap:wrap}.gps-map-caption a{color:inherit}.gps-map-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;text-align:center;padding:65px 25px 30px;color:var(--gp-muted)}.gps-map-empty svg{width:50px;height:50px;color:var(--gp-blue)}.gps-map-empty h2{color:var(--gp-text)}.gps-map-empty p{max-width:420px;font-size:13px}.gps-route-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px 18px;border-bottom:1px solid var(--gp-line)}.gps-root label span,.gps-dialog label span{display:block;font-size:12px;font-weight:700;margin-bottom:6px;color:var(--gp-muted)}.gps-root input[type=date],.gps-root select,.gps-dialog input,.gps-dialog select{border:1px solid var(--gp-line);border-radius:10px;color:var(--gp-text);background:var(--gp-card);padding:11px;min-height:44px;max-width:100%}.gps-trip{padding:6px 20px 22px}.gps-trip-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;flex-wrap:wrap}.gps-trip-heading small{color:var(--gp-muted)}.gps-trip-details{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:15px 0}.gps-trip-details div{border-left:2px solid var(--gp-line);padding-left:12px}.gps-trip-details small{color:var(--gp-muted);display:block;font-size:11px}.gps-trip-details b{font-size:15px}.gps-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}.gps-info{background:var(--gp-bg);border:1px solid var(--gp-line);border-radius:14px;padding:16px}.gps-info h3{font-size:14px;margin-bottom:8px}.gps-info p,.gps-info small{font-size:12px;color:var(--gp-muted)}.gps-info b{font-size:13px}.gps-timeline{margin-top:15px;border-top:1px solid var(--gp-line);padding-top:15px}.gps-timeline article{display:flex;align-items:start;gap:13px;padding:11px 0}.gps-timeline article svg{color:var(--gp-blue);margin-top:3px}.gps-timeline b{font-size:13px}.gps-timeline small{display:block;font-size:12px;color:var(--gp-muted)}.gps-replay{display:flex;gap:10px;align-items:center;background:var(--gp-bg);padding:12px;border:1px solid var(--gp-line);border-radius:12px;margin:10px 0}.gps-replay input{flex:1;min-width:40px;accent-color:var(--gp-blue);height:44px}.gps-replay output{font-size:12px;min-width:80px}.gps-empty{padding:30px 18px;text-align:center;color:var(--gp-muted);font-size:13px}.gps-loading{padding:70px 20px;text-align:center}.gps-loading h2{margin:15px}.gps-loading p{color:var(--gp-muted);margin-bottom:20px}.gps-footer{font-size:12px;color:var(--gp-muted);padding:16px 0;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.gps-phone-tabs{display:none}.gps-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.gps-dialog{--gp-card:#fff;--gp-text:#152438;--gp-muted:#5c6e82;--gp-line:#dce5ed;--gp-blue:#116dde;--gp-red:#b4333a;color:var(--gp-text);background:var(--gp-card);border:1px solid var(--gp-line);border-radius:22px;width:min(530px,calc(100% - 24px));padding:0;max-height:calc(100dvh - 30px);box-shadow:0 30px 120px #081b3c55}.gps-dialog::backdrop{background:#10213f88;backdrop-filter:blur(3px)}.gps-dialog header,.gps-dialog footer{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.gps-dialog header h2{margin:0;font-size:24px}.gps-dialog-body{padding:0 20px 10px;overflow:auto}.gps-dialog-body p{font-size:13px;color:var(--gp-muted)}.gps-dialog label{display:block;margin:14px 0}.gps-dialog select{width:100%}.gps-consent{display:flex!important;gap:10px;align-items:start;background:#edf4fa;border-radius:12px;padding:13px}.gps-consent input{width:20px;height:20px;min-height:20px;margin:0;accent-color:#116dde}.gps-consent span{margin:0!important;line-height:1.6}.gps-dialog footer{border-top:1px solid var(--gp-line);position:sticky;bottom:0;background:var(--gp-card)}.gps-dialog .gps-notice{margin-top:15px}.gps-sharing{position:fixed;bottom:18px;right:20px;z-index:1000;display:flex;align-items:center;gap:12px;background:#123f35;color:#fff;padding:11px 13px;border:1px solid #3da187;border-radius:15px;box-shadow:0 5px 25px #14273630;max-width:calc(100% - 28px);font:13px/1.35 system-ui,sans-serif}.gps-sharing button{border:0;background:transparent;color:inherit;cursor:pointer;min-height:44px;font:inherit;text-align:left}.gps-sharing small{display:block;color:#c0e5d9}.gps-sharing .gps-stop{background:#fff;color:#164337;padding:10px 14px;border-radius:10px;font-weight:800}.gps-sharing.paused{background:#664715;border-color:#c69b4d}.gps-sharing[hidden]{display:none}
[data-nm-theme=dark] .gps-root,[data-theme=dark] .gps-root,body.dark .gps-root,.gps-root[data-theme=dark]{--gp-bg:#111d2b;--gp-card:#182636;--gp-text:#e9f0f8;--gp-muted:#a2b3c7;--gp-line:#304258;--gp-soft:#21364b;--gp-blue:#489bff;--gp-green:#7ddfbc;--gp-amber:#f1c675;--gp-red:#ffacb0}[data-nm-theme=dark] .gps-dialog,[data-theme=dark] .gps-dialog,body.dark .gps-dialog,.gps-dialog[data-theme=dark]{--gp-card:#182636;--gp-text:#e9f0f8;--gp-muted:#a2b3c7;--gp-line:#304258;--gp-blue:#489bff;--gp-red:#ffacb0}[data-nm-theme=dark] .gps-consent,[data-theme=dark] .gps-consent,body.dark .gps-consent{background:#21364b}[data-nm-theme=dark] .gps-map,[data-theme=dark] .gps-map,body.dark .gps-map,.gps-root[data-theme=dark] .gps-map{background-color:#1f3245}[data-nm-theme=dark] .gps-notice,[data-theme=dark] .gps-notice,body.dark .gps-notice{background:#213c59;color:#c0ddff;border-color:#3c5f82}[data-nm-theme=dark] .gps-notice.error,[data-theme=dark] .gps-notice.error,body.dark .gps-notice.error{background:#482a32;color:#ffc8c8;border-color:#76505b}[data-nm-theme=dark] .gps-chip,[data-theme=dark] .gps-chip,body.dark .gps-chip{background:#283e52}[data-nm-theme=dark] .gps-chip.moving,[data-theme=dark] .gps-chip.moving,[data-nm-theme=dark] .gps-chip.stopped,[data-theme=dark] .gps-chip.stopped,body.dark .gps-chip.moving,body.dark .gps-chip.stopped{background:#204a40}[data-nm-theme=dark] .gps-chip.stale,[data-theme=dark] .gps-chip.stale,[data-nm-theme=dark] .gps-chip.weak,[data-theme=dark] .gps-chip.weak,[data-nm-theme=dark] .gps-chip.waiting,[data-theme=dark] .gps-chip.waiting,body.dark .gps-chip.stale,body.dark .gps-chip.weak,body.dark .gps-chip.waiting{background:#4d3e28}
@media(min-width:1600px){.gps-map{height:470px}.gps-workspace{grid-template-columns:310px minmax(0,1fr)}}@media(max-width:1050px){.gps-workspace{grid-template-columns:230px minmax(0,1fr)}.gps-trip-details{grid-template-columns:repeat(2,1fr)}.gps-metric{padding:14px}.gps-head{align-items:start}.gps-map{height:350px}}
@media(max-width:700px){.gps-head{display:block;padding:16px 0}.gps-head h1{font-size:29px}.gps-head p{font-size:13px}.gps-head .gps-actions{margin-top:16px}.gps-metrics{grid-template-columns:repeat(2,1fr);gap:8px}.gps-metric{padding:12px 14px;border-radius:13px}.gps-metric b{font-size:25px}.gps-phone-tabs{display:flex;gap:6px;padding:5px;background:var(--gp-card);border:1px solid var(--gp-line);border-radius:13px;margin-bottom:12px}.gps-phone-tabs button{flex:1}.gps-workspace{display:block}.gps-fleet{margin-bottom:14px}.gps-root[data-phone-tab=map] .gps-fleet,.gps-root[data-phone-tab=trip] .gps-fleet{display:none}.gps-root[data-phone-tab=fleet] .gps-main{display:none}.gps-root[data-phone-tab=map] .gps-trip{display:none}.gps-root[data-phone-tab=trip] .gps-map-wrap{display:none}.gps-root[data-phone-tab=trip] .gps-trip{padding-top:18px}.gps-vehicle-list{max-height:none}.gps-map-wrap{margin:9px}.gps-map{height:360px}.gps-map-controls{right:8px;top:8px;gap:4px}.gps-map-controls .gps-btn{min-height:44px;padding:8px}.gps-map-controls .gps-btn span{font-size:12px}.gps-trip{padding:5px 15px 18px}.gps-detail-grid{grid-template-columns:1fr}.gps-topbar{padding:10px}.gps-route-tools{padding:12px;gap:9px}.gps-route-tools label{flex:1;min-width:110px}.gps-route-tools select{width:100%}.gps-route-tools input{width:100%}.gps-sharing{bottom:10px;right:10px;padding:6px 10px;font-size:12px}.gps-footer{padding-bottom:85px}.gps-dialog header{padding:16px}.gps-dialog-body{padding:0 16px 8px}.gps-dialog footer{padding:14px}.gps-dialog header h2{font-size:23px}.gps-checked{width:100%;padding-left:8px}}@media(prefers-reduced-motion:reduce){.gps-root *{scroll-behavior:auto!important}}
