@font-face{font-family:SignRun;src:local("SF Pro Text"),local("Helvetica Neue"),local("Arial");font-display:swap}
:root{font-family:SignRun,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#122d3b;background:#f1f5f4;font-size:16px;--ink:#122d3b;--teal:#087c69;--muted:#647782;--line:#d9e3e5;--red:#da503c;--amber:#c88b13;--blue:#4684a7;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html,body{height:100%;margin:0;overscroll-behavior:none}body{height:100dvh}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #55b9d5;outline-offset:3px}button svg,svg.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}button{border:0}button,a{-webkit-user-select:none;user-select:none}a{color:var(--teal)}[hidden]{display:none!important}p,h1,h2{margin:0}h1{font-size:1.75rem;line-height:1.15;letter-spacing:-.035em}h2{font-size:1.25rem;letter-spacing:-.02em}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}.primary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;background:var(--teal);color:#fff;border-radius:16px;font-size:1.125rem;font-weight:720;box-shadow:0 4px 12px #087c6926}.primary:active{background:#056151}.secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;background:#edf3f3;color:var(--ink);font-weight:680;border:1px solid var(--line);border-radius:14px}.wide{width:100%}.text-button{padding:8px 0;background:none;color:var(--teal);font-size:.875rem;font-weight:680;min-height:36px}.icon-button{display:grid;place-items:center;background:transparent;width:40px;height:40px;border-radius:50%;color:var(--muted);font-size:1.75rem;flex-shrink:0}.icon-button:active{background:#e8eff0}.form-error{font-size:.875rem;line-height:1.45;color:#b33425;margin:14px 0 0;min-height:0}.form-error:empty{display:none}label{display:block;font-size:.875rem;font-weight:650;text-align:left}input,select{display:block;margin:8px 0 20px;width:100%;min-height:52px;border:1px solid #c5d4d8;background:#fff;border-radius:12px;padding:12px 14px;color:var(--ink);font-size:1rem}input:focus,select:focus{outline:3px solid #087c6930;border-color:var(--teal)}
.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:calc(30px + var(--safe-top)) 24px calc(24px + var(--safe-bottom));background:radial-gradient(ellipse at top right,#dcefeb 0,transparent 60%),#f3f6f5}.auth-card{width:100%;max-width:370px}.auth-card>img{margin-bottom:28px}.auth-card h1{font-size:2.65rem;margin:8px 0 12px}.auth-intro{font-size:1rem;color:var(--muted);line-height:1.5;margin-bottom:32px}.auth-switch{display:flex;padding:4px;border-radius:13px;background:#e5edee;margin-bottom:24px}.auth-switch button{flex:1;min-height:40px;background:none;color:var(--muted);font-size:.95rem;font-weight:680;border-radius:10px}.auth-switch .selected{background:#fff;color:var(--ink);box-shadow:0 1px 5px #142f3c0f}.auth-foot{margin-top:24px;font-size:.8rem;line-height:1.5;color:var(--muted)}
.app{position:relative;height:100dvh;width:100%;overflow:hidden;background:#e9f0ef}.topbar{height:calc(62px + var(--safe-top));padding:calc(10px + var(--safe-top)) 16px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;position:relative;z-index:500}.brand{display:flex;align-items:center;gap:8px;font-size:1.05rem;font-weight:750;letter-spacing:-.04em}.brand img{border-radius:8px}.mode-button{display:flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;background:#f0f4f4;border-radius:12px;font-size:.875rem;font-weight:650;color:var(--ink)}.mode-button svg{width:17px;height:17px}.live-strip{position:relative;z-index:500;display:flex;align-items:center;gap:7px;height:31px;background:#fff;border-top:1px solid #f0f3f3;border-bottom:1px solid #e0e8e9;padding:0 17px;font-size:.75rem;color:var(--muted)}.signal{width:7px;height:7px;border-radius:50%;background:#91a0a7;flex-shrink:0}.signal.live{background:#16946f;box-shadow:0 0 0 3px #16946f16}.signal.warn{background:#c98b13}.connection-label{margin-left:auto;font-size:.75rem;font-weight:600;color:#aa7011}#map{position:absolute;inset:calc(93px + var(--safe-top)) 0 0;z-index:0;background:#edf2ef}.leaflet-container{font-family:inherit!important;font-size:14px}.leaflet-control-attribution{font-size:10px!important;background:#ffffffd9!important}.leaflet-control-attribution a{color:#465f69}.leaflet-bottom{bottom:154px!important}.leaflet-top{top:148px!important}.leaflet-bar{border:1px solid #ccd8d9!important;box-shadow:0 3px 12px #142f3c14!important;border-radius:11px!important;overflow:hidden}.leaflet-bar a{width:42px!important;height:42px!important;line-height:40px!important;color:var(--ink)!important;font-size:24px!important}.drive-panel{position:absolute;z-index:500;top:calc(106px + var(--safe-top));left:12px;right:12px;min-height:116px;display:flex;gap:12px;padding:16px 13px 17px;background:var(--ink);color:#fff;border-radius:19px;box-shadow:0 5px 20px #142f3c20}.turn-icon{width:43px;flex-shrink:0;display:grid;place-items:center;align-self:center}.turn-icon svg{width:39px;height:46px;fill:none;stroke:currentColor;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}.turn-copy{min-width:0;flex:1}.turn-distance{font-weight:700;font-size:.8125rem;letter-spacing:.055em;color:#a6d6ce;margin-bottom:6px}.turn-copy h1{font-size:1.5rem;line-height:1.12;letter-spacing:-.025em;overflow-wrap:anywhere}.turn-copy>p:last-child{font-size:.8125rem;color:#b7cbd1;margin-top:7px;line-height:1.4}.drive-panel .icon-button{color:#b9cfd3;width:30px;height:32px;margin-top:-4px}.drive-panel .icon-button.active{color:#91e1c5}.drive-panel .icon-button svg{width:20px;height:20px}.map-tools{position:absolute;z-index:500;right:13px;top:calc(239px + var(--safe-top));display:flex;flex-direction:column;gap:8px}.map-tool{width:44px;height:44px;background:#fff;border:1px solid #d5dfe0;border-radius:13px;box-shadow:0 3px 12px #142f3c15;display:grid;place-items:center;color:var(--ink)}.map-tool svg{width:22px;height:22px}.notice{position:absolute;z-index:550;left:13px;right:66px;top:calc(239px + var(--safe-top));padding:11px 13px;border-radius:12px;background:#fff5df;color:#6e4a08;box-shadow:0 2px 12px #263b4312;font-size:.8125rem;line-height:1.4;display:flex;align-items:start;gap:8px}.notice button{margin-left:auto;background:none;color:inherit;font-size:1.3rem;line-height:1;min-width:22px;padding:0}.action-bar{position:absolute;z-index:600;bottom:0;left:0;right:0;padding:13px 16px calc(11px + var(--safe-bottom));background:#fffffff7;backdrop-filter:blur(16px);border-top:1px solid #dbe4e4;border-radius:22px 22px 0 0;box-shadow:0 -5px 24px #153d4710}.count-row{display:flex;gap:10px;align-items:center;min-height:24px;margin-bottom:10px;color:var(--muted);font-size:.8125rem}.count-row>span:first-child{white-space:nowrap}.count-row strong{color:var(--ink);font-size:1.25rem;font-weight:750;letter-spacing:-.035em;margin-right:3px}.approx-target{margin-left:auto;text-align:right;font-size:.7rem;line-height:1.4;max-width:150px}.queue-button{background:#fff1d5;color:#8a5912;border-radius:8px;min-height:30px;padding:4px 8px;font-size:.75rem;margin-left:auto}.action-buttons{display:flex;gap:10px}.action-buttons>.primary{flex:1;min-width:0}.action-buttons>.secondary{min-width:105px}.action-buttons>.square{min-width:58px;width:58px}.action-hint{text-align:center;font-size:.7rem;margin-top:8px;color:var(--muted);line-height:1.3}.pickup-card{position:absolute;z-index:510;left:13px;right:13px;bottom:calc(158px + var(--safe-bottom));background:#fff;border-radius:17px;box-shadow:0 3px 18px #142f3c20;padding:10px;display:flex;gap:12px;min-height:112px}.pickup-card>img{width:90px;height:106px;object-fit:cover;border-radius:10px;background:#edf1f0}.pickup-copy{align-self:center;min-width:0;flex:1}.pickup-copy .eyebrow{font-size:.65rem;margin-bottom:5px}.pickup-copy h2{font-size:1.125rem}.pickup-copy>p:not(.eyebrow){font-size:.875rem;color:var(--muted);margin-top:5px}.pickup-copy .text-button{padding-bottom:0;min-height:30px}.pickup-card>.icon-button{align-self:start;width:25px}
.owner-panel{position:absolute;z-index:520;left:0;right:0;bottom:0;max-height:56dvh;background:#fff;padding:20px 18px calc(18px + var(--safe-bottom));border-radius:22px 22px 0 0;box-shadow:0 -4px 20px #142f3c16;overflow:auto}.owner-heading{display:flex;justify-content:space-between;align-items:center}.owner-heading h1{margin-top:4px;font-size:1.5rem}.round-button{width:39px;height:39px;border-radius:50%;background:#edf3f3;color:var(--ink);font-size:1.6rem}.owner-stats{display:grid;grid-template-columns:repeat(4,1fr);margin:20px 0 14px;padding-bottom:18px;border-bottom:1px solid var(--line)}.owner-stats>div{text-align:center;border-right:1px solid var(--line)}.owner-stats>div:first-child{text-align:left}.owner-stats>div:last-child{border:0}.owner-stats strong{display:block;font-size:1.7rem;letter-spacing:-.045em}.owner-stats span{font-size:.7rem;color:var(--muted)}.driver-list{display:flex;flex-direction:column;gap:8px}.driver-row{display:flex;align-items:center;gap:10px;background:#f1f5f5;border-radius:11px;padding:11px 12px;text-align:left;width:100%;color:var(--ink)}.driver-avatar{display:grid;place-items:center;width:34px;height:34px;background:#dde9e7;border-radius:50%;font-weight:700}.driver-info{flex:1;min-width:0}.driver-info strong{display:block;font-size:.875rem}.driver-info small{display:block;margin-top:3px;color:var(--muted);font-size:.7rem}.driver-freshness{font-size:.7rem;font-weight:700;color:#647782}.driver-freshness.live{color:#087c69}.owner-subheading{display:flex;align-items:center;justify-content:space-between;margin-top:15px;margin-bottom:8px}.owner-subheading h2{font-size:1rem}.photo-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.photo-tile{background:#edf3f3;border-radius:10px;overflow:hidden;padding:0;text-align:left;position:relative}.photo-tile img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.photo-tile span{display:block;padding:6px 7px;font-size:.65rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty-state{font-size:.875rem;line-height:1.5;color:var(--muted);padding:20px 0;grid-column:1/-1}.owner-mode .map-tools{top:calc(107px + var(--safe-top))}.owner-mode .leaflet-top{top:14px!important}.owner-mode .leaflet-bottom{bottom:58dvh!important}.owner-mode .notice{top:calc(110px + var(--safe-top))}
.sheet{position:fixed;inset:auto 0 0;margin:0 auto;border:0;border-radius:25px 25px 0 0;padding:20px 20px calc(24px + var(--safe-bottom));max-width:600px;width:100%;max-height:92dvh;overflow:auto;background:#fff;color:var(--ink);box-shadow:0 -12px 60px #0b263632}.sheet::backdrop{background:#0b25385e;backdrop-filter:blur(3px)}.sheet>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.sheet>header h2{font-size:1.4rem}.sheet-handle{width:38px;height:4px;background:#d3dfe2;border-radius:5px;margin:-8px auto 16px}.sheet-note{font-size:.8rem;line-height:1.55;color:var(--muted);margin:12px 0}.menu-list{display:flex;flex-direction:column;gap:8px}.menu-list>button,.menu-list>a{display:block;background:#f0f5f4;border-radius:13px;padding:17px;text-align:left;color:var(--ink);text-decoration:none;font-size:1rem;font-weight:650;min-height:58px}.menu-list small{display:block;color:var(--muted);font-size:.8rem;font-weight:400;margin-top:5px}.menu-actions{display:flex;flex-direction:column;margin-top:18px;border-top:1px solid var(--line)}.menu-actions>button{text-align:left;background:transparent;color:var(--muted);padding:15px 3px;border-bottom:1px solid #edf2f2;font-size:.9rem}.photo-preview{display:block;width:100%;max-height:36dvh;object-fit:contain;background:#e9efee;border-radius:14px}.location-status{font-size:.875rem;line-height:1.4;margin-top:15px;display:flex;align-items:center;gap:7px}.location-status.good{color:var(--teal)}.location-status.weak{color:#9a6b17}.photo-location-actions{display:flex;justify-content:space-between;gap:20px}.photo-area-label{margin-top:9px}.photo-area-label select{margin-bottom:16px}.pin-map{height:210px;margin:8px 0 16px;border-radius:13px;border:1px solid var(--line);overflow:hidden}.pin-map .leaflet-top{top:8px!important}.pin-map .leaflet-bottom{bottom:0!important}.detail-photo{width:100%;max-height:48dvh;object-fit:contain;background:#edf3f3;border-radius:13px}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;font-size:.875rem}.detail-meta strong{display:block;font-size:.75rem;color:var(--muted);font-weight:500;margin-bottom:4px}.detail-actions{display:flex;flex-direction:column;gap:8px}.route-list{display:flex;flex-direction:column;gap:7px;margin-top:15px}.route-row{display:flex;align-items:center;gap:12px;text-align:left;background:#f2f5f5;border-radius:12px;padding:14px;color:var(--ink)}.route-row.active{box-shadow:inset 0 0 0 2px var(--teal);background:#edf8f4}.route-dot{width:10px;height:10px;border-radius:50%;background:var(--blue);flex-shrink:0}.route-row.work .route-dot{background:var(--red)}.route-row strong{font-size:.9rem;display:block}.route-row small{font-size:.75rem;display:block;color:var(--muted);margin-top:4px}.route-row>span:last-child{flex:1}.new-invite{margin:20px 0;padding:18px;background:#edf6f2;border-radius:13px}.new-invite>p{font-size:.8rem}.new-invite>strong{font-family:ui-monospace,monospace;font-size:1.15rem;display:block;letter-spacing:.07em;word-break:break-all;margin:14px 0 18px}.invite-list{margin-top:20px;display:flex;flex-direction:column;gap:8px}.invite-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:13px 0;font-size:.9rem}.invite-row small{display:block;color:var(--muted);font-size:.75rem;margin-top:4px}.invite-row button{background:none;color:#a04435;font-size:.8rem;padding:8px}.queue-list{display:flex;flex-direction:column;gap:10px;margin:18px 0}.queue-item{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:12px}.queue-item img{width:50px;height:55px;object-fit:cover;border-radius:6px}.queue-item strong{display:block;font-size:.875rem}.queue-item p{font-size:.75rem;color:var(--muted);margin-top:5px;line-height:1.4}.toast{position:fixed;z-index:2000;left:50%;transform:translateX(-50%);bottom:calc(170px + var(--safe-bottom));background:#122d3bf0;color:white;font-size:.9rem;line-height:1.35;padding:13px 19px;border-radius:13px;box-shadow:0 4px 24px #132b3a30;max-width:calc(100% - 32px);text-align:center;pointer-events:none}.map-pin{width:26px;height:26px;border-radius:50%;border:3px solid #fff;background:#087c69;color:white;box-shadow:0 1px 7px #1738444d;display:grid;place-items:center;font-size:10px;font-weight:750}.map-pin.collected{background:#778b91}.map-pin.missing{background:#cc8b1c}.map-pin.pending{background:#cc8b1c}.map-pin.target{background:#122d3b;width:32px;height:32px}.driver-map-pin{width:24px;height:24px;background:#377dd0;border:4px solid white;border-radius:50%;box-shadow:0 0 0 5px #377dd02b,0 2px 10px #143b552a}.driver-map-pin.stale{background:#8798a3;box-shadow:0 0 0 4px #8798a31f}.fallback-map{width:100%;height:100%;touch-action:pan-x pan-y}.fallback-map .land{fill:#eaf0ed}.fallback-map .road{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:5}.fallback-map .route{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.fallback-map text{fill:#506773;font-family:inherit;font-size:10px}.fallback-message{position:absolute;bottom:160px;left:10px;z-index:10;font-size:10px;background:#ffffffda;padding:4px 7px;border-radius:5px;color:#526773}
@media(min-width:700px){.drive-panel{left:22px;right:auto;width:420px;top:calc(115px + var(--safe-top));padding:20px}.turn-copy h1{font-size:1.7rem}.map-tools{right:22px;top:calc(115px + var(--safe-top))}.action-bar{left:22px;right:auto;width:420px;bottom:22px;border-radius:21px;padding:17px 20px 13px}.leaflet-bottom{bottom:4px!important}.owner-panel{left:22px;right:auto;width:400px;bottom:22px;top:calc(114px + var(--safe-top));max-height:none;border-radius:20px;padding:22px}.owner-mode .map-tools{top:calc(115px + var(--safe-top))}.owner-mode .leaflet-bottom{bottom:4px!important}.pickup-card{left:22px;right:auto;width:420px;bottom:202px}.notice{left:22px;right:auto;width:420px;top:calc(270px + var(--safe-top))}.sheet{inset:50% auto auto 50%;transform:translate(-50%,-50%);border-radius:22px;width:calc(100% - 48px);padding:24px;max-height:90dvh}.photo-sheet{max-width:440px}.sheet-handle{display:none}.toast{bottom:35px}.fallback-message{bottom:10px}.topbar{padding-left:22px;padding-right:22px}.owner-mode .notice{left:auto;right:75px;width:auto;max-width:360px}}
@media(max-height:670px) and (max-width:699px){.drive-panel{min-height:96px;padding:12px;top:calc(102px + var(--safe-top))}.turn-copy h1{font-size:1.25rem}.turn-copy>p:last-child{margin-top:4px;font-size:.75rem}.turn-distance{font-size:.75rem;margin-bottom:4px}.map-tools{top:calc(214px + var(--safe-top))}.notice{top:calc(214px + var(--safe-top))}.action-bar{padding-top:10px}.primary{min-height:52px}.pickup-card{bottom:calc(146px + var(--safe-bottom));min-height:90px}.pickup-card>img{height:90px;width:75px}.photo-preview{max-height:27dvh}}
@media(prefers-reduced-motion:no-preference){.toast{animation:toastin .18s ease-out}@keyframes toastin{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}}
.hide-route-arrows .route-arrow{display:none!important}

.driver-readiness{display:flex;justify-content:center;gap:8px;margin-top:8px}.driver-readiness button{border:0;background:#edf4f2;color:#23584f;border-radius:8px;padding:5px 9px;min-height:30px;font-size:.71rem;font-weight:650}.driver-readiness .needs-check{background:#fff1d5;color:#80550b}.foreground-warning{font-size:.72rem;line-height:1.35;color:#80550b;margin-top:7px;text-align:center}.awake-video{position:fixed;left:0;bottom:0;width:1px;height:1px;opacity:.01;pointer-events:none;z-index:-1}.arrival-banner{position:absolute;z-index:560;top:calc(238px + var(--safe-top));left:13px;right:66px;display:flex;justify-content:space-between;gap:10px;padding:12px 14px;background:#087c69;color:white;border-radius:13px;box-shadow:0 4px 16px #153d4730}.arrival-banner strong{font-size:.8rem;letter-spacing:.05em}.arrival-banner p{font-size:.88rem;margin-top:4px}.arrival-banner button{background:transparent;border:0;color:white;align-self:start;min-width:28px;min-height:28px;font-size:1.4rem}.pickup-card{bottom:calc(195px + var(--safe-bottom))}.leaflet-bottom{bottom:190px!important}@media(min-width:700px){.arrival-banner{left:22px;right:auto;width:420px;top:calc(270px + var(--safe-top))}.pickup-card{bottom:240px}.leaflet-bottom{bottom:4px!important}}@media(max-height:670px) and (max-width:699px){.arrival-banner{top:calc(214px + var(--safe-top))}.pickup-card{bottom:calc(183px + var(--safe-bottom))}.driver-readiness{margin-top:5px}.driver-readiness button{min-height:26px;padding:3px 8px}}

.map-tool.follow-needed{height:auto;min-height:58px;border:2px solid #087c69;background:#effaf6;display:flex;flex-direction:column;justify-content:center;gap:2px;color:#075c4e}.map-tool.follow-needed svg{height:22px;width:22px}.map-tool #locate-label{font-size:.65rem;font-weight:750;line-height:1.1}
