/* KNS CARGO — soft, light look built on the logo colours
   blue  #00639c (logo)  → main colour: links, selections, progress
   red   #b92129 (logo)  → alerts: cancelled, amounts due, delete
   orange #f08a24        → the main action on each screen
   green  #1e9e5a        → success: delivered, paid, WhatsApp */
:root{
  --blue:#00639c; --blue-d:#004d7a; --blue-50:#eaf3f9; --blue-100:#d6e8f4;
  --red:#b92129; --red-d:#9a1a21; --red-50:#fbeeee;
  --orange:#f08a24; --orange-d:#d9720f; --orange-50:#fff4e8;
  --green:#1e9e5a; --green-d:#16804a; --green-50:#e9f6ef; --wa:#1fa855;
  --ink:#1b2a3d; --ink-2:#3c4b5e; --muted:#7a8696; --line:#e9edf2; --bg:#f6f8fb; --card:#fff;
  --r:18px; --shadow:0 1px 2px rgba(16,42,72,.04),0 6px 18px rgba(16,42,72,.05);
  font-family:"IBM Plex Sans Arabic","Noto Sans Arabic","Segoe UI",Tahoma,system-ui,sans-serif;
}
*{box-sizing:border-box;min-width:0}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-size:15.5px;line-height:1.65;overflow-x:clip}
#app{max-width:560px;margin:0 auto;min-height:100vh;background:var(--bg)}
h1,h2,h3,h4{margin:0;line-height:1.4;font-weight:600}
p{margin:0}
a{color:var(--blue);text-decoration:none}
b,strong{font-weight:600}
button,input,select,textarea{font:inherit;color:inherit}
.ic{width:22px;height:22px;flex:none}
.muted{color:var(--muted);font-size:14px}
.opt{color:var(--muted);font-weight:400;font-size:13px}
.center{text-align:center}
[hidden]{display:none!important}

/* ---------- top bar ---------- */
.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;padding:10px 16px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);min-height:62px}
.top h1{font-size:17px}
.top-space{flex:1}
.top.center-logo{justify-content:center}
.logo{height:30px;width:auto;display:block}
.icon-btn{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;border:0;background:var(--blue-50);color:var(--blue);cursor:pointer}
.icon-btn .ic{width:20px;height:20px}
.icon-btn.wa{background:var(--green-50);color:var(--wa)}
.role-tag{font-size:12.5px;font-weight:600;background:var(--blue-50);color:var(--blue);padding:2px 10px;border-radius:99px}

