:root, [data-theme="mos"] {
  /* Match myordersupply.com — porcelain / midnight navy / champagne */
  --sky-1: #f4f1ec;
  --sky-2: #e7eaf0;
  --sky-3: #a07a43;
  --sky-deep: #1f2a3c;

  --rose: var(--sky-3); --rose-d: var(--sky-deep); --rose-l: #f4ede1;
  --teal: var(--sky-deep); --teal-d: #151d2b; --teal-l: var(--sky-2);
  --amber: #a07a43; --amber-d: #7f5f31; --amber-l: #f4ede1;
  --pink: var(--rose); --pink-d: var(--rose-d); --pink-l: var(--rose-l);
  --ink: #1c2029; --muted: #6b7080; --line: var(--sky-2); --bg: var(--sky-1); --card: #ffffff;
  --ok: #2f6b55; --ok-l: #e6f2ed; --warn: var(--amber); --warn-l: var(--amber-l); --bad: #b3261e; --bad-l: #fdecea;
  --accent: #a07a43; --accent-soft: #f4ede1;
  --radius: 14px;
  --touch: 44px;
  --shadow: 0 1px 2px rgba(28, 32, 41, 0.05), 0 10px 28px rgba(28, 32, 41, 0.07);
  --font: "Plus Jakarta Sans", "Hind Siliguri", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

[data-theme="sky"] {
  --sky-1: #ddeffd; --sky-2: #add4fb; --sky-3: #93c7f0; --sky-deep: #3d7eb5;
  --ink: #16324f; --muted: #5a7a94; --bg: var(--sky-1); --line: var(--sky-2);
  --accent: var(--sky-3); --accent-soft: var(--sky-2);
}

[data-theme="aqua"] {
  --sky-1: #bed7d7; --sky-2: #819d9e; --sky-3: #819d9e; --sky-deep: #536266;
  --ink: #2f3b3e; --muted: #5a6b6c; --bg: var(--sky-1); --line: var(--sky-2);
}

[data-theme="silver"] {
  --sky-1: #e4e4e4; --sky-2: #c1c1c1; --sky-3: #c36c69; --sky-deep: #314150;
  --ink: #24333d; --muted: #5c6b76; --bg: var(--sky-1); --line: var(--sky-2);
}

[data-theme="seaside"] {
  --sky-1: #c4e5e3; --sky-2: #68bcd9; --sky-3: #68bcd9; --sky-deep: #224e82;
  --ink: #16324f; --muted: #4a6a80; --bg: var(--sky-1); --line: var(--sky-2);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; font: 15px/1.55 var(--font); color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--sky-1) 48%, #fbeee2 100%);
  padding-bottom: 96px; -webkit-tap-highlight-color: transparent;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display, var(--font)); }
.show-mobile-brief { display: none; }
.app-dock { display: none; }
.mobile-step-banner { display: none; }
.mobile-step-summary { display: none; }
h1 { font-size: 22px; margin: 0 0 4px; letter-spacing: -0.02em; } h2 { font-size: 17px; margin: 0 0 10px; } h3 { font-size: 15px; margin: 0; }
a { color: var(--rose-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 20px;
  background: rgba(255, 255, 255, 0.86); border-bottom: 1px solid var(--sky-2);
  gap: 10px; flex-wrap: wrap; position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { font-weight: 700; display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; letter-spacing: -0.02em; } .brand:hover { color: inherit; } .brand small { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.topbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .topbar-right form { margin: 0; }
.theme-picker {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 6px; border-radius: 999px;
  border: 1px solid var(--sky-2); background: rgba(255,255,255,0.7);
}
.theme-swatch {
  width: 20px; height: 20px; border-radius: 999px; display: block;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent);
  background: linear-gradient(135deg, var(--s1) 0 33%, var(--s2) 33% 66%, var(--s3) 66% 100%);
  flex: none;
}
.theme-swatch.on { box-shadow: 0 0 0 2px var(--sky-deep); }
.nav-toggle { display: none; width: var(--touch); height: var(--touch); border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 20px; cursor: pointer; }
.logo {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--sky-deep); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0;
}
.logo.sm { width: 36px; height: 36px; }
.pill { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; }
.pill-test { background: var(--amber-l); color: var(--amber-d); } .pill-live { background: var(--ok-l); color: var(--ok); }
button.link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; min-height: 36px; }

.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: 8px; background: #fff; border: 1px solid var(--line); flex: 1; }
.step .bubble { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--line); color: var(--muted); font-weight: 700; flex: none; font-size: 13px; }
.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(--sky-deep); color: #fff; }
.step.current a { border-color: var(--sky-3); box-shadow: 0 0 0 2px var(--sky-1); background: #fff; } .step.current .bubble { background: var(--sky-deep); color: #fff; }
.step.locked { opacity: .55; }

.container { max-width: none; width: 100%; margin: 16px 0; padding: 0 20px; box-sizing: border-box; }
.page-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; 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: 16px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }

