:root{color-scheme:light;--bg: #f3f4f6;--surface: #fff;--ink: #111216;--muted: #6b7080;--accent: #007aff;--link: #0066d6;--accent-bg: #e4f0ff;--border: #dadae2;--subtle: #e8e8ed;--success: #138b45;--success-bg: #e6f4eb;--warning: #735000;--warning-bg: #fff2d6;--danger: #a32232;--danger-bg: #ffe9e9;--pressed: #eaeaf2;--glass: #f2f2f7eb;--scrim: #0006;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;color:var(--ink);background:var(--bg);font-synthesis:none;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}:root[data-theme=dark]{color-scheme:dark;--bg: #000;--surface: #1c1c1e;--ink: #f5f5f7;--muted: #acacb6;--link: #69b2ff;--accent-bg: #142f4d;--border: #3a3a40;--subtle: #2c2c2e;--success: #8ee6af;--success-bg: #173626;--warning: #f8d381;--warning-bg: #382b14;--danger: #ffabb5;--danger-bg: #3c1c23;--pressed: #303035;--glass: #000e;--scrim: #000a}*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;border:0;background:transparent}button:disabled{opacity:.48;cursor:default}a{color:var(--link);text-decoration:none}button,a,summary,input,textarea,select{outline-offset:4px}:focus-visible{outline:3px solid var(--accent)}svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:38px;line-height:1.15;letter-spacing:-1px;overflow-wrap:anywhere}h2{font-size:21px;line-height:1.3;letter-spacing:-.3px}h3{font-size:18px;line-height:1.4}p{line-height:1.5;overflow-wrap:anywhere}small{font-size:14px;line-height:1.4}.muted{color:var(--muted);font-size:15px}.courier-app{min-height:100dvh}.top-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:680px;margin:auto;padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:var(--glass);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.top-bar>span{font-size:16px;color:var(--muted);text-align:center}.top-bar b{color:var(--ink);font-weight:600}.icon-button{display:inline-flex;justify-content:center;align-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;color:var(--link)}.icon-button:hover{background:var(--subtle)}.courier-page{width:100%;max-width:640px;margin:auto;padding:16px max(18px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:16px}.work-status{padding:14px 16px;gap:10px}.work-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-status-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.work-status-copy>strong{display:flex;align-items:center;gap:8px;font-size:16px}.work-status-copy>small{font-size:13px}.work-status-row>button{flex-shrink:0;max-width:45%;font-size:14px}.work-dot{width:8px;height:8px;border-radius:50%;background:var(--muted);flex-shrink:0}.work-dot.working{background:var(--success)}.work-status .metric{padding-top:8px;border-top:1px solid var(--border);font-size:14px}.work-status-row>.availability-switch{position:relative;flex:0 0 52px;width:52px;height:44px;min-height:44px;max-width:none;padding:0;border-radius:18px}.availability-switch:before{content:"";position:absolute;top:6px;right:0;bottom:6px;left:0;border-radius:18px;background:var(--subtle)}.availability-switch>span{position:absolute;top:9px;left:3px;display:block;width:26px;height:26px;border-radius:50%;background:var(--surface);box-shadow:0 1px 4px #0003;transition:transform .15s}.availability-switch[aria-checked=true]:before{background:var(--accent)}.availability-switch[aria-checked=true]>span{transform:translate(20px)}.next-delivery,.remaining-deliveries,.return-step{display:flex;flex-direction:column;gap:12px;min-width:0}.delivery-count{font-size:12px;color:var(--muted);background:var(--subtle);padding:5px 9px;border-radius:8px;white-space:nowrap}.order-problem-tools{display:flex;justify-content:center}.trip-options{display:block;padding:0 16px}.trip-options>summary{display:flex;align-items:center;gap:10px;min-height:52px;font-size:15px}.trip-options>summary>svg:last-child{margin-left:auto;width:18px;height:18px;transform:rotate(90deg)}.trip-options[open]>summary>svg:last-child{transform:rotate(-90deg)}.dock-order-label{display:none}.trip-options-body{padding-block:8px 16px}.trip-options-body>.surface{padding:0}.next-orders-list .order-row{gap:10px;padding:14px}.next-orders-list .order-row>.order-number-label{flex:0 0 auto;align-self:flex-start;font-size:12px;font-weight:600;color:var(--link);background:var(--accent-bg);border-radius:8px;padding:5px 7px;max-width:64px;overflow-wrap:anywhere}.next-orders-list .order-row strong{font-size:16px}.next-orders-list .order-row small{font-size:13px}.return-step{padding:14px;border-radius:14px;background:var(--accent-bg)}.page-subtitle{font-size:17px;color:var(--muted);margin-top:-6px}.surface{display:flex;flex-direction:column;gap:14px;border-radius:20px;padding:20px;background:var(--surface);min-width:0}.push-status{display:flex;flex-direction:column;gap:8px}.push-status.connected>strong{color:var(--success)}.push-status p,.push-settings .push-description{margin:0;line-height:1.5}.push-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.push-actions>button{min-width:0;padding-inline:10px}.push-actions .push-check{grid-column:1 / -1}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.success-text{color:var(--success)}.status-dot{width:9px;height:9px;border-radius:50%;background:var(--success);flex-shrink:0}.primary,.secondary,.danger-button{min-height:48px;border-radius:15px;padding:12px 16px;display:inline-flex;gap:9px;justify-content:center;align-items:center;font-weight:600;text-align:center;line-height:1.4;overflow-wrap:anywhere}.primary{background:var(--accent);color:#fff}.secondary{background:var(--accent-bg);color:var(--link)}.danger-button{background:var(--danger-bg);color:var(--danger)}.primary:not(:disabled):hover{background:#0062cc}.secondary:not(:disabled):hover{filter:brightness(.96)}.full{width:100%}.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:4px 0;color:var(--link);font-size:15px;font-weight:600;background:none}.metric{display:flex;align-items:baseline;justify-content:space-between;gap:20px;font-size:16px;line-height:1.5}.metric>span{color:var(--muted);min-width:0;flex:1;overflow-wrap:anywhere}.metric>strong{font-weight:600;text-align:right;min-width:0;max-width:60%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.notice{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:15px;background:var(--warning-bg);color:var(--warning);font-size:15px;line-height:1.5;overflow-wrap:anywhere}.notice.error{color:var(--danger);background:var(--danger-bg)}.notice.success{color:var(--success);background:var(--success-bg)}.notice .text-button{align-self:flex-start}.grouped-list{background:var(--surface);border-radius:20px;overflow:hidden}.order-row{display:flex;gap:16px;align-items:center;width:100%;padding:18px;text-align:left;color:var(--ink);position:relative}.order-row:not(:first-child):before{content:"";position:absolute;top:0;left:18px;right:18px;height:1px;background:var(--border)}.order-row:hover{background:var(--pressed)}.order-row>span{display:flex;flex-direction:column;flex:1;gap:6px;min-width:0;overflow-wrap:anywhere}.order-row strong{font-size:18px;font-weight:600;line-height:1.4}.order-row small,.order-row>svg{color:var(--muted)}.empty-state{padding:28px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.empty-state h2{font-size:20px}.empty-state p{color:var(--muted);max-width:330px;font-size:15px}.empty-symbol,.earnings-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:16px;background:var(--accent-bg);color:var(--link);flex-shrink:0}.empty-symbol{margin-bottom:6px;width:58px;height:58px;border-radius:20px}.earnings-card{flex-direction:row;text-align:left;align-items:center;gap:12px;width:100%}.earnings-card>span:not(.earnings-icon){flex:1;display:flex;flex-direction:column;gap:5px}.earnings-card small{color:var(--muted)}.earnings-card b{font-size:20px;text-align:right;max-width:42%;overflow-wrap:anywhere}.segments{display:flex;background:var(--subtle);padding:4px;border-radius:14px;gap:3px}.segments>button{flex:1;padding:10px 6px;border-radius:11px;min-height:44px;font-size:14px;line-height:1.4}.segments>button.selected{background:var(--surface);box-shadow:0 1px 4px #00000010;font-weight:600}.eyebrow{color:var(--muted);font-size:14px}.large-amount{display:block;font-size:clamp(26px,7vw,36px);line-height:1.2;letter-spacing:-.8px;overflow-wrap:anywhere}.status-pill{padding:6px 10px;background:var(--accent-bg);color:var(--link);border-radius:9px;font-size:14px;font-weight:600;align-self:flex-start}.status-pill.success{color:var(--success);background:var(--success-bg)}.address-title{font-size:25px;line-height:1.35;overflow-wrap:anywhere}.customer-comment{padding:14px;border-radius:12px;background:var(--bg);display:flex;flex-direction:column;gap:6px}.customer-comment p{white-space:pre-wrap}.courier-page.order-detail-page{gap:12px;padding-top:8px}.order-detail-page>h1{font-size:27px;letter-spacing:-.5px}.order-overview{padding:16px;gap:12px}.order-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px}.order-meta .muted{font-size:13px}.order-overview .address-title{font-size:22px;line-height:1.3}.order-overview .customer-comment{padding:10px 12px;gap:3px;font-size:15px}.order-payment-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:center;gap:5px 16px;border-block:1px solid var(--border);padding-block:12px}.order-payment-summary .large-amount{font-size:30px;margin-top:3px}.payment-method{font-size:14px;color:var(--muted);max-width:120px;text-align:right;overflow-wrap:anywhere}.order-change{grid-column:1 / -1;font-size:14px;color:var(--muted)}.order-change strong{color:var(--ink)}.order-contact{font-size:14px}.order-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.order-quick-actions>*{min-width:0;padding-inline:10px}.order-quick-actions .order-completion{grid-column:1 / -1}.order-quick-actions>.order-task-actions,.order-quick-actions>.order-task-hint{grid-column:1 / -1;padding:0}.order-task-actions{display:flex;flex-direction:column;gap:8px}.order-task-hint{font-size:13px;line-height:1.4}.order-quick-actions a[aria-disabled=true]{opacity:.48;cursor:default}.order-workflow-hint{font-size:13px;text-align:center;line-height:1.4;margin-top:-5px}.order-problem-toggle{align-self:center;min-height:40px;padding:4px 8px;margin-block:-6px}.order-more{padding:0 16px;gap:0}.order-more>details+details{border-top:1px solid var(--border)}.order-more summary{display:flex;align-items:center;gap:14px;padding-block:16px;min-height:52px;font-size:15px;font-weight:600;color:var(--ink);list-style:none;cursor:pointer}.order-more summary::-webkit-details-marker{display:none}.order-more summary>span{flex:1;min-width:0}.order-more summary>svg:first-child{color:var(--link)}.order-more summary>svg:last-child{color:var(--muted);width:18px;height:18px}.order-more details[open]>summary>svg:last-child{transform:rotate(90deg)}.order-more .disclosure{padding-top:0;padding-bottom:16px}.two-actions{display:flex;gap:8px;flex-wrap:wrap}.map-navigation-choice{display:flex;flex-direction:column;gap:4px}.map-web-link{align-self:center;min-height:36px;padding:6px 12px;font-size:13px}.two-actions>*{flex:1 1 150px}.field{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:600}input,textarea,select{width:100%;min-width:0;min-height:48px;border:1px solid var(--border);background:var(--bg);border-radius:13px;padding:12px 14px;font-size:16px;font-weight:400}textarea{resize:vertical;min-height:110px}.problem-form{display:flex;flex-direction:column;gap:12px;padding-top:8px}summary{cursor:pointer;min-height:28px;font-weight:600;line-height:1.5;color:var(--link)}.disclosure{display:flex;flex-direction:column;gap:14px;padding-top:18px}.order-item+.order-item{padding-top:14px;border-top:1px solid var(--border)}.order-item{display:flex;flex-direction:column;gap:7px}.order-actions{display:flex;flex-wrap:wrap;gap:10px;position:sticky;bottom:calc(88px + env(safe-area-inset-bottom));z-index:4;padding:10px 0;background:var(--glass);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.order-actions>*{flex:1 1 160px}.modal,.menu-dialog{padding:0;color:var(--ink);background:var(--surface);border:0;border-radius:24px;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 40px);box-shadow:0 16px 60px #0003}dialog::backdrop{background:var(--scrim);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-body{padding:20px;display:flex;flex-direction:column;gap:16px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-actions{display:flex;flex-wrap:wrap;gap:8px}.dialog-actions>*{flex:1 1 140px}.handover-payment-check{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:12px;background:var(--accent-bg);font-size:16px;line-height:1.45;cursor:pointer}.handover-payment-check input{width:22px;height:22px;min-height:22px;margin:0;flex-shrink:0;accent-color:var(--accent)}.handover-change{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:12px;background:var(--bg)}.handover-change .metric:last-child>strong{color:var(--link)}.menu-dialog{margin:0;height:100dvh;max-height:100dvh;width:min(350px,calc(100vw - 30px));border-radius:0 24px 24px 0}.menu-dialog .dialog-body{padding-top:max(20px,env(safe-area-inset-top))}.menu-profile{display:flex;flex-direction:column;gap:10px;padding:12px 4px 22px;border-bottom:1px solid var(--border)}.avatar{display:flex;justify-content:center;align-items:center;width:56px;height:56px;border-radius:18px;color:var(--link);background:var(--accent-bg)}.menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:16px 4px;text-align:left;min-height:56px;font-size:16px}.menu-item>svg:first-child{color:var(--link)}.menu-item>svg:last-child{margin-left:auto;color:var(--muted)}.login-page{display:grid;min-height:100dvh;place-items:center;padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom))}.login-card{width:100%;max-width:410px;display:flex;flex-direction:column;gap:22px}.brand-mark{width:62px;height:62px;border-radius:20px;background:var(--accent);color:#fff;display:grid;place-items:center}.brand-mark svg{width:32px;height:32px}.brand-label{font-size:17px;font-weight:600;color:var(--muted);margin-bottom:14px}.login-card h1{font-size:34px}.login-card>.muted{margin-top:-12px}.login-card input{background:var(--surface)}.password-input{position:relative}.password-input input{padding-right:96px}.password-input button{position:absolute;top:2px;right:14px}.login-help{text-align:center;padding-top:18px}.trip-task{border-top:1px solid var(--border);padding-top:16px;display:flex;flex-direction:column;gap:12px}.route-stop{display:flex;gap:12px;padding:10px 0}.route-stop>span{background:var(--subtle);border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;font-size:13px}.route-stop p{font-size:15px}.courier-work-app{background:var(--surface)}.courier-work-app .top-bar{padding-block:calc(3px + env(safe-area-inset-top)) 3px;background:var(--surface);border-bottom:1px solid var(--border);-webkit-backdrop-filter:none;backdrop-filter:none}.courier-work-app .top-bar>span{font-size:15px}.courier-page.work-page{gap:0;padding-top:16px}.work-page:has(.mobile-action-dock){padding-bottom:calc(8rem + env(safe-area-inset-bottom))}.work-page .next-delivery{gap:0}.work-page .next-delivery .mobile-order-overview{padding:0;gap:12px;border:0;border-radius:0}.mobile-order-overview .order-meta .muted{font-size:13px}.mobile-order-overview .status-pill{font-size:14px;padding:6px 10px;border-radius:9px}.mobile-order-overview .address-title{font-size:32px;line-height:1.2;letter-spacing:-.8px;font-weight:750}.delivery-address{display:flex;flex-direction:column;gap:8px}.delivery-address .address-title>span{display:block}.address-details{font-size:19px;font-weight:600;line-height:1.35}.mobile-order-overview .customer-comment{padding:12px 14px;gap:4px;border-radius:13px;font-size:14px;background:var(--bg)}.mobile-order-overview .customer-comment .eyebrow{font-size:13px}.mobile-order-overview .order-payment-summary{padding-block:12px 0;border-bottom:0}.mobile-order-overview .order-payment-summary .large-amount{font-size:32px;letter-spacing:-.7px}.payment-method{display:flex;flex-direction:column;align-items:flex-end;gap:7px;line-height:1.35}.payment-method>svg{width:23px;height:23px}.mobile-order-overview .order-contact{margin-top:-10px;font-size:12px}.mobile-order-overview .order-quick-actions>.secondary{min-height:48px;border-radius:12px;font-size:16px}.mobile-order-overview .order-problem-toggle{gap:8px;margin:-8px 0 -4px;font-size:14px}.work-page .mobile-order-more{border-block:1px solid var(--border);border-radius:0;padding:0;margin-top:12px}.mobile-order-more summary{min-height:50px;padding-block:14px;font-size:14px;gap:12px}.mobile-order-more summary>svg:first-child{width:23px;height:23px}.mobile-order-more .disclosure{display:flex;flex-direction:column;gap:12px;padding:0 0 18px 35px}.work-page>.remaining-deliveries{gap:10px;padding-top:20px}.remaining-deliveries>.section-heading>h2{font-size:17px;letter-spacing:-.2px}.work-page .grouped-list{border-radius:0}.next-orders-list .order-row{padding:12px 0;gap:12px}.next-orders-list .order-row:not(:first-child):before{left:0;right:0}.next-orders-list .order-row>.order-number-label{display:grid;place-items:center;align-self:center;flex:0 0 30px;width:30px;height:30px;padding:0;border-radius:50%;font-size:13px;background:var(--bg);color:var(--muted)}.next-orders-list .order-row strong{font-size:14px;font-weight:500;line-height:1.4}.next-orders-list .order-row small{font-size:12px}.next-orders-list .order-row>svg{width:18px;height:18px}.work-page>.trip-options{margin-top:8px;padding:0;border-radius:0;border-top:1px solid var(--border)}.work-page>.trip-options>summary{min-height:44px;font-size:13px}.work-page>.work-status{padding:16px 0 0;border-radius:0;gap:8px}.work-page>.work-status .work-status-copy{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:4px 8px}.work-page>.work-status .work-status-copy>strong{font-size:13px;font-weight:500}.work-page>.work-status .work-status-copy>small{font-size:12px}.work-page>.notice{margin-bottom:12px}.order-quick-actions>.mobile-action-dock{position:fixed;inset:auto auto 0 50%;transform:translate(-50%);z-index:10;width:min(680px,100%);padding:8px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:var(--surface);border-top:1px solid var(--border);max-height:45dvh;overflow-y:auto}.mobile-action-dock .primary{min-height:48px;font-size:17px;border-radius:12px}.mobile-action-dock>.dock-order-label{display:block;color:var(--muted);font-size:12px;text-align:center;line-height:1.3}.mobile-action-dock>.order-task-hint{display:none}.courier-app:has(textarea:focus) .mobile-action-dock,.courier-app:has(select:focus) .mobile-action-dock{display:none}@media(min-width:760px){.courier-app{max-width:680px;margin:auto;border-inline:1px solid var(--border)}.courier-page{padding-top:24px}.login-card{background:var(--surface);border-radius:28px;padding:36px;max-width:470px}.login-card input{background:var(--bg)}}@media(max-width:767px){.courier-page.work-page{padding-inline:max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-left))}.modal{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - 32px);border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}.modal .dialog-actions>button{min-height:52px}}@media(max-width:360px){.mobile-order-overview .address-title{font-size:28px}.mobile-order-more summary{gap:8px;font-size:13px}}@media(max-width:360px){.courier-page{padding-inline:12px}.surface{padding:16px}.order-more{padding:0 16px}h1{font-size:32px}.segments{flex-wrap:wrap}.segments>button{flex-basis:80px}.earnings-card{flex-wrap:wrap}.metric{gap:12px}.order-quick-actions>*{font-size:14px;gap:6px;padding-inline:8px}.order-quick-actions svg{width:18px;height:18px}}@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .12s,color .12s}}