.page{padding:16px 16px 110px}
.page>*+*{margin-top:14px}
.lead{color:var(--muted)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 20px;border-radius:14px;border:0;background:var(--blue);color:#fff;font-weight:600;font-size:15.5px;cursor:pointer;text-align:center;transition:background .15s,transform .1s}
.btn:active{transform:scale(.985)}
.btn .ic{width:20px;height:20px}
.btn.primary{background:var(--orange);box-shadow:0 6px 16px rgba(240,138,36,.25)}
.btn.primary:active{background:var(--orange-d)}
.btn.ghost{background:#fff;color:var(--blue);border:1px solid var(--blue-100);box-shadow:none}
.btn.wa{background:var(--wa)}
.btn.block{display:flex;width:100%}
.btn:disabled{opacity:.55}
.linkish{background:none;border:0;color:var(--blue);font-weight:600;cursor:pointer;padding:4px}
.linkish.danger{color:var(--red);display:inline-flex;align-items:center;gap:4px;font-size:13.5px}
.linkish.danger .ic{width:16px;height:16px}
.link-center{display:flex;align-items:center;justify-content:center;gap:6px;margin:18px 0;font-weight:600;font-size:14.5px}
.link-center .ic{width:18px;height:18px}

/* ---------- cards & forms ---------- */
.card{display:block;background:var(--card);border-radius:var(--r);padding:16px;box-shadow:var(--shadow);border:1px solid var(--line);color:inherit;width:100%;text-align:inherit;font:inherit}
.card h3{font-size:15.5px;margin-bottom:8px}
.form{display:grid;gap:14px}
.form h2{font-size:19px}
label{display:grid;gap:6px;align-content:start;font-weight:600;font-size:14.5px;color:var(--ink-2)}
.lbl{font-weight:600;font-size:14.5px;color:var(--ink-2);margin-bottom:-6px}
input,select,textarea{width:100%;min-height:50px;padding:12px 14px;border:1px solid #dde3ea;border-radius:13px;background:#fff;font-size:16px;font-weight:400;color:var(--ink);transition:border-color .15s,box-shadow .15s}
input::placeholder,textarea::placeholder{color:#a3adba}
textarea{min-height:auto;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,99,156,.12)}
input[dir=ltr]{text-align:right}
input[dir=ltr]:not(:placeholder-shown){text-align:left}
.err{display:none;background:var(--red-50);color:var(--red);padding:10px 14px;border-radius:12px;font-weight:600;font-size:14.5px}
.err.show{display:block}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tel{display:flex;direction:ltr;border:1px solid #dde3ea;border-radius:13px;background:#fff;overflow:hidden}
.tel:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,99,156,.12)}
.tel span{display:grid;place-items:center;padding:0 12px;background:#f5f7fa;color:var(--ink-2);font-weight:600;border-inline-end:1px solid #dde3ea;direction:ltr;font-size:15px}
.tel input{border:0;box-shadow:none!important;direction:ltr;text-align:left!important;border-radius:0}

/* ---------- soft hero (home / register / staff login) ---------- */
.hero3{position:relative;overflow:hidden;margin:12px 16px 0;border-radius:24px;padding:20px 18px 16px;
  background:radial-gradient(120% 80% at 100% 0%,#ffffff 0%,rgba(255,255,255,0) 60%),linear-gradient(160deg,#eef5fb 0%,#e3eff8 55%,#fdf1e4 100%);border:1px solid #e3ecf4}
.hero3 .hello{color:var(--blue);font-weight:600;font-size:14px;margin-bottom:2px}
.hero3 h1{font-size:22px;line-height:1.45;color:#0e3557;font-weight:600;text-wrap:balance}
.hero3 p.sub{color:var(--ink-2);font-size:14.5px;margin-top:4px}
.route{display:block;width:100%;max-width:320px;height:auto;margin:6px auto 6px}
.track3{display:flex;align-items:center;gap:6px;background:#fff;border-radius:15px;padding:5px;border:1px solid #e1e9f1;box-shadow:0 4px 14px rgba(0,60,110,.06)}
.track3 .ic{width:20px;height:20px;color:#9aa6b5;margin-inline-start:8px}
.track3 input{border:0;min-height:44px;padding:0 4px;box-shadow:none!important}
.track3 .btn{min-height:44px;padding:0 18px;border-radius:11px}

/* ---------- home ---------- */
.home3{padding-top:16px}
.home3>*+*{margin-top:22px}
.cta3{display:flex;align-items:center;gap:14px;padding:16px;border-radius:20px;color:#fff;min-height:84px;
  background:linear-gradient(120deg,#f59b3e 0%,#f08a24 55%,#ea7a14 100%);box-shadow:0 10px 22px rgba(240,138,36,.25)}
.cta3-ic{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.2);flex:none}
.cta3-ic .ic{width:28px;height:28px}
.cta3 span:nth-child(2){display:grid;flex:1}
.cta3 b{font-size:18px}
.cta3 small{font-size:13.5px;color:rgba(255,255,255,.9)}
.cta3>.ic{width:20px;height:20px;opacity:.85}
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px!important}
.tiles a{display:grid;justify-items:center;gap:8px;padding:14px 6px 12px;background:#fff;border:1px solid var(--line);border-radius:18px;color:var(--ink);box-shadow:var(--shadow);text-align:center}
.tiles b{font-size:14px}
.tile-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:15px}
.tile-ic .ic{width:22px;height:22px}
.t-blue{background:var(--blue-50);color:var(--blue)}
.t-green{background:var(--green-50);color:var(--green)}
.t-red{background:var(--red-50);color:var(--red)}
.t-orange{background:var(--orange-50);color:var(--orange-d)}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}
.sec-head h2{font-size:16.5px;color:var(--ink)}
.sec-head a{font-size:13px;font-weight:600}
.last{display:grid;gap:8px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;color:var(--ink);box-shadow:var(--shadow)}
.last b[dir=ltr]{font-size:15.5px}
.rates3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.rates3 div{display:grid;justify-items:center;text-align:center;gap:2px;padding:14px 6px}
.rates3 div+div{border-inline-start:1px solid var(--line)}
.rates3 .tile-ic{width:38px;height:38px;border-radius:12px;margin-bottom:4px}
.rates3 .tile-ic .ic{width:19px;height:19px}
.rates3 b{font-size:15px;white-space:nowrap}
.rates3 small{font-size:11.5px;color:var(--muted);line-height:1.4}
.steps3{list-style:none;margin:0;padding:4px 16px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
.steps3 li{position:relative;display:flex;align-items:center;gap:12px;padding:12px 0}
.steps3 li:not(:last-child)::after{content:"";position:absolute;right:19px;top:54px;bottom:-10px;border-right:2px dotted #d5dee8}
.steps3 .tile-ic{width:40px;height:40px;border-radius:50%}
.steps3 .tile-ic .ic{width:19px;height:19px}
.steps3 div{display:grid}
.steps3 b{font-size:14.5px}
.steps3 small{font-size:13px;color:var(--muted)}
.faq2{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.faq2 details+details{border-top:1px solid var(--line)}
.faq2 summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;font-weight:500;cursor:pointer;font-size:14.5px}
.faq2 summary::-webkit-details-marker{display:none}
.faq2 summary span{flex:1}
.faq2 summary .ic{width:18px;height:18px;color:#a3adba;transition:transform .2s}
.faq2 details[open] summary{color:var(--blue)}
.faq2 details[open] summary .ic{transform:rotate(180deg);color:var(--blue)}
.faq2 details p{padding:0 16px 14px;color:var(--muted);font-size:14px}
.help3{display:flex;align-items:center;gap:12px;background:var(--green-50);border:1px solid #d3eedf;border-radius:18px;padding:14px 16px}
.help3 div{display:grid;flex:1}
.help3 b{color:#145c37}
.help3 small{color:#3d7a5a;font-size:13px}
.help3 bdi{display:block;text-align:right;white-space:nowrap}
.help3 .btn{min-height:42px;padding:0 16px;font-size:14.5px}
.foot{display:grid;justify-items:center;gap:2px;text-align:center;padding:8px 0 4px;color:var(--muted)}
.foot img{height:24px;width:auto;margin-bottom:6px;mix-blend-mode:multiply}
.foot small{font-size:12px}

/* ---------- register ---------- */
.reg{padding:0 0 40px}
.reg .hero3{padding-bottom:20px}
.reg .lift,.reg .perks,.reg .link-center{margin-inline:16px}
.lift{position:relative;z-index:2;margin-top:14px}
.reg .lift{width:auto}
.reg .card{padding:20px}
.perks{list-style:none;padding:0;margin-top:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.perks li{display:grid;justify-items:center;gap:6px;text-align:center;font-size:12.5px;font-weight:500;color:var(--ink-2);background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px 6px}
.perks .tile-ic{width:36px;height:36px;border-radius:12px}
.perks .tile-ic .ic{width:18px;height:18px}

/* ---------- bottom nav ---------- */
.bottom{position:fixed;bottom:0;left:0;right:0;z-index:6;display:flex;max-width:560px;margin:0 auto;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom))}
.bottom a{flex:1;display:grid;justify-items:center;gap:1px;padding:6px 0;color:#8b96a5;font-size:11.5px;font-weight:500;position:relative;border-radius:12px}
.bottom a .ic{width:21px;height:21px}
.bottom a.on{color:var(--blue);font-weight:600}
.bottom a.on::before{content:"";position:absolute;top:-7px;width:26px;height:3px;border-radius:0 0 3px 3px;background:var(--blue)}
.badge{position:absolute;top:1px;inset-inline-end:calc(50% - 22px);background:var(--orange);color:#fff;font-size:10.5px;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px;font-weight:600}
.sticky-cta{position:sticky;bottom:74px;z-index:4;padding-top:8px}
.page.office .sticky-cta{bottom:12px}

/* ---------- item picker ---------- */
.picker{display:grid;gap:8px}
.group{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}
.group summary{list-style:none;display:flex;align-items:center;gap:8px;padding:13px 16px;font-weight:600;font-size:15px;cursor:pointer;min-height:52px}
.group summary::-webkit-details-marker{display:none}
.group summary span{flex:1}
.group summary em{font-style:normal;font-size:12.5px;font-weight:600;color:var(--blue);background:var(--blue-50);padding:1px 10px;border-radius:99px}
.group summary em:empty{display:none}
.group summary .ic{transition:transform .2s;color:#a3adba;width:18px;height:18px}
.group[open] summary .ic{transform:rotate(-90deg)}
.item{display:flex;align-items:center;gap:10px;padding:9px 16px;border-top:1px solid var(--line)}
.item.has{background:#f7fbfe}
.item-name{flex:1;display:grid}
.item-name b{font-weight:500}
.item-name small{color:var(--muted);font-size:12.5px}
.step{display:flex;align-items:center;gap:4px}
.step button{width:38px;height:38px;border-radius:12px;border:1px solid var(--blue-100);background:#fff;color:var(--blue);display:grid;place-items:center;cursor:pointer}
.step button .ic{width:18px;height:18px}
.step button[data-act=inc]{background:var(--blue);border-color:var(--blue);color:#fff}
.step button:disabled{opacity:.35}
.step output{min-width:28px;text-align:center;font-weight:600;font-size:16px}
.kg{padding:4px 16px 16px;display:grid;gap:8px}
.kg label{font-size:14px}
.kg small{color:var(--muted);font-size:12.5px}
.kg .btn.ghost{min-height:44px}
.tv-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;gap:8px;align-items:end;padding-bottom:10px;border-bottom:1px dashed var(--line);margin-bottom:4px}
.tv-row label{font-size:13.5px}
.tv-row select{min-height:46px;padding:8px 10px}
.total ul{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:6px}
.total li,.plain li{display:flex;justify-content:space-between;gap:10px;font-size:14.5px}
.total li span,.plain li span{display:grid}
.total li b,.plain li b{white-space:nowrap;font-weight:600}
.total li small,.plain li small{color:var(--muted);font-size:12.5px;font-weight:400}
.sum{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px dashed #dbe2ea;padding-top:10px}
.sum span{display:grid;font-weight:500;font-size:14px}
.sum span small{color:var(--muted);font-weight:400}
.sum strong{font-size:21px;color:var(--blue);white-space:nowrap;font-weight:600}
.empty-total{color:var(--muted);text-align:center;font-size:14.5px}
.plain{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:6px}

/* ---------- request ---------- */
.block h2{display:flex;align-items:center;gap:10px;font-size:17px;margin-bottom:10px}
.block+.block{margin-top:22px}
.num{width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:600;flex:none}
.dchips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;margin:0 -2px;scrollbar-width:none}
.dchip{flex:none;display:block;font-weight:400}
.dchip input,.seg input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.dchip span{display:grid;justify-items:center;min-width:80px;padding:8px 10px;border:1px solid #dde3ea;border-radius:14px;cursor:pointer;background:#fff}
.dchip b{font-size:14.5px;font-weight:600}
.dchip small{color:var(--muted);font-size:12px}
.dchip input:checked+span{border-color:var(--blue);background:var(--blue);color:#fff}
.dchip input:checked+span small{color:rgba(255,255,255,.85)}
.dchip input:focus-visible+span,.seg input:focus-visible+span{box-shadow:0 0 0 3px rgba(0,99,156,.25)}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.seg label{font-weight:400}
.seg span{display:grid;place-items:center;min-height:46px;border:1px solid #dde3ea;border-radius:12px;font-weight:600;cursor:pointer;background:#fff;color:var(--ink-2)}
.seg input:checked+span{border-color:var(--blue);background:var(--blue-50);color:var(--blue)}
.seg.small span{min-height:46px;font-size:14px}
.parcels{display:grid;gap:14px}
.parcel{display:grid;gap:12px}
.parcel-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.parcel-head h3{display:flex;align-items:center;gap:8px;font-size:16px;margin:0}
.parcel-head .num{width:24px;height:24px;font-size:13px}
.parcel h4{margin:4px 0 0;font-size:15px}
.saved{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.saved .muted{width:100%;font-size:13px}
.saved .fchip{font-size:13px;padding:5px 12px}
.sub-total{background:#f9fbfd;border:1px dashed #dbe2ea;border-radius:13px;padding:12px}
.add-parcel{margin-top:14px;background:#fff;color:var(--blue);border:1.5px dashed var(--blue-100)}
.block>.muted.center{margin-top:6px;font-size:13px}
.grand{background:var(--blue-50);border-color:var(--blue-100)}
.grand .sum{border:0;padding:0}

/* ---------- done ---------- */
.done-page{text-align:center;padding-top:32px}
.done-mark{width:80px;height:80px;margin:0 auto 6px;border-radius:50%;background:var(--green-50);color:var(--green);display:grid;place-items:center}
.done-mark .ic{width:40px;height:40px;stroke-width:2.5}
.done-page h1{font-size:23px}
.codes{display:grid;justify-items:center;gap:6px;margin:6px 0 10px}
.code{display:inline-flex;align-items:center;gap:8px;font-size:24px;font-weight:600;letter-spacing:1px;color:var(--blue-d);background:#fff;border:1.5px dashed var(--blue-100);border-radius:14px;padding:6px 18px;cursor:pointer;direction:ltr}
.code .ic{width:17px;height:17px;color:var(--muted)}

/* ---------- shipments ---------- */
.ship{display:grid;gap:7px;cursor:pointer}
.ship b[dir=ltr]{font-size:15.5px}
.chip{display:inline-block;font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:99px;white-space:nowrap;background:var(--blue-50);color:var(--blue)}
.chip.st0{background:var(--orange-50);color:var(--orange-d)}
.chip.st3{background:#eef0fb;color:#3b4aa8}
.chip.st5,.chip.st6,.chip.st7{background:var(--green-50);color:var(--green-d)}
.chip.stx{background:var(--red-50);color:var(--red)}
.bar{height:6px;border-radius:6px;background:#edf1f5;overflow:hidden}
.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--blue),#2a8bc7);border-radius:6px}
.bar.cancel i{background:var(--red)}
.bar.full i{background:var(--green)}
.money{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;color:var(--muted)}
.due{color:var(--red);font-weight:600}
.paid{color:var(--green);font-weight:600}
.empty{text-align:center;padding:40px 10px;color:var(--muted);display:grid;justify-items:center;gap:12px}
.empty .ic{width:44px;height:44px;color:#b8c2ce}
.info p+p{margin-top:2px}
.note{background:var(--orange-50);border-color:#f8e0c4}
.note-inline{margin-top:8px;background:var(--orange-50);padding:8px 12px;border-radius:10px;font-size:13.5px}
.timeline{list-style:none;margin:10px 0 0;padding:0}
.timeline li{display:flex;gap:12px;position:relative;padding-bottom:14px;color:#9aa5b3}
.timeline li:not(:last-child)::after{content:"";position:absolute;right:12px;top:26px;bottom:0;width:2px;background:var(--line)}
.timeline li.done::after{background:var(--blue)}
.timeline .dot{width:26px;height:26px;border-radius:50%;border:2px solid #dbe2ea;background:#fff;flex:none;display:grid;place-items:center;color:#fff}
.timeline .dot .ic{width:14px;height:14px;stroke-width:3}
.timeline li.done .dot{background:var(--blue);border-color:var(--blue)}
.timeline li.now .dot{background:var(--orange);border-color:var(--orange);box-shadow:0 0 0 5px rgba(240,138,36,.15)}
.timeline.complete li .dot{background:var(--green);border-color:var(--green);box-shadow:none}
.timeline.complete li::after{background:var(--green)!important}
.timeline li.done,.timeline li.now{color:var(--ink)}
.timeline li div{display:grid;padding-top:1px}
.timeline b{font-weight:500}
.timeline small{color:var(--muted);font-size:12.5px}
.loading{padding:40px;text-align:center;color:var(--muted)}
.loading.full{padding-top:40vh}
.batch{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:var(--blue-50);border-color:var(--blue-100)}
.batch small{width:100%}
.tag{display:inline-block;font-size:11.5px;font-weight:600;background:var(--blue-50);color:var(--blue);border-radius:6px;padding:0 6px}

/* ---------- photos & receipt ---------- */
.photo-box{display:grid;gap:8px;background:#f9fbfd;border:1px dashed #dbe2ea;border-radius:13px;padding:12px}
.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px}
.photos figure{position:relative;margin:0}
.photos img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:11px;background:#e9edf3}
.photos .ph{display:block;padding:0;border:0;background:none;width:100%;cursor:zoom-in}
.photos figcaption{font-size:11px;color:var(--muted);text-align:center;margin-top:2px}
.ph-del{position:absolute;top:4px;inset-inline-start:4px;width:30px;height:30px;border-radius:9px;border:0;background:rgba(255,255,255,.94);color:var(--red);display:grid;place-items:center;cursor:pointer}
.ph-del .ic{width:16px;height:16px}
.ph-del.sure{background:var(--red);color:#fff}
.pick-photo{cursor:pointer;border-style:dashed;min-height:46px}
.lightbox{position:fixed;inset:0;z-index:50;background:rgba(6,18,32,.92);display:grid;place-items:center;padding:16px}
.lightbox img{max-width:100%;max-height:88vh;border-radius:10px}
.lb-close{position:absolute;top:14px;inset-inline-end:14px;width:44px;height:44px;border-radius:50%;border:0;background:#fff;font-size:18px;cursor:pointer}
.receipt h3,.receipt-form h3,.usage h3{display:flex;align-items:center;gap:6px}
.receipt h3 .ic,.receipt-form h3 .ic,.usage h3 .ic{color:var(--blue);width:20px;height:20px}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin-bottom:8px}
.facts div{background:var(--blue-50);border-radius:11px;padding:8px 10px;display:grid}
.facts small{color:var(--muted);font-size:12px}
.facts b{font-size:16px;color:var(--blue-d)}
.usage{display:grid;gap:8px}

/* ---------- office ---------- */
.otabs{display:flex;gap:6px;padding:10px 16px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:62px;z-index:4;overflow-x:auto}
.otabs button{flex:none;border:0;background:none;padding:7px 14px;border-radius:10px;font-weight:600;color:var(--muted);cursor:pointer;font-size:14.5px}
.otabs button.on{background:var(--blue-50);color:var(--blue)}
.page.office{padding-bottom:40px}
.agent-title{font-size:18px}
.chips-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.fchip{flex:none;border:1px solid #dde3ea;background:#fff;border-radius:99px;padding:6px 14px;font-weight:500;cursor:pointer;font-size:13.5px;color:var(--ink-2)}
.fchip b{color:var(--muted);font-weight:600;margin-inline-start:2px}
.fchip.on{background:var(--blue);border-color:var(--blue);color:#fff}
.fchip.on b{color:rgba(255,255,255,.85)}
.fchip.danger{color:var(--red);border-color:#f0c9cc}
.search-row{display:flex;gap:8px;align-items:center}
.search-row .search{flex:1}
.status-card{display:grid;gap:10px}
.now-stage{font-size:18px;font-weight:600;color:var(--blue-d)}
.more summary{cursor:pointer;color:var(--blue);font-weight:600;font-size:13.5px;padding:4px 0}
.stage-list{display:flex;flex-wrap:wrap;gap:8px;padding-top:8px}
.cust{display:flex;align-items:center;gap:12px;justify-content:space-between}
.stack{display:grid;gap:14px}
.price-row{display:grid;grid-template-columns:1fr 100px 40px;gap:8px;align-items:center}
.price-row input{min-height:44px;padding:8px 10px}
.mini{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}
.mini .ic{width:15px;height:15px}
.wa-o{color:var(--wa)!important;border-color:#cdeedb!important}
.receipt-form{border-top:3px solid var(--blue)}

#toast{position:fixed;left:50%;bottom:92px;transform:translate(-50%,20px);background:#17324d;color:#fff;padding:10px 18px;border-radius:12px;font-weight:500;font-size:14.5px;opacity:0;pointer-events:none;transition:.25s;z-index:60;max-width:90vw;text-align:center}
#toast.show{opacity:1;transform:translate(-50%,0)}
#toast.bad{background:var(--red)}
.preview-bar{background:#fff7e6;color:#7a5200;font-size:12.5px;text-align:center;padding:6px 10px;border-bottom:1px solid #f3e1b8}
.preview-bar a{font-weight:600;margin-inline-start:6px}

@media (min-width:600px){
  body{background:#eef2f6}
  #app{box-shadow:0 0 40px rgba(16,42,72,.06)}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
.track-box{display:flex;align-items:center;gap:6px;background:#fff;border-radius:15px;padding:5px;border:1px solid var(--line);box-shadow:var(--shadow)}
.track-box input{border:0;min-height:44px;box-shadow:none!important}
.track-box .btn{min-height:44px;padding:0 20px;border-radius:11px}
.dchip,.seg label{position:relative}
.step button[data-act=inc]{background:var(--blue-50);border-color:var(--blue-50);color:var(--blue)}
.item.has .step button[data-act=inc]{background:var(--blue);border-color:var(--blue);color:#fff}
.bottom a.on::before{display:none}
.bottom a.on{background:var(--blue-50)}
.phone2{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px;color:var(--ink-2);margin-top:8px}
.phone2 .ic{width:16px;height:16px;color:var(--muted)}
.phone2 a{font-weight:600}
.staff-link{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;font-size:12.5px;color:var(--muted);font-weight:500}
.staff-link .ic{width:15px;height:15px}
/* ---- KNS5: category tiles + bottom sheet ---- */
.cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cat{display:grid;justify-items:center;gap:5px;padding:12px 4px 10px;background:#fff;border:1px solid var(--line);border-radius:16px;font:inherit;color:var(--ink);cursor:pointer;text-align:center;box-shadow:var(--shadow);min-height:104px}
.cat b{font-size:13.5px;font-weight:600;line-height:1.3}
.cat small{font-size:11.5px;color:var(--muted)}
.cat small em{font-style:normal;font-weight:700;color:var(--blue);background:var(--blue-50);padding:1px 8px;border-radius:99px}
.cat .tile-ic{width:40px;height:40px;border-radius:13px}
.cat .tile-ic .ic{width:20px;height:20px}
.cat.has{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue) inset}
.cats.invalid{outline:2px solid var(--red);outline-offset:4px;border-radius:16px}
body.sheet-open{overflow:hidden}
.sheet-bg{position:fixed;inset:0;background:rgba(16,30,50,.42);z-index:40;animation:fade .2s}
.sheet{position:fixed;left:0;right:0;bottom:0;margin:0 auto;max-width:560px;max-height:86vh;display:flex;flex-direction:column;background:var(--bg);border-radius:22px 22px 0 0;z-index:41;box-shadow:0 -10px 40px rgba(16,42,72,.18);animation:up .22s ease-out}
.sheet-head{display:flex;align-items:center;gap:10px;padding:14px 16px 10px;border-bottom:1px solid var(--line);background:#fff;border-radius:22px 22px 0 0}
.sheet-head h3{flex:1;margin:0;font-size:17px}
.sheet-head .tile-ic{width:38px;height:38px;border-radius:12px}
.sheet-body{overflow-y:auto;padding:12px 12px 4px;-webkit-overflow-scrolling:touch}
.sheet-body .items{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}
.sheet-body .items .item:first-child{border-top:0}
.sheet-body .kg{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px 16px}
.sheet-foot{padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
.tv-box{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px 14px;margin-bottom:10px;display:grid;gap:8px}
.tv-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tv-head small{color:var(--muted);font-size:12px;flex-basis:100%}
.tv-head .ic{width:18px;height:18px;color:var(--blue)}
@keyframes up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@keyframes fade{from{opacity:0}}
/* collapsed parcel */
.parcel.mini{padding:12px 16px}
.parcel.mini .parcel-head{margin:0}
.parcel.mini p{margin:4px 0 0;font-size:13.5px}
.btn.sm{min-height:38px;padding:0 14px;font-size:14px;border-radius:11px}
details.photo-box summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer}
details.photo-box summary::-webkit-details-marker{display:none}
details.photo-box summary b{display:flex;align-items:center;gap:6px}
details.photo-box summary .ic{width:18px;height:18px}
/* date: other day */
.dchip.more input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2;min-height:0}
.dchip.more span{border-style:dashed;border-color:#b9c6d4}
.dchip.more.on span{border-style:solid;border-color:var(--blue);background:var(--blue);color:#fff}
.dchip.more.on span small{color:rgba(255,255,255,.85)}
.time-pick select{font-weight:600}
.loc{display:flex;gap:8px;align-items:center}
.loc input{flex:1;min-width:0}
.loc .btn{flex:none;white-space:nowrap}
/* field errors */
.invalid input,.invalid select,.invalid textarea,input.invalid,select.invalid{border-color:var(--red)!important;box-shadow:0 0 0 3px rgba(185,33,41,.13)!important}
.invalid .tel{border-color:var(--red)!important}
.dchips.invalid .dchip span,.seg.invalid span{border-color:var(--red)}
.ferr{display:block;color:var(--red);font-size:13px;font-weight:600;margin-top:6px}
/* office extras */
.push-card{display:flex;align-items:center;gap:12px;text-align:start;cursor:pointer;margin-bottom:12px;border-color:#f3c999;background:#fffaf3}
.push-card .tile-ic{font-size:20px;flex:none}
.push-card span{display:grid}
.push-card small{color:var(--muted);font-size:12.5px}
.push-on{font-size:12.5px;color:var(--green);margin:0 0 10px;text-align:center}
.map-btn{margin-top:10px}
.map-link{display:inline-block;margin-top:6px;font-weight:600}
.agent-card select{font-weight:600}
.agent-card .btn{margin-top:4px}
.agent-row{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) 40px!important}
.agent-row .tel{min-width:0}
.tv-prices{display:grid;gap:8px;padding:12px;border-radius:14px;background:var(--blue-50);margin-bottom:6px}
.tv-prices b{display:flex;align-items:center;gap:6px}
.tv-prices .ic{width:18px;height:18px}
.switch{display:flex!important;align-items:center;gap:12px;cursor:pointer;flex-direction:row!important}
.switch input{position:absolute;opacity:0;width:1px;height:1px}
.switch span{flex:none;width:50px;height:30px;border-radius:99px;background:#cfd6df;position:relative;transition:background .2s}
.switch span::after{content:'';position:absolute;top:3px;inset-inline-start:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:inset-inline-start .2s}
.switch input:checked+span{background:var(--green)}
.switch input:checked+span::after{inset-inline-start:23px}
.switch input:focus-visible+span{box-shadow:0 0 0 3px rgba(0,99,156,.25)}
.switch b{font-weight:600}
/* ---- KNS5: dark brand screens (register + home), like the ad ---- */
body.dark-bg{background:#071a3a}
body.dark-bg #app{background:radial-gradient(130% 55% at 50% 0%,#14427f 0%,#0b2a58 40%,#071a3a 78%);color:#eaf2ff;box-shadow:none}
.dark-page{--dl:rgba(255,255,255,.12);--dm:#9fb3d1;padding:0 18px 100px;color:#eaf2ff}
.dreg{padding-bottom:36px}
.dtop{display:flex;align-items:center;justify-content:space-between;padding:14px 0 4px}
.dtop.center{justify-content:center;padding-top:20px}
.dlogo{height:36px;width:auto;filter:drop-shadow(0 0 14px rgba(70,160,255,.35))}
.dwa{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(37,211,102,.14);border:1px solid rgba(37,211,102,.35);color:#3ddc84}
.dwa .ic{width:22px;height:22px}
.dhello{color:var(--dm);font-size:15px;margin:10px 4px 0}
.dh1{font-size:23px;line-height:1.4;font-weight:700;margin:2px 4px 0;color:#fff}
.dh1.c{text-align:center;font-size:25px;margin-top:10px}
.dh1 em{font-style:normal;color:#f39223;position:relative;display:inline-block}
.dh1 em::after{content:'';position:absolute;right:0;left:0;bottom:-3px;height:4px;border-radius:9px;background:linear-gradient(90deg,transparent,#f39223)}
.dsub{text-align:center;color:var(--dm);margin:6px 0 0;font-size:14.5px}
.dart{display:block;width:100%;margin-top:4px}
.dart text,.live text{font-family:inherit}
.dcard{display:block;margin-top:14px;padding:16px;border-radius:26px;color:inherit;background:linear-gradient(180deg,rgba(30,90,170,.5),rgba(10,36,80,.6));border:1px solid rgba(120,180,255,.26);box-shadow:0 18px 44px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.1)}
.dcard svg{display:block;width:100%}
.dform{display:grid;gap:12px;background:rgba(255,255,255,.07)}
.dform h2{font-size:19px;color:#fff}
.dmut{color:var(--dm);font-size:13.5px;margin-top:-8px}
.dform label{display:grid;gap:6px;font-size:14px;font-weight:600;color:#eaf2ff;min-width:0}
.dform label small{color:var(--dm);font-weight:400}
.dform input{height:50px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(4,16,40,.55);color:#fff;font-size:15.5px;padding:0 14px;width:100%;min-width:0;box-shadow:none}
.dform input::placeholder{color:#7f97ba}
.dform input:focus{border-color:#4fb0ff;outline:0;box-shadow:0 0 0 3px rgba(79,176,255,.2)}
.dform .tel{border:1px solid rgba(255,255,255,.16);background:rgba(4,16,40,.55)}
.dform .tel span{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.12)}
.dform .tel input{border:0;background:transparent;height:48px}
.dform .err{background:rgba(185,33,41,.2);color:#ffb3b3}
.dgo{height:54px;border:0;border-radius:999px;font:inherit;font-size:17px;font-weight:700;color:#fff;background:linear-gradient(90deg,#ff7a1a,#f39223);box-shadow:0 10px 26px rgba(255,122,26,.42);cursor:pointer;width:100%}
.dgo:disabled{opacity:.7}
.dperks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.dperks span{display:grid;justify-items:center;gap:6px;text-align:center;font-size:12px;font-weight:600;background:rgba(255,255,255,.06);border:1px solid var(--dl);border-radius:16px;padding:10px 4px}
.dperks b{font-size:18px}
.dlink{display:block;text-align:center;margin-top:16px;color:#6fbaff;font-weight:600;font-size:14px}
.dstaff{display:block;text-align:center;margin-top:12px;color:#7f97ba;font-size:12.5px}
/* live shipment card */
.live{text-decoration:none}
.lv-head{display:flex;justify-content:space-between;align-items:center;font-size:12.5px}
.lv-tag{display:flex;align-items:center;gap:6px;color:#9fd0ff;font-weight:600}
.lv-tag i{width:8px;height:8px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 4px rgba(61,220,132,.2)}
.lv-more{color:#ffb35c;font-weight:600;cursor:pointer}
.lv-code{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 2px 0}
.lv-code b{font-size:20px;letter-spacing:.5px;color:#fff}
.lchip{font-size:12px;font-weight:600;padding:3px 10px;border-radius:99px;background:rgba(243,146,35,.18);color:#ffb35c}
.lchip.ok{background:rgba(61,220,132,.18);color:#7ff0b0}
.lsteps{display:flex;align-items:center;width:80%;margin:0 auto 4px}
.lsteps .ln{flex:1;height:3px;background:rgba(255,255,255,.22)}
.lsteps .s-done+.ln{background:#fff}
.lsteps b{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center}
.lsteps .s-done{background:#fff;color:#0b3a78}.lsteps .s-done .ic{width:14px;height:14px;stroke-width:3}
.lsteps .s-now{border:3px solid #f39223;box-shadow:0 0 12px rgba(243,146,35,.7)}
.lsteps .s-now::after{content:'';width:8px;height:8px;border-radius:50%;background:#fff}
.lsteps .s-next{width:15px;height:15px;background:#5d7fae}
.llabels{display:flex;justify-content:space-between;width:96%;margin:0 auto;font-size:11px;color:var(--dm)}
.lv-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--dl);font-size:12.5px;color:var(--dm)}
.lv-foot b{color:#fff;font-size:13px;flex:none}
.first{text-align:center}
.f-t{display:block;font-size:17px;margin:2px 0 10px;color:#fff}
.f-steps{display:grid;gap:6px;text-align:start}
.f-steps span{display:flex;align-items:center;gap:10px;font-size:13.5px;background:rgba(255,255,255,.06);border-radius:12px;padding:8px 10px}
.f-steps i{font-style:normal;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f39223;font-size:12px;font-weight:700;color:#fff;flex:none}
/* home controls */
.dtrack{display:flex;gap:6px;margin-top:14px;padding:6px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid var(--dl)}
.dtrack input{flex:1;min-width:0;background:transparent;border:0;color:#fff;font-size:15px;padding:0 10px;min-height:46px;box-shadow:none}
.dtrack input::placeholder{color:#a9bddb}
.dtrack input:focus{outline:0;box-shadow:none}
.dtrack button{border:0;border-radius:13px;padding:0 20px;min-height:46px;font:inherit;font-weight:700;color:#fff;background:#1f8fe5;cursor:pointer}
.dcta{display:flex;align-items:center;gap:12px;margin-top:14px;padding:14px 18px;border-radius:999px;background:linear-gradient(90deg,#ff7a1a,#f39223);box-shadow:0 10px 30px rgba(255,122,26,.42),inset 0 1px 0 rgba(255,255,255,.35);color:#fff}
.dcta .ci{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.2);display:grid;place-items:center;flex:none}
.dcta .ci .ic{width:24px;height:24px}
.dcta b{display:block;font-size:18px}.dcta small{font-size:13px;opacity:.92}
.dcta .arr{margin-inline-start:auto;font-size:20px}
.dtiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.dtiles a{background:rgba(255,255,255,.07);border:1px solid var(--dl);border-radius:20px;padding:14px 6px;display:grid;justify-items:center;gap:8px;font-weight:600;font-size:14px;color:#fff;text-align:center}
.dtiles a span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center}
.dtiles .t1 span{background:rgba(31,143,229,.2);color:#5fb6ff}.dtiles .t2 span{background:rgba(30,158,90,.22);color:#4fd18c}.dtiles .t3 span{background:rgba(243,146,35,.2);color:#f39223}
.dsec{display:flex;justify-content:space-between;align-items:baseline;margin:24px 2px 10px}
.dsec h2{font-size:17px;color:#fff}.dsec a{color:#6fbaff;font-size:13px;font-weight:600}
.drates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:rgba(255,255,255,.07);border:1px solid var(--dl);border-radius:20px}
.drates div{padding:14px 6px;text-align:center;display:grid;gap:2px}.drates div+div{border-inline-start:1px solid var(--dl)}
.drates b{font-size:15.5px;color:#fff;white-space:nowrap}.drates small{color:var(--dm);font-size:11.5px}
.dfaq{background:rgba(255,255,255,.06);border:1px solid var(--dl);border-radius:20px;overflow:hidden}
.dfaq details+details{border-top:1px solid var(--dl)}
.dfaq summary{list-style:none;display:flex;align-items:center;gap:10px;padding:14px 16px;font-weight:500;cursor:pointer;font-size:14.5px}
.dfaq summary::-webkit-details-marker{display:none}
.dfaq summary span{flex:1}.dfaq summary .ic{width:18px;height:18px;color:#7f97ba;transition:transform .2s}
.dfaq details[open] summary{color:#6fbaff}.dfaq details[open] summary .ic{transform:rotate(180deg)}
.dfaq details p{padding:0 16px 14px;color:var(--dm);font-size:14px}
.dhelp{display:flex;align-items:center;gap:12px;margin-top:16px;background:rgba(37,211,102,.1);border:1px solid rgba(37,211,102,.28);border-radius:20px;padding:14px 16px}
.dhelp div{display:grid;flex:1}.dhelp small{color:var(--dm);font-size:13px}
.dhelp bdi{display:block;text-align:right;white-space:nowrap}
.dhelp .btn{min-height:42px;padding:0 16px;font-size:14.5px}
.dfoot{display:grid;justify-items:center;gap:2px;text-align:center;padding:20px 0 4px;color:var(--dm)}
.dfoot small{font-size:12px}.dfoot .linkish{color:#6fbaff}
/* bottom bar: dark everywhere */
.bottom{background:rgba(7,22,50,.94)!important;border-top:1px solid rgba(255,255,255,.1)!important;box-shadow:0 -6px 20px rgba(0,0,0,.18)}
.bottom a{color:#8ea6c9}
.bottom a.on{color:#fff;background:rgba(31,143,229,.25)}
/* ---- KNS6: compact pages, office redesign, payments, distribution ---- */
.dtop.sm{padding-top:12px}.dh1.sm{font-size:20px;line-height:1.45;margin-top:6px}.dart.sm{height:74px;margin-top:2px}
.dreg .dcard{margin-top:8px}.dreg .dform{gap:10px;padding:16px}.dreg .dform h2{font-size:17px}
.dreg .dform input{height:46px}.dreg .dform .tel input{height:44px}.dreg .dgo{height:50px}
.dperks2{text-align:center;color:#9fb3d1;font-size:12.5px;margin:12px 0 0}
.pw{position:relative;display:block}.pw input{padding-inline-end:48px!important;width:100%}
.pw-eye{position:absolute;inset-inline-end:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;background:transparent;font-size:18px;cursor:pointer;border-radius:10px}
/* office header */
.ohd{position:sticky;top:0;z-index:7;background:linear-gradient(180deg,#0f3a72,#0a2a58);padding:10px 14px 12px;color:#fff;border-radius:0 0 20px 20px;box-shadow:0 8px 24px rgba(10,42,88,.25)}
.ohd-r{display:flex;align-items:center;gap:8px}.ohd .dlogo.sm{height:28px}
.ohd .role{font-size:12px;font-weight:700;background:rgba(243,146,35,.2);color:#ffb35c;padding:3px 10px;border-radius:99px}
.ohd-ib{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:17px;cursor:pointer}
.ohd-ib .ic{width:20px;height:20px}
.ohd h1{font-size:18px;color:#fff;margin:0}.ohd-t{font-size:17px;margin:10px 4px 0;color:#fff}
.ohd.det .chip{background:rgba(255,255,255,.14);color:#fff}
.otabs2{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-top:10px;background:rgba(255,255,255,.08);padding:4px;border-radius:14px}
.otabs2 button{display:grid;justify-items:center;gap:1px;padding:6px 0;border:0;border-radius:11px;background:transparent;color:#b9cbe6;font:inherit;font-size:11.5px;font-weight:600;cursor:pointer}
.otabs2 button i{font-style:normal;font-size:17px}.otabs2 button.on{background:#fff;color:#0a2a58;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.page.office{padding-top:12px}
.sq{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sq button{display:grid;justify-items:center;padding:8px 2px 7px;border-radius:15px;background:#fff;border:1px solid #e6ebf2;font:inherit;font-size:12px;font-weight:600;color:#5b6b80;cursor:pointer}
.sq button span{font-size:19px;font-weight:700;color:#1b2a3d;line-height:1.3}
.sq button.hot span{color:#f08a24}.sq button.on{background:#00639c;border-color:#00639c;color:#d8ecfb}.sq button.on span{color:#fff}
.sq-more{margin-top:6px}.sq-more .fchip{font-size:12px;padding:3px 12px;min-height:30px}
.search-row{display:flex;gap:6px;align-items:center;margin:10px 0}.search-row .search{flex:1;min-width:0}
.ship2{display:block;text-align:start;margin-top:10px;padding:12px 14px;cursor:pointer}
.ship2 .row{gap:6px}.scode{font-size:16px;font-weight:700;letter-spacing:.3px}.ship2 .sp,.arow .sp{flex:1}
.ship2 .nm{margin:6px 0 2px;font-weight:600}.ship2 .mut{color:var(--muted);font-size:13px;margin:1px 0}
.minis{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.minis span{font-size:12px;color:#3c4b5e;background:#f3f6fa;border-radius:8px;padding:3px 8px}
.ship2.picked{border-color:#00639c;box-shadow:0 0 0 2px #00639c inset}
.tick{width:22px;height:22px;border-radius:7px;border:2px solid #b9c6d4;display:grid;place-items:center;font-size:13px;font-weight:800;color:#fff;flex:none}
.picked .tick{background:#00639c;border-color:#00639c}
.bad{font-size:11.5px;font-weight:700;color:#b92129;background:#fdecee;padding:2px 8px;border-radius:99px;white-space:nowrap}
.okb{font-size:11.5px;font-weight:600;color:#1e7a4a;background:#e7f6ee;padding:2px 8px;border-radius:99px;white-space:nowrap}
.sel-tools{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}.sel-tools .fchip{font-size:12.5px}
.bulkbar{position:sticky;bottom:12px;z-index:8;display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;border-radius:16px;background:#0a2a58;color:#fff;box-shadow:0 10px 30px rgba(10,42,88,.35)}
.bulkbar select{flex:1;min-width:0;min-height:40px;padding:6px 8px;font-size:13.5px}
/* modals */
.modal-bg{position:fixed;inset:0;background:rgba(10,20,40,.5);z-index:40}
.modal{position:fixed;left:16px;right:16px;top:50%;transform:translateY(-50%);max-width:440px;margin:0 auto;max-height:88vh;overflow:auto;background:#fff;border-radius:22px;padding:20px 18px;z-index:41;box-shadow:0 20px 60px rgba(0,0,0,.3);display:grid;gap:10px;text-align:center}
.modal h2{font-size:18px}.modal .mut{color:var(--muted);font-size:13.5px}.al-ic{font-size:40px;line-height:1}
.modal.alarm{border:3px solid #f08a24;animation:pulse 1s infinite alternate}.al-body{font-size:15px;line-height:1.7;text-align:start;background:#fff7ee;border-radius:14px;padding:10px 12px}
@keyframes pulse{to{box-shadow:0 0 0 8px rgba(240,138,36,.25),0 20px 60px rgba(0,0,0,.3)}}
.msgbox{white-space:pre-wrap;text-align:start;font:inherit;font-size:13px;background:#f3f6fa;border-radius:12px;padding:10px;max-height:200px;overflow:auto;margin:0}
.modal .three.btns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
/* compact cards */
.card.cmp{padding:12px 14px;margin-top:10px}.card.cmp h3{font-size:15px;margin:0 0 6px;display:flex;align-items:center;gap:6px}
.card.cmp h3 .ic{width:18px;height:18px}.card.cmp p{margin:2px 0}.card.cmp .big{font-weight:700}
.card.cmp .row h3{margin:0}.det .card.cmp:first-child{margin-top:0}
.cmp.form{display:grid;gap:8px}.cmp.form label{font-size:13px;gap:4px}
.cmp.form input,.cmp.form select,.payform input,.payform select{min-height:42px;padding:7px 10px;font-size:15px}
.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.facts3{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}.facts3 span{background:#f3f6fa;border-radius:10px;padding:5px 10px;font-size:13.5px}
.money3 span{flex:1;display:grid;text-align:center;min-width:0}.money3 small{color:var(--muted);font-size:11.5px}.money3 b{font-size:15px}
.money3 .r{background:#fdecee;color:#b92129}.money3 .g{background:#e7f6ee;color:#1e7a4a}
.r{color:#b92129}.g{color:#1e7a4a}.due.sm{font-size:13px;margin:4px 0}
.photo-btns{display:flex;gap:8px;margin-top:6px}.photo-btns .btn{flex:1}
.photo-box.sm{padding:10px;margin:0}.photo-box.sm .photos{margin:6px 0}
.cash-row{display:flex;gap:8px;margin-top:6px}.cash-row input{flex:1;min-width:0;min-height:42px}
.payform{display:grid;gap:8px;margin-top:8px;padding:10px;border-radius:14px;background:#f3f8fc}
.status2 .mtl{display:flex;gap:4px;margin:8px 0 10px}.mtl i{flex:1;height:7px;border-radius:9px;background:#e3e9f0}.mtl i.d{background:#00639c}.mtl i.n{background:#f08a24}
.status2 .two{margin-top:8px}.pay-ask{margin-top:8px;border-color:#f3c999!important;color:#b25e0b!important}
.crow{display:flex;align-items:center;gap:8px;margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
.crow>div{flex:1;min-width:0;display:grid}.crow small{color:var(--muted);font-size:12px}.crow b{font-size:14.5px}.crow bdi{font-size:13.5px;color:#3c4b5e}
.sub2{font-size:12.5px;color:#3c4b5e}
.cbtn{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eaf3fb;color:#00639c;border:0;flex:none;cursor:pointer;font-weight:800}
.cbtn.wa{background:#e7f6ee;color:#1e9e5a}.cbtn.ok{background:#1e9e5a;color:#fff;font-size:18px}.cbtn.ok.sure{background:#f08a24;width:auto;padding:0 10px;font-size:13px}
.cbtn .ic{width:19px;height:19px}
.plain.sm li{font-size:13.5px;padding:4px 0}
.det details.more summary,.cmp.more summary{cursor:pointer;font-weight:600;font-size:14px;color:#00639c}
/* distribution */
.dist-head{font-size:15px;margin-bottom:4px}.gov .cnt{background:#00639c;color:#fff;border-radius:99px;font-size:12px;padding:1px 9px}
.gov-tools{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.gov-tools select{flex:1 1 140px;min-height:38px;padding:4px 8px;font-size:13.5px}
.drow{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line)}
.drow.owe{background:linear-gradient(90deg,transparent,#fff5f5)}
.rno{display:grid;justify-items:center;min-width:62px;padding:4px 6px;border-radius:12px;background:#0a2a58;color:#fff}
.rno small{font-size:10px;opacity:.75}.rno b{font-size:19px;line-height:1.2}
.dinfo{flex:1;min-width:0;display:grid;gap:1px}.dinfo b{font-size:14.5px}.dinfo a{font-size:13px}.dinfo small{color:var(--muted);font-size:12px}.dinfo .bad{justify-self:start;margin-top:2px}
.dact{display:flex;gap:6px}
/* accounts */
.seg2{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#e9eef5;padding:4px;border-radius:12px}
.seg2 button{border:0;border-radius:9px;padding:7px;background:transparent;font:inherit;font-weight:600;font-size:13.5px;color:#5b6b80;cursor:pointer}.seg2 button.on{background:#fff;color:#0a2a58;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.acct3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.acct3 div{display:grid;text-align:center;padding:10px 4px;border-radius:15px;background:#fff;border:1px solid #e6ebf2}
.acct3 small{font-size:11.5px;color:var(--muted)}.acct3 b{font-size:15.5px}.acct3 .g b{color:#1e7a4a}.acct3 .r b{color:#b92129}
.arow .nm{font-weight:600;margin:4px 0 0}.arow .mut{font-size:13px;color:var(--muted)}.arow .two{margin-top:8px}
/* settings */
.qr-up{display:grid;gap:6px;justify-items:start;padding:10px;border-radius:12px;background:#f6f9fc}
.qr-up img{width:130px;height:130px;object-fit:contain;background:#fff;border-radius:10px;border:1px solid var(--line)}
details.price-group summary{cursor:pointer;display:flex;gap:6px;align-items:center}
/* customer: pay + compact */
.cmp-page .dcard.live{margin-top:0}
.cmp-page .dcard{color:#eaf2ff}
.paybar{display:flex;align-items:center;gap:10px;margin-top:12px;padding:12px 14px;border-radius:18px;background:linear-gradient(90deg,#fff3e3,#ffe7cc);border:1px solid #f3c999;color:#7a3d00}
.paybar>span:first-child{font-size:22px}.paybar span{display:grid}.paybar b{font-size:15.5px}.paybar small{font-size:12.5px;opacity:.85}
.paybar em{margin-inline-start:auto;font-style:normal;font-weight:700;background:#f08a24;color:#fff;border-radius:99px;padding:6px 16px}
.paybar.dk{background:rgba(243,146,35,.16);border-color:rgba(243,146,35,.45);color:#ffd6a8}
.cpush{display:flex;align-items:center;gap:10px;width:100%;margin-top:12px;padding:12px 14px;border-radius:18px;border:1px dashed #9fc3dc;background:#f3f9ff;font:inherit;text-align:start;cursor:pointer;color:#0a2a58}
.cpush>span:first-child{font-size:22px}.cpush span{display:grid}.cpush small{font-size:12.5px;color:var(--muted)}
.cpush.dk{background:rgba(255,255,255,.06);border-color:rgba(120,180,255,.35);color:#eaf2ff}.cpush.dk small{color:#9fb3d1}
.pay-top{display:grid;justify-items:center;text-align:center;gap:2px}.pay-top b{font-size:26px;color:#b92129}.pay-top small{color:var(--muted)}
.paym h3{font-size:16px}.qr{display:block;width:200px;max-width:70%;margin:10px auto 4px;background:#fff;border-radius:14px;border:1px solid var(--line);padding:6px}
.cprow{display:flex;align-items:center;gap:8px;background:#f6f9fc;border-radius:12px;padding:8px 10px;margin:6px 0}
.cprow small{color:var(--muted);font-size:12px}.cprow b{flex:1;min-width:0;overflow-wrap:anywhere;font-size:14.5px}
.lchip.x{background:rgba(185,33,41,.25);color:#ffb3b3}.dmut.c{text-align:center;color:#9fb3d1;margin:6px 0}
.lv-foot span+span{text-align:end}
.muted.sm,.center.sm{font-size:12.5px}

.cmp-page .dcard.live,.page .dcard.live{background:linear-gradient(180deg,#15457f 0%,#0b2a58 70%,#09234a 100%);border-color:#1d4f8c}
.page.office .sticky-cta{bottom:12px}
.ohd .dlogo{filter:none}

/* KNS-LIVE-3 */
.ohd-out{height:38px;padding:0 12px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#fff;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.agent-row{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;grid-template-areas:"n d" "p p";gap:6px!important;padding:8px 0;border-bottom:1px dashed var(--line)}
.agent-row>input{grid-area:n}.agent-row .tel{grid-area:p}.agent-row .icon-btn{grid-area:d}
.paydet summary{cursor:pointer;display:flex;gap:6px;align-items:center}.paydet form{margin-top:10px;display:grid;gap:8px}
.saved2{margin:4px 0 12px}.saved2>b{display:block;font-size:14px;margin-bottom:6px;color:#0a2a58}
.saved2-list{display:grid;gap:8px}
.srec{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:14px;border:1.5px solid #bcd6ec;background:#f2f8fd;font:inherit;text-align:start;cursor:pointer;color:#0a2a58}
.srec span{display:grid}.srec small{font-size:12.5px;color:#5b6b80}.srec-ic{width:34px;height:34px;border-radius:50%;background:#dcecf8;display:grid!important;place-items:center;font-size:15px;flex:none}
.srec.on{border-color:#00639c;background:#e3f1fb;box-shadow:0 0 0 1px #00639c inset}.srec.on .srec-ic{background:#00639c;color:#fff;font-weight:800}
.srec.new{border-style:dashed;background:#fff}
.push-on .linkish{font-size:12.5px;text-decoration:underline}

.inst{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:12px;padding:11px 14px;border-radius:999px;border:1.5px solid #00639c;background:#eaf4fc;color:#00639c;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer}
.inst.dk{background:rgba(31,143,229,.15);border-color:rgba(111,186,255,.6);color:#cfe7ff}
.page.office .inst{margin:0 0 10px}
.steps-ol{text-align:start;margin:0;padding-inline-start:22px;display:grid;gap:6px;font-size:15px}

/* home compact (uber-like) */
.dhome .dh1.sm{font-size:19px;margin-top:0}
.dhome .dcta{margin-top:12px;padding:12px 16px}.dhome .dcta .ci{width:40px;height:40px}.dhome .dcta b{font-size:17px}
.dchips{display:flex;gap:8px;margin-top:10px}
.dchips a{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 4px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:13.5px;font-weight:600;white-space:nowrap}
.dchips .ic{width:17px;height:17px;color:#7fc0ff}
.dhome .live{margin-top:12px;padding:12px 14px 10px}.dhome .live svg{max-height:96px}
.drates2{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:14px}
.drates2 span{font-size:12.5px;color:#cfe2ff;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:99px;padding:5px 11px}.drates2 b{color:#fff}
.dfaq2{margin-top:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden}
.dfaq2>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;font-weight:600;font-size:14.5px;cursor:pointer}
.dfaq2>summary::-webkit-details-marker{display:none}.dfaq2 summary .ic{width:17px;height:17px;color:#7f97ba}
.dfaq2 details{border-top:1px solid rgba(255,255,255,.08)}.dfaq2 details summary{list-style:none;display:flex;gap:8px;padding:11px 14px;font-size:14px;cursor:pointer}
.dfaq2 details summary span{flex:1}.dfaq2 details p{padding:0 14px 12px;color:#9fb3d1;font-size:13.5px}
.dfaq2 details[open] summary{color:#6fbaff}
.dwa-line{display:flex;align-items:center;gap:6px;color:#7ff0b0;font-size:13.5px;font-weight:600;margin-bottom:6px}.dwa-line .ic{width:17px;height:17px}
.ohd-out{white-space:nowrap;display:inline-flex;align-items:center;gap:4px}

/* request page compact */
.addr-sum{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#f3f8fc;border:1px solid #d7e6f2}
.addr-sum>span{font-size:18px}.addr-sum div{flex:1;min-width:0;display:grid}.addr-sum small{color:var(--muted);font-size:12px}.addr-sum b{font-size:14.5px}
details.xtra{border:1px dashed #c9d6e3;border-radius:14px;padding:0 12px;background:#fbfdff}
details.xtra>summary{list-style:none;cursor:pointer;padding:10px 0;font-weight:600;font-size:14px;color:#00639c}
details.xtra>summary::-webkit-details-marker{display:none}
details.xtra[open]{padding-bottom:10px}details.xtra[open]>summary{margin-bottom:4px}
details.xtra.card{margin-top:12px;padding:0 14px}details.xtra.card textarea{width:100%}
.srec-tools{display:flex;gap:8px}.srec-tools .fchip{flex:1;justify-content:center}
.rec-addr{margin:-4px 0 10px}
.cats .cat{min-height:84px;padding:9px 4px 8px}.cats .cat .tile-ic{width:34px;height:34px;border-radius:11px}.cats .cat b{font-size:13px}

/* home fits one screen */
.dhome{padding-bottom:84px}
.dhome .dtop{padding:8px 0 0}.dhome .dlogo{height:30px}.dhome .dwa{width:38px;height:38px}
.dhome .dhello{margin-top:4px;font-size:14px}.dhome .dh1.sm{font-size:17px;line-height:1.4}
.dhome .dh1 em::after{bottom:-2px;height:3px}
.dhome .dcta{margin-top:10px;padding:10px 14px}.dhome .dcta .ci{width:36px;height:36px}.dhome .dcta b{font-size:16px}.dhome .dcta small{font-size:12px}
.dhome .dchips{margin-top:8px}.dhome .dchips a{padding:8px 2px;font-size:13px}
.dhome .live{margin-top:10px;padding:10px 12px 8px;border-radius:22px}
.dhome .live svg{max-height:78px}.dhome .lv-code{margin-top:4px}.dhome .lv-code b{font-size:17px}
.dhome .lv-foot{margin-top:6px;padding-top:7px;font-size:11.5px}.dhome .llabels{font-size:10.5px}
.dhome .first svg{max-height:84px}.dhome .f-steps span{padding:6px 10px;font-size:12.5px}.dhome .f-t{margin:0 0 6px;font-size:15px}
.dhome .cpush,.dhome .inst{margin-top:8px;padding:8px 12px}
.drates2{flex-wrap:nowrap;gap:5px;margin-top:10px}.drates2 span{flex:1;text-align:center;white-space:nowrap;font-size:12px;padding:5px 4px}
.dhome .dfaq2{margin-top:8px}.dhome .dfaq2>summary{padding:9px 12px;font-size:13.5px}
.dme{text-align:center;color:#7f97ba;font-size:12px;margin:8px 0 0}
/* register smaller */
.dreg .dh1.sm{font-size:18px}.dreg .dart.sm{height:60px}.dreg .dform{padding:14px;gap:8px}.dreg .dform h2{font-size:16px}
.dreg .dform input{height:44px}.dreg .dform .tel input{height:42px}.dreg .dgo{height:48px;font-size:16px}
.dreg .dform label{font-size:13px;gap:4px}.dreg .dlink{margin-top:10px}.dreg .dstaff{margin-top:8px}

.dpk{width:100%;margin-top:2px;padding:11px;border-radius:999px;border:1.5px solid rgba(111,186,255,.55);background:rgba(31,143,229,.14);color:#cfe7ff;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer}
.pkcard{display:flex;align-items:center;gap:10px;margin-top:8px;padding:9px 12px;border-radius:16px;background:rgba(61,220,132,.1);border:1px solid rgba(61,220,132,.35);color:#eaf2ff}
.pkcard>span:first-child{font-size:20px}.pkcard span{display:grid;flex:1}.pkcard small{font-size:12px;color:#9fb3d1}
.pkcard .btn{background:#1e9e5a;color:#fff;border:0;min-height:34px;padding:0 14px}.pk-x{background:none;border:0;color:#7f97ba;font-size:16px;cursor:pointer}

/* accounts/dist compact */
.seg2{padding:3px}.seg2 button{padding:5px;font-size:13px}
.acct3{gap:6px;margin:8px 0}.acct3 div{padding:7px 4px;border-radius:13px}.acct3 b{font-size:14.5px}.acct3 small{font-size:11px}
.sq5{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.sq5 button{padding:6px 1px 5px;font-size:11px;border-radius:12px}.sq5 button span{font-size:16px}
.arow{padding:10px 12px!important;margin-top:8px!important}.arow .scode{font-size:15px;font-weight:700;color:#0a2a58;text-decoration:none}
.arow .nm{margin:2px 0 0;font-size:14px}.arow .mut{margin:1px 0}.arow .two{margin-top:6px;gap:6px}.arow .btn.sm{min-height:34px;font-size:13px;padding:0 10px}
.page.office .search{min-height:42px;font-size:14px;margin:8px 0 0}
.gov{padding:10px 12px!important}.gov-tools{gap:5px;margin:6px 0}.gov-tools .btn.sm{min-height:34px;font-size:12.5px;padding:0 10px}
.drow{padding:7px 0;gap:8px}.rno{min-width:54px;padding:3px 5px;border-radius:10px}.rno b{font-size:17px}
.cbtn{width:36px;height:36px;border-radius:11px}
.ohd{padding:8px 12px 10px}.otabs2{margin-top:8px}.otabs2 button{padding:5px 0;font-size:11px}.otabs2 button i{font-size:15px}
.ohd-out,.ohd-ib{height:34px}.ohd-ib{width:34px}

.ship2{padding:10px 12px;margin-top:8px}.ship2 .nm{margin:4px 0 1px;font-size:14.5px}.ship2 .mut{font-size:12.5px}.minis{margin-top:6px;gap:5px}.minis span{font-size:11.5px;padding:2px 7px}
.sq{gap:6px}.sq button{padding:6px 2px 5px}.sq button span{font-size:17px}
/* bulk + cancel visibility */
.bulk-open{margin:2px 0 12px;border:1.5px dashed #9db4d6;color:#0a2a58;font-weight:800;background:#f3f7fd}
.selbox{background:#eef4fc;border:1.5px solid #b9cde9;border-radius:16px;padding:10px 12px;margin-bottom:12px}
.selbox .row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:13.5px}
.st-acts{margin-top:8px}
.red-o{color:#c62828!important;border-color:#f2b8b8!important}
.red-o.sure{background:#c62828!important;color:#fff!important}
.bulkbar .btn.sure{background:#f08a24}
/* welcome after first registration */
.modal .welcome{text-align:center;margin:-20px -18px -12px}
.welcome .w-top{background:linear-gradient(160deg,#0b2a58,#123f82);border-radius:22px 22px 0 0;padding:18px 16px 10px}
.welcome .w-top img{height:32px;width:auto}
.welcome .w-ic{font-size:44px;margin-top:6px}
.welcome h2{margin:14px 16px 6px;font-size:22px}
.welcome p{margin:0 18px 10px;color:#4a5a73;line-height:1.7;font-size:14.5px}
.welcome .w-pts{list-style:none;margin:0 18px 14px;padding:10px 12px;background:#f3f7fd;border-radius:14px;text-align:start;font-size:14px;line-height:2}
.welcome .btn{margin:0 18px 8px;width:calc(100% - 36px)}
.welcome h2{color:#0b2a58!important}
.welcome .w-pts li{color:#1d2b45!important}
.welcome p{color:#4a5a73!important}
/* visitors card */
.vis h3{margin:0}
.vchips{display:flex;gap:6px;margin:8px 0 10px;flex-wrap:wrap}.vchips .fchip{font-size:12.5px;padding:6px 12px}
.vnums{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.vnums div{background:#f3f7fd;border-radius:14px;padding:10px 6px;text-align:center}
.vnums b{display:block;font-size:24px;color:#0b2a58;line-height:1.1}.vnums small{font-size:12px;color:#5b6b84}
.vnums div:last-child{background:#fff4e8}.vnums div:last-child b{color:#e07a10}
.vis p.sm{margin:8px 0 4px;font-size:12.5px}
.vsrc{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}.vsrc span{font-size:12px;background:#f1f3f7;border-radius:999px;padding:4px 10px}
.vbars{display:flex;align-items:flex-end;gap:4px;height:70px;margin-top:6px;direction:ltr}
.vbars i{flex:1;background:#b9cde9;border-radius:5px 5px 2px 2px;position:relative;min-height:4px}.vbars i.now{background:#f08a24}
.vbars em{position:absolute;top:-15px;left:0;right:0;text-align:center;font-style:normal;font-size:9.5px;color:#5b6b84}
.vlab{display:flex;justify-content:space-between;direction:ltr;font-size:11px;margin-top:3px}
.push-warn{font-size:12.5px;line-height:1.7;color:#9a4b00;background:#fff4e6;border:1px solid #ffd7a8;border-radius:14px;padding:8px 12px;margin:0 0 10px}
.to-agent{background:#e9f8ef;border:1.5px solid #9fdcb8;border-radius:18px;padding:12px;display:grid;gap:6px;text-align:center;margin:6px 0}
.to-agent b{color:#14753f;font-size:15.5px}.to-agent small{color:#3f5a4a;font-size:13px;line-height:1.6}
/* agent: payment at pickup */
.apay{display:grid;gap:8px}
.apay>b{font-size:15px;color:#0b2a58}
.apm{display:flex;gap:6px;flex-wrap:wrap}.apm .fchip{flex:1;justify-content:center;font-size:13px;padding:8px 6px}
.apay .qr{display:block;width:180px;max-width:70%;margin:2px auto;border-radius:12px;background:#fff;padding:6px}
.apay .cash-row{display:flex;gap:8px}.apay .cash-row input{flex:1}
.ok-line{color:#14753f;font-weight:700}
.agpush{display:grid;gap:6px;justify-items:center;text-align:center;font-size:12.5px;color:#2d4a6b;margin:0 0 10px}
.agpush small{font-size:12.5px;line-height:1.7}
.bad-line{color:#c62828}
.devs{margin:0 0 10px;font-size:12.5px}
.devl li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #eef1f6}
.devl li>div{display:grid;gap:2px}.devl small{color:#5b6b84;font-size:11.5px}
.me-tag{color:#e07a10}.linkish.red{color:#c62828}
/* trips */
.tripbar{display:flex;gap:6px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}.tripbar::-webkit-scrollbar{display:none}
.tripbar .fchip{white-space:nowrap;flex:0 0 auto;font-size:13px}
.tripcard h3 small{font-weight:600;color:#5b6b84;font-size:13px}
.tripcard .facts3{margin:8px 0}
.acct3.sm b{font-size:15px}
.bulktrip{flex-basis:100%;display:flex;gap:6px;align-items:center;margin-top:8px;font-size:13px;color:#fff;flex-wrap:wrap}
.bulktrip select{flex:1;min-width:150px}.bulktrip input{flex:1 1 100%;padding:8px 10px;border-radius:10px;border:0;font-size:14px}
.trip-line{display:flex;align-items:center;gap:8px;font-size:13.5px;margin-top:8px}.trip-line select{flex:1;padding:6px 8px}
.bulkbar{flex-wrap:wrap}
/* distribution: loading onto trucks */
.loadbar{position:relative;height:26px;border-radius:999px;background:#eef2f8;overflow:hidden;margin:6px 0 4px}
.loadbar i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#2fb36b,#22a05b);border-radius:999px;transition:width .3s}
html[dir=rtl] .loadbar i{inset:0 0 0 auto}
.loadbar span{position:relative;display:block;text-align:center;font-size:12.5px;font-weight:800;line-height:26px;color:#0b2a58}
.dinfo{display:grid;gap:1px;min-width:0;flex:1}.dinfo small{font-size:11.5px;color:#5b6b84;overflow:hidden;text-overflow:ellipsis}
.dinfo a{font-size:13px;color:#0a5aa8;text-decoration:none}
.rno small{font-size:9.5px}
.dact{flex-direction:column;align-items:stretch}
.ldbtn{border:1.5px solid #c9d8ee;background:#fff;color:#0b2a58;border-radius:10px;font-size:12px;font-weight:800;padding:6px 6px;white-space:nowrap}
.ldbtn.on{background:#22a05b;border-color:#22a05b;color:#fff}
.drow.loaded{background:linear-gradient(90deg,transparent,#effaf3)}
.dact .cbtn{width:100%;height:30px}
.dact .cbtn.ok{font-size:12px;font-weight:800}
.otabs2.two{grid-template-columns:1fr 1fr}.dist-head.row{display:flex;justify-content:space-between;align-items:center;gap:8px}
/* printable delivery sheets */
.dh-btns{display:flex;gap:6px}
#print-sheet{display:none}
@media print{
  @page{size:A4 landscape;margin:10mm}
  html.print-mode body>*:not(#print-sheet){display:none!important}
  html.print-mode #print-sheet{display:block!important}
  html.print-mode body{background:#fff!important}
  #print-sheet{direction:rtl;font-family:inherit;color:#000}
  .pp{page-break-after:always;break-after:page}
  .pp:last-child{page-break-after:auto;break-after:auto}
  .pp header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:3px solid #0b2a58;padding-bottom:6px;margin-bottom:8px}
  .pp header>div:first-child{display:grid}.pp-logo{font-size:20px;color:#0b2a58}.pp header small{font-size:11px;color:#444}
  .pp-gov{font-size:28px;font-weight:900;color:#0b2a58}
  .pp-meta{display:grid;gap:2px;font-size:12px;text-align:left}
  .pp table{width:100%;border-collapse:collapse;font-size:12.5px}
  .pp th{background:#e9eef7!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;border:1px solid #555;padding:5px 4px;font-size:11.5px}
  .pp td{border:1px solid #555;padding:6px 4px;vertical-align:middle;text-align:center}
  .pp td:nth-child(3),.pp td:nth-child(5){text-align:right}
  .pp-no{font-size:18px;font-weight:900}
  .pp-tel{font-size:12.5px;white-space:nowrap}
  .pp-c{font-size:15px;font-weight:800}
  .pp-box{font-size:20px;width:46px}
  .pp-sig{width:110px}
  .pp tr{page-break-inside:avoid;break-inside:avoid}
  .pp footer{display:flex;justify-content:space-between;margin-top:14px;font-size:12px}
}
.dthumbs{display:flex;gap:4px;margin-top:4px}.dthumbs img{width:44px;height:44px;object-fit:cover;border-radius:8px;border:1px solid #dbe3ef}
.dl-done li{padding:6px 0;border-bottom:1px solid #eef1f6;font-size:13px}
/* agent permissions */
.switch.perm{padding:10px 0;border-bottom:1px solid #eef1f6;align-items:center}
.switch.perm b{display:grid;gap:2px;font-size:14px}.switch.perm b small{font-weight:500;color:#5b6b84;font-size:12px}
.otabs2.n3{grid-template-columns:repeat(3,1fr)}.otabs2.n4{grid-template-columns:repeat(4,1fr)}.otabs2.n5{grid-template-columns:repeat(5,1fr)}
.perm-title{font-size:20px;margin:4px 2px 10px;color:#0b2a58}
.ohd-ib.on{background:#fff;color:#0b2a58}
/* moving news / ads bar on the customer home */
.ticker{display:block;overflow:hidden;margin:10px 0 2px;border-radius:14px;background:linear-gradient(90deg,#f08a24,#ffb24a);box-shadow:0 6px 18px rgba(240,138,36,.25);direction:ltr;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.tk-track{display:flex;width:max-content;animation:tk-run linear infinite}
.tk-track>div{display:flex;align-items:center;direction:rtl;white-space:nowrap;padding:9px 0}
.tk-track a{color:#1b1200;text-decoration:none;font-size:14px;font-weight:700;padding:0 14px}.tk-track a b{color:#fff;background:#0b2a58;border-radius:6px;padding:0 6px}
.tk-track i{font-style:normal;color:#fff;opacity:.85}
.ticker:active .tk-track,.ticker:hover .tk-track{animation-play-state:paused}
@keyframes tk-run{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media (prefers-reduced-motion:reduce){.tk-track{animation-duration:60s!important}}
.drates2 a{font-size:12px;color:#cfe2ff;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:99px;padding:5px 4px;flex:1;text-align:center;white-space:nowrap;text-decoration:none}.drates2 a:active{background:rgba(255,255,255,.16)}
/* home: «البحرين» in Bahrain red; title fits one line; chips never spill out (also with large phone fonts) */
.dh1 .bh{color:#ff4b55;font-weight:800;position:relative;display:inline-block}
.dh1 .bh::after{content:'';position:absolute;right:0;left:0;bottom:-3px;height:4px;border-radius:9px;background:linear-gradient(90deg,transparent,#e8112d)}
.dh1.sm{font-size:clamp(17px,5.4vw,22px)}
.dchips{gap:6px}
.dchips a{min-width:0;padding:9px 4px;font-size:clamp(11.5px,3.5vw,13.5px);gap:4px;overflow:hidden;text-overflow:ellipsis}
.dchips a .ic{flex:none;width:15px;height:15px}
.drates2{flex-wrap:wrap!important;gap:5px}
.drates2 a{flex:1 1 auto!important;min-width:0;font-size:clamp(11px,3.3vw,12.5px)!important;padding:6px 8px!important}
.dchips a{white-space:normal;line-height:1.25;text-align:center;flex-wrap:nowrap}
@media (max-width:370px){.dchips a .ic{display:none}}
.dh1.one{white-space:nowrap;font-size:min(22px,5.3vw)}
/* home must fit one screen again after the ticker was added (no up/down page movement) */
html,body{overscroll-behavior-y:none}
.dhome .ticker{margin-top:8px;border-radius:12px}.dhome .tk-track>div{padding:6px 0}.dhome .tk-track a{font-size:13px}
.dhome .first svg{max-height:60px}
.dhome .f-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.dhome .f-steps span{flex-direction:column;justify-content:center;text-align:center;gap:4px;padding:7px 4px;font-size:11.5px;line-height:1.3}
.dhome .f-steps span i{margin:0 auto}
.dhome .live svg{max-height:70px}
.dhome .cpush small{display:none}.dhome .cpush{padding:7px 12px}
.dhome .drates2{flex-wrap:nowrap!important}.dhome .drates2 a{flex:1 1 0!important;padding:6px 3px!important;font-size:clamp(10px,3vw,12px)!important;overflow:hidden;text-overflow:ellipsis}
.bcast summary{display:grid;gap:2px;cursor:pointer;list-style:none}.bcast summary::-webkit-details-marker{display:none}
.bcast summary small{color:#5b6b84;font-size:12px}.bcast form{margin-top:10px;display:grid;gap:8px}
.bcast textarea{width:100%;font-size:14px;line-height:1.6}
.bcast .btn.sure{background:#c62828}
.welcome .w-push{background:linear-gradient(90deg,#22a05b,#2fb36b)!important;font-size:17px;padding:14px}
.welcome .w-why{display:block;margin:-2px 22px 10px;color:#5b6b84!important;font-size:12.5px;line-height:1.6;text-align:center}
.welcome .w-ok{color:#14753f!important;font-weight:800;margin:0 18px 8px}
/* text shown to search engines (and for a split second before the app loads) */
.seo-pre{max-width:560px;margin:0 auto;padding:28px 20px;color:#cfe0ff;background:#0b2a58;min-height:100vh;font-size:15px;line-height:1.8}
.seo-pre h1{font-size:20px;color:#fff}.seo-pre h2{font-size:16px;color:#ffb24a;margin:16px 0 4px}.seo-pre a{color:#ffb24a}
/* first paint while the app checks the session: same navy as the phone's splash, no white flash, no text */
.boot{position:fixed;inset:0;display:grid;place-items:center;background:#071a3a;z-index:50}
.boot img{width:min(46vw,200px);animation:bootp 1.4s ease-in-out infinite alternate}
@keyframes bootp{from{opacity:.55}to{opacity:1}}
.seo-pre{background:#071a3a}
/* settings: one compact menu, each section opens in place */
.sset-list{display:grid;gap:0;background:var(--card,#fff);border-radius:18px;box-shadow:0 1px 3px rgba(11,42,88,.08);overflow:clip;margin-bottom:12px}
.sset{border-bottom:1px solid #eef2f8}.sset:last-of-type{border-bottom:0}
.sset>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:13px 14px}
.sset>summary::-webkit-details-marker{display:none}
.sset>summary::after{content:'‹';grid-column:3;font-size:22px;line-height:1;color:#9aa8bd;transition:transform .2s}
.sset[open]>summary::after{transform:rotate(-90deg)}
.sset-ic{width:34px;height:34px;border-radius:10px;background:#eef4fc;display:grid;place-items:center;font-size:17px}
.sset>summary b{font-size:15.5px}
.sset>summary small{grid-column:2;grid-row:2;margin-top:-6px;color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sset>summary .sset-ic{grid-row:1/3}
.sset>summary::after{grid-row:1/3}
.sset-b{padding:0 14px 14px;display:grid;gap:10px}
.sset-b h4{margin:6px 0 -6px;font-size:14.5px}
.sset[open]>summary{background:#f7faff}
.pgrp{border:1px solid #e6ecf5;border-radius:12px;padding:10px 12px}
.pgrp>summary{cursor:pointer;display:flex;gap:6px;align-items:center}
.pgrp[open]{display:grid;gap:8px}
#osettings .sticky-cta{padding:10px 14px}
.sset.warn>summary small{color:#c0392b}
.sset-b .vis{display:grid;gap:8px}
.sset-b .agpush,.sset-b .devs,.sset-b .push-warn{margin:0}
.sset-b form.form{display:grid;gap:10px}
/* labels sit exactly under their dots: every dot box is 24px, labels are centred on the same points */
.lsteps .s-next{width:24px;height:24px;background:radial-gradient(circle,#5d7fae 0 7.5px,transparent 8px)}
.llabels{position:relative;display:block;width:80%;height:18px;margin:2px auto 0}
.llabels span{position:absolute;top:0;right:calc(12px + (100% - 24px) * var(--i) / 4);transform:translateX(50%);white-space:nowrap}
.lsteps .s-next{background:radial-gradient(circle,#5d7fae 0 7.5px,transparent 8px),linear-gradient(rgba(255,255,255,.22),rgba(255,255,255,.22)) center/100% 3px no-repeat}
.lsteps .s-next:last-child{background:radial-gradient(circle,#5d7fae 0 7.5px,transparent 8px),linear-gradient(rgba(255,255,255,.22),rgba(255,255,255,.22)) right center/50% 3px no-repeat}
.owedl{display:grid;gap:6px;margin:0;padding:0}
.owedl li{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;background:#fdf3f3}
.owedl li>b{font-size:16px;color:#0b2a58}.owedl li span{display:grid;font-weight:600;font-size:14px}.owedl li small{font-weight:400;color:var(--muted);font-size:12px}
.owedl li em{font-style:normal;font-weight:800;color:var(--red);white-space:nowrap}
.drow.stopd{background:#f3f4f7}.drow.stopd .dinfo b{color:#6b7280}
.stopl{display:inline-block;margin-top:4px;padding:3px 10px;border-radius:999px;background:#2b3442;color:#fff;font-weight:700;font-size:12.5px}
.stopbtn{border:1px solid #e3c2c2;background:#fff;color:#b92129;border-radius:12px;padding:6px 8px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.stopbtn.on{border-color:#bfe3cc;color:#178a46}
.owedl li{grid-template-columns:auto 1fr auto auto auto}
.dact{flex:none;width:92px}.dact .stopbtn{padding:5px 4px;font-size:12px}
.dinfo a{white-space:nowrap}
.dgoods{margin-top:4px;border:1px solid #e3eaf4;border-radius:10px;background:#fff;padding:5px 9px;font-size:13px}
.dgoods summary{cursor:pointer;font-weight:700;color:#0a5aa8;list-style:none}.dgoods summary::-webkit-details-marker{display:none}
.dgoods summary::after{content:' ▾'}.dgoods[open] summary::after{content:' ▴'}
.dgoods ul{margin:6px 0 2px;padding:0 18px 0 0;display:grid;gap:2px}.dgoods p{margin:4px 0 0;color:#5b6b84}
.dthumbs.big{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.dthumbs.big img{width:72px;height:72px;object-fit:cover;border-radius:8px}
.boot.light{background:#f6f8fb}
/* the search-engine text never flashes on screen; it only shows if the app fails to start */
.seo-pre{animation:seoIn .3s 3s both}@keyframes seoIn{from{opacity:0}to{opacity:1}}
html.o .seo-pre{display:none}
/* empty cartons sheet */
.boxes{display:grid;gap:12px;text-align:center}.boxes h2{margin:0;font-size:20px}.boxes p{margin:0;color:var(--muted);font-size:14px}
.bx-ic{font-size:44px;line-height:1}
.bx-step{display:flex;align-items:center;justify-content:center;gap:22px}
.bx-step b{font-size:44px;min-width:60px;color:#0b2a58}
.bx-step button{width:52px;height:52px;border-radius:50%;border:0;background:#eef4fc;color:#0a5aa8;font-size:28px;font-weight:700;cursor:pointer}
.bx-step button:disabled{opacity:.35}
.bx-quick{display:flex;justify-content:center;gap:8px}
.bx-quick button{min-width:46px;padding:7px 0;border-radius:12px;border:1px solid #dbe5f2;background:#fff;font:inherit;font-weight:700;color:#0b2a58;cursor:pointer}
.bx-quick button.on{background:#0b2a58;color:#fff;border-color:#0b2a58}
.boxes h2{color:#0b2a58}.boxes .btn.ghost{margin-top:-4px}
/* announcement bar: a quiet glass strip (the orange is kept for the main button), with room around it */
.dhome .ticker{margin:12px 0 4px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,178,74,.35);box-shadow:none}
.dhome .tk-track>div{padding:7px 0}
.dhome .tk-track a{color:#ffd29a;font-weight:600;font-size:13px}.dhome .tk-track a b{background:#ff8a1f;color:#fff}
.dhome .tk-track i{color:#ffb24a;opacity:.7}
.dhome .ticker+.dcta,.dhome .ticker~.dcta{margin-top:16px}
/* announcement strip now sits under the chips, separating the top (booking) from the rest */
.dhome .dchips+.ticker{margin:12px 0 2px}
.dhome .ticker+.dcta{margin-top:12px}
.bx-price{font-size:15px!important;color:#0b2a58!important}.bx-price b{color:#e8710a}
/* announcement / ad strip: brand red, white text — visible enough to sell as ad space */
.dhome .ticker{background:linear-gradient(90deg,#b92129,#e53935);border:0;box-shadow:0 6px 16px rgba(229,57,53,.25)}
.dhome .tk-track a{color:#fff;font-weight:700}.dhome .tk-track a b{background:#fff;color:#b92129}.dhome .tk-track i{color:#ffd0cf}
/* first-shipment steps: three equal tiles, each text on two even lines */
.dhome .f-steps span{justify-content:flex-start;padding:9px 4px 8px;white-space:nowrap;font-size:clamp(11px,3.2vw,12.5px);line-height:1.35}
.dhome .dchips a{font-size:clamp(12px,3.4vw,13.5px)}
.dhome .drates2{flex-wrap:nowrap}.dhome .drates2 span{flex:1;text-align:center;white-space:nowrap;padding:5px 6px;font-size:clamp(10.5px,3.1vw,12.5px)}
.dhome .dcta small{white-space:nowrap}
.dhome .drates2 span{flex:1 1 auto;padding:5px 5px;overflow:visible;text-overflow:clip}
.dhome .drates2{gap:5px}.dhome .drates2 a{flex:1 1 auto!important;overflow:visible;text-overflow:clip;padding:6px 6px!important}
/* greeting + headline centred, like the registration page */
.dhome .dhello,.dhome .dh1{text-align:center;margin-inline:auto}
/* greeting sits in the top bar, between the logo and WhatsApp */
.dhello-top{flex:1;text-align:center;color:var(--dm);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 6px}
.dhome .dh1{margin-top:10px}
.dhello-top{font-size:clamp(12px,3.5vw,14px)}
/* more air at the top: header → headline → main button */
.dhome .dtop{padding-top:16px}
.dhome .dh1{margin-top:22px!important;margin-bottom:6px}
.dhome .dh1+.dcta{margin-top:20px!important}
.dhome .dchips{margin-top:14px}
/* light greeting tucked into the corner of the first-shipment card */
.dhome .first{position:relative}
.f-hi{position:absolute;top:10px;inset-inline-start:12px;font-size:12px;color:#9fc3f0;background:rgba(255,255,255,.07);border-radius:99px;padding:3px 10px;white-space:nowrap}
.dhome .dh1{margin-top:18px!important}
/* daily expenses */
.expf{display:grid;gap:10px}
.expcats,.expwho{display:flex;flex-wrap:wrap;gap:6px}
.expcats button,.expwho button{border:1px solid #dbe5f2;background:#fff;border-radius:999px;padding:6px 11px;font:inherit;font-size:13px;font-weight:600;color:#0b2a58;cursor:pointer}
.expcats button.on,.expwho button.on{background:#0b2a58;color:#fff;border-color:#0b2a58}
.expwho input{flex:1;min-width:110px}
.exptot{display:grid;gap:6px}.exptot>div{display:flex;justify-content:space-between;align-items:baseline}.exptot>div b{font-size:22px;color:#b92129}
.exptot p{margin:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13.5px;color:var(--muted)}.exptot p b{color:#0b2a58}
.expday .row h3{margin:0;font-size:15px}.expday .row>b{color:#b92129}
.exprow{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid #eef2f8}
.exprow .ic{font-size:20px}.exprow div{display:grid}.exprow small{color:var(--muted);font-size:12px}.exprow em{font-style:normal;font-weight:800;color:#0b2a58;white-space:nowrap}
.seg2.seg3{grid-template-columns:1fr 1fr 1fr}
/* petty cash + trip expenses */
.pcash{display:grid;gap:8px}.pcash h3{margin:0}
.pc-row{display:grid;grid-template-columns:auto 1fr 1fr 1.4fr;gap:8px;align-items:center;font-size:13px;padding:8px 10px;border-radius:12px;background:#f5f8fc}
.pc-row>b{font-size:15px;color:#0b2a58}.pc-row span{color:var(--muted)}.pc-row span b{color:#0b2a58}
.pc-row .pos b{color:#178a46}.pc-row .neg,.pc-row .neg b{color:#b92129}
.pc-hist summary,.pcadd>summary{cursor:pointer;font-weight:700;color:#0a5aa8}
.pcadd{padding:12px 14px}.pcadd[open]>summary{margin-bottom:10px}
.exptrips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.exptrips button{border:1px solid #dbe5f2;background:#fff;border-radius:999px;padding:6px 11px;font:inherit;font-size:13px;font-weight:600;color:#0b2a58;cursor:pointer}
.exptrips button.on{background:#0b2a58;color:#fff}
.trip-exp{margin:6px 0 0;font-size:13px;color:var(--muted)}.trip-exp b{color:#0b2a58}
.pc-row{cursor:pointer}.pc-row:active{background:#e8eff8}
.exptot p .linkish{font:inherit;font-size:13.5px;color:var(--muted);text-decoration:underline dotted}
.exptot .pos{color:#178a46}.exptot .neg{color:#b92129}
.advrow em{color:#178a46}.linkish.back{display:block;margin:4px 0 2px}
/* expenses page polish */
.exp-sub{margin:16px 2px 8px;font-size:15px;color:#0b2a58}
.exptot2{display:grid;gap:12px}
.et-head{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#0b2a58,#14427f);color:#fff;border-radius:14px;padding:14px 16px}
.et-head small{font-size:14px;color:#cfe0ff;font-weight:600}.et-head b{font-size:26px;font-weight:800}
.et-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.et-people button{display:grid;gap:2px;text-align:start;border:1px solid #dbe5f2;background:#f7faff;border-radius:14px;padding:10px 12px;font:inherit;cursor:pointer}
.et-people button span{font-size:15px;font-weight:700;color:#0b2a58}
.et-people button b{font-size:20px;font-weight:800;color:#b92129}
.et-people button small{font-size:12px;color:#0a5aa8;font-weight:600}
.et-people button:active{background:#e8eff8}
.pc-row{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;padding:10px 12px!important}
.pc-n{display:flex;justify-content:space-between;align-items:center}.pc-n b{font-size:15.5px;color:#0b2a58}.pc-n small{color:#0a5aa8;font-weight:600;font-size:12px}
.pc-s{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:6px}
.pc-s span{display:grid;background:#fff;border-radius:10px;padding:6px 8px}.pc-s small{font-size:11.5px;color:var(--muted)}.pc-s b{font-size:15px;white-space:nowrap;color:#0b2a58}
.pc-s .pos b{color:#178a46}.pc-s .neg b,.pc-s .neg small{color:#b92129}
/* old customers */
.oldchips{display:flex;gap:8px;overflow-x:auto;margin:12px 0 8px;padding-bottom:2px}
.oldtag{display:inline-block;font-size:11.5px;font-weight:700;color:#8a5a00;background:#fff3d6;border-radius:99px;padding:1px 8px;margin-inline-start:4px;vertical-align:middle}
.oldalt{display:block;font-size:12px;margin-top:1px}
.oldmsg{width:100%;font:inherit;font-size:14px;line-height:1.6;border:1px solid #dde3ea;border-radius:12px;padding:10px;resize:vertical}
.oldsteps{margin:0 0 10px;padding-inline-start:20px;font-size:13.5px;line-height:1.7}
.sset-b .btn.block+.btn.block{margin-top:8px}
.cust .ok-line .linkish{font-size:12px;color:var(--muted);text-decoration:underline}
/* old customers: cards by state */
.oldchips{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;overflow:visible}
.oldchips .fchip{padding:7px 4px;font-size:13px;text-align:center}
.ocust{border:1px solid #e6ebf1;border-inline-start:4px solid #d5dde6;gap:10px}
.ocust.sent{background:#f1faf4;border-color:#cdebd8;border-inline-start-color:#1e9e5a}
.ocust.reg{background:#f0f7fd;border-color:#d3e6f5;border-inline-start-color:#00639c}
.ocust.sent .cbtn.wa{background:#1e9e5a;color:#fff}
.cbtns{display:flex;gap:8px;flex:none}
.ostat{display:inline-block;margin-top:6px;border:0;border-radius:99px;padding:3px 10px;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.ostat.sent{background:#d9f2e3;color:#14753f}
.ostat.sent.sure{background:#fff1e0;color:#b25e00}
.ostat.reg{background:#dcecf9;color:#00639c;cursor:default}
/* old customers: coloured filter tiles (same shape as the orders tiles) */
.oldsq{margin:12px 0 10px}
.oldsq .o-new{background:#fff8ef;border-color:#f6dcb8;color:#a8620f}.oldsq .o-new span{color:#e07a10}
.oldsq .o-sent{background:#f1faf4;border-color:#cdebd8;color:#1d7a47}.oldsq .o-sent span{color:#1e9e5a}
.oldsq .o-reg{background:#f0f7fd;border-color:#d3e6f5;color:#22618f}.oldsq .o-reg span{color:#00639c}
.oldsq .o-new.on{background:#f08a24;border-color:#f08a24;color:#fff4e6}
.oldsq .o-sent.on{background:#1e9e5a;border-color:#1e9e5a;color:#e3f6eb}
.oldsq .o-reg.on{background:#00639c;border-color:#00639c;color:#d8ecfb}
.oldsq .o-all.on{background:#0b2a58;border-color:#0b2a58;color:#d6e2f3}
.oldsq button.on span{color:#fff}
/* office: order for a customer */
.px-new{margin:10px 0 2px;border:1.5px dashed #9fc3df;color:#00639c;font-weight:700}
.px-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 6px}
.px-head h2{margin:0;font-size:18px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.office .block h2 .num{background:#00639c}
