/* Chun Chun — warm ivory, ink blue and tangerine */
:root{--ink:#222e45;--green:#263f70;--paper:#f5f3ef;--orange:#ee7548;--line:#e4e3e0}
body.touch-ui{background:#f5f3ef;color:#222e45}
body.touch-ui>header{background:#fffdf9!important;border-bottom:1px solid #e9e5df}
body.touch-ui>header>div{padding:12px 18px}
body.touch-ui>header>div>div:first-child>div:first-child{background:#ffeadb;color:#b74b24;border-radius:13px;box-shadow:none;width:42px;height:42px}
body.touch-ui>header h1{font-weight:850;letter-spacing:-.35px}
body.touch-ui>header p{color:#828891;font-size:10px;margin-top:3px}
body.touch-ui>main{padding-top:22px}
.touch-hero{position:relative;isolation:isolate;overflow:hidden;background:#223553;border:1px solid #314360;border-radius:24px;padding:28px;color:white;box-shadow:0 12px 28px #22355314;min-height:178px}
.touch-hero:after{content:'';position:absolute;width:260px;height:260px;border:42px solid #ffffff05;border-radius:50%;right:-100px;top:-95px;z-index:-1}
.touch-hero .touch-eyebrow{color:#ffb993;letter-spacing:1.8px;font-size:10px}
.touch-hero h2{font-size:34px;letter-spacing:-1px;line-height:1.3;margin:8px 0;color:#fffdf9}
.touch-hero p{color:#c5cede;font-size:13px}
.touch-create{background:#ffb28c;color:#422619;border:1px solid #ffc3a4;box-shadow:0 4px 0 #0000000c;border-radius:14px;font-size:16px;min-height:54px!important}
.touch-create span{background:#ffffff40;border-radius:8px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-size:23px}
.touch-reports{background:#fffdf9;border-color:#e7e1d8;border-radius:15px;padding:0 16px}
.touch-reports>summary{color:#626779;font-size:12px;padding:14px 0}
.touch-reports>summary::marker{color:#e07d4c}
.touch-toolbar input{border-radius:14px!important;border:1px solid #e0ded9!important;box-shadow:0 2px 3px #23324c03;padding-top:14px!important;padding-bottom:14px!important;font-size:14px!important}
#ship-filter-bar{border-radius:15px;padding:5px;background:#e9e7e3;gap:4px}
#ship-filter-bar .filter-btn{background:transparent;color:#656b77;border:1px solid transparent;transition:background .15s,color .15s;font-weight:650}
#ship-filter-bar .filter-btn.bg-orange-600{background:#263d63;color:#fff;box-shadow:0 3px 8px #263d6320;border-color:#263d63}
.ship-filter-count{opacity:1;background:#ffffff70;border-radius:5px;padding:1px 5px;color:#5d6472}
#ship-filter-bar .bg-orange-600 .ship-filter-count{background:#ffffff24;color:white}
#ordersContainer{gap:18px}
.touch-order-card{position:relative;border:1px solid #e2e2df!important;border-radius:20px!important;box-shadow:0 6px 18px #23314b08!important;background:#fff!important;padding:18px!important}
.touch-order-card:has(input:checked){border-color:#ed9e73!important;box-shadow:0 0 0 2px #f8dfcd,0 8px 20px #a9572010!important}
.touch-card-header>div:first-child>span:first-child{color:#768092;font-weight:700;font-size:11px}
.touch-card-header>div:first-child>span:nth-child(2){color:#9a9fa8;font-size:10px}
.touch-card-header button{border:0;background:#f5f6f8;border-radius:10px;color:#798499;width:40px}
.touch-card-header button[title='Xóa đơn']{color:#b47a74;background:#fcf6f3}
.touch-card-header>div:last-child span{font-size:9px;letter-spacing:.4px;padding:6px 9px;border-radius:6px;animation:none}
.touch-order-card>label{min-height:44px;padding:8px 11px;background:#faf9f7;border:1px solid #eeebe6;border-radius:10px;color:#8a786c}
.touch-order-card>label:has(input:checked){background:#fff1e7;color:#ad4e26;border-color:#f1cfb5}
.touch-order-card>label span{font-size:11px}
.touch-order-card input[type=checkbox]{width:20px;height:20px;accent-color:#dc7647}
.touch-address{background:#f2f5f9!important;border-radius:14px;padding:16px!important}
.touch-address>div>div:first-child{font-size:27px;font-weight:850;color:#263d63;letter-spacing:-.6px}
.touch-address>div>div:first-child i{font-size:16px;color:#e08253;margin-right:5px}
.touch-address>div>div:last-child{font-size:13px;color:#747e8e;font-weight:500}
.touch-address a{border-radius:50%;width:48px;height:48px;background:#fff;color:#37547c;border:1px solid #dce3ed;box-shadow:0 3px 6px #263d6306}
.touch-order-card>.text-xs{font-size:13px;color:#657082;padding:9px 2px;line-height:1.8}
.touch-qr{background:#fff;border:1px dashed #d7dce3;border-radius:10px}
.touch-qr summary{color:#71809a;font-size:12px;min-height:44px;padding:12px}
.touch-card-footer{border-top:1px solid #eceef1!important;padding-top:14px!important}
.touch-card-footer>div:first-child>div:first-child{color:#8a92a0;font-size:10px;letter-spacing:1px}
.touch-card-footer>div:first-child>div:last-child{font-size:26px;letter-spacing:-.8px;color:#243958}
.touch-card-footer button{border-radius:11px;font-size:12px;min-height:48px}
.touch-card-footer button[onclick*=PAID_CASH]{background:#fff4e9;border:1px solid #efdac2;color:#986737}
.touch-card-footer button[onclick*=PAID_BANK]{background:#edf3fd;border:1px solid #d9e3f3;color:#506e9b}
.touch-card-footer button[onclick^=markOrderCompleted]{background:#263d63;color:white;min-height:52px;font-size:14px;letter-spacing:.2px}
body.touch-ui>nav{background:#fffdfbf5;backdrop-filter:blur(16px);border-top:1px solid #e7e4dd;padding-top:8px;box-shadow:0 -4px 24px #23324b08}
body.touch-ui>nav button{color:#9799a2;font-size:9px;border-radius:11px;min-height:52px;gap:6px}
body.touch-ui>nav button.text-orange-600{background:#fff0e5;color:#ba653c}
body.touch-ui>nav button i{font-size:18px}
.touch-quick-panel{background:#f7f6f2!important}
.touch-quick-header{background:#223553;border-bottom:0;padding:18px 22px!important}
.touch-quick-header h3{color:#fff;font-size:22px;letter-spacing:-.6px}
.touch-quick-header .touch-eyebrow{color:#ffb993;font-size:9px;letter-spacing:2px;margin-bottom:4px}
.touch-quick-header button{background:#ffffff12;color:#fff;border:1px solid #ffffff20;width:42px;height:42px}
.touch-quick-body>div:first-child{background:#edf1f7;border:1px solid #dce3ed;border-radius:14px}
.touch-quick-body>div:first-child label{color:#506787;font-weight:700}
.touch-quick-body label{color:#646b78;font-size:12px}
.touch-quick-body input,.touch-quick-body select{border-color:#dfdfdf!important;box-shadow:0 2px 2px #25375002}
.touch-quick-body button[onclick*=quickFillUnitPrefix]{background:#fff;border:1px solid #dfe3e8;color:#647a97;border-radius:9px}
#quickMenuItems>div{border-color:#e3e3df;border-radius:15px;box-shadow:0 3px 7px #24395804;padding:13px}
#quickMenuItems .truncate{font-size:13px;color:#334661;font-weight:750}
#quickMenuItems>div>div:first-child>div:last-child{color:#bd7849;font-weight:650;font-size:12px}
#quickMenuItems button{border-radius:11px;background:#f0f2f6;color:#788398;box-shadow:none}
#quickMenuItems button[onclick*=', 1)']{background:#263d63;color:#fff}
#quickMenuItems span{color:#2f4260;font-weight:750}
.touch-quick-footer{border-top:1px solid #e3e4e5;box-shadow:0 -5px 18px #263d6306}
.touch-total{color:#738094;font-size:12px}.touch-total strong{color:#243958;letter-spacing:-1px;font-size:28px}
#touch-save-order{background:#263d63!important;border-radius:13px;font-size:15px}
#street-route-host details{background:#eeefe9;border-color:#dedfd5;border-radius:13px}
#street-route-host summary{font-size:12px;color:#78806b}
@media(min-width:1024px){body.touch-ui>header button{color:#768095}body.touch-ui>header button.bg-white{background:#e9eef6;color:#263d63}.touch-hero{padding:32px 36px}.touch-create{min-width:220px}}
@media(max-width:700px){
 body.touch-ui>main{padding:16px 12px}
 .touch-hero{padding:21px 20px;border-radius:20px;min-height:0;margin-bottom:16px}
 .touch-hero h2{font-size:28px;letter-spacing:-1px;margin:7px 0}
 .touch-hero p{font-size:12px}.touch-hero .touch-eyebrow{font-size:9px}
 .touch-create{margin-top:18px;min-height:50px!important;width:100%;font-size:15px}
 #ship-filter-bar{border-radius:0;background:#f5f3effa;border-bottom:1px solid #deddd9;padding:calc(7px + env(safe-area-inset-top)) 4px 7px;backdrop-filter:blur(12px);gap:3px}
 #ship-filter-bar .filter-btn{border-radius:9px;padding:4px 1px;font-size:clamp(9px,2.65vw,12px);min-height:49px}
 .touch-order-card{padding:15px!important}
 .touch-quick-header{padding:calc(14px + env(safe-area-inset-top)) 16px 14px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Visual signposts: icons paired with labels, local SVG assets. */
.ui-icon{width:22px;height:22px;display:inline-block;flex-shrink:0;vertical-align:middle}
.touch-hero{background:#fff;border:1px solid #e3e7ee;color:#243958;box-shadow:0 5px 24px #263d6308;padding:22px 24px}
.touch-hero:after{border-color:#eef4ff;right:-145px;top:-90px}
.touch-hero h2{color:#243958;font-size:29px}.touch-hero p{color:#8290a5}.touch-hero .touch-eyebrow{color:#8494ab}
.hero-symbol{width:46px;height:46px;background:#eaf1ff;color:#456fe0;border-radius:15px;display:flex;align-items:center;justify-content:center;margin:12px 0 6px}
.hero-symbol .ui-icon{width:28px;height:28px}
.touch-create{background:#4269dd;border-color:#4269dd;color:#fff;box-shadow:0 5px 12px #4269dd24;gap:10px}
.touch-create .create-label{background:none;width:auto;height:auto;font-size:15px;font-weight:750}.touch-create .create-end{margin-left:auto;opacity:.6;width:20px}
.touch-reports>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:10px 0}.touch-reports>summary::-webkit-details-marker{display:none}
.summary-symbol{display:flex;width:34px;height:34px;border-radius:10px;background:#e7f6f0;color:#459880;align-items:center;justify-content:center}.summary-symbol .ui-icon{width:19px;height:19px}.summary-arrow{margin-left:auto;font-size:24px;color:#99a3b5}.touch-reports[open] .summary-arrow{transform:rotate(90deg)}
#ship-filter-bar{align-items:stretch}#ship-filter-bar .filter-btn{position:relative;flex-direction:column;gap:5px;min-height:76px;padding:8px 12px}
.filter-symbol{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;background:#e5ebf9;color:#627fae}
#filter-urgent .filter-symbol{background:#fff0e3;color:#ee9448}#filter-shipping .filter-symbol{background:#e7eeff;color:#5c7bdb}#filter-unpaid .filter-symbol{background:#fce8ed;color:#d67b8d}#filter-completed .filter-symbol{background:#e2f3ed;color:#479880}
#ship-filter-bar .filter-btn.bg-orange-600{background:#fff;color:#345ac5;border-color:#d4defb;box-shadow:0 3px 9px #4269dd10}
#ship-filter-bar .bg-orange-600 .filter-symbol{background:#4269dd;color:#fff}
#ship-filter-bar .ship-filter-count{position:absolute;top:3px;right:3px;background:#e5e9f0;color:#63748c;font-size:9px;padding:1px 4px;border:2px solid #f5f3ef;line-height:1.1}
#ship-filter-bar .bg-orange-600 .ship-filter-count{background:#4269dd;color:#fff;border-color:#fff}
.touch-address{background:#f0f4fd!important}.touch-address a{background:#e3f2ed;color:#418e77;border:0}.touch-address>div>div:first-child i{background:#fff;color:#5c80d8;padding:10px;border-radius:10px;margin-right:8px;font-size:16px}
.touch-card-footer button i{font-size:18px;display:inline-block;vertical-align:middle;margin-right:6px}.touch-card-footer button[onclick^=markOrderCompleted],#touch-save-order{background:#4269dd!important}
.icon-field-label{display:flex!important;align-items:center;gap:7px;margin-bottom:7px!important;color:#536985!important}.icon-field-label .ui-icon{width:18px;height:18px;color:#7a97bf}
.touch-quick-header{background:#fff;border-bottom:1px solid #e5eaf2}.touch-quick-header h3{color:#243958}.touch-quick-header .touch-eyebrow{color:#8494ab}.touch-quick-header h3 .ui-icon{color:#6486d8;margin-right:9px}.touch-quick-header button{background:#f0f3f9;color:#8293ac;border:0}
#touch-save-order .ui-icon{margin-right:9px;width:20px;height:20px}
#quickMenuItems .truncate{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
#quickMenuItems .menu-symbol{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;background:#fff1e3;font-size:27px;line-height:1}
#quickMenuItems>div:nth-child(3n+2) .menu-symbol{background:#edf2ff}#quickMenuItems>div:nth-child(3n) .menu-symbol{background:#e7f4ed}
#quickMenuItems .menu-name{font-size:13px;line-height:1.5;font-weight:750}#quickMenuItems button[onclick*=', 1)']{background:#4269dd}
body.touch-ui>nav button i{padding:7px 14px;border-radius:11px;background:#f3f5f8;font-size:18px}body.touch-ui>nav button.text-orange-600{background:transparent;color:#4269dd}body.touch-ui>nav button.text-orange-600 i{background:#e9efff;color:#4269dd}
body.touch-ui>nav button{gap:4px}
@media(max-width:700px){.touch-hero{padding:17px 18px}.touch-hero>div:first-child{position:relative;padding-left:54px}.hero-symbol{position:absolute;left:0;top:14px;margin:0;width:42px;height:46px}.touch-hero h2{font-size:23px;letter-spacing:-.7px}.touch-hero .touch-eyebrow{font-size:8px;letter-spacing:1px}.touch-hero p{font-size:10px}.touch-create{margin-top:16px;justify-content:flex-start}.touch-create .create-end{margin-left:auto}#ship-filter-bar .filter-btn{padding:6px 1px;gap:5px;min-height:69px;font-size:clamp(9px,2.65vw,12px)}.filter-symbol .ui-icon{width:20px;height:20px}.touch-quick-header{padding-top:calc(14px + env(safe-area-inset-top))!important}}
.order-wait{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:#edf3ff;color:#536f9c;font-size:12px;font-weight:650;margin-top:10px}.order-wait i{font-size:17px}.order-wait.wait-overdue{background:#fff0e3;color:#b65322;border:1px solid #f2cbaa;font-weight:750}.touch-order-card:has(.wait-overdue){border-color:#ed9e73!important}
/* Quick creation stays reachable at any scroll position in the shipping view. */
.touch-floating-create{display:none}
@media(max-width:700px){
 .touch-hero .touch-create{display:none}
 body:has(#shipperTab:not(.hidden)) .touch-floating-create{display:flex;align-items:center;justify-content:center;position:fixed;right:16px;bottom:calc(92px + env(safe-area-inset-bottom));width:58px;height:58px;min-height:58px;padding:0;border-radius:50%;background:#4269dd;color:#fff;border:2px solid #fff;box-shadow:0 7px 20px #294ca54d;z-index:41;touch-action:manipulation}
 body:has([id$="Modal"]:not(.hidden)) .touch-floating-create{display:none}
 #shipperTab{padding-bottom:76px}
 .touch-floating-create:active{background:#3155be;transform:scale(.96)}
}
@media(max-width:700px){body:has([id$="Modal"]:not(.hidden)) .touch-floating-create{display:none!important}}
