:root{--bg:#f6f6f4;--surface:#fff;--surface-soft:#f1f1ef;--text:#151515;--muted:#8a8a8a;--muted-strong:#5f5f5f;--line:#e5e2dc;--accent:#ef5d56;--accent-soft:#fff0ee;--shadow:0 8px 24px #1c1c1c14;--font:"Noto Sans Thai", "Sarabun", "LINESeedSansTH", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Thonburi", system-ui, ui-sans-serif, sans-serif;color:var(--text);background:var(--bg);font-family:var(--font);font-synthesis:none;letter-spacing:0;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.35}*{box-sizing:border-box}html{scrollbar-gutter:stable;min-height:100%;overflow-y:scroll}body{min-width:320px;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}#app{min-height:100svh}.login-page,.day-page{background:var(--surface);width:min(100%,520px);min-height:100svh;margin:0 auto}.login-page{grid-template-rows:minmax(0,1fr) auto;padding:24px;display:grid}.login-panel{align-self:center;gap:24px;display:grid}.login-brand{text-align:center;justify-items:center;gap:10px;display:grid}.brand-logo{object-fit:contain;width:54px;height:54px;display:block}.login-brand h1{color:var(--text);margin:0;font-size:28px;font-weight:760;line-height:1}.login-brand p{color:var(--muted);margin:5px 0 0;font-size:14px}.login-footer{color:var(--muted);text-align:center;padding-top:18px;font-size:12px;font-weight:620}.login-form,.dev-picker{gap:14px;display:grid}.login-form label,.dev-picker-row label{color:var(--muted-strong);gap:7px;font-size:13px;font-weight:650;display:grid}.login-form input,.dev-picker input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:44px;color:var(--text);border-radius:8px;outline:none;padding:10px 12px}.login-form input:focus,.dev-picker input:focus{border-color:var(--text)}.primary-button,.secondary-button,.icon-button{border:1px solid #0000;border-radius:8px;min-height:44px}.primary-button{background:var(--text);color:var(--surface);font-weight:720}.primary-button:disabled{cursor:default;opacity:.64}.secondary-button{background:var(--surface);border-color:var(--line);color:var(--text);font-weight:700}.secondary-button:disabled{cursor:default;color:var(--muted);background:var(--surface-soft)}.dev-picker{border-top:1px solid var(--line);padding-top:18px}.driver-results{gap:7px;max-height:300px;padding-right:2px;display:grid;overflow:auto}.driver-option{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--text);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;display:flex}.driver-option.active{border-color:var(--text);background:var(--surface-soft)}.driver-option span{gap:2px;min-width:0;display:grid}.driver-option strong,.driver-option em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.driver-option em{color:var(--muted);font-size:12px;font-style:normal}.driver-option small{color:var(--muted-strong);flex:none;font-size:12px}.day-page{padding:14px 22px 36px}.day-header{padding:0 0 10px;display:grid}.header-meta{justify-content:space-between;align-items:center;gap:12px;min-height:40px;display:flex}.time-weather-lockup{align-items:center;gap:9px;min-width:0;line-height:1;display:flex}.live-time-title{flex:none;display:grid}.live-time-title strong{color:var(--text);font-size:28px;font-weight:820}.weather-button{max-width:160px;min-height:31px;color:var(--muted-strong);text-align:left;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.weather-button:focus-visible{outline:2px solid var(--text);outline-offset:3px}.weather-button.is-ready{color:var(--text)}.weather-button.is-error{color:#9e2e27}.weather-icon{flex:none;place-items:center;width:18px;font-size:16px;line-height:1;display:inline-grid}.weather-copy{gap:1px;min-width:0;line-height:1.08;display:grid}.weather-copy span,.weather-copy em{white-space:nowrap;overflow:hidden}.weather-copy span{text-overflow:clip;font-size:12.6px;font-weight:800}.weather-copy em{color:var(--muted);text-overflow:ellipsis;font-size:10.5px;font-style:normal;font-weight:720}.route-rider-actions{flex:auto;justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.route-rider-lockup{text-align:right;justify-items:end;gap:1px;min-width:0;line-height:1.05;display:grid}.route-rider-lockup strong,.route-rider-lockup em{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.route-rider-lockup strong{color:var(--text);font-size:23px;font-weight:820}.route-rider-lockup em{color:var(--muted-strong);font-size:13px;font-style:normal;font-weight:760}.icon-button{border-color:var(--line);background:var(--surface);width:38px;min-height:38px;color:var(--muted-strong);flex:none;place-items:center;padding:0;line-height:1;display:grid}.icon-button svg{width:18px;height:18px}.week-strip{border-bottom:2px dotted var(--line);grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding-bottom:14px;display:grid}.week-day{color:#b8b8b8;text-align:center;background:0 0;border:1px solid #0000;border-radius:8px;align-content:center;justify-items:center;gap:2px;min-width:0;min-height:58px;padding:3px 0 4px;display:grid}.week-day strong{font-size:23px;font-weight:730;line-height:1}.week-day-label{letter-spacing:.02em;font-size:12px;font-weight:820}.today-marker{min-height:11px;color:var(--accent);font-size:9.5px;font-weight:820;line-height:1.1}.today-marker.is-hidden{visibility:hidden}.week-day.is-today{background:var(--accent-soft);color:var(--text);border-color:#f1c4c0}.week-day.selected{border-color:var(--line);background:var(--surface);color:var(--text);box-shadow:var(--shadow);padding-top:7px;padding-bottom:5px}.week-day.selected .week-day-label,.week-day.selected .today-marker{color:var(--accent)}.list-summary{color:var(--muted);grid-template-columns:minmax(0,1fr);align-items:center;gap:5px;padding:8px 0;font-size:13px;font-weight:700;display:grid}.summary-row{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.summary-control-row{justify-content:space-between;align-items:center;gap:6px;min-width:0;display:flex}.summary-count{white-space:nowrap;text-overflow:ellipsis;flex:auto;align-items:center;gap:6px;min-width:0;display:inline-flex;overflow:hidden}.summary-count-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.summary-progress,.summary-refresh,.auto-sort-chip{flex:none}.auto-sort-chip{border:1px solid var(--accent);background:var(--accent-soft);color:var(--accent);cursor:pointer;letter-spacing:.01em;white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:3px 9px 3px 7px;font-size:11.5px;font-weight:800;transition:background-color .16s,color .16s,border-color .16s,opacity .16s;display:inline-flex}.auto-sort-chip:hover{background:var(--accent);color:var(--surface)}.auto-sort-chip:focus-visible{outline:2px solid var(--text);outline-offset:2px}.auto-sort-chip:disabled,.auto-sort-chip[aria-busy=true]{cursor:progress;opacity:.7}.auto-sort-chip svg{flex:none;width:12px;height:12px}.hide-confirmed-switch{flex:none}.summary-progress{color:var(--muted-strong);font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;font-size:12px;font-weight:820;display:inline-flex}.summary-progress.is-complete{color:#1f6b3a}.summary-progress-track{background:#efede8;border-radius:999px;width:100%;height:3px;display:block;overflow:hidden}.summary-progress-track span{width:var(--summary-progress,0%);border-radius:inherit;background:var(--accent);height:100%;display:block}.summary-progress-track.is-complete span{background:#1f8a4c}.summary-refresh{color:var(--muted-strong);opacity:.78;align-items:center;gap:5px;font-size:12px;font-weight:760;display:inline-flex}.summary-refresh span{background:var(--accent);border-radius:999px;width:6px;height:6px;animation:.9s ease-in-out infinite summary-refresh-pulse}.task-summary-strip{scrollbar-width:none;flex-wrap:nowrap;flex:none;justify-content:flex-start;align-items:center;gap:6px;min-width:0;padding:0;display:flex;overflow-x:auto}.task-summary-strip::-webkit-scrollbar{display:none}.juice-filter-scroller::-webkit-scrollbar{display:none}.juice-filter-strip{flex:auto;justify-content:flex-end;min-width:0;display:flex}.juice-filter-scroller{scrollbar-width:none;gap:5px;max-width:100%;margin-left:auto;display:flex;overflow-x:auto}.task-count{color:#4f4a40;cursor:pointer;white-space:nowrap;background:#efece6;border:0;border-radius:8px;flex:none;align-items:center;gap:5px;min-height:28px;padding:4px 9px;font-size:12px;font-weight:820;transition:background-color .14s,color .14s,transform 80ms;display:inline-flex}.task-count:active{transform:scale(.97)}.task-count:focus-visible{outline-offset:2px;outline:2px solid}.task-count strong{color:inherit;font-variant-numeric:tabular-nums;font-size:12px;font-weight:880}.task-count.is-delivery-only{color:#2f2f2e;background:#efece6}.task-count.is-delivery-return{color:#a45c10;background:#fef0dc}.task-count.is-return-only{color:#7a430d;background:#fbe9c9}.task-count.is-delivery-only.is-active{color:#fff;background:#2f2f2e}.task-count.is-delivery-return.is-active{color:#fff;background:#d97706}.task-count.is-return-only.is-active{color:#fff;background:#8a5a16}.juice-filter-count{background:var(--juice-bg,#ececec);min-width:38px;min-height:28px;color:var(--juice-fg,var(--muted-strong));text-align:center;white-space:nowrap;border:1px solid #0000;border-radius:8px;flex:none;align-content:center;place-items:center;gap:0;padding:3px 7px;font-size:11px;font-weight:840;line-height:1;display:inline-grid}.juice-filter-count .juice-chip-qty{opacity:.72;font-size:9.5px;font-weight:760}.juice-filter-count.is-active{border-color:currentColor;box-shadow:inset 0 0 0 1px}.hide-confirmed-switch{color:var(--muted-strong);cursor:pointer;white-space:nowrap;background:0 0;border:0;align-items:center;gap:8px;min-height:32px;padding:0;font-size:13px;font-weight:780;transition:color .18s;display:inline-flex}.hide-confirmed-switch:focus-visible{outline:2px solid var(--text);outline-offset:3px}.switch-track{background:#e8e6e1;border:1px solid #d6d2ca;border-radius:999px;flex:none;align-items:center;width:38px;height:22px;transition:background-color .18s,border-color .18s;display:inline-flex;position:relative}.switch-thumb{background:var(--surface);border-radius:999px;width:18px;height:18px;transition:transform .19s cubic-bezier(.2,0,0,1);position:absolute;top:50%;left:2px;transform:translateY(-50%);box-shadow:0 1px 2px #1515152e,0 0 0 1px #1515150a}.hide-confirmed-switch[aria-checked=true]{color:var(--text)}.hide-confirmed-switch[aria-checked=true] .switch-track{border-color:var(--text);background:var(--text)}.hide-confirmed-switch[aria-checked=true] .switch-thumb{transform:translate(16px,-50%)}.rider-info-strip{gap:6px;padding:0 0 12px;display:grid}.rider-info-item{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 11px;display:flex}.rider-info-item span{color:var(--muted-strong);font-size:13px;font-weight:740}.rider-info-item strong{color:var(--text);text-align:right;font-size:14px;font-weight:820}.delivery-list{display:grid}.no-order-empty{justify-items:center;padding:clamp(14px,5vw,28px) 0 26px;display:grid;overflow:hidden}.no-order-empty-image{object-fit:contain;-webkit-mask-composite:source-in;width:min(100%,480px);height:auto;display:block;-webkit-mask-image:linear-gradient(#0000 0,#000 15% 84%,#0000 100%),linear-gradient(90deg,#0000 0,#000 8% 92%,#0000 100%);mask-image:linear-gradient(#0000 0,#000 15% 84%,#0000 100%),linear-gradient(90deg,#0000 0,#000 8% 92%,#0000 100%);-webkit-mask-composite:source-in;mask-composite:intersect}@supports not (mask-composite:intersect){.no-order-empty-image{-webkit-mask-image:radial-gradient(#000 0 61%,#000000d1 72%,#0000 100%);mask-image:radial-gradient(#000 0 61%,#000000d1 72%,#0000 100%)}}@media (width<=420px){.no-order-empty{margin-inline:-2px}.no-order-empty-image{width:min(104%,480px);-webkit-mask-image:linear-gradient(#0000 0,#000 17% 82%,#0000 100%),linear-gradient(90deg,#0000 0,#000 9% 91%,#0000 100%);mask-image:linear-gradient(#0000 0,#000 17% 82%,#0000 100%),linear-gradient(90deg,#0000 0,#000 9% 91%,#0000 100%)}}@supports not (mask-composite:intersect){@media (width<=420px){.no-order-empty-image{-webkit-mask-image:radial-gradient(#000 0 56%,#000000c7 69%,#0000 100%);mask-image:radial-gradient(#000 0 56%,#000000c7 69%,#0000 100%)}}}@supports not ((-webkit-mask-image:linear-gradient(#000, transparent))){.no-order-empty{position:relative}.no-order-empty:before,.no-order-empty:after{z-index:1;pointer-events:none;content:"";height:22%;position:absolute;left:0;right:0}.no-order-empty:before{background:linear-gradient(to bottom, var(--surface), #fff0);top:0}.no-order-empty:after{background:linear-gradient(to top, var(--surface), #fff0);bottom:0}.no-order-empty-image{-webkit-mask-image:none;mask-image:none}}.delivery-skeleton{gap:0;display:grid}.delivery-skeleton span{border-bottom:2px dotted var(--line);background:linear-gradient(90deg,#f3f3f0 25%,#ecebe7 37%,#f3f3f0 63%) 74px 18px/68% 14px no-repeat,linear-gradient(90deg,#f3f3f0 25%,#ecebe7 37%,#f3f3f0 63%) 74px 42px/54% 12px no-repeat,linear-gradient(90deg,#f3f3f0 25%,#ecebe7 37%,#f3f3f0 63%) 6px 18px/50px 28px no-repeat;height:82px;animation:1.1s linear infinite skeleton-shimmer;display:block}.delivery-card{border-bottom:2px dotted var(--line);transition:background-color .16s,opacity .16s}.delivery-row-shell{grid-template-columns:62px minmax(0,1fr) 78px;align-items:center;gap:10px;min-height:64px;display:grid}.drag-handle{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:0;justify-content:center;align-items:center;width:62px;min-height:40px;padding:0;display:flex}.drag-handle *{touch-action:none;pointer-events:none}.juice-handle .juice-tags{max-width:56px}.return-handle-only{color:#7a430d;text-align:center;background:#fff2d9;border-radius:9px;place-items:center;min-width:48px;min-height:42px;padding:6px 5px;display:grid}.return-handle-only span,.return-handle-only strong{line-height:1.05;display:block}.return-handle-only span{font-size:12px;font-weight:860}.return-handle-only strong{font-size:11.5px;font-weight:760}.delivery-list.is-sorting,.delivery-list.is-sorting *{cursor:grabbing}.delivery-card.dragging{background:var(--surface-soft);opacity:.92}.delivery-row{width:100%;color:var(--text);text-align:left;background:0 0;border:0;align-items:center;padding:9px 0;display:grid}.stop-sequence{background:var(--accent-soft);width:28px;height:28px;color:var(--accent);border-radius:8px;place-items:center;font-size:13px;font-weight:800;display:grid}.stop-main{gap:3px;min-width:0;display:grid}.stop-main strong{overflow-wrap:anywhere;color:var(--text);font-size:18px;font-weight:790;line-height:1.18}.customer-name{display:block}.customer-nickname,.customer-full-name{overflow-wrap:anywhere}.customer-full-name{color:var(--muted-strong);font-size:.84em;font-weight:680}.delivery-row .customer-name{max-width:100%;padding-block:1px;line-height:1.4;display:block}.delivery-card:not(.expanded) .delivery-row .customer-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.delivery-card:not(.expanded) .delivery-row .customer-nickname,.delivery-card:not(.expanded) .delivery-row .customer-full-name{overflow-wrap:normal;word-break:normal}.delivery-card:not(.expanded) .delivery-row .customer-full-name{margin-left:4px}.delivery-card:not(.expanded) .stop-address{-webkit-line-clamp:2}.delivery-card:not(.expanded) .stop-note{-webkit-line-clamp:1}.stop-context{gap:1px;min-width:0;display:grid}.stop-context span{overflow-wrap:anywhere;color:var(--muted);-webkit-box-orient:vertical;font-size:12.5px;line-height:1.28;display:-webkit-box;overflow:hidden}.stop-address{-webkit-line-clamp:2}.stop-note{-webkit-line-clamp:1;color:var(--muted-strong);font-weight:720}.stop-return{-webkit-line-clamp:1;color:#8a3f16;font-weight:780}.juice-tags{flex-direction:column;justify-content:center;align-items:center;gap:3px;max-width:56px;display:flex}.juice-tags .juice-chip,.juice-tags.muted{background:var(--juice-bg,#ececec);width:48px;min-height:42px;color:var(--juice-fg,var(--muted-strong));text-align:center;letter-spacing:.02em;white-space:nowrap;border:0;border-radius:10px;align-content:center;place-items:center;gap:1px;padding:4px 6px;font-size:12px;font-weight:820;line-height:1.05;display:grid}.juice-tags:has(.juice-chip:nth-child(2)) .juice-chip{border-radius:8px;min-height:24px;padding:2px 5px;font-size:11px}.juice-tags:has(.juice-chip:nth-child(2)) .juice-chip-qty{font-size:10px}.juice-tags:has(.juice-chip:nth-child(3)) .juice-chip{border-radius:6px;min-height:18px;padding:1px 5px;font-size:10.5px}.juice-tags:has(.juice-chip:nth-child(3)) .juice-chip-qty{font-size:9.5px}.juice-tags.muted{background:var(--surface-soft);color:var(--muted);letter-spacing:0;font-weight:720}.juice-chip-sku{font-feature-settings:"tnum" 1;display:block}.juice-chip-qty{color:inherit;opacity:.72;font-size:11px;font-weight:720;display:block}.juice-chip[data-juice=RS],.juice-chip[data-juice=RL],.juice-chip[data-juice=E]{--juice-bg:#ffe4c7;--juice-fg:#a85600}.juice-chip[data-juice=SS],.juice-chip[data-juice=SL]{--juice-bg:#fde3eb;--juice-fg:#9a1f63}.juice-chip[data-juice=TS],.juice-chip[data-juice=TL]{--juice-bg:#e9f5d6;--juice-fg:#3f7208}.juice-chip[data-juice=TSX],.juice-chip[data-juice=TLX]{--juice-bg:#d9eee2;--juice-fg:#0e6b3f}.juice-chip[data-juice=CO]{--juice-bg:#ede5d2;--juice-fg:#67502b}.juice-chip[data-juice=RET]{--juice-bg:#fff2d9;--juice-fg:#8a3f16}.juice-chip[data-juice=PKG]{--juice-bg:#e8f0ef;--juice-fg:#245c55}.confirm-button{width:100%;min-height:44px;color:var(--muted-strong);letter-spacing:0;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:0 6px;font-size:13px;font-weight:800;transition:transform 80ms,background-color .14s,box-shadow .14s,color .14s;display:inline-flex}.confirm-button .confirm-icon{flex-shrink:0;width:13px;height:13px}.confirm-button .confirm-label{white-space:nowrap;font-feature-settings:"tnum" 1}.confirm-button.is-pending{color:#fff;background:#4f4a40;box-shadow:0 1px #0000000a,0 6px 14px #4f4a4038}.confirm-button.is-pending:active{transform:scale(.96);box-shadow:0 1px #0000000a,0 2px 6px #4f4a402e}@media (hover:hover){.confirm-button.is-pending:hover{background:#3d3932}}.confirm-button.is-success{color:#1f7a36;background:0 0;min-height:36px;font-size:12px;font-weight:720}.confirm-button.is-success:active{transform:scale(.97)}.confirm-button.is-failed{color:#b42318;background:0 0;min-height:36px;font-size:12px;font-weight:720}.confirm-button.is-failed:active{transform:scale(.97)}.delivery-card.is-success,.delivery-card.is-failed{opacity:.55}.delivery-card.is-success .stop-main strong,.delivery-card.is-failed .stop-main strong{color:var(--muted-strong);font-weight:720}.delivery-card.is-success .juice-chip,.delivery-card.is-failed .juice-chip{opacity:.85}.delivery-card.is-delivery-return,.delivery-card.is-return-only{background:0 0}.delivery-card.is-delivery-return .confirm-button.is-pending{background:#d97706;box-shadow:0 1px #0000000a,0 6px 14px #d9770638}.delivery-card.is-return-only .confirm-button.is-pending{background:#8a5a16;box-shadow:0 1px #0000000a,0 6px 14px #8a5a1638}@media (hover:hover){.delivery-card.is-delivery-return .confirm-button.is-pending:hover{background:#c66a04}.delivery-card.is-return-only .confirm-button.is-pending:hover{background:#764a0f}}.delivery-detail{opacity:0;max-height:0;transition:max-height .22s,opacity .16s,transform .18s;overflow:hidden;transform:translateY(-4px)}.delivery-card.expanded .delivery-detail{opacity:1;max-height:920px;transform:translateY(0)}.detail-summary-grid{grid-template-columns:minmax(0,1fr) minmax(0,.72fr);gap:6px;padding:0 0 6px 34px;display:grid}.detail-stack{gap:6px;padding:0 0 12px 34px;display:grid}.detail-block{border:1px solid var(--line);background:#fbfbfa;border-radius:8px;gap:3px;padding:7px 10px;display:grid}.detail-block.compact{background:var(--surface-soft)}.detail-block.note,.detail-block.instruction{background:#fff8f7;border-color:#eadbd8}.detail-block.return-info{background:#fffaf0;border-color:#f0dfbd}.delivery-info-list{gap:6px;margin:0;display:grid}.delivery-info-list div{gap:2px;display:grid}.delivery-info-list dt{color:var(--muted);font-size:11px;font-weight:800}.delivery-info-list dd{overflow-wrap:anywhere;white-space:pre-line;color:var(--text);margin:0;font-size:14px;line-height:1.38}.phone-action-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.phone-action-row p{min-width:0;font-weight:800}.detail-block span{color:var(--muted);font-size:11px;font-weight:800}.detail-block p,.detail-block a{overflow-wrap:anywhere;color:var(--text);margin:0;font-size:14px;line-height:1.4}.detail-block a{-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);text-underline-offset:3px}.detail-block .call-button{color:#fff;background:#1f7a36;border:1px solid #1f7a36;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-width:70px;min-height:34px;font-size:13px;font-weight:800;line-height:1;text-decoration:none;display:inline-flex}.detail-block .call-button:visited,.detail-block .call-button:hover,.detail-block .call-button:active{color:#fff}.detail-block .call-button svg{flex-shrink:0;width:14px;height:14px}.detail-block .call-button span{color:#fff;font-size:13px;font-weight:800;line-height:1}.detail-block .call-button:active{background:#17662c}.confirmation-backdrop{z-index:20;background:#15151547;align-items:end;animation:.16s both drawer-backdrop-in;display:grid;position:fixed;inset:0}.confirmation-sheet{border:1px solid var(--line);background:var(--surface);border-bottom:0;border-radius:18px 18px 0 0;width:min(100%,520px);max-height:92svh;margin:0 auto;padding:0;animation:.21s cubic-bezier(.2,0,0,1) both drawer-sheet-in;position:relative;box-shadow:0 -16px 36px #15151514}.confirmation-sheet:before{content:"";pointer-events:none;background:#d8d4cc;border-radius:999px;width:36px;height:4px;position:absolute;top:8px;left:50%;transform:translate(-50%)}.confirmation-backdrop.is-closing{animation:.22s both drawer-backdrop-out}.confirmation-backdrop.is-closing .confirmation-sheet{animation:.24s cubic-bezier(.4,0,1,1) both drawer-sheet-out}.confirmation-sheet form{-webkit-overflow-scrolling:touch;gap:14px;max-height:92svh;padding:22px 18px 0;scroll-padding-bottom:90px;display:grid;overflow-y:auto}.confirmation-sheet.is-saving{pointer-events:none}.confirmation-sheet.is-saved .sheet-save{background:#1f7a36}.sheet-footer{padding:14px 18px calc(env(safe-area-inset-bottom,0px) + 16px);background:linear-gradient(to top, var(--surface) 70%, #fff0);margin:4px -18px 0;display:grid;position:sticky;bottom:0}.sheet-save{background:var(--text);width:100%;min-height:52px;color:var(--surface);letter-spacing:.01em;border-radius:12px;font-size:15px;font-weight:800;transition:transform 80ms,background-color .14s,box-shadow .14s;box-shadow:0 1px #0000000a,0 8px 18px #1515152e}.sheet-save:active{transform:scale(.98)}.sheet-save:disabled{opacity:.7;cursor:default;transform:none}.confirmation-sheet header{justify-content:space-between;align-items:center;gap:12px;display:flex}.confirmation-sheet header div{gap:3px;min-width:0;display:grid}.confirmation-sheet header .customer-name,.confirmation-sheet header>div>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.confirmation-sheet header .customer-name{font-size:17px;font-weight:820}.confirmation-sheet header .customer-full-name{font-size:.82em}.confirmation-sheet header>div>span{color:var(--muted);font-size:12px;font-weight:760}.sheet-close{border:1px solid var(--line);background:var(--surface);width:36px;min-height:36px;color:var(--muted-strong);border-radius:8px;flex:0 0 36px;place-items:center;font-size:22px;line-height:1;display:grid}.confirmation-status-row{align-items:stretch;gap:8px;display:flex}.confirmation-status{background:var(--surface-soft);border-radius:12px;flex:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-width:0;padding:4px;display:grid}.status-reset{background:var(--surface-soft);width:44px;color:var(--muted-strong);cursor:pointer;border:0;border-radius:12px;flex:none;place-items:center;padding:0;transition:background-color .14s,color .14s,transform 80ms;display:inline-grid}.status-reset svg{width:18px;height:18px}.status-reset:hover{color:var(--text);background:#ecebe6}.status-reset:active{transform:scale(.95)}.status-reset:focus-visible{outline:2px solid var(--text);outline-offset:2px}.confirmation-status label{min-height:44px;color:var(--muted-strong);cursor:pointer;background:0 0;border-radius:9px;justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:800;transition:background-color .14s,color .14s,box-shadow .14s;display:inline-flex}.confirmation-status label .status-icon{opacity:.6;flex-shrink:0;width:14px;height:14px;transition:opacity .14s}.confirmation-status label.selected[data-status=success]{color:#fff;background:#1f7a36;box-shadow:inset 0 0 0 1px #1f7a36}.confirmation-status label.selected[data-status=failed]{color:#fff;background:#b42318;box-shadow:inset 0 0 0 1px #b42318}.confirmation-status label.selected .status-icon{opacity:1}.confirmation-status input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.confirmation-status input:focus-visible+.status-icon{outline:2px solid var(--text);outline-offset:3px;border-radius:4px}.confirmation-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:12px;font-weight:760;display:flex}.confirmation-meta span,.location-link{min-width:0}.location-link{overflow-wrap:anywhere;color:var(--text);-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);text-underline-offset:3px}.photo-picker{gap:10px;display:grid}.photo-picker-head{justify-content:space-between;align-items:baseline;gap:10px;margin:0;padding:0;display:flex}.photo-picker-head>span,.confirmation-note>span{color:var(--muted-strong);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:800}.confirmation-note{gap:7px;display:grid}.file-input-hidden{display:none}.photo-actions{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.photo-action{letter-spacing:.01em;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:48px;font-size:14px;font-weight:800;transition:transform 80ms,background-color .14s,box-shadow .14s;display:inline-flex}.photo-action svg{flex-shrink:0;width:18px;height:18px}.photo-action-primary{background:var(--text);color:var(--surface);box-shadow:0 1px #0000000a,0 6px 14px #1515152e}.photo-action-primary:active{transform:scale(.97);box-shadow:0 1px #0000000a,0 2px 6px #15151529}.photo-action-secondary{background:var(--surface);width:48px;color:var(--muted-strong);box-shadow:inset 0 0 0 1px var(--line);padding:0}.photo-action-secondary svg{width:19px;height:19px}.photo-action-secondary:active{transform:scale(.95)}@media (hover:hover){.photo-action-primary:hover{background:#000}.photo-action-secondary:hover{background:var(--surface-soft);color:var(--text)}}.image-count{color:var(--muted);margin:0;font-size:12px;font-weight:720}.image-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.image-preview:empty{border:1px dashed var(--line);background:var(--surface-soft);border-radius:10px;min-height:64px;display:block}.image-preview-item{border:1px solid var(--line);background:var(--surface-soft);aspect-ratio:1;border-radius:8px;position:relative;overflow:hidden}.image-preview-item img{object-fit:cover;width:100%;height:100%;display:block}.image-preview-item:focus-visible{outline:2px solid var(--text);outline-offset:2px}.image-preview-item button,.image-remove-button{color:var(--text);background:#ffffffeb;border:1px solid #15151533;border-radius:7px;padding:4px 6px;font-size:11px;font-weight:820;position:absolute;top:5px;right:5px}.image-preview-item button:disabled,.image-remove-button:disabled{cursor:default;opacity:.7}.image-preview-item.is-removing{pointer-events:none;opacity:.62}.image-state{color:var(--text);background:#ffffffeb;border:1px solid #15151533;border-radius:7px;padding:4px 6px;font-size:11px;font-weight:820;position:absolute;bottom:5px;right:5px}.image-product-tags{flex-wrap:wrap;gap:3px;max-height:calc(100% - 38px);display:flex;position:absolute;bottom:4px;left:4px;right:4px;overflow:hidden}.image-product-tag{color:#fff;letter-spacing:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-feature-settings:"tnum" 1;border-radius:6px;max-width:100%;padding:4px 6px;font-size:10.5px;font-weight:820;line-height:1.1;display:block;overflow:hidden}.image-product-tag.is-match{background:#1f6b3aeb}.image-product-tag.is-extra{background:#b47c18f0}.image-preview-item.is-tagged{box-shadow:inset 0 0 0 2px #1f6b3ad9}.image-preview-item.is-extra{box-shadow:inset 0 0 0 2px #b47c18d1}.return-checklist{background:var(--surface-soft);border-radius:12px;gap:10px;padding:12px 14px;display:grid}.return-checklist-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.return-checklist-head>span{color:var(--muted-strong);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:800}.return-checklist-progress{color:var(--muted);font-variant-numeric:tabular-nums;margin:0;font-size:12px;font-weight:760}.return-checklist.is-complete .return-checklist-progress{color:#1f6b3a;font-weight:820}.return-checklist-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.return-checklist-item{background:var(--surface);color:var(--text);cursor:pointer;border-radius:10px;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;padding:10px 12px;transition:background-color .14s,box-shadow .14s;display:grid}.return-checklist-item input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.return-checklist-mark{background:var(--surface);width:22px;height:22px;box-shadow:inset 0 0 0 1.5px var(--line);color:#0000;border-radius:6px;place-items:center;transition:background-color .14s,color .14s,box-shadow .14s;display:inline-grid}.return-checklist-mark svg{width:14px;height:14px}.return-checklist-item:has(input:checked){background:#ecf6ee;box-shadow:inset 0 0 0 1px #c5e2cf}.return-checklist-item:has(input:checked) .return-checklist-mark{color:#fff;background:#1f6b3a;box-shadow:inset 0 0 0 1.5px #1f6b3a}.return-checklist-text{gap:1px;min-width:0;display:grid}.return-checklist-text strong{color:var(--text);letter-spacing:.01em;font-feature-settings:"tnum" 1;font-size:14px;font-weight:820}.return-checklist-text em{color:var(--muted-strong);font-size:11.5px;font-style:normal;font-weight:720}.return-checklist-source{color:#1f6b3a;letter-spacing:.02em;white-space:nowrap;background:#1f6b3a1f;border-radius:999px;padding:3px 8px;font-size:10.5px;font-weight:820}.image-lightbox{z-index:40;background:#151515b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.image-lightbox img{background:var(--surface);object-fit:contain;border-radius:8px;max-width:min(100%,520px);max-height:78svh;display:block}.image-lightbox button{background:var(--surface);min-height:38px;color:var(--text);border:1px solid #ffffff47;border-radius:8px;padding:0 12px;font-size:13px;font-weight:820;position:fixed;top:18px;right:18px}.confirmation-note textarea{resize:vertical;border:1px solid var(--line);background:var(--surface);width:100%;min-height:64px;color:var(--text);font:inherit;border-radius:10px;outline:none;padding:10px 12px;font-size:14px;line-height:1.4;transition:border-color .14s,box-shadow .14s}.confirmation-note textarea::placeholder{color:var(--muted)}.confirmation-note textarea:focus{border-color:var(--text);box-shadow:0 0 0 3px #1515150f}@keyframes drawer-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes drawer-sheet-in{0%{transform:translateY(18px)}to{transform:translateY(0)}}@keyframes drawer-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes drawer-sheet-out{0%{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes summary-refresh-pulse{0%,to{opacity:.38;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}@keyframes skeleton-shimmer{0%{background-position:74px 18px,74px 42px,6px 18px}to{background-position:92px 18px,92px 42px,24px 18px}}.status-message,.empty-state{border:1px solid var(--line);background:var(--surface-soft);color:var(--muted-strong);border-radius:8px;margin:0;padding:12px;font-size:13px}.status-message{margin:10px 0}.status-message.error{color:#9e2e27;background:#fff6f5;border-color:#f1b9b5}.sheet-error{color:#9e2e27;background:#fff6f5;border-radius:10px;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:13px;font-weight:720;line-height:1.4;display:flex;box-shadow:inset 0 0 0 1px #f1b9b5}.sheet-error:before{content:"!";color:#fff;background:#b42318;border-radius:999px;flex-shrink:0;place-items:center;width:18px;height:18px;font-size:12px;font-weight:900;display:inline-grid}@media (width<=420px){.login-page{padding:18px}.day-page{padding:12px 18px 36px}.time-weather-lockup{gap:7px}.live-time-title strong{font-size:25px}.weather-button{max-width:146px}.weather-copy span{font-size:12px}.weather-copy em{font-size:10px}.route-rider-lockup strong{font-size:20px}.route-rider-lockup strong,.route-rider-lockup em{max-width:168px}.week-strip{padding-bottom:12px}.week-day{min-height:58px}.week-day strong{font-size:21px}.week-day-label{font-size:11px}.today-marker{font-size:9px}.delivery-row-shell{grid-template-columns:56px minmax(0,1fr) 72px;gap:8px}.drag-handle{width:56px}.juice-handle .juice-tags{max-width:56px}.confirm-button{padding-inline:6px;font-size:12.5px}.confirm-button.is-success{font-size:11.5px}.delivery-detail{margin-left:0}.detail-summary-grid,.detail-stack{padding-left:34px}.detail-summary-grid{grid-template-columns:1fr}}
