:root{--ink:#211632;--muted:#6e647c;--primary:#54269b;--primary-dark:#3a166e;--line:#e5deef;--bg:#f8f6fc;--green:#168454;--shadow:0 5px 18px #36156209}
header{background:#fff;color:var(--ink);border-bottom:1px solid var(--line);box-shadow:0 3px 14px #3512770a;padding-top:13px;padding-bottom:13px}.brand{flex-direction:column;align-items:flex-start;gap:4px}.logo-frame{width:166px;max-width:43vw}.logo-frame img{width:100%;display:block}.brand-sub small{color:#5a4678;letter-spacing:.55px;font-size:10px}#role{color:#593b83}header button{color:#4e247f;border-color:#dfd5ef;background:#f5efff}header .row{flex-wrap:wrap;max-width:43%}nav button.active{background:#f0e5ff;color:#592d99;border-color:#e5d5ff}nav button{background:#f7f3fa;color:#5d5070}
button.primary{background:linear-gradient(130deg,#6b39b3,#421a82);box-shadow:0 4px 12px #54269b28}button.primary:hover{background:#421a82}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#a78bfa}.hero{background:linear-gradient(120deg,#301077,#6431a3 68%,#df6378);box-shadow:0 8px 24px #35127725}.hero button.primary{color:#4d2788}.hero .eyebrow{color:#e8d5ff}.auth-banner,.track-intro{background:linear-gradient(120deg,#f4eaff,#fff0ee)}.auth-banner .eyebrow{color:#6333a0}.auth-banner p{color:#6e587f}input[type=checkbox]{accent-color:#54269b}.badge[data-status=Confirmed]{background:#f0e5ff;color:#592d99}.step.current{color:#5b2e9e}.step.current .step-dot{background:#eee4ff;border-color:#dec9f8}a{color:#6332a2}.brand-mark{max-width:190px;display:block;margin:0 auto 12px}.driver-card{background:#f5f0fc}.product{background:#f9f6fd}.order-name{font-size:17px;font-weight:800;background:none;border:none;padding:0;min-height:30px;text-align:left;color:#50238a;text-decoration:underline;text-decoration-color:#dbcbed;text-underline-offset:3px}.order-row{align-items:center;gap:8px}.order-amount{font-size:21px;line-height:1.2;font-weight:850;color:#18774a;white-space:nowrap}.order-top{flex:1;min-width:130px}.amount-hero{background:linear-gradient(120deg,#e5f8ed,#f7fffb);border:1px solid #c7ebd6;border-radius:15px;padding:14px;margin:12px 0;color:#166846}.amount-hero strong{font-size:32px;display:block;line-height:1.15;letter-spacing:-1px}.btn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.btn-grid button,.btn-grid a{min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;font-weight:700;border:1px solid var(--line);border-radius:11px;padding:9px 7px}.call-btn{color:#3254a2;background:#eaf1ff}.print-btn{color:#613795;background:#f1e8ff}.checklist{display:grid;gap:8px;margin:14px 0}.check-step{display:flex;align-items:center;gap:11px;padding:11px;border:1px solid var(--line);border-radius:12px}.check-step .text{flex:1;min-width:0;font-weight:650}.check-step .tick{display:grid;place-items:center;width:30px;height:30px;background:#f5f1fa;border-radius:10px;color:#9989ac;flex:none;font-size:18px;font-weight:850}.check-step.complete .tick{background:#e0f6e8;color:#18854f}.check-step button{padding:8px 10px;min-height:38px;white-space:normal}.check-step small{display:block;font-weight:400}.section-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.8px;font-weight:800;color:#71569c}.product-mini{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.product-mini img,.evidence-thumb{width:76px;height:76px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:#f4f0f8}.product-mini .info{flex:1}.evidence-thumb{display:block}.img-button{min-height:0;padding:0;border:0;background:none}.img-button:hover{background:none!important}.evidence-large{max-width:100%;max-height:380px;width:100%;object-fit:contain;border-radius:12px;background:#f8f6fc;border:1px solid var(--line)}.photo-placeholder{width:76px;height:76px;background:#f0ebf7;display:grid;place-items:center;border-radius:10px;color:#6e4e91;flex:none;font-size:24px}.panel{border:1px solid var(--line);background:#fcfaff;padding:13px;border-radius:13px;margin:12px 0}.hint{font-size:13px;color:#6e647c}.pill{border-radius:50px;background:#f0e8ff;color:#59318d;padding:5px 10px;font-size:13px;font-weight:700;display:inline-block}.tabset{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.tabset button.active{background:#54269b;color:white;border-color:#54269b}.tabs-list{display:grid;gap:9px}.dispatch-alert{background:#fff5e7;color:#815318;border:1px solid #f3dbb5;border-radius:12px;padding:12px;margin:10px 0}#printZone{display:none}.label-preview{width:min(350px,100%);aspect-ratio:2/1;border:2px solid #222;background:white;color:#000;padding:3%;display:flex;flex-direction:column;justify-content:space-between;margin:12px auto;border-radius:6px;font-weight:900;line-height:1.1;overflow:hidden}.label-preview .label-brand{border-bottom:1px dashed #222;font-size:14px;padding-bottom:5px;display:flex;justify-content:space-between}.label-preview .label-name,.label-preview .label-phone,.label-preview .label-location{font-size:clamp(16px,5.5vw,25px);overflow-wrap:anywhere}.label-preview .label-location{font-size:clamp(18px,6vw,29px)}.mini-status{font-size:12px;color:#826a95}.track-block{display:flex;align-items:start;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.track-block .check{font-size:22px;flex:none;width:29px;text-align:center}.track-block .body{flex:1}.track-block .body b{display:block}.track-block.pending{opacity:.65}.tracking-action{width:100%;margin-top:9px}.phone{font-weight:800;text-decoration:none}.danger-soft{color:#a73d46;background:#fff0ef;border-color:#f9d2ce}.record-meta{font-size:13px;color:#7e687d}.inline-form{display:grid;gap:8px}.driver-suggestion{width:100%;text-align:left;margin:4px 0;background:#fff}.driver-suggestion strong{display:block}.driver-suggestion.selected{border-color:#9f7ed4;background:#f4edfd}.dash-warning{border-left:4px solid #ef954b}.label-options{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}
@media(max-width:500px){.logo-frame{width:142px}.brand-sub small{font-size:9px}.order-amount{font-size:19px}.btn-grid{gap:7px}.check-step{padding:9px}.check-step .tick{width:27px;height:27px}.check-step button{font-size:12px;min-width:75px;max-width:110px}.label-preview{width:100%}.order-name{font-size:16px}}
@media print{html,body{margin:0!important;padding:0!important;background:white!important;overflow:visible!important}body>*{display:none!important}body>#printZone{display:block!important;position:absolute;left:0;top:0;width:100%;margin:0;padding:0}#printZone img{width:100%;height:auto;display:block;margin:0}dialog::backdrop{display:none}}
