/* ==========================================================================
   App shell: sidebar + topbar for the restaurant dashboard, and the
   full-screen onboarding wizard.
   ========================================================================== */

body.app-body { background: var(--canvas); }

.shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
}

/* ---------- sidebar ---------- */

.side {
  background: #12161a;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.side-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }

.side-logo .p {
  font-family: var(--display);
  font-size: 12.5px;
  color: #8a949c;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 8px;
  line-height: 1.1;
}

.side-rest {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-rest .nm { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.side-rest .st { font-size: 11.5px; color: #8a949c; margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.side-rest .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.side-rest .dot.live { background: #34c759; }

.side-nav { padding: 10px 8px; display: grid; gap: 1px; }

.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: #b6bfc4;
  transition: background 120ms ease, color 120ms ease;
}

.side-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.side-nav a.on { background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 500; }
.side-nav a.on svg { color: var(--brand); }
.side-nav svg { color: #7d878d; flex: none; }

.side-foot { margin-top: auto; padding: 12px 8px 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.side-foot a, .side-foot button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 13px;
  color: #b6bfc4;
  cursor: pointer;
  text-align: left;
}

.side-foot a:hover, .side-foot button:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

/* ---------- main ---------- */

.main { min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: 62px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar h1 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; font-family: var(--display); }

.topbar .tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.content { padding: 24px; }

.content-in { max-width: 900px; }

/* ---------- cards ---------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.card + .card { margin-top: 16px; }

.card-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-head h2 { font-size: 14.5px; font-weight: 600; font-family: var(--display); }
.card-head p { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.card-body { padding: 18px; }
.card-body.tight { padding: 0; }

.split { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }

/* ---------- checklist ---------- */

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.check-row:last-child { border-bottom: none; }

.check-row .ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink-4);
}

.check-row.ok .ic { background: var(--ok-bg); border-color: #c3e5d4; color: var(--ok); }
.check-row.todo .ic { background: var(--warn-bg); border-color: #f0dcb5; color: var(--warn); }
.check-row .lbl { flex: 1; }
.check-row .lbl b { font-weight: 500; display: block; }
.check-row .lbl span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- QR block ---------- */

.qr-panel { display: flex; gap: 18px; align-items: center; }

.qr-box {
  width: 132px;
  height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  flex: none;
  display: grid;
  place-items: center;
}

.qr-box img, .qr-box canvas { width: 114px; height: 114px; image-rendering: pixelated; display: block; }

.qr-link {
  font-size: 14px;
  font-weight: 500;
  word-break: break-all;
  margin-bottom: 4px;
}

.qr-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin-bottom: 12px; }

/* ---------- menu editor ---------- */

.cat-block + .cat-block { border-top: 1px solid var(--line); }

.cat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #fbfbfc;
  border-bottom: 1px solid var(--line);
}

.cat-bar .cn { font-size: 13px; font-weight: 600; font-family: var(--display); letter-spacing: -0.01em; }
.cat-bar .cc { font-size: 12px; color: var(--ink-3); }

.mrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 92px;
  gap: 14px;
  align-items: center;
  padding: 11px 18px;
  border-bottom: 1px solid #f1f3f4;
  font-size: 13.5px;
}

.mrow:last-child { border-bottom: none; }
.mrow.is-sold { background: #fbfbfc; }
.mrow.is-sold .nm { color: var(--ink-4); }
.mrow .nm { display: flex; align-items: center; gap: 8px; font-weight: 450; }
.mrow .ds { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.mrow .pr { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* switch */

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #e9edef;
  cursor: pointer;
  padding: 0;
  transition: background 140ms ease, border-color 140ms ease;
  justify-self: end;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 140ms cubic-bezier(0.3, 0.8, 0.3, 1);
}

.switch[aria-checked="true"] { background: var(--ok); border-color: var(--ok); }
.switch[aria-checked="true"]::after { transform: translateX(16px); }

.mrow .state { font-size: 11.5px; color: var(--ink-3); justify-self: end; text-align: right; }
.mrow .state.sold { color: var(--warn); }

/* ---------- import ---------- */

.import-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
}

.import-tabs button {
  border: none;
  background: none;
  padding: 13px 0;
  margin-right: 22px;
  font-size: 13.5px;
  color: var(--ink-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.import-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); font-weight: 500; }

.drop {
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  background: #fbfbfc;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.drop:hover, .drop.dragover { border-color: var(--brand); background: #fffaf3; }
.drop .dt { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.drop .dd { font-size: 12.5px; color: var(--ink-3); }

.scan-line { height: 4px; background: #eef1f2; border-radius: 999px; overflow: hidden; margin: 16px 0 12px; }
.scan-line i { display: block; height: 100%; width: 6%; background: var(--brand); transition: width 300ms ease; }

.scan-steps { display: grid; gap: 7px; font-size: 13px; color: var(--ink-3); }
.scan-steps div { display: flex; align-items: center; gap: 8px; opacity: 0.45; transition: opacity 200ms ease; }
.scan-steps div.on { opacity: 1; color: var(--ink-2); }
.scan-steps .mark { width: 14px; color: var(--ok); }

.review { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 16px; }

.review-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 70px 92px;
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid #f1f3f4;
  font-size: 13px;
}

.review-row:last-child { border-bottom: none; }
.review-row input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--brand); }
.review-row .rc { font-size: 11px; color: var(--ink-4); }
.review-row .rp { text-align: right; font-variant-numeric: tabular-nums; }
.review-row .rconf { text-align: right; font-size: 11.5px; color: var(--ink-3); }
.review-row .rconf.low { color: var(--warn); }

.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fbfbfc;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- orders ---------- */

.order-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 110px 90px;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #f1f3f4;
  font-size: 13px;
}

.order-row:last-child { border-bottom: none; }
.order-row .ot { color: var(--ink-3); font-size: 12.5px; }
.order-row .otot { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.order-row .omode { justify-self: start; }

.empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.6;
}

.empty b { color: var(--ink); display: block; font-weight: 500; margin-bottom: 4px; font-size: 14px; }

/* ---------- onboarding wizard ---------- */

.ob-shell {
  max-width: 1000px;
  margin: 0 auto;
  padding: 44px 24px 70px;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.ob-side .ob-title { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }

.ob-step {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  position: relative;
}

.ob-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 32px;
  bottom: -2px;
  width: 1px;
  background: var(--line-2);
}

.ob-step .n {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  flex: none;
  z-index: 1;
}

.ob-step .l { font-size: 13.5px; color: var(--ink-3); padding-top: 2px; }
.ob-step .l small { display: block; font-size: 11.5px; color: var(--ink-4); margin-top: 1px; }

.ob-step.current .n { border-color: var(--ink); background: var(--ink); color: #fff; }
.ob-step.current .l { color: var(--ink); font-weight: 500; }
.ob-step.done .n { border-color: var(--ok); background: var(--ok); color: #fff; }
.ob-step.done .l { color: var(--ink-2); }

.ob-main .card { overflow: visible; }
.ob-main h2 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 8px; }
.ob-main .lede { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 22px; max-width: 56ch; }

.ob-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.ob-actions .spacer { flex: 1; }
.ob-actions .step-count { font-size: 12.5px; color: var(--ink-3); }

/* uploads */

.up-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}

.up-row:hover { border-color: var(--line-2); background: #fbfbfc; }
.up-row.dragover { border-color: var(--brand); background: #fffaf3; }
.up-row.has { border-color: #c3e5d4; }

.up-row .thumb {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #f7f8f9;
  color: var(--ink-3);
  overflow: hidden;
  font-size: 11px;
}

.up-row .thumb img { width: 100%; height: 100%; object-fit: contain; }
.up-row > span:nth-child(2) { min-width: 0; }
.up-row .t { display: block; font-size: 13.5px; font-weight: 500; }
.up-row .d { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }
.up-row input[type="file"] { display: none; }

/* choices */

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.choice {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 13px 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.choice:hover { border-color: #bfc7cc; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }

.choice .ct { font-size: 13.5px; font-weight: 500; display: flex; align-items: center; gap: 7px; }
.choice .cd { font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.35; }

.choice .box {
  width: 15px;
  height: 15px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  display: inline-grid;
  place-items: center;
  flex: none;
  color: transparent;
}

.choice[data-checked="true"] {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink) inset;
}

.choice[data-checked="true"] .box { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- misc ---------- */

.handle-field {
  display: flex;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #fff;
}

.handle-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.16); }

.handle-field .prefix {
  display: flex;
  align-items: center;
  padding: 0 0 0 12px;
  font-size: 13.5px;
  color: var(--ink-3);
  background: #f7f8f9;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.handle-field input { flex: 1; min-width: 0; border: none; padding: 0 12px; font-size: 14px; background: none; }
.handle-field input:focus { outline: none; }

.handle-status { font-size: 12.5px; margin-top: 7px; min-height: 17px; }
.handle-status.free { color: var(--ok); }
.handle-status.taken { color: var(--danger); }
.handle-status.busy { color: var(--ink-3); }

.chips-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chips-row button {
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
}
.chips-row button:hover { border-color: var(--ink-3); color: var(--ink); }

.note {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.55;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
}

.note b { color: var(--ink-2); font-weight: 500; }

.toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  transform: translateY(14px);
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 80;
  max-width: 320px;
}

.toast.on { opacity: 1; transform: translateY(0); }

@media (max-width: 940px) {
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; flex-direction: row; align-items: center; overflow-x: auto; min-width: 0; }
  .side-logo { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.08); padding: 12px 14px; }
  .side-logo .p { display: none; }
  .side-rest { display: none; }
  .side-nav { display: flex; padding: 6px; flex: 1; min-width: 0; }
  .side-nav a { white-space: nowrap; flex: none; }
  .side-nav a span { display: none; }
  .side-foot { margin: 0; border-top: none; border-left: 1px solid rgba(255,255,255,0.08); display: flex; flex: none; }
  .side-foot a span, .side-foot button span { display: none; }
  .main { min-width: 0; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .content { padding: 16px; }
  .ob-shell { grid-template-columns: 1fr; gap: 22px; padding: 24px 16px 60px; }
  .ob-side { display: flex; gap: 18px; overflow-x: auto; }
  .ob-side .ob-title { display: none; }
  .ob-step { padding: 0; flex: none; }
  .ob-step::before { display: none; }
  .ob-step .l small { display: none; }
}

@media (max-width: 720px) {
  .topbar { padding: 0 14px; gap: 8px; }
  .topbar h1 { font-size: 15px; }
  .topbar .tb-right { display: none; }
  .content { padding: 14px; }
  .card-head { padding: 13px 15px; }
  .card-body { padding: 15px; }
  .qr-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .choices { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: minmax(0, 1fr) 62px 70px; }
  .qr-panel { flex-direction: column; align-items: flex-start; }
  .order-row { grid-template-columns: 1fr auto; gap: 6px; }
  .order-row .ot, .order-row .omode { display: none; }
  .topbar { padding: 0 14px; }
  .topbar h1 { font-size: 15px; }
  .review-row { grid-template-columns: 24px minmax(0, 1fr) 64px; }
  .review-row .rconf { display: none; }
}

/* ---------- menu editor controls ---------- */

.cat-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.row-tools { display: flex; align-items: center; gap: 10px; }

.btn-quiet.danger { color: #b03a2e; }
.btn-quiet.danger:hover { background: #fdecea; }

.mrow.editing {
  display: block;
  background: #fffdf8;
  border: 1px solid #f0e3cf;
  border-radius: 12px;
  margin: 6px 0;
  padding: 12px;
}

.mrow.new-row { border-style: dashed; }

.edit-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 110px minmax(0, 1.6fr);
  gap: 8px;
}

.edit-actions { display: flex; gap: 8px; margin-top: 10px; }

.cat-add {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.cat-add .input { flex: 1; }

@media (max-width: 720px) {
  .edit-fields { grid-template-columns: 1fr; }
  .cat-tools { margin-left: 0; }
}

/* ---------- existing-dish picker ---------- */

.picker {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 22, 26, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}

.picker[hidden] { display: none !important; }

.picker-box {
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 20, 24, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.picker-body { overflow-y: auto; padding: 8px 10px; }

.picker-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 8px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13.5px;
}

.picker-row:hover { background: #f7f8f9; }
.picker-row .pp { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.picker-row .pc { color: var(--ink-4); font-size: 11.5px; }

.picker-empty { padding: 18px; color: var(--ink-3); font-size: 13.5px; }

.picker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- category membership in the edit form ---------- */

.edit-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 12.5px;
}

.edit-cats .ec-label { color: var(--ink-3); }
.edit-cats .ec { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- spreadsheet preview ---------- */

.sheet-summary { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }

.sheet-list { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }

.sheet-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 10px;
  padding: 7px 12px;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line);
}

.sheet-row:last-child { border-bottom: none; }
.sheet-row span:nth-child(1) { color: var(--ink-3); }
.sheet-row span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-more { padding: 7px 12px; font-size: 12px; color: var(--ink-4); }

/* ---------- featured / promo categories ---------- */

.feat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
}

.feat:hover { border-color: #e3c9a4; color: var(--ink); }

.feat.on {
  border-color: transparent;
  background: #fff4e6;
  color: var(--brand-text);
}

/* category reordering */
.ord { display: inline-flex; flex-direction: column; gap: 1px; }
.ord-btn {
  width: 20px;
  height: 13px;
  line-height: 1;
  padding: 0;
  font-size: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink-3);
  cursor: pointer;
}
.ord-btn:hover { color: var(--ink); border-color: #cdd4d8; }

/* search inside the dish picker */
.picker-search {
  width: 100%;
  margin: 4px 0 8px;
  position: sticky;
  top: 0;
  z-index: 1;
}

/* cover photo picker */
.cover-row { display: flex; align-items: center; gap: 12px; }
.cover-preview {
  width: 120px;
  height: 46px;
  border-radius: 8px;
  border: 1px dashed var(--line);
  background: #f7f8f9 center/cover no-repeat;
  display: inline-block;
}
.cover-preview.has { border-style: solid; }

/* publish row */
.publish-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.publish-note { font-size: 12.5px; color: var(--ink-3); }

/* the guest's number, tappable on a phone */
.order-row .ophone { font-size: 12.5px; }
.order-row .ophone a { color: var(--brand-text); text-decoration: none; }
.order-row .ophone a:hover { text-decoration: underline; }
