.setup-card{max-width:620px}.setup-card form{margin-top:24px}.setup-card p{font-size:12px;line-height:1.8}.auth-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.auth-links button{font-size:11px;border:0;padding:8px 0;background:transparent;text-decoration:underline;color:var(--teal)}.empty-state{padding:42px 26px;text-align:center;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.empty-state h2{font-size:21px;margin:0}.empty-state p{font-size:13px;color:var(--muted);max-width:580px;margin:0 0 10px}.empty-state button{margin:3px}.empty-symbol{width:48px;height:48px;background:#e4f7ef;border-radius:14px;display:grid;place-items:center;margin-bottom:5px;color:var(--teal)}.assignment-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.assignment-summary small{font-size:9px;letter-spacing:1px}.assignment-summary h3{margin-top:8px}.pilot-steps{padding-left:22px;font-size:14px;line-height:2.3}.tablewrap .actions{flex-wrap:nowrap}.tablewrap .actions button{font-size:11px;white-space:nowrap}.boot-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;color:var(--navy)}.boot-screen img{border-radius:14px}#toast.error{border-color:var(--red)}[hidden]{display:none!important}.empty-state+.notice{margin-top:20px}.detail .badge{white-space:normal}.detail>p{overflow-wrap:anywhere}.topbar .user b{overflow-wrap:anywhere}.topbar .user>span:nth-child(2){max-width:250px}.workspace .empty-state{min-height:470px}.setup-card .primary{margin-top:10px}.modal .notice{font-size:12px}@media(max-width:760px){.assignment-summary{grid-template-columns:1fr;gap:10px}.empty-state{padding:32px 18px}.tablewrap .actions{flex-wrap:wrap}}
 .google-map{margin:18px 0;padding:18px}.google-canvas{height:350px;border-radius:14px;overflow:hidden;background:#edf2f6;margin-top:14px}.empty-map{padding:70px 24px;text-align:center;color:#637898}.map-pin{background:#072b59;color:white;padding:8px 11px;border-radius:18px;font-weight:800}.schedule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:#f3f7f9;border-radius:12px;padding:12px;margin-bottom:14px}.schedule-grid b,.schedule-grid small{display:block}.schedule-grid small{font-size:11px;color:#637898;margin-bottom:6px}.checkline{display:flex;align-items:center;gap:10px;margin:18px 0}.checkline input{width:18px;height:18px;margin:0}.drag-handle{cursor:grab;color:#637898}.dragging{opacity:.45}.stopedit[draggable]{border:1px solid #d8e3eb}.stopedit[draggable]:hover{border-color:#00ad85}gmp-place-autocomplete{width:100%;margin:12px 0}.address-search [data-place-status]{font-size:12px}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #00c394;outline-offset:3px}@media(max-width:700px){.schedule-grid{grid-template-columns:1fr}.google-canvas{height:280px}}
.route-drag-pin{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:white;color:#007e61;border:3px solid #007e61;border-radius:50%;font-size:21px;font-weight:800;box-shadow:0 2px 8px #072b5933;cursor:grab}.route-drag-pin:active{cursor:grabbing}
.password-field{margin-bottom:16px}.password-field>label{margin:0}.password-control{position:relative}.password-control input{padding-right:56px}.password-control button{position:absolute;right:7px;top:12px;width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;padding:5px;border-radius:8px;color:var(--navy)}.password-control svg{width:23px;height:23px}.password-control button[aria-pressed=true]{background:#dcf7ee;color:#007e61}.driver-portal{max-width:960px;margin:0 auto;padding:24px}.driver-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:18px}.driver-header .brand{margin:0}.driver-greeting{padding:28px 0}.driver-greeting h1{margin-top:10px}.driver-greeting .actions{margin:16px 0}.driver-portal>.card{margin-bottom:18px}.driver-stop{margin:14px 0}.next-stop{border-left:5px solid #00c394}.history-stops{padding-left:25px}.history-stops li{padding:14px 0;border-top:1px solid var(--line)}.history-stops p{margin:6px 0}.driver-live .google-canvas{height:330px}@media(max-width:600px){.driver-portal{padding:16px}.driver-greeting h1{font-size:26px}.driver-portal input,.driver-portal select{font-size:16px}.driver-header .brand{font-size:19px}.driver-portal .google-canvas{height:280px}.password-control button{top:11px}}

.stop-heading{gap:12px;flex-wrap:nowrap}.stop-heading h3{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}.stop-heading-actions{display:flex;gap:6px;flex-shrink:0}.stop-heading-actions button{padding:6px;min-width:34px;min-height:34px}.stopedit.is-collapsed .stop-heading{margin-bottom:0}.stopedit [hidden]{display:none!important}@media(max-width:600px){.stop-heading{gap:6px}.stop-heading h3{font-size:14px}.stop-heading-actions{gap:3px}.stop-heading-actions button{min-width:30px}.stop-heading .badge{font-size:10px;padding:5px}}

.live-status{padding:10px 16px;border:1px solid #d8e4ee;border-radius:10px;font-size:12px;margin-bottom:20px;background:#fff}.live-status.connected{border-left:4px solid #00ad85}.live-status.waiting{border-left:4px solid #e7a42a}.live-status.error{border-left:4px solid #bd2945;color:#a31c37}.execution-panel{margin-bottom:18px}.progress-counts{display:flex;gap:32px;margin:18px 0}.progress-counts b{font-size:30px;display:block;color:#072b59}.progress-counts small{color:#637898}.execution-state{font-size:12px;padding:6px 10px;border-radius:8px;background:#edf2f7;color:#52657c;display:inline-block}.execution-state.done{background:#dcf6ed;color:#007453}.execution-state.onsite{background:#fff0d2;color:#976000}.execution-state.next{background:#e3edff;color:#164f9c}.execution-gps{display:flex;flex-direction:column;gap:4px;font-size:12px;background:#f2f5f9;padding:12px;border-radius:10px}.execution-gps.live{background:#e2f7ee;color:#007453}.execution-gps.stale{background:#fff0d2;color:#976000}.execution-timeline{padding:0;list-style:none;margin:18px 0}.execution-timeline li{display:flex;gap:12px;border-left:2px solid #dce5ed;padding:0 0 20px 14px;margin-left:15px}.execution-timeline li:last-child{padding-bottom:0}.execution-dot{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#e8edf3;color:#4e6686;margin-left:-30px}.done .execution-dot{background:#d8f5e9;color:#007453}.onsite .execution-dot{background:#ffebb9;color:#976000}.next .execution-dot{background:#dceaff;color:#164f9c}.execution-timeline small{display:block;color:#637898;margin-top:6px}.execution-timeline .execution-state{margin:0 0 0 8px}.stop-done{background:#f5fcf8}.stop-onsite{border-color:#d9a01a!important}.map-pin.done{background:#007453}.map-pin.onsite{background:#c98600}.map-pin.pending{background:#7a8aa1}.map-vehicle{background:#007453;color:#fff;border:3px solid white;border-radius:10px;padding:8px 12px;font-weight:700;box-shadow:0 2px 10px #0003}.map-vehicle.stale{background:#7a8aa1}@media(max-width:700px){.stop-heading{flex-wrap:wrap}.stop-heading h3{flex-basis:60%}.stop-heading-actions{margin-left:auto}}

.map-vehicle{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;line-height:1.25;max-width:220px;white-space:normal}.map-vehicle strong{font-size:13px;overflow-wrap:anywhere}.map-vehicle>span{font-size:12px;font-weight:500;letter-spacing:.04em;white-space:nowrap}

.camera-panel{padding:16px;border:1px solid #c9dfd9;border-radius:12px;margin:18px 0;background:#f3fbf8}.camera-panel small{display:block;margin-top:12px;color:#637898}.camera-panel p{font-size:13px;line-height:1.6}.camera-screen{position:relative;aspect-ratio:16/9;background:#061b2d;border-radius:14px;overflow:hidden;display:grid;place-items:center}.camera-screen video{width:100%;height:100%;object-fit:contain;visibility:hidden}.camera-screen [data-camera-message]{position:absolute;bottom:12px;left:12px;right:12px;margin:0;background:#061b2de8;color:#fff;padding:10px 14px;border-radius:10px;font-size:13px}


.tv-map-screen{position:fixed;inset:0;background:#e8edf0;z-index:100}.tv-map-canvas{position:absolute;inset:0;width:100%;height:100%}.tv-controls{position:absolute;top:16px;left:16px;max-width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#fffffff2;border-radius:16px;padding:16px;box-shadow:0 4px 24px #0003}.tv-drivers{display:grid;gap:6px;margin-top:10px}.tv-drivers button{text-align:left;display:flex;align-items:center;gap:9px}.tv-drivers button[aria-pressed="false"]{opacity:.55}.tv-drivers i{display:inline-block;min-width:15px;height:15px;border-radius:50%;border:1px solid #0005}.tv-controls p,.tv-controls small{font-size:12px}.tv-controls summary{cursor:pointer;padding:10px 0}

.tv-controls{top:auto;left:auto;right:12px;bottom:24px;width:300px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border-radius:12px;overflow:hidden;font-size:12px}.tv-controls-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;cursor:grab;touch-action:none;user-select:none;background:#f8fafb;border-bottom:1px solid #dce5e9}.tv-controls-header b{font-size:13px}.tv-controls-header button{min-width:32px;min-height:30px;padding:2px 8px;font-size:20px;line-height:1;cursor:pointer}.tv-controls-body{padding:10px;max-height:calc(100dvh - 90px);overflow:auto}.tv-controls-body[hidden]{display:none}.tv-controls button{padding:6px 9px;font-size:12px}.tv-controls-header button{font-size:20px}.tv-controls .live-status{font-size:11px;margin:6px 0}.tv-controls p,.tv-controls small{font-size:11px}.tv-controls summary{padding:7px 0}.tv-drivers{gap:4px}.tv-controls.is-collapsed{width:175px}.tv-controls.is-collapsed .tv-controls-header{border:0}.tv-controls.is-dragging .tv-controls-header{cursor:grabbing}.tv-controls.is-dragging{box-shadow:0 8px 30px #0005}
