:root{color-scheme:light;--bg:#f7f6f2;--ink:#202d29;--muted:#61706a;--line:#e3e6df;--orange:#e96b43;--orange-dark:#b94724;--green:#26483b;--pale:#edf3ec;--white:#fff;--shadow:0 5px 20px rgba(32,45,41,.055)}
*{box-sizing:border-box}html{min-width:0;scroll-behavior:smooth}body{margin:0;background:#e9ebe5;color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;font-size:16px;line-height:1.5;overflow-x:hidden}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #ac401e;outline-offset:3px}button:disabled{opacity:.52;cursor:not-allowed}.app-shell{max-width:520px;min-height:100vh;margin:auto;background:var(--bg);position:relative;box-shadow:0 0 40px rgba(32,45,41,.06)}.app-header{position:sticky;top:0;z-index:10;background:rgba(247,246,242,.97);border-bottom:1px solid var(--line)}.header-row{height:68px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 20px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}.brand-mark{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:var(--orange);color:#fff;font-size:21px;font-weight:850;letter-spacing:-.06em}.brand-text{font-size:18px;font-weight:850;letter-spacing:-.05em;white-space:nowrap}.brand-sub{font-size:12px;font-weight:650;color:#78847e;letter-spacing:0;margin-left:5px}.work-chip{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 0 0 10px;color:#394c43;text-decoration:none;font-weight:750;font-size:14px;white-space:nowrap}.status-dot{width:9px;height:9px;border-radius:50%;background:#aeb9b1}.status-dot.on{background:#58a076}.connection-banner{display:flex;align-items:flex-start;gap:9px;padding:10px 20px;background:#fff0c9;color:#59420a;font-size:13px;line-height:1.45;font-weight:700;text-decoration:none}.connection-banner svg{flex:none;margin-top:1px}.connection-banner .chev{margin-left:auto}main{padding:0 20px 118px;min-height:calc(100vh - 68px)}main.no-dock{padding-bottom:36px}.eyebrow{color:#6d7b73;font-size:13px;font-weight:800;letter-spacing:.045em}.page-heading{padding:24px 0 18px}.page-heading h1,.page-heading h2{font-size:27px;line-height:1.25;letter-spacing:-.055em;margin:5px 0 0;font-weight:850}.page-heading p{margin:8px 0 0;color:var(--muted);font-size:15px}.back-line{display:flex;align-items:center;gap:9px;margin:8px 0 0}.back-link{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin-left:-13px;text-decoration:none;border:0;background:transparent;color:var(--ink)}.back-line h1{font-size:21px;line-height:1.3;margin:0;letter-spacing:-.04em;overflow-wrap:anywhere}.section-title{font-size:18px;font-weight:850;letter-spacing:-.035em;margin:0}.section-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 12px}.section-line .hint{font-size:13px;color:var(--muted);font-weight:650}.card{background:var(--white);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.start-intro{padding:29px 0 22px}.start-intro h1{font-size:29px;line-height:1.3;letter-spacing:-.06em;margin:10px 0 10px;font-weight:850}.start-intro p{font-size:15px;color:var(--muted);margin:0}.date-tag{display:inline-flex;align-items:center;gap:7px;background:#e9eee8;color:#456151;border-radius:8px;padding:6px 10px;font-size:13px;font-weight:800}.today-card{background:var(--green);color:#fff;padding:22px;border-radius:18px;position:relative;overflow:hidden}.today-card:after{content:"";position:absolute;right:-30px;top:-60px;width:170px;height:170px;border:28px solid rgba(255,255,255,.06);border-radius:50%;pointer-events:none}.today-card .small{font-size:14px;color:#c7d9cb;font-weight:750}.today-card .driver-name{font-size:22px;font-weight:850;letter-spacing:-.04em;margin:4px 0 23px}.today-stats{display:flex;gap:34px;position:relative}.today-stats .label{display:block;font-size:13px;color:#c7d9cb;font-weight:700}.today-stats strong{display:block;font-size:27px;letter-spacing:-.04em}.today-stats strong small{font-size:16px;font-weight:700;margin-left:2px}.start-note{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:15px 2px;color:#607169;font-size:14px}.start-note svg{flex:none;color:#648070}.start-note strong{display:block;color:#34473e;font-size:15px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:1px solid transparent;border-radius:12px;text-decoration:none;font-weight:800;line-height:1.2;text-align:center;letter-spacing:-.02em;padding:12px 16px}.button svg{flex:none}.button.primary{background:var(--orange);color:#fff}.button.primary:hover{background:#d85d36}.button.dark{background:var(--green);color:#fff}.button.light{background:#fff;border-color:#d9e0d9;color:var(--ink)}.button.subtle{background:#eef1eb;color:#35483e}.button.outline-orange{border-color:#e8b5a3;background:#fff8f4;color:#a74220}.button.wide{width:100%}.button.large{min-height:56px;font-size:17px}.button.small{min-height:48px;font-size:14px;padding:10px 12px}.button.icon-only{min-width:48px;padding:10px}.dock{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:rgba(247,246,242,.97);border-top:1px solid #e2e6de;z-index:12;display:flex;gap:10px}.dock .button{flex:1;min-width:0;min-height:56px}.dock .button.secondary-fixed{flex:.9}.summary-card{padding:19px 19px 17px}.summary-top{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.summary-label{font-size:13px;color:#74827a;font-weight:750}.summary-count{font-size:22px;font-weight:850;letter-spacing:-.05em;margin-top:3px;line-height:1.3}.summary-count .accent{color:#d45731}.summary-count span{white-space:nowrap}.summary-count .slash{color:#bdc8bf;margin:0 4px;font-weight:400}.summary-percent{font-size:18px;font-weight:850;color:var(--green);white-space:nowrap}.progress{height:9px;border-radius:99px;background:#ebefea;overflow:hidden;margin:14px 0 8px}.progress span{display:block;height:100%;border-radius:99px;background:var(--orange)}.summary-foot{font-size:13px;color:var(--muted);font-weight:700}.route-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:20px 0 12px}.route-toolbar h2{font-size:19px;margin:0;letter-spacing:-.04em}.route-toolbar a{min-height:48px;display:inline-flex;align-items:center;gap:5px;color:#52665a;font-size:14px;font-weight:800;text-decoration:none}.filters{display:flex;gap:8px;margin:0 0 13px}.filter{min-height:48px;border:1px solid #dce3db;border-radius:99px;background:#fff;color:#5a6b61;padding:0 18px;font-size:14px;font-weight:750}.filter.active{background:var(--ink);border-color:var(--ink);color:#fff}.stop-list{display:grid;gap:12px}.stop-card{padding:17px 16px 14px}.stop-card.next{border:2px solid #eaa080;padding:16px 15px 13px;box-shadow:0 4px 16px rgba(233,107,67,.09)}.stop-card.done{background:#f1f3ee;box-shadow:none;color:#52625a;padding-top:14px;padding-bottom:13px}.stop-top{display:flex;gap:10px;align-items:flex-start}.stop-number{flex:none;display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#edf1eb;color:#4a6052;font-weight:850;font-size:14px}.next .stop-number{background:#ffede4;color:#bb4b29}.stop-heading{flex:1;min-width:0}.stop-heading h3{font-size:19px;line-height:1.35;letter-spacing:-.045em;margin:0;font-weight:850;overflow-wrap:anywhere}.stop-heading a{text-decoration:none}.stop-heading .address{color:#63736a;font-size:14px;line-height:1.45;margin-top:5px;overflow-wrap:anywhere}.tag-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0 0}.badge{display:inline-flex;align-items:center;gap:4px;min-height:26px;border-radius:7px;padding:3px 8px;font-size:12px;line-height:1.3;font-weight:850;white-space:nowrap}.badge.waiting{background:#edf2ec;color:#426050}.badge.next-badge{background:#ffede5;color:#ae4221}.badge.completed{background:#e1eae2;color:#426b4c}.badge.queued{background:#fff0c9;color:#78530c}.badge.error{background:#fbe6e2;color:#9e392e}.menu-line{font-size:15px;font-weight:750;color:#344b3e;margin:12px 0 3px;padding:10px 11px;background:#f6f8f4;border-radius:9px;overflow-wrap:anywhere}.menu-line b{font-size:17px;color:var(--ink)}.stop-actions{display:flex;gap:8px;margin-top:12px}.stop-actions .button{flex:1;min-width:0}.photo-indicator{display:inline-flex;align-items:center;gap:4px;color:#607269;font-size:12px;font-weight:750}.photo-indicator i{width:7px;height:7px;border-radius:50%;background:#e96b43}.done .menu-line{background:transparent;padding:0;margin-top:7px;color:#697a70;font-size:13px}.done .stop-actions{margin-top:8px}.detail-hero{padding:20px}.detail-hero h2{font-size:23px;line-height:1.3;margin:0 0 8px;letter-spacing:-.05em;overflow-wrap:anywhere}.detail-address{color:#5d7065;overflow-wrap:anywhere;line-height:1.5}.inline-actions{display:flex;gap:8px;margin-top:16px}.inline-actions .button{flex:1;min-width:0}.detail-note{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;background:#fff2df;border-radius:12px;margin:12px 0 0;color:#674d27;font-weight:750}.detail-note svg{flex:none}.orders-card{padding:4px 17px}.order-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;border-bottom:1px solid #edf0eb;font-size:15px}.order-row:last-child{border-bottom:0}.order-row strong{font-size:18px;white-space:nowrap}.photo-card{overflow:hidden;margin-bottom:11px}.photo-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:15px 16px}.photo-card-head h3{margin:0;font-size:16px;letter-spacing:-.025em}.photo-card-head a{font-size:14px;font-weight:800;color:#a94424;min-height:48px;display:flex;align-items:center;text-decoration:none}.photo-image-button{display:block;width:100%;padding:0;border:0;background:#e9eee8;line-height:0;min-height:140px}.photo-image-button img{width:100%;height:190px;object-fit:cover}.photo-empty{padding:22px 16px 20px;background:#f7f9f5;color:#6d7c71;text-align:center;font-size:14px}.photo-empty svg{color:#a3b0a5}.photo-empty p{margin:5px 0 0}.photo-meta{padding:10px 16px;color:#67776d;font-size:13px}.photo-history{padding:0 16px 12px;color:#536b5b}.photo-history summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-size:14px;font-weight:800;list-style:none}.photo-history summary:after{content:'⌄';margin-left:auto}.history-photo{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #ebefea}.history-photo img{width:62px;height:62px;border-radius:8px;object-fit:cover}.history-photo span{font-size:13px;line-height:1.5;color:#596d5e}.visit-list{padding:2px 16px}.visit-row{display:flex;justify-content:space-between;gap:8px;padding:13px 0;border-bottom:1px solid #edf0eb;color:#55685d;font-size:14px}.visit-row:last-child{border-bottom:0}.privacy-note{font-size:13px;color:#66766c;line-height:1.6;margin:20px 0 0}.upload-box{padding:18px}.upload-title{font-weight:850;margin:0 0 12px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.choice{position:relative}.choice input{position:absolute;opacity:0;width:1px;height:1px}.choice span{display:flex;align-items:center;justify-content:center;min-height:56px;padding:10px;border-radius:11px;border:1px solid #dce3db;font-size:15px;font-weight:800;text-align:center}.choice input:checked+span{background:#fff1e9;border:2px solid var(--orange);color:#a94424}.choice input:focus-visible+span{outline:3px solid #ac401e;outline-offset:3px}.upload-controls{display:flex;gap:8px;margin-top:14px}.upload-controls .button{flex:1}.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.preview-box{display:grid;place-items:center;text-align:center;min-height:175px;margin-top:14px;border-radius:12px;background:#f0f3ed;color:#718175;overflow:hidden}.preview-box img{display:block;width:100%;max-height:300px;object-fit:contain;background:#e7ebe4}.preview-box p{font-size:14px;margin:6px 0 0}.callout{display:flex;gap:10px;align-items:flex-start;padding:15px 16px;background:#eef4ee;border-radius:12px;color:#486051;font-size:14px;line-height:1.55}.callout svg{flex:none}.callout.warning{background:#fff1d5;color:#735219}.stack{display:grid;gap:12px}.setting-card{padding:17px}.setting-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.setting-top h2{font-size:18px;margin:0}.setting-top p{font-size:14px;color:#67796e;margin:4px 0 0}.toggle{position:relative;flex:none;width:62px;height:38px;border:0;border-radius:99px;background:#c5cec5;padding:3px}.toggle:after{content:"";display:block;width:32px;height:32px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #0002;transition:transform .15s}.toggle[aria-checked=true]{background:#4a8c65}.toggle[aria-checked=true]:after{transform:translateX(24px)}.setting-status{font-size:14px;color:#52665a;margin:13px 0 0;padding-top:13px;border-top:1px solid #edf0eb}.setting-status p{margin:5px 0}.list-intro{font-size:14px;color:#627268;margin:0 0 14px}.reorder-list{display:grid;gap:8px}.reorder-row{display:flex;align-items:center;gap:8px;padding:9px;background:#fff;border:1px solid var(--line);border-radius:12px}.reorder-row.dragging{opacity:.72;border:2px solid var(--orange);box-shadow:0 6px 20px #0002}.drag-handle{width:46px;min-width:46px;height:56px;border:0;background:#f0f3ed;border-radius:9px;color:#6e8174;font-size:24px;touch-action:none;cursor:grab}.drag-handle:active{cursor:grabbing}.reorder-name{flex:1;min-width:0}.reorder-name strong{font-size:15px;line-height:1.3;display:block;overflow-wrap:anywhere}.reorder-name span{font-size:12px;color:#77877c}.move-button{min-width:44px;min-height:48px;border:1px solid #dce3db;background:#fff;border-radius:9px;font-size:16px;color:#3e5748}.empty-state{padding:48px 15px;text-align:center}.empty-icon{display:grid;place-items:center;width:74px;height:74px;border-radius:24px;margin:0 auto 18px;background:#e9efe7;color:#66816d}.empty-state h2{font-size:22px;letter-spacing:-.04em;margin:0}.empty-state p{font-size:15px;color:#66766c;line-height:1.6;margin:10px auto 20px;max-width:280px}.test-links{margin:24px 0 0;border-top:1px solid var(--line);padding-top:8px}.test-links summary{min-height:48px;display:flex;align-items:center;cursor:pointer;color:#728078;font-size:13px;font-weight:750}.test-links summary:after{content:'⌄';margin-left:auto}.test-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-bottom:8px}.test-grid a{display:flex;align-items:center;min-height:48px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#53655a;font-size:13px;font-weight:700;text-decoration:none}.small-link{display:inline-flex;align-items:center;min-height:48px;color:#65766b;font-size:13px;font-weight:750;text-decoration:none}.start-footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.loading{display:grid;place-items:center;text-align:center;padding:100px 10px;color:#66766c}.loading-spinner{width:34px;height:34px;border:4px solid #e2e9df;border-top-color:var(--orange);border-radius:50%;animation:spin .8s linear infinite}.loading p{margin:12px 0}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;background:rgba(17,30,24,.58);z-index:30;display:flex;align-items:flex-end;justify-content:center;padding:16px}.modal{width:min(100%,480px);max-height:calc(100dvh - 32px);overflow:auto;background:var(--bg);border-radius:20px;padding:24px 20px calc(20px + env(safe-area-inset-bottom));box-shadow:0 20px 55px #0003}.modal-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ffede4;color:#c25732}.modal h2{font-size:23px;line-height:1.35;letter-spacing:-.05em;margin:14px 0 8px;overflow-wrap:anywhere}.modal p{font-size:15px;color:#64746a;margin:0 0 20px}.modal-actions{display:flex;gap:8px}.modal-actions .button{flex:1;min-width:0;min-height:56px}.lightbox{align-items:center}.lightbox .modal{padding:16px}.lightbox img{display:block;width:100%;max-height:65vh;object-fit:contain;background:#e9ede8;border-radius:10px}.lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;font-weight:800}.toast{position:fixed;left:50%;bottom:calc(90px + env(safe-area-inset-bottom));z-index:50;transform:translate(-50%,12px);width:max-content;max-width:calc(100vw - 40px);background:#20342b;color:#fff;border-radius:12px;padding:12px 17px;font-size:14px;font-weight:750;text-align:center;opacity:0;visibility:hidden;transition:opacity .15s,transform .15s;pointer-events:none}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}.check-pop{animation:check .38s ease-out}@keyframes check{0%{transform:scale(.6)}70%{transform:scale(1.13)}100%{transform:scale(1)}}@media(max-width:360px){.header-row{padding-left:16px;padding-right:16px}main{padding-left:16px;padding-right:16px}.dock{padding-left:16px;padding-right:16px}.summary-count{font-size:20px}.inline-actions .button{padding-left:8px;padding-right:8px;font-size:13px}.move-button{min-width:40px}.drag-handle{min-width:42px;width:42px}.reorder-row{gap:6px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* 햇빛 아래에서 읽는 본문과 한 손 터치를 위한 보정 */
.brand{min-height:48px}.summary-card{position:sticky;top:var(--header-height,68px);z-index:9}.stop-heading .address,.menu-line,.done .menu-line,.stop-actions .button{font-size:16px}.stop-actions .button{min-height:56px}.page-heading p,.start-intro p,.start-note,.setting-top p,.setting-status,.callout,.privacy-note,.photo-empty,.visit-row,.empty-state p,.list-intro{font-size:16px}.choice span{font-size:16px}.drag-handle{width:48px;min-width:48px}.move-button{width:48px;min-width:48px;min-height:48px}
.driver-select-row{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:1}.driver-select-row select{max-width:65%;min-height:48px;padding:8px 30px 8px 12px;border:1px solid #97b4a1;border-radius:9px;background:#355b47;color:#fff;font-size:14px;font-weight:750}.driver-select-row select:focus-visible{outline:3px solid #fff;outline-offset:2px}.button.primary{color:#202d29}.button.primary:hover{background:#f17851}.summary-count .accent{color:#b94724}
.inline-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.inline-actions .button{font-size:16px;white-space:nowrap;min-height:48px;padding:10px 8px}
.stop-heading h3 a{display:flex;align-items:center;min-height:48px}

/* 스위치의 실제 터치 영역은 48px 이상으로 유지합니다. */
.toggle{height:48px;min-height:48px;padding:8px 3px}

/* 기사 화면의 주요 정보와 상태는 작은 휴대전화에서도 크게 읽히게 합니다. */
.photo-meta,.history-photo span,.photo-history summary,.order-row,.modal p,.small-link,.driver-select-row select,.summary-foot,.connection-banner,.badge,.reorder-name strong,.reorder-name span,.route-toolbar a,.today-card .small,.today-stats .label,.date-tag{font-size:16px}
.badge{white-space:normal}.today-stats{gap:clamp(14px,5vw,34px)}.start-footer{flex-wrap:wrap}
