:root{font-family:Arial,Helvetica,sans-serif;color:#20334b;background:#fff;font-synthesis:none;--blue:#4487ff;--line:#e5e9ef;--muted:#93a0b1}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible{outline:3px solid #9fc5ff;outline-offset:3px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}.login-page{display:flex;min-height:100vh}.login-panel{width:36%;min-width:430px;display:flex;flex-direction:column;min-height:100vh;padding:25px 32px}.language{font-size:13px;color:#365271}.language span{margin-left:12px}.login-content{width:320px;max-width:100%;margin:auto; padding:55px 0 75px}.brand{display:flex;align-items:center;justify-content:center;gap:12px;font-size:49px;letter-spacing:-2.5px;color:#292f38}.brand-icon{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;width:49px;height:49px;border-radius:16px 16px 16px 4px;font-size:31px;transform:rotate(-12deg);box-shadow:0 6px 18px #4487ff25}.brand-gps{font-size:12px;color:var(--blue);font-weight:bold;letter-spacing:1px;margin-left:7px}.login-tagline{text-align:center;color:#8c98a7;font-size:13px;margin:17px 0 37px}form>label{display:block;font-size:12px;margin:17px 0 7px}input:not([type=checkbox]){width:100%;height:42px;border:1px solid #d6dbe2;border-radius:4px;background:#fff;padding:0 12px;color:#20334b;font-size:13px;outline:none}input::placeholder{color:#a2abba}input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #4487ff12}.password-field{position:relative}.password-field input{padding-right:43px}.password-field button{position:absolute;right:4px;top:4px;width:35px;height:35px;color:#718299;display:grid;place-items:center}.login-options{display:flex;justify-content:space-between;align-items:center;margin:18px 0 22px;font-size:12px}.checkbox{display:flex;align-items:center;gap:6px}.checkbox input{margin:0;accent-color:var(--blue)}.text-button{color:var(--blue);font-size:12px;padding:0}.primary{background:var(--blue);color:#fff;border-radius:4px;padding:12px 18px;font-weight:600;font-size:13px}.primary:hover{background:#3477ed}.login-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:17px;height:42px}.login-submit span:last-child{font-size:23px;font-weight:normal}.login-note{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:11px;color:#a0aab7;text-align:center}.small-shield{font-size:16px;margin-right:5px}.error{font-size:12px;background:#fff1f0;color:#bb4236;padding:12px;line-height:1.5;border-radius:4px}.help-text{font-size:12px;line-height:1.6;color:#6d7c8d}.login-footer{text-align:center;font-size:11px;color:#a4aebc;line-height:2.8}.login-footer>div{font-weight:bold;color:#7b8ba0;letter-spacing:.4px}.login-footer>div span{font-weight:normal;color:#b1bac7;margin-left:8px}.login-hero{flex:1;background:linear-gradient(180deg,#19292120 10%,#152b2399 65%,#0d201be6 100%),url('/field.jpg') center/cover;display:flex;flex-direction:column;justify-content:space-between;padding:44px 8% 46px 6%;color:white;min-height:100vh}.hero-top{font-size:10px;letter-spacing:2px;display:flex;align-items:center;gap:10px}.hero-dot{height:6px;width:6px;background:#fff;border-radius:50%}.hero-copy{max-width:620px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600}.hero-copy .eyebrow{color:#d0ddc6}.hero-copy h1{font-size:clamp(44px,4.7vw,78px);line-height:1.06;font-weight:400;letter-spacing:-2px;margin:22px 0}.hero-copy p{font-size:17px;line-height:1.7;color:#e2e7de}.hero-line{height:1px;background:#ffffff40;margin:36px 0 24px}.hero-bottom{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.5px;color:#d0dacd}.hero-bottom>span:last-child span{margin-left:18px;font-size:18px}.workspace{height:100dvh;overflow:hidden}.app-header{height:65px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid #dde3eb;gap:42px;background:white;position:relative;z-index:1001}.brand.small{font-size:29px;letter-spacing:-1.5px;gap:9px}.small .brand-icon{height:30px;width:30px;font-size:19px;border-radius:10px 10px 10px 3px}.small .brand-gps{font-size:9px;margin-left:4px}.app-header nav{display:flex;height:100%;gap:25px}.nav-item{border-bottom:3px solid transparent;padding:3px 0 0;font-size:13px;color:#7e8ba0}.nav-item.active{border-color:var(--blue);color:var(--blue)}.nav-item span{margin-left:6px}.account{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:12px}.account button{color:#75849a;font-size:12px}.demo-badge{background:#fff5df;color:#a27c2c;font-size:9px;letter-spacing:.7px;border:1px solid #f4e6c4;border-radius:4px;padding:6px 8px}.monitor-layout{display:flex;height:calc(100dvh - 65px)}.sidebar{width:350px;flex-shrink:0;border-right:1px solid var(--line);display:flex;flex-direction:column;background:white;z-index:500}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 22px 22px}.sidebar h1{font-size:20px;font-weight:500;margin:0 0 8px}.muted{color:var(--muted);font-size:11px}.count{background:#edf3ff;color:var(--blue);border-radius:6px;padding:7px 11px;font-size:13px}.search-wrap{position:relative;margin:0 20px 18px}.search-wrap>span{position:absolute;left:12px;top:7px;color:#a4b0bd;font-size:21px}.search-wrap input{padding-left:35px;font-size:11px;height:37px;background:#fbfcfd}.status-filters{display:flex;padding:0 18px 17px;gap:5px}.status-filters button{font-size:10px;white-space:nowrap;border:1px solid var(--line);padding:7px 7px;border-radius:4px;color:#8491a2}.status-filters b{margin-left:3px;font-weight:normal}.status-filters button.selected{background:#eef4ff;color:var(--blue);border-color:#cfdef9}.list-caption{font-size:9px;letter-spacing:1px;display:flex;justify-content:space-between;padding:12px 23px;background:#fafbfd;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#a0adbb}.vehicle-list{overflow:auto;flex:1}.vehicle-row{width:100%;display:flex;text-align:left;align-items:center;gap:11px;padding:20px;border-bottom:1px solid #eef1f5;border-left:3px solid transparent}.vehicle-row:hover{background:#f8faff}.vehicle-row.active{background:#f0f5ff;border-left-color:var(--blue)}.vehicle-symbol{width:35px;height:35px;border-radius:8px;display:grid;place-items:center;background:#f0f4fa;color:#778ba7;font-size:19px;position:relative}.status-dot{position:absolute;width:8px;height:8px;background:#31b88a;border:2px solid white;border-radius:50%;right:-1px;bottom:0}.stopped .status-dot{background:#eda84a}.offline .status-dot{background:#a9b4c1}.vehicle-label{flex:1}.vehicle-label strong{font-size:12px;font-weight:600;display:block;margin-bottom:7px}.vehicle-label small{font-size:10px;color:#95a2b2}.vehicle-speed{text-align:right;font-size:13px;color:#35a681}.vehicle-speed small{display:block;margin-top:5px;font-size:9px;color:#9ba7b5}.stopped .vehicle-speed{color:#d69a38}.offline .vehicle-speed{color:#a1aab6}.sidebar-bottom{border-top:1px solid var(--line);padding:18px 15px;font-size:9px;color:#94a2b5;display:flex;gap:7px;align-items:center}.sidebar-bottom>span:last-child{margin-left:auto}.live-dot{width:6px;height:6px;display:inline-block;background:#43b78b;border-radius:50%;margin-right:3px}.map-area{position:relative;flex:1;min-width:0;background:#e6ece8}#map{position:absolute;inset:0;z-index:0}.map-heading{position:absolute;top:20px;left:20px;right:65px;display:flex;justify-content:space-between;gap:10px;pointer-events:none}.map-heading>div,.map-heading>button{pointer-events:auto;background:#fff;border:1px solid #e1e6eb;box-shadow:0 2px 10px #23374d0b;border-radius:5px;padding:11px 14px;font-size:11px}.map-heading>button{color:#58718f}.map-demo{position:absolute;bottom:25px;left:20px;padding:8px 11px;border-radius:4px;background:#ffffffeb;color:#73849a;font-size:10px;max-width:calc(100% - 40px)}.vehicle-detail{position:absolute;right:22px;bottom:40px;width:310px;background:white;border-radius:9px;box-shadow:0 8px 35px #23374d22;overflow:hidden}.detail-head{padding:20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.detail-head h2{font-size:16px;margin:0 0 7px}.detail-head p{font-size:11px;color:#93a0af;margin:0}.detail-head button{font-size:23px;color:#96a2b0}.detail-stats{display:grid;grid-template-columns:1fr 1fr;padding:18px 20px;background:#fbfcfe;gap:15px}.detail-stats small{font-size:10px;display:block;color:#93a1b3;margin-bottom:8px}.detail-stats strong{font-size:22px;font-weight:500}.detail-stats strong span{font-size:11px;color:#93a1b3}.detail-info{font-size:11px;padding:15px 20px;line-height:2;color:#6c7e94}.detail-info div:last-child{color:#a1aebc;font-size:10px}.map-error{position:absolute;top:80px;left:20px;background:#fff;padding:16px;max-width:300px;font-size:12px;line-height:1.5;border-radius:5px}.map-marker{background:#fff;border-radius:10px;box-shadow:0 2px 8px #16304740;display:grid;place-items:center;color:#29a775;border:2px solid #fff;font-size:22px}.map-marker.stopped{color:#de9d39}.map-marker.offline{color:#8a9bac}.map-marker.selected{border-color:var(--blue);box-shadow:0 0 0 4px #4487ff2f}.leaflet-tooltip{font-family:Arial,sans-serif;font-size:11px;border:0;box-shadow:0 2px 9px #16304720}.fleet-view{background:#f6f8fb;flex:1;min-width:0;padding:38px;overflow:auto}.fleet-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.fleet-title .eyebrow{color:#92a0b2}.fleet-title h1{font-size:26px;font-weight:500}.fleet-title p{font-size:12px;color:#91a0b2;line-height:1.6}.table-scroll{overflow:auto;background:white;border:1px solid var(--line);border-radius:7px;margin-top:25px}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{text-align:left;color:#91a0b1;font-size:10px;font-weight:500;background:#fbfcfe}td,th{padding:18px;border-bottom:1px solid #eef1f5}.empty{color:#94a1b3;padding:30px 20px;font-size:12px;text-align:center}@media(min-width:1500px){.login-content{padding-bottom:105px}.login-hero{padding-left:7%}}@media(max-width:1000px){.login-panel{min-width:390px}.login-hero{padding:35px}.hero-copy h1{font-size:49px}.sidebar{width:310px}.app-header{gap:25px;padding:0 16px}.account{gap:10px}.demo-badge{display:none}.vehicle-detail{width:270px}.fleet-view{padding:20px}.fleet-title{align-items:flex-start;flex-direction:column}}@media(max-width:700px){.login-panel{width:100%;min-width:0;padding:22px 26px}.login-hero{display:none}.login-content{padding:45px 0;max-width:340px;width:100%}.app-header{height:58px;gap:15px;padding:0 12px}.brand.small{font-size:24px}.small .brand-icon{width:25px;height:25px}.small .brand-gps{display:none}.app-header nav{gap:15px}.nav-item{font-size:11px}.nav-item span{margin-left:2px}.account{font-size:10px}.account>#account-name{display:none}.account button{font-size:10px}.monitor-layout{height:calc(100dvh - 58px);flex-direction:column}.sidebar{width:100%;height:40%;min-height:200px;border-right:0;order:2}.sidebar-heading{display:none}.search-wrap{margin:10px 12px 8px}.status-filters{padding:0 12px 8px}.list-caption,.sidebar-bottom{display:none}.vehicle-row{padding:11px 16px}.map-area{min-height:220px;height:60%;order:1}.map-heading{top:12px;left:12px;right:55px}.map-heading>div,.map-heading>button{font-size:9px;padding:9px}.map-demo{font-size:8px;bottom:20px;left:10px}.vehicle-detail{width:240px;right:10px;bottom:42px}.detail-head{padding:12px}.detail-stats{padding:10px 12px}.detail-stats strong{font-size:19px}.detail-info{padding:8px 12px;font-size:10px}.fleet-view{width:100%;height:100%}.hero-copy h1{font-size:42px}}

.users-layout{display:grid;grid-template-columns:minmax(280px,380px) minmax(280px,1fr);gap:24px;margin-top:25px;align-items:start}.user-card{background:white;border:1px solid var(--line);border-radius:8px;padding:24px}.user-card h2{font-size:17px;margin:0 0 14px;font-weight:500}.user-card p{font-size:12px;color:#7a8b9e;line-height:1.6}.user-card .primary{margin-top:10px}.success{background:#edf9f2;color:#278359!important;padding:12px;border-radius:4px}.role-badge{background:#f0f3f8;padding:6px 9px;border-radius:4px;font-size:11px}.role-badge.admin{background:#edf3ff;color:#4487ff}@media(max-width:1000px){.users-layout{grid-template-columns:1fr}}@media(max-width:700px){.app-header{gap:10px}.app-header nav{gap:10px}.brand.small{font-size:19px}.nav-item{font-size:10px}.user-card{padding:18px}}

.map-picker{position:absolute;top:70px;left:20px;z-index:450;color:#365271}.map-picker summary{display:flex;align-items:center;gap:10px;cursor:pointer;background:#fff;border:1px solid #dce3eb;border-radius:5px;padding:10px 12px;font-size:12px;box-shadow:0 2px 8px #23374d14;list-style:none}.map-picker summary::-webkit-details-marker{display:none}.map-picker summary:focus-visible{outline:3px solid #9fc5ff}.map-picker[open] summary{color:#4487ff}.map-picker fieldset{background:white;padding:8px;border:1px solid #dce3eb;border-radius:5px;margin:6px 0 0;box-shadow:0 5px 20px #23374d22;width:255px}.map-picker legend{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.map-picker label{display:flex;align-items:center;gap:10px;padding:12px 8px;cursor:pointer;border-radius:4px}.map-picker label:hover{background:#f3f7ff}.map-picker input{accent-color:#4487ff}.map-picker strong{display:block;font-size:12px;font-weight:500}.map-picker small{display:block;font-size:10px;color:#8a99ad;margin-top:5px}.map-picker p{font-size:10px;line-height:1.5;color:#8996a7;padding:8px;margin:0;border-top:1px solid #edf0f4}.map-area .leaflet-control-attribution{max-width:min(100%,720px);font-size:9px}.map-error{top:120px;z-index:400}@media(max-width:700px){.map-picker{top:55px;left:12px}.map-picker summary{padding:8px;font-size:10px}.map-picker fieldset{width:230px}.map-demo{max-width:calc(100% - 20px);bottom:40px}.map-area .leaflet-control-attribution{font-size:8px}}

/* Compact fleet monitoring workspace */
.workspace .app-header{height:36px;background:#596371;color:#fff;padding:0 14px;gap:26px;border:0}.workspace .brand.small{font-size:23px;color:#fff}.workspace .small .brand-icon{width:23px;height:23px;font-size:15px;border-radius:7px 7px 7px 2px;box-shadow:none}.workspace .small .brand-gps{color:#cbdcff}.workspace .app-header nav{gap:0}.workspace .nav-item{color:#edf1f7;padding:0 12px;font-size:12px;border:0}.workspace .nav-item.active{background:#414c5b;box-shadow:inset 0 -2px #80acff}.workspace .account button{color:#e0e6ef}.workspace .demo-badge{padding:3px 6px;font-size:8px;background:#ffffff18;border-color:#ffffff30;color:#f1ddac}.workspace .monitor-layout{height:calc(100dvh - 36px)}.workspace .sidebar{width:365px}.workspace .sidebar-heading{display:none}.workspace .search-wrap{margin:8px 8px 7px}.workspace .search-wrap input{height:29px;font-size:12px;border-radius:2px}.workspace .search-wrap>span{top:2px}.workspace .status-filters{padding:0 8px 7px;gap:4px}.workspace .status-filters button{padding:5px 7px;font-size:10px;border-radius:2px}.monitor-tools{display:flex;align-items:center;gap:7px;padding:5px 8px;border-top:1px solid #edf0f3;border-bottom:1px solid #e6e9ed;height:33px;color:#63758c}.monitor-tools label{font-size:11px;display:flex;align-items:center;gap:5px}.monitor-tools input,.vehicle-visible{accent-color:#4487ff;width:13px;height:13px;margin:0;cursor:pointer}.monitor-tools button{border:1px solid #dce3eb;border-radius:3px;height:23px;min-width:25px;font-size:14px}.monitor-tools button[aria-pressed=true]{background:#eaf2ff;color:#4487ff}.monitor-tools>span{margin-left:auto;font-size:10px;color:#8a96a6}.workspace .list-caption{padding:7px 10px;font-size:9px;background:white;border-top:0;letter-spacing:.5px}.workspace .vehicle-row{padding:0 7px;height:34px;min-height:34px;gap:7px;border-left:2px solid transparent;border-bottom:1px solid #e9edf2;display:flex;background:#f6f7f9}.workspace .vehicle-row:nth-child(even){background:#fff}.workspace .vehicle-row:hover{background:#eef4fc}.workspace .vehicle-row.active{background:#e6efff;border-left-color:#4487ff}.vehicle-select{display:flex;align-items:center;gap:7px;min-width:0;flex:1;padding:0;height:100%;text-align:left;color:#23446a}.vehicle-mini{width:19px;height:27px;flex-shrink:0;display:flex;align-items:center}.vehicle-mini svg{width:18px;height:25px;transform:rotate(90deg)}.workspace .vehicle-label{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;line-height:32px}.vehicle-label>span{color:#49627c}.vehicle-center{width:22px;flex-shrink:0;padding:0;font-size:20px;color:#6783a7}.connection-dot{width:7px;height:7px;border-radius:50%;background:#30b77d;flex-shrink:0}.stopped .connection-dot{background:#e1a33e}.offline .connection-dot{background:#a8b1bd}.workspace .vehicle-speed{font-size:11px;width:25px;flex-shrink:0;color:#63758a}.workspace .sidebar-bottom{padding:8px;font-size:9px}.vehicle-map-icon{background:none;border:0;filter:drop-shadow(0 1px 2px #0009)}.vehicle-map-icon svg{width:28px;height:38px}.vehicle-map-icon.offline{filter:grayscale(1) drop-shadow(0 1px 2px #0009)}.vehicle-map-icon.selected{border-radius:6px;outline:2px solid #4487ff;outline-offset:3px;background:#ffffff45}.leaflet-tooltip.vehicle-map-label{padding:2px 5px;background:#ffffffdc;color:#203b56;border:1px solid #b3bdc780;border-radius:2px;box-shadow:0 1px 4px #0002;font-size:10px;line-height:14px;white-space:nowrap;cursor:pointer}.leaflet-tooltip.vehicle-map-label:before{display:none}.workspace .map-heading{top:10px;left:10px;right:48px}.workspace .map-heading>div,.workspace .map-heading>button{padding:7px 10px;font-size:10px;border-radius:3px}.workspace .map-picker{top:47px;left:10px}.workspace .map-picker summary{font-size:10px;padding:7px 9px;border-radius:3px}.workspace .map-demo{font-size:9px;padding:5px 8px}.workspace .vehicle-detail{z-index:460}
@media(min-width:1500px){.workspace .sidebar{width:400px}.workspace .vehicle-label{font-size:12px}}
@media(max-width:700px){.workspace .app-header{gap:8px;height:40px;padding:0 8px}.workspace .brand.small{font-size:19px}.workspace .nav-item{font-size:10px;padding:0 6px}.workspace .nav-item span{margin:0}.workspace .monitor-layout{height:calc(100dvh - 40px)}.workspace .sidebar{width:100%;height:38%;min-height:190px}.workspace .map-area{height:62%}.workspace .vehicle-row{height:33px;min-height:33px}.workspace .vehicle-label{font-size:12px}.workspace .status-filters{padding-bottom:5px}.workspace .search-wrap{margin:5px 8px}.workspace .list-caption{display:none}.workspace .map-heading>div{display:none}.workspace .map-heading{justify-content:flex-end}.workspace .map-picker{top:10px}.workspace .map-demo{bottom:38px;font-size:8px}.workspace .vehicle-detail{bottom:60px}.workspace .monitor-tools{height:29px}}

.add-vehicle-panel{margin-top:22px;max-width:900px}.add-vehicle-panel summary{cursor:pointer;color:#4487ff;font-size:14px;font-weight:600}.vehicle-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.vehicle-form label{display:block;font-size:12px;margin-bottom:7px}.vehicle-form p{grid-column:1/-1;margin:0}.vehicle-form button{justify-self:start}.pending .connection-dot{background:#a8b1bd}.vehicle-center:disabled{opacity:.3;cursor:default}.vehicle-visible:disabled{opacity:.4}.pending .vehicle-speed{color:#a8b1bd}@media(max-width:700px){.vehicle-form{grid-template-columns:1fr}}
