:root {
  --pink: #d6336c; --pink-d: #b02558; --pink-l: #fde8ef;
  --ink: #1f2430; --muted: #6b7280; --line: #e5e7eb; --bg: #f6f7f9; --card: #fff;
  --ok: #15803d; --ok-l: #dcfce7; --warn: #b45309; --warn-l: #fef3c7; --bad: #b91c1c; --bad-l: #fee2e2;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 15px/1.5 -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", "Hind Siliguri", sans-serif; color: var(--ink); background: var(--bg); padding-bottom: 90px; }
h1 { font-size: 24px; margin: 0 0 4px; } h2 { font-size: 18px; margin: 0 0 12px; } h3 { font-size: 16px; margin: 0; }
a { color: var(--pink-d); }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .right { text-align: right; }

.topbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 24px; background: #fff; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.brand { font-weight: 700; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; } .brand:hover { color: inherit; } .brand small { color: var(--muted); font-weight: 400; }
.topbar-right { display: flex; align-items: center; gap: 14px; } .topbar-right form { margin: 0; }
.logo { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 700; }
.logo.sm { width: 36px; height: 36px; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.pill-test { background: var(--warn-l); color: var(--warn); } .pill-live { background: var(--ok-l); color: var(--ok); }
button.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; }

.stepper { display: flex; gap: 6px; padding: 16px 24px 0; max-width: none; margin: 0; overflow-x: auto; }
.step { flex: 1 1 0; min-width: 0; display: flex; text-decoration: none; color: inherit; }
.step a { text-decoration: none; color: inherit; }
.step a, .step.locked { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); flex: 1; }
.step .bubble { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--muted); font-weight: 700; flex: none; }
.step .label { display: flex; flex-direction: column; line-height: 1.25; } .step .label i { font-style: normal; font-size: 12px; color: var(--muted); }
.step.done .bubble { background: var(--ok); color: #fff; }
.step.current a { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-l); } .step.current .bubble { background: var(--pink); color: #fff; }
.step.locked { opacity: .55; }

.container { max-width: none; width: 100%; margin: 20px 0; padding: 0 24px; box-sizing: border-box; }
.page-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 16px; flex-wrap: wrap; }
.page-head p { margin: 0; max-width: 900px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.empty { text-align: center; color: var(--muted); padding: 40px; }

.flash { padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; border: 1px solid; }
.flash-info { background: #e0f2fe; color: #075985; border-color: #bae6fd; } .flash-warn { background: var(--warn-l); color: var(--warn); border-color: #fde68a; }
.flash-error { background: var(--bad-l); color: var(--bad); border-color: #fecaca; }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: #f3f4f6; } .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--pink); border-color: var(--pink); color: #fff; } .btn-primary:hover { background: var(--pink-d); }
.btn-lg { padding: 12px 22px; font-size: 16px; } .btn-small { padding: 5px 10px; font-size: 13px; } .btn-block { width: 100%; justify-content: center; }
.btn-link { border-color: transparent; background: none; color: var(--muted); } .btn-hidden { display: none; }
.btn-ok.is-on, .btn-ok:hover { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn-no.is-on, .btn-no:hover { background: var(--bad); color: #fff; border-color: var(--bad); }

input[type=text], input[type=search], input[type=password], input[type=number], input[type=datetime-local], select, textarea {
  font: inherit; padding: 8px 10px; border: 1px solid #cfd4dc; border-radius: 9px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pink-l); border-color: var(--pink); }
textarea { resize: vertical; line-height: 1.55; }
input, select, textarea { font-weight: 400; }
label { display: block; font-weight: 600; margin-bottom: 12px; } label small { font-weight: 400; color: var(--muted); }
label.check { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 8px 0 0; } label.check input { width: auto; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.fields label { margin-bottom: 0; }
.narrow { max-width: 130px; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input[type=search] { width: 240px; } .toolbar select { width: auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.deal { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; margin: 0; font-weight: 400; transition: border-color .12s, box-shadow .12s; }
.deal-dates { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 12.5px; color: var(--ink); margin-top: 2px; line-height: 1.35; }
.deal-dates .sep { color: var(--muted); }
.deal-dates .days { font-weight: 600; color: var(--ok); background: var(--ok-l); padding: 1px 7px; border-radius: 99px; font-size: 11.5px; }
.deal-dates .days.soon { color: var(--warn); background: var(--warn-l); }
.deal-place { font-size: 12.5px; line-height: 1.35; display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.deal-place .place-branch { background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.deal-place .place-branch.ok { background: var(--ok-l); border-color: #bbf7d0; }
.deal-place .place-branch.no { background: var(--bad-l); border-color: #fecaca; }
.deal-place .place-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.deal-place .place-web { font-weight: 600; }
.deal:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); } .deal.picked { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-l); }
.deal input[type=checkbox] { position: absolute; opacity: 0; }
.deal .tick { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid #cbd5e1; color: transparent; display: grid; place-items: center; font-weight: 700; }
.deal.picked .tick { background: var(--pink); border-color: var(--pink); color: #fff; }
.thumb { height: 170px; flex: none; overflow: hidden; background: #f1f5f9; display: grid; place-items: center; } .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.noimg { color: var(--muted); font-size: 13px; }
.deal-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.brand-line { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); min-height: 16px; }
.title { font-weight: 600; line-height: 1.3; } .price-line { font-size: 17px; }
.badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.badge { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: #eef2ff; color: #3730a3; display: inline-block; }
.badge-promo { background: var(--pink-l); color: var(--pink-d); } .badge-ok { background: var(--ok-l); color: var(--ok); }
.badge-warn { background: var(--warn-l); color: var(--warn); } .badge-bad { background: var(--bad-l); color: var(--bad); } .badge-muted { background: #e5e7eb; color: #4b5563; }

.actionbar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; z-index: 5; }
.actionbar .actions { display: flex; align-items: center; gap: 14px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; } th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); } .r { text-align: right; } th.r { text-align: right; }
.prod { display: flex; gap: 10px; align-items: center; min-width: 240px; } .prod img { width: 48px; height: 48px; object-fit: contain; background: #f1f5f9; border-radius: 8px; }
.price-cell b { font-size: 17px; color: var(--pink-d); }

.post-edit { display: grid; grid-template-columns: 1fr 360px; gap: 22px; }
.edit-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.file-btn { margin: 0; cursor: pointer; }
.fb-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.fb-head { display: flex; gap: 10px; padding: 12px; align-items: center; }
.fb-text { padding: 0 12px 12px; white-space: pre-wrap; word-break: break-word; font-size: 14.5px; }
.order-hint { margin: 0 0 8px; }
.order-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.order-btns .btn.is-on { border-color: var(--pink); background: var(--pink-l); color: var(--pink-d); }
.fb-stack { display: flex; flex-direction: column; gap: 0; }
.fb-block { cursor: grab; border: 1px dashed transparent; border-radius: 8px; }
.fb-block:hover { border-color: var(--line); }
.fb-block.dragging { opacity: .55; cursor: grabbing; }
.fb-img { width: 100%; display: block; max-height: 380px; object-fit: contain; background: #f1f5f9; }
.fb-noimg { background: #f1f5f9; color: var(--muted); text-align: center; padding: 24px; font-size: 13px; }

.review-grid { display: flex; flex-direction: column; gap: 14px; }
.review { display: grid; grid-template-columns: 380px 1fr; gap: 22px; align-items: start; border-left: 5px solid var(--line); }
.review.approved { border-left-color: var(--ok); } .review.rejected { border-left-color: var(--bad); opacity: .7; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 12px 0; } .facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
.warnings { background: var(--warn-l); color: var(--warn); border-radius: 10px; padding: 10px 14px 10px 30px; margin: 10px 0; font-size: 13.5px; }
.decide { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .decide form { margin: 0; }

.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; cursor: pointer; }
.choice input { width: auto; margin-top: 5px; } .choice small { display: block; font-weight: 400; color: var(--muted); }
.schedule-fields { max-width: 520px; margin-top: 8px; }
.ready-list { list-style: none; padding: 0; margin: 0; } .ready-list li { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.ready-list img { width: 44px; height: 44px; object-fit: contain; background: #f1f5f9; border-radius: 8px; }
.err { color: var(--bad); } .done { text-align: center; padding: 30px; }

.login { max-width: 380px; margin: 60px auto; }

@media (max-width: 1100px) { .step .label i { display: none; } .step a, .step.locked { padding: 8px 10px; gap: 8px; } }
@media (max-width: 860px) {
  .post-edit, .review { grid-template-columns: 1fr; }
  .container { padding: 0 14px; } .stepper { padding: 12px 14px 0; }
  .step .label b { font-size: 13px; }
}

/* step 2: cargo rate card */
h3.sub { margin: 18px 0 8px; font-size: 15px; } h3.sub small { font-weight: 400; }
.ratecard td, .ratecard th { vertical-align: middle; } .ratecard input { text-align: right; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.choice.tier { margin: 0; } .choice.tier b { display: block; }
input.tiny { width: 70px; display: inline-block; padding: 4px 6px; text-align: right; }
select.compact { padding: 6px 8px; min-width: 150px; font-size: 13.5px; }
.prices tr.main td { border-bottom: 0; padding-bottom: 2px; }
.prices tr.formula td { padding: 0 8px 12px 66px; font-size: 12.5px; color: var(--muted); }
th small { text-transform: none; letter-spacing: 0; font-weight: 400; }

/* step 1: filters */
.pick-head { align-items: flex-start; gap: 20px 28px; flex-wrap: wrap; }
.pick-copy { flex: 1 1 280px; max-width: 460px; min-width: 0; }
.pick-copy h1 { margin: 0 0 6px; }
.pick-copy p { max-width: none; margin: 0; }
.pick-copy .place-hint { margin-top: 8px; }
.pick-filters { flex: 1 1 320px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-start; justify-content: flex-end; min-width: 0; }
.pick-filters .chips { flex: 1 1 240px; justify-content: flex-end; }
.pick-filters .chips-brands { border-top: 0; padding-top: 0; }
.refresh-box { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin: 0; flex: 0 0 auto; }
.filter-card { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.chips-brands { padding-top: 2px; border-top: 1px dashed var(--line); }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13.5px; }
.chip span { font-size: 11.5px; color: var(--muted); font-weight: 600; background: #f1f5f9; border-radius: 99px; padding: 0 6px; }
.chip:hover { border-color: var(--pink); }
.chip.on { background: var(--pink); border-color: var(--pink); color: #fff; } .chip.on span { background: rgba(255,255,255,.25); color: #fff; }
.chip-sm { padding: 3px 9px; font-size: 12.5px; font-weight: 500; }
.toolbar-inline { margin: 0; padding-top: 0; border-top: 0; }
.more-filters { border-top: 1px dashed var(--line); padding-top: 6px; }
.more-filters > summary { cursor: pointer; color: var(--muted); font-size: 13.5px; font-weight: 600; list-style: none; }
.more-filters > summary::-webkit-details-marker { display: none; }
.more-filters[open] > summary { margin-bottom: 8px; }
.fav-words { display: flex; flex-direction: column; gap: 8px; }
.extra-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.extra-chips .chip { cursor: pointer; font: inherit; }
.fav-add { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.fav-add input { flex: 1 1 240px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.nomatch { margin: 0; }
.section-title { margin: 18px 0 10px; font-size: 17px; } .section-title small { font-weight: 400; font-size: 13.5px; }
.history-table { width: 100%; border-collapse: collapse; }
.history-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.history-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.history-table .prod { display: flex; gap: 10px; align-items: center; }
.history-table .prod img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: #f3f4f6; }
.flag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 8px; }
.deal.is-fav { border-color: #f4b6cb; }
.deal.is-fav.picked { border-color: var(--pink); }
.fav-flag { position: absolute; top: 10px; left: 10px; z-index: 1; background: #fff; color: var(--pink-d); border: 1px solid #f4b6cb; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.badge-fav { background: #fff1c2; color: #8a5a00; }

/* step 2: bag planner */
.bag-top { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 10px; }
.bag-top label { width: 160px; margin: 0; }
.bag-stats { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.stat { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; min-width: 96px; }
.stat small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; } .stat b { font-size: 16px; }
.tier-hint { padding: 9px 14px; border-radius: 10px; background: var(--ok-l); color: var(--ok); margin-bottom: 12px; font-weight: 500; }
.tier-hint.warn { background: var(--warn-l); color: var(--warn); }
.bag-layout { display: grid; grid-template-columns: minmax(340px, 560px) 1fr; gap: 20px; align-items: start; }
.legend td, .legend th { padding: 7px 6px; } .legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; flex: none; }
.lg-name { display: flex; align-items: center; min-width: 150px; } .lg-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 13.5px; line-height: 1.25; }
.lg-row.hl td { background: var(--pink-l); }
.stepper-q { display: inline-flex; gap: 4px; align-items: center; } .stepper-q input { width: 58px; text-align: center; padding: 5px 4px; }
.bags { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.bag { width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.bag.over { border-color: var(--bad); }
.bag-title { font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.bag-wrap { position: relative; padding-left: 22px; }
.ruler { position: absolute; left: 0; top: 0; bottom: 0; width: 20px; } .ruler span { position: absolute; left: 0; font-size: 10px; color: var(--muted); transform: translateY(50%); line-height: 1; }
.bag-body { position: relative; display: flex; flex-direction: column-reverse; border: 2px solid #94a3b8; border-top-style: dashed; border-radius: 4px 4px 14px 14px; background-color: #f8fafc; overflow: hidden; }
.seg { flex: none; min-height: 3px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; border-top: 1px solid rgba(255,255,255,.65); cursor: pointer; text-shadow: 0 1px 1px rgba(0,0,0,.35); transition: opacity .12s, filter .12s; }
.has-hl .seg { opacity: .3; } .has-hl .seg.hl { opacity: 1; filter: saturate(1.2); }
.bag-foot { margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.bag-kg { font-weight: 700; font-size: 13.5px; } .free { color: var(--warn); font-weight: 600; } .ok { color: var(--ok); font-weight: 600; }
.bag-foot .fill { margin-top: 4px; justify-content: center; color: var(--pink-d); border-color: #f4b6cb; }
@media (max-width: 900px) { .bag-layout { grid-template-columns: 1fr; } }
.lg-name .badge { white-space: nowrap; flex: none; margin-left: 6px; }

/* find product + customer requests */
.topsearch { flex: 1 1 280px; max-width: 460px; margin: 0; } .topsearch input { border-radius: 99px; background: #f3f4f6; padding: 7px 14px; }
.navlink { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); } .navlink:hover { color: var(--pink-d); }
.count { background: var(--pink); color: #fff; border-radius: 99px; padding: 0 7px; font-size: 12px; }
.batchbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: #fff7e6; border-bottom: 1px solid #fde68a; padding: 8px 24px; font-size: 14px; } .batchbar form { margin: 0; }
.bigsearch input[type=search] { width: min(560px, 100%); font-size: 16px; padding: 11px 14px; }
.findcard { cursor: default; } .findcard:hover { box-shadow: none; }
.startform { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 8px; } .startform label { margin-bottom: 6px; }
.request.closed { opacity: .6; }
.req-head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.req-head h3 { margin-bottom: 2px; } form.inline { display: inline; margin: 0; } form.inline select { width: auto; padding: 5px 8px; }
.req-product { display: flex; gap: 12px; align-items: center; margin: 12px 0; padding: 10px; background: #f8fafc; border-radius: 10px; }
.req-product img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; }
.quote { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.quote-box { border: 1px solid var(--line); border-radius: 10px; padding: 10px; } .quote-box pre { white-space: pre-wrap; font: inherit; margin: 6px 0 8px; }

/* buying list */
.fields.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.branch { margin-top: 12px; padding: 10px 14px; background: #f8fafc; border-radius: 10px; font-size: 14px; }
.seller-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; } .seller-head h2 { margin-bottom: 4px; }
.big { font-size: 22px; color: var(--pink-d); }
.buy td { vertical-align: top; } .buy .prod { min-width: 260px; }
.sheet { margin-top: 10px; } .sheet summary { cursor: pointer; font-weight: 600; } .sheet pre { white-space: pre-wrap; background: #f8fafc; padding: 10px; border-radius: 8px; font: 13px/1.5 ui-monospace, Menlo, monospace; }
.printonly { display: none; }
@media print {
  .topbar, .stepper, .batchbar, .noprint, .actionbar, .flash, .walk { display: none !important; }
  html.walking .walk-panel { display: block !important; }
  .printonly { display: block; } body { background: #fff; padding: 0; } .card { break-inside: avoid; border-color: #ccc; }
  .sheet:not([open]) pre { display: block; } details.sheet > summary { display: none; }
}

/* branches page */
.find-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.find-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.find-form input { min-width: 180px; }
.local-add input { min-width: 160px; }
.local-add label:nth-child(2) input { min-width: 280px; }
.search-input { min-width: 240px; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 8px; }
.branch-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 6px; background: var(--card); }
.branch-card.is-pref { border-color: var(--ok); box-shadow: 0 0 0 2px var(--ok-l); }
.branch-title { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pill-code { font-size: 11px; color: var(--muted); background: #f1f5f9; padding: 2px 8px; border-radius: 99px; }
.tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.tag-ok { background: var(--ok-l); color: var(--ok); }
.btn-small { padding: 6px 10px; font-size: 13px; }

/* step 2: keep advanced settings out of the way */
details.adv { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
details.adv > summary { cursor: pointer; font-weight: 600; color: var(--muted); font-size: 14px; }
details.adv[open] > summary { margin-bottom: 10px; }
.fx-note { margin: 10px 0 0; line-height: 2.1; } .fx-note .btn { margin-left: 6px; }
.bag-note { margin: 10px 0 0; }

/* removing products in the bag planner */
.lg-row .rm { margin-left: 4px; white-space: nowrap; padding: 5px 8px; }
.lg-row.removed .lg-name, .lg-row.removed .lg-kg, .lg-row.removed td.r:nth-child(2) { opacity: .4; }
.lg-row.removed .lg-title { text-decoration: line-through; }
tr.is-removed { opacity: .35; }
tr.is-removed td { text-decoration: line-through; }
.bag .seg { cursor: pointer; }

/* step 2 walkthrough: one section at a time */
.walk { display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; }
.walk button { flex: 1; min-width: 150px; display: flex; align-items: center; gap: 8px; text-align: left; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; cursor: pointer; }
.walk button .bubble { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--muted); font-weight: 700; flex: none; }
.walk button .label { display: flex; flex-direction: column; line-height: 1.2; } .walk button .label i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 400; }
.walk button.is-current { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-l); } .walk button.is-current .bubble { background: var(--pink); color: #fff; }
.walk button.is-done .bubble { background: var(--ok); color: #fff; }
.walk button:disabled { opacity: .45; cursor: default; }
html.walking .walk-panel { display: none; }
html.walking[data-price-part="1"] .walk-panel[data-panel="1"],
html.walking[data-price-part="2"] .walk-panel[data-panel="2"],
html.walking[data-price-part="3"] .walk-panel[data-panel="3"],
html.walking[data-price-part="4"] .walk-panel[data-panel="4"] { display: block; }
html.walking:not([data-price-part="4"]) #walk-recalc,
html.walking:not([data-price-part="4"]) #walk-save { display: none; }
html.walking[data-price-part="4"] #walk-next { display: none; }
html.walking:not([data-price-part="1"]) #walk-exit { display: none; }
html.walking[data-price-part="1"] #walk-prev { display: none !important; }

/* cargo forwarder contact */
.cargo-contact { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin: 12px 0; padding: 10px 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; }
.cargo-contact .cargo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pick-list .pick-post { display: flex; gap: 12px; align-items: center; margin: 0; font-weight: 400; width: 100%; }
.pick-list .pick-post input { width: auto; flex: none; }
.pick-list li { list-style: none; margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pick-list { margin: 0; padding: 0; }