.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; border: 1px solid; }
.flash-info { background: var(--teal-l); color: var(--teal-d); border-color: var(--accent-soft); } .flash-warn { background: var(--amber-l); color: var(--amber-d); border-color: #fde68a; }
.flash-error { background: var(--bad-l); color: var(--bad); border-color: #fecaca; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--sky-2); background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--sky-1); border-color: var(--sky-3); } .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; } .btn-primary:hover { background: #2f6491; border-color: #2f6491; }
.btn-lg { min-height: var(--touch); padding: 12px 22px; font-size: 16px; } .btn-small { min-height: 34px; 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: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; width: 100%; min-height: 42px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sky-2); border-color: var(--sky-deep); }
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(240px, 1fr)); gap: 12px; }
.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, transform .12s; user-select: none; }
.deal-dates { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; 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: 700; color: var(--teal); background: var(--teal-l); padding: 2px 8px; border-radius: 99px; font-size: 11.5px; }
.deal-dates .days.soon { color: var(--amber-d); background: var(--amber-l); }
.deal-place { font-size: 12.5px; line-height: 1.35; display: flex; flex-direction: column; gap: 3px; margin-top: 2px; }
.deal-place.compact .place-branch { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.deal-place .place-seller { color: var(--muted); font-size: 12px; }
.deal-place .place-branch { background: var(--teal-l); border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px 8px; color: var(--teal-d); font-weight: 600; }
.deal-place .place-branch.ok { background: var(--ok-l); border-color: #bbf7d0; color: var(--ok); }
.deal-place .place-branch.no { background: var(--bad-l); border-color: #fecaca; color: var(--bad); }
.deal-place .place-links { display: inline-flex; flex-wrap: wrap; gap: 8px; font-weight: 600; }
.deal-place .place-web { font-weight: 600; color: var(--teal-d); text-decoration: none; }
.deal-place .place-web:hover { text-decoration: underline; }
.shop-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.shop-pick-chip { display: inline-flex; align-items: stretch; gap: 0; max-width: 100%; }
.shop-pick-chip .shop-tag {
  border-top-right-radius: 0; border-bottom-right-radius: 0;
}
.shop-use-btn {
  margin: 0 !important; padding: 2px 8px !important; font-size: 11px !important;
  font-weight: 700; line-height: 1.4; min-height: 0 !important; height: auto !important;
  border-radius: 0 999px 999px 0 !important; border-left: 0 !important;
}
.shop-pick-chip.is-in-use {
  box-shadow: 0 0 0 2px #059669;
  border-radius: 999px;
}
.shop-pick-chip.is-in-use .shop-tag {
  background: #ecfdf5 !important;
  border-color: #059669 !important;
  color: #065f46 !important;
}
.shop-pick-chip.is-in-use .shop-use-btn {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #fff !important;
}
tr.web-row-flash td { background: #ecfdf5; transition: background .3s ease; }
.web-row-featured {
  display: inline-flex; align-items: center; gap: 4px;
  margin: 0 6px 4px 0; font-size: 12px; font-weight: 600; white-space: nowrap;
}
td[data-web-actions] { min-width: 11rem; }
.web-hub-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.web-hub-panel {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.web-hub-panel h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.web-thai-edit {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 6px; justify-content: flex-end; flex-wrap: wrap;
}
.web-thai-edit input[data-web-thai-input],
.web-thai-edit input[data-web-kg-input],
.web-thai-edit input[data-web-cargo-input] {
  width: 5.2rem; padding: 2px 6px; font-size: 12px; font-weight: 700;
  border: 1px solid var(--line); border-radius: 6px; text-align: right;
}
.web-thai-edit input[data-web-kg-input] { width: 4.4rem; }
.web-thai-edit .btn { padding: 2px 8px !important; font-size: 11px !important; min-height: 0 !important; }
.shop-tag {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-decoration: none; border: 1px solid var(--line);
  background: #fff; color: var(--ink); line-height: 1.4;
}
.shop-tag:hover { filter: brightness(0.97); text-decoration: none; }
.shop-tag.shop-makro { background: #f1f5f9; border-color: #cbd5e1; color: #334155; }
.shop-tag.shop-shopee { background: #fff7ed; border-color: #fdba74; color: #c2410c; }
.shop-tag.shop-lazada { background: #f8fafc; border-color: #94a3b8; color: #1e293b; }
.shop-tag.shop-google { background: #f8fafc; border-color: #cbd5e1; color: #334155; }
.shop-tag.shop-store { background: #f8fafc; border-color: #94a3b8; color: #475569; }
.shop-tags.is-loading::after {
  content: "…"; color: var(--muted); font-size: 11px; padding: 2px 4px;
}
.deal:hover { box-shadow: var(--shadow); } .deal.picked { border-color: var(--sky-3); box-shadow: 0 0 0 2px var(--sky-1); }
.deal:active { transform: scale(.985); }
.deal input[type=checkbox] { position: absolute; opacity: 0; }
.deal .tick { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 8px; background: #fff; border: 2px solid var(--sky-2); color: transparent; display: grid; place-items: center; font-weight: 700; z-index: 2; }
.deal.picked .tick { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.thumb { height: 150px; 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: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.brand-line { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); min-height: 14px; }
.title { font-weight: 600; line-height: 1.3; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .price-line { font-size: 17px; display: flex; gap: 8px; align-items: baseline; }
.badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.badge { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: #e2e8f0; color: #334155; display: inline-block; letter-spacing: 0.02em; }
.badge-promo { background: var(--rose-l); color: var(--rose-d); } .badge-ok { background: var(--ok-l); color: var(--ok); }
.badge-warn { background: var(--amber-l); color: var(--amber-d); } .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(221,239,253,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--sky-2); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; align-items: center; gap: 12px; z-index: 45; }
.actionbar .actions { display: flex; align-items: center; gap: 10px; }
.actionbar .pick-summary { font-size: 15px; }
.actionbar .pick-summary b { color: var(--rose-d); font-size: 18px; }

.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-img-wrap { position: relative; background: #f1f5f9; }
.fb-img-wrap .fb-img { max-height: 380px; }
.price-sticker {
  position: absolute; top: 3%; right: 3%;
  background: var(--sky-deep); color: #fff; font-weight: 800;
  font-size: clamp(14px, 4.2vw, 22px); line-height: 1;
  padding: 0.45em 0.7em; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(61,126,181,.25); pointer-events: none;
  letter-spacing: 0.01em;
}
.fb-img-wrap.no-tag .price-sticker { display: none; }
.tag-toggle { margin: 4px 0 10px; }
.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; }

.desk-hub { max-width: 920px; margin: 28px auto 48px; }
.desk-hub-head { margin-bottom: 1.4rem; }
.desk-hub-head h1 { margin: 0.15rem 0 0.45rem; font-size: 1.65rem; }
.desk-hub-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
}
.desk-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.desk-country-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--panel, #fff) 92%, transparent);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.desk-country-card:not(.is-soon):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}
.desk-country-card.is-soon { opacity: 0.72; }
.desk-country-link {
  display: grid;
  gap: 0.45rem;
  padding: 1.05rem 1.1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.desk-country-flag { font-size: 1.7rem; line-height: 1; }
.desk-country-names { display: grid; gap: 0.1rem; }
.desk-country-names strong { font-size: 1.05rem; }
.desk-country-names small { color: var(--muted); font-size: 0.82rem; }
.desk-country-meta { color: var(--muted); font-size: 0.84rem; line-height: 1.35; }
.desk-country-cta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent, #2f6fed);
}
.desk-country-cta.is-muted { color: var(--muted); font-weight: 600; }

@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 12px; } .stepper { padding: 10px 12px 0; gap: 4px; }
  .step .label b { font-size: 12px; }
  .step .bubble { width: 26px; height: 26px; font-size: 13px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .topbar { padding: 8px 12px; gap: 8px; }
  .topbar-right { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 4px; border-top: 1px solid var(--line); }
  .topbar.nav-open .topbar-right { display: flex; }
  .topbar-right .navlink, .topbar-right .pill, .topbar-right form { padding: 10px 4px; }
  .topsearch { order: 3; flex: 1 1 100%; max-width: none; }
  .brand small { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .thumb { height: 120px; }
  .deal-body { padding: 8px; gap: 3px; }
  .title { font-size: 13px; }
  .price-line { font-size: 15px; }
  .hide-sm { display: none !important; }
  .actionbar .btn-lg { flex: 1; }
  .actionbar .actions { flex: 1; }
  .actionbar .actions .btn { width: 100%; }
}

/* Phone: app-like shell — big media, big prices, bottom tabs, step banners */
@media (max-width: 720px) {
  body.has-app-dock { padding-bottom: calc(88px + 72px + env(safe-area-inset-bottom, 0px)); }
  body.has-app-dock.dock-collapsed { padding-bottom: calc(88px + 28px + env(safe-area-inset-bottom, 0px)); }
  .hide-mobile-brief { display: none !important; }
  .show-mobile-brief { display: block !important; margin: 4px 0 0; font-weight: 600; color: var(--teal-d); }
  .hide-mobile-dock { display: none !important; }

  .app-dock {
    display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center;
    gap: 6px;
    position: fixed; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    background: transparent; border: 0; padding: 0;
    transition: transform .22s ease, opacity .22s ease;
  }
  body.dock-collapsed .app-dock {
    transform: translateY(120%); opacity: 0; pointer-events: none;
  }
  .dock-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex: 1 1 0; max-width: 52px;
    width: 46px; height: 46px; min-height: 0; padding: 0;
    text-decoration: none; color: var(--ink);
    font-size: 9px; font-weight: 700; line-height: 1;
    border-radius: 999px; position: relative;
    background: rgba(255,255,255,.96); border: 1px solid var(--line);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 12%, transparent);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  button.dock-item {
    appearance: none; -webkit-appearance: none; cursor: pointer; font: inherit;
  }
  .dock-item.on { color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
  .dock-ico { font-size: 18px; line-height: 1; }
  .dock-label { display: none; }
  .dock-count {
    position: absolute; top: -2px; right: -2px;
    min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
    background: var(--rose-d, #be123c); color: #fff; font-size: 10px; line-height: 16px; text-align: center;
  }
  .dock-reveal {
    display: none;
    position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%); z-index: 41;
    width: 44px; height: 44px; border-radius: 999px; padding: 0;
    border: 1px solid var(--line); background: rgba(255,255,255,.96);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 14%, transparent);
    font-size: 16px; cursor: pointer; color: var(--ink);
  }
  body.dock-collapsed .dock-reveal { display: grid; place-items: center; }

  .actionbar {
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    padding: 8px 12px;
    gap: 10px;
    z-index: 45;
  }
  .actionbar .pick-summary { font-size: 13px; white-space: nowrap; }
  .actionbar .pick-summary b { font-size: 15px; }
  .actionbar .actions { flex: 0 0 auto; margin-left: auto; }
  .actionbar .actions .btn,
  .actionbar .btn-lg {
    min-height: 40px; padding: 8px 14px; font-size: 14px;
    flex: 0 0 auto; width: auto;
  }
  body.has-app-dock .actionbar {
    /* Sit clearly above the bottom dock so Next is tappable */
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  body.has-app-dock.dock-collapsed .actionbar {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .stepper { display: none; }
  .mobile-step-banner {
    display: flex; gap: 12px; align-items: center;
    margin: 8px 12px 0; padding: 12px 14px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
  }
  .msb-num {
    flex: none; width: 44px; height: 44px; border-radius: 8px;
    display: grid; place-items: center; background: var(--sky-deep); color: #fff;
    font-weight: 800; font-size: 14px;
  }
  .mobile-step-banner b { display: block; font-size: 16px; }
  .mobile-step-banner small { color: var(--muted); font-size: 13px; }

  .mobile-step-summary {
    display: list-item; cursor: pointer; font-weight: 800; font-size: 15px;
    color: var(--teal-d); padding: 4px 0; list-style: disclosure-closed;
  }
  .mobile-step-panel[open] > .mobile-step-summary { list-style: disclosure-open; margin-bottom: 8px; }
  .mobile-step-heading { font-size: 17px; margin: 18px 0 10px; }

  h1 { font-size: 26px; }
  .page-head { margin-bottom: 10px; }
  .container { padding: 0 10px; margin-top: 10px; }

  /* One big product card per row */
  .grid, .deal-grid, .find-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .deal, .findcard {
    border-radius: 18px;
    border-width: 2px;
  }
  .thumb {
    height: min(58vw, 280px);
    background: linear-gradient(180deg, #f8fafc, #eef2f7);
  }
  .thumb img { object-fit: contain; padding: 8px; }
  .deal-body { padding: 14px 14px 16px; gap: 8px; }
  .brand-line { font-size: 12px; }
  .title {
    font-size: 17px; font-weight: 700; -webkit-line-clamp: 3;
    line-height: 1.35;
  }
  .price-line {
    font-size: 28px; font-weight: 800; color: var(--rose-d);
    letter-spacing: -0.02em; margin: 2px 0;
  }
  .price-line .muted, .price-line .small { font-size: 13px; font-weight: 600; }
  .shop-tag { font-size: 12px; padding: 4px 10px; min-height: 28px; }
  .deal .tick { width: 40px; height: 40px; top: 12px; right: 12px; font-size: 18px; }
  .btn-small { min-height: 40px; padding: 8px 12px; font-size: 14px; }
  .chip { min-height: 40px; padding: 10px 14px; font-size: 14px; }

  .find-cam { min-width: 72px; min-height: 52px; border-radius: 14px; }
  .find-cam-icon { font-size: 26px; }
  .find-drop { padding: 22px 16px; border-radius: 16px; }
  .find-drop-icon { font-size: 36px; }
  .find-preview-media img { max-width: none; width: 100%; min-height: 200px; }
  .bigsearch input[type=search] { font-size: 17px; min-height: 48px; padding: 12px 14px; }

  .review-row {
    grid-template-columns: auto 1fr !important;
    gap: 10px; padding: 14px; border-radius: 16px;
  }
  .review-thumb {
    width: 100%; height: 160px; grid-column: 1 / -1; border-radius: 12px;
  }
  .review-actions { grid-column: 1 / -1; }
  .review-detail-media img { min-height: 240px; }
  .review-shop { padding: 14px; gap: 10px; }

  .walk { gap: 6px; }
  .walk button { min-height: 56px; padding: 10px; }
  .walk button .label b { font-size: 14px; }
}

/* 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; }
.money-in { white-space: nowrap; }
.money-in .cur { display: inline-block; margin-right: 4px; color: var(--ink-muted, #64748b); font-weight: 600; }
.money-in input { display: inline-block; vertical-align: middle; }
.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 — rose = pick, teal = fav/branch, amber = attention */
.pick-head { align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pick-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.pick-copy { flex: 1 1 200px; min-width: 0; }
.pick-copy h1 { margin: 0 0 8px; }
.pick-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-pill { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; text-decoration: none; border: 1px solid transparent; max-width: 100%; }
.meta-teal { background: var(--teal-l); color: var(--teal-d); border-color: #cbd5e1; }
.meta-amber { background: var(--amber-l); color: var(--amber-d); border-color: #fde68a; }
.meta-count { background: #fff; color: var(--muted); border-color: var(--line); font-weight: 600; }
.refresh-details { margin: 0; }
.refresh-details > summary { list-style: none; cursor: pointer; }
.refresh-details > summary::-webkit-details-marker { display: none; }
.refresh-box { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.filter-card { padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.chip-rail { display: flex; gap: 8px; align-items: center; margin: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x proximity; }
.chip-rail::-webkit-scrollbar { display: none; }
.brand-rail > summary { cursor: pointer; color: var(--teal); font-size: 13px; font-weight: 700; list-style: none; }
.brand-rail > summary::-webkit-details-marker { display: none; }
.brand-rail[open] > summary { margin-bottom: 8px; }
.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; flex: 0 0 auto; padding: 7px 12px; min-height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13px; scroll-snap-align: start; white-space: nowrap; }
.chip span { font-size: 11.5px; color: var(--muted); font-weight: 700; background: #f1f5f9; border-radius: 6px; padding: 1px 7px; }
.chip:hover { border-color: var(--sky-3); background: var(--sky-1); }
.chip.on { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; } .chip.on span { background: rgba(255,255,255,.25); color: #fff; }
.chip-rail .chip:nth-child(2).on { background: var(--sky-3); border-color: var(--sky-3); color: var(--ink); }
.chip-rail .chip:nth-child(2).on span { background: rgba(22, 50, 79, 0.12); color: var(--ink); }
.chip-sm { padding: 6px 10px; font-size: 12.5px; font-weight: 600; min-height: 32px; }
.toolbar-inline { margin: 0; padding-top: 0; border-top: 0; gap: 8px; }
.toolbar-inline input[type=search] { flex: 1 1 140px; min-width: 120px; width: auto; }
.toolbar-inline select { width: auto; min-width: 0; flex: 0 1 auto; }
.more-filters { border-top: 1px dashed var(--line); padding-top: 6px; }
.more-filters > summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; list-style: none; min-height: 32px; display: flex; align-items: center; }
.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 180px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hide-js { display: none; }
.nomatch { margin: 0; }
.section-title { margin: 14px 0 8px; font-size: 15px; display: flex; align-items: baseline; gap: 8px; } .section-title small { font-weight: 600; font-size: 13px; color: var(--muted); }
.section-title.section-teal { color: var(--teal-d); }
.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: #94a3b8; }
.deal.is-fav.picked { border-color: var(--ink); }
.fav-flag { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--teal-l); color: var(--teal-d); border: 1px solid #cbd5e1; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.badge-fav { background: var(--amber-l); color: var(--amber-d); }

/* 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: #cbd5e1; }
@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: 520px; margin: 0; display: flex; align-items: center; gap: 6px;
}
.topsearch input[type=search] { flex: 1 1 auto; min-width: 0; border-radius: 8px; background: #f8fafc; padding: 7px 14px; border-color: var(--line); }
.topsearch-cam {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin: 0; border-radius: 8px; cursor: pointer;
  background: #f1f5f9; border: 1px solid #cbd5e1; color: #334155; font-size: 18px; line-height: 1;
}
.topsearch-cam:hover { background: #e2e8f0; }
.navlink { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); } .navlink:hover { color: var(--pink-d); }
.count { background: var(--sky-deep); color: #fff; border-radius: 6px; padding: 0 7px; font-size: 12px; }
.batchbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: #fffbeb; border-bottom: 1px solid #fde68a; padding: 8px 24px; font-size: 14px; } .batchbar form { margin: 0; }
.batchbar-item { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bigsearch input[type=search] { width: min(560px, 100%); font-size: 16px; padding: 11px 14px; }
.findcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 0; font-weight: 400;
  cursor: default; user-select: text; -webkit-user-select: text;
}
.findcard:hover { box-shadow: none; }
.findcard:active { transform: none; }
.findcard.is-fav { border-color: #94a3b8; }
.findcard .thumb { height: 150px; flex: none; overflow: hidden; background: #f1f5f9; display: grid; place-items: center; }
.findcard .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.findcard .deal-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.find-pick-hint { margin: 0; }
.find-card-actions {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
}
.find-use-form, .find-review-form {
  display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0;
}
.src-pick {
  cursor: pointer; position: relative; padding-left: 12px;
  border-width: 2px; transition: border-color .12s, background .12s, box-shadow .12s;
}
.src-pick input[type=radio] {
  position: absolute; opacity: 0; pointer-events: none;
}
.src-radio {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #cbd5e1; background: #fff; display: inline-grid; place-items: center;
}
.src-pick.on {
  border-color: var(--rose); background: #f8fafc; box-shadow: 0 0 0 2px var(--rose-l);
}
.src-pick.on .src-radio {
  border-color: var(--rose); background: var(--rose);
  box-shadow: inset 0 0 0 4px #fff;
}
.src-pick.is-oos { opacity: .55; cursor: not-allowed; }
.src-open { margin-left: auto; }
.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: 8px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; cursor: pointer; }
.walk button .bubble { width: 28px; height: 28px; border-radius: 8px; 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(--sky-3); box-shadow: 0 0 0 3px var(--sky-1); } .walk button.is-current .bubble { background: var(--sky-deep); 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; }

/* manage hub */
.manage-nav { margin: 0 0 12px; }
.manage-tools-wrap { margin: 0 0 14px; border: 0; }
.manage-tools-wrap > summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 13px;
  color: var(--teal-d); padding: 4px 0; display: none;
}
.manage-tools-wrap > summary::-webkit-details-marker { display: none; }
.manage-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.manage-tools .meta-pill { background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.manage-tools .meta-pill:hover { border-color: var(--sky-3); color: var(--sky-deep); }

/* Manage → Web walkthrough */
.web-walk-rail {
  display: none;
  margin: 0 0 12px;
  position: sticky; top: 0; z-index: 25;
  padding: 8px 0;
  background: linear-gradient(180deg, var(--bg, #f4f7fb) 70%, transparent);
}
.web-walk-rail .chip { scroll-snap-align: start; flex: none; }
.web-step { scroll-margin-top: 56px; }
form.web-hub { display: block; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat-card { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.stat-card small { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.stat-card b { font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.stat-card.teal { background: var(--sky-1); border-color: var(--sky-2); }
.stat-card.amber { background: var(--amber-l); border-color: #fde68a; }
.stat-card.rose { background: var(--sky-2); border-color: var(--sky-3); }

.ops-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ops-stats { margin: 10px 0 0; }
.ops-collapse { margin-bottom: 12px; }
.ops-collapse-summary {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  cursor: pointer; font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em;
  list-style: disclosure-closed; color: var(--ink);
}
.ops-collapse-summary::-webkit-details-marker { display: none; }
.ops-collapse[open] > .ops-collapse-summary { list-style: disclosure-open; margin-bottom: 10px; }
.ops-collapse-summary .muted { font-weight: 600; font-size: 12px; }
.ops-collapse-lead { margin: 0 0 10px; }
.ops-panel .dash-ico { font-size: 1.1rem; line-height: 1; }
.dash-groups { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.dash-group { margin-bottom: 0; }
.dash-group-head { margin-bottom: 12px; }
.dash-group-head h2 { margin: 0 0 4px; font-size: 1.05rem; letter-spacing: -0.02em; }
.dash-group-head p { margin: 0; }
.dash-tiles {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.dash-tile {
  display: flex; flex-direction: column; gap: 4px; position: relative;
  padding: 14px; border-radius: 10px; text-decoration: none; color: inherit;
  background: var(--sky-1); border: 1px solid var(--sky-2);
  transition: border-color .12s, background .12s, box-shadow .12s;
}
.dash-tile:hover { background: #fff; border-color: var(--sky-3); box-shadow: var(--shadow); }
.dash-tile-accent {
  background: linear-gradient(145deg, var(--sky-2), var(--sky-1));
  border-color: var(--sky-3);
}
.dash-tile b { font-size: 14px; letter-spacing: -0.01em; }
.dash-tile span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.dash-tile em {
  position: absolute; top: 10px; right: 10px;
  min-width: 20px; padding: 0 6px; height: 20px; border-radius: 6px;
  background: var(--sky-deep); color: #fff; font-style: normal; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}
.manage-recent { list-style: none; margin: 0; padding: 0; }
.manage-recent li { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.manage-recent li:last-child { border-bottom: 0; }
.manage-recent li > a { flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; color: inherit; }
.manage-recent img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: #f1f5f9; flex: none; }
.manage-recent span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
@media (max-width: 860px) {
  .manage-table th.hide-sm, .manage-table td.hide-sm { display: none; }
}

/* Find: multi-source product cards + photo identify */
.find-compose { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.find-search { flex-wrap: nowrap; align-items: stretch; gap: 8px; }
.find-search #find-q { flex: 1 1 auto; min-width: 0; width: auto; }
.find-cam {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; min-width: 64px; padding: 8px 12px; margin: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: #f1f5f9; color: #334155;
  font-weight: 700; font-size: 12px; line-height: 1.1; user-select: none;
}
.find-cam:hover { background: #e2e8f0; }
.find-cam-icon { font-size: 22px; line-height: 1; }
.compare-shot-drop {
  display: flex; flex-direction: column; gap: 8px; align-items: stretch;
  padding: 14px 16px; margin: 0 0 10px;
  border: 2px dashed #94a3b8; border-radius: 14px; background: #f8fafc;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.compare-shot-drop:hover, .compare-shot-drop.is-drag, .compare-shot-drop:focus {
  border-color: #334155; background: #e2e8f0; outline: none;
}
.compare-shot-hint { margin: 0; text-align: center; }
.compare-shot-preview { display: flex; gap: 12px; align-items: center; }
.compare-shot-preview img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; flex: none;
}
.compare-crop-panel {
  margin: 0 0 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.compare-crop-stage {
  position: relative; max-width: 100%; overflow: auto;
  border-radius: 10px; background: #0f172a0d; touch-action: none;
}
.compare-crop-stage canvas {
  display: block; max-width: 100%; height: auto; cursor: crosshair;
  border-radius: 10px; user-select: none;
}
.findcard .thumb { position: relative; }
.find-thumb-actions {
  position: absolute; left: 8px; bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap;
}
.find-edit-photo, .find-crop-photo {
  margin: 0; cursor: pointer;
  padding: 4px 8px; font-size: 11px; background: rgba(255,255,255,0.92);
}
.find-edit-field {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; color: var(--muted); margin: 0 0 8px; font-weight: 600;
}
.find-edit-field input {
  font: inherit; font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.find-edit-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 6px;
}
.find-edit-price-wrap { margin-bottom: 0; min-width: 7.5rem; }
.find-edit-price-wrap input { width: 7.5rem; }
.compare-ocr-preview {
  width: 100%; font: inherit; font-size: 13px; line-height: 1.45;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #f8fafc; color: var(--ink); resize: vertical; white-space: pre-wrap;
}
.find-title-chip { max-width: 100%; text-align: left; white-space: normal; height: auto; }
.find-drop {
  display: flex; gap: 14px; align-items: center; padding: 18px 18px;
  border: 2px dashed #94a3b8; border-radius: 14px; background: #f8fafc;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.find-drop:hover, .find-drop.is-drag { border-color: #334155; background: #e2e8f0; }
.find-drop-icon { font-size: 32px; line-height: 1; }
.find-drop-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.find-drop-copy b { font-size: 15px; }
.find-drop-copy small { color: var(--muted); font-size: 13px; }
.find-preview { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; padding: 14px; }
.find-preview-media { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.find-preview-media img {
  width: 100%; aspect-ratio: 1; object-fit: contain; background: #f1f5f9;
  border-radius: 10px; border: 1px solid var(--line);
}
.find-preview-body h2 { margin: 0 0 4px; font-size: 1.1rem; }
.find-guesses { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.find-guess { cursor: pointer; text-align: left; max-width: 100%; white-space: normal; height: auto; line-height: 1.3; }
.find-filters { gap: 12px; align-items: end; margin: 8px 0 16px; }
.find-grid .findcard { min-height: 0; }
.findcard.multi-src .deal-body { gap: 8px; }
.src-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.src-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; padding: 8px; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; }
.src-main { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; min-width: 0; }
.src-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-start { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.qty-inline { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; margin: 0; font-weight: 400; }
.qty-inline input.tiny { width: 56px; padding: 4px 6px; }
.file-btn { cursor: pointer; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  .find-search { flex-wrap: wrap; }
  .find-cam { min-width: 56px; }
  .find-preview { grid-template-columns: 1fr; }
  .find-preview-media img { max-width: none; width: 100%; }
}

/* Product Review queue */
.review-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.review-row { display: grid; grid-template-columns: auto 72px 1fr; gap: 12px; align-items: start; padding: 12px; margin: 0; }
.review-check { margin: 0; padding-top: 6px; }
.review-thumb { width: 72px; height: 72px; display: grid; place-items: center; background: #f1f5f9; border-radius: 10px; overflow: hidden; }
.review-thumb img { width: 100%; height: 100%; object-fit: contain; }
.review-body .title { font-weight: 700; color: inherit; text-decoration: none; }
.review-body .title:hover { text-decoration: underline; }
.review-inline-form { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.review-inline-shops { display: flex; flex-direction: column; gap: 6px; }
.review-shop-compact { padding: 8px 10px; gap: 6px 8px; }
.review-shop-compact .src-price { font-size: 15px; }
.review-inline-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.review-inline-meta .qty-inline { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.review-inline-meta .tiny { width: 4.5rem; min-height: 36px; }
.review-publish-bar { justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.review-select-bar { justify-content: flex-start; align-items: center; }
.review-select-all {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; margin-right: auto;
  font-weight: 600; cursor: pointer; user-select: none;
}
.review-select-all input { width: auto; margin: 0; }
.review-select-all b { font-variant-numeric: tabular-nums; }
.ui-toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%) translateY(12px);
  z-index: 80; max-width: min(92vw, 420px); padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.ui-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.ui-toast.err { background: var(--bad); }
.deal-review-save.is-saved, .find-review-form .btn.is-saved {
  border-color: var(--ok); color: var(--ok); background: var(--ok-l);
}
.review-detail { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.review-detail-media img { width: 100%; border-radius: 12px; background: #f1f5f9; object-fit: contain; aspect-ratio: 1; }
.review-shops { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.review-shop {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; cursor: pointer; margin: 0; font-weight: 400;
}
.review-shop.on { border-color: #94a3b8; background: #f8fafc; }
.review-shop input[type=radio] { width: auto; }
.src-price { font-size: 18px; font-weight: 800; color: var(--rose-d); }
.shop-sources { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.shop-source-row { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.shop-note {
  margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--muted); font-weight: 500;
}
.shop-note.warn, .src-differs .shop-note {
  color: #9a3412; background: var(--amber-l); border-radius: 8px; padding: 6px 8px;
}
.src-row .shop-note { flex: 1 1 100%; width: 100%; }
.review-shop .shop-note { flex: 1 1 100%; width: 100%; margin-top: 2px; }
.review-price { margin: 4px 0; }
.review-hero-price { margin-top: 10px; }
.review-detail-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.find-step { padding: 12px 14px; }
.mobile-step-panel.card > .mobile-step-body { margin: 0; }
.find-confirm-go { width: 100%; margin-top: 12px; min-height: 48px; font-size: 16px; }
@media (min-width: 721px) {
  details.mobile-step-panel.card.find-step,
  details.mobile-step-panel.card:not(.review-detail-media):not(.web-step) {
    background: transparent; border: 0; padding: 0; margin: 0 0 12px;
  }
  details.mobile-step-panel.card.web-step {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px 14px; margin: 0 0 12px;
  }
  details.mobile-step-panel.card.web-step > .mobile-step-summary {
    display: block; font-size: 1rem; font-weight: 800; margin: 0 0 10px;
    cursor: default; list-style: none; color: var(--ink);
  }
  details.mobile-step-panel.card.web-step > .mobile-step-summary::-webkit-details-marker { display: none; }
  form.web-hub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }
  form.web-hub > #web-step-thai,
  form.web-hub > #web-step-pricing { margin: 0; }
  form.web-hub > #web-step-products { grid-column: 1 / -1; }
  .web-products-bulk.sticky-bulk > .web-bulk-summary { display: none; }
  .web-products-bulk.sticky-bulk { border: 0; background: transparent; padding: 0; }
  .dock-reveal, .dock-hide { display: none !important; }
}

@media (max-width: 720px) {
  .manage-nav {
    position: sticky; top: 0; z-index: 26;
    margin: 0 -10px 10px; padding: 8px 10px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .manage-tools-wrap {
    margin: 0 0 12px; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 14px; background: #fff;
  }
  .manage-tools-wrap > summary {
    display: block; list-style: disclosure-closed;
  }
  .manage-tools-wrap[open] > summary { list-style: disclosure-open; margin-bottom: 8px; }
  .manage-tools { gap: 8px; }
  .manage-tools .meta-pill { min-height: 40px; padding: 10px 12px; }

  .web-walk-rail { display: flex; margin: 0 -10px 12px; padding: 8px 10px 10px; }
  .web-step {
    margin: 0 0 12px; padding: 12px 14px; border-radius: 16px;
  }
  .web-step > .mobile-step-summary {
    font-size: 16px; font-weight: 800; color: var(--teal-d);
    padding: 4px 0; list-style: disclosure-closed;
  }
  .web-step[open] > .mobile-step-summary {
    list-style: disclosure-open; margin-bottom: 10px;
  }
  .web-hub-panel { padding: 0; background: transparent; border: 0; }
  .web-products-bulk.sticky-bulk {
    position: sticky; top: 48px; z-index: 15;
    margin: 0 0 12px; padding: 0;
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border: 1px solid var(--line); border-radius: 12px;
  }
  .web-bulk-summary {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; padding: 12px 14px; cursor: pointer; list-style: none;
    font-weight: 700; font-size: 14px; color: var(--teal-d);
  }
  .web-bulk-summary::-webkit-details-marker { display: none; }
  .web-products-bulk.sticky-bulk[open] > .web-bulk-summary {
    border-bottom: 1px solid var(--line);
  }
  .web-bulk-selects, .web-bulk-actions { padding: 10px; }
  .web-bulk-actions .btn { flex: 1 1 calc(50% - 8px); min-height: 48px; font-size: 15px; }
  .web-search-form { flex-direction: column; align-items: stretch !important; }
  .web-search-form input[type="search"],
  .web-search-form select,
  .web-search-form .btn { width: 100%; min-height: 48px; font-size: 16px; }

  /* Product rows → stacked widgets; hide per-row publish so list scrolls */
  .web-products-table .web-row-pub-opt { display: none !important; }
  .web-products-table thead { display: none; }
  .web-products-table,
  .web-products-table tbody,
  .web-products-table tr,
  .web-products-table td {
    display: block; width: 100%;
  }
  .web-products-table tr {
    margin: 0 0 14px; padding: 14px;
    border: 1px solid var(--line); border-radius: 16px; background: #fff;
  }
  .web-products-table tr.is-stale { border-color: #f59e0b; box-shadow: inset 3px 0 0 #f59e0b; }
  .web-products-table td {
    text-align: left !important;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px dashed var(--line);
  }
  .web-products-table td:last-child { border-bottom: 0; padding-bottom: 0; }
  .web-products-table td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block; font-size: 11px; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
  }
  .web-products-table td[data-label=""] {
    padding-top: 0; border-bottom: 0;
  }
  .web-products-table td[data-web-actions] {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  }
  .web-products-table td[data-web-actions] .btn {
    flex: 1 1 calc(50% - 8px); min-height: 44px; justify-content: center;
  }

  /* Search hit products → hide chrome so the list can scroll */
  .web-manage.is-search-results .web-manage-chrome,
  .web-manage.is-search-results .manage-nav {
    display: none !important;
  }
  .web-manage.is-search-results #web-step-products {
    margin: 0; border: 0; padding: 0; background: transparent;
  }
  .web-manage.is-search-results #web-step-products > .mobile-step-summary {
    position: sticky; top: 0; z-index: 16;
    margin: 0 0 10px; padding: 10px 4px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  }
  .web-manage.is-search-results .web-product-filters {
    overflow-x: auto; flex-wrap: nowrap !important;
    margin: 0 0 8px; padding-bottom: 4px;
  }
  .web-manage.is-search-results .web-products-bulk.sticky-bulk {
    top: 44px;
  }
  .web-thai-edit { justify-content: flex-start; }
  .web-thai-edit input { min-height: 44px; font-size: 16px; width: 6.5rem; }
  .web-thai-edit .btn { min-height: 44px; padding: 8px 12px !important; font-size: 14px !important; }

  .review-row {
    grid-template-columns: auto 1fr !important;
    gap: 10px; padding: 14px; border-radius: 16px;
  }
  .review-thumb {
    width: 100% !important; height: 180px !important;
    grid-column: 1 / -1; border-radius: 12px;
  }
  .review-inline-meta { grid-column: 1 / -1; }
  .review-inline-meta .btn { min-height: 44px; }
  .review-inline-meta .btn-primary { flex: 1 1 140px; }
  .review-detail { grid-template-columns: 1fr; }
  .review-detail-media img { min-height: 260px; width: 100%; }
  .review-shop { padding: 14px; gap: 10px; min-height: 56px; }
  .src-row { padding: 12px; gap: 10px; flex-direction: column; align-items: stretch; }
  .src-price { font-size: 24px; }
  .src-actions { width: 100%; }
  .src-actions .btn { flex: 1; min-height: 44px; }
  .find-card-actions { flex-direction: column; align-items: stretch; }
  .find-use-form, .find-review-form { width: 100%; }
  .find-use-form .btn, .find-review-form .btn { flex: 1; min-height: 48px; font-size: 16px; }
  .src-pick { padding: 14px; min-height: 56px; }
  .src-open { margin-left: 0; width: 100%; min-height: 40px; }
  .review-publish-bar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    padding: 10px 0; margin: 0 0 10px;
  }
  .review-publish-bar .btn { min-height: 48px; font-size: 16px; }
  .review-detail-actions .btn-lg { flex: 1; min-height: 48px; font-size: 17px; }
  .find-step { margin-bottom: 12px; }
}

/* 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; }
.dragon-card { margin: 14px 0 18px; padding: 12px 14px; border: 1px solid var(--sky-2); border-radius: var(--radius); background: linear-gradient(180deg, var(--sky-1) 0%, #fff 58%); }
.dragon-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.dragon-rates td, .dragon-rates th { white-space: nowrap; }
.dragon-notes { margin: 10px 0 0; padding-left: 1.1rem; color: var(--muted, #64748b); font-size: 0.92rem; }
.dragon-notes li { margin: 0.25rem 0; }
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.cat-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.cat-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1f5f9; }
.cat-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.cat-price { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.cat-break { line-height: 1.35; }
.catalogue-totals { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.catalogue-totals div { display: flex; flex-direction: column; gap: 2px; }
.catalogue-print-head { margin-bottom: 12px; }
@media print {
  .catalogue-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-card { break-inside: avoid; }
}
.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; }
