:root{--red:#e81938;--red-dark:#c8102d;--ink:#202730;--muted:#7b8491;--line:#e7eaee;--bg:#f5f6f8;--green:#22936f;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:14px/1.5 var(--font);background:var(--bg)}[hidden]{display:none!important}h1,h2,p{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}input{min-width:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}.muted{color:var(--muted)}.small{font-size:12px}.section-label,.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.7px;color:var(--muted)}.brand{display:inline-flex;align-items:center;gap:11px}.brand-mark{display:grid;place-items:center;width:36px;height:40px;background:var(--red);border-radius:11px;color:white}.brand-mark svg{width:22px;height:24px}.brand strong{font-size:21px;letter-spacing:-.6px}.brand strong>span{font-size:12px;font-weight:500;letter-spacing:1px;margin-left:7px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 16px;border-radius:9px;border:1px solid transparent;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,box-shadow .15s}.button.primary,.square-primary{background:var(--red);color:#fff;border:0}.button.primary:hover,.square-primary:hover{background:var(--red-dark)}.button.secondary{background:white;border-color:var(--line);color:#4f5967}.button.secondary:hover{background:#f5f6f8}.wide{width:100%}.icon-button{width:36px;height:36px;display:grid;place-items:center;background:transparent;border:0;border-radius:8px;color:#75808d}.icon-button:hover{color:var(--ink);background:#f0f2f5}.text-button{display:inline-flex;align-items:center;gap:6px;padding:5px 0;border:0;background:transparent;color:#7b8491;font-size:11px;font-weight:600}.text-button:hover{color:var(--red)}.text-button.selected{color:var(--red)}.text-button svg{width:16px;height:16px}.danger{color:var(--red)}input:not([type=checkbox]){width:100%;height:44px;padding:0 13px;color:var(--ink);border:1px solid #dce1e7;background:white;border-radius:8px;outline:none}input::placeholder{color:#adb4be}input:focus{border-color:var(--red);box-shadow:0 0 0 3px #e8193810}button:focus-visible,a:focus-visible{outline:3px solid #e8193850;outline-offset:3px}label{display:block;font-size:12px;font-weight:550}label>input{display:block;margin-top:8px}.form-error{background:#fff0f2;color:#bb1632;border-radius:7px;padding:10px 12px;font-size:12px}.notice{background:#f1f5fa;border:1px solid #e0e8f2;border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.6;color:#576b84}.notice.error{color:#b72940;background:#fff0f2;border-color:#f8d8df;margin-bottom:16px}
.login-view{min-height:100dvh;display:grid;grid-template-columns:47% 53%;background:#fff}.login-story{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:100dvh;background:#cb1432;color:white;padding:48px 60px}.brand-light .brand-mark{background:#ffffff20}.brand-light strong>span{color:#ffbdc8}.story-content{margin:auto 0;position:relative;z-index:1;padding:75px 0 100px}.story-content .eyebrow{color:#ffb8c5}.story-content h1{font-size:clamp(36px,4.1vw,62px);line-height:1.14;font-weight:600;letter-spacing:-2.3px;margin:22px 0}.story-content>p{max-width:370px;font-size:15px;line-height:1.8;color:#ffd5dd}.story-note{display:flex;align-items:center;gap:15px;margin-top:45px;font-size:13px}.story-note>svg{width:43px;height:43px;padding:10px;box-sizing:content-box;border:1px solid #ffffff30;border-radius:15px}.story-note small{font-size:11px;color:#ffc2cd}.story-footer{font-size:11px;color:#ffbbc8;position:relative;z-index:1}.story-route{position:absolute;right:-65px;bottom:35px;width:560px;opacity:.12;transform:rotate(-14deg)}.story-route svg{width:100%;height:auto;stroke-width:2;stroke:white}.story-route circle{fill:white}.login-form-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:60px 40px}.login-form{width:100%;max-width:350px}.login-form h2{font-size:30px;font-weight:600;letter-spacing:-.9px;margin:12px 0}.login-form>.muted{font-size:13px;line-height:1.7;margin-bottom:34px}.login-form label{margin-bottom:20px}.login-form .button{margin-top:8px;justify-content:space-between;padding:14px 18px;font-size:13px;min-height:48px}.login-help{display:flex;gap:10px;color:#9aa2ad;align-items:center;margin-top:28px;font-size:11px;line-height:1.7}.login-help svg{width:17px;height:17px}.login-copyright{position:absolute;bottom:35px;color:#abb1ba;font-size:10px}
.app-header{height:76px;display:flex;align-items:center;padding:0 30px;gap:25px;background:white;border-bottom:1px solid var(--line)}.header-divider{height:24px;width:1px;background:var(--line)}.header-subtitle{font-size:12px;color:var(--muted)}.header-right{margin-left:auto;display:flex;align-items:center;gap:12px}.user-role{font-size:11px;color:var(--muted);margin-right:8px}.app-layout{display:grid;grid-template-columns:306px minmax(0,1fr);min-height:calc(100dvh - 76px)}.sidebar{background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;height:calc(100dvh - 76px);position:sticky;top:0}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:28px 22px 22px}.sidebar-heading h2{font-size:19px;letter-spacing:-.4px;font-weight:600;margin-top:8px}.count{font-size:11px;padding:3px 7px;margin-left:5px;color:#8b94a1;background:#f1f3f6;vertical-align:middle;border-radius:5px;letter-spacing:0}.square-primary{height:32px;width:32px;display:grid;place-items:center;border-radius:9px}.square-primary svg{width:18px}.search-field{display:flex;align-items:center;margin:0 22px;position:relative}.search-field svg{position:absolute;left:11px;z-index:1;color:#adb5c0;width:16px;height:16px}.search-field input{height:38px;font-size:11px;padding-left:35px;background:#f7f8fa;border-color:#f0f2f5;margin:0}.sidebar-filters{display:flex;align-items:center;justify-content:space-between;padding:19px 22px 12px}.archive-toggle{font-size:10px;color:#8b94a1;font-weight:400;display:flex;gap:5px;align-items:center}.archive-toggle input{accent-color:var(--red);margin:0;width:12px;height:12px}.employee-list{padding:0 10px 18px;flex:1;overflow:auto}.employee-item{display:flex;gap:12px;padding:16px 12px;width:100%;border:0;border-radius:10px;background:white;text-align:left;margin-bottom:3px;align-items:center}.employee-item:hover{background:#f7f8fa}.employee-item.selected{background:#fff1f4;box-shadow:inset 3px 0 var(--red)}.employee-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eff2f6;color:#778698;font-size:11px;font-weight:600;flex-shrink:0}.employee-item.selected .employee-avatar{background:#fbe0e7;color:var(--red)}.employee-info{min-width:0;flex:1}.employee-info strong{font-size:12px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-info small{display:block;color:#9aa3ae;font-size:10px;margin-top:5px}.employee-status{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:10px;color:#929ba7}.status-dot{display:inline-block;border-radius:50%;width:6px;height:6px;flex-shrink:0}.status-dot.neutral{background:#acb4c0}.status-dot.fresh{background:var(--green)}.sidebar-empty{padding:32px 20px;text-align:center;color:#a0a8b3;font-size:11px;line-height:1.8}.sidebar-footer{border-top:1px solid var(--line);display:flex;align-items:center;gap:8px;padding:17px 22px;color:#9aa3ae;font-size:10px}.workspace{min-width:0;padding:29px 32px 0}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.breadcrumb{font-size:10px;color:#a0a7b1;margin-bottom:10px;display:flex;gap:10px}.breadcrumb>span:last-child{color:#75808e}.workspace h1{font-size:25px;line-height:1.3;font-weight:600;letter-spacing:-.8px}.workspace-heading .muted{font-size:11px;margin-top:7px}.heading-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.date-control{position:relative;display:flex;align-items:center}.date-control>svg{width:15px;height:15px;position:absolute;left:12px;color:#8692a1;pointer-events:none}.date-control input{width:156px;height:40px;padding:0 8px 0 34px;font-size:11px;font-weight:500;border-color:var(--line);margin:0;color:#596575}.heading-actions .button{min-height:40px}.heading-actions .button svg{width:16px;height:16px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}.metric{background:white;border:1px solid var(--line);border-radius:11px;padding:16px 19px}.metric>span{font-size:11px;color:#85909e}.metric>div{display:flex;align-items:center;justify-content:space-between;margin:7px 0 2px;min-height:36px}.metric strong{font-size:29px;line-height:1.2;font-weight:600;letter-spacing:-1px}.metric svg{width:20px;height:20px;color:#b9c1cc}.metric small{font-size:9px;color:#adb4bf;display:block}.metric-indicator{width:8px;height:8px;background:#29a87b;border:5px solid #e4f4ed;box-sizing:content-box;border-radius:50%}.map-card{border:1px solid var(--line);background:white;border-radius:13px;overflow:hidden}.map-card-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 19px;min-height:51px;border-bottom:1px solid var(--line)}.map-card-heading>div{display:flex;gap:9px;align-items:center}.map-card-heading strong{font-size:11px;font-weight:600}.live-mark{display:inline-block;width:7px;height:7px;background:var(--red);box-shadow:0 0 0 4px #fff0f3;border-radius:50%;margin-right:2px}.map-card-heading .text-button{font-size:10px;color:#939daa}.map-wrapper{position:relative;height:clamp(345px,51dvh,630px)}#map{height:100%;width:100%;background:#e9edf0;z-index:1}.map-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:500;width:min(370px,calc(100% - 80px));background:#ffffffed;border:1px solid #fff;border-radius:16px;padding:25px;text-align:center;box-shadow:0 8px 45px #37465b18;backdrop-filter:blur(8px)}.empty-icon{display:grid;place-items:center;width:43px;height:43px;background:#fff0f3;border-radius:14px;margin:0 auto 15px;color:var(--red)}.map-empty h2{font-size:17px;letter-spacing:-.4px;font-weight:600}.map-empty p{font-size:11px;line-height:1.8;color:#8a95a3;max-width:280px;margin:10px auto 18px}.map-empty .button{font-size:11px;min-height:37px}.map-empty .button svg{width:15px;height:15px}.map-footer{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:12px 18px;font-size:9px;color:#9aa3af}.map-footer>span{display:flex;align-items:center;gap:6px}.map-footer>small{font-size:9px;margin-left:auto}.route-details{padding:22px 24px;background:white;border:1px solid var(--line);border-radius:12px;margin-top:20px}.detail-heading{display:flex;justify-content:space-between;align-items:center}.detail-heading h2{font-size:18px;margin-top:6px;letter-spacing:-.4px;font-weight:600}.detail-heading .button{font-size:10px;min-height:34px}.detail-heading .button svg{width:15px;height:15px}.route-details>.muted{font-size:11px;line-height:1.8;margin-top:13px}.stops-list{margin-top:15px}.stop-item{display:flex;gap:13px;padding:12px 0;border-bottom:1px solid #f0f2f5;font-size:11px;align-items:center}.stop-number{width:26px;height:26px;display:grid;place-items:center;background:#fff0f3;color:var(--red);border-radius:8px;font-weight:600}.stop-item small{display:block;font-size:10px;color:#929ca9;margin-top:3px}.stop-item .text-button{margin-left:auto;font-size:10px}.employee-actions{display:flex;gap:22px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.employee-actions .danger{margin-left:auto}.workspace-footer{display:flex;justify-content:space-between;gap:20px;padding:22px 0;font-size:9px;color:#a7afba}.workspace-footer>span:first-child{font-weight:600;letter-spacing:.8px}.gps-marker{background:none;border:0}.gps-marker-dot{background:var(--red);border:3px solid white;box-shadow:0 3px 10px #27374e50;border-radius:50%;width:19px;height:19px}.gps-marker-dot.stale{background:#8f9bab}.stop-marker{background:white;border:2px solid var(--red);color:var(--red);border-radius:50%;font-size:10px;font-weight:bold;text-align:center;line-height:21px}.leaflet-container{font-family:var(--font)}.leaflet-control-attribution{font-size:9px!important}.leaflet-popup-content strong{font-size:12px}.leaflet-popup-content small{display:block;margin-top:5px;color:#7a8796}.leaflet-bar{border:1px solid #dfe5ec!important;box-shadow:0 2px 6px #24354a0d!important}.leaflet-bar a{color:#617083!important;font-size:18px!important}
dialog{width:min(460px,calc(100% - 32px));padding:27px;border:1px solid #e8ebf0;border-radius:18px;box-shadow:0 24px 90px #11223930;color:var(--ink);max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#1522375c;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:14px}.dialog-heading h2{font-size:21px;font-weight:600;letter-spacing:-.5px}.dialog-heading .section-label+h2{margin-top:6px}.dialog-heading .icon-button{margin-right:-9px;flex-shrink:0}dialog p.muted{font-size:12px;line-height:1.8;margin-bottom:22px}dialog label{margin-top:18px}dialog .form-error{margin-top:15px}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:25px}.enrollment-code{background:#f6f7f9;border:1px solid var(--line);border-radius:12px;text-align:center;padding:19px 10px;font-variant-numeric:tabular-nums;font-size:26px;font-weight:600;letter-spacing:2px;margin:20px 0 12px}#enrollmentDialog .notice{margin:19px 0 15px}#enrollmentDialog p.small{font-size:10px;margin-bottom:0}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:2000;background:#263342;color:white;border-radius:10px;padding:12px 20px;font-size:12px;box-shadow:0 5px 30px #15223725;max-width:calc(100vw - 32px);text-align:center}
@media(min-width:1600px){.workspace{padding-left:45px;padding-right:45px}.app-layout{grid-template-columns:330px minmax(0,1fr)}}@media(max-width:1100px){.app-layout{grid-template-columns:260px minmax(0,1fr)}.workspace{padding:25px 22px 0}.workspace-heading{align-items:flex-start;flex-direction:column;gap:16px}.heading-actions{align-self:flex-start}.workspace h1{font-size:24px}.metrics{gap:10px}.metric{padding:14px}.metric>span{font-size:10px}.metric small{font-size:8px}.map-footer>small{margin-left:0;flex-basis:100%}.sidebar-heading{padding-left:18px;padding-right:18px}.sidebar-heading h2{font-size:18px}.search-field{margin:0 18px}.sidebar-filters{padding-left:18px;padding-right:18px}.login-story{padding:40px}.story-content h1{font-size:43px}.employee-actions{gap:13px}.employee-actions .danger{margin-left:0}}@media(max-width:700px){.login-view{grid-template-columns:1fr}.login-story{min-height:0;padding:27px 26px 30px}.story-content{padding:25px 0 0}.story-content h1{font-size:32px;letter-spacing:-1px;margin:12px 0}.story-content>p{font-size:12px;max-width:100%}.story-content h1 br{display:none}.story-note,.story-footer{display:none}.story-route{bottom:-160px;width:420px}.login-form-panel{padding:37px 26px 65px}.login-form h2{font-size:27px}.login-form>.muted{margin-bottom:26px}.login-copyright{bottom:20px}.app-header{height:65px;padding:0 18px;gap:12px}.app-header .brand-mark{width:30px;height:34px}.app-header .brand strong{font-size:18px}.header-subtitle,.header-divider,.user-role{display:none}.header-right{gap:3px}.app-layout{display:flex;flex-direction:column}.sidebar{height:auto;position:static;border-right:0;border-bottom:1px solid var(--line)}.sidebar-heading{padding:18px 19px 12px}.sidebar-heading .section-label{display:none}.sidebar-heading h2{margin:0;font-size:17px}.search-field{margin:0 18px}.sidebar-filters{padding:10px 19px 7px}.employee-list{display:flex;overflow-x:auto;max-height:160px;padding:0 12px 10px;gap:5px;flex-shrink:0}.employee-item{width:210px;flex-shrink:0;padding:10px}.employee-avatar{width:31px;height:31px;border-radius:9px}.employee-info strong{font-size:11px}.employee-info small{display:none}.sidebar-empty{width:100%;padding:8px 15px;font-size:10px}.sidebar-footer{display:none}.workspace{padding:20px 16px 0}.workspace-heading{gap:14px;margin-bottom:18px}.workspace h1{font-size:22px}.breadcrumb{margin-bottom:7px}.heading-actions{width:100%;justify-content:space-between}.date-control{flex:1}.date-control input{width:100%;max-width:210px}.metrics{gap:8px;margin-bottom:15px}.metric{padding:12px 9px;border-radius:9px}.metric strong{font-size:23px}.metric svg{width:16px;height:16px}.metric-indicator{width:5px;height:5px;border-width:3px}.metric>span{display:block;min-height:28px;font-size:9px;line-height:1.4}.metric small{font-size:8px;line-height:1.6;min-height:25px}.map-wrapper{height:390px}.map-card-heading{padding:11px 13px}.map-card-heading .text-button{font-size:9px}.map-empty{width:calc(100% - 65px);padding:19px 17px}.map-empty h2{font-size:15px}.map-empty p{font-size:10px}.map-footer{gap:11px;padding:10px 12px;font-size:8px}.map-footer>small{font-size:8px}.route-details{padding:18px 15px}.detail-heading h2{font-size:16px}.detail-heading .button{font-size:9px;padding:8px 10px}.route-details .section-label{font-size:8px}.workspace-footer{font-size:8px}.employee-actions{gap:15px}.employee-actions .text-button{font-size:10px}dialog{padding:22px}.dialog-heading h2{font-size:19px}.enrollment-code{font-size:22px}}
