/* 系统字体，无需访问外部字体服务。 */


:root{--teal:#087f75;--teal-dark:#07675f;--ink:#183334;--text:#334b4d;--muted:#7b8b8d;--line:#e7edec;--background:#f5f7f8;--pale:#edf7f4;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--background);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--teal);text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #70c9bc;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{color:var(--ink)}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}button .icon,a .icon{pointer-events:none}.muted{color:var(--muted);line-height:1.7}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:11px 19px;border-radius:9px;border:1px solid transparent;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.button-primary{background:var(--teal);color:#fff;box-shadow:0 4px 9px #087f7514}.button-primary:hover{background:var(--teal-dark)}.button-secondary{background:#fff;border-color:#dae5e2;color:var(--text)}.button-secondary:hover{background:#f4f9f7}.button-full{width:100%}.button-small{font-size:12px;padding:8px 11px;min-height:36px}.button-small .icon{width:16px;height:16px}.button-large{min-height:52px;font-size:16px}.button-danger-light{color:#b2473f;background:#fff1ef;border-color:#f6d7d3}.text-button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 0;font-size:13px;font-weight:600;color:var(--teal);white-space:nowrap}.text-button .icon{width:16px;height:16px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;padding:8px;border-radius:8px;color:#6e8182}.icon-button:hover{background:var(--pale)}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);font-size:21px;font-weight:750;letter-spacing:1px;white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:1.8px;color:#8a9b9b;margin-top:5px;font-weight:600}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:var(--teal);color:white;border-radius:12px}.brand-mark .icon{width:27px;height:27px}.brand-light{color:#fff}.brand-light small{color:#9cbdb6}.brand-light .brand-mark{background:#ffffff16;border:1px solid #ffffff24}.section-kicker{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--teal);display:block;margin-bottom:12px}.skip-link{position:absolute;top:-80px;z-index:100;background:white;padding:14px}.skip-link:focus{top:8px}label{display:block;font-size:13px;font-weight:600;color:#405558}label+label{margin-top:19px}input:not([type=checkbox]):not([type=file]),textarea{display:block;width:100%;border:1px solid #dfe7e5;border-radius:8px;padding:13px 14px;background:#fff;color:var(--ink);outline:none;font-weight:400;margin-top:9px;transition:border-color .15s,box-shadow .15s;font-size:14px}input:focus,textarea:focus{border-color:var(--teal)!important;box-shadow:0 0 0 3px #087f7510}input::placeholder,textarea::placeholder{color:#a3b0b0}textarea{resize:vertical;min-height:75px;line-height:1.7}em{font-style:normal;color:#c26d4d;margin-left:3px}.optional{font-weight:400;font-size:11px;color:#95a2a2;margin-left:7px}.form-error{color:#bd473d;font-size:13px;line-height:1.6;margin:13px 0;min-height:0}.form-error:empty{margin:8px 0}.login-layout{display:grid;grid-template-columns:1.04fr 1fr;min-height:100vh}.login-story{position:relative;background:#123e3b;color:#fff;overflow:hidden;padding:44px 10%;display:flex;flex-direction:column}.login-story:before{content:'';position:absolute;width:570px;height:570px;border:1px solid #d9f3df0c;border-radius:50%;right:-300px;top:100px;box-shadow:0 0 0 90px #d9f3df04,0 0 0 180px #d9f3df03;pointer-events:none}.story-content{margin:auto 0;padding:60px 0 40px;position:relative}.eyebrow{color:#a5d2c5;font-size:12px;letter-spacing:2.5px}.story-content h1{font-size:clamp(32px,3.4vw,55px);line-height:1.48;font-weight:650;color:#fff;letter-spacing:1px;margin:20px 0}.story-content h1>span{color:#9de1be}.story-description{color:#aac4c0;line-height:1.9;font-size:14px}.journey{display:flex;align-items:center;margin-top:42px;gap:12px}.journey>div{display:flex;gap:9px;align-items:flex-start}.journey>div>span{font-size:11px;color:#8bc5b4;background:#ffffff0a;border:1px solid #ffffff18;border-radius:50%;padding:5px}.journey p{font-size:12px;white-space:nowrap;line-height:1.8}.journey small{display:block;font-size:9px;color:#8eafaa}.journey i{height:1px;width:14px;background:#52766d}.story-ticket{margin-top:40px;background:#ffffff0a;border:1px solid #ffffff16;max-width:390px;border-radius:14px;transform:rotate(-2deg);padding:22px 25px;box-shadow:0 20px 50px #002e2c30}.ticket-top{display:flex;gap:10px;align-items:center;color:#bdcec9;font-size:10px;letter-spacing:1px}.ticket-top .icon{width:18px}.ticket-dot{margin-left:auto;border-radius:50%;background:#9ddbc0;width:6px;height:6px}.ticket-route{display:flex;align-items:center;justify-content:space-between;padding:24px 0;border-bottom:1px dashed #ffffff25}.ticket-route b{font-size:22px;font-weight:550;color:#e8f4ee}.ticket-route>span{display:flex;align-items:center;gap:4px;color:#749c91;font-size:12px}.ticket-route .icon{width:17px}.ticket-bottom{padding-top:17px;display:flex;justify-content:space-between;font-size:10px;color:#98b8ac}.ticket-bottom .icon{color:#a8d9b7;width:15px;height:15px}.story-footer{display:flex;gap:8px;color:#89b1a7;font-size:11px;align-items:center;margin-top:25px;position:relative}.story-footer .icon{width:15px;height:15px}.login-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fcfdfc;padding:55px 30px;position:relative}.login-card{width:100%;max-width:345px;padding:50px 0}.login-card .section-kicker{font-size:11px;letter-spacing:2px}.login-card h2{font-size:32px;font-weight:650;letter-spacing:1px;margin:12px 0}.login-card>.muted{font-size:13px;margin-bottom:36px}.login-card form>.button{margin-top:10px}.login-card form>.button .icon{margin-left:auto;width:17px}.divider{display:flex;align-items:center;gap:12px;margin:29px 0 22px;color:#a2afad;font-size:11px}.divider:before,.divider:after{content:'';height:1px;background:var(--line);flex:1}.login-hint{text-align:center;color:#91a19e;font-size:11px;line-height:1.8;margin-top:17px}.panel-footer{font-size:10px;color:#a0b0a9;letter-spacing:1px;position:absolute;bottom:30px}.panel-footer span{margin:0 8px}.login-mobile-brand{display:none}.dashboard{display:flex;min-height:100vh}.sidebar{width:238px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:32px 22px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.sidebar .brand{font-size:20px;margin:0 4px 54px}.sidebar .brand small{font-size:7px;letter-spacing:1.5px}.sidebar .brand-mark{width:39px;height:39px;border-radius:11px}.nav-label{font-size:10px;letter-spacing:1px;color:#a3b0ad;padding:0 13px;margin-bottom:16px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;text-align:left;padding:14px 13px;border-radius:9px;margin-bottom:8px;color:#6b7e7c;font-size:13px}.nav-item .icon{width:19px;height:19px}.nav-item.selected{color:var(--teal);font-weight:650;background:#edf6f3}.nav-active-dot{width:5px;height:5px;background:var(--teal);border-radius:50%;margin-left:auto}.sidebar-tip{margin-top:auto;border:1px solid #e1eeea;background:#f7fbf9;border-radius:12px;padding:17px 15px}.sidebar-tip>.icon{color:var(--teal);width:20px;height:20px;display:block;margin-bottom:11px}.sidebar-tip b{font-size:12px;color:#46635b}.sidebar-tip p{font-size:10px;line-height:1.9;color:#8da19b;margin-top:7px}.account{border:0;border-top:1px solid var(--line);background:none;padding:24px 4px 0;display:flex;align-items:center;gap:10px;margin-top:24px;text-align:left;font-size:12px}.avatar{background:#e6efe8;color:#52715f;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:12px}.account small{display:block;font-size:9px;color:#9caba5;margin-top:5px}.workspace{margin-left:238px;min-width:0;flex:1}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.breadcrumb{font-size:11px;color:#9aa8a5}.breadcrumb>span{margin:0 14px;color:#c6cecb}.breadcrumb>b{color:#526a63;font-weight:500}.top-actions{display:flex;align-items:center;gap:23px}.online{font-size:10px;display:flex;align-items:center;gap:7px;color:#879c93}.online i{width:6px;height:6px;background:#5da483;border-radius:50%}.dashboard-main{max-width:1440px;padding:40px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px}.page-heading h1{font-size:28px;letter-spacing:.7px;font-weight:650;margin-bottom:10px}.heading-dot{color:var(--teal);margin-left:4px}.page-heading .muted{font-size:11px}.page-heading .section-kicker{font-size:9px;color:#93a89f;margin-bottom:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:28px}.stat-card{padding:21px 22px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px}.stat-card:hover{border-color:#b1cfc0}.stat-card>div{display:flex;justify-content:space-between;align-items:center;color:#6f847b;font-size:11px}.stat-icon{display:grid;place-items:center;width:29px;height:29px;background:#f1f5f3;border-radius:7px;color:#729988}.stat-icon .icon{width:17px;height:17px}.stat-card strong{display:block;font-size:34px;letter-spacing:-1px;color:var(--ink);font-weight:600;margin:10px 0}.stat-card strong small{font-size:10px;color:#9bab9f;font-weight:400;margin-left:8px;letter-spacing:0}.stat-card p{font-size:10px;color:#a1afa7}.stat-submitted .stat-icon{background:#fff6e8;color:#bf9151}.stat-approved .stat-icon{background:#edf7ef;color:#64a379}.records-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.records-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 25px 21px}.records-heading>div{display:flex;align-items:center;gap:13px}.records-heading h2{font-size:15px;font-weight:650}.record-count{font-size:10px;color:#99aaa1}.records-heading .text-button{font-size:11px;color:#8d9f95}.table-toolbar{padding:0 25px 18px;display:flex;justify-content:space-between;align-items:center;gap:14px}.tabs{display:flex;gap:5px}.tab{background:none;border:0;color:#90a197;font-size:11px;border-radius:6px;white-space:nowrap;padding:8px 11px}.tab.active{background:#eaf5ef;color:var(--teal);font-weight:600}.search-box{border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;padding:0 10px;gap:7px;max-width:250px}.search-box>.icon{width:16px;height:16px;color:#a3b1aa}.search-box input{margin:0!important;padding:9px 0!important;box-shadow:none!important;border:0!important;background:transparent!important;font-size:10px!important}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f8faf9;border-top:1px solid #f0f4f1;border-bottom:1px solid var(--line);font-size:10px;font-weight:500;color:#8d9e94;padding:13px 23px}td{padding:20px 23px;border-bottom:1px solid #eff3f0;font-size:11px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfefd}td small{display:block;font-size:10px;font-weight:400;color:#9baba1;margin-top:6px}td b{font-weight:550;color:#3d5a4f}.shipment-name{display:flex;align-items:center;gap:12px}.shipment-name small{max-width:240px;overflow:hidden;text-overflow:ellipsis}.file-mark{border:1px solid #e7eeea;background:#f6f9f7;border-radius:7px;padding:9px;color:#84a48f}.file-mark .icon{width:17px;height:17px}.date-cell{font-size:10px;color:#8d9f94}.align-right{text-align:right}td .text-button{font-size:10px}.badge{display:inline-flex;gap:6px;align-items:center;font-size:10px;white-space:nowrap;line-height:1;padding:7px 9px;border-radius:5px;background:#f1f4f3;color:#82988b}.status-dot{width:4px;height:4px;background:currentColor;border-radius:50%}.badge-pending{background:#eff3f7;color:#7c91a2}.badge-submitted{background:#fff7e9;color:#b58b4b}.badge-approved{background:#eaf6ee;color:#5d9772}.badge-rejected{background:#fff0eb;color:#bd7959}.badge-disabled{background:#f2f2f2;color:#999}.records-footer{display:flex;justify-content:space-between;padding:18px 25px;border-top:1px solid var(--line);font-size:9px;color:#9caea2}.records-footer a{display:flex;gap:5px;align-items:center;color:#7b9886}.records-footer .icon{width:13px;height:13px}.empty-state{text-align:center;padding:60px 20px 70px;border-top:1px solid #f0f4f2}.empty-icon{display:inline-grid;place-items:center;background:#f1f7f3;color:#91b09d;width:64px;height:64px;border-radius:18px;margin-bottom:18px}.empty-icon .icon{width:29px;height:29px}.empty-state h3{font-size:16px;font-weight:550}.empty-state p{font-size:12px;color:#9aada0;margin:12px 0 23px}.empty-state .button{font-size:12px}.workflow-strip{margin-top:22px;padding:20px 24px;display:flex;align-items:center;gap:14px;background:#edf4f0;border:1px solid #e1ebe4;border-radius:11px}.workflow-mark{display:grid;place-items:center;background:#fff;border:1px solid #dbe9df;border-radius:9px;width:39px;height:39px;color:#78a08a;flex-shrink:0}.workflow-strip b{font-size:11px;color:#597663}.workflow-strip p{font-size:10px;color:#94a797;margin-top:6px;line-height:1.6}.workflow-strip .text-button{margin-left:auto;font-size:10px}.dashboard-footer{display:flex;justify-content:space-between;margin-top:29px;color:#acb9af;font-size:8px;letter-spacing:1px}.dashboard-footer span:last-child{letter-spacing:.5px}
dialog{border:1px solid #e4ece6;border-radius:16px;padding:0;width:min(520px,calc(100% - 28px));max-height:90dvh;color:var(--text);box-shadow:0 24px 100px #173f3033}dialog::backdrop{background:#123c354d;backdrop-filter:blur(4px)}dialog.modal-wide{width:min(740px,calc(100% - 28px))}.modal-header{padding:24px 26px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:20px;overflow-wrap:anywhere}.modal-header .muted{font-size:11px;margin-top:8px}.modal-header .icon-button{margin:-5px -7px 0 0}.modal-body{padding:24px 26px}.modal-body label{font-size:12px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.info-note,.photo-tip{display:flex;align-items:flex-start;gap:7px;font-size:10px;color:#8d9f92;line-height:1.7;margin-top:18px}.info-note .icon,.photo-tip .icon{width:15px;height:15px;margin-top:1px}.detail-status{display:flex;align-items:center;justify-content:space-between}.detail-status .muted{font-size:11px}.instructions{margin-top:18px;font-size:12px;line-height:1.7;white-space:pre-wrap}.qr-block{background:#f5f9f6;display:flex;align-items:center;gap:28px;border-radius:12px;padding:20px;margin-top:20px}.qr-image{flex-shrink:0;background:#fff;border-radius:8px;overflow:hidden;width:168px;height:168px}.qr-image img{display:block}.qr-block h3{font-size:16px;margin-bottom:10px}.qr-block .section-kicker{font-size:9px;margin-bottom:8px}.qr-block .muted{font-size:11px}.qr-actions{display:flex;gap:13px;align-items:center;margin-top:16px}.qr-actions .text-button{font-size:11px}.share-warning{font-size:10px;line-height:1.7;color:#a0ac9e;margin:12px 0 22px}.review-note{padding:12px;background:#fff4e9;border-radius:8px;color:#aa764c;font-size:12px;white-space:pre-wrap}.section-title{font-size:14px;margin:22px 0 15px}.section-title small{font-size:10px;margin-left:10px;font-weight:400;color:#99aa9d}.submission{border:1px solid var(--line);border-radius:11px;padding:18px;margin-top:14px}.submission-title{display:flex;justify-content:space-between;font-size:12px;border-bottom:1px solid var(--line);padding-bottom:13px}.submission-title span{font-size:10px;color:#98aa9c}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 30px;margin:20px 0}.info-grid dt{font-size:10px;color:#98aa9c}.info-grid dd{font-size:13px;color:var(--ink);margin:7px 0 0}.driver-comment{font-size:12px;white-space:pre-wrap;line-height:1.7}.photo-title{font-size:11px;margin:20px 0 10px;font-weight:500;color:#7e9787}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.photo-item{display:block;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#f8faf8}.photo-item img{display:block;width:100%;height:130px;object-fit:cover}.photo-item span{display:block;font-size:10px;text-align:center;color:#92a99a;padding:8px}.review-form{border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.detail-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:10px}.detail-bottom .muted{font-size:10px}.detail-bottom .text-button{font-size:11px}.danger-text{color:#bb7e6b}.audit{margin-top:18px;border-top:1px solid var(--line);padding-top:17px;font-size:11px;color:#8a9d90}.audit summary{cursor:pointer}.audit p{margin-top:10px}.awaiting{display:flex;align-items:center;gap:14px;background:#fafbf9;border-radius:10px;padding:23px}.awaiting>span{color:#a6baa9}.awaiting b{font-size:12px}.awaiting p{font-size:11px;color:#95a695;margin-top:8px}.toast{position:fixed;z-index:1000;bottom:max(30px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#1a5545;color:#fff;box-shadow:0 8px 30px #1a55452b;border-radius:10px;padding:13px 22px;font-size:12px;max-width:calc(100vw - 35px);width:max-content;line-height:1.7}.toast-error{background:#9e4e3f}[hidden]{display:none!important}.loading-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;color:var(--muted);gap:18px}.loader{width:32px;height:32px;border:2px solid #cbe0d2;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.driver-page{min-height:100vh;background:#f3f7f4}.driver-header{background:#fff;border-bottom:1px solid var(--line);padding:20px max(24px,calc((100vw - 760px)/2));display:flex;align-items:center;justify-content:space-between}.driver-header>.brand{font-size:18px}.driver-header>.brand .brand-mark{width:36px;height:36px;border-radius:10px}.driver-header>.brand small{font-size:7px}.driver-header>span{font-size:11px;color:#95a99b;border-left:1px solid var(--line);padding-left:20px}.driver-main{max-width:712px;margin:auto;padding:35px 22px}.driver-heading .section-kicker{font-size:10px}.driver-heading h1{font-size:28px;letter-spacing:1px}.driver-heading p{font-size:12px;color:#8ba08e;margin-top:12px;line-height:1.8}.driver-steps{display:flex;align-items:center;gap:13px;margin:27px 0;color:#b1bfb1;font-size:10px}.driver-steps span{display:flex;gap:7px;align-items:center;white-space:nowrap}.driver-steps span b{display:grid;place-items:center;border-radius:50%;width:20px;height:20px;background:#e8eee7;font-size:10px;font-weight:500}.driver-steps .active{color:var(--teal)}.driver-steps .active b{background:#e0eee3}.driver-steps i{height:1px;background:#dce7da;flex:1}.driver-shipment{background:#fff;display:flex;align-items:center;gap:14px;border:1px solid #dde9df;border-radius:12px;padding:22px;margin-bottom:15px}.driver-shipment-icon{background:#edf7ef;color:var(--teal);width:43px;height:43px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.driver-shipment small{font-size:10px;color:#94a593}.driver-shipment h2{font-size:17px;margin-top:7px;overflow-wrap:anywhere}.driver-shipment p{font-size:11px;color:#8a9e89;margin-top:7px;line-height:1.5;overflow-wrap:anywhere}.driver-shipment .badge{margin-left:auto;align-self:flex-start}.driver-notice{display:flex;gap:12px;background:#eaf4eb;border:1px solid #dcebdd;border-radius:10px;padding:16px;color:#7b9c7f;margin:13px 0}.driver-notice>.icon{width:17px;height:17px}.driver-notice p{font-size:11px;line-height:1.8;white-space:pre-wrap}.driver-notice b{display:block;color:#557b5d;margin-bottom:3px;font-weight:550}.notice-warning{background:#fff6e9;border-color:#f3e5cb;color:#ac8e61}.notice-warning b{color:#a4804c}.form-section{padding:25px;background:white;border:1px solid #e1eae1;border-radius:12px;margin-top:18px}.form-section-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:25px}.form-section-title>span{font-size:11px;color:var(--teal);border:1px solid #d8e9d9;border-radius:7px;display:grid;place-items:center;width:30px;height:30px}.form-section-title h2{font-size:15px;font-weight:600}.form-section-title p{color:#a0af9e;font-size:10px;margin-top:8px;line-height:1.6}.form-two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}.form-two-col>label{margin:0}.plate-input{text-transform:uppercase}.upload-group+.upload-group{margin-top:28px;padding-top:22px;border-top:1px dashed #e0e9df}.upload-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.upload-group-title b{font-size:12px;font-weight:550}.upload-group-title small{font-size:9px;color:#9eaf9c}.upload-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px}.upload-tile{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;padding:22px 8px;border:1px dashed #b7d1bb;border-radius:8px;color:var(--teal);background:#f6faf5;cursor:pointer;font-size:12px;overflow:hidden}.upload-tile .icon{width:20px;height:20px}.upload-tile input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-album{margin:0;color:#8da18b;background:#fdfefd;border-color:#dce6d8}.upload-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.upload-previews:empty{margin:0}.upload-preview{position:relative;min-width:0;border-radius:8px;overflow:hidden;background:#eef4ed}.upload-preview>img{width:100%;height:110px;object-fit:cover;display:block}.upload-preview>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px;font-size:9px;color:#8aa085}.upload-preview>button{position:absolute;top:5px;right:5px;display:grid;place-items:center;border:0;background:#234e37aa;color:#fff;width:23px;height:23px;border-radius:50%;padding:3px}.upload-preview>button .icon{width:13px;height:13px}.photo-tip{font-size:10px;background:#f7faf6;padding:12px;border-radius:6px;margin-top:20px}.consent{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#8a9d84;font-weight:400;line-height:1.9;margin-top:23px}.consent input{accent-color:var(--teal);width:16px;height:16px;margin:3px 0 0;flex-shrink:0}.submit-hint{text-align:center;font-size:10px;color:#a6b3a0;margin-top:13px}.upload-progress{margin-top:18px;font-size:11px;color:var(--teal)}.upload-progress progress{display:block;width:100%;height:6px;accent-color:var(--teal);margin-bottom:10px}.driver-footer{text-align:center;color:#a4b29f;font-size:10px;letter-spacing:.7px;padding:30px 0 10px}.result-card{padding:45px 27px;text-align:center;background:#fff;border:1px solid #e1eadf;border-radius:15px;margin-top:25px}.result-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#e7f4e8;color:var(--teal);margin:0 auto 25px}.result-icon .icon{width:35px;height:35px;stroke-width:1.6}.result-card h1{font-size:23px;line-height:1.6}.result-card>p{font-size:12px;color:#93a48b;margin:15px 0;line-height:1.9}.result-reference{background:#f7faf5;border:1px solid #e5ede1;border-radius:10px;padding:20px;display:flex;flex-direction:column;align-items:center;margin:25px 0;gap:12px}.result-reference small{font-size:10px;color:#9caf94}.result-reference strong{font-size:18px;color:var(--ink);overflow-wrap:anywhere;max-width:100%}.result-card .button{margin-top:13px}.result-back{display:block;font-size:11px;color:#9dad95;margin-top:25px}.result-warning{background:#fff4e5;color:#bd945b}.scanner-view{height:290px;border-radius:11px;overflow:hidden;background:#17382c;position:relative;margin-bottom:23px}.scanner-view video{height:100%;width:100%;object-fit:cover}.scan-frame{position:absolute;inset:35px 65px 65px;border:2px solid #d9f9cd;border-radius:12px;box-shadow:0 0 0 100px #071d0b2b;pointer-events:none}.scanner-view p{position:absolute;bottom:12px;left:12px;right:12px;color:white;font-size:11px;line-height:1.6;text-align:center;background:#102c1faa;border-radius:7px;padding:7px}.scanner-hint{font-size:10px;margin-top:15px}#scan-link-form .button{margin-top:15px}
@media(min-width:1450px){.login-story{padding-left:14%;padding-right:12%}.story-ticket{max-width:420px}.story-content{padding-top:85px;padding-bottom:65px}}@media(max-width:1150px){.sidebar{width:205px;padding:27px 15px}.sidebar .brand{font-size:18px}.workspace{margin-left:205px}.dashboard-main{padding:29px 25px}.topbar{padding:0 25px}.stats{gap:12px}.stat-card{padding:18px 15px}th,td{padding-left:17px;padding-right:17px}.table-toolbar{flex-wrap:wrap}.search-box{max-width:100%;flex:1;min-width:190px}.record-count{max-width:150px}.journey{gap:9px}.journey>div{display:block}.journey p{margin-top:6px}.journey>i{margin-top:-18px}.story-ticket{padding:20px}.ticket-route>span{font-size:10px}}
@media(max-width:800px){.login-layout{grid-template-columns:1fr}.login-story{display:none}.login-panel{min-height:100dvh;padding:28px 26px 70px;justify-content:flex-start}.login-mobile-brand{display:block;align-self:flex-start;margin-bottom:25px}.login-card{margin:auto 0;padding:35px 0;max-width:400px}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:60px;padding:0 20px}.breadcrumb{font-size:10px}.breadcrumb>span{margin:0 8px}.top-actions{gap:9px}.online{font-size:9px}.dashboard-main{padding:26px 18px}.page-heading{margin-bottom:23px;gap:10px}.page-heading h1{font-size:25px}.page-heading .muted{font-size:10px;max-width:200px}.page-heading>.button{font-size:11px;padding:9px 12px;min-height:40px}.page-heading>.button .icon{width:17px;height:17px}.stats{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.stat-card{padding:16px 17px}.stat-card strong{font-size:30px}.stat-card p{font-size:9px}.records-heading{padding:20px 17px 15px}.record-count{font-size:9px}.records-heading h2{font-size:14px}.table-toolbar{padding:0 15px 14px;gap:14px;display:block}.tabs{justify-content:space-between;gap:2px;margin-bottom:14px}.tab{font-size:10px;padding:8px 9px}.search-box{max-width:100%;width:100%;min-width:0}.search-box input{font-size:11px!important}th,td{padding:14px 14px}.shipment-name{gap:9px}.shipment-name small{max-width:130px}.file-mark{display:none}.plate-text{font-size:11px}.date-cell,th:nth-child(3){display:none}td .text-button{font-size:10px}td .text-button .icon{display:none}.badge{font-size:9px;padding:6px 7px}.records-footer{padding:14px 16px;font-size:9px}.workflow-strip{padding:16px;gap:10px}.workflow-strip .text-button{display:none}.workflow-strip p{font-size:9px}.dashboard-footer{font-size:7px}.qr-block{gap:16px;padding:16px}.qr-image,.qr-image img{width:145px;height:145px}.qr-block h3{font-size:14px}.qr-actions{flex-wrap:wrap;gap:7px}.qr-actions .button{font-size:10px}.photo-grid{grid-template-columns:repeat(2,1fr)}.modal-header{padding:20px}.modal-body{padding:20px}.driver-main{padding:26px 16px}.driver-header{padding:16px 20px}.driver-heading h1{font-size:25px}.driver-shipment{padding:18px}.driver-shipment h2{font-size:15px}.driver-shipment .badge{margin-top:2px}.form-section{padding:20px}.form-two-col{gap:20px 13px}.form-section input:not([type=checkbox]):not([type=file]),.form-section textarea{font-size:16px}.form-section label{font-size:12px}.form-section .optional{font-size:10px;margin-left:4px}.form-section .consent{font-size:10px}.upload-group-title small{font-size:8px}.photo-tip{font-size:9px}}
@media(max-width:390px){.qr-block{flex-direction:column;text-align:center}.qr-image,.qr-image img{width:190px;height:190px}.qr-actions{justify-content:center}.form-two-col{grid-template-columns:1fr}.driver-steps{gap:7px;font-size:9px}.driver-shipment-icon{display:none}.stat-card p{font-size:8px}.badge{gap:4px}.records-heading>div{gap:7px}.record-count{max-width:95px}.photo-grid{grid-template-columns:1fr 1fr}.detail-bottom{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:800px){.driver-heading p,.driver-notice p{font-size:13px}.form-section-title p{font-size:12px}.form-section label{font-size:14px}.form-section .consent{font-size:12px}.photo-tip{font-size:11px}.upload-group-title b{font-size:14px}.upload-group-title small{font-size:10px}.upload-tile{font-size:14px}}

.qr-size-note{margin:0 0 16px}.qr-save-preview{display:flex;flex-direction:column;gap:18px}.qr-original{display:block;width:100%;max-width:620px;height:auto;align-self:center;background:#fff;border:1px solid var(--line);border-radius:8px;-webkit-touch-callout:default;user-select:auto;-webkit-user-select:auto}.qr-save-preview>.button{align-self:flex-start;white-space:normal;text-align:center}
@media(max-width:800px){.qr-save-preview>.button{width:100%;font-size:13px}.modal-actions{flex-wrap:wrap}.modal-actions .button{white-space:normal}}

/* In-app original photo viewer: no navigation or external viewer required. */
button.photo-item{padding:0;text-align:inherit;font:inherit;cursor:pointer;background:#fff;width:100%;}
.photo-viewer{width:min(1100px,calc(100vw - 20px));max-width:1100px;height:calc(100dvh - 30px);max-height:calc(100dvh - 30px);padding:0;border:0;border-radius:18px;background:#f5f8f8;color:#173e3b;}
.photo-viewer[open]{display:flex;flex-direction:column;}
.photo-viewer::backdrop{background:rgba(8,25,25,.8);}
.photo-viewer-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#fff;flex:none;}
.photo-viewer-header small{display:block;margin-top:4px;font-size:12px;color:#647a76;}
.photo-viewer-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px;background:#fff;flex:none;}
.photo-viewer-note{padding:4px 14px 8px;margin:0;font-size:12px;color:#58716c;flex:none;}
.photo-viewer-stage{position:relative;overflow:auto;flex:1;min-height:100px;padding:12px;background:#172526;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;}
.photo-viewer-canvas{position:relative;margin:auto;}
#photo-viewer-image{position:absolute;left:50%;top:50%;max-width:none;max-height:none;object-fit:contain;user-select:none;-webkit-touch-callout:default;}
#photo-viewer-error{margin:0;padding:0 14px;font-size:13px;}
@media(max-width:600px){.photo-viewer{width:calc(100vw - 12px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);}.photo-viewer-toolbar .button{min-height:40px;padding:8px 10px;font-size:13px;}.photo-viewer-header{padding:12px;}}

.recognition-warning{color:#9c5b12!important;font-size:12px;line-height:1.6;}
.receipt-recognition{padding:14px;border:1px solid #dfebe6;background:#f5faf7;border-radius:10px;margin:16px 0;}
.receipt-recognition summary{cursor:pointer;font-size:13px;padding:8px 0;}
.receipt-recognition .field-grid{margin:12px 0;}
.auto-recognition-note p{line-height:1.9;}
.shipment-name b{white-space:normal;overflow-wrap:anywhere;}
@media(max-width:600px){.table-scroll table{min-width:0!important;width:100%;}.table-scroll thead{display:none;}.table-scroll tbody tr{display:grid;grid-template-columns:1fr auto;padding:12px 14px;border-bottom:1px solid #e8efeb;gap:8px;}.table-scroll tbody td{padding:4px 0!important;border:0;white-space:normal;min-width:0;}.table-scroll tbody td:first-child{grid-column:1/-1;font-size:14px;}.table-scroll tbody td:nth-child(2){grid-column:1;grid-row:2;}.table-scroll tbody td:nth-child(4){grid-column:2;grid-row:2;justify-self:end;}.table-scroll tbody td:last-child{grid-column:1/-1;justify-self:end;}.table-scroll .shipment-name small{max-width:none;}.table-scroll .shipment-name b{font-size:15px;}}

.recognition-progress{color:#087f73;font-size:12px;line-height:1.8;}
.receipt-recognition dd{overflow-wrap:anywhere;}

/* Date and warehouse filters in shipment records. */
.record-filters{display:grid;grid-template-columns:minmax(0,190px) minmax(0,230px) auto;align-items:end;justify-content:start;gap:14px;padding:0 25px 20px;}
.record-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:12px;color:#647b75;font-weight:600;}
.record-filters input,.record-filters select{display:block;width:100%;min-width:0;max-width:100%;height:42px;box-sizing:border-box;margin:0;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--text);font:inherit;font-size:14px;font-weight:400;}
.record-filters select{cursor:pointer;}
.record-filters input:focus,.record-filters select:focus{outline:2px solid #bdded3;outline-offset:1px;border-color:var(--teal);}
.record-filters .button{height:42px;white-space:nowrap;}
.record-filter-message{display:flex;align-items:center;justify-content:center;gap:14px;min-height:130px;padding:20px;color:var(--muted);font-size:14px;}
@media(max-width:800px){.record-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:0 16px 18px;}.record-filters .button{grid-column:1/-1;justify-self:start;min-height:38px;height:auto;}.record-filters input,.record-filters select{font-size:16px;}.record-filters input[type=date]{-webkit-appearance:none;appearance:none;}.records-heading>div{flex-wrap:wrap;gap:6px 12px;}.record-count{line-height:1.6;}.record-filter-message{flex-wrap:wrap;}}
/* Keep the native picker tappable while presenting an unambiguous mobile date. */
.date-filter-field{position:relative;display:block;min-width:0;}
.date-filter-display{display:none;}
@media (max-width:800px),(any-pointer:coarse){
 .date-filter-display{display:flex;align-items:center;width:100%;height:42px;box-sizing:border-box;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--text);font-size:16px;font-weight:400;pointer-events:none;}
 .record-filters .date-filter-field input[type=date]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;}
 .date-filter-field:focus-within .date-filter-display{outline:2px solid #bdded3;outline-offset:1px;border-color:var(--teal);}
}
.notification-settings-button{white-space:nowrap;font-size:13px;}
.notification-form .notification-toggle{display:flex;flex-direction:row;align-items:flex-start;gap:12px;}
.notification-toggle input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;margin:0;accent-color:var(--teal);}
.notification-toggle span{display:block;line-height:1.5;}
.notification-toggle small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:5px;}
.notification-help{background:#f3f8f6;border:1px solid var(--line);border-radius:8px;padding:10px 14px;margin:18px 0;font-size:13px;line-height:1.8;}
.notification-help p{margin:6px 0;}.notification-help ol{margin:8px 0;padding-left:20px;}
.notification-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;}
@media(max-width:800px){.notification-form input[type=password]{font-size:16px;}.notification-actions .button{flex:1 1 160px;}.top-actions{gap:10px;}}

/* Driver receipt and credential uploads. */
.document-upload-help,.upload-capture-note{margin:8px 0 12px;color:var(--muted);font-size:13px;line-height:1.7;}
.upload-controls button.upload-tile{font:inherit;cursor:pointer;appearance:none;color:inherit;}
.upload-controls .upload-tile small{font-size:12px;color:var(--muted);font-weight:400;}
.upload-group [data-native-camera][hidden]{display:none;}
.upload-controls .upload-tile{flex-direction:column;gap:6px;min-height:112px;padding:14px 8px;text-align:center;}
.upload-controls .upload-tile>span{white-space:nowrap;line-height:1.4;font-size:14px;}
.upload-controls .upload-tile>small{display:block;white-space:normal;line-height:1.5;font-size:11px;}
@media(max-width:600px){.upload-capture-note{font-size:12px;}}

/* Compact camera and album controls on the two-step QR form only. */
.staged-driver .upload-group-compact .upload-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:0}
.staged-driver .upload-group-compact .upload-previews{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px}
.staged-driver .upload-group-compact .upload-previews:empty{margin-top:0}
.staged-driver [data-tone=amber] .upload-group-compact .upload-tile:not(.upload-album){border-color:#ead8b8;background:#fbf3e5;color:#794a1d}
.staged-driver [data-tone=amber] .upload-group-compact .upload-tile:not(.upload-album):active{background:#f4e6cc}
.staged-driver .upload-group-compact .upload-tile{flex-direction:row;gap:7px;min-height:52px;padding:8px 4px;border-style:solid;border-color:#cfe4d9;border-radius:10px;margin:0;background:#ebf6ef;color:#165f53;font-weight:650}
.staged-driver .upload-group-compact .upload-album{border-color:#dce8e1;background:#f9fcfa}
.staged-driver .upload-group-compact .upload-tile:active{background:#dcefe5}
.staged-driver .upload-group-compact .upload-tile .icon{width:18px;height:18px;flex:none}
.staged-driver .upload-group-compact .upload-tile>span{white-space:normal;overflow-wrap:anywhere}

/* Mobile driver form and local, pre-submit photo inspection. */
html.driver-viewport,html.driver-viewport body{width:100%;max-width:100%;overflow-x:hidden;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
.driver-viewport .driver-page,.driver-viewport .driver-main,.driver-viewport #driver-form{width:100%;min-width:0;max-width:100%;box-sizing:border-box;}
.driver-viewport .driver-main{max-width:680px;margin-inline:auto;}
.driver-viewport .form-two-col>*{min-width:0;}
.driver-viewport .form-section input:not([type=checkbox]):not([type=file]),.driver-viewport .form-section textarea,.driver-viewport select{font-size:16px;max-width:100%;box-sizing:border-box;}
.upload-preview .upload-preview-open{position:static;display:block;width:100%;height:auto;padding:0;border:0;border-radius:0;background:transparent;color:var(--teal);cursor:pointer;}
.upload-preview .upload-preview-open img{width:100%;height:105px;object-fit:cover;display:block;}
.upload-preview .upload-preview-open small{display:block;font-size:11px;padding:6px;background:#e7f2ec;}
.upload-preview .upload-preview-remove{position:absolute;right:4px;top:4px;}
.local-photo-preview{width:min(960px,100%);max-width:100%;height:94vh;height:94dvh;max-height:100dvh;border:0;padding:0;border-radius:12px;background:#111a22;color:#fff;overflow:hidden;}
.local-photo-preview[open]{display:flex;flex-direction:column;}
.local-photo-preview::backdrop{background:#07121de6;}
.local-photo-preview header{padding:14px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex:none;}
.local-photo-preview h2{color:#fff;font-size:17px;margin:0;}.local-preview-name{font-size:12px;overflow-wrap:anywhere;color:#cbd5df;margin:6px 0 0;}
.local-photo-preview button{background:#283b49;border:1px solid #527080;color:#fff;border-radius:7px;font:inherit;font-size:14px;padding:10px 12px;cursor:pointer;min-height:42px;touch-action:manipulation;}
.local-photo-preview header button{font-size:25px;line-height:1;}.local-photo-preview button:disabled{opacity:.4;cursor:default;}
.local-preview-stage{position:relative;flex:1;min-height:0;overflow:auto;background:#060d13;padding:12px;}
.local-preview-canvas{position:relative;margin:auto;flex:none;}.local-preview-canvas img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;transform-origin:center;}
.local-preview-error{color:#fff;padding:20px;line-height:1.8;}
.local-photo-preview footer{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:12px 10px max(12px,env(safe-area-inset-bottom));flex:none;}
.local-photo-preview .local-preview-done{background:#087f75;}
@media(max-width:390px){.local-photo-preview footer{gap:5px;}.local-photo-preview button{font-size:12px;padding:9px;}}
.month-categories{padding:0 24px 22px;border-bottom:1px solid var(--line);margin-bottom:18px;}.month-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}.month-heading h3{font-size:15px;}.month-year{margin-top:16px;}.month-year h4{font-size:13px;color:var(--muted);margin:0 0 9px;}.month-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;}.month-category{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;border:1px solid var(--line);border-radius:9px;background:#f8fbf9;font:inherit;cursor:pointer;text-align:left;}.month-category b{font-size:13px;}.month-category span{font-size:12px;color:var(--muted);white-space:nowrap;}.month-category.selected{border-color:var(--teal);background:#e3f3ed;box-shadow:0 0 0 1px var(--teal);}.month-table-heading td{background:#f0f6f2;font-size:13px;font-weight:700;padding:12px 20px;}.batch-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0 24px 18px;}.selection-count{font-size:13px;}.batch-hint{font-size:11px;color:var(--muted);}.button-danger{background:#b7473a;color:#fff;border-color:#b7473a;}.button:disabled{opacity:.45;cursor:default;}.shipment-select{width:21px;height:21px;flex:0 0 21px;accent-color:var(--teal);cursor:pointer;}.shipment-select-all{display:inline-flex;align-items:center;gap:8px;font-size:12px;}.batch-confirm-records{max-height:180px;overflow:auto;padding-left:22px;margin:18px 0;font-size:13px;line-height:1.9;overflow-wrap:anywhere;}.batch-delete-warning{color:#a13931;line-height:1.8;margin-top:12px;}.record-pagination{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:12px;padding:18px 24px;border-top:1px solid var(--line);font-size:12px;}.record-pagination[hidden],.month-categories[hidden]{display:none;}
@media(max-width:800px){.month-categories{padding:0 16px 18px;}.month-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.month-category{flex-wrap:wrap;padding:12px;gap:6px;}.month-category b{font-size:12px;}.month-heading h3{font-size:14px;}.batch-controls{padding:0 16px 18px;gap:8px;}.batch-controls .button{padding:8px 10px;min-height:38px;font-size:12px;}.batch-hint{width:100%;}.shipment-select-all{font-size:10px;}.shipment-name{gap:8px;}.record-pagination{padding:15px 16px;}.month-table-heading td{display:table-cell;}}
@media(max-width:600px){.table-scroll tbody tr.month-table-heading{display:block;background:#f0f6f2;padding:12px 14px;}.table-scroll tbody tr.month-table-heading td{display:block;text-align:left;font-size:13px;}}

/* Approved receipt PDF: disclosure per order and uncropped rotation previews. */
.archive-pdf-form>p{margin:0 0 10px;line-height:1.55}.archive-records{display:grid;gap:8px;margin:16px 0}.archive-record{padding:0 12px;border:1px solid var(--line);border-radius:10px;min-width:0}.archive-record>summary{cursor:pointer;padding:12px 0;overflow-wrap:anywhere}.archive-record>summary b{margin-right:8px}.archive-record>summary small{display:inline-block;margin-right:8px;color:var(--muted)}.archive-missing{color:#89531c;font-size:13px}.archive-sections{display:grid;gap:12px;padding:0 0 12px}.archive-sections section{border-top:1px solid var(--line);padding-top:10px}.archive-sections h3{font-size:14px;margin:0 0 7px}.archive-sections p{margin:0}.archive-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}.archive-photo{padding:6px;border-radius:8px;background:#f2f6fa;min-width:0}.archive-photo-picture{width:100%;max-width:300px;aspect-ratio:1;margin-inline:auto;overflow:hidden}.archive-photo-picture img{width:100%;height:100%;object-fit:contain;display:block}.archive-turn-90{transform:rotate(90deg)}.archive-turn-180{transform:rotate(180deg)}.archive-turn-270{transform:rotate(270deg)}.archive-photo-tools,.archive-download-actions{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}.archive-photo-tools{margin-top:6px}.archive-download-actions{justify-content:flex-start}.archive-pdf-form #archive-pdf-result:not(:empty){padding:12px;background:#eef6f3;border-radius:8px;margin-bottom:10px}.archive-pdf-form .modal-actions{flex-wrap:wrap}

/* Fixed-QR driver pages. Do not change the dispatch-specific upload or admin UI. */
.staged-driver{
 --stage-ink:#193a35;--stage-muted:#526962;--stage-accent:#16675a;--stage-line:#dce9e3;
 background:#f0f6f3;color:var(--stage-ink);
}
.staged-driver .driver-main{max-width:560px;padding:0 16px calc(24px + env(safe-area-inset-bottom,0px))}
.staged-driver-home{background:linear-gradient(173deg,#e6f1ed,#f5f8f6 68%)}
.staged-driver-home .driver-main{padding-top:18px}
.stage-heading{
 position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;
 min-height:158px;padding:18px;border-radius:22px;color:#fff;
 background:radial-gradient(ellipse at 100% 100%,#218577 0%,transparent 68%),linear-gradient(135deg,#123e3a,#18594f 60%,#176a5c);
 box-shadow:0 12px 24px -15px #123e3a80;
}
.stage-heading-copy{position:relative;z-index:1;min-width:0}
.stage-brand{display:inline-flex;align-items:center;gap:6px;border:1px solid #77b6a0;border-radius:20px;padding:4px 9px 4px 7px;background:#ecfff012;font-size:12px;font-weight:600;color:#ebfaf3}
.stage-brand .icon{width:14px;height:14px}
.stage-heading h1{margin:10px 0 4px;font-size:clamp(25px,7.2vw,34px);line-height:1.28;letter-spacing:.015em;color:#fff}
.stage-heading p{font-size:13px;line-height:1.5;color:#e0f2eb;margin:0}
.stage-hero-art{position:absolute;bottom:4px;right:0;width:44%;max-width:195px;pointer-events:none}
.stage-options{display:grid;gap:18px;margin-top:19px}
.stage-step{--tile:#dff2e9;--tone:#196552;--arrow:#eaf5ef;--tile-border:#cee4d9;--card-end:#f9fcfa;min-width:0}
.stage-step:last-child{--tile:#fbefdb;--tone:#794a1d;--arrow:#f8eedf;--tile-border:#e9e4d9;--card-end:#fffcf7}
.stage-step-heading{display:flex;align-items:center;gap:8px;margin:0 0 7px;font-size:14px;font-weight:700;line-height:1.4;color:var(--stage-ink)}
.stage-number{padding:3px 7px;border-radius:6px;background:var(--tile);color:var(--tone);font-size:12px}
.stage-option{
 display:grid;grid-template-columns:58px minmax(0,1fr) 32px;align-items:center;gap:12px;width:100%;min-height:88px;
 padding:11px 12px;border:1px solid var(--tile-border);border-radius:16px;background:linear-gradient(110deg,#fff,var(--card-end));
 box-shadow:0 6px 14px -12px #214d40aa;color:var(--stage-ink);text-align:left;font:inherit;cursor:pointer;
}
.stage-option:active{background:var(--arrow);border-color:var(--tone)}
.stage-option-art{display:grid;place-items:center;width:58px;height:58px;border-radius:14px;background:var(--tile)}
.stage-option-art svg{display:block;width:52px;height:49px}
.stage-option-label{min-width:0}
.stage-option b{display:block;font-size:clamp(15px,4.5vw,19px);line-height:1.3;overflow-wrap:anywhere}
.stage-option small{display:block;margin-top:5px;font-size:13px;line-height:1.45;color:var(--stage-muted);overflow-wrap:anywhere}
.stage-option-arrow{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--arrow);color:var(--tone)}
.stage-option-arrow .icon,.stage-pick-row>.icon{width:18px;height:18px}
.stage-receipt-gate{margin-top:10px}
.stage-requirement{padding:12px 13px;border:1px solid #e9d6b5;border-radius:12px;background:#fffbf3;color:#75471f}
.stage-picker .stage-requirement{margin-bottom:10px}
.stage-requirement p{margin:0 0 7px;font-size:14px;line-height:1.5;font-weight:650}
.stage-requirement-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
.staged-driver .stage-requirement-actions .button{min-height:44px;padding:8px 12px}
.staged-driver .stage-requirement-actions .stage-inline{padding:6px 0;text-align:left}
.staged-driver .stage-mobile-heading{display:grid;grid-template-columns:72px minmax(0,1fr) 72px;align-items:center;gap:4px;position:sticky;top:0;z-index:6;margin:0 -16px 12px;padding:4px 10px;border-bottom:1px solid var(--stage-line);background:#fff;box-shadow:0 3px 8px #214d4009}
.staged-driver .stage-mobile-heading :is(h1,.stage-nav-title){margin:0;text-align:center;font-size:17px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.staged-driver .stage-mobile-heading button{min-height:44px;padding:4px;border:0;background:transparent;color:var(--stage-accent);font:inherit;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.staged-driver .stage-mobile-heading button:first-child{text-align:left;padding-left:6px}
.stage-progress{display:grid;grid-template-columns:max-content minmax(12px,1fr) max-content;align-items:center;gap:10px;margin:0 0 12px;padding:8px 12px;border:1px solid #d6e9df;border-radius:12px;background:#e8f3ed;list-style:none}
.stage-progress::before{content:"";grid-area:1/2;height:2px;border-radius:2px;background:#bfd9ce}
.stage-progress li{grid-area:1/1;display:flex;align-items:center;gap:6px;color:#536a63;font-size:13px;line-height:1.25}
.stage-progress li:last-child{grid-area:1/3}
.stage-progress li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:inherit;font-size:12px;font-weight:750}
.stage-progress li .icon{width:14px;height:14px}
.stage-progress :is([aria-current],.is-done){color:#185e50;font-weight:700}
.stage-progress [aria-current]>span{background:#16675a;color:#fff}
.staged-driver button:focus-visible,.staged-driver summary:focus-visible,.staged-driver .upload-tile:focus-within{outline:3px solid #987027;outline-offset:2px}
.staged-driver .form-section,.staged-driver .result-card{margin:0 0 10px;padding:14px;border:1px solid var(--stage-line);border-radius:15px;box-shadow:0 4px 10px -7px #214d4033}
.staged-driver .form-section h2{font-size:16px;line-height:1.4;margin:0 0 8px}
.stage-form-part{--part-tile:#dff2e9;--part-tone:#196552;--part-line:#cee4d9;margin:0 0 14px;min-width:0}
.stage-form-part[data-tone=amber]{--part-tile:#fbefdb;--part-tone:#794a1d;--part-line:#e9e4d9}
.stage-part-title{display:flex;align-items:center;gap:8px;margin:0 0 6px;color:var(--stage-ink);font-size:15px;line-height:1.35}
.stage-part-icon{display:grid;place-items:center;flex:none;width:28px;height:26px;border-radius:7px;background:var(--part-tile);color:var(--part-tone)}
.stage-part-icon .icon{width:16px;height:16px}
.staged-driver .stage-form-part>.form-section{margin:0;padding:11px 13px;border-color:var(--part-line)}
.stage-part-help{margin:0 0 8px;color:var(--stage-muted);font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.staged-driver #stage-part-journey+.form-section{padding-bottom:2px}
.staged-driver #stage-part-submit+.form-section>details{margin-top:0}
.staged-driver #stage-part-submit+.form-section>details>summary{padding:12px 0}
.staged-driver .form-section label{font-size:14px;color:var(--stage-ink)}
.staged-driver .form-section input:not([type=checkbox]):not([type=file]),.staged-driver .form-section textarea{width:100%;min-height:44px;font-size:16px;margin-top:5px;background:#f9fcfa;border-color:#d8e6df}
.staged-driver .form-section :is(input:not([type=checkbox]):not([type=file]),textarea):focus{border-color:#4a9b84;background:#fff;outline:2px solid #c4e6d9;outline-offset:1px}
.staged-driver .form-two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.staged-driver .form-two-col>label{min-width:0}
.staged-driver .stage-form-part .button-primary{border-color:#16675a;background:#16675a;color:#fff;box-shadow:0 6px 14px -9px #16675a99}
.staged-driver .stage-form-part .button-primary:active{background:#115449}
@media(max-width:350px){
 .stage-heading{padding:16px;min-height:145px}
 .stage-heading p{font-size:12px}
 .stage-option{grid-template-columns:49px minmax(0,1fr) 27px;gap:9px;padding:9px 10px;min-height:77px}
 .stage-option-art{width:49px;height:49px}
 .stage-option-art svg{width:44px;height:42px}
 .stage-option-arrow{width:27px;height:27px}
}
.stage-help,.stage-message{font-size:13px;line-height:1.55;color:#4c645e;margin:0 0 8px;overflow-wrap:anywhere}
.stage-message{padding:10px 12px;border-radius:8px;background:#dfefe8;color:#175647}
.stage-inline{min-height:44px;color:#16685b;font-size:14px;font-weight:600}
.staged-driver .form-error:empty{display:none}
.staged-driver [hidden]{display:none!important}
.staged-driver .consent{margin:8px 0 10px;padding:8px 9px;border-radius:9px;background:#f3f8f5;font-size:13px;line-height:1.55;min-height:44px;cursor:pointer}
.staged-driver .consent input{width:20px;height:20px;margin-top:1px}
.stage-extra{margin:4px 0 0;color:#435f57}
.stage-extra summary{min-height:44px;padding:12px 0;cursor:pointer;color:#16685b;font-size:14px;line-height:1.4}
.stage-extra dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 10px;margin:0 0 6px;font-size:13px;line-height:1.55}
.stage-extra dd{margin:0;overflow-wrap:anywhere}
.stage-journey-title{display:flex;align-items:center;justify-content:space-between;gap:8px}
.stage-journey-title>strong{font-size:18px;overflow-wrap:anywhere}
.stage-state{display:inline-block;border-radius:7px;padding:3px 7px;background:#fff1da;color:#754d16;font-size:12px;line-height:1.35}
.stage-state-done{background:#e4f1eb;color:#195f4c}
.staged-driver .stage-complete h1,.staged-driver .result-card h1{font-size:21px;line-height:1.4;margin:0 0 8px}
.stage-complete h1+.stage-journey{margin:12px 0 4px}
.staged-driver .stage-complete h2{margin:14px 0 0}
.staged-driver .stage-complete .staged-saved-photos{margin:6px 0 4px}
.staged-driver .result-card{padding:18px 14px}
.staged-driver .result-card>p{margin:8px 0;color:#4c645e;font-size:14px;line-height:1.5}
.staged-driver .result-card .result-icon{width:52px;height:52px;margin:0 auto 8px;border:1px solid #d4e9dc;background:#e8f5ec;color:var(--stage-accent)}
.staged-driver .result-card .result-icon .icon{width:24px;height:24px}
.staged-driver .result-reference{margin:12px 0 0;padding:10px;gap:4px}
.staged-driver .result-reference small{font-size:13px;color:#4c645e}
.staged-driver .result-reference .stage-inline{margin:0}
.staged-driver .staged-edit-summary{padding:8px 12px;margin:0 0 10px;font-size:13px}
.registration-list{display:grid;gap:8px;margin:0 0 10px}
.registration-item{min-width:0;border:1px solid #dbe8e3;border-radius:8px}
.stage-pick-row{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:8px;width:100%;min-height:60px;padding:9px;border:0;border-radius:8px;background:#f5f9f7;color:inherit;font:inherit;text-align:left;cursor:pointer}
.stage-pick-meta>b{font-size:16px;margin-right:6px;overflow-wrap:anywhere}
.stage-pick-meta small{display:block;color:#4c645e;font-size:12px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
.stage-forget{margin:0 9px;min-height:44px;color:#4c645e;font-size:13px}

/* Registration and uploaded photos, shared with the existing detail viewer. */
.registration-code{overflow-wrap:anywhere;font-family:ui-monospace,Consolas,monospace;letter-spacing:.03em}
.result-reference strong.registration-code{font-size:clamp(16px,4.1vw,24px)}
.registration-note{padding:14px;border:1px solid #e2e8e5;border-radius:10px;margin:12px 0;overflow-wrap:anywhere}
.registration-note p{margin:6px 0;font-size:13px}
.registration-note strong{user-select:all}
.upload-stage-summary{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.upload-stage-pill{padding:6px 10px;border-radius:7px;font-size:12px;background:#eaf3ef;color:#24684d}
.upload-stage-pill.is-pending{background:#fff4dd;color:#8a601a}
.staged-saved-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 12px}
.staged-saved-photos:empty{display:none}
.staged-saved-photo{width:100%;min-width:0;padding:5px;border:1px solid #d7e4de;border-radius:8px;background:#f5f9f7;color:#285e4b;cursor:pointer}
.staged-saved-photo img{width:100%;height:78px;object-fit:contain;display:block}
.staged-saved-photo img[hidden],.staged-saved-photo span[hidden]{display:none}
.staged-saved-photo span{display:block;padding:20px 2px;font-size:12px}
.staged-saved-photo small{display:block;font-size:11px;padding:4px 0}
.staged-photo-dialog{width:min(96vw,900px);max-width:96vw;height:90vh;max-height:90vh;padding:0;border:0;border-radius:14px}
.staged-photo-dialog::backdrop{background:#000b}
.staged-photo-dialog[open]{display:flex;flex-direction:column}
.staged-photo-dialog header,.staged-photo-dialog footer{display:flex;align-items:center;justify-content:space-between;padding:12px;gap:12px;background:#f5f9f7}
.staged-photo-dialog button{padding:12px 16px;border:1px solid #247366;border-radius:8px;background:#fff;color:#185647;font:inherit}
.staged-photo-dialog>div{flex:1;overflow:auto;display:grid;place-items:center;min-height:0}
.staged-photo-dialog img{max-width:100%;max-height:65vh;object-fit:contain}

#workbench-tools{margin:0 0 24px}.wb-todos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.wb-todos button{background:#fff;border:1px solid #dfe6e5;border-radius:12px;padding:14px;text-align:left;color:#263c36;cursor:pointer}.wb-todos strong{display:block;font-size:26px}.wb-todos span{font-size:13px}.wb-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.wb-filter-panel{background:#fff;border:1px solid #dfe6e5;border-radius:12px;padding:14px}.wb-filter-panel summary{cursor:pointer;font-size:14px;font-weight:600}.wb-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.wb-filter-grid input,.wb-filter-grid select{min-width:0;width:100%;font-size:16px}.wb-checkbox{display:flex!important;align-items:center;gap:8px}.wb-checkbox input{width:18px;height:18px;flex:none}.wb-state{display:block;margin-top:7px;font-size:12px;color:#61746e}.wb-warning{color:#a34213!important;background:#fff6df;padding:8px;border-radius:6px}.wb-list{max-height:55vh;overflow:auto;overflow-wrap:anywhere}.wb-list p{padding:10px 0;border-bottom:1px solid #e7ecea}.wb-trash-row{display:flex;gap:12px;border-bottom:1px solid #e7ecea;padding:14px 0}.wb-trash-row>input{width:20px;flex:none}.wb-trash-row small{display:block;font-size:12px;color:#65756f;margin-top:6px}.wb-detail-tools{border:1px solid #dfe6e5;border-radius:10px;padding:14px;margin-bottom:18px}.staged-photo-edit-actions{display:flex;gap:8px;margin:8px 0 14px}.staged-photo-edit-actions button{background:#f3f7f5;border:1px solid #cfdbd5;border-radius:6px;padding:8px 10px;font-size:14px;cursor:pointer}.staged-saved-photos article{min-width:0}.staged-saved-photos article .staged-saved-photo{width:100%}#workbench-tools [hidden],.modal-body [hidden]{display:none!important}@media(max-width:800px){.wb-todos{grid-template-columns:repeat(3,minmax(0,1fr))}.wb-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wb-todos button{padding:12px}.wb-toolbar .button{font-size:12px}}@media(max-width:450px){.wb-filter-grid{grid-template-columns:1fr}.wb-todos strong{font-size:23px}.wb-todos span{font-size:12px}.wb-toolbar{gap:6px}}
.photo-viewer [hidden]{display:none!important}
.staged-edit-summary{background:#f1f7f3;border:1px solid #d5e3d8;padding:14px;border-radius:10px;line-height:1.7}

.backup-manager{display:grid;gap:12px;min-width:0;font-variant-numeric:tabular-nums}
.backup-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:10px;background:#f4f7fb}.backup-summary p{font-size:12px;color:#526279;margin-top:4px}
.backup-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.backup-actions label{display:flex;align-items:center;gap:6px;min-height:36px}.backup-actions span{font-size:12px;color:#526279}.backup-actions button{margin-left:auto}.backup-manager button:disabled{cursor:default}
.backup-list{padding:0;margin:0;list-style:none;border-block:1px solid #e2e9f1}.backup-row+li{border-top:1px solid #e2e9f1}.backup-row label{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:58px;padding:8px 2px;margin:0}.backup-row b,.backup-row small{display:block}.backup-row b{color:#213050;font-size:14px;font-weight:650;overflow-wrap:anywhere}.backup-row small{color:#526279;font-size:12px;margin-top:3px}.backup-row-meta{text-align:right;white-space:nowrap}.backup-locked{color:#516a94}.backup-locked .icon{width:17px;height:17px}.backup-manager input[type=checkbox]{width:17px;height:17px;accent-color:#2864eb}
.backup-pagination{display:flex;justify-content:center;align-items:center;gap:12px}.backup-confirmation{border:1px solid #f0c6bf;border-radius:10px;background:#fff6f5;padding:12px}.backup-confirmation p{margin:5px 0 9px}.backup-confirmation .wb-toolbar{margin-bottom:0}.backup-confirmation input{font-size:16px!important}.backup-footnote{font-size:12px}
@media(max-width:480px){.backup-row label{gap:6px}.backup-row b{font-size:13px}.backup-actions button{min-height:42px}.backup-summary{padding:10px 8px}}

/* Mobile admin uses four focused screens. Desktop and anonymous driver layouts retain their structure. */
.mobile-generated{display:none}.mobile-orders{display:contents}
@media(max-width:820px){
 body:has(.dashboard){--mobile-ink:#203c43;--mobile-muted:#7a8e94;--mobile-accent:#148875;--mobile-surface:#fff;background:#f4f7f8;color:var(--mobile-ink)}
 .dashboard .sidebar,.dashboard .topbar,.dashboard-main>.page-heading,.dashboard-main>.stats,.dashboard-main>.workflow-strip,.dashboard-main>.dashboard-footer{display:none!important}
 .dashboard .workspace{min-width:0;margin-left:0}.dashboard-main{width:100%;max-width:620px;margin:0 auto;padding:0 20px calc(100px + env(safe-area-inset-bottom,0px));min-height:100dvh;box-sizing:border-box}
 .mobile-generated{display:block}.mobile-screen,.mobile-orders{display:none!important}.mobile-screen.is-active{display:block!important;animation:mobile-enter .16s ease-out}.mobile-screen[inert]{pointer-events:none}
 .mobile-appbar{display:flex;align-items:center;justify-content:space-between;height:74px;gap:16px}.mobile-brand{display:flex;align-items:center;gap:10px;padding:0;border:0;background:none;color:var(--mobile-ink);font-size:18px;letter-spacing:.5px;font-weight:750}.mobile-brand>span{width:34px;height:37px;border-radius:11px;background:#23474c;color:#ddf6e7;display:grid;place-items:center;box-shadow:0 3px 8px #1d444b16}.mobile-brand .icon{width:23px;height:23px;stroke-width:1.65}.mobile-appbar-actions{display:flex;align-items:center;gap:10px}.mobile-icon-button,.mobile-avatar{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e3ebed;background:#fff;border-radius:13px;color:#3c626a;flex-shrink:0}.mobile-icon-button .icon{width:20px;height:20px}.mobile-avatar{background:#e5f2ed;color:#287263;border-color:#d9e9e3}.receipt-native-shell .mobile-appbar{display:none}.receipt-native-shell .mobile-screen{padding-top:20px}
 .mobile-welcome{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin:13px 0 22px}.mobile-welcome p{font-size:12px;color:var(--mobile-muted);margin:0 0 9px;letter-spacing:.5px}.mobile-welcome h1{font-size:23px;line-height:1.4;letter-spacing:-.6px;margin:0;font-weight:750;white-space:nowrap}.mobile-welcome h1>span{color:#2fa589}.mobile-live{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;color:#8a9d9e;margin-top:3px;letter-spacing:.3px}.mobile-live i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#44a98e;box-shadow:0 0 0 3px #44a98e0c}.mobile-welcome .mobile-live{margin-top:3px}
 .mobile-overview{position:relative;overflow:hidden;border-radius:24px;padding:22px;background:linear-gradient(122deg,#244c50 3%,#183e43 77%);color:#fff;box-shadow:0 12px 22px #1d444b12}.mobile-overview:after{content:"";position:absolute;right:-64px;top:-70px;width:220px;height:220px;border:1px solid #a1d5c51b;border-radius:50%;box-shadow:0 0 0 26px #a1d5c508,0 0 0 55px #a1d5c505;pointer-events:none}.mobile-overview-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#e0ece8;position:relative;z-index:1}.mobile-overview-top>span:last-child{font-size:12px;color:#9cbbb4;display:flex;align-items:center;gap:5px}.mobile-overview-top .icon{width:12px;height:12px}.mobile-hero-count{display:flex;align-items:baseline;gap:9px;margin:15px 0 19px;position:relative;z-index:1}.mobile-hero-count>strong{font-size:48px;line-height:1;letter-spacing:-2px;font-weight:650;font-variant-numeric:tabular-nums}.mobile-hero-count>span{font-size:12px;color:#b1c8c1}.mobile-hero-count>button{margin-left:auto;display:inline-flex;gap:4px;align-items:center;border:0;background:transparent;color:#d6ebe0;padding:6px 0 6px 8px;font-size:12px}.mobile-hero-count>button .icon{width:13px;height:13px}.mobile-overview-divider{height:1px;background:#f2fffa19}.mobile-overview-bottom{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.mobile-overview-bottom>div{display:flex;align-items:center;gap:7px;font-size:12px;color:#bdcec7}.mobile-overview-bottom b{margin-left:auto;font-size:17px;line-height:1;font-weight:650;color:#f9fffb;font-variant-numeric:tabular-nums}.mobile-overview-bottom>div+div{border-left:1px solid #ffffff1d;padding-left:15px}.mobile-dot{display:block;width:5px;height:5px;border-radius:50%;flex-shrink:0}.mobile-dot.amber{background:#e5bd83}.mobile-dot.mint{background:#86d9b1}.mobile-progress{margin-top:15px;height:3px;background:#ffffff12;border-radius:9px;overflow:hidden}.mobile-progress span{height:100%;background:#8ecfb0;display:block;border-radius:9px;min-width:0}
 .mobile-block-title{display:flex;align-items:center;justify-content:space-between;margin:27px 0 13px}.mobile-block-title h2{font-size:16px;font-weight:750;margin:0;letter-spacing:.2px}.mobile-block-title>span{font-size:12px;color:#97a7ab;letter-spacing:.4px}.mobile-task-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mobile-task{position:relative;background:#fff;border:1px solid #e6edef;border-radius:18px;padding:16px;text-align:left;color:var(--mobile-ink);min-width:0;box-shadow:0 2px 2px #1f475002}.mobile-task-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;margin-bottom:14px}.mobile-task-icon .icon{width:19px;height:19px;stroke-width:1.65}.mobile-task>b{position:absolute;top:18px;right:17px;font-size:23px;line-height:1.2;font-weight:650;letter-spacing:-.5px;max-width:calc(100% - 65px);overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.mobile-task h3{font-size:13px;margin:0 0 5px;font-weight:650}.mobile-task p{font-size:12px;line-height:1.5;color:#91a0a5;margin:0;white-space:normal}.mint{background:#e9f6ef;color:#258768}.blue{background:#ecf2fb;color:#628ab3}.amber{background:#fff4e5;color:#bf9753}.purple{background:#f1effb;color:#8e80b4}.mobile-overdue{display:flex;align-items:center;gap:8px;width:100%;border:1px solid #eee5d7;border-radius:12px;background:#fff9ef;color:#9a7b45;font-size:12px;padding:12px;margin-top:13px;text-align:left}.mobile-overdue>.icon{width:15px;height:15px;flex-shrink:0}.mobile-overdue>.icon:last-child{margin-left:auto;width:11px}.mobile-overdue b{font-weight:700}
 .mobile-shortcuts,.mobile-menu-group{border:1px solid #e6edef;border-radius:18px;background:#fff;overflow:hidden}.mobile-menu-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;color:var(--mobile-ink);padding:16px 15px;border:0;background:transparent;min-height:71px}.mobile-menu-row+.mobile-menu-row{border-top:1px solid #f1f4f5}.mobile-menu-icon{width:34px;height:36px;display:grid;place-items:center;background:#f2f6f5;color:#5e8c82;border-radius:11px;flex-shrink:0}.mobile-menu-icon .icon{width:19px;height:19px;stroke-width:1.6}.mobile-menu-copy{display:block;flex:1;min-width:0}.mobile-menu-copy b{font-size:12px;font-weight:600;display:block}.mobile-menu-copy small{font-size:12px;line-height:1.7;color:#93a3a8;display:block;margin-top:3px}.mobile-menu-row>.icon:last-child{width:12px;height:12px;flex-shrink:0;color:#aebfc3}.mobile-home-note{text-align:center;color:#a6b4b8;font-size:12px;letter-spacing:1px;margin:28px 0 6px}
 .mobile-section-heading{display:flex;justify-content:space-between;align-items:center;margin:10px 0 20px;gap:12px}.mobile-section-heading h1{font-size:29px;line-height:1.25;margin:5px 0 0;font-weight:750;letter-spacing:1px}.mobile-section-heading small,.mobile-eyebrow{font-size:12px;letter-spacing:2.5px;color:#90a6a7}.mobile-order-actions{display:flex;align-items:center;gap:8px}.mobile-filter-toggle{display:flex;align-items:center;gap:5px;border:1px solid #dde7e9;background:white;border-radius:12px;height:39px;padding:0 11px;color:#567a7c;font-size:12px;position:relative}.mobile-filter-toggle .icon{width:16px;height:16px}.mobile-filter-toggle i{width:4px;height:4px;background:#23977c;border-radius:50%}.mobile-filter-toggle.has-filter{background:#e6f4ed;border-color:#c3e0d1;color:#258669}
 .mobile-orders #workbench-tools{margin:0}.mobile-orders .wb-todos,.mobile-orders #workbench-tools>.wb-toolbar{display:none!important}.mobile-orders .wb-filter-panel,.mobile-orders .record-filters{display:none!important}.mobile-orders.mobile-filters-open .wb-filter-panel{display:block!important;background:#fff;border:1px solid #e1e9eb;border-radius:16px;padding:14px;margin-bottom:12px}.mobile-orders.mobile-filters-open .record-filters{display:grid!important;background:#f6f9f8;border:1px solid #e2eae8;border-radius:13px;margin:5px 0 14px;padding:12px;gap:10px}.mobile-orders .wb-filter-panel>summary{font-size:12px;color:#4f7770;margin-bottom:10px;pointer-events:none;list-style:none}.mobile-orders .wb-filter-panel>summary::marker{display:none}.mobile-orders .wb-filter-grid{grid-template-columns:1fr 1fr;gap:10px}.mobile-orders .wb-filter-grid label{font-size:12px;min-width:0}.mobile-orders .wb-filter-grid input,.mobile-orders .wb-filter-grid select{font-size:16px;min-width:0;padding:10px 8px}.mobile-orders .wb-filter-panel>p{font-size:12px;line-height:1.7;margin-bottom:0}.mobile-orders .wb-checkbox{grid-column:1/-1}.mobile-orders .records-card{border:0;box-shadow:none;border-radius:0;overflow:visible;background:transparent}.mobile-orders .records-heading{padding:0;margin-bottom:12px;align-items:center}.mobile-orders .records-heading h2{display:none}.mobile-orders .records-heading .record-count{margin:0;font-size:12px;color:#8a9fa3}.mobile-orders .records-heading>.text-button{font-size:12px}.mobile-orders .table-toolbar{padding:0;border:0;gap:15px;display:flex;flex-direction:column-reverse;align-items:stretch;margin-bottom:16px}.mobile-orders .search-box{max-width:none;width:100%;box-sizing:border-box;min-height:46px;border-radius:14px;border:1px solid #e0e9eb;background:#fff;padding:0 13px}.mobile-orders .search-box input{font-size:13px}.mobile-orders .search-box .icon{width:17px;height:17px;color:#88a1a4}.mobile-orders .tabs{display:flex;overflow-x:auto;white-space:nowrap;gap:6px;max-width:100%;padding:0 0 2px;scrollbar-width:none}.mobile-orders .tabs::-webkit-scrollbar{display:none}.mobile-orders .tab{flex:0 0 auto;border:0;border-radius:9px;padding:8px 12px;font-size:12px;color:#8a9ca1;background:transparent}.mobile-orders .tab.active{background:#e1eee8;color:#26705d;font-weight:650}.mobile-orders .records-footer{display:none}.mobile-orders #shipment-table table{border-collapse:separate;border-spacing:0;width:100%}.mobile-orders #shipment-table tbody{display:grid;gap:12px}.mobile-orders #shipment-table tr{border:1px solid #e3ebed;border-radius:17px;background:#fff;padding:16px;box-shadow:0 2px 2px #1f475003;display:grid;grid-template-columns:1fr auto;gap:10px;min-width:0}.mobile-orders #shipment-table thead{display:none}.mobile-orders #shipment-table td{border:0;padding:0;min-width:0;text-align:left;font-size:12px}.mobile-orders #shipment-table .shipment-reference{font-size:14px}.mobile-orders #shipment-table td:first-child{grid-column:1/-1}.mobile-orders #shipment-table td:last-child{grid-column:1/-1;text-align:right}.mobile-orders .badge{font-size:12px}.mobile-orders .wb-state{font-size:12px;margin-top:5px}.mobile-orders .empty-state{border:1px dashed #d5e3df;border-radius:18px;background:#ffffff90;padding:44px 15px}.mobile-orders .batch-controls{border:1px solid #dfe9e4;border-radius:13px;padding:10px;background:#edf5f0;margin-bottom:12px;gap:8px;flex-wrap:wrap}.mobile-orders .batch-controls:empty{display:none}.mobile-orders .batch-controls .button{font-size:12px;padding:8px 10px}.mobile-orders .month-categories{border-radius:14px;background:#fff;margin-bottom:14px}.mobile-orders .record-pagination{margin-top:15px;padding:0;flex-wrap:wrap;font-size:12px}
 .mobile-qr-card{background:#fff;border:1px solid #e3ebed;border-radius:24px;padding:20px;text-align:center;overflow:hidden}.mobile-qr-card-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#98a7aa}.mobile-tag{border:1px solid #d7e9df;border-radius:5px;padding:3px 6px;line-height:1.4;font-size:12px;color:#659481;background:#f2f9f5;letter-spacing:1px}.mobile-qr-frame{display:inline-flex;align-items:center;justify-content:center;border:1px solid #edf1ef;border-radius:18px;padding:14px;background:#fff;margin:26px 0 10px;max-width:100%;box-sizing:border-box}.mobile-qr-frame img{width:212px;height:212px;max-width:100%;object-fit:contain;border-radius:0}.mobile-qr-card h2{font-size:18px;margin:9px 0}.mobile-qr-card>p{color:#90a5a6;font-size:12px;line-height:1.8;margin-bottom:20px}.mobile-qr-card>.button{width:100%;border-radius:13px;min-height:47px;font-size:13px;background:#255b53;border-color:#255b53;box-shadow:0 5px 9px #214f4310}.mobile-qr-card>.button .icon{width:16px;height:16px}.mobile-qr-links{display:flex;justify-content:space-evenly;gap:10px;margin:12px 0 20px}.mobile-qr-links button{display:flex;align-items:center;gap:5px;border:0;background:transparent;padding:7px;font-size:12px;color:#78908e}.mobile-qr-links .icon{width:14px;height:14px}.mobile-collection-steps{border-top:1px dashed #e4ece8;padding-top:17px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:12px;color:#889e99}.mobile-collection-steps span{display:flex;align-items:center;gap:5px;white-space:nowrap}.mobile-collection-steps i{font-style:normal;color:#40866d;background:#ebf5ee;font-size:12px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%}.mobile-collection-steps>.icon{width:18px;color:#bccbc2}.mobile-qr-placeholder{padding:110px 10px;color:#91a6a7;font-size:12px}.mobile-export-card{margin-top:20px;padding:20px;border:1px solid #e3ebed;background:#fff;border-radius:20px}.mobile-export-card h2{font-size:16px;margin:8px 0}.mobile-export-card>p{font-size:12px;color:#6f8388;line-height:1.8;margin:0 0 18px}.mobile-export-actions{display:grid;gap:10px}.mobile-export-item{display:grid;grid-template-columns:34px 1fr 12px;column-gap:10px;align-items:center;background:#f8faf9;border:0;border-radius:12px;padding:13px;text-align:left;min-width:0}.mobile-export-item>span{display:grid;place-items:center;width:33px;height:35px;border-radius:10px;grid-row:1/3}.mobile-export-item>span .icon{width:18px;height:18px}.mobile-export-item>b{font-size:12px;font-weight:600;color:#335952}.mobile-export-item>small{font-size:12px;color:#6f8388;margin-top:4px}.mobile-export-item>.icon{width:12px;height:12px;color:#a7bab3;grid-column:3;grid-row:1/3}
 .mobile-profile{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e5ecee;border-radius:20px;padding:22px 18px;margin-bottom:24px}.mobile-profile-avatar{display:grid;place-items:center;width:53px;height:55px;border-radius:18px;background:#e6f2eb;color:#4d9277}.mobile-profile-avatar .icon{width:28px;height:28px;stroke-width:1.4}.mobile-profile h2{font-size:19px;letter-spacing:.3px;margin:0 0 5px;word-break:break-all}.mobile-profile>div{min-width:0}.mobile-profile>div>span{font-size:12px;color:#6f8388}.mobile-profile i{font-size:12px;display:inline-block;border-left:1px solid #d9e3df;margin-left:8px;padding-left:8px;font-style:normal;color:#90a49a}.mobile-profile>.icon:last-child{margin-left:auto;flex-shrink:0;width:20px;height:20px;color:#a2bdb0}.mobile-group-label{font-size:12px;letter-spacing:1px;color:#6f8388;margin:23px 4px 12px}.mobile-account .mobile-menu-row{min-height:70px}.mobile-version-card{display:flex;align-items:center;gap:10px;border:1px solid #e4ebed;border-radius:16px;padding:16px 12px;background:#fff;min-width:0}.mobile-version-card>div{flex:1;min-width:0}.mobile-version-card b{font-size:12px;font-weight:600;white-space:nowrap}.mobile-version-card p{font-size:12px;line-height:1.7;color:#6f8388;margin:4px 0 0}.mobile-version-card>button{border:1px solid #dce8e1;background:#f3f8f5;border-radius:8px;font-size:12px;color:#638d7b;padding:8px;white-space:nowrap;flex-shrink:0}.mobile-version-card>button[data-available="1"]{background:#255b53;border-color:#255b53;color:#fff}.mobile-update-note{padding:14px 4px 0;font-size:12px;line-height:1.9;color:#6f8388}.mobile-update-note>b{font-weight:500;font-size:12px;color:#6f8388}.mobile-update-note p{margin:4px 0 0}.mobile-update-note small{font-size:12px}.mobile-logout{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:1px solid #dfe7e9;border-radius:13px;color:#899e9f;width:100%;margin-top:25px;padding:13px;font-size:12px}.mobile-logout .icon{width:15px;height:15px}
 .mobile-tabbar{position:fixed;z-index:45;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:660px;display:flex;padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:#fffffff5;border-top:1px solid #e8eeef;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.mobile-tabbar>button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;border:0;padding:0 5px;color:#6f8388;font-size:12px;line-height:1.4;min-height:47px;letter-spacing:.6px}.mobile-tab-icon{display:grid;place-items:center;width:43px;height:28px;border-radius:9px;transition:background .15s}.mobile-tab-icon .icon{width:21px;height:21px;stroke-width:1.65}.mobile-tabbar>button.is-active{color:#2c7d65;font-weight:650}.mobile-tabbar>button.is-active .mobile-tab-icon{background:#edf6ef;color:#287757}.toast{bottom:calc(90px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 40px)}
 .dashboard button:focus-visible{outline:2px solid #73b39b;outline-offset:3px}.dashboard button{touch-action:manipulation}.dashboard .mobile-screen input:focus,.dashboard .mobile-screen select:focus,.dashboard .mobile-screen textarea:focus{font-size:16px}#modal[open]{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 25px)}
 @keyframes mobile-enter{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:355px){.dashboard-main{padding-left:14px;padding-right:14px}.mobile-welcome h1{font-size:20px}.mobile-welcome .mobile-live{font-size:12px}.mobile-task{padding:14px}.mobile-task p{font-size:12px}.mobile-overview{padding:18px}.mobile-version-card{gap:8px;padding:13px 10px}.mobile-version-card>.mobile-menu-icon{display:none}}
@media(prefers-reduced-motion:reduce){.mobile-screen.is-active{animation:none}.mobile-tab-icon{transition:none}}

@media(max-width:820px){
.mobile-progress{display:block;appearance:none;-webkit-appearance:none;width:100%;border:0;color:#8ecfb0;background:#ffffff12}.mobile-progress::-webkit-progress-bar{background:#ffffff12;border-radius:9px}.mobile-progress::-webkit-progress-value{background:#8ecfb0;border-radius:9px}.mobile-progress::-moz-progress-bar{background:#8ecfb0;border-radius:9px}
.mobile-orders #shipment-table td:nth-child(2){grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:10px}.mobile-orders #shipment-table td:nth-child(2) small{margin:0;font-size:12px;color:#6f8388}.mobile-orders #shipment-table td:nth-child(3){display:none}.mobile-orders #shipment-table td:nth-child(4){grid-column:1/-1;grid-row:3;justify-self:stretch;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.mobile-orders #shipment-table td:last-child{grid-row:4;justify-self:stretch}.mobile-orders #shipment-table .wb-state{flex-basis:100%;margin:0;line-height:1.6}.mobile-orders #shipment-table tr.month-table-heading{display:block;background:#e9f1ed;padding:14px 16px}.mobile-orders #shipment-table tr.month-table-heading td{display:block;background:transparent;text-align:left}.mobile-orders #shipment-table .shipment-name b{color:#284b4d;font-size:15px}.mobile-orders #shipment-table td small{font-size:12px;color:#74878a}.mobile-orders #shipment-table .text-button{min-height:40px;font-size:13px}.mobile-orders .record-count{font-size:12px}.mobile-filter-toggle{min-height:40px}.mobile-menu-row{min-height:74px}.mobile-menu-copy small{line-height:1.6}.mobile-version-card p{line-height:1.6}.mobile-tabbar>button{font-size:12px}.mobile-task p{font-size:12px;line-height:1.6}.mobile-update-note{font-size:12px}.mobile-home-note{color:#7f9295}
}
@media(max-width:820px){.mobile-orders #shipment-table td:nth-child(4){display:block}.mobile-orders #shipment-table .upload-stage-summary{display:inline-flex;gap:5px;margin:0 0 0 7px;vertical-align:middle}.mobile-orders #shipment-table .upload-stage-pill{font-size:11px;padding:5px 7px}.mobile-orders #shipment-table .wb-state{margin-top:9px;line-height:1.5;font-size:12px}.mobile-orders #shipment-table .wb-warning{padding:7px 9px}.mobile-orders #shipment-table td{padding-top:0!important;padding-bottom:0!important}.mobile-orders #shipment-table tr{gap:12px}.mobile-orders #shipment-table td:last-child .text-button{min-height:34px}.mobile-orders .record-filters label{color:#526c70}}

@media(max-width:820px){html,body{max-width:100%;overflow-x:hidden;touch-action:pan-x pan-y}.dashboard :is(input,select,textarea){font-size:16px!important}.mobile-tabbar{background:#fff!important;border-top:1px solid #e8eeef;box-shadow:0 -4px 20px #183e4305}.mobile-tabbar>button{color:#718689}.mobile-tabbar>button.is-active{color:#2c7d65}}

/* A / Clear Blue. Mobile-only workspace styling; printed documents are intentionally excluded. */
.dispatch-mobile-tabs{display:none}
@media screen and (max-width:820px){
 body:has(.dashboard),body:has(.app-frame){--mobile-ink:#17253e;--mobile-muted:#7d899e;--mobile-accent:#2864eb;--mobile-surface:#fff;background:#f6f8fc;color:#17253e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
 .dashboard-main{max-width:620px;padding:0 20px calc(100px + env(safe-area-inset-bottom,0px))}.mobile-appbar{height:74px;gap:12px}.mobile-brand{display:flex;gap:10px;color:#17253e}.mobile-brand-logo{width:35px;height:35px;border-radius:10px;flex:none}.mobile-brand .mobile-brand-copy{display:flex;flex-direction:column;align-items:flex-start;width:auto;height:auto;gap:4px;background:none;border:0;box-shadow:none}.mobile-brand-copy{color:#17253e!important}.mobile-brand-copy b{font-size:18px;line-height:1.25;font-weight:700;letter-spacing:0}.mobile-brand-copy small{font-size:11px;color:#8390a3;letter-spacing:0;font-weight:400}.mobile-icon-button,.mobile-avatar{height:44px;width:44px;border:1px solid #e6ecf4;border-radius:13px;background:#fff;color:#536a8c}.mobile-avatar{background:#edf3ff;color:#2864eb}.receipt-native-modern .mobile-appbar{display:flex}.receipt-native-shell .mobile-screen{padding-top:0}
 .mobile-a-heading{display:flex;justify-content:space-between;align-items:center;margin:9px 0 16px}.mobile-a-heading h1{font-size:29px;font-weight:750;letter-spacing:-.7px;margin:0;line-height:1.35}.mobile-a-live{font-size:11px;color:#7d899e;background:#fff;border:1px solid #e6ecf4;border-radius:20px;padding:5px 9px}.mobile-a-summary{padding:17px 18px 12px;border-radius:19px;border:1px solid #e3ebf7;background:linear-gradient(115deg,#fff 25%,#eff5ff);box-shadow:none}.mobile-a-summary-title{display:flex;align-items:center;justify-content:space-between;color:#687b96;font-size:13px}.mobile-a-summary-title small{font-size:11px;background:#e8f0ff;color:#2864eb;border-radius:6px;padding:4px 7px}.mobile-a-total{display:flex;align-items:baseline;gap:6px;margin:6px 0 14px}.mobile-a-total strong{font-size:45px;line-height:1.2;letter-spacing:-1.5px;color:#17253e;font-weight:700}.mobile-a-total>span{font-size:13px;color:#8997ab}.mobile-a-total a{display:flex;gap:3px;align-items:center;margin-left:auto;color:#8191aa;text-decoration:none;font-size:11px;min-height:30px}.mobile-a-total a .icon{width:13px;height:13px}.mobile-a-metrics{display:flex;border-top:1px solid #e5ecf7;padding-top:11px}.mobile-a-metrics>button{background:none;border:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#687b96;flex:1;padding:0;min-height:30px;border-right:1px solid #e3eaf5;border-radius:0}.mobile-a-metrics>button:first-child{justify-content:flex-start}.mobile-a-metrics>button:last-child{border:0;justify-content:flex-end}.mobile-a-metrics b{font-size:20px;color:#253956;font-weight:650}.mobile-a-metrics span{font-size:11px;white-space:nowrap}.mobile-a-stat-note{display:block;font-size:10px;color:#99a5b7;margin-top:8px;line-height:1.5}.mobile-a-summary .mobile-progress{display:none}.mobile-a-create{display:flex;align-items:center;justify-content:center;gap:8px;background:#2864eb;color:#fff;text-decoration:none;width:100%;height:49px;border-radius:13px;font-weight:650;font-size:15px;margin:13px 0 22px;position:relative}.mobile-a-create .icon{width:20px;height:20px}.mobile-a-create .icon:last-child{position:absolute;right:16px;width:17px;height:17px;opacity:.8}.mobile-block-title{margin:20px 0 11px;display:flex;align-items:center;justify-content:space-between}.mobile-block-title h2{font-size:16px;font-weight:650;color:#17253e;letter-spacing:0}.mobile-block-title button{display:flex;align-items:center;gap:3px;background:none;border:0;font-size:12px;color:#8d99ac;padding:0;min-height:32px}.mobile-block-title button .icon{width:13px;height:13px}.mobile-a-todos{border:1px solid #e6ecf4;border-radius:18px;background:#fff;padding:0 14px}.mobile-task.mobile-a-todo{display:flex;align-items:center;gap:11px;padding:12px 0;width:100%;min-height:68px;border:0;border-radius:0;border-bottom:1px solid #e9edf5;background:none;box-shadow:none;text-align:left;position:static}.mobile-task.mobile-a-todo:last-child{border:0}.mobile-a-tile{height:36px;width:36px;display:grid;place-items:center;flex:none;border-radius:11px}.mobile-a-tile .icon{height:20px;width:20px}.mobile-a-tile.amber{background:#fff5e7;color:#c48a38}.mobile-a-tile.blue{background:#edf3ff;color:#4d7ccc}.mobile-a-tile.rose{background:#fff0ed;color:#ce7c6d}.mobile-a-copy{flex:1;min-width:0}.mobile-a-copy>b{display:block;font-size:14px;color:#253956;line-height:1.4;font-weight:650}.mobile-a-copy>small{display:block;font-size:11px;color:#8c99ad;margin-top:4px;line-height:1.5}.mobile-a-todo>strong{font-size:18px;font-weight:650;color:#4a6d9a}.mobile-a-todo>.icon{height:13px;width:13px;color:#b1bccb}.mobile-overdue{background:#fff8ef;border-color:#efdfc7;color:#ad7b36;margin-top:12px}.mobile-a-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;border:1px solid #e6ecf4;border-radius:18px;background:#fff;padding:7px 3px}.mobile-a-shortcuts>a,.mobile-a-shortcuts>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;border:0;background:none;color:#536b91;padding:10px 0;min-height:77px;text-decoration:none}.mobile-a-shortcuts .icon{height:23px;width:23px;color:#2864eb}.mobile-a-shortcuts span{font-size:12px;white-space:nowrap}.mobile-home-note{color:#99a5b7;font-size:11px;margin-top:18px}.mobile-tabbar{background:#fff!important;border-top:1px solid #e6ecf4!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 -2px 12px #152d5603;max-width:660px;gap:0;min-height:70px}.mobile-tabbar>a,.mobile-tabbar>button{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:none;border:0;color:#8d99ad;text-decoration:none;padding:0;font-size:11px;min-height:48px}.mobile-tabbar .mobile-tab-icon{display:grid;place-items:center;width:43px;height:28px;border-radius:10px;background:none;color:inherit;box-shadow:none}.mobile-tabbar .mobile-tab-icon .icon{width:22px;height:22px}.mobile-tabbar>button.is-active{color:#2864eb}.mobile-tabbar>button.is-active .mobile-tab-icon{background:#eaf1ff;color:#2864eb}.mobile-section-heading small,.mobile-eyebrow,.mobile-group-label{color:#8192ad}.mobile-section-heading h1{color:#17253e}.mobile-menu-row,.mobile-profile,.mobile-version-card,.mobile-qr-card,.mobile-export-card{border-color:#e6ecf4;box-shadow:none}.mobile-menu-icon,.mobile-menu-icon.mint,.mobile-profile-avatar{background:#edf3ff;color:#2864eb}.mobile-profile-avatar{border-color:#e1eaff}.mobile-profile i{color:#6687ab;background:#edf3ff}.mobile-version-card button{color:#2864eb;border-color:#d6e5ff;background:#f7faff}.mobile-live{color:#71839f}.mobile-orders .records-card{box-shadow:none;border-color:#e6ecf4}.mobile-orders .tabs .tab.active{color:#2864eb;border-color:#2864eb;background:#edf3ff}.mobile-orders .search-box,.mobile-orders .record-filters,.mobile-orders .wb-filter-panel{border-color:#e6ecf4}.dashboard .button-primary{background:#2864eb;border-color:#2864eb}.dashboard .text-button{color:#2864eb}.dashboard :is(input,select,textarea){font-size:16px!important}
 /* The dispatch workbench shares the same navigation and light-blue visual language. */
 .app-frame .side{display:none}.app-frame .main-area{margin:0;min-width:0;background:#f6f8fc;padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}.app-frame .topbar{background:#f6f8fc;border-bottom:0;padding:16px 20px;min-height:68px;gap:8px}.app-frame .topbar>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}.app-frame .topbar>div:first-child:before{content:"";width:33px;height:33px;flex:none;border-radius:9px;background:url('/app-icon-192.png?v=0.8.1') center/contain no-repeat}.app-frame .topbar small{display:none}.app-frame .topbar b{font-size:18px;color:#17253e}.app-frame .top-actions .connection,.app-frame .top-actions>a,.app-frame .top-actions>[data-action="logout"]{display:none}.app-frame .top-actions>[data-action="account"]{height:40px;padding:0 12px;border-radius:12px;border:1px solid #e6ecf4;background:#fff;color:#54729c}.app-frame .content{padding:12px 18px 30px;max-width:900px;margin:auto}.app-frame .heading{align-items:flex-start;gap:12px;margin-bottom:18px}.app-frame .heading h1{font-size:25px;color:#17253e;letter-spacing:-.5px}.app-frame .heading p{font-size:12px;line-height:1.7;color:#8997ab}.app-frame .eyebrow{font-size:10px;color:#8d9eb8;letter-spacing:1px}.app-frame .card,.app-frame .warehouse-card{border:1px solid #e6ecf4;border-radius:17px;box-shadow:none;background:#fff}.app-frame .btn.primary{background:#2864eb;border-color:#2864eb;color:#fff}.app-frame .btn{border-radius:10px;min-height:42px}.app-frame .btn.soft{background:#edf3ff;color:#2864eb;border-color:#e0e9fb}.app-frame .field input,.app-frame .field select,.app-frame .field textarea,.app-frame .mobile-dispatch-form :is(input,select,textarea){font-size:16px!important;border-color:#e4ebf5;border-radius:9px;min-height:43px}.app-frame .form-section,.app-frame .mobile-form-section{border-color:#e6ecf4;background:#fff}.app-frame .form-section h2,.app-frame .mobile-form-section h2{color:#253956}.app-frame .stat{border-color:#e6ecf4;background:#fff;box-shadow:none;border-radius:15px}.app-frame .stat.active{background:#edf3ff;border-color:#d7e4fd;color:#2864eb}.dispatch-mobile-tabs{display:flex;justify-content:space-around;position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:660px;background:#fff;border-top:1px solid #e6ecf4;padding:9px 7px calc(10px + env(safe-area-inset-bottom,0px));z-index:35;min-height:70px}.dispatch-mobile-tabs>a,.dispatch-mobile-tabs>button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;background:none;border:0;color:#8d99ad;min-height:48px;padding:0}.dispatch-mobile-tabs b{font-size:11px;font-weight:400}.dispatch-mobile-tabs>a>span,.dispatch-mobile-tabs>button>span{width:43px;height:28px;display:grid;place-items:center;border-radius:10px}.dispatch-mobile-tabs .nav-icon{height:22px;width:22px;margin:0;display:block}.dispatch-mobile-tabs svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.dispatch-mobile-tabs a[aria-current="page"]{color:#2864eb}.dispatch-mobile-tabs a[aria-current="page"]>span{background:#eaf1ff}.app-frame:has(.mobile-dispatch-form) .dispatch-mobile-tabs,.app-frame:has(.dispatch-sheet) .dispatch-mobile-tabs{display:none}
}
@media screen and (max-width:355px){.dashboard-main{padding-left:14px;padding-right:14px}.mobile-a-copy>b{font-size:13px}.mobile-a-copy>small{font-size:10px}.mobile-a-shortcuts span{font-size:11px}.mobile-a-metrics>button{gap:5px}.mobile-a-total a{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mobile-screen.is-active{animation:none!important}}
/* 0.8.1: A applies to the entire admin mobile document, not only the dashboard.
   Driver documents do not receive mobile-theme-a. Paper templates are never themed. */
@media screen and (max-width:820px){
 body.mobile-theme-a{--teal:#2864eb;--teal-dark:#1d4ed8;--ink:#17253e;--text:#344760;--muted:#7d899e;--line:#e3eaf4;--background:#f6f8fc;--pale:#edf3ff;--mint:#edf3ff;--green:#2864eb;--danger:#bd3d50;--mobile-ink:#17253e;--mobile-muted:#7d899e;--mobile-accent:#2864eb;background:#f6f8fc;color:#344760;color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
 body.mobile-theme-a .btn.soft{background:#edf3ff;border-color:#dce7fc;color:#2864eb}
 body.mobile-theme-a .btn.danger{background:#fff5f6;border-color:#f0d5dc;color:#bd3d50}
 body.mobile-theme-a .button-primary,body.mobile-theme-a .btn.primary{background:#2864eb;border-color:#2864eb;color:#fff;box-shadow:none}
 body.mobile-theme-a .button-primary:hover,body.mobile-theme-a .btn.primary:hover{background:#1d4ed8;border-color:#1d4ed8}
 body.mobile-theme-a .button-secondary,body.mobile-theme-a .btn{background:#fff;color:#344760;border-color:#dce5f2;border-radius:11px;box-shadow:none}
 body.mobile-theme-a .button-secondary:hover,body.mobile-theme-a .btn:hover{background:#edf3ff}
 body.mobile-theme-a .button-secondary:disabled,body.mobile-theme-a .btn:disabled{color:#8c99ae}
 body.mobile-theme-a .text-button,body.mobile-theme-a .btn.link{color:#2864eb}
 body.mobile-theme-a :is(button,a,input,select,textarea):focus-visible{outline-color:#8eaffb}
 body.mobile-theme-a :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not(.dispatch-sheet *){font-size:16px;accent-color:#2864eb}
 body.mobile-theme-a :is(input,select,textarea):not(.dispatch-sheet *):focus{border-color:#2864eb;box-shadow:0 0 0 3px #2864eb12}
 body.mobile-theme-a :is(input[type=checkbox],input[type=radio]){accent-color:#2864eb}
 body.mobile-theme-a .login-layout{display:block;background:#f6f8fc;min-height:100vh;min-height:100dvh}
 body.mobile-theme-a .login-panel{min-height:100vh;min-height:100dvh;background:#f6f8fc;padding:28px 24px calc(28px + env(safe-area-inset-bottom,0px));justify-content:flex-start;gap:0}
 body.mobile-theme-a .login-mobile-brand{display:block;align-self:flex-start;margin:0 0 30px}
 body.mobile-theme-a .login-mobile-brand .brand-mark,body.mobile-theme-a .login-art .brand-mark,body.mobile-theme-a .initial .brand-mark{width:42px;height:42px;flex:none;border-radius:12px;background:#2864eb url('/app-icon-192.png?v=0.8.1') center/cover no-repeat;color:transparent;font-size:0;border:0;box-shadow:none}
 body.mobile-theme-a .login-mobile-brand .brand-mark svg,body.mobile-theme-a .login-art .brand-mark svg{visibility:hidden}
 body.mobile-theme-a .login-mobile-brand .brand,body.mobile-theme-a .login-art .brand{font-size:20px;letter-spacing:0;color:#17253e}
 body.mobile-theme-a .brand small{color:#8996aa;letter-spacing:1.1px}
 body.mobile-theme-a .login-card{margin:0 auto;padding:26px 0 20px;max-width:400px;width:100%;background:none}
 body.mobile-theme-a .login-card h2{font-size:29px;letter-spacing:0;font-weight:700;color:#17253e;margin:10px 0}
 body.mobile-theme-a .login-card>.muted{font-size:14px;line-height:1.7;color:#7d899e;margin-bottom:28px}
 body.mobile-theme-a .login-card .section-kicker,body.mobile-theme-a .login-card .eyebrow{color:#2864eb;font-size:11px;letter-spacing:1.5px}
 body.mobile-theme-a .login-card label{color:#53647e;font-size:14px;font-weight:500}
 body.mobile-theme-a .login-card :is(input,select){min-height:50px;border:1px solid #dce5f2;border-radius:12px;background:#fff;padding:12px 14px;color:#17253e}
 body.mobile-theme-a .login-card input::placeholder{color:#a1adbd}
 body.mobile-theme-a .login-card .button,body.mobile-theme-a .login-card .btn{min-height:50px;border-radius:12px;font-size:16px}
 body.mobile-theme-a .login-hint,body.mobile-theme-a .login-footer,body.mobile-theme-a .panel-footer{font-size:12px;color:#909db1;line-height:1.8}
 body.mobile-theme-a .panel-footer{position:static;margin-top:auto;padding-top:30px;text-align:center}
 body.mobile-theme-a .divider{color:#94a0b3;margin:24px 0}
 body.mobile-theme-a .divider:before,body.mobile-theme-a .divider:after{background:#e3eaf4}
 body.mobile-theme-a .form-error,body.mobile-theme-a .save-error{color:#bd3d50}
 body.mobile-theme-a .login-art{padding:28px 24px 0;background:none;color:#17253e}
 body.mobile-theme-a .login-art h1{display:none}
 body.mobile-theme-a .login-layout>.login-card{width:calc(100% - 48px);padding-top:36px}
 body.mobile-theme-a .login-layout>.login-card form{gap:17px;margin-top:26px}
 body.mobile-theme-a #toast,body.mobile-theme-a #dispatch-toast{position:fixed;bottom:calc(88px + env(safe-area-inset-bottom,0px));background:#244c94;color:#fff;border:1px solid #3360a5;box-shadow:0 8px 24px #1e3d7024;border-radius:13px;font-size:14px;padding:13px 18px;line-height:1.6;max-width:calc(100vw - 32px);width:max-content;box-sizing:border-box;z-index:2000}
 body.mobile-theme-a #toast.toast-error,body.mobile-theme-a #dispatch-toast.error{background:#b8384c;border-color:#b8384c}
}

@media screen and (max-width:820px){
 body.mobile-theme-a :is(#modal,#dispatch-dialog,#dispatch-pdf-save){color:#344760;border-color:#e3eaf4;border-radius:18px;background:#fff;box-shadow:0 20px 80px #17253e26}
 body.mobile-theme-a dialog::backdrop{background:#17253e66;backdrop-filter:blur(4px)}
 body.mobile-theme-a :is(.modal-header,.dialog-head){background:#fff;border-color:#e3eaf4;color:#17253e}
 body.mobile-theme-a :is(.modal-header h2,.dialog-head h2){color:#17253e;font-size:18px;font-weight:650}
 body.mobile-theme-a :is(.modal-body,.dialog-body){background:#fff}
 body.mobile-theme-a :is(.modal-body,.dialog-body) label{color:#53647e}
 body.mobile-theme-a .mobile-filter-toggle{color:#657994;border-color:#dce5f2;background:#fff}
 body.mobile-theme-a .mobile-filter-toggle.has-filter{background:#edf3ff;border-color:#cdddfb;color:#2864eb}
 body.mobile-theme-a .mobile-filter-toggle i{background:#2864eb}
 body.mobile-theme-a .mobile-orders .wb-filter-panel>summary{color:#2864eb}
 body.mobile-theme-a .mobile-qr-card>.button{background:#2864eb;border-color:#2864eb;color:#fff;box-shadow:none}
 body.mobile-theme-a .mobile-export-item{background:#f5f8fd}
 body.mobile-theme-a .mobile-export-item>b{color:#253956}
 body.mobile-theme-a .mobile-export-item>small{color:#7d899e}
 body.mobile-theme-a .mobile-export-item>.icon{color:#a0aec3}
 body.mobile-theme-a .local-photo-preview .local-preview-done{background:#2864eb;color:#fff}
 body.mobile-theme-a .mobile-profile .brand-mark{background:#edf3ff;color:#2864eb}
}

/* Mobile secondary screens: fixed controls, a single scrolling body and safe areas.
   Screen-only: original template sizing and desktop / print output are unchanged. */
.mobile-page-back,.mobile-route-back,.stage-mobile-heading{display:none}
@media screen and (max-width:820px), screen and (max-height:600px) and (pointer:coarse){
 /* overflow:hidden on an ancestor creates a non-scrolling sticky container. */
 html:has(.app-frame),body:has(.app-frame),html:has(.driver-page),body:has(.driver-page),html.driver-viewport,html.driver-viewport body{overflow-x:visible;overflow-x:clip}
 .mobile-page-back,.mobile-route-back{display:inline-block}
 .app-frame .topbar{position:sticky!important;top:0;z-index:10;background:#f6f8fc}
 .mobile-route-back{flex-shrink:0;min-height:44px;padding:8px 4px;border:0;background:transparent;color:#2864eb;font:inherit;font-weight:600}
 .app-frame .topbar:has(.mobile-route-back)>div:first-child:before{display:none}
 .app-frame .topbar:has(.mobile-route-back) .top-actions{display:none}
 html:has(dialog[data-mobile-sheet][open]){overscroll-behavior-y:none}
 dialog[data-mobile-sheet][open],#dispatch-dialog[data-mobile-sheet][open],
 #dispatch-dialog.issue-review-dialog[data-mobile-sheet][open]{
  box-sizing:border-box;display:flex;flex-direction:column;
  width:calc(100% - 16px);max-width:calc(100% - 16px);min-width:0;
  height:auto;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);
  margin:auto;padding:0;border:1px solid #e3eaf4;border-radius:16px;overflow:hidden;
  background:#fff;color:#17253e;
 }
 dialog[data-mobile-sheet]>header{
  box-sizing:border-box;position:relative;top:auto;flex:0 0 auto;
  display:flex;align-items:center;gap:10px;min-width:0;
  width:100%;padding:12px;z-index:2;background:#fff;border-bottom:1px solid #e3eaf4;
 }
 dialog[data-mobile-sheet]>header>h2{flex:1;min-width:0}
 dialog[data-mobile-sheet]>header>div{flex:1;min-width:0;overflow-wrap:anywhere}
 dialog[data-mobile-sheet]>header :is(h2,b){margin:0;font-size:17px;line-height:1.4;overflow-wrap:anywhere}
 dialog[data-mobile-sheet]>header p{margin:4px 0 0;font-size:12px;line-height:1.4}
 dialog[data-mobile-sheet]>header>button{flex-shrink:0;min-width:44px;min-height:44px;white-space:nowrap}
 dialog[data-mobile-sheet]>header>.mobile-page-back{
  flex:0 0 auto;margin:0;padding:8px 4px;border:0;background:transparent;box-shadow:none;
  color:#2864eb;font:inherit;font-size:14px;font-weight:600;cursor:pointer;touch-action:manipulation;
 }
 dialog[data-mobile-sheet]>:is(.modal-body,.dialog-body){
  box-sizing:border-box;flex:1 1 auto;min-height:0;min-width:0;width:100%;
  overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  padding:16px 12px max(16px,env(safe-area-inset-bottom,0px));overflow-wrap:anywhere;
 }
 dialog[data-mobile-sheet] :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}
 dialog[data-mobile-sheet] :is(.form-two-col,.detail-grid,.qr-layout){grid-template-columns:minmax(0,1fr)}
 dialog[data-mobile-sheet] :is(.wb-table-wrap,.table-wrap){min-width:0;max-width:100%;overflow:auto}
 dialog[data-mobile-sheet] :is(.toolbar,.modal-actions,.wb-toolbar){flex-wrap:wrap;min-width:0}
 dialog[data-mobile-sheet]>:is(footer,.review-actions,.document-viewer-tools,.document-viewer-footer){flex-shrink:0}
 dialog[data-mobile-sheet]>:is(.photo-viewer-stage,.local-preview-stage,.document-viewer-stage){flex:1;min-height:0;min-width:0;overflow:auto}
 dialog[data-mobile-sheet]:is(#photo-viewer,.local-photo-preview,.staged-photo-dialog,#dispatch-document-viewer){
  height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);
 }
 dialog.staged-photo-dialog[data-mobile-sheet]>div{flex:1;min-height:0;overflow:auto}
 dialog.staged-photo-dialog[data-mobile-sheet]>header>b{flex:1;min-width:0}
 dialog[data-mobile-sheet] :is(.qr-code,.qr-preview) img{max-width:100%;height:auto}
 .stage-mobile-heading{position:sticky;top:0;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 4px;margin-bottom:16px;background:#fff;border-bottom:1px solid #e3eaf4;box-shadow:0 2px 8px #17253e08}
 .stage-mobile-heading button{min-width:44px;min-height:44px;padding:8px;border:0;background:transparent;color:#2864eb;font:inherit;font-weight:600}
 .stage-mobile-heading>.stage-back{position:static;box-shadow:none;margin:0;min-height:44px;padding:8px;border:0;background:transparent;font-size:13px;color:#2864eb}
 .stage-mobile-heading b{flex:1;min-width:0;overflow-wrap:anywhere;text-align:center;color:#17253e;font-size:17px}
 .driver-main:has(.stage-mobile-heading)>.stage-back{display:none}
 .stage-back{position:sticky;top:0;z-index:5;background:#fff;box-shadow:0 2px 8px #17253e12}
}
@media screen and (max-width:380px){
 dialog[data-mobile-sheet]>header{gap:6px;padding:10px}
 dialog[data-mobile-sheet]>header :is(h2,b){font-size:15px}
}

/* Compact, shared upload dossier: identity once, documents grouped by stage. */
.upload-dossier{min-width:0}.upload-identity{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 12px;border-bottom:1px solid #e4eaf3}.upload-identity>div{display:flex;flex-wrap:wrap;gap:6px 12px;min-width:0}.upload-identity b{font-size:14px;overflow-wrap:anywhere}.upload-identity a{font-size:14px;color:#3069f5;text-decoration:none}.upload-identity>span{font-size:11px;color:#71829a;white-space:nowrap}.upload-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.upload-stage{min-width:0;border:1px solid #e3eaf4;border-radius:12px;padding:12px;background:#fafcff}.upload-stage header{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;margin:0 0 10px}.upload-stage header>div{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.upload-stage b{font-size:13px}.upload-stage time{font-size:11px;color:#7c8ba0;white-space:nowrap}.upload-stage-state{font-size:10px;line-height:18px;padding:0 6px;border-radius:5px;background:#edf1f7;color:#738198}.upload-stage-state.is-ready{background:#e9f6ee;color:#237a4d}.upload-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,100px));gap:8px}.upload-photo-grid .upload-photo{display:block;width:100%;min-width:0;padding:0;overflow:hidden;border:1px solid #dce5f0;border-radius:8px;background:#fff;text-align:center;cursor:pointer}.upload-photo-grid .upload-photo img{display:block;width:100%;height:66px;object-fit:cover}.upload-photo-grid .upload-photo span{display:block;font-size:10px;line-height:23px;color:#526987;padding:0}.upload-stage .driver-comment{font-size:12px;margin:8px 0 0;overflow-wrap:anywhere}.upload-empty{font-size:12px;color:#7e8da2;margin:6px 0}.upload-history{margin-top:12px;font-size:12px}.upload-history summary{padding:8px 0;color:#617897;cursor:pointer}.upload-history article{padding:10px 0;border-top:1px solid #e5ebf3}.upload-history article header{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.upload-history article header span{color:#73849a}.auto-review-note{padding:10px 12px;border-radius:8px;background:#f1f5fc;font-size:12px;color:#536b8b}.auto-review-settings{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #dce5f0;border-radius:12px}.auto-review-settings input{width:44px;height:24px;accent-color:#3069f5}.auto-review-rules{padding-left:20px;font-size:13px;line-height:1.8}.auto-review-warning{padding:12px;background:#fff6e9;color:#8d631a;font-size:12px;border-radius:8px}
@media(max-width:820px){.receipt-detail-page .upload-dossier{margin:0;padding:0}.upload-stages{grid-template-columns:1fr;gap:10px;margin-top:10px}.upload-stage{padding:10px}.upload-stage header{margin-bottom:8px}.upload-identity{padding-bottom:10px}.upload-identity>span{display:none}.upload-photo-grid{grid-template-columns:repeat(auto-fill,minmax(76px,86px));gap:8px}.upload-photo-grid .upload-photo img{height:59px}.upload-photo-grid .upload-photo span{line-height:21px}.upload-stage time{font-size:10px}.receipt-detail-page .receipt-card-body:has(>.upload-dossier){padding:12px 14px}}

.auto-review-settings>span{flex:1;min-width:0}.auto-review-settings b{display:block;font-size:14px;color:#223a5c}.auto-review-settings small{display:block;font-size:11px;line-height:1.6;margin-top:4px}.auto-review-settings input[role="switch"]{appearance:none;-webkit-appearance:none;position:relative;width:44px!important;height:26px;min-width:44px;margin:0;padding:0;flex:0 0 44px;background:#d8e0ec;border:0;border-radius:20px;cursor:pointer;transition:background .15s}.auto-review-settings input[role="switch"]:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #162a4529;transition:transform .15s}.auto-review-settings input[role="switch"]:checked{background:#3069f5}.auto-review-settings input[role="switch"]:checked:after{transform:translateX(18px)}.auto-review-settings input[role="switch"]:focus-visible{outline:3px solid #8cadff;outline-offset:3px}

/* Personal profiles: fixed local SVG choices, no employee photo uploads. */
.staff-avatar{display:inline-grid;place-items:center;vertical-align:middle;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:var(--avatar-bg);color:var(--avatar-ink)}.staff-avatar svg{width:24px;height:24px}.mobile-profile-avatar:has(.staff-avatar){background:none;padding:0}.mobile-profile-avatar>.staff-avatar{width:52px;height:52px;border-radius:16px}.staff-account-id{font-size:12px;color:#7a899c;margin:0 8px;overflow-wrap:anywhere}.wb-list p:has(.staff-avatar){display:flex;align-items:center;gap:8px;flex-wrap:wrap}.staff-avatar-picker{border:0;padding:0;margin:18px 0}.staff-avatar-picker legend{font-size:13px;font-weight:600;padding:0 0 10px;color:#405772}.staff-avatar-picker>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.staff-avatar-picker label{position:relative;display:grid;justify-items:center;gap:5px;cursor:pointer;border:1px solid #e0e7f2;border-radius:12px;padding:10px 6px;margin:0!important;font-size:11px;color:#637590;background:#fff}.staff-avatar-picker input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;opacity:0;cursor:pointer;z-index:1}.staff-avatar-picker label:has(input:checked){border-color:#3267e6;background:#f0f5ff;box-shadow:0 0 0 1px #3267e6}.staff-avatar-picker label:has(input:focus-visible){outline:3px solid #9fbcfb;outline-offset:2px}.staff-avatar-picker label>.staff-avatar{width:40px;height:40px}.document-notes{margin:8px 0;font-size:12px;color:#61728a}.document-notes summary{cursor:pointer;padding:6px 0;font-weight:500}.document-notes p{white-space:pre-line;line-height:1.6;margin:6px 0;color:#506783}

.staff-avatar-sky{--avatar-bg:#e4efff;--avatar-ink:#3470d9}.staff-avatar-sun{--avatar-bg:#fff3d6;--avatar-ink:#d18b17}.staff-avatar-leaf{--avatar-bg:#e3f4e9;--avatar-ink:#35845b}.staff-avatar-mountain{--avatar-bg:#e9ebfd;--avatar-ink:#6c64b8}.staff-avatar-sail{--avatar-bg:#dff3f6;--avatar-ink:#21849b}.staff-avatar-star{--avatar-bg:#f9eddd;--avatar-ink:#bb7731}.staff-avatar-truck{--avatar-bg:#e4eff4;--avatar-ink:#40758d}.staff-avatar-flower{--avatar-bg:#f9e7ef;--avatar-ink:#b65f88}

.account>.avatar:has(.staff-avatar){background:transparent;padding:0}.account>.avatar .staff-avatar{width:34px;height:34px}

/* Shared task navigation. Scoped classes keep driver upload and printed sheets unchanged. */
.workflow-nav-item{display:flex;align-items:center;gap:11px;min-width:0;padding:12px 14px;border:0;border-radius:12px;background:transparent;color:#52627a;text-decoration:none;font:inherit;text-align:left;cursor:pointer}.workflow-nav-item:hover{background:#edf3ff;color:#2459bf}.workflow-nav-item.is-active{background:#eaf1ff;color:#235ac4;font-weight:700}.workflow-nav-icon{display:flex;flex:0 0 22px;align-items:center;justify-content:center}.workflow-nav-icon svg{width:21px;height:21px}.workflow-nav-item small{display:block;margin-top:3px;color:#738196;font-size:11px;font-weight:400;line-height:1.5}.workflow-nav-group{display:grid;gap:6px}.workflow-nav-caption{margin:16px 14px 6px;color:#8994a6;font-size:11px;letter-spacing:.08em}.workflow-process{margin:0 0 22px;padding:20px;background:#fff;border:1px solid #e1e8f2;border-radius:16px}.workflow-section-title{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.workflow-section-title h2{margin:0;font-size:17px}.workflow-section-title p{margin:6px 0 0;color:#64748b;font-size:13px;line-height:1.65}.workflow-help-link{flex-shrink:0;padding:7px 10px;border:1px solid #d9e4f5;border-radius:8px;background:#f6f9ff;color:#285cb9;font:inherit;font-size:12px;cursor:pointer}.workflow-process ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0 0;padding:0;list-style:none}.workflow-process li{display:flex;gap:10px;min-width:0}.workflow-process li>span{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:9px;background:#edf3ff;color:#2760bf;font-size:13px;font-weight:700}.workflow-process b{font-size:13px}.workflow-process li p{margin:6px 0 0;color:#6b778d;font-size:12px;line-height:1.7}.workflow-stage-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.workflow-stage-tabs button{padding:9px 13px;border:1px solid #dde5ef;border-radius:10px;background:#fff;color:#52627a;font:inherit;font-size:13px;cursor:pointer}.workflow-stage-tabs button[aria-pressed=true]{border-color:#b7cef9;background:#eaf2ff;color:#235ac4;font-weight:700}.workflow-stage-note{margin:0 0 14px;color:#66768d;font-size:13px;line-height:1.7}.workflow-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.workflow-more-group{padding:20px;border:1px solid #e1e8f2;border-radius:16px;background:#fff}.workflow-more-group h2{margin:0 0 12px;font-size:16px}.workflow-more-group .mobile-menu-row{width:100%}.workflow-help-dialog{width:min(760px,calc(100vw - 32px));max-width:100%;max-height:calc(100dvh - 32px);padding:0;border:1px solid #dde5ef;border-radius:18px;color:#24344b;background:#fff;overflow:auto}.workflow-help-dialog::backdrop{background:rgba(15,27,46,.45)}.workflow-help-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e4eaf2;background:#fff}.workflow-help-header h2{margin:3px 0 0;font-size:19px}.workflow-help-header small{color:#71819a;font-size:11px}.workflow-help-header button{flex-shrink:0;padding:8px 13px;border:1px solid #d6e0ee;border-radius:9px;background:#f6f8fc;color:#324866;font:inherit;cursor:pointer}.workflow-help-body{padding:6px 22px 24px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.workflow-help-body h3{margin:22px 0 10px;font-size:16px}.workflow-callout{padding:12px 14px;border-radius:10px;background:#eef5ff;color:#315483}.workflow-help-list{margin:0}.workflow-help-list>div{display:grid;grid-template-columns:92px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f5}.workflow-help-list dt{font-weight:700}.workflow-help-list dd{margin:0;color:#5a6c83}.workflow-help-steps{padding-left:24px}.workflow-help-steps p{margin:3px 0 12px;color:#5a6c83}.workflow-help-footnote{color:#77879c;font-size:12px}.workflow-desktop-screen[hidden]{display:none!important}.workflow-desktop-title{margin:8px 0 20px}.workflow-desktop-title h1{margin:0;font-size:28px}.workflow-desktop-title p{color:#6b778d;line-height:1.7}.workflow-primary-mobile{display:none}
@media(max-width:820px){.workflow-process{padding:16px;margin-bottom:16px;border-radius:14px}.workflow-section-title{gap:8px}.workflow-section-title h2{font-size:15px}.workflow-section-title p{font-size:12px}.workflow-help-link{font-size:11px;padding:6px 8px}.workflow-process ol{grid-template-columns:1fr 1fr;gap:15px 12px;margin-top:16px}.workflow-process li{gap:8px}.workflow-process b{font-size:12px}.workflow-process li p{font-size:11px}.workflow-more-grid{grid-template-columns:1fr;gap:14px}.workflow-help-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.workflow-help-header{padding:14px 16px}.workflow-help-header h2{font-size:18px}.workflow-help-body{padding:4px 16px 24px}.workflow-help-list>div{grid-template-columns:82px 1fr;gap:10px}.workflow-stage-tabs{flex-wrap:nowrap;overflow:auto;padding-bottom:4px;scrollbar-width:thin}.workflow-stage-tabs button{flex-shrink:0}.mobile-tabbar .workflow-nav-item,.mobile-workspace-nav .workflow-nav-item{display:flex;flex-direction:column;justify-content:center;gap:4px;flex:1;padding:8px 2px;border-radius:9px;font-size:11px;text-align:center}.mobile-tabbar .workflow-nav-icon,.mobile-workspace-nav .workflow-nav-icon{flex-basis:auto}.mobile-tabbar,.mobile-workspace-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media print{.workflow-process,.workflow-nav-group,.workflow-help-dialog,.workflow-stage-tabs,.workflow-stage-note{display:none!important}}
/* A single desktop workspace, instead of the former all-in-one dashboard. */
.workflow-upgraded .dashboard-main>.page-heading,.workflow-upgraded .dashboard-main>.stats,.workflow-upgraded .dashboard-main>.workflow-strip,.workflow-upgraded .dashboard-main>.dashboard-footer{display:none!important}
.workflow-upgraded .mobile-screen{display:none!important}.workflow-upgraded .mobile-screen.is-active{display:block!important}.workflow-upgraded .mobile-appbar,.workflow-upgraded .mobile-tabbar{display:none}
.workflow-upgraded .sidebar,.workflow-dispatch .side{background:#fff;color:#34465f;border-right:1px solid #e3e9f2}.workflow-upgraded .sidebar .logo,.workflow-dispatch .side .brand{color:#263b59}.workflow-dispatch .side .brand small{color:#748198;letter-spacing:0}.workflow-dispatch .side .workflow-nav-item{background:transparent;color:#52627a;padding:12px 14px;gap:11px}.workflow-dispatch .side .workflow-nav-item.is-active{background:#eaf1ff;color:#235ac4}.workflow-dispatch .side .workflow-nav-item:hover{background:#f0f5ff;color:#235ac4}.workflow-dispatch .side-note{margin-top:auto;border-color:#e1e8f2;color:#66768c;background:#f7f9fd}.workflow-dispatch .side-note strong{color:#304767}.workflow-dispatch .side-note p{color:#6e7f96}.workflow-dispatch .side-user{color:#344a68}.workflow-dispatch .side-user small{color:#7b8798}.workflow-dispatch .nav-label{color:#7d899a;letter-spacing:.04em}.workflow-dispatch-tools{display:grid;gap:6px}.workflow-side-tool{padding:8px 13px;border:0;border-radius:8px;background:transparent;color:#5a6e89;text-align:left;font:inherit;font-size:12px;cursor:pointer}.workflow-side-tool:hover{background:#f1f5fb;color:#285cba}
.workflow-upgraded .mobile-a-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.workflow-upgraded .mobile-a-heading h1{margin:0;font-size:28px}.workflow-upgraded .mobile-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 20px}.workflow-upgraded .mobile-section-heading h1{margin:5px 0 8px;font-size:27px}.workflow-upgraded .mobile-section-heading small{color:#7b8aa1;font-size:11px;letter-spacing:.08em}.workflow-upgraded .mobile-order-actions{display:flex;align-items:center;gap:8px}.workflow-upgraded .mobile-filter-toggle{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #dce5f2;border-radius:9px;background:white;color:#3c5d8d;cursor:pointer}.workflow-upgraded .mobile-filter-toggle .icon{width:17px;height:17px}
.workflow-home-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin:0 0 24px;border:1px solid #dce7f9;border-radius:17px;background:linear-gradient(112deg,#edf4ff,#f8fbff)}.workflow-home-summary>div>span{display:block;font-size:13px;color:#627997}.workflow-home-summary strong{display:block;margin:7px 0;font-size:40px;line-height:1.2;color:#254d8b}.workflow-home-summary small{font-size:14px;font-weight:400;color:#6b7f9c}.workflow-home-summary a:not(.button){color:#3467af;font-size:12px}.workflow-home-actions{display:flex;gap:10px;flex-wrap:wrap}.workflow-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 24px}.workflow-task-card{display:flex;gap:13px;align-items:center;min-width:0;padding:20px;border:1px solid #e0e7f1;border-radius:14px;background:#fff;color:#2d415e;text-align:left;font:inherit;cursor:pointer}.workflow-task-card:hover{border-color:#afc9f5;background:#fbfcff}.workflow-task-card>span:nth-child(2){flex:1;min-width:0}.workflow-task-card b{font-size:15px}.workflow-task-card small{display:block;margin-top:6px;color:#7a879b;font-size:12px;line-height:1.6}.workflow-task-card strong{font-size:26px}.workflow-task-card>.icon{width:16px;color:#a2aec0}.workflow-task-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#edf3ff;color:#3667b4}.workflow-upgraded .mobile-block-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px}.workflow-upgraded .mobile-block-title h2{margin:0;font-size:17px}.workflow-upgraded .mobile-block-title button{display:flex;gap:4px;align-items:center;padding:6px;border:0;background:none;color:#3668af;font:inherit;font-size:12px;cursor:pointer}.workflow-upgraded .mobile-block-title .icon{width:14px}
.workflow-upgraded #workbench-tools .wb-todos,.workflow-upgraded #workbench-tools .wb-toolbar,.workflow-upgraded .records-card .tabs,.workflow-upgraded .records-footer a{display:none!important}.workflow-upgraded .table-toolbar{justify-content:flex-end}.workflow-upgraded .records-heading h2{font-size:17px}.workflow-upgraded .mobile-menu-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 0;border:0;border-bottom:1px solid #edf0f5;background:transparent;text-align:left;color:#30445f;font:inherit;cursor:pointer}.workflow-upgraded .mobile-menu-row:last-child{border-bottom:0}.workflow-upgraded .mobile-menu-icon{display:grid;place-items:center;flex:0 0 35px;height:35px;border-radius:10px;background:#edf3ff;color:#3868b1}.workflow-upgraded .mobile-menu-copy{flex:1;min-width:0}.workflow-upgraded .mobile-menu-copy b{display:block;font-size:13px}.workflow-upgraded .mobile-menu-copy small{display:block;margin-top:5px;color:#7d899c;font-size:11px;line-height:1.7;letter-spacing:0}.workflow-upgraded .mobile-menu-row>.icon{width:15px;color:#a3afc0}.workflow-upgraded .mobile-profile{display:flex;align-items:center;gap:14px;padding:20px;margin-bottom:20px;border:1px solid #e2e8f2;border-radius:14px;background:white}.workflow-upgraded .mobile-profile-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#edf3ff;color:#3868b1}.workflow-upgraded .mobile-profile h2{margin:0 0 6px;font-size:18px}.workflow-upgraded .mobile-profile span{font-size:12px;color:#6a7c93}.workflow-upgraded .mobile-version-card{display:flex;align-items:center;gap:10px}.workflow-upgraded .mobile-version-card>div{flex:1;min-width:0}.workflow-upgraded .mobile-version-card b{font-size:13px}.workflow-upgraded .mobile-version-card p,.workflow-upgraded .mobile-update-note{font-size:12px;line-height:1.7;color:#77869c}.workflow-upgraded .mobile-version-card button{padding:7px 10px;border:1px solid #dce5f4;border-radius:8px;background:#f3f7ff;color:#3b68b0;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.workflow-upgraded .mobile-logout{margin:22px 0 10px;padding:12px 18px;border:1px solid #e3d7d8;border-radius:10px;background:#fff;color:#a14848;font:inherit;cursor:pointer}.workflow-upgraded .mobile-logout .icon{width:17px;margin-right:8px}.workflow-export-actions,.workflow-tool-links{display:flex;gap:12px;flex-wrap:wrap}.workflow-upgraded .mobile-qr-card{max-width:520px;margin:20px auto;padding:25px;border:1px solid #dfe8f4;border-radius:16px;background:white;text-align:center}.workflow-upgraded .mobile-qr-frame img{max-width:100%;height:auto}.workflow-upgraded .mobile-qr-links{display:flex;gap:16px;justify-content:center;margin:18px 0}.workflow-upgraded .mobile-collection-steps{display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px;color:#607591}.workflow-upgraded .mobile-collection-steps .icon{width:18px}.workflow-upgraded .mobile-collection-steps i{font-style:normal;margin-right:5px;color:#386cc2}
@media(max-width:820px){.workflow-upgraded .mobile-appbar{display:flex}.receipt-native-shell .workflow-upgraded .mobile-appbar{display:none}.workflow-upgraded .mobile-tabbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}.workflow-upgraded .mobile-a-heading h1{font-size:24px}.workflow-upgraded .mobile-a-heading{gap:8px;margin-bottom:16px}.workflow-upgraded .mobile-section-heading{gap:8px;margin-top:16px}.workflow-upgraded .mobile-section-heading h1{font-size:23px}.workflow-upgraded .mobile-section-heading>.mobile-order-actions{align-self:flex-start}.workflow-upgraded .mobile-section-heading .workflow-stage-note{font-size:11px}.workflow-home-summary{align-items:flex-start;flex-direction:column;gap:18px;padding:18px;margin-bottom:20px}.workflow-home-summary strong{font-size:34px}.workflow-home-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.workflow-home-actions .button{padding:11px 9px;font-size:12px;min-width:0;white-space:normal;justify-content:center}.workflow-task-grid{grid-template-columns:1fr;gap:10px;margin:12px 0 18px}.workflow-task-card{padding:15px 13px;gap:10px}.workflow-task-card b{font-size:14px}.workflow-task-card small{font-size:11px}.workflow-task-card strong{font-size:23px}.workflow-upgraded .mobile-menu-row{padding:13px 0}.workflow-upgraded .mobile-profile{padding:17px;margin-top:16px}.workflow-upgraded .mobile-section-heading .mobile-order-actions{flex-wrap:wrap;justify-content:flex-end}.workflow-upgraded .mobile-section-heading .mobile-order-actions .workflow-help-link{font-size:11px}.workflow-upgraded .mobile-orders .table-toolbar{justify-content:stretch}.workflow-upgraded .mobile-orders .search-box{width:100%}.dispatch-mobile-tabs.workflow-primary-mobile{display:grid;grid-template-columns:repeat(var(--workflow-nav-count,4),minmax(0,1fr));gap:2px;background:#fff;border-top:1px solid #e2e8f2}.dispatch-mobile-tabs .workflow-nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:7px 2px;background:transparent;color:#7b899e;font-size:11px;min-height:52px;border-radius:9px}.dispatch-mobile-tabs .workflow-nav-item.is-active{color:#2d63c0;background:#f0f5ff}.dispatch-mobile-tabs .workflow-nav-icon{flex-basis:auto}.workflow-upgraded .mobile-qr-card{padding:18px}.workflow-tool-links{flex-direction:column}.workflow-tool-links .btn{width:100%;justify-content:center}.workflow-help-body{padding-bottom:40px}}
@media(min-width:821px){.workflow-upgraded .mobile-section-heading .mobile-filter-toggle{display:none}.workflow-upgraded .mobile-orders #workbench-tools .wb-filter-panel{margin-bottom:16px}.workflow-upgraded .dashboard-main{max-width:1460px}.workflow-upgraded .mobile-screen.is-active{animation:none}.workflow-upgraded .mobile-tabbar,.dispatch-mobile-tabs.workflow-primary-mobile{display:none!important}}

.workflow-upgraded .button-primary{background:#2b65c5;color:#fff;box-shadow:none}.workflow-upgraded .button-primary:hover{background:#2255ad}.workflow-upgraded .mobile-overdue{display:flex;align-items:center;gap:9px;width:100%;padding:12px 15px;margin:0 0 20px;border:1px solid #efdfbb;border-radius:11px;background:#fffbf1;color:#94703b;font:inherit;text-align:left;cursor:pointer}.workflow-upgraded .mobile-overdue>.icon{width:18px;height:18px;flex-shrink:0}.workflow-upgraded .mobile-overdue>span{flex:1;font-size:12px}

@media(max-width:820px){.workflow-upgraded .workflow-stage-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:7px}.workflow-upgraded .workflow-stage-tabs button{padding:9px 5px;font-size:12px;white-space:nowrap}.workflow-upgraded .workflow-stage-note{font-size:12px}}

@media(max-width:820px){.dispatch-mobile-tabs.workflow-primary-mobile>.workflow-nav-item>.workflow-nav-label{display:block;width:auto;height:auto;min-height:0;border-radius:0;background:none!important;white-space:nowrap;font-size:11px;line-height:1.4}.workflow-dispatch .workflow-stage-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:8px}.workflow-dispatch .workflow-stage-tabs button{white-space:nowrap}}

.dispatch-mobile-tabs.is-dispatcher{--workflow-nav-count:3}
/* A-plan workspace system: scoped to business chrome, never printable templates. */
@media screen{
 .workflow-upgraded,.workflow-dispatch{--ink:#17253e;--muted:#7b8799;--line:#e3e9f2;--green:#2864eb;--mint:#edf3ff;color:#17253e;background:#f6f8fc;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif}
 .workflow-upgraded :is(.mobile-home,.mobile-orders,.mobile-account,.mobile-collection),.workflow-dispatch .content{color:#17253e}
 .workflow-upgraded :is(.records-card,.workflow-home-summary,.workflow-task-card,.mobile-profile,.workflow-more-group),.workflow-dispatch :is(.card,.stat,.warehouse-card){background:#fff;border:1px solid #e3e9f2;border-radius:16px;box-shadow:none}
 .workflow-upgraded :is(.button,.text-button,.workflow-help-link),.workflow-dispatch .btn{border-radius:10px;font:inherit;font-size:13px}
 .workflow-upgraded .button-primary,.workflow-dispatch .btn.primary{background:#2864eb;border-color:#2864eb;color:#fff}
 .workflow-upgraded .button-secondary,.workflow-dispatch .btn.soft{background:#edf3ff;border-color:#dfe8fb;color:#2864eb}
 .workflow-upgraded :is(h1,h2,h3),.workflow-dispatch :is(.heading h1,.card h2){color:#17253e}
 .workflow-upgraded .record-filters,.workflow-dispatch .filter-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:20px;border-bottom:1px solid #e3e9f2;margin:0}
 .workflow-upgraded .record-filters>label,.workflow-dispatch .filter-bar>.field{display:flex;flex-direction:column;flex:1 1 130px;min-width:120px;max-width:220px;gap:7px;color:#52627a;font-size:12px;font-weight:500}
 .workflow-upgraded .record-filters .workspace-search{position:relative;flex:2 1 240px;max-width:330px;height:42px;display:flex;flex-direction:row;align-items:center;gap:8px;padding:0 12px;border:1px solid #dfe6ef;border-radius:10px;background:#fff}
 .workflow-upgraded .record-filters .workspace-search svg{flex:none;width:17px;height:17px}.workflow-upgraded .record-filters .workspace-search input{padding:0;border:0;min-width:0;width:100%;height:40px;outline:none}
 .workflow-upgraded .record-filters :is(input:not([type=date]),select),.workflow-dispatch .filter-bar :is(input,select){box-sizing:border-box;min-height:42px;width:100%;border:1px solid #dfe6ef;border-radius:9px;background:#fff;color:#17253e;padding:9px 11px;font:inherit;font-size:13px}
 .workflow-upgraded .record-filters .workspace-search input{border:0;padding:0;min-height:40px}
 .workflow-upgraded .date-filter-field{height:42px;min-height:42px;box-sizing:border-box;border-color:#dfe6ef;border-radius:9px}
 .workflow-upgraded .record-filters>button{height:42px;min-height:42px;margin:0;white-space:nowrap}
 .workflow-upgraded .records-card .table-toolbar{display:none}.workflow-upgraded .records-heading{padding:18px 20px;margin:0;border-bottom:1px solid #e3e9f2}.workflow-upgraded .records-card{padding:0;overflow:hidden}
 .workflow-upgraded .records-heading h2{font-size:16px}.workflow-upgraded .records-heading>div{display:flex;gap:12px;align-items:center}.workflow-upgraded .records-heading .record-count{font-size:12px;color:#7b8799}
 .workflow-upgraded .records-card #workbench-tools{margin:0;padding:0}.workflow-upgraded .records-card .wb-filter-panel{border:0;border-bottom:1px solid #e3e9f2;border-radius:0;margin:0;padding:14px 20px;background:#fff}
 .workflow-upgraded :is(.batch-controls,.records-footer,.record-pagination){padding:14px 20px;margin:0}.workflow-upgraded .table-scroll th,.workflow-dispatch .table-wrap th{background:#f7f9fc;color:#728198;font-size:12px;font-weight:500;border-bottom:1px solid #e3e9f2}
 .workflow-upgraded .table-scroll td,.workflow-dispatch .table-wrap td{color:#253956;border-color:#edf0f5}
 .record-number-link{display:inline;padding:0;border:0;background:transparent;color:#2864eb;font:600 14px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;text-align:left;cursor:pointer;overflow-wrap:anywhere}.record-number-link:hover{text-decoration:underline}.record-number-link:focus-visible,.shipment-record-row:focus-visible{outline:2px solid #2864eb;outline-offset:3px}.shipment-record-row{cursor:pointer}.shipment-record-row:hover{background:#f8faff}
 .dispatch-months{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:16px 20px;border-bottom:1px solid #e3e9f2}.dispatch-months>span{font-size:12px;color:#7b8799;margin-right:6px}.dispatch-months button[aria-pressed=true]{background:#edf3ff;color:#2864eb;border-color:#bcd0fa}.dispatch-months small{margin-left:5px;color:inherit}.dispatch-month-title{font-size:14px;padding:14px 20px;margin:0;background:#f3f6fc;border-block:1px solid #e3e9f2;color:#425774}.dispatch-month-group+.dispatch-month-group{margin-top:4px}
 .workflow-dispatch .bulk-hint{color:#7b8799}.workflow-dispatch .dispatch-bulk{background:#f8faff;border-color:#e3e9f2}.workflow-dispatch .code{color:#2864eb}.workflow-dispatch .badge{border-radius:7px}
}
@media screen and (min-width:821px){
 .workflow-upgraded .sidebar{width:238px}.workflow-upgraded .workspace{margin-left:238px}.workflow-dispatch{grid-template-columns:238px minmax(0,1fr)}
 .workflow-upgraded .dashboard-main,.workflow-dispatch .content{max-width:1460px;padding:28px 30px;margin:0 auto;width:100%;box-sizing:border-box}
 .workflow-upgraded .mobile-section-heading,.workflow-upgraded .mobile-a-heading,.workflow-dispatch .heading{margin:0 0 20px;gap:16px}.workflow-upgraded :is(.mobile-section-heading h1,.mobile-a-heading h1),.workflow-dispatch .heading h1{font-size:26px;letter-spacing:-.5px;margin:4px 0 8px}.workflow-upgraded .workflow-stage-tabs,.workflow-dispatch .workflow-stage-tabs{margin-bottom:10px}
 .workflow-upgraded .topbar,.workflow-dispatch .topbar{height:72px;min-height:72px;box-sizing:border-box;background:#fff;border-bottom:1px solid #e3e9f2;padding:0 30px}
 .workflow-upgraded .table-scroll table,.workflow-dispatch .table-wrap table{width:100%;font-size:13px}.workflow-upgraded .table-scroll :is(th,td),.workflow-dispatch .table-wrap :is(th,td){padding:16px 20px}
}
@media screen and (max-width:820px){
 .workflow-upgraded .records-card{background:transparent;border:0;border-radius:0;overflow:visible}.workflow-upgraded .records-heading{display:none}.workflow-upgraded .records-card #workbench-tools{margin:0}.workflow-upgraded .records-card .wb-filter-panel{border:1px solid #e3e9f2;border-radius:12px;margin-bottom:12px;padding:12px}
 .workflow-upgraded .mobile-orders.mobile-filters-open .record-filters{display:flex!important;background:#fff;padding:12px;margin:0 0 12px}.workflow-upgraded .record-filters>label,.workflow-upgraded .record-filters .workspace-search{max-width:none;flex:1 1 calc(50% - 6px);min-width:0}.workflow-upgraded .record-filters .workspace-search{flex-basis:100%}
 .workflow-upgraded .record-filters :is(input,select),.workflow-dispatch .filter-bar :is(input,select){font-size:16px}
 .workflow-upgraded :is(.batch-controls,.record-pagination){padding:10px 0}.workflow-upgraded .records-footer{padding:14px 0;font-size:11px}.workflow-upgraded #shipment-table .shipment-record-row{border:1px solid #e3e9f2;border-radius:16px;background:#fff;box-shadow:none}
 .workflow-dispatch .filter-bar{padding:14px;gap:10px}.workflow-dispatch .filter-bar>.field{flex:1 1 calc(50% - 5px);min-width:0;max-width:none}.workflow-dispatch .filter-bar>.search{flex-basis:100%}.workflow-dispatch .filter-bar>.btn{flex:1}
 .workflow-dispatch .dispatch-months{padding:12px;gap:8px}.workflow-dispatch .dispatch-months>span{flex-basis:100%}.workflow-dispatch .dispatch-months .btn{min-height:38px;font-size:12px}.workflow-dispatch .dispatch-month-title{padding:12px 14px;background:#edf3fb;border:0;font-size:13px;border-radius:10px;margin:10px 12px}
 .workflow-dispatch .dispatch-month-group .table-wrap{overflow:visible;padding:0 12px 12px}.workflow-dispatch .dispatch-month-group table{min-width:0!important;width:100%;display:block}.workflow-dispatch .dispatch-month-group thead{display:none}.workflow-dispatch .dispatch-month-group tbody{display:grid;gap:12px}.workflow-dispatch .dispatch-month-group tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;border:1px solid #e3e9f2;border-radius:14px;background:#fff}
 .workflow-dispatch .dispatch-month-group td{padding:0;border:0;min-width:0;overflow-wrap:anywhere;font-size:13px;white-space:normal}.workflow-dispatch .dispatch-month-group td[data-label="单据 / 发货日期"]{grid-column:1/-1;padding-right:34px}.workflow-dispatch .dispatch-month-group td[data-label="操作"]{grid-column:1/-1;text-align:right}.workflow-dispatch .dispatch-month-group .bulk-check{position:absolute;right:14px;top:15px}.workflow-dispatch .dispatch-month-group td[data-label="创建人"]{font-size:11px;color:#7b8799}.workflow-dispatch .dispatch-month-group td[data-label="创建人"]:before{content:"创建人 · "}.workflow-dispatch .dispatch-month-group small{display:block;color:#7b8799;font-size:11px;margin-top:4px}.workflow-dispatch .dispatch-month-group .btn{min-height:34px;padding:5px 8px}
 .workflow-dispatch .pagination{padding:14px;flex-wrap:wrap;gap:10px}.workflow-dispatch .dispatch-bulk{margin:0;padding:12px}.workflow-dispatch .bulk-hint{padding:0 12px;font-size:11px}.workflow-dispatch .dispatch-bulk .toolbar{gap:6px}.workflow-dispatch .dispatch-bulk .btn{min-height:36px;font-size:12px;padding:6px 9px}
}

@media screen{.workflow-upgraded{--teal:#2864eb;--text:#17253e;--teal-dark:#2459bf}.workflow-upgraded .brand-mark{background:#2864eb}.workflow-upgraded .text-button,.workflow-upgraded .contact-phone,.workflow-dispatch .btn.link{color:#2864eb}.workflow-upgraded .sidebar-tip{background:#f8faff;border-color:#e3e9f2}.workflow-upgraded .avatar{background:#edf3ff;color:#2864eb}}

@media screen and (min-width:821px){.dispatch-filter-toggle{display:none!important}}
@media screen and (max-width:820px){.workflow-dispatch .dispatch-records:not(.filters-open)>.filter-bar{display:none}.workflow-dispatch .heading .toolbar{display:flex;flex-wrap:wrap;gap:8px}.workflow-dispatch .dispatch-filter-toggle[aria-expanded=true]{background:#edf3ff;color:#2864eb;border-color:#bcd0fa}}

@media screen{body.mobile-theme-a{--teal:#2864eb;--teal-dark:#2459bf;--text:#17253e;--ink:#17253e;--green:#2864eb;--mint:#edf3ff;--line:#e3e9f2;--muted:#7b8799}.workflow-dispatch .order-number-link{font-size:14px;font-weight:600}.upload-stage-summary+.record-number-link{font-size:12px}body.mobile-theme-a #modal{color:#17253e;border-color:#e3e9f2;border-radius:16px}body.mobile-theme-a #modal :is(.button-primary,.photo-control.is-active){background:#2864eb;border-color:#2864eb}}

/* Compact mobile records. Screen-only rules leave the original PDF/print template untouched. */
@media screen {
 .dispatch-order-row{cursor:pointer}.dispatch-order-row:focus-visible{outline:2px solid #2864eb;outline-offset:-2px}
}
@media screen and (max-width:820px){
 .workflow-upgraded .mobile-records-header{position:sticky;top:0;z-index:25;background:#f6f8fc;padding:10px 0 9px;margin:0 0 10px;border-bottom:1px solid #e3e9f2}
 .workflow-upgraded .mobile-records-header .mobile-section-heading{align-items:center;gap:8px;margin:0 0 8px}
 .workflow-upgraded .mobile-records-header .mobile-section-heading h1{font-size:21px;line-height:1.3;margin:0;letter-spacing:0}
 .workflow-upgraded .mobile-records-header .mobile-section-heading>div>small,.workflow-upgraded .mobile-records-header .workflow-stage-note{display:none}
 .workflow-upgraded .mobile-records-header .mobile-order-actions{align-self:center;flex-wrap:nowrap;gap:6px}
 .workflow-upgraded .mobile-records-header .workflow-help-link{font-size:11px;padding:7px 8px;white-space:nowrap}
 .workflow-upgraded .mobile-records-header .mobile-filter-toggle{height:34px;padding:0 9px;border-radius:9px;font-size:12px}
 .workflow-upgraded .mobile-records-header .workflow-stage-tabs{margin:0;gap:5px}
 .workflow-upgraded .mobile-records-header .workflow-stage-tabs button{min-height:32px;padding:6px 4px;border-radius:9px;font-size:12px}
 .workflow-upgraded .mobile-orders #shipment-table tbody{gap:8px}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px 14px;border-radius:12px;align-items:start}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row td{line-height:1.5;min-width:0;overflow-wrap:anywhere}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row td:first-child{grid-column:1/-1;grid-row:1}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-name{align-items:center;gap:8px;min-height:0}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-name>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-name .record-number-link{font-size:14px;line-height:1.6;text-align:left;overflow-wrap:anywhere}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-name small{margin:0;line-height:1.5;font-size:12px}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-name :is(.recognition-progress,.recognition-warning){flex-basis:100%}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row td:nth-child(2){grid-column:1;grid-row:2;gap:4px 8px;flex-wrap:wrap;align-self:center}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row td:last-child{grid-column:2;grid-row:2;align-self:center;justify-self:end}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row td:last-child .text-button{min-height:32px;padding:4px 0 4px 6px;font-size:12px;white-space:nowrap}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row td:nth-child(4){grid-column:1/-1;grid-row:3;display:flex;flex-wrap:wrap;align-items:center;gap:5px 6px}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row .badge{font-size:11px;line-height:1.4;padding:4px 6px;white-space:nowrap}
 .workflow-upgraded .mobile-orders #shipment-table .record-dispatch-number{display:none}
 .workflow-upgraded .mobile-orders #shipment-table .upload-stage-summary{display:inline-flex;flex-wrap:wrap;gap:5px;margin:0}
 .workflow-upgraded .mobile-orders #shipment-table .upload-stage-pill{padding:4px 6px;font-size:11px;line-height:1.4}
 .workflow-upgraded .mobile-orders #shipment-table .wb-state{flex-basis:100%;margin:0;line-height:1.5;font-size:11px}
 .workflow-upgraded .mobile-orders #shipment-table .wb-state-routine{display:none}
 .workflow-upgraded .mobile-orders #shipment-table td:nth-child(4)>p:not(.record-dispatch-number){flex-basis:100%;margin:2px 0;line-height:1.5;font-size:12px}
 .workflow-upgraded .mobile-orders .batch-controls{background:transparent;border:0;border-radius:0;padding:0;margin:0 0 8px;gap:6px}
 .workflow-upgraded .mobile-orders .batch-controls .button{min-height:34px;padding:6px 10px;font-size:12px}
 .workflow-dispatch .dispatch-month-group tbody{gap:8px}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px 14px;border-radius:12px;align-items:center}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td{line-height:1.5;font-size:12px}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="单据 / 发货日期"]{grid-column:1/-1;grid-row:1;display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;padding-right:0}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row:has(.bulk-check) td[data-label="单据 / 发货日期"]{padding-right:26px}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row .order-number-link{font-size:14px;line-height:1.6}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row small{display:inline;margin:0;font-size:11px;line-height:1.5}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="收货仓库"]{grid-column:1;grid-row:2;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="回单进度"]{grid-column:2;grid-row:2;justify-self:end}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="回单进度"] .badge{font-size:11px;padding:4px 6px;white-space:nowrap}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="车辆 / 司机电话"]{grid-column:1/-1;grid-row:3;display:flex;flex-wrap:wrap;gap:4px 10px}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="创建人"]{grid-column:1;grid-row:4;display:flex;gap:4px 6px;flex-wrap:wrap;align-items:baseline;font-size:11px}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="创建人"]:before{content:none}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="创建人"] small{font-size:10px}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="操作"]{grid-column:2;grid-row:4;justify-self:end}
 .workflow-dispatch .dispatch-month-group .dispatch-order-row td[data-label="操作"] .btn{min-height:32px;padding:4px 0 4px 6px;font-size:12px}
 .workflow-dispatch .dispatch-month-group .bulk-check{right:14px;top:12px}
 /* Keep detail labels inset from the card edge, including long Chinese addresses. */
 .workflow-dispatch .detail-grid .card>.card-body{padding:14px 16px}
 .workflow-dispatch .detail-grid .definition{grid-template-columns:86px minmax(0,1fr);gap:12px 10px;margin:0}
 .workflow-dispatch .detail-grid .definition :is(dt,dd){min-width:0;margin:0;line-height:1.65;overflow-wrap:anywhere;font-size:13px}
 .workflow-dispatch .detail-grid .definition dt{color:#7b8799}
 .workflow-dispatch .detail-grid .preview-note{padding:0 4px}
}

@media screen and (max-width:820px){
 .workflow-dispatch .dispatch-orders-content>.heading{align-items:center;gap:8px;margin-bottom:10px}
 .workflow-dispatch .dispatch-orders-content>.heading .eyebrow,.workflow-dispatch .dispatch-orders-content>.heading p,.workflow-dispatch .dispatch-orders-content>.workflow-stage-note{display:none}
 .workflow-dispatch .dispatch-orders-content>.heading h1{font-size:21px;line-height:1.3;margin:0}
 .workflow-dispatch .dispatch-orders-content>.heading>.toolbar{gap:6px;justify-content:flex-end}
 .workflow-dispatch .dispatch-orders-content>.heading .btn{min-height:34px;padding:6px 9px;font-size:12px;white-space:nowrap}
 .workflow-dispatch .dispatch-orders-content>.workflow-stage-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:10px}
 .workflow-dispatch .dispatch-orders-content>.workflow-stage-tabs button{font-size:11px;line-height:1.3;min-height:36px;padding:5px 3px;white-space:normal}
 .workflow-dispatch .dispatch-months{padding:9px 12px;gap:6px;align-items:center}
 .workflow-dispatch .dispatch-months>span{flex-basis:auto;white-space:nowrap;font-size:11px}
 .workflow-dispatch .dispatch-months .btn{min-height:32px;padding:5px 8px;font-size:11px}
 .workflow-dispatch .dispatch-month-title{padding:8px 10px;margin:6px 12px 8px;font-size:12px}
 .workflow-dispatch .dispatch-bulk{padding:8px 12px}
 .workflow-dispatch .dispatch-bulk:has(>button:only-child){background:transparent;border-bottom:0;padding-bottom:4px}
}

/* 0.8.11: the receipt ledger and its detail route share the dispatch page model. */
.receipt-ledger-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;margin:0 0 16px}
.receipt-ledger-brand{display:flex;align-items:center;gap:10px;min-width:0;color:#17253e}
.receipt-ledger-brand img{flex:0 0 32px;border-radius:9px}
.receipt-ledger-brand b{font-size:18px;line-height:1.4}
.workflow-upgraded .workspace:has(.mobile-orders.is-active)>.topbar{display:none}
.receipt-detail-active>.topbar,.receipt-detail-active>.dashboard-main>*:not(.receipt-detail-page){display:none!important}
.receipt-detail-page{min-width:0;outline:none}
.receipt-detail-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;min-height:64px;padding:8px 0;margin-bottom:22px;background:#f6f8fc;color:#17253e}
.receipt-detail-topbar b{font-size:18px;line-height:1.5;min-width:0}
.receipt-page-back{flex-shrink:0;min-height:44px;padding:8px 4px;border:0;background:transparent;color:#2864eb;font:inherit;font-weight:600;touch-action:manipulation}
.receipt-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 20px}
.receipt-detail-heading h1{font-size:28px;line-height:1.4;overflow-wrap:anywhere;margin:8px 0}
.receipt-detail-layout.detail-body{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;padding:0;background:transparent;overflow:visible;max-height:none}
.receipt-detail-card{min-width:0;background:#fff;border:1px solid #e3e9f2;border-radius:16px;overflow:hidden;box-shadow:none}
.receipt-card-head{padding:16px 20px;border-bottom:1px solid #e3e9f2}
.receipt-card-head h2{font-size:17px;margin:0;line-height:1.5}
.receipt-card-body{padding:18px 20px;min-width:0;overflow-wrap:anywhere}
.receipt-card-body>:first-child{margin-top:0}.receipt-card-body>:last-child{margin-bottom:0}
.receipt-card-body .info-grid{margin:14px 0;gap:14px}
.receipt-card-body :is(dt,dd){min-width:0;margin:0;line-height:1.6;overflow-wrap:anywhere}
.receipt-card-body .submission{padding:16px 0;margin:0;border:0;border-radius:0}
.receipt-card-body .submission+.submission{border-top:1px solid #e3e9f2;margin-top:14px}
.receipt-card-body .photo-grid{margin:12px 0}
.receipt-card-body .review-form{border:0;padding:0;margin:0}
.receipt-card-body .detail-bottom{gap:12px;flex-wrap:wrap}
.receipt-card-body .qr-block{max-width:100%}
.receipt-card-body :is(input,textarea,select){max-width:100%;min-width:0}
.shipment-record-row:focus:not(:focus-visible),body[data-receipt-input="pointer"] .shipment-record-row:focus{outline:none}
.shipment-record-row:focus-visible{outline:2px solid #2864eb;outline-offset:-2px}
@media screen and (max-width:820px),screen and (max-height:600px) and (pointer:coarse){
 .workflow-upgraded .mobile-orders .receipt-ledger-topbar{min-height:52px;margin:0 0 12px;gap:8px}
 .workflow-upgraded .receipt-ledger-brand b{font-size:16px}
 .workflow-upgraded .receipt-ledger-brand img{width:30px;height:30px;flex-basis:30px}
 .workflow-upgraded .mobile-orders .records-card{background:#fff;border:1px solid #e3e9f2;border-radius:16px;overflow:hidden}
 .workflow-upgraded .mobile-orders .records-card .batch-controls{padding:8px 12px;margin:0;border-bottom:1px solid #e3e9f2}
 .workflow-upgraded .mobile-orders #shipment-table .table-scroll{padding:8px 12px 12px}
 .workflow-upgraded .mobile-orders #shipment-table .month-table-heading{margin:0 0 8px;padding:9px 10px;background:#edf2fa;border-radius:10px;color:#263650;font-size:12px;font-weight:600}
 .workflow-upgraded .mobile-orders #shipment-table .month-table-heading td{padding:0;border:0}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row{border-radius:12px;margin:0 0 8px}
 .workflow-upgraded .mobile-orders #shipment-table .shipment-record-row:last-child{margin-bottom:0}
 .workflow-upgraded .mobile-orders .records-footer{padding:12px;font-size:11px;border-top:1px solid #e3e9f2}
 .workflow-upgraded .mobile-orders .record-pagination{padding:12px}
 .workflow-upgraded .mobile-orders .records-card .record-filters,.workflow-upgraded .mobile-orders .records-card .wb-filter-panel{margin:0;border:0;border-bottom:1px solid #e3e9f2;border-radius:0;padding:12px}
 .workflow-upgraded .mobile-orders .month-categories{padding:10px 12px;margin:0;border:0;border-bottom:1px solid #e3e9f2;background:#fff;border-radius:0}
 .receipt-detail-topbar{min-height:56px;gap:10px;margin:0 0 18px;padding:4px 0}
 .receipt-detail-topbar b{font-size:16px}
 .receipt-detail-heading{gap:10px;margin-bottom:16px}
 .receipt-detail-heading h1{font-size:23px;line-height:1.4}
 .receipt-detail-heading .section-kicker{font-size:10px}
 .receipt-detail-heading .muted{font-size:12px}
 .receipt-detail-heading>.button{min-height:36px;padding:7px 10px;font-size:12px}
 .receipt-detail-layout.detail-body{gap:16px}
 .receipt-card-head{padding:14px 16px}.receipt-card-head h2{font-size:16px}
 .receipt-card-body{padding:14px 16px}
 .receipt-card-body .info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .receipt-card-body .qr-block{flex-wrap:wrap;gap:16px}
 .receipt-card-body .qr-actions{flex-wrap:wrap}
 .receipt-card-body .modal-actions{position:static;flex-wrap:wrap}
}
@media screen and (max-width:360px){
 .workflow-upgraded .receipt-ledger-brand b{font-size:15px}
 .receipt-detail-heading h1{font-size:21px}
 .receipt-detail-topbar b{font-size:15px}
}@media screen and (max-width:820px),screen and (max-height:600px) and (pointer:coarse){
 .workflow-upgraded:has(.mobile-orders.is-active) .mobile-appbar{display:none}
}
/* More: first-level categories with a short second-level action list. */
.workflow-more-grid{align-items:start}.workflow-more-category.workflow-more-group{padding:0;overflow:hidden;align-self:start}.workflow-more-category>summary{display:flex;align-items:center;gap:12px;min-height:84px;padding:16px;list-style:none;cursor:pointer;user-select:none}.workflow-more-category>summary::-webkit-details-marker{display:none}.workflow-more-category>summary::marker{content:''}.workflow-more-category>summary:focus-visible{outline:2px solid #3267d8;outline-offset:-3px;border-radius:14px}.workflow-category-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;background:#edf3ff;color:#3267d8}.workflow-category-icon svg{width:22px;height:22px}.workflow-category-copy{flex:1;min-width:0}.workflow-category-copy b{display:block;font-size:15px;line-height:1.4;color:#20334e}.workflow-category-copy small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#7b899c}.workflow-category-count{font-size:11px;color:#8694a8;white-space:nowrap}.workflow-category-chevron{font-size:19px;color:#73839b;transition:transform .15s}.workflow-more-category[open] .workflow-category-chevron{transform:rotate(180deg)}.workflow-more-category[open]>summary{border-bottom:1px solid #edf0f6;background:#fbfcff}.workflow-category-body{padding:4px 14px 14px}.workflow-category-body .mobile-menu-row{border-radius:8px}.workflow-category-body>.workflow-tool-links{padding-top:12px}.workflow-category-body>.muted{margin:12px 2px 0}.dispatch-more-logout{margin-top:20px;color:#bc4a4a!important;background:#fff!important;border-color:#f1dede!important;min-height:42px}.workflow-category-body .mobile-version-card{margin:10px 0 0}.workflow-category-body .mobile-update-note{margin:8px 0 0}
@media(max-width:820px){.workflow-more-category>summary{padding:14px;min-height:78px;gap:10px}.workflow-category-copy small{font-size:11px}.workflow-category-count{font-size:10px}.workflow-category-body{padding:3px 9px 12px}.workflow-more-category .mobile-menu-row{padding-left:4px;padding-right:4px}.workflow-category-body .mobile-menu-copy small{line-height:1.5}.workflow-category-body .mobile-version-card{flex-wrap:wrap}.workflow-category-body .mobile-version-card>button{margin-left:auto}}

.workflow-more-category>summary,.workflow-category-copy,.workflow-category-copy b,.workflow-category-copy small{text-decoration:none!important}.workflow-category-copy b{font-family:inherit;font-weight:600}

/* Detail pages: information first; explanations are optional disclosures. */
.receipt-detail-heading{margin-bottom:12px}.receipt-detail-heading h1{margin:0 0 3px;font-size:24px}.receipt-detail-heading .muted{margin:0;font-size:12px}.receipt-detail-layout.detail-body{gap:12px}.receipt-card-head{padding:10px 16px}.receipt-card-head h2{font-size:14px}.receipt-card-body{padding:12px 16px}.receipt-card-body>.detail-status{margin:0 0 8px}.receipt-card-body>.info-note{margin:6px 0;font-size:12px}.receipt-card-body>.registration-note{margin:8px 0}.receipt-extra{font-size:12px;margin:8px 0;color:#637590}.receipt-extra>summary{cursor:pointer;padding:6px 0;color:#526c90}.receipt-extra-body{padding-top:6px}.receipt-extra .registration-note{padding:8px 10px;margin:0}.receipt-extra .registration-note p{font-size:12px;line-height:1.6;margin:4px 0}.receipt-extra .registration-code{font-size:12px;overflow-wrap:anywhere}.receipt-detail-page .receipt-recognition{padding:10px 12px;margin:10px 0}.recognition-heading{font-size:12px;color:#526d83}.receipt-detail-page .receipt-recognition .info-grid{margin:8px 0;gap:8px}.receipt-detail-page .receipt-recognition .info-grid dt{font-size:10px}.receipt-detail-page .receipt-recognition .info-grid dd{font-size:13px;margin-top:3px}.receipt-detail-page .receipt-recognition details>summary{font-size:12px;padding:4px 0;cursor:pointer}.receipt-detail-page .receipt-recognition details>button{margin-top:8px}.receipt-detail-page .auto-review-note{padding:8px 10px;margin:8px 0;font-size:12px}.auto-review-note summary{cursor:pointer}.auto-review-note>p{margin:6px 0 0;line-height:1.6}.receipt-detail-page .detail-bottom{padding-top:8px;margin-top:8px}.receipt-detail-page .detail-bottom>.muted{display:none}
@media(max-width:820px){.receipt-detail-page{padding-top:0}.receipt-detail-heading{margin-bottom:10px}.receipt-detail-heading h1{font-size:19px;line-height:1.4;margin:2px 0 4px}.receipt-card-head{padding:9px 14px}.receipt-card-body{padding:10px 14px}.receipt-detail-layout.detail-body{gap:10px}.receipt-detail-page .review-form{padding:0}.receipt-detail-page .review-form textarea{min-height:62px}.receipt-detail-page .upload-identity{padding-bottom:8px}.receipt-detail-page .upload-stages{gap:8px}.receipt-detail-page .wb-detail-tools{margin-top:8px}}

@media(max-width:820px){.receipt-detail-page .receipt-card-body{padding-left:16px;padding-right:16px}}

@media(max-width:820px){.receipt-detail-topbar{min-height:48px;padding:6px 0;margin-bottom:10px}.receipt-detail-topbar b{font-size:15px}}

/* Readable ledger text, scoped to application lists rather than printed forms. */
@media(min-width:821px){
 #shipment-table th,#shipment-table td,.dispatch-records table th,.dispatch-records table td{font-size:14px;line-height:1.6}
 #shipment-table td small,.dispatch-records td small{font-size:13px;line-height:1.5;color:#657488}
 #shipment-table .plate-text{font-size:14px;color:#172b43}
 #shipment-table .date-cell{font-size:13px;color:#52647b}
 #shipment-table .record-number-link,.dispatch-records .order-number-link{font-size:15px;line-height:1.6}
 #shipment-table .upload-stage-summary,#shipment-table .record-dispatch-number,#shipment-table .status-badge,#shipment-table .text-button,.dispatch-records .badge,.dispatch-records .btn,.dispatch-records .pagination,.dispatch-records .dispatch-bulk span{font-size:13px}
 #shipment-table .upload-stage-summary small,#shipment-table .record-dispatch-number .record-number-link{font-size:13px}
 .catalog-content table th,.catalog-content table td,.catalog-content .warehouse-card p{font-size:14px;line-height:1.6}
 .catalog-content table td small{font-size:12px}
}
.receipt-detail-page .upload-identity{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.receipt-detail-page .upload-identity>.upload-driver-fields{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 16px;min-width:0}
.receipt-detail-page .upload-driver-fields>span{display:inline-flex;align-items:baseline;gap:6px;min-width:0}
.receipt-detail-page .upload-driver-fields small{font-size:12px;color:#667084}
.receipt-detail-page .upload-driver-fields b{font-size:14px;font-weight:600;color:#111;overflow-wrap:anywhere}
.receipt-detail-page .upload-identity>a.upload-driver-phone{display:inline-flex;align-items:center;gap:6px;margin:0;padding:5px 8px;border:1px solid #dfe8f7;border-radius:8px;background:#eff4fc;font-size:14px;line-height:1.5;text-decoration:none;color:#24518b;white-space:nowrap}
.receipt-detail-page .party-phone-icon{display:inline-grid;place-items:center;width:18px;height:18px;flex:0 0 18px;border-radius:5px;background:#34c759;color:#fff}
.receipt-detail-page .party-phone-icon svg{display:block;width:13px;height:13px;fill:currentColor}

/* Mobile-only illustrated business entry points. The sprite has six equal square tiles.
   Contact/dial controls and desktop SVG navigation deliberately use their original styles. */
@media screen and (max-width:820px){
 .workflow-art{display:block;flex:none;width:var(--art-size,25px);height:var(--art-size,25px);background-image:url('/mobile-business-sprite.png');background-repeat:no-repeat;background-size:600% 100%;background-position:var(--art-x,0%) center;pointer-events:none}
 .workflow-art--truck{--art-x:20%}.workflow-art--file{--art-x:40%}.workflow-art--folder{--art-x:60%}.workflow-art--camera{--art-x:80%}.workflow-art--parcel{--art-x:100%}
 :is(.workspace-tabbar,.mobile-tabbar,.dispatch-mobile-tabs) .workflow-nav-icon.workflow-nav-icon--art{display:grid;place-items:center;flex:0 0 auto;width:27px;height:24px;min-width:0}
 .workspace-tabbar>.workflow-nav-item:has(.workflow-nav-icon--art){gap:1px;padding-block:2px}
 .workflow-upgraded .mobile-home .workflow-home-summary.workflow-home-summary-art{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:0 0 14px;background:linear-gradient(112deg,#eff5ff,#e9f1ff);min-height:92px}
 .workflow-home-summary-art>.workflow-art{--art-size:58px;margin-inline:2px 6px}
 .workflow-upgraded .mobile-home .workflow-home-summary-art strong{font-size:29px;margin:3px 0 1px}
 .workflow-feature-section{margin:0 0 15px}
 .workflow-feature-section h2{margin:0 0 8px;font-size:15px;line-height:1.35;color:#17253e}
 .workflow-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .workflow-feature-grid>.workflow-feature-card{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:3px;min-width:0;min-height:66px;margin:0;padding:9px 8px 9px 10px;border:1px solid var(--feature-border,#e1edf5);border-radius:13px;background:var(--feature-bg,#eef5ff);color:#17253e;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
 .workflow-feature-card[data-feature-art="truck"]{--feature-bg:#fff2ea;--feature-border:#f6e5dc}
 .workflow-feature-card[data-feature-art="file"]{--feature-bg:#fff7e1;--feature-border:#f3ebd0}
 .workflow-feature-card[data-feature-art="camera"]{--feature-bg:#eef4ff;--feature-border:#e0ebfc}
 .workflow-feature-card[data-feature-art="folder"]{--feature-bg:#edf7f1;--feature-border:#dceee4}
 .workflow-feature-card>span:first-child{min-width:0}
 .workflow-feature-card b,.workflow-feature-card small{display:block;line-height:1.3}
 .workflow-feature-card b{font-size:13px;font-weight:700}
 .workflow-feature-card small{font-size:10px;color:#4d6079;margin-top:3px}
 .workflow-feature-card>.workflow-art{--art-size:44px}
 .workflow-feature-card:active{border-color:#9ebcf0}
 .workflow-feature-card:focus-visible{outline:2px solid #5a85d5;outline-offset:2px}
}
@media screen and (max-width:370px){
 .workflow-feature-grid>.workflow-feature-card{padding-inline:7px 5px}
 .workflow-feature-card>.workflow-art{--art-size:35px}
}

@media screen and (max-width:820px){.workflow-upgraded .mobile-home .workflow-home-actions--desktop{display:none}}
@media screen and (min-width:821px){.workflow-feature-section,.workflow-home-summary-art>.workflow-art{display:none}}

/* Shared refresh affordances: compact, accessible and consistent in both workspaces. */
.page-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 11px;border:1px solid #dae4f4;border-radius:10px;background:#f7faff;color:#2b60c9;font:600 13px/1.3 system-ui,-apple-system,sans-serif;white-space:nowrap;cursor:pointer;flex-shrink:0;box-shadow:none}
.page-refresh-button:hover{background:#ecf3ff;border-color:#b5cbef}.page-refresh-button:focus-visible{outline:2px solid #2b60c9;outline-offset:3px}.page-refresh-button:disabled{cursor:wait;opacity:.65}.page-refresh-button svg{width:17px;height:17px;flex-shrink:0}.page-refresh-button.is-refreshing svg,.page-pull-indicator[data-state="loading"] svg{animation:page-refresh-spin .8s linear infinite}
.page-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.receipt-ledger-topbar>.page-refresh-button{margin-left:auto}.receipt-ledger-topbar{gap:10px}.page-pull-indicator{position:fixed;top:calc(env(safe-area-inset-top,0px) + var(--pull-offset,56px) - 30px);left:50%;transform:translateX(-50%);z-index:120;display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 15px;border:1px solid #dfE8f6;border-radius:24px;background:#fff;color:#2b60c9;box-shadow:0 5px 22px #17376620;font:500 13px/1.3 system-ui,-apple-system,sans-serif;pointer-events:none;white-space:nowrap}.page-pull-indicator[hidden]{display:none!important}.page-pull-indicator svg{width:18px;height:18px}.page-pull-indicator[data-state="ready"] svg{transform:rotate(180deg)}.page-pull-indicator[data-state="success"]{color:#24754c}.page-pull-indicator[data-state="error"]{color:#b64444}
@keyframes page-refresh-spin{to{transform:rotate(360deg)}}
@media(max-width:820px){.page-refresh-button{min-height:34px;padding:6px 9px;font-size:12px}.page-heading-actions{gap:6px}.mobile-a-heading>.page-heading-actions{flex-shrink:0}.mobile-a-heading{gap:12px}.mobile-a-heading .page-heading-actions>.workflow-help-link{display:none}.receipt-ledger-topbar>.page-refresh-button{min-height:32px}}
@media(prefers-reduced-motion:reduce){.page-refresh-button.is-refreshing svg,.page-pull-indicator[data-state="loading"] svg{animation:none}}

@media(max-width:820px){.top-actions:has(>.page-refresh-button){flex:0 0 auto!important;flex-wrap:nowrap!important;gap:0!important}.top-actions:has(>.page-refresh-button)>.btn,.top-actions:has(>.page-refresh-button)>.connection{display:none!important}.topbar:has(.page-refresh-button){align-items:center;gap:12px}.topbar:has(.page-refresh-button)>div:first-child{min-width:0;flex:1}.receipt-ledger-brand{min-width:0}.receipt-ledger-topbar{display:flex;align-items:center;justify-content:space-between}}

/* The document never scrolls: each retained pane owns its scroll offset. */

 html.receipt-unified-root,body.receipt-unified{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;background:#f6f8fc}
 body.receipt-unified{--workspace-bar:calc(48px + env(safe-area-inset-bottom,0px))}
 body.receipt-unified>#app,body.receipt-unified>#workspace-dispatch{position:absolute;inset:0 0 var(--workspace-bar);width:100%;overflow:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:auto}
 body.receipt-unified #app[hidden],#workspace-dispatch[hidden]{display:none!important}
 body.receipt-unified .mobile-tabbar{display:none!important}
 body.receipt-unified .dashboard,body.receipt-unified .dashboard-main{min-height:100%}
 body.receipt-unified .dashboard-main{padding-bottom:18px}
 .workspace-tabbar{position:absolute;z-index:45;left:0;right:0;bottom:0;margin:0;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;min-height:0;height:var(--workspace-bar);box-sizing:border-box;padding:3px 8px calc(3px + env(safe-area-inset-bottom,0px));background:#fff;border:0;border-top:1px solid #e7ebf2;box-shadow:none;transform:none}
 .workspace-tabbar .workflow-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:0;height:42px;padding:3px 2px;margin:0;border:0;border-radius:9px;background:transparent;color:#84909e;font:500 10px/1.25 system-ui,-apple-system,sans-serif;text-decoration:none}
 .workspace-tabbar .workflow-nav-item.is-active{background:#eef3ff;color:#2c60d8;font-weight:600}
 .workspace-tabbar .workflow-nav-icon,.workspace-tabbar .workflow-nav-icon svg{display:block;width:21px;height:21px;min-width:0}
 .workspace-tabbar .workflow-nav-icon svg{fill:none;stroke:currentColor;stroke-width:1.8}


body.receipt-unified .sidebar{display:none}body.receipt-unified .dashboard{display:block}body.receipt-unified .workspace{min-width:0;margin:0}

body.receipt-unified .mobile-screen.is-active{animation:none!important;transition:none!important}
