.request-recovery { flex: 0 0 auto; margin: 10px 14px; padding: 12px; border: 1px solid #fed7aa; border-radius: 12px; background: #fff7ed; color: #7c2d12; font-size: 13px; }
.request-recovery strong { display: block; }
.request-recovery p { margin: 6px 0 10px; line-height: 1.4; }
.request-recovery > div { display: flex; flex-wrap: wrap; gap: 8px; }
.request-recovery button { min-height: 40px; padding: 8px 12px; border: 1px solid #fdba74; border-radius: 10px; background: #fff; color: #7c2d12; font: inherit; cursor: pointer; }
.request-recovery button:disabled { opacity: .6; }
.order-tools-compact { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px var(--lk-gutter); }
.order-tools-compact .order-price-tools { display: contents; }
.order-tools-compact .bill-comments-trigger { min-width: 0; min-height: 48px; margin: 0; padding: 7px 9px; gap: 7px; border-radius: 12px; }
.order-tools-compact .bill-comments-icon { flex: 0 0 17px; width: 17px; height: 20px; }
.order-tools-compact .bill-comments-icon svg { width: 17px; height: 17px; }
.order-tools-compact .bill-comments-label { font-size: 11px; line-height: 1.25; }
.order-tools-compact .bill-comments-summary { font-size: 12px; line-height: 1.35; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.order-tools-compact .bill-comments-status { display: block; font-size: 10px; }
/* Единая геометрия навигации счёта: общий отступ, 8px между рядами,
   одинаковые скругления и выбранная белая вкладка на нейтральном фоне. */
.order-menu-controls { display: grid; gap: 8px; margin: 8px var(--lk-gutter) 0; }
.order-sticky .order-menu-controls .seg { margin: 0; border-radius: 12px; }
.order-menu-controls .seg-thumb, .order-menu-controls .seg button { border-radius: 9px; }
.order-menu-controls .menu-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 0; border-radius: 12px; background: #e5e7eb; }
.order-menu-controls .menu-shortcuts button { min-width: 0; min-height: 34px; border: 0; border-radius: 9px; padding: 5px 3px; background: transparent; font: inherit; font-size: 12px; font-weight: 600; color: #64748b; cursor: pointer; }
.order-menu-controls .menu-shortcuts button[aria-pressed=true] { color: #0f172a; background: #fff; box-shadow: var(--shadow-sm); }
.order-menu-controls .menu-shortcuts button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.order-sticky .order-menu-controls .search-bar { margin: 0; padding: 0; background: transparent; }
.order-menu-controls .search-bar input { height: 42px; border-radius: 12px; }
.order-sticky .order-menu-controls .cat-back { margin: 0; }
.bill-chip.is-draft { background: #f1f5f9; color: #64748b; }
.bill-chip.is-failed { background: #fef2f2; color: #b91c1c; }
.dish-favorite { position: absolute; right: 4px; top: 3px; width: 32px; height: 32px; border: 0; background: transparent; color: #64748b; font-size: 22px; z-index: 2; }
.dish-favorite[aria-pressed=true] { color: #b45309; }
.dish-tile .dish-mod { top: 36px; }
.dish-tile .dish-price { flex: 0 0 auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.item-state { display: inline-block; margin-top: 4px; font-size: 11px; line-height: 1.4; color: #64748b; }
.item-state--new { color: #1d4ed8; }
.item-state--sending { color: #b45309; }
.modifier-group { margin: 22px 0; }
.modifier-group h3 { margin: 0; font-size: 15px; }
.modifier-group .bill-comment-field-head > span { color: #64748b; font-size: 12px; }
.modifier-choice { margin: 8px 0; }
.modifier-choice[hidden] { display: none; }
.modifier-choice .mod-row { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; }
.modifier-choice .mod-row > span:last-child { font-size: 12px; white-space: nowrap; }
.modifier-amount { display: flex; align-items: center; justify-content: space-between; margin: 6px 8px 12px; color: #64748b; font-size: 13px; }
.modifier-amount input { width: 96px; min-height: 40px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 8px 12px; background: #fff; color: #1f2937; font-size: 16px; }

:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --muted: #f9fafb;
  --line: #e5e7eb;
  --ink: #1f2937;
  --ink-muted: #6b7280;
  --accent: #d81818;
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --save: #10b981;
  --save-hover: #059669;
  --navy: #7c818a;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.lk-page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
}
.lk-embed {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

#auth-boot { display: none; padding: 48px 16px; text-align: center; color: var(--ink-muted); }
#auth-boot.is-on { display: block; }
#auth-screen { display: none; }
#auth:not([hidden]),
#auth-screen.is-on {
  position: fixed;
  inset: 0;
  display: flex;
  height: auto;
  min-height: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 10px;
  padding-top: calc(10px + env(safe-area-inset-top));
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: #f8fafc;
}
#phone-wrap { display: none; }
#phone-wrap.is-on {
  display: flex;
  position: fixed;
  inset: 0;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}

.lk-card {
  width: 100%;
  max-width: 420px;
  margin: 0;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}
@media (min-width: 640px) {
  .lk-card { padding: 40px; }
}
.lk-auth-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 40px;
  text-align: center;
}
.lk-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 28px;
}
.lk-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
}
.lk-logo {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.lk-rule {
  display: block;
  width: 18px;
  height: 1px;
  margin: 14px 0 0;
  background: #cbd5e1;
}
.lk-brand {
  margin: 10px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #94a3b8;
}
.lk-card h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #0f172a;
}
.lk-lead {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #64748b;
}
.lk-hint {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: #94a3b8;
}
#auth #auth-form,
#auth-screen #auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#auth .auth-field,
#auth-screen .auth-field { margin: 0; }
#auth label,
#auth-screen label {
  display: block;
  margin: 0 0 6px;
  padding-left: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}
.auth-password-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  padding: 0 4px;
}
.auth-password-head label { margin: 0; padding-left: 0; }
.auth-forgot {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  text-decoration: none;
  white-space: nowrap;
}
.auth-forgot:hover { color: #047857; }
#auth input,
#auth-screen input {
  width: 100%;
  height: auto;
  padding: 14px 16px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #0f172a;
  background: rgba(248, 250, 252, 0.5);
}
#auth input:focus,
#auth input:focus-visible,
#auth-screen input:focus,
#auth-screen input:focus-visible {
  outline: none;
  background: #fff;
  border-color: #94a3b8;
  box-shadow: none;
}
.auth-password-wrap { position: relative; }
.auth-password-wrap input { padding-right: 44px; }
.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transform: translateY(-50%);
}
.auth-password-toggle:hover { color: #475569; }
.auth-password-toggle svg { width: 16px; height: 16px; }
.auth-error {
  margin: 0;
  min-height: 0;
  color: var(--accent);
  font-size: 13px;
}
.auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: #10b981;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 16px -6px rgba(16, 185, 129, 0.35);
}
.auth-submit:hover { background: #059669; }
.auth-submit:active { transform: scale(0.98); }
.auth-submit:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 3px;
}
#auth-screen .lk-card {
  max-height: 100%;
  padding: 16px 16px 12px;
  border-radius: 24px;
}
#auth-screen .lk-auth-head { margin-bottom: 12px; }
#auth-screen .lk-lockup { margin-bottom: 10px; }
#auth-screen .lk-mark { width: 52px; height: 52px; }
#auth-screen .lk-logo { width: 52px; height: 52px; }
#auth-screen .lk-rule { margin-top: 8px; }
#auth-screen .lk-brand { margin-top: 6px; }
#auth-screen .lk-card h1 { font-size: 24px; }
#auth-screen .lk-lead { margin-top: 4px; font-size: 13px; line-height: 1.35; }
#auth-screen .lk-hint { margin-top: 2px; line-height: 1.3; }
#auth-screen #auth-form { gap: 8px; }
#auth-screen input { padding: 10px 14px; }
#auth-screen .auth-error:empty { display: none; }
#auth-screen .auth-submit {
  margin-top: 2px;
  padding: 13px;
  background: #ff000f;
  box-shadow: 0 8px 16px -6px rgba(255, 0, 15, 0.35);
}
#auth-screen .auth-submit:hover { background: #d4000c; }
#auth-screen .auth-submit:focus-visible { outline-color: #ff000f; }
#auth-screen .auth-bio-fallback { margin-top: 0; padding: 11px; }
@media (min-width: 640px) {
  #auth-screen .lk-card { padding: 28px 32px 22px; }
  #auth-screen .lk-card h1 { font-size: 30px; }
  #auth-screen .lk-auth-head { margin-bottom: 20px; }
  #auth-screen #auth-form { gap: 14px; }
}

#auth-screen.is-gate {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background: #fff;
}
#auth-screen.is-gate .lk-card { display: none; }
#auth-screen:not(.is-gate) .auth-gate { display: none !important; }
.auth-gate {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 28px 24px calc(20px + env(safe-area-inset-bottom));
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}
.auth-gate-top { padding-top: 8vh; }
.auth-finger {
  width: 112px;
  height: 112px;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #eef2ff;
  color: #6366f1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.auth-finger svg { width: 64px; height: 64px; }
.auth-finger:active { transform: scale(0.96); }
.auth-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}
.auth-finger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.07);
  color: #1f2937;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.auth-finger-btn svg { width: 18px; height: 18px; }
.auth-finger-btn:active { transform: scale(0.98); }
.auth-password-link {
  height: 44px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.auth-bio-fallback {
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #6b7280;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.auth-bio-fallback:active { transform: scale(0.98); }
.bio-offer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 24, 39, 0.35);
}
.bio-offer-card {
  width: min(420px, 100%);
  padding: 24px 20px 12px;
  border-radius: 28px;
  background: #fff;
}
.bio-offer-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
}
.bio-offer-card p { margin: 8px 0 0; color: #6b7280; font-size: 14px; line-height: 1.45; }
.bio-offer-card .auth-submit {
  margin-top: 16px;
  background: #ff000f;
  box-shadow: 0 8px 16px -6px rgba(255, 0, 15, 0.35);
}
.bio-offer-card .auth-submit:hover { background: #d4000c; }
.bio-offer-card .auth-password-link { width: 100%; }

.lk-sidebar, .lk-desk-header { display: none; }
.lk-workspace {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.phone {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  --lk-gutter: 16px;
  --lk-hdr-h: 56px;
  --lk-hdr-pad-y: 10px;
  --lk-lead: 34px;
  --lk-hdr-gap: 10px;
  --lk-title-size: 16px;
}
.proto-header,
.lk-screen-head,
.lk-pick-head,
.kpi-screen-head,
.overlay-head {
  display: flex;
  align-items: center;
  gap: var(--lk-hdr-gap);
  height: calc(var(--lk-hdr-h) + env(safe-area-inset-top, 0px));
  min-height: calc(var(--lk-hdr-h) + env(safe-area-inset-top, 0px));
  padding: calc(var(--lk-hdr-pad-y) + env(safe-area-inset-top, 0px)) var(--lk-gutter) var(--lk-hdr-pad-y);
  box-sizing: border-box;
  flex-shrink: 0;
}
.proto-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.proto-user {
  display: flex;
  align-items: center;
  gap: var(--lk-hdr-gap);
  min-width: 0;
  margin-right: auto;
}
.proto-title,
.lk-pick-head h2,
.kpi-screen-title {
  margin: 0;
  font-size: var(--lk-title-size);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proto-avatar {
  display: flex;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 999px;
  justify-self: start;
}
.proto-avatar:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 2px;
}
.proto-icons {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
.icon-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.icon-btn svg { width: 14px; height: 14px; }
.dot-alert {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ef4444;
  border: 1.5px solid #fff;
}
.dot-live {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
}
.dot-live-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #34d399;
  opacity: 0.75;
  animation: lk-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot-live-core {
  position: relative;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  border: 1.5px solid #fff;
  box-sizing: border-box;
}
.dot-live.is-off .dot-live-ping { display: none; }
.dot-live.is-off .dot-live-core { background: #94a3b8; }
.proto-sync {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}
.proto-sync .dot-status { font-size: 10px; font-weight: 600; }
@keyframes lk-ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}
.avatar {
  width: var(--lk-lead);
  height: var(--lk-lead);
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.site-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.lk-pane {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 var(--lk-gutter) 16px;
  position: relative;
}
.phone.is-order .proto-header { display: none; }
.phone.is-order .tabbar { display: none; }
.phone.is-kpi .proto-header { display: none; }
.phone.is-kpi .tabbar { display: none; }
.phone.is-more .proto-header { display: none; }
.phone.is-more .tabbar { display: none; }
.phone.is-more.is-more-profile .tabbar { display: flex; }
.lk-pane:has(.order-page),
.lk-pane:has(.kpi-screen),
.lk-pane:has(.more-screen) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.lk-embed {
  display: flex;
  flex: 1;
  min-height: 0;
  height: 100%;
  background: var(--bg);
  font-size: 12px;
  color: var(--ink);
}
.lk-embed .lk-workspace { flex: 1; }
.lk-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  margin-right: 12px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.lk-back svg { width: 16px; height: 16px; }
.muted { color: var(--ink-muted); }

.dot-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}
.dot-status svg { width: 6px; height: 6px; flex-shrink: 0; fill: currentColor; }
.dot-status--ok { color: #059669; }
.dot-status--wait { color: #d97706; }
.dot-status--pre { color: #dc2626; }
.dot-status--err { color: #e11d48; }
.dot-status--run { color: #2563eb; }
.dot-status--idle { color: #64748b; }
.meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: #64748b; }
.meta-sep { color: #cbd5e1; }
.check-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.check-meta-sep { color: #cbd5e1; }
.check-meta-item {
  font-weight: 500;
  color: #64748b;
}
.check-meta-station {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.empty { padding: 32px 8px; text-align: center; font-style: italic; color: #94a3b8; }

.kpi-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 2px 12px;
  font-size: 13px;
  font-weight: 700;
}
.kpi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: 115px;
  gap: 10px;
  margin-top: 4px;
  padding-bottom: 72px;
  width: 100%;
  min-width: 0;
}
.kpi {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 12px 12px 10px;
  text-align: left;
  cursor: default;
  font: inherit;
  color: inherit;
  min-width: 0;
  max-width: 100%;
  min-height: 115px;
  height: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
button.kpi { cursor: pointer; width: 100%; }
button.kpi:active { transform: scale(0.97); }
button.kpi:focus-visible { outline: 2px solid #059669; outline-offset: 2px; }
.kpi-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 4px;
}
.kpi-title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
.kpi-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  margin-top: auto;
  gap: 8px;
}
.kpi-value-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.kpi-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  min-width: 0;
}
.kpi-value {
  margin: 0;
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.kpi-trend {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}
.section-head { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 700; }

.hall-pick {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 12px;
}
.hall-pick--split { align-items: flex-start; }
.hall-pick-pin {
  flex: 0 0 146px;
  padding: 12px 10px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hall-pick-title,
.hall-layout-title {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.hall-pick-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hall-layout {
  min-width: 0;
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.hall-layout-title { padding-left: 2px; }
.hall-chip-sep {
  display: none;
}
.hall-chips {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hall-chips::-webkit-scrollbar { display: none; }
.hall-chips--pos {
  display: grid;
  grid-template-columns: repeat(var(--place-columns), 96px);
  grid-template-rows: repeat(var(--place-rows), 78px);
  gap: 12px;
  overflow: visible;
  width: max-content;
}
.hall-chips--pos .hall-chip { justify-self: center; align-self: center; }
.hall-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 56px;
  width: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.hall-chip:active { transform: scale(0.95); }
.hall-chip:focus { outline: none; }
.hall-chip:focus-visible .hall-tile {
  outline: 2px solid #cbd5e1;
  outline-offset: 2px;
}
.hall-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 14px;
  background: #fff;
  color: #94a3b8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hall-chip:hover .hall-tile { border-color: #a7f3d0; }
.hall-chip.is-on .hall-tile {
  background: #059669;
  border-color: #059669;
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.hall-chip--hall .hall-tile {
  background: var(--hall-bg, #fff);
  border-color: color-mix(in srgb, var(--hall-bg, #fff) 72%, #94a3b8);
  color: var(--hall-icon, #0f172a);
}
.hall-chip--hall:hover .hall-tile { border-color: var(--hall-ink, #64748b); }
.hall-chip--hall.is-on .hall-tile {
  background: var(--hall-selected, var(--hall-bg, #059669));
  border-color: var(--hall-ink, #0f172a);
  color: var(--hall-selected-icon, var(--hall-icon, #0f172a));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--hall-ink, #0f172a) 24%, transparent), 0 1px 2px rgba(15, 23, 42, 0.12);
}
.hall-tile-num {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hall-tile-unit {
  margin-top: 1px;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.hall-tile-ico {
  width: 27px;
  height: 27px;
  stroke-width: 1.8;
}
.hall-tile-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  margin-top: 6px;
  font-size: 7px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: #64748b;
}
.hall-chip.is-on .hall-tile-label {
  font-size: 8px;
  font-weight: 700;
  color: #0f172a;
}
.hall-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 4px 12px;
  font-size: 12px;
  color: #64748b;
}
.hall-sum { font-weight: 700; color: #0f172a; font-variant-numeric: tabular-nums; }

.table-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 72px; align-items: stretch; }
.table-grid--pos { grid-template-columns: repeat(var(--place-columns), minmax(0, 1fr)); }
.table-grid--pos .table-tile { min-height: 96px; }
.table-tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 77px;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.table-tile.free {
  border-color: #94a3b8;
  border-style: solid;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}
.table-tile--draft { border-color: #a8b8d1; background: #f8faff; box-shadow: inset 2px 0 #8297b9; }
.table-tile-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  flex: 1;
}
.table-tile-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.table-title-row { display: flex; align-items: center; min-width: 0; gap: 6px; }
.table-status-row { display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 6px; }
.table-status-row .table-amt { margin-left: auto; }
.table-state-ico { --table-icon-screen: #e2e8f0; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 28px; height: 28px; color: #3f4a59; }
.table-state-ico-svg { width: 28px; height: 28px; stroke-width: 1.65; }
.table-state-screen { fill: var(--table-icon-screen); }
.table-state-ico--busy { --table-icon-screen: #d99aa0; color: #4b5563; }
.table-state-ico--precheck { --table-icon-screen: #a8cd78; color: #4b5563; }
.table-state-ico--split, .table-state-ico--kitchen { --table-icon-screen: #f4b579; color: #4b5563; }
.table-state-ico--ready { --table-icon-screen: #78c7a1; color: #4b5563; }
.table-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f172a;
}
.table-tile.free .table-name { color: #64748b; }
.table-amt {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}
.table-amt.is-ghost { visibility: hidden; }
.table-tile-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid #f8fafc;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  color: #94a3b8;
}
.table-meta-line { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-meta-line--age { display: none; }
.table-tile-foot .check-meta-sep { margin: 0 4px; }
.table-tile-foot .check-meta-item { color: #94a3b8; }
.table-tile-foot.is-empty { border-top: 0; padding-top: 0; }
.table-tile:focus-visible { outline: 2px solid #059669; outline-offset: 2px; }
.table-sum { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }

.venue-page {
  --venue-free: #64748b;
  --venue-busy: #2563eb;
  --venue-kitchen: #d97706;
  --venue-precheck: #dc2626;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 178px);
  gap: 16px;
}

.venue-overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(420px, 1.28fr);
  align-items: stretch;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
}
.venue-overview-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.2;
}
.venue-overview-total b { color: #0f172a; font-size: 17px; }
.venue-overview-total strong { grid-row: 1 / span 2; grid-column: 2; color: #0f172a; font-size: clamp(22px, 1.65vw, 30px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.venue-overview-total small { color: #94a3b8; font-size: 11px; }
.venue-overview-icon, .venue-overview-coins, .venue-hall-icon { display: none; }
.venue-overview-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.venue-overview-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 58px; padding: 5px 8px; border: 1px solid transparent; border-radius: 12px; background: #f8fafc; color: #64748b; font: inherit; text-align: center; cursor: pointer; transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease; }
.venue-overview-stat b { font-size: 19px; line-height: 1; }
.venue-overview-stat small { margin-top: 3px; overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.venue-overview-stat--busy { background: #f1fcf6; color: #16a36a; }
.venue-overview-stat--kitchen { background: #eff6ff; color: #2563eb; }
.venue-overview-stat--precheck { background: #fff9eb; color: #e58a00; }
.venue-overview-stat.is-on { border-color: #2563eb; box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.16); }
.venue-overview-stat:active { transform: scale(0.97); }
.venue-fixed-top, .venue-table-scroll { display: contents; }
.venue-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.venue-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.venue-filter {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.venue-filter b { margin-left: 4px; color: #0f172a; font-variant-numeric: tabular-nums; }
.venue-filter.is-on { border-color: #2563eb; background: #2563eb; color: #fff; box-shadow: 0 2px 5px rgba(37, 99, 235, 0.2); }
.venue-filter.is-on b { color: inherit; }
.venue-summary { display: flex; align-items: baseline; gap: 8px; color: #64748b; font-size: 12px; white-space: nowrap; }
.venue-summary strong { color: #0f172a; font-size: 14px; font-variant-numeric: tabular-nums; }
.venue-halls { flex: 0 0 auto; min-width: 0; }
.venue-section-title { margin: 0 0 7px; color: #94a3b8; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.venue-hall-scroll { overflow: auto; padding: 2px; }
.venue-hall-grid {
  display: grid;
  grid-template-columns: repeat(var(--venue-columns), minmax(118px, 1fr));
  grid-template-rows: repeat(var(--venue-rows), minmax(54px, 1fr));
  gap: 8px;
  min-width: calc(var(--venue-columns) * 118px);
  height: clamp(180px, 22vw, 250px);
}
.venue-hall {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--hall-bg, #cbd5e1) 38%, #cbd5e1);
  border-radius: 14px;
  background: color-mix(in srgb, var(--hall-bg, #fff) 12%, #fff);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
  color: var(--hall-ink, #0f172a);
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.venue-hall:hover { border-color: var(--hall-ink, #2563eb); }
.venue-hall.is-active { border: 2px solid var(--hall-ink, #2563eb); background: var(--hall-selected, color-mix(in srgb, var(--hall-bg, #dbeafe) 38%, #fff)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--hall-ink, #2563eb) 18%, transparent); }
.venue-hall-name { display: block; max-width: 100%; min-width: 0; overflow: hidden; font-size: clamp(13px, 0.9vw, 15px); font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.venue-hall-stat { display: block; max-width: 100%; min-width: 0; overflow: hidden; color: color-mix(in srgb, var(--hall-ink, #64748b) 68%, #64748b); font-size: 11px; font-weight: 500; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.venue-stat-compact { display: none; }
.venue-tables { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 300px; min-width: 0; padding: 12px; border: 1px solid #e2e8f0; border-radius: 16px; background: rgba(255, 255, 255, 0.56); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02); }
.venue-active-head { display: flex; flex: 0 0 auto; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 37px; margin: 0 1px 10px; }
.venue-active-copy { flex: 0 0 auto; min-width: 0; }
.venue-active-head .venue-section-title { margin-bottom: 3px; }
.venue-active-head h2 { min-height: 36px; height: auto; margin: 0; overflow: visible; color: #0f172a; font-size: 15px; font-weight: 750; line-height: 1.2; white-space: normal; }
.venue-active-stat { display: inline-block; max-width: 100%; margin-top: 3px; overflow: hidden; color: #64748b; font-size: 12px; font-weight: 500; line-height: 1.25; text-overflow: ellipsis; vertical-align: top; white-space: nowrap; }
.venue-table-grid {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: repeat(var(--table-columns), minmax(0, 1fr));
  grid-template-rows: repeat(var(--table-rows), minmax(40px, 1fr));
  grid-auto-flow: row;
  gap: 6px;
}
.venue-table-grid .table-tile { min-width: 0; min-height: 0; overflow: hidden; padding: 8px; border-radius: 9px; container-type: inline-size; }
.venue-table-grid .table-tile-top, .venue-table-grid .table-tile-head, .venue-table-grid .table-status-row { min-width: 0; overflow: hidden; }
.venue-table-grid .table-title-row { min-width: 0; }
.venue-table-grid .table-state-ico { width: 26px; height: 26px; }
.venue-table-grid .table-state-ico-svg { width: 26px; height: 26px; }
.venue-table-grid .table-name { min-width: 0; overflow: hidden; font-size: clamp(11px, 0.75vw, 13px); text-overflow: ellipsis; white-space: nowrap; }
.venue-table-grid .table-amt { min-width: 0; overflow: hidden; font-size: clamp(11px, 0.75vw, 13px); text-overflow: ellipsis; white-space: nowrap; }
.venue-table-grid .table-tile-foot { min-width: 0; overflow: hidden; margin-top: 4px; padding-top: 4px; font-size: clamp(10px, 0.64vw, 11px); }
.venue-table-grid .table-tile-foot .check-meta-item { display: inline; white-space: nowrap; }
.venue-table-grid .table-status-row { gap: 4px; }
.venue-table-grid .table-status-meta { display: inline-flex; align-items: center; min-width: 0; overflow: hidden; }
.venue-table-grid .dot-status { flex: 0 0 auto; gap: 4px; min-width: 0; overflow: hidden; font-size: clamp(9px, 0.62vw, 11px); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.venue-table-grid .dot-status svg { width: 7px; height: 7px; }
.venue-table-grid .table-status-meta .table-status-age { display: none; }
.venue-table-grid .table-meta-line--age { display: block; color: #64748b; font-weight: 700; }
.venue-table-grid .table-meta-line--age::before { margin-right: 3px; color: currentColor; content: "◷"; }
.venue-table-grid .table-tile--kitchen .table-meta-line--age { color: #d97706; }
.venue-table-grid .table-tile--precheck .table-meta-line--age { color: #dc2626; }
.venue-table-grid .table-status-age::before { margin-right: 3px; font-size: 10px; font-weight: 400; content: "◷"; }
.venue-table-grid .table-tile--kitchen { border-color: color-mix(in srgb, var(--venue-kitchen) 45%, #e2e8f0); background: #fffaf0; box-shadow: inset 3px 0 #f59e0b; }
.venue-table-grid .table-tile--precheck { border-color: color-mix(in srgb, var(--venue-precheck) 45%, #e2e8f0); background: #fff7f7; box-shadow: inset 3px 0 #f05252; }
.venue-table-grid .table-tile--draft { border-color: #a8b8d1; background: #f8faff; box-shadow: inset 3px 0 #8297b9; }
.venue-table-grid .table-tile--kitchen .table-status-age { background: #fff0cd; color: #d97706; }
.venue-table-grid .table-tile--precheck .table-status-age { background: #ffe1e1; color: #dc2626; }
.venue-table-grid .table-tile--busy { border-color: color-mix(in srgb, var(--venue-busy) 38%, #e2e8f0); }
.venue-table-grid .table-tile.is-muted { opacity: 0.2; pointer-events: none; filter: grayscale(0.35); }
.venue-hall-empty { display: grid; grid-column: 1 / -1; grid-row: 1 / -1; min-height: 70px; margin: 0; place-items: center; color: #94a3b8; font-size: 11px; text-align: center; }
.venue-hall-screen { display: grid; grid-template-rows: auto minmax(280px, 1fr); min-height: calc(100vh - 178px); gap: 12px; }
.venue-hall-screen-head { display: flex; align-items: center; gap: 10px; }
.venue-hall-back { display: grid; flex: 0 0 auto; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 10px; background: #f1f5f9; color: #334155; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.venue-hall-screen-head .venue-section-title { margin-bottom: 2px; }
.venue-hall-screen-head h2 { margin: 0; color: #0f172a; font-size: 17px; line-height: 1.2; }
.venue-hall-screen-head h2 span { display: block; margin-top: 3px; color: #64748b; font-size: 12px; font-weight: 500; }
.venue-hall-screen-scroll { min-height: 0; overflow: auto; padding: 2px; }
.venue-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 4px; color: #64748b; font-size: 11px; font-weight: 600; }
.venue-legend span { display: inline-flex; align-items: center; gap: 5px; }
.venue-dot { display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: var(--venue-free); }
.venue-dot--busy { background: var(--venue-busy); }.venue-dot--kitchen { background: var(--venue-kitchen); }.venue-dot--precheck { background: var(--venue-precheck); }
@container (max-width: 108px) {
  .venue-table-grid .table-amt,
  .venue-table-grid .table-tile-foot { display: none; }
  .venue-table-grid .table-tile-top { align-items: center; }
  .venue-table-grid .table-state-ico { width: 22px; height: 22px; }
  .venue-table-grid .table-state-ico-svg { width: 22px; height: 22px; }
}

.bill-tabs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin: 0 0 8px;
  padding: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.bill-tab {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 -1px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.bill-tab.is-on { color: #0f172a; }
.bill-tab.is-on.bill-tab--mine,
.bill-tab.is-on.bill-tab--open { border-bottom-color: #2563eb; }
.bill-tab.is-on.bill-tab--closed { border-bottom-color: #059669; }
.bill-tab-count {
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.filter-grid {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}
.filter-grid.two { grid-template-columns: 1fr 1fr; }
.bill-scope {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: inherit;
}
.card-list {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  background: #fff;
  margin-bottom: 88px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.card-list .list-row:last-child { border-bottom: 0; }
.row-ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f8fafc;
  color: #64748b;
}
.row-ico svg { width: 16px; height: 16px; }
.grow { flex: 1; min-width: 0; }
.row-title { display: block; font-size: 12px; font-weight: 700; }
.row-sub { display: block; margin-top: 2px; font-size: 11px; color: #64748b; }
.row-amt { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chev { color: #cbd5e1; font-size: 16px; }

.bill-list { display: grid; gap: 8px; }
.bill-row {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.bill-row strong { display: block; margin-bottom: 0; font-size: 13px; }
.bill-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.bill-row--static { cursor: default; }

.more-lead {
  margin: 0 0 12px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.35;
}
.more-menu {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.more-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.more-menu > :last-child { border-bottom: 0; }
.more-row--static { cursor: default; }
.more-row-ico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
}
.more-row-ico svg { width: 18px; height: 18px; }
.more-row .row-title { font-size: 14px; font-weight: 700; color: #0f172a; }
.more-row .row-sub { font-size: 12px; color: #94a3b8; }
.more-ver {
  margin-top: 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.5;
}
.more-form { display: grid; gap: 12px; }
.more-form .field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-muted); }
.more-form .field input,
.more-form .field textarea {
  font: inherit;
  color: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.more-send {
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--save);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.more-send:disabled { opacity: 0.55; }
.more-screen {
  background: var(--bg);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.more-screen-head {
  position: sticky;
  top: 0;
  z-index: 8;
  height: calc(72px + env(safe-area-inset-top, 0px));
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
  box-sizing: border-box;
  background: transparent;
  border-bottom: 0;
}
.more-screen .lk-back-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: #fff;
}
.more-screen .kpi-screen-title {
  flex: 1;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.more-screen-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px var(--lk-gutter) calc(24px + env(safe-area-inset-bottom, 0px));
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.overlay-back { border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.overlay-body { flex: 1; overflow: auto; padding: 0 var(--lk-gutter) 24px; }
.lk-back-btn {
  width: var(--lk-lead);
  height: var(--lk-lead);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #0f172a;
  cursor: pointer;
  box-shadow: none;
}
.lk-back-btn svg { width: 22px; height: 22px; }
.lk-back-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.order-page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.order-sticky {
  flex-shrink: 0;
  padding: 0 0 12px;
  background: var(--bg);
  z-index: 10;
}
.order-local-head { margin: 0; }
.order-local-main { flex: 1; min-width: 0; }
.order-sticky .order-sub,
.order-sticky .order-meta,
.order-sticky .pre-banner,
.order-sticky .cash-wait,
.order-sticky .seg,
.order-sticky .search-bar,
.order-sticky .cat-back {
  margin-left: var(--lk-gutter);
  margin-right: var(--lk-gutter);
}
.order-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 var(--lk-gutter) 12px;
}
.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.order-head-lead {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.order-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  font-size: calc(var(--lk-title-size) + 1px);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.order-waiter {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.order-opened {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bill-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bill-chip.is-wait {
  color: #b45309;
  background: #fff7ed;
}
.bill-chip.is-got {
  color: #047857;
  background: #ecfdf5;
}
.bill-spin {
  width: 10px;
  height: 10px;
  border: 1.5px solid #fdba74;
  border-top-color: #ea580c;
  border-radius: 999px;
  animation: bill-spin 0.8s linear infinite;
}
.bill-chip.is-got .bill-spin { display: none; }
@keyframes bill-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bill-spin { animation: none; border-top-color: #fdba74; }
}
.order-head .table-sum {
  flex-shrink: 0;
  font-size: calc(var(--lk-title-size) + 2px);
  font-weight: 850;
  letter-spacing: -0.02em;
}
.order-sub {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}
.seg-count { font-weight: 800; }
.order-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 0;
}
.order-meta .dot-status { flex-shrink: 0; }
.order-meta .check-meta { margin: 0; }
.kpi-screen {
  background: var(--bg);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.kpi-screen-head {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}
.kpi-screen-title {
  flex: 1;
  min-width: 0;
  color: #0f172a;
  pointer-events: none;
}
.kpi-screen-body {
  padding: 16px var(--lk-gutter) calc(24px + env(safe-area-inset-bottom, 0px));
}
.kpi-screen .card-list { margin-bottom: 16px; }
.kpi-hero { margin: 8px 0 16px; }
.kpi-hero-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.kpi-hero-value {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.kpi-hero-unit {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #64748b;
}
.kpi-hero-note {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}
.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 10px 0 0;
  padding: 4px;
  background: #e5e7eb;
  border-radius: 999px;
}
.seg-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.22, 0.8, 0.32, 1);
  pointer-events: none;
}
.seg[data-on="cart"] .seg-thumb { transform: translateX(100%); }
.seg button {
  position: relative;
  z-index: 1;
  min-height: 38px;
  border: 0;
  background: none;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  border-radius: 999px;
}
.seg button svg { width: 16px; height: 16px; flex-shrink: 0; }
.seg button.cart-hit svg { animation: cart-hit 0.32s cubic-bezier(.2,.8,.25,1); }
@keyframes cart-hit {
  0% { transform: scale(1); }
  45% { transform: scale(1.34); }
  72% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.seg-count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.seg button.is-on { color: #0f172a; }
.seg button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .seg-thumb { transition: none; }
}
.pre-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 6px 10px;
  background: #fffbeb;
  border: 0;
  border-left: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  color: #78350f;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  min-width: 0;
}
.pre-banner .dot-status { flex-shrink: 0; }
.order-draft-clear { display: block; margin: -4px var(--lk-gutter) 7px auto; padding: 3px 0; border: 0; background: transparent; color: #9a5a43; font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.order-draft-clear:focus-visible { outline: 2px solid #9a5a43; outline-offset: 2px; }
.pre-banner-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cash-wait {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
}
.cash-wait i {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #f59e0b;
  flex: 0 0 auto;
}
.cash-wait b {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.cash-wait > span > span {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  white-space: normal;
}
.cash-wait--float {
  position: absolute;
  left: var(--lk-gutter, 12px);
  right: var(--lk-gutter, 12px);
  z-index: 30;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}
.cash-wait--float.is-on:not(.is-out) { opacity: 1; }
.cash-wait--float.is-out {
  opacity: 0;
  transition: opacity 200ms ease;
}
.item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 0;
  background: #fff;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.cart-list {
  display: grid;
  gap: 8px;
  padding: 4px 0 8px;
}
.item-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.item-card .dish-step-btn {
  background: #f1f5f9;
  color: #334155;
}
.item-card .dish-step-btn:active { background: #e2e8f0; }
.item-body { flex: 1; min-width: 0; }
.item-body strong {
  display: block;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.item-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}
.item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.item-sum {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}
.item-qty { font-size: 12px; font-weight: 700; color: #64748b; }
.item-card .dish-step { margin-left: 0; }
.item-name { display: flex; flex-direction: column; gap: 2px; }
.item-name small { color: var(--ink-muted); font-size: 11px; }
.item-row.is-locked {
  opacity: 1;
  background: #f8fafc;
  cursor: default;
}
.item-row.is-locked .item-body strong { color: #475569; }
.item-kitchen {
  display: inline-flex;
  margin-top: 4px;
}
.item-kitchen .dot-status { font-size: 11px; }
.cmd-row { display: grid; gap: 8px; margin-top: 20px; }
.cmd-sticky {
  position: relative;
  z-index: 12;
  flex-shrink: 0;
  display: grid;
  gap: 8px;
  padding: 10px var(--lk-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  box-shadow: 0 -1px 0 var(--line);
}
.cmd-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
}
.cmd-cta:has(#do-precheck) {
  grid-template-columns: 1fr 1fr;
}
.cmd-btn {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.cmd-btn--kitchen { background: var(--save); color: #fff; }
.cmd-btn--kitchen:not(:disabled):hover { background: var(--save-hover); }
.cmd-cta .cmd-btn--kitchen {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  background: #059669;
}
.cmd-cta .cmd-btn--kitchen:not(:disabled):hover { background: #047857; }
.cmd-btn--precheck { background: #fff; color: #0f172a; border: 1px solid var(--line); }
.cmd-cta .cmd-btn--check {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px var(--line);
}
.cmd-cta .cmd-btn--check:not(.is-blocked):not(:disabled):hover {
  background: #f9fafb;
}
.cmd-cta .cmd-btn--check.is-blocked,
.cmd-cta .cmd-btn--check[aria-disabled="true"] {
  cursor: not-allowed;
  background: #e5e7eb;
  color: #9ca3af;
  box-shadow: inset 0 0 0 1px #d1d5db;
}
.cmd-cta .cmd-btn--kitchen:disabled {
  opacity: 1;
  background: #e5e7eb;
  color: #9ca3af;
}
.cmd-cta .cmd-btn--check:disabled {
  opacity: 1;
  background: #e5e7eb;
  color: #9ca3af;
}
.cmd-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.cmd-cta .cmd-btn:disabled { opacity: 1; }
.search-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 0 12px;
  padding: 0 0 8px;
  background: var(--bg);
}
.search-bar--nested { position: relative; }
.search-bar--nested > svg {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: #64748b;
  pointer-events: none;
  transform: translateY(-50%);
}
.search-bar input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.search-bar input:focus {
  outline: none;
  border-color: #94a3b8;
}
.order-sticky .search-bar { background: #fff; }
.search-bar--nested { position: relative; margin: 12px 0 20px; padding: 0; }
.cat-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 8px;
  scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
}
.cat-chip.is-on { background: #eff6ff; border-color: var(--brand); color: #1d4ed8; }
.cat-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0;
  min-height: 36px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}
.cat-back svg { width: 16px; height: 16px; }
.dish-grid { --menu-columns: 2; display: grid; grid-template-columns: repeat(var(--menu-columns), minmax(0, 1fr)); gap: 10px; }
.menu-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 12px 0 2px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}
.search-bar--nested input { padding-left: 42px; }
.menu-pages:empty { display: none; }
.menu-pages button {
  min-width: 42px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.menu-pages button:disabled { opacity: 0.35; cursor: default; }
.order-scroll .catalog { padding-top: 12px; }
.dish-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 104px;
  padding: 12px;
  border: 1px solid #f3f4f6;
  border-radius: var(--radius);
  background: var(--menu-bg, #fff);
  box-shadow: var(--shadow-sm);
  text-align: left;
  font: inherit;
  color: var(--menu-ink, inherit);
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color 0.16s ease;
}
.dish-tile.is-in {
  box-shadow: var(--shadow-sm);
  border-color: #93c5fd;
}
.dish-mod {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  opacity: 0.28;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dish-mod:hover,
.dish-mod:focus-visible { opacity: 0.7; }
.dish-mod:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.dish-mod svg { width: 14px; height: 14px; }
.dish-tile strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  padding-right: 28px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.dish-foot {
  flex-wrap: wrap;
  row-gap: 6px;
  margin-top: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
}
.dish-price {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--menu-ink, #475569);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.dish-step {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(71, 85, 105, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.dish-step.is-out {
  position: absolute;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}
.dish-step-btn {
  flex-shrink: 0;
  padding: 0;
  width: 30px;
  min-width: 30px;
  align-self: stretch;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
}
.dish-step-btn:first-child { border-right: 1px solid rgba(71, 85, 105, 0.14); }
.dish-step-btn:last-child { border-left: 1px solid rgba(71, 85, 105, 0.14); }
.dish-step-btn:hover { background: rgba(255, 255, 255, 0.45); color: #0f172a; }
.dish-step-btn:active { background: rgba(255, 255, 255, 0.7); transform: scale(0.92); }
.dish-step-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.dish-step-btn:disabled { color: #94a3b8; cursor: not-allowed; }
.dish-step-qty {
  flex-shrink: 0;
  white-space: nowrap;
  display: grid;
  min-width: 28px;
  align-self: stretch;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}
@media (min-width: 960px) {
  .dish-step { min-height: 30px; border-radius: 8px; }
  .dish-step-btn { width: 28px; min-width: 28px; font-size: 16px; }
  .dish-step-qty { min-width: 27px; font-size: 12px; }
}
@keyframes lk-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.lk-pop { animation: lk-pop 0.1s ease; }
@keyframes lk-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.lk-shake { animation: lk-shake 0.35s ease; }
@media (prefers-reduced-motion: reduce) {
  .lk-pop { animation: none; }
  .lk-shake { animation: none; }
  .kitchen-pulse,
  .order-page .menu-send #do-kitchen.is-enter { animation: none; }
  .cart-fly-card { display: none; }
  .seg button.cart-hit svg { animation: none; }
  .dish-tile,
  .dish-price,
  .dish-step { transition: none; }
}
.cat-card { min-height: 104px; justify-content: flex-end; }
.cat-card strong { padding-right: 0; font-size: 15px; }
.cat-card span { font-size: 12px; font-weight: 600; color: var(--menu-ink, #64748b); }
.hall-chip:active .hall-tile,
.mine-card:active,
.table-card:active,
.lk-fab:active,
.cmd-btn:not(:disabled):active { opacity: 0.88; }
.mod-list { display: grid; gap: 6px; margin: 0 0 12px; }
.mod-row {
  padding: 10px 12px;
  background: #f9fafb;
  border: 1px solid transparent;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.mod-row.is-on { border-color: #10b981; background: #ecfdf5; color: #047857; }
.lk-sheet-root {
  position: absolute;
  inset: 0;
  z-index: 20;
}
.lk-sheet-back {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 24, 39, 0.32);
  cursor: pointer;
}
.lk-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: 88%;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}
.lk-sheet.is-halls { max-height: 55%; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.lk-sheet.is-halls .lk-sheet-handle { margin-bottom: 8px; }
.hall-sheet-head { padding: 0 4px 8px; }
.hall-sheet-head h2 { margin: 0; color: #0f172a; font-size: 17px; font-weight: 800; }
.hall-sheet-list { display: grid; gap: 7px; }
.hall-sheet-row { display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; align-items: center; width: 100%; min-height: 60px; padding: 0 12px; border: 0; border-radius: 13px; background: #fff; color: #172033; font: inherit; text-align: left; cursor: pointer; }
.hall-sheet-row:active { background: #f1f5f9; }
.hall-sheet-row.is-on { background: #eff6ff; color: #1d4ed8; }
.hall-sheet-radio { width: 16px; height: 16px; border: 2px solid #cbd5e1; border-radius: 50%; background: #fff; box-sizing: border-box; }
.hall-sheet-row.is-on .hall-sheet-radio { border: 4px solid #2563eb; }
.hall-sheet-name { min-width: 0; overflow: hidden; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hall-sheet-row.is-on .hall-sheet-name { font-weight: 850; letter-spacing: -0.01em; }
.hall-sheet-count { display: flex; align-items: center; gap: 4px; padding-left: 8px; color: #64748b; font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.hall-sheet-separator { color: #94a3b8; }
.hall-sheet-free { color: #008b61; font-weight: 750; }
.hall-sheet-free.is-none { color: #d97706; }
.hall-sheet-cancel { width: 100%; min-height: 46px; margin-top: 8px; border: 0; border-top: 1px solid #eef2f7; background: transparent; color: #94a3b8; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.sheet-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}
.sheet-title { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.sheet-text { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--ink); }
.lk-toast {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(8px + env(safe-area-inset-top, 0px));
  bottom: auto;
  z-index: 30;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 0.8, 0.32, 1), opacity 0.22s ease;
}
.lk-toast.is-on {
  transform: translateY(0);
  opacity: 1;
}
.lk-toast--ok {
  background: #ecfdf5;
  color: #047857;
}
.lk-toast--warn {
  background: #fffbeb;
  color: #b45309;
}
.lk-toast--err {
  background: #fef2f2;
  color: #be123c;
}
@media (prefers-reduced-motion: reduce) {
  .lk-toast {
    transform: none;
    transition: opacity 0.15s ease;
  }
}

.tabbar {
  position: relative;
  display: flex;
  align-items: flex-end;
  border-top: 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  flex-shrink: 0;
  min-height: 58px;
  padding: 2px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 16px rgba(17, 24, 39, 0.04);
}
.tab-ind {
  position: absolute;
  top: 4px;
  left: 0;
  width: 36px;
  height: 22px;
  border-radius: 999px;
  background: #dbe6fd;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(0.22, 0.8, 0.2, 1);
}
.tabbar button {
  position: relative;
  z-index: 1;
  flex: 1;
  border: 0;
  background: transparent;
  min-height: 44px;
  min-width: 0;
  padding: 2px 2px 2px;
  font-size: 10px;
  font-weight: 600;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  -webkit-tap-highlight-color: transparent;
  transition: color 150ms ease;
}
.tabbar button .tab-ic {
  display: grid;
  place-items: center;
  height: 24px;
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tabbar button svg { width: 22px; height: 22px; stroke-width: 1.6; }
.tabbar button.is-on { color: #2563eb; }
.tabbar button.is-on .tab-ic { transform: translateY(-3px) scale(1.04); }
.tabbar button.tab-plus { color: #6b7280; }
.tabbar button.tab-plus .tab-ic {
  width: 42px;
  height: 42px;
  margin-top: -12px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}
.tabbar button:active { transform: none; background: transparent; }
.tabbar button:active .tab-ic { transform: scale(0.94); }
.tabbar button.is-on:active .tab-ic { transform: translateY(-4px) scale(0.98); }
.tabbar button:focus { outline: none; }
.pos-user-missing { display: grid; gap: 12px; justify-items: center; padding: 28px 16px; }
.pos-user-missing .cmd-btn { max-width: 240px; background: #f1f3f6; color: #1f2937; }
.phone.is-sending .order-scroll,
.phone.is-sending .order-local-head,
.phone.is-sending .tabbar,
.phone.is-sending .seg,
.phone.is-sending .search-bar,
.phone.is-sending .dish-grid { pointer-events: none; }
.cmd-btn--kitchen.is-sending,
.cmd-btn--kitchen.is-sent-ok {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  isolation: isolate;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.kitchen-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 999px;
  background: #1e40af;
  transform: translateX(calc(0% - 100%));
  pointer-events: none;
}
.kitchen-label,
.kitchen-sent {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.kitchen-sent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.kitchen-check {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.table-queue {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f3f6;
  color: #374151;
  font-size: 11px;
  font-weight: 600;
}
.table-queue.is-rejected { background: #fdecec; color: #991b1b; }
.lk-modal--neutral { background: #f1f3f6; color: #374151; }
.lk-modal--err { background: #fdecec; color: #991b1b; }
.lk-qty-name { margin: 0 0 8px; color: #6b7280; font-size: 14px; }
.lk-qty-view {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lk-numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lk-numpad-key {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: #f1f3f6;
  color: #1f2937;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  cursor: pointer;
}
.lk-numpad-key.is-ok { background: #2563eb; color: #fff; grid-column: span 1; }
.lk-numpad-key:active { transform: scale(0.95); }
@media (prefers-reduced-motion: reduce) {
  .tab-ind, .tabbar button, .tabbar button .tab-ic, .kitchen-fill, .cash-wait--float {
    transition-duration: 1ms;
    animation-duration: 1ms;
  }
}

.lk-desk-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.lk-fab {
  position: absolute;
  right: 16px;
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}
.lk-fab span { font-size: 18px; line-height: 1; }
@media (max-width: 959px) {
  .lk-fab { display: none; }
}
.table-card--foreign { opacity: 0.5; }
.waiter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}
.waiter-chips::-webkit-scrollbar { display: none; }
.mine-list { display: grid; gap: 8px; padding-bottom: 72px; }
.mine-card {
  display: block;
  width: 100%;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.mine-card strong { font-size: 16px; font-weight: 800; }
.mine-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  color: #64748b;
}
.mine-guests {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mine-guests svg { width: 14px; height: 14px; }
.mine-dishes {
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.free-pick {
  display: flex;
  flex-direction: column;
  margin: 0 0 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.free-pick button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.free-pick button:last-child { border-bottom: 0; }
.free-pick button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.order-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}
.order-tab.is-off { display: none; }
.cart-foot {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}
.cart-fly-card {
  position: fixed;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 58px;
  padding: 9px 10px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
  font-size: 10px;
  line-height: 1.25;
  pointer-events: none;
  will-change: transform, opacity;
}
.cart-fly-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.cart-fly-card span { margin-top: 4px; font-size: 10px; font-weight: 700; text-align: right; }
.mod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.mod-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}
.mod-chip.is-on { border-color: var(--brand); background: #eff6ff; color: #1d4ed8; }
.item-swipe {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.item-del {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 72px;
  border: 0;
  background: #e11d48;
  color: #fff;
  cursor: pointer;
}
.item-del svg { width: 18px; height: 18px; }
.item-swipe .item-row {
  position: relative;
  background: #fff;
  z-index: 1;
  transition: transform 0.12s ease;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.qty-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #e2e8f0;
  color: #0f172a;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.qty-btn:active { background: #cbd5e1; }
.qty-val { font-size: 18px; font-weight: 800; min-width: 24px; text-align: center; }
.lk-sheet .field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-muted); margin: 0 0 12px; }
.lk-sheet .field textarea {
  font: inherit;
  color: var(--ink);
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: #f8fafc;
}
.lk-sheet .field textarea:focus {
  outline: none;
  border-color: #93c5fd;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.28);
}
.bill-comments-trigger {
  display: flex; align-items: center; gap: 11px; width: 100%; margin: 4px 0 10px;
  padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 14px;
  background: #fff; color: var(--ink); text-align: left; cursor: pointer;
}
.bill-comments-trigger:hover { border-color: #cbd5e1; background: #f8fafc; }
.bill-comments-trigger:focus-visible, .bill-comment-option:focus-visible,
.bill-comment-clear:focus-visible, .bill-comments-close:focus-visible { outline: 2px solid #16a34a; outline-offset: 3px; }
.bill-comments-icon, .bill-comments-edit { display: flex; flex: 0 0 auto; color: #64748b; }
.bill-comments-icon svg { width: 21px; height: 21px; }
.bill-comments-edit svg { width: 17px; height: 17px; }
.bill-comments-edit:has(svg path[d="m15 18-6-6 6-6"]) { transform: rotate(180deg); }
.bill-comments-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.bill-comments-label { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; font-size: 12px; font-weight: 650; }
.bill-comments-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.45; color: #64748b; overflow-wrap: anywhere; }
.bill-comments-trigger.has-value .bill-comments-summary { color: #334155; }
.bill-comments-status .dot-status { font-size: 10px; }
.bill-comments-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bill-comments-heading .sheet-title { margin-bottom: 0; }
.bill-comments-heading .sheet-kicker { margin-top: 0; }
.bill-comments-close { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border: 0; border-radius: 10px; color: #64748b; background: #f1f5f9; cursor: pointer; }
.bill-comments-close svg { width: 19px; height: 19px; }
.bill-comments-intro { margin: 12px 0 20px; font-size: 12px; line-height: 1.5; color: #64748b; }
.bill-comment-field { margin: 0 0 20px; }
.bill-comment-field-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 9px; }
.bill-comment-field-head label { font-size: 13px; font-weight: 650; }
.bill-comment-required { margin-left: 4px; color: #d97706; }
.bill-comment-clear { min-height: 30px; border: 0; background: none; color: #64748b; font-size: 11px; cursor: pointer; }
.bill-comment-text, .bill-comment-search { display: block; box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #dbe2ea; border-radius: 11px; background: #f8fafc; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.5; }
.bill-comment-text { resize: vertical; min-height: 96px; }
.bill-comment-text:focus, .bill-comment-search:focus { outline: none; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.08); background: #fff; }
.bill-comment-counter { display: block; margin-top: 5px; text-align: right; font-size: 10px; color: #94a3b8; }
.bill-comment-search { margin-bottom: 8px; }
.bill-comment-options { display: grid; gap: 7px; }
.bill-comment-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 11px 12px; border: 1px solid #e2e8f0; border-radius: 11px; background: #fff; color: #334155; font: inherit; font-size: 13px; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.bill-comment-option[hidden] { display: none; }
.bill-comment-option.is-on { border-color: #16a34a; background: #f0fdf4; color: #166534; }
.bill-comment-option:disabled { opacity: 1; cursor: default; }
.bill-comment-radio { flex: 0 0 17px; width: 17px; height: 17px; border: 1.5px solid #cbd5e1; border-radius: 50%; box-sizing: border-box; }
.bill-comment-option.is-on .bill-comment-radio { border: 5px solid #16a34a; }
.bill-comments-notice { padding: 10px 12px; border-radius: 10px; background: #f8fafc; color: #64748b; font-size: 12px; line-height: 1.5; }
.bill-comments-error { color: #b91c1c; font-size: 12px; line-height: 1.5; }
.bill-comment-no-results { color: #64748b; font-size: 12px; }
.bill-comments-footer { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 12px 0 0; background: #fff; border-top: 1px solid #eef2f6; }
.bill-comments-footer > span { text-align: center; color: #94a3b8; font-size: 11px; }
.bill-comments-footer .cmd-btn { width: 100%; }
@media (max-width: 959px) {
  .bill-comments-trigger { padding: 10px 12px; margin-bottom: 8px; }
  .bill-comment-text, .bill-comment-search { font-size: 16px; }
  .bill-comments-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
}
@media (min-width: 960px) {
  .lk-sheet.is-bill-comments { left: 50%; right: auto; top: 50%; bottom: auto; width: min(560px, calc(100% - 48px)); max-height: calc(100% - 40px); padding: 20px; border-radius: 20px; box-sizing: border-box; transform: translate(-50%, -50%); }
  .lk-sheet.is-bill-comments .lk-sheet-handle { display: none; }
}

.cmd-btn--done {
  background: #0f172a;
  color: #fff;
  min-height: 48px;
  font-size: 15px;
}
.cmd-btn--done:not(:disabled):hover { background: #1e293b; }
.cmd-btn--danger {
  background: #fef2f2;
  color: #dc2626;
  border: 0;
}
.cmd-btn--danger:not(:disabled):hover { background: #fee2e2; }
.lk-sheet-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #e5e7eb;
  flex-shrink: 0;
}
.lk-sheet.is-sync {
  background: #f3f4f6;
  padding-top: 12px;
}
.lk-sheet.is-sync .lk-sheet-handle { background: #d1d5db; }
.sync-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.sync-head.is-lined {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.sync-head-copy { min-width: 0; }
.sync-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f172a;
}
.sync-sub {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}
.sync-head-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-top: -2px;
}
.sync-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.sync-icon-btn svg { width: 18px; height: 18px; }
.sync-icon-btn:disabled { opacity: 0.45; }
.sync-banner {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.sync-banner--ok { background: #ecfdf5; color: #047857; }
.sync-banner--wait { background: #fffbeb; color: #b45309; }
.sync-banner--err { background: #fef2f2; color: #e11d48; }
.sync-facts {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 16px;
}
.sync-fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: #64748b;
}
.sync-fact + .sync-fact { border-top: 1px solid #f1f5f9; }
.sync-fact strong { font-weight: 700; color: #0f172a; }
.sync-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.sync-empty {
  margin: 0;
  padding: 16px 4px;
  font-size: 13px;
  color: #94a3b8;
}
.sync-agent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}
.sync-agent + .sync-agent { margin-top: 8px; }
.sync-agent-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: #94a3b8;
  flex-shrink: 0;
}
.sync-agent-dot--ok { background: #10b981; }
.sync-agent-dot--warn { background: #d97706; }
.sync-agent-dot--offline { background: #e11d48; }
.sync-agent-dot--never { background: #94a3b8; }
.sync-agent-main { min-width: 0; flex: 1; }
.sync-agent-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.sync-agent-top strong {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.sync-agent-ago {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  flex-shrink: 0;
}
.sync-agent-meta {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}
.note-list {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 2px 12px;
  margin: 0 0 16px;
}
.note-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
}
.note-list .note-row + .note-row,
.lk-sheet.is-notes .note-row + .note-row {
  border-top: 1px solid #f1f5f9;
}
.note-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: #94a3b8;
  flex-shrink: 0;
}
.note-dot--ok { background: #10b981; }
.note-dot--wait { background: #d97706; }
.note-dot--err { background: #e11d48; }
.note-dot--idle { background: #94a3b8; }
.note-main { min-width: 0; flex: 1; }
.note-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.note-cat {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.note-cat span {
  font-weight: 700;
  color: #64748b;
}
.note-time {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  flex-shrink: 0;
}
.note-title {
  display: block;
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.note-detail {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
}
.lk-sheet-body {
  overflow: auto;
  min-height: 0;
}
.lk-modal-root {
  position: absolute;
  inset: 0;
  z-index: 40;
}
.lk-modal-back {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.4);
  cursor: pointer;
}
.lk-modal {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 24px 16px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}
.lk-modal-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #fffbeb;
  color: #f59e0b;
}
.lk-modal-ico svg { width: 24px; height: 24px; }
.lk-modal h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  color: #0f172a;
}
.lk-modal-lead {
  margin: 8px 0 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: #64748b;
}
.lk-modal-actions { display: grid; gap: 8px; }
.lk-modal .cmd-btn { min-height: 48px; }
.lk-modal-root:has(.queue-modal) .lk-modal-back { background: rgba(17, 24, 39, 0.4); }
.queue-modal {
  left: 24px;
  right: 24px;
  padding: 24px;
  border-radius: 24px;
  text-align: center;
}
.queue-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #fef3e2;
  color: #b45309;
}
.queue-ico svg { width: 24px; height: 24px; }
.queue-modal h2 { font-size: 18px; font-weight: 700; }
.queue-modal .lk-modal-lead {
  margin: 8px 0 18px;
  color: #6b7280;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}
.queue-modal .lk-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.queue-go, .queue-stay {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.queue-go { background: #2563eb; color: #fff; }
.queue-stay { background: #e8eefc; color: #2563eb; }

.lk-pick-root {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  justify-content: center;
  background: var(--bg);
}
.lk-pick {
  width: 100%;
  max-width: 28rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.lk-pick-head h2 {
  flex: 1;
  min-width: 0;
}
.lk-pick-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 var(--lk-gutter) calc(16px + env(safe-area-inset-bottom, 0px));
}

@keyframes lk-slide-in {
  from { transform: translateX(10px); }
  to { transform: none; }
}
@keyframes lk-slide-back {
  from { transform: translateX(-8px); }
  to { transform: none; }
}
.lk-pane.lk-slide-in { animation: lk-slide-in 0.28s cubic-bezier(0.22, 0.8, 0.32, 1); }
.lk-pane.lk-slide-back { animation: lk-slide-back 0.24s cubic-bezier(0.22, 0.8, 0.32, 1); }
@media (prefers-reduced-motion: reduce) {
  .lk-pane.lk-slide-in,
  .lk-pane.lk-slide-back { animation: none; }
  .venue-filter,
  .venue-hall,
  .venue-overview,
  .venue-overview-stat { transition: none; }
}

@media (min-width: 960px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .lk-sidebar {
    display: flex;
    flex-direction: column;
    width: 248px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #e5e7eb;
  }
  .lk-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
  }
  .lk-nav { padding: 12px 8px; display: grid; gap: 2px; }
  .lk-nav-group {
    margin: 12px 8px 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
  }
  .lk-nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
  }
  .lk-nav a.is-on { background: #f3f4f6; color: #2563eb; }
  .lk-sidebar-foot { margin-top: auto; padding: 12px 16px; color: var(--ink-muted); font-size: 11px; }
  .lk-desk-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .tabbar { display: none; }
  .phone .proto-header { display: none; }
  .phone.is-order .order-local-head,
  .phone.is-kpi .kpi-screen-head,
  .phone.is-more .more-screen-head {
    height: var(--lk-hdr-h);
    min-height: var(--lk-hdr-h);
    padding-top: var(--lk-hdr-pad-y);
  }
  .phone.is-order .lk-back-btn { display: none; }
  .phone.is-kpi .kpi-screen-head .lk-back-btn { display: none; }
  .phone.is-more .more-screen-head .lk-back-btn { display: none; }
  .lk-fab { bottom: 24px; }
  .phone { --lk-gutter: 24px; }
  .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Выбор стола для нового заказа — самостоятельный desktop-экран, а не
     мобильная шторка шириной 28rem. Иначе фронтовская позиционная сетка
     сжимает все столбцы до нескольких пикселей. */
  .lk-pick { max-width: none; }
  .lk-pick-body { padding: 8px 24px 32px; }
  .lk-pick-body .hall-layout { width: 100%; padding: 16px; }
  .lk-pick-body .hall-chips--pos {
    grid-template-columns: repeat(var(--place-columns), minmax(132px, 1fr));
    grid-template-rows: repeat(var(--place-rows), 88px);
    width: max(100%, calc(var(--place-columns) * 132px));
    gap: 14px;
    padding: 0;
  }
  .lk-pick-body .hall-chip { width: 100%; flex-basis: auto; }
  .lk-pick-body .hall-tile { width: 100%; height: 70px; border-radius: 12px; }
  .lk-pick-body .hall-tile-num { font-size: 18px; }
  .lk-pick-body .hall-tile-unit { font-size: 8px; }
  .lk-pick-body .hall-tile-label { margin-top: 5px; font-size: 10px; }
  .lk-pick-body .hall-chip.is-on .hall-tile-label { font-size: 10px; }
  .lk-pick-body .table-grid--pos { min-width: max-content; }
  .lk-pick-body .table-grid--pos .table-tile { min-height: 108px; }

  /* На desktop сохраняем позиционную сетку DB2: Row/Column каждого стола
     задаются inline-стилем. auto-fill и grid-*:auto !important перекрывали
     эти координаты и сваливали все карточки в последовательный список. */
  .venue-table-grid {
    grid-template-columns: repeat(var(--table-columns), minmax(0, 1fr));
    grid-template-rows: repeat(var(--table-rows), minmax(40px, 1fr));
    gap: 10px;
  }
  .venue-table-grid .table-status-meta .table-status-age {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 19px;
    margin-left: 4px;
    padding: 0 7px;
    border-radius: 999px;
    background: #eef3f8;
    color: #52647d;
    font-size: 10px;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
  }
  .venue-table-grid .table-meta-line--age { display: none; }
  .venue-table-grid .table-tile--kitchen .table-status-age { background: #fff0cd; color: #d97706; }
  .venue-table-grid .table-tile--precheck .table-status-age { background: #ffe1e1; color: #dc2626; }
}

@media (max-width: 719px) {
  .phone { --lk-hdr-h: 50px; --lk-hdr-pad-y: 7px; --lk-hdr-gap: 8px; }
  .lk-pane.lk-pane--venue { padding-right: 12px; padding-left: 12px; }
  .proto-icons { gap: 5px; }
  .icon-btn { width: 30px; height: 30px; }
  html, body, body.lk-page, #phone-wrap, .phone, .lk-pane { -ms-overflow-style: none; scrollbar-width: none; }
  html::-webkit-scrollbar, body::-webkit-scrollbar, #phone-wrap::-webkit-scrollbar, .phone::-webkit-scrollbar, .lk-pane::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .dish-grid { --menu-columns: 2 !important; }
  .menu-pages { position: sticky; bottom: 0; background: var(--lk-bg, #f3f4f6); padding: 8px 0; }
  .hall-pick { display: block; margin-bottom: 10px; }
  .hall-pick-pin { width: 100%; margin-bottom: 10px; }
  .hall-layout { width: 100%; }
  .hall-chips--pos { display: flex; grid-template-columns: none; grid-template-rows: none; overflow-x: auto; width: auto; }
  .table-grid--pos { grid-template-columns: 1fr 1fr; }
  .table-grid--pos .table-tile { grid-row: auto !important; grid-column: auto !important; }
  /* Компактная мобильная схема: это только оформление существующей модели
     залов/столов. Состояния заказов и обработчики остаются теми же. */
  .lk-pane:not(.lk-pane--venue):has(.hall-pick) { overflow: auto; padding-bottom: 88px; }
  .lk-pane:not(.lk-pane--venue) .hall-pick { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; }
  .lk-pane:not(.lk-pane--venue) .hall-pick-pin { flex: 0 0 auto; width: auto; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .lk-pane:not(.lk-pane--venue) .hall-pick-title,
  .lk-pane:not(.lk-pane--venue) .hall-layout-title { display: none; }
  .lk-pane:not(.lk-pane--venue) .hall-pick-actions { flex-wrap: nowrap; gap: 5px; }
  .lk-pane:not(.lk-pane--venue) .hall-layout { flex: 1 1 0; min-width: 0; width: auto; overflow: hidden; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .lk-pane:not(.lk-pane--venue) .hall-chips { width: max-content; min-width: 100%; gap: 8px; padding: 0 0 4px; overflow-x: auto; }
  .lk-pane:not(.lk-pane--venue) .hall-dropdown { display: grid; grid-template-columns: 18px minmax(0, 1fr) 12px; align-items: center; width: 100%; height: 48px; padding: 0 9px; border: 1px solid #d9e1ef; border-radius: 14px; outline: none; background: #f5f6ff; color: #334155; font: inherit; cursor: pointer; }
  .lk-pane:not(.lk-pane--venue) .hall-dropdown-ico { display: grid; place-items: center; color: #64748b; }
  .lk-pane:not(.lk-pane--venue) .hall-dropdown-ico svg { width: 15px; height: 15px; }
  .lk-pane:not(.lk-pane--venue) .hall-dropdown-label { min-width: 0; overflow: hidden; padding: 0 5px; font-size: 10px; font-weight: 700; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
  .lk-pane:not(.lk-pane--venue) .hall-dropdown-chevron { color: #64748b; font-size: 16px; line-height: 1; transform: translateY(-2px); }
  .lk-pane:not(.lk-pane--venue) .hall-dropdown:focus-visible { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14); }
  .lk-pane:not(.lk-pane--venue) .hall-chip { flex-basis: 56px; width: 56px; }
  .lk-pane:not(.lk-pane--venue) .hall-tile { width: 48px; height: 48px; border-radius: 14px; }
  .lk-pane:not(.lk-pane--venue) .hall-tile-label { margin-top: 5px; font-size: 7px; }
  .lk-pane:not(.lk-pane--venue) .hall-meta { margin: 7px 4px 10px; font-size: 12px; }
  .lk-pane:not(.lk-pane--venue) .table-grid { gap: 8px; padding-bottom: 106px; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-tile { min-height: 78px; height: 78px; padding: 9px; border-radius: 12px; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-state-ico { display: none; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-title-row { gap: 0; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-name { font-size: 13px; }
  .lk-pane:not(.lk-pane--venue) .table-grid .dot-status { gap: 4px; font-size: 10px; font-weight: 650; }
  .lk-pane:not(.lk-pane--venue) .table-grid .dot-status svg { width: 7px; height: 7px; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-status-meta .table-status-age,
  .lk-pane:not(.lk-pane--venue) .table-grid .table-meta-line--age { display: none; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-amt { font-size: 13px; font-weight: 800; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-tile-foot { flex-direction: row; align-items: center; gap: 0; margin-top: auto; padding-top: 4px; border-top-color: #f4f6f9; color: #8394ad; font-size: 9px; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-meta-line + .table-meta-line::before { margin: 0 4px; color: #c7d2e2; content: "•"; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-tile.free { border-color: #dce5f0; border-style: dashed; background: #fbfcfe; box-shadow: none; }
  .lk-pane:not(.lk-pane--venue) .table-grid .table-tile--draft { border-color: #a8b8d1; background: #f8faff; box-shadow: inset 2px 0 #8297b9; }
  .lk-pane:has(.venue-page), .lk-pane:has(.venue-hall-screen), .lk-pane.lk-pane--venue { display: flex; overflow: hidden; padding-bottom: 0; }
  .venue-page { display: grid; grid-template-rows: auto minmax(0, 1fr); flex: 1 1 0; align-self: stretch; box-sizing: border-box; width: 100%; min-height: 0; height: 100%; gap: 6px; overflow: hidden; }
  .venue-fixed-top { display: block; position: sticky; top: 0; z-index: 2; min-width: 0; background: var(--bg); }
  .venue-overview { display: block; height: 52px; max-height: 52px; margin: 0 0 7px; padding: 5px 9px; overflow: hidden; border: 1px solid #edf1f7; border-radius: 14px; background: #fff; box-shadow: none; box-sizing: border-box; transition: max-height 0.18s ease, margin 0.18s ease, padding 0.18s ease, border-width 0.18s ease, opacity 0.14s ease; }
  .venue-page.is-scrolled .venue-overview { max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; border-top-width: 0; border-bottom-width: 0; opacity: 0; pointer-events: none; }
  .venue-overview-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 40px; align-items: center; gap: 7px; color: #21345b; font-size: 12px; line-height: 1.2; }
  .venue-overview-info, .venue-overview-total strong { display: inline-flex; align-items: center; min-width: 0; gap: 6px; }
  .venue-overview-info > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .venue-overview-icon, .venue-overview-coins { display: inline-flex; flex: 0 0 auto; width: 17px; height: 17px; }
  .venue-overview-icon svg, .venue-overview-coins svg { width: 17px; height: 17px; }
  .venue-overview-total b { color: #0f172a; font-size: 14px; }
  .venue-overview-unit { display: none; font-style: normal; }
  .venue-overview-busy { color: #64748b; font-style: normal; white-space: nowrap; }
  .venue-overview-total strong { color: #111b39; font-size: 19px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .venue-overview-total small { display: none; }
  .venue-overview-stats { display: none; }
  .venue-overview-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 42px; padding: 0; border: 1px solid transparent; border-radius: 11px; background: #f8fafc; color: #64748b; font: inherit; text-align: center; cursor: pointer; transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease; }
  .venue-overview-stat b { font-size: 15px; line-height: 1; }
  .venue-overview-stat small { margin-top: 1px; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .venue-overview-stat--busy { background: #f1fcf6; color: #16a36a; }
  .venue-overview-stat--kitchen { background: #eff6ff; color: #2563eb; }
  .venue-overview-stat--precheck { background: #fff9eb; color: #e58a00; }
  .venue-overview-stat.is-on { border-color: #2563eb; box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.16); }
  .venue-overview-stat:active { transform: scale(0.97); }
  .venue-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; }
  .venue-summary { display: none; }
  .venue-filters { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding: 1px 18px 4px 0; scrollbar-width: none; }
  .venue-filters::-webkit-scrollbar, .venue-hall-scroll::-webkit-scrollbar { display: none; }
  .venue-filter { flex: 0 0 auto; min-height: 36px; padding: 0 11px; border-color: #dce5f1; border-radius: 14px; background: #fff; color: #475b78; font-size: 11.5px; white-space: nowrap; transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease; }
  .venue-filter.is-on { border-color: #2563eb; background: #2563eb; color: #fff; }
  .venue-hall-scroll { overflow-x: auto; overflow-y: hidden; margin: 0 -2px; padding: 1px 18px 4px 2px; scrollbar-width: none; }
  .venue-hall-grid { display: flex; width: max-content; min-width: 100%; height: auto; gap: 8px; }
  .venue-hall { flex: 0 0 auto; min-height: 38px; flex-direction: row; align-items: center; gap: 4px; padding: 0 11px; border-color: #e6e8f2; border-radius: 14px; background: #f4f5fb; color: #3e4b6d; transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease; }
  .venue-hall-icon { display: inline-flex; flex: 0 0 auto; width: 15px; height: 15px; margin-right: 2px; }
  .venue-hall-icon svg { width: 15px; height: 15px; }
  .venue-hall.is-active { border: 2px solid #2563eb; background: #f4f8ff; box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08); }
  .venue-halls .venue-section-title { display: none; }
  .venue-hall-name { overflow: hidden; font-size: 11.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .venue-hall-stat { font-size: 0; }
  .venue-hall-stat::before { display: block; color: #94a3b8; font-size: 10px; font-weight: 500; content: "· " attr(data-count); }
  .venue-stat-full { display: none; }
  .venue-stat-compact { display: inline; }
  .venue-tables { display: flex; min-height: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .venue-active-head { display: block; flex: 0 0 auto; min-height: 0; margin: 0 2px 9px; }
  .venue-active-head h2 { min-height: 36px; }
  .venue-active-stat { margin-top: 4px; font-size: 11px; }
  .venue-table-scroll { display: block; flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; -ms-overflow-style: none; scrollbar-width: none; }
  .venue-table-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .venue-table-grid--mobile { align-content: start; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: none !important; grid-auto-rows: 112px; gap: 8px; padding: 0 0 106px; }
  .venue-table-grid--mobile .table-tile--mobile {
    display: grid;
    grid-template-rows: 21px 26px 20px 18px;
    align-content: start;
    row-gap: 2px;
    grid-row: auto !important;
    grid-column: auto !important;
    min-width: 0;
    height: 112px;
    padding: 9px 10px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(25, 47, 87, 0.045);
  }
  .venue-table-grid--mobile .table-mobile-title,
  .venue-table-grid--mobile .table-mobile-status,
  .venue-table-grid--mobile .table-mobile-foot { display: flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
  .venue-table-grid--mobile .table-mobile-title { gap: 5px; color: #111b39; }
  .venue-table-grid--mobile .table-mobile-chair { display: inline-flex; flex: 0 0 auto; width: 19px; height: 19px; }
  .venue-table-grid--mobile .table-mobile-chair svg { width: 19px; height: 19px; }
  .venue-table-grid--mobile .table-name { flex: 1 1 0; min-width: 0; overflow: hidden; color: #111b39; font-size: 14px; font-weight: 750; letter-spacing: -0.02em; text-overflow: ellipsis; white-space: nowrap; }
  .venue-table-grid--mobile .table-mobile-chevron { flex: 0 0 auto; color: #526887; font-size: 20px; font-weight: 300; line-height: 1; }
  .venue-table-grid--mobile .table-mobile-status { gap: 4px; padding-inline: 2px; }
  .venue-table-grid--mobile .dot-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; min-width: 0; min-height: 23px; padding: 3px 7px; border-radius: 999px; background: #f1f5f9; box-sizing: border-box; font-size: 10.5px; font-weight: 650; line-height: 1; white-space: nowrap; }
  .venue-table-grid--mobile .dot-status svg { flex: 0 0 auto; width: 8px; height: 8px; }
  .venue-table-grid--mobile .table-mobile-age { display: inline-flex; flex: 0 1 auto; align-items: center; min-width: 0; min-height: 23px; overflow: hidden; padding: 3px 6px; border-radius: 999px; background: #f1f5f9; box-sizing: border-box; color: #526887; font-size: 10px; font-weight: 650; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
  .venue-table-grid--mobile .table-age-icon { display: inline-flex; flex: 0 0 auto; width: 11px; height: 11px; margin-right: 3px; }
  .venue-table-grid--mobile .table-age-icon svg { width: 11px; height: 11px; }
  .venue-table-grid--mobile .table-mobile-amount { min-width: 0; color: #111b39; font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 20px; white-space: nowrap; }
  .venue-table-grid--mobile .table-mobile-foot { gap: 4px; color: #405a79; font-size: 10.5px; font-weight: 500; line-height: 18px; }
  .venue-table-grid--mobile .table-mobile-foot > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .venue-table-grid--mobile .table-mobile-foot > span:first-child { flex: 0 1 auto; }
  .venue-table-grid--mobile .table-mobile-foot > span:last-child { flex: 0 1 auto; }
  .venue-table-grid--mobile .table-mobile-foot-sep { flex: 0 0 auto; color: #91a2ba; }
  .venue-table-grid--mobile .table-tile--precheck { border-color: #f6a3ad; border-left: 3px solid #ed5966; background: #fffbfc; }
  .venue-table-grid--mobile .table-tile--kitchen { border-color: #f5cf90; border-left: 3px solid #eaa017; background: #fffdf9; box-shadow: 0 3px 10px rgba(25, 47, 87, 0.045); }
  .venue-table-grid--mobile .table-tile--busy,
  .venue-table-grid--mobile .table-tile--ready { border-color: #a6d2fa; border-left: 3px solid #2489ed; background: #f9fcff; }
  .venue-table-grid--mobile .table-tile--free { border-color: #dfe7f1; border-left: 3px solid #dfe7f1; background: #fff; }
  .venue-table-grid--mobile .table-tile--draft { border-color: #b7c6dd; border-left: 3px solid #8297b9; background: #f8faff; }
  .venue-table-grid--mobile .table-tile--precheck .dot-status,
  .venue-table-grid--mobile .table-tile--precheck .table-mobile-age { background: #fff0f1; color: #dc2626; }
  .venue-table-grid--mobile .table-tile--kitchen .dot-status,
  .venue-table-grid--mobile .table-tile--kitchen .table-mobile-age { background: #fff4e4; color: #dd7500; }
  .venue-table-grid--mobile .table-tile--busy .dot-status,
  .venue-table-grid--mobile .table-tile--busy .table-mobile-age { background: #e9f3ff; color: #1675e9; }
  .venue-table-grid--mobile .table-tile--free .table-name { color: #62738e; }
  .venue-table-grid--mobile .table-tile--free .table-mobile-chevron { color: #a6b3c5; }
  .venue-table-grid--mobile .table-tile--free .dot-status { background: #f2f6fa; color: #627897; }
  .venue-table-grid--mobile .table-tile--draft .dot-status { background: #eaf0fb; }
  .venue-table-grid--mobile .table-tile--free .table-mobile-status { transform: translateY(6px); }
  .venue-table-grid--mobile .table-tile--free { box-shadow: 0 1px 4px rgba(15, 23, 42, 0.025); }
  .venue-filter:active, .venue-hall:active { transform: scale(0.97); }
  .lk-fab { min-height: 44px; padding: 0 15px; font-size: 12px; box-shadow: 0 5px 13px rgba(37, 99, 235, 0.17); }
  .lk-fab span { font-size: 17px; }
  .venue-hall-screen { display: grid; grid-template-rows: auto minmax(0, 1fr); flex: 1 1 0; align-self: stretch; box-sizing: border-box; width: 100%; min-height: 0; height: 100%; gap: 10px; overflow: hidden; }
  .venue-hall-screen-head { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 2px; }
  .venue-hall-back { display: grid; flex: 0 0 auto; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 10px; background: #f1f5f9; color: #334155; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
  .venue-hall-screen-head .venue-section-title { margin-bottom: 2px; }
  .venue-hall-screen-head h2 { margin: 0; color: #0f172a; font-size: 16px; line-height: 1.2; }
  .venue-hall-screen-head h2 span { display: block; margin-top: 3px; color: #64748b; font-size: 11px; font-weight: 500; }
  .venue-hall-screen-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 2px; }
  .venue-hall-screen-scroll .venue-table-grid { grid-auto-rows: 86px; padding-bottom: 18px; }
  .venue-hall-screen .table-tile { height: 86px; padding: 8px; border-radius: 12px; }
  .venue-hall-screen .table-state-ico { display: none; }
  .venue-hall-screen .table-title-row { gap: 0; }
  .venue-hall-screen .table-name { font-size: 12px; letter-spacing: 0; text-transform: none; }
  .venue-hall-screen .table-status-row { align-items: center; }
  .venue-hall-screen .dot-status { gap: 4px; font-size: 11px; font-weight: 650; }
  .venue-hall-screen .dot-status svg { width: 7px; height: 7px; }
  .venue-hall-screen .table-amt { font-size: 14px; }
  .venue-hall-screen .table-tile-foot { flex-direction: row; gap: 0; padding-top: 3px; font-size: 8px; }
  .venue-hall-screen .table-meta-line + .table-meta-line::before { margin: 0 5px; color: #cbd5e1; content: "•"; }
}

@media (max-width: 380px) {
  .venue-table-grid:not(.venue-table-grid--mobile) .table-tile { padding: 7px 8px; }
  .venue-table-grid .table-tile-top { gap: 4px; }
  .venue-table-grid .table-status-row { gap: 3px; }
  .venue-table-grid:not(.venue-table-grid--mobile) .dot-status { font-size: 11px; white-space: nowrap; }
  .venue-table-grid .table-amt { padding-right: 7px; font-size: 16px; letter-spacing: -0.015em; }
  .venue-table-grid .table-tile-foot { gap: 0; padding-top: 2px; font-size: 8px; white-space: nowrap; }
  .venue-table-grid .table-meta-line--opened { flex: 0 0 auto; }
  .venue-table-grid .table-meta-line--waiter { flex: 1 1 0; }
  .venue-table-grid .table-tile--kitchen .table-meta-line--age { color: #d97706; }
  .venue-table-grid .table-tile--precheck .table-meta-line--age { color: #dc2626; }
  .venue-table-grid--mobile .table-tile--mobile { padding-right: 8px; padding-left: 8px; }
  .venue-table-grid--mobile .dot-status { padding-right: 5px; padding-left: 5px; }
  .venue-table-grid--mobile .table-mobile-age { padding-right: 4px; padding-left: 4px; }
  .lk-fab { padding: 0 14px; }
}
/* Price tools share one compact row beneath the bill comment. */
.order-price-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.order-price-tools .bill-comments-trigger { min-width: 0; margin: 0; padding: 8px 12px; }
.order-price-tools .bill-comments-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bill-comment-option small { display: block; margin-top: 3px; font-size: 12px; color: #64748b; }

.refusal-field { display: block; margin: 16px 0; font-size: 13px; font-weight: 600; }
.refusal-field .bill-comment-search { margin-top: 8px; font-weight: 400; }
input.qty-val { min-height: 42px; border: 1px solid #dbe2ea; border-radius: 10px; background: #f8fafc; color: var(--ink); }

.refusal-selection { max-height: 35vh; overflow-y: auto; margin: 12px 0; }
.refusal-choice { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #e5eaf1; }
.refusal-choice input { width: 22px; height: 22px; flex-shrink: 0; accent-color: #2563eb; }
.refusal-choice small { display: block; color: #64748b; margin-top: 4px; }
.refusal-choice:has(input:disabled) { opacity: .6; }

/* Position actions: horizontal gestures reveal controls; taps perform actions. */
.item-swipe { isolation: isolate; }
.item-swipe-start { position: absolute; inset: 0 auto 0 0; display: flex; width: 160px; visibility: hidden; }
.item-swipe-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 80px; border: 0; background: #e0f2fe; color: #0369a1; font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.item-swipe-action > span:first-child { font-size: 25px; line-height: 1; }
.item-swipe-action svg { width: 23px; height: 23px; }
.item-swipe-more { background: #eef2ff; color: #4338ca; }
.item-swipe .item-del { width: 80px; background: #e11d48; color: #fff; visibility: hidden; }
.item-swipe.is-open-start .item-swipe-start, .item-swipe.is-open-end .item-del { visibility: visible; }
.item-swipe .item-row { touch-action: pan-y pinch-zoom; transition: transform .18s ease; }
.item-swipe.is-dragging .item-row { transition: none; user-select: none; }
.item-row-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.item-more { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: #f1f5f9; color: #64748b; font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.cart-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 2px 10px; color: #64748b; font-size: 12px; }
.cart-tools button { min-height: 40px; border: 0; background: transparent; color: #0369a1; font: inherit; font-weight: 650; cursor: pointer; }
.position-actions { display: grid; margin: 0 -4px; }
.position-action { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 8px; border: 0; border-bottom: 1px solid #f1f5f9; background: #fff; color: #334155; text-align: left; font: inherit; font-size: 14px; cursor: pointer; }
.position-action > span:first-child { display: grid; place-items: center; width: 28px; color: #64748b; font-size: 22px; }
.position-action svg { width: 21px; height: 21px; }
.position-action-arrow { margin-left: auto; color: #94a3b8; }
.position-action[data-position-action="remove"] { color: #be123c; }
.item-more:focus-visible, .item-swipe-action:focus-visible, .position-action:focus-visible, .cart-tools button:focus-visible { outline: 2px solid #0284c7; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .item-swipe .item-row { transition: none; } }

.item-detail { display: flex; align-items: flex-start; gap: 5px; overflow-wrap: anywhere; }
.item-detail-label { flex: 0 0 15px; font-weight: 700; }
.item-detail > span:last-child { min-width: 0; }
.item-detail-label svg { display: block; width: 14px; height: 14px; margin-top: 1px; }
.item-modifiers { color: #0369a1; }

.order-menu-controls .seg { display: none; }
.order-tools-compact {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 8px;
  scrollbar-width: none;
}
.order-tools-compact .order-price-tools { display: contents; }
.order-tools-compact .bill-comments-trigger {
  width: auto;
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #f1f3f6;
  padding: 8px 12px;
  min-height: 40px;
}
.order-tools-compact .bill-comments-summary,
.order-tools-compact .bill-comments-edit,
.order-tools-compact .bill-comments-status { display: none; }
.order-tools-compact .bill-comments-label { font-size: 14px; font-weight: 600; color: #1f2937; }
.order-tools-compact .bill-comments-icon { color: #2563eb; }
.order-menu-controls .menu-shortcuts { border-radius: 999px; background: #f1f3f6; }
.order-menu-controls .menu-shortcuts button { border-radius: 999px; min-height: 40px; }
.order-menu-controls .menu-shortcuts button[aria-pressed=true] { background: #fff; color: #1f2937; }
.dish-tile { border: 0; border-radius: 18px; box-shadow: none; background: var(--menu-bg, #fff); }
.dish-tile.is-in { background: var(--menu-bg, #e8eefc); border-color: transparent; }
.dish-step { border: 0; background: transparent; gap: 2px; overflow: visible; }
.dish-step-btn { width: 36px; min-width: 36px; height: 36px; border: 0; border-radius: 999px; background: #f1f3f6; }
.dish-step-btn[data-delta="1"] { background: #2563eb; color: #fff; }
.cat-card { border-radius: 16px; }
button.cart-foot {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
}
.cmd-sticky:has(#open-cart) {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.06);
}
.cmd-sticky:has(#open-cart) .cart-foot { flex: 1; min-width: 0; }
.cmd-sticky:has(#open-cart) .cmd-cta { width: auto; grid-template-columns: 1fr; }
.cmd-sticky:has(#open-cart) #do-kitchen { width: auto; min-width: 128px; border-radius: 999px; padding: 0 16px; }
.cart-kicker {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}
.item-unit { display: block; margin-top: 2px; font-size: 13px; color: #6b7280; }
.item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line-step, .line-act { display: inline-flex; align-items: center; gap: 6px; }
.line-step button, .line-act {
  min-width: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f3f6;
  color: #1f2937;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.line-step .is-plus { background: #2563eb; color: #fff; }
.line-step span { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }
.line-act { padding: 0 12px; }
.line-act--serve { background: #2563eb; color: #fff; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  font-size: 16px;
}
.cart-total strong { font-size: 20px; }
.lk-pick-side { margin-left: auto; color: #6b7280; font-size: 14px; font-weight: 600; }
.free-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-weight: 650;
  color: #1f2937;
}
.free-toggle input { width: 44px; height: 26px; accent-color: #2563eb; }
.pick-hint { margin: 0 0 10px; color: #9ca3af; font-size: 13px; }
.lk-pick .hall-chip { width: 76px; flex-basis: 76px; }
.lk-pick .hall-tile {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.07);
}
.lk-pick .hall-chip.is-on .hall-tile,
.lk-pick .hall-chip--hall.is-on .hall-tile { background: #2563eb; color: #fff; }
.table-grid--pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.table-grid--pick .table-tile { border: 0; border-radius: 20px; box-shadow: none; min-height: 96px; background: #fff; }
.table-grid--pick .table-tile-foot,
.table-grid--pick .table-state-ico,
.table-grid--pick .table-amt { display: none; }
.table-grid--pick .table-name { font-size: 20px; font-weight: 800; }
.lk-qty-view { font-size: 56px; text-align: center; }
.lk-qty-sum { margin: 0 0 12px; text-align: center; color: #6b7280; }
.lk-numpad-key { border-radius: 999px; min-height: 56px; }
.lk-numpad-ok { width: 100%; margin-top: 12px; border-radius: 999px; min-height: 52px; }
.item-card { border-radius: 18px; box-shadow: none; }

/* Макет v5: пилюли, синий акцент, без градиентов и обводок. */
#auth-screen.is-on {
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  background: #fff;
}
.auth-plain {
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: 24px 24px calc(18px + env(safe-area-inset-bottom));
  background: #fff;
  box-sizing: border-box;
}
#auth-screen.is-on #auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#auth-screen .lk-mark,
#auth-screen .lk-logo { width: 96px; height: 96px; }
#auth-screen .lk-brand {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #6b7280;
}
#auth-screen .lk-auth-head { margin-bottom: 24px; }
#auth-screen h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
#auth-screen .auth-field {
  position: relative;
  display: block;
  height: 56px;
  margin: 0;
  padding: 0 20px;
  border-radius: 999px;
  background: #f1f4f7;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 500;
  color: #9aa3af;
}
#auth-screen .auth-field > span {
  position: absolute;
  left: 20px;
  right: 44px;
  top: 50%;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #9aa3af;
  pointer-events: none;
  transition: top .15s ease, transform .15s ease, font-size .15s ease;
}
#auth-screen .auth-field.is-up > span,
#auth-screen .auth-field:focus-within > span {
  top: 8px;
  transform: none;
  font-size: 11px;
}
#auth-screen .auth-field input {
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 16px 28px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}
#auth-screen .auth-field:not(.is-up):not(:focus-within) input { color: transparent; }
#auth-screen .auth-password-toggle {
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}
#auth-screen .auth-forgot {
  align-self: flex-end;
  margin: -6px 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa3af;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
#auth-screen .auth-submit {
  height: 56px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: none;
  font-size: 17px;
  font-weight: 700;
}
#auth-screen .auth-submit:hover { background: #1d4ed8; }
#auth-screen .auth-bio-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background: #f1f4f7;
  color: #111827;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
}
#auth-screen .auth-bio-fallback svg { width: 22px; height: 22px; }
.auth-venue-known {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin: 0;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  background: #f1f4f7;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
}
.auth-venue-ico { flex: 0 0 20px; width: 20px; height: 20px; color: #6b7280; }
.auth-venue-text { min-width: 0; }
.auth-venue-known b { font-weight: 600; }
.auth-venue-known button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.auth-foot {
  margin: auto 0 0;
  padding-top: 24px;
  text-align: center;
  color: #9aa3af;
  font-size: 14px;
}
.auth-gate-name { display: block; margin-top: 12px; font-size: 20px; font-weight: 800; color: #111827; text-align: center; }
.auth-gate-sub { margin: 4px 0 0; color: #9ca3af; font-size: 13px; text-align: center; }
.auth-finger { background: #eef2ff; color: #2563eb; border-radius: 28px; }
.auth-finger-btn {
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}
.auth-sheet {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
}
.auth-sheet-back { position: absolute; inset: 0; border: 0; background: rgba(17, 24, 39, 0.35); }
.auth-sheet-card {
  position: relative;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 22px 20px calc(16px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: #fff;
}
.auth-sheet-card h2 { margin: 0; font-size: 20px; }
.auth-sheet-card p { margin: 8px 0 16px; color: #6b7280; line-height: 1.45; }
.auth-sheet-ok {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.auth-sheet-card--bio { text-align: center; padding-top: 10px; }
.auth-sheet-handle {
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #e5e7eb;
}
.auth-bio-off-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #eef2ff;
  color: #2563eb;
}
.auth-bio-off-ico svg { width: 28px; height: 28px; }
.auth-sheet-card--bio h2 { font-size: 20px; font-weight: 800; }
.auth-sheet-card--bio p { margin-bottom: 18px; }
.auth-sheet-card--bio .auth-submit { width: 100%; }
.phone.is-dash .lk-pane,
.phone.is-more-home .lk-pane { padding-top: 8px; }
.phone.is-dash .proto-header { display: block; }
.dash-head, .more-home-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dash-head { padding: 8px 4px 4px; }
.dash-greet { margin: 0; color: #9ca3af; font-size: 14px; }
.dash-name, .more-home-head h1 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.dash-head-tools { display: flex; align-items: center; gap: 8px; }
.cash-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #ecfdf3;
  color: #15803d;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.cash-pill--err { background: #fef2f2; color: #b91c1c; }
.cash-pill--idle, .cash-pill--wait { background: #f3f4f6; color: #6b7280; }
.cash-dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.dash-page { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.dash-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 14px 16px 12px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.dash-hero strong { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; }
.dash-hero-meta { margin-top: 4px; color: #6b7280; font-size: 13px; }
.dash-hero-foot, .dash-page .kpi-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #eef0f3;
  color: #6b7280;
  font-size: 13px;
}
.dash-hero-foot span + span { color: #111827; font-weight: 700; }
.dash-page .kpi-foot { justify-content: flex-start; gap: 0; }
.dash-page .kpi-foot span:first-child::after { content: " —"; font-weight: 500; }
.dash-page .kpi-foot span + span { color: #6b7280; font-weight: 600; }
.dash-tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
}
.dash-tabs button {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.dash-tabs button.is-on { background: #2563eb; color: #fff; }
.dash-page .kpi-grid {
  grid-auto-rows: auto;
  gap: 8px;
  margin: 0;
  padding-bottom: 8px;
}
.dash-page .kpi {
  display: flex;
  flex-direction: column;
  min-height: 92px;
  padding: 12px 12px 10px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  text-align: left;
}
.dash-page .kpi--wide { grid-column: 1 / -1; }
.dash-page .kpi-top, .dash-hero .kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dash-page .kpi-title, .dash-hero .kpi-title {
  margin: 0;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kpi-info {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
}
.dash-page .kpi-value { margin: 8px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.tab-ind { display: none; }
.tabbar button svg { width: 28px; height: 28px; }
.tabbar button.is-on {
  color: #fff;
  background: #2563eb;
  border-radius: 999px;
}
.tabbar button.is-on .tab-ic { transform: none; color: #fff; }
.lk-pick .hall-tile,
.lk-pick .hall-chip.is-on .hall-tile,
.lk-pick .hall-chip--hall.is-on .hall-tile {
  width: 72px;
  height: 72px;
  border: 0;
  box-shadow: none;
}
.hall-chip--zero:not(.is-on) .hall-tile-num,
.hall-chip--zero:not(.is-on) .hall-tile-unit { color: #9ca3af; }
.lk-pick .hall-tile-label,
.table-grid--pick .table-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pick-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 8px;
}
.pick-tables-title, .hall-layout-title { margin: 0; color: #9ca3af; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pick-free {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #eef2ff;
  color: #2563eb;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pick-free:not(.is-on) { background: #f3f4f6; color: #6b7280; }
.pick-rest { margin: 16px 0; color: #9ca3af; font-size: 13px; text-align: center; }
.table-grid--pick .dot-status--idle { color: #16a34a; }
.order-page .order-tools-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.order-page .order-tools-compact .bill-comments-trigger {
  width: auto;
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
}
.lk-pick .hall-chip { width: 72px; flex-basis: 72px; }
.order-page .order-tools-compact .bill-comments-summary,
.order-page .order-tools-compact .bill-comments-edit,
.order-page .order-tools-compact .bill-comments-status { display: none; }
.order-page .order-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #6b7280;
  font-size: 13px;
}
.order-page .order-subline > span + span::before { content: "·"; margin-right: 4px; color: #d1d5db; }
.order-menu-controls .menu-shortcuts { border-radius: 999px; }
.order-menu-controls .menu-shortcuts button { border-radius: 999px; }
.order-menu-controls .menu-shortcuts button[aria-pressed=true] { box-shadow: none; }
.order-menu-controls .search-bar input { border-radius: 999px; }
.cat-card { background: #e8eefc !important; color: #1e3a8a; }
.cat-card strong, .cat-card span { color: #1e3a8a; }
.cart-foot { display: flex; flex-direction: column; align-items: flex-start; border-radius: 999px; }
.cart-foot-hint { color: #9ca3af; font-size: 12px; font-weight: 500; }
.item-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.item-accepted { color: #16a34a; font-size: 13px; font-weight: 700; white-space: nowrap; }
.item-swipe-end {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  width: max-content;
  visibility: hidden;
}
.item-swipe.is-open-end .item-swipe-end,
.item-swipe.is-open-end .item-del { visibility: visible; }
.cart-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-section-head button { border: 0; background: transparent; color: #2563eb; font: inherit; font-weight: 700; cursor: pointer; }
.cart-hint { margin: 4px 4px 12px; color: #9ca3af; font-size: 12px; text-align: center; }
.cmd-btn, .cmd-btn--kitchen, .cmd-btn--check { border-radius: 999px; box-shadow: none; }
.cmd-btn--kitchen { background: #2563eb; }
.cmd-btn--kitchen:not(:disabled):hover { background: #1d4ed8; }
.more-home { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.more-home-head { align-items: center; }
.more-profile, .more-menu .more-row, .profile-card {
  border: 0;
  border-radius: 18px;
  background: #fff;
}
.more-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  text-align: left;
  cursor: pointer;
}
.more-profile-copy, .profile-card { display: flex; flex-direction: column; min-width: 0; }
.more-profile-copy strong, .profile-card strong { font-size: 16px; }
.more-profile-copy span, .profile-card > span:last-child { color: #9ca3af; font-size: 12px; }
.more-home .more-menu, .more-screen .more-menu { display: flex; flex-direction: column; gap: 8px; background: transparent; }
.more-home .more-row, .more-screen .more-row { margin: 0; }
.more-row-ico { background: #f3f4f6; color: #6b7280; border-radius: 12px; }
.more-home .more-row-ico--install {
  border-radius: 12px;
  background: #e8eefc;
  color: #2563eb;
}
.lk-sheet.is-install .lk-sheet-handle,
.lk-sheet.is-line-panel .lk-sheet-handle { display: none; }
.line-panel { padding: 4px 2px 8px; }
.line-panel-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.line-panel-head strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.line-panel-head span { display: block; margin-top: 4px; color: #9ca3af; font-size: 13px; font-weight: 500; }
.line-panel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid #f3f4f6;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.line-panel-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #6b7280;
}
.line-panel-label .row-sub { display: block; margin-top: 2px; color: #9ca3af; font-size: 13px; font-weight: 500; line-height: 1.3; }
.line-panel-ico svg { width: 20px; height: 20px; }
.line-panel-label { flex: 1; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: #111827; }
.lk-sheet.is-line-panel .cart-sheet-close { width: 36px; height: 36px; }
.lk-sheet.is-line-panel .cart-sheet-close svg { width: 18px; height: 18px; stroke-width: 2; }
.line-panel-actions:has(> :only-child) { grid-template-columns: 1fr; }
.line-panel-value { color: #9ca3af; font-size: 14px; font-weight: 500; }
.line-panel-step { margin-left: auto; }
.line-panel-actions { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 10px; margin-top: 16px; }
.line-panel-del, .line-panel-done {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.line-panel-del { background: #fde8e8; color: #dc2626; }
.line-panel-done { background: #2563eb; color: #fff; }
.cart-block { margin: 0 0 12px; padding: 12px 12px 4px; border-radius: 18px; }
.cart-block--new { background: #fff; }
.cart-block--sent { background: #f3f4f6; }
.cart-block--sent .item-body strong,
.cart-block--sent .item-unit { color: #9ca3af; }
.cart-block-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-block-head strong { font-size: 15px; font-weight: 800; }
.cart-add {
  display: block;
  width: 100%;
  margin: 4px 0 12px;
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.cart-split { border-top: 1px dashed #d1d5db; margin: 4px 8px 16px; }
.cart-screen-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}
.cart-screen-total strong { font-size: 22px; font-weight: 800; }
.line-step .is-trash { background: #f3f4f6; color: #6b7280; }
.line-step .is-trash svg { width: 16px; height: 16px; }
.line-more {
  width: 36px;
  height: 36px;
  margin-left: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
}
.item-row.is-flash { animation: line-flash 600ms ease; }
@keyframes line-flash {
  0% { background: #eff4ff; }
  100% { background: transparent; }
}
.cart-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 2px auto 24px;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  color: #dc2626;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.order-page.is-cart .cart-total { display: none; }
.cart-cancel svg { width: 18px; height: 18px; }
.line-undo {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 148px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.line-undo span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.line-undo b { color: #93c5fd; font-weight: 700; }
.cash-fail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fde8e8;
  color: #dc2626;
  font-size: 15px;
  font-weight: 600;
}
.cash-fail span { flex: 1; min-width: 0; }
.cash-fail button {
  border: 0;
  background: transparent;
  color: #dc2626;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.cmd-btn--kitchen.is-sent-ok { background: #2563eb; color: #fff; }
.tab-plus, .lk-fab, .is-plus { transition: transform 90ms ease; }
.tab-plus:active, .lk-fab:active { transform: scale(0.9); }
.tab-plus.is-spring, .lk-fab.is-spring, .is-plus.is-spring { animation: press-spring 320ms cubic-bezier(.34,1.56,.64,1); }
@keyframes press-spring {
  0% { transform: scale(1); }
  45% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.kitchen-n.is-pop, .cart-foot-hint.is-pop { display: inline-block; animation: bar-pop 240ms ease; }
@keyframes bar-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.floor-star { margin-right: 4px; color: #2563eb; }
.floor-idle { display: block; max-width: 100%; margin-bottom: 4px; color: #b45309; font-size: 12px; font-weight: 700; line-height: 16px; white-space: nowrap; }
.floor-idle.is-days { color: #c2410c; }
.floor-idle-short { display: none; }
.floor-table { container-type: inline-size; }
@container (max-width: 180px) {
  .floor-idle.has-mins .floor-idle-long { display: none; }
  .floor-idle.has-mins .floor-idle-short { display: inline; }
}
.floor-table.is-idle .floor-dot { background: #d97706; }
.floor-table.is-lift, .table-tile.is-lift, .pick-table.is-lift {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.18);
  z-index: 2;
}
.pull-mark {
  height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.pull-mark.is-on::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #dbe6fd;
  border-top-color: #2563eb;
}
.cancel-order { padding: 22px 16px 16px; border-radius: 22px; }
.cancel-order h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.cancel-order .lk-modal-lead {
  margin: 8px 6px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #9ca3af;
}
.cancel-order .cmd-btn {
  min-height: 48px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}
.cancel-order #cancel-order-keep { background: #e8eefc; color: #2563eb; }
.cancel-order-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #fde8e8;
  color: #dc2626;
}
.cancel-order-ico svg { width: 24px; height: 24px; }
.cancel-order .lk-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cancel-order #cancel-order-drop { background: #dc2626; color: #fff; }
.order-page { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .tab-plus.is-spring, .lk-fab.is-spring, .is-plus.is-spring,
  .kitchen-n.is-pop, .cart-foot-hint.is-pop, .item-row.is-flash { animation: none; }
  .tab-plus:active, .lk-fab:active, .floor-table.is-lift, .table-tile.is-lift, .pick-table.is-lift { transform: none; }
}
.lk-sheet.is-install .lk-sheet-handle { display: none; }
.install-sheet { padding: 4px 2px 8px; text-align: left; }
.install-sheet-head { display: flex; align-items: center; gap: 12px; }
.install-sheet-head h2 { margin: 0; flex: 1; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.install-sheet > p { margin: 8px 0 16px; color: #6b7280; font-size: 15px; line-height: 1.4; }
.install-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.install-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.install-steps li > span:nth-child(2) { flex: 1; min-width: 0; }
.install-n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: #e8eefc;
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
}
.install-glyph { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; color: #2563eb; }
.install-glyph svg { width: 22px; height: 22px; }
.install-add { flex: 0 0 auto; color: #2563eb; font-size: 14px; font-weight: 700; }
.install-ok {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.more-logout {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #dc2626;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.profile-card { align-items: center; padding: 20px 16px; text-align: center; }
.profile-card .avatar { width: 64px; height: 64px; margin-bottom: 8px; font-size: 20px; }
.switch {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #e5e7eb;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
}
.switch.is-on { background: #2563eb; }
.switch.is-on::after { left: 21px; }
.logout-modal { text-align: center; }
.logout-modal p { margin: 8px 0 0; color: #6b7280; }
.logout-warn {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 13px;
}
.logout-go, .logout-cancel {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.logout-go { background: #fee2e2; color: #dc2626; }
.logout-cancel { background: #f3f4f6; color: #111827; }
.order-page .order-head-lead { flex-direction: column; align-items: flex-start; gap: 2px; }
.cash-pill, .cash-pill--ok, .cash-pill--idle, .cash-pill--wait, .cash-pill--err {
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.cash-pill--ok { color: #16a34a; }
.tabbar { align-items: flex-end; min-height: 72px; padding-top: 8px; }
.tabbar button { height: 58px; justify-content: flex-end; gap: 4px; color: #9ca3af; }
.tabbar button svg { width: 22px; height: 22px; }
.tabbar button.is-on { background: transparent; color: #2563eb; }
.tabbar button.is-on .tab-ic {
  width: 40px;
  height: 32px;
  border-radius: 12px;
  background: #e8eefc;
  color: #2563eb;
  transform: none;
}
.tabbar button.is-on .tab-ic svg { width: 20px; height: 20px; }
.tabbar button .tab-label { max-width: 100%; overflow: visible; text-overflow: clip; font-size: 11px; line-height: 1.1; }
.tabbar button.tab-plus { color: #9ca3af; }
.tabbar button.tab-plus .tab-ic {
  width: 52px;
  height: 52px;
  margin-top: -18px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 30px;
  font-weight: 400;
}
.dash-head .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
}
.dash-tabs { gap: 8px; padding: 0; }
.dash-tabs button { background: #fff; color: #374151; }
.dash-tabs button.is-on { background: #2563eb; color: #fff; }
.dash-hero .kpi-title { display: block; }
.lk-pick { background: #f3f4f6; }
.lk-pick-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 4px;
}
.lk-pick .lk-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
}
.lk-pick .lk-pick-head {
  height: calc(72px + env(safe-area-inset-top, 0px));
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  align-items: center;
  gap: 12px;
  padding: env(safe-area-inset-top, 0px) 16px 0;
  box-sizing: border-box;
}
.lk-pick .lk-back-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: #fff;
}
.lk-pick-head h2 {
  flex: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.lk-pick-head .app-head-tools { margin-left: auto; }
.lk-pick-head .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
}
.lk-pick .pick-table { height: auto; min-height: 96px; }
.lk-pick .pick-table-name { font-size: 18px; }
.lk-pick .pick-table-status { white-space: nowrap; font-size: 12px; }
.lk-pick .floor-section--pick { margin-top: 8px; }
.lk-pick-body .hall-layout {
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.lk-pick-body .hall-chips,
.lk-pick-body .hall-chips--pos {
  display: flex;
  grid-template-columns: none;
  grid-template-rows: none;
  width: auto;
  max-width: 100%;
  overflow-x: auto;
  gap: 10px;
  padding: 0;
}
.lk-pick .hall-chip { width: 72px; flex: 0 0 72px; }
.lk-pick .hall-tile,
.lk-pick .hall-chip.is-on .hall-tile,
.lk-pick .hall-chip--hall.is-on .hall-tile {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.lk-pick .hall-chip.is-on .hall-tile,
.lk-pick .hall-chip--hall.is-on .hall-tile {
  background: #2563eb;
  color: #fff;
  box-shadow: none;
}
.lk-pick .hall-tile-num { font-size: 22px; line-height: 1; color: inherit; }
.lk-pick .hall-tile-unit {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}
.lk-pick .hall-chip:not(.is-on) .hall-tile-num { color: #111827; }
.lk-pick .hall-chip:not(.is-on) .hall-tile-unit { color: #9ca3af; }
.lk-pick .hall-chip--zero:not(.is-on) .hall-tile-num { color: #c5cad3; }
.lk-pick .hall-chip.is-on .hall-tile-num,
.lk-pick .hall-chip.is-on .hall-tile-unit { color: #fff; }
.lk-pick .hall-tile-label {
  display: block;
  max-width: 72px;
  margin-top: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}
.lk-pick .hall-chip.is-on .hall-tile-label { color: #111827; font-weight: 700; }
.lk-pick .pick-free.is-on { background: #e8eefc; color: #2563eb; }
.lk-pick .table-grid--pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 84px;
  gap: 10px;
}
.lk-pick .pick-table {
  height: 84px;
  min-height: 84px;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.table-grid--pick { grid-auto-rows: 76px; }
.pick-table {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  height: 76px;
  min-height: 76px;
  padding: 10px 12px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.pick-table-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; }
.pick-table-status {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pick-table-status-text,
.floor-table-status-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-guests {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.status-guests svg { width: 13px; height: 13px; flex: 0 0 13px; }
.pick-table-status::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 999px; background: #9ca3af; }
.pick-table--free .pick-table-status { color: #16a34a; }
.pick-table--free .pick-table-status::before { background: #16a34a; }
.pick-table--pre .pick-table-status { color: #d97706; }
.pick-table--pre .pick-table-status::before { background: #d97706; }
.pick-table--long .pick-table-status { color: #dc2626; }
.pick-table--long .pick-table-status::before { background: #dc2626; }
.menu-send { display: flex; align-items: center; gap: 10px; }
.menu-send .cart-foot { flex: 1; border: 0; background: transparent; text-align: left; }
.menu-send .cmd-btn--kitchen { flex: 0 0 auto; min-width: 148px; }
.cmd-cta.is-solo { grid-template-columns: 1fr; }
.order-subline .bill-chip { background: transparent; color: #9aa3af; padding: 0; }
.dish-tile { background: #e8eefc !important; }
.dish-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
.dish-sent {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef1f4;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.dish-extra { color: #2563eb; font-size: 14px; font-weight: 800; }
.dish-plus, .dish-step .is-plus {
  width: 32px; height: 32px; border: 0; border-radius: 999px; background: #2563eb; color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.dish-step { display: flex; align-items: center; gap: 6px; }
.dish-step-btn { width: 32px; height: 32px; border: 0; border-radius: 999px; background: #e5e7eb; color: #111827; font-size: 18px; cursor: pointer; }
.profile-card .avatar { width: 72px; height: 72px; background: #e8eefc; color: #2563eb; font-size: 22px; }
.profile-card strong { font-size: 22px; }
.more-screen .more-menu { gap: 12px; }
.more-screen .more-row-ico { width: 36px; height: 36px; border-radius: 999px; background: #e8eefc; color: #2563eb; }
.more-screen.is-profile .more-row-ico {
  border-radius: 12px;
  background: #f3f4f6;
  color: #6b7280;
}
.more-screen.is-profile .profile-card > span:last-child { font-size: 13px; color: #9ca3af; }
.profile-hint {
  margin: 4px 12px 0;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.more-screen .more-logout { display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff1f2; color: #dc2626; }

.halls-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}
.halls-head h1 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.floor-halls {
  display: flex;
  gap: 10px;
  margin: 2px 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.floor-halls::-webkit-scrollbar { display: none; }
.floor-hall-chip {
  flex: 0 0 72px;
  width: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.floor-hall-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #fff;
  color: #111827;
}
.floor-hall-face b { font-size: 22px; line-height: 1; font-weight: 800; }
.floor-hall-face small { margin-top: 3px; font-size: 11px; font-weight: 600; color: #9ca3af; }
.floor-hall-name {
  display: block;
  max-width: 72px;
  margin-top: 6px;
  overflow: hidden;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.floor-hall-chip.is-on .floor-hall-face { background: #2563eb; color: #fff; }
.floor-hall-chip.is-on .floor-hall-face small { color: #fff; }
.floor-hall-chip.is-on .floor-hall-name { color: #111827; font-weight: 800; }
.floor-hall-chip.is-zero:not(.is-on) .floor-hall-face b,
.floor-hall-chip.is-zero:not(.is-on) .floor-hall-face small { color: #d1d5db; }
.floor-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 12px;
  padding: 4px;
  border-radius: 999px;
  background: #e8eaed;
}
.floor-filter {
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.floor-filter.is-on {
  background: #fff;
  color: #111827;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.floor-section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 2px 10px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.floor-section strong {
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.table-grid--floor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.floor-table {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  box-sizing: border-box;
  width: 100%;
  height: 126px;
  padding: 14px 12px 10px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #111827;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.floor-table-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; width: 100%; }
.floor-table-name { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #111827; }
.floor-amt { color: #111827; font-size: 15px; font-weight: 800; }
.floor-table { min-width: 0; max-width: 100%; }
.floor-table-name,
.floor-amt,
.floor-opened { white-space: nowrap; }
.floor-table-status {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
}
.floor-dot { width: 8px; height: 8px; border-radius: 999px; background: #2563eb; }
.floor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
}
.floor-guests { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: #9ca3af; flex: 0 0 auto; }
.floor-guests svg { width: 13px; height: 13px; flex: 0 0 13px; }
.floor-guests span { color: #1f2937; font-size: 12px; font-weight: 600; line-height: 1; }
.floor-table--kitchen .floor-table-status,
.floor-table--kitchen .floor-dot { color: #ea580c; }
.floor-table--kitchen .floor-dot { background: #f97316; }
.floor-table--pre .floor-table-status { color: #dc2626; }
.floor-table--pre .floor-dot { background: #dc2626; }
.floor-table--free .floor-table-status { color: #16a34a; }
.floor-table--free .floor-dot { background: #16a34a; }
.floor-table--draft .floor-table-status { color: #6b7280; }
.floor-table--draft .floor-dot { background: #9ca3af; }
.cart-foot { position: relative; }
.cart-foot-chev { position: absolute; right: 2px; top: 8px; color: #9ca3af; font-size: 16px; }
.order-page { position: relative; }
.order-page.is-sheet { position: relative; }
.cart-sheet-backdrop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(72px + env(safe-area-inset-top, 0px));
  z-index: 20;
  background: rgba(17, 24, 39, 0);
  pointer-events: none;
}
.order-page.is-sheet-open .cart-sheet-backdrop { pointer-events: auto; }
.order-page.is-sheet-open .order-local-head {
  position: relative;
  z-index: 30;
  background: #f3f4f6;
}
.order-page.is-sheet-open .order-scroll { overflow: hidden; }
.cart-sheet-fly {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 21;
  display: flex;
  flex-direction: column;
  max-height: 75%;
  height: auto;
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -12px 32px rgba(17, 24, 39, 0.16);
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
}
.cart-sheet-fly.is-dragging { will-change: transform; }
.cart-sheet-fly.is-open,
.cart-sheet-fly.is-dragging,
.cart-sheet-fly.is-settling {
  visibility: visible;
  pointer-events: auto;
}
.cart-sheet-fly.is-dragging { transition: none; }
.cart-sheet-head { padding: 4px 16px 8px; background: #fff; border-radius: 28px 28px 0 0; }
.cart-sheet-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: none;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
  background: #fff;
  padding: 0 16px 8px;
}
.cart-sheet-panel::-webkit-scrollbar { width: 4px; }
.cart-sheet-panel::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 999px; }
.cart-hint--lock {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  text-align: left;
}
.cart-hint--lock svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 1px; }
.cart-sheet-panel .item-body { display: flex; align-items: flex-start; gap: 10px; }
.cart-sheet-panel .item-copy { flex: 1; min-width: 0; }
.cart-sheet-panel .item-aside { flex: 0 0 auto; display: flex; align-items: center; padding-top: 2px; }
.cart-sheet-panel .item-body strong { font-size: 15px; font-weight: 700; color: #111827; }
.cart-sheet-panel .item-unit { margin-top: 3px; font-size: 13px; font-weight: 500; color: #9ca3af; }
.cart-sheet-panel .item-accepted { white-space: nowrap; }
.cart-sheet-panel .item-card { border-radius: 0; padding: 12px 0; box-shadow: none; background: transparent; }
.cart-sheet-actions {
  flex: 0 0 auto;
  background: #fff;
  border-top: 1px solid #eceef1;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}
.cart-sheet-actions .cmd-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 10px;
}
.cart-sheet-actions .cmd-btn {
  min-height: 52px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}
.cart-sheet-actions .cmd-btn--check,
.cart-sheet-actions .cmd-btn--check.is-blocked,
.cart-sheet-actions .cmd-btn--check[aria-disabled="true"],
.cart-sheet-actions .cmd-btn--check:disabled {
  border: 1px solid #DBE3F0;
  background: #fff;
  color: #2563eb;
  box-shadow: none;
}
.cart-sheet-actions .cmd-btn--kitchen {
  background: #2563eb;
  color: #fff;
}
.order-page .menu-send { touch-action: none; }
@media (prefers-reduced-motion: reduce) {
  .cart-sheet-fly {
    transform: none;
    opacity: 0;
    transition: opacity 150ms linear;
  }
  .cart-sheet-fly.is-open,
  .cart-sheet-fly.is-settling { opacity: 1; }
  .cart-sheet-backdrop { transition: opacity 150ms linear; }
}
.order-page.is-sheet .order-tab.is-off[data-panel="menu"] { display: block; opacity: .45; pointer-events: none; }
.order-page.is-sheet .order-tab[data-panel="cart"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 108px;
  bottom: 112px;
  z-index: 6;
  overflow: auto;
  padding: 8px 16px 20px;
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -12px 32px rgba(17, 24, 39, 0.12);
}
.cart-sheet-head { position: sticky; top: 0; z-index: 2; background: #fff; padding-bottom: 8px; touch-action: none; cursor: grab; }
.cart-sheet-handle { display: block; width: 36px; height: 4px; margin: 4px auto 10px; border-radius: 999px; background: #e5e7eb; }
.cart-sheet-title { display: flex; align-items: center; gap: 12px; }
.cart-sheet-title strong { font-size: 22px; }
.cart-sheet-sum { margin-left: auto; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: #111827; }
.cart-sheet-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f1f3f6;
  color: #6b7280;
  cursor: pointer;
}
.cart-sheet-close svg { width: 16px; height: 16px; }
.order-page.is-sheet .cmd-sticky {
  position: relative;
  z-index: 8;
  background: transparent;
  box-shadow: none;
  padding: 16px 16px calc(14px + env(safe-area-inset-bottom, 0px));
}
.pre-banner--precheck {
  margin: 8px 16px 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #fff7ed;
  color: #c2410c;
}
.order-page.is-precheck .cmd-cta .cmd-btn--check { background: #e7e9ed; color: #111827; }

.order-page .order-tools-compact {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 8px 16px 0;
}
.order-page .order-tools-compact .bill-comments-trigger {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  height: 36px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
}
.order-page .order-tools-compact .bill-comments-copy {
  flex: 0 1 auto;
  flex-direction: row;
  min-width: 0;
}
.order-page .order-tools-compact .bill-comments-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-page .order-tools-compact .bill-comments-icon,
.order-page .order-tools-compact .bill-comments-icon svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}
.order-page .order-tools-compact {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: auto;
}
.order-page .order-tools-compact .bill-comments-trigger {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 36px;
  min-height: 36px;
  padding: 0 7px;
  gap: 4px;
  border: 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.06);
}
.order-page .order-tools-compact .bill-comments-label {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-page .order-tools-compact .bill-comments-icon,
.order-page .order-tools-compact .bill-comments-icon svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.order-page .order-tools-compact .bill-comments-trigger.is-guest-ask {
  background: #fef3e2;
  color: #b45309;
  box-shadow: none;
  font-weight: 600;
}
.order-page .order-tools-compact .bill-comments-trigger.is-guest-set {
  background: #e8f5ec;
  color: #2f7a4a;
  box-shadow: none;
}
.order-page .order-tools-compact .bill-comments-trigger.is-guest-set .bill-comments-label,
.order-page .order-tools-compact .bill-comments-trigger.is-guest-set .bill-comments-icon,
.order-page .order-tools-compact .bill-comments-trigger.is-guest-set .bill-comments-icon svg {
  color: #2f7a4a;
  font-weight: 600;
}
.order-page .menu-send {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.order-page .menu-send-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}
.order-page .menu-open-cart,
.order-page .menu-send-actions .menu-send-slot,
.order-page .menu-send-actions .cmd-btn--kitchen {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 56px;
  min-height: 56px;
}
.order-page .menu-open-cart {
  border: 0;
  border-radius: 999px;
  background: #e8eefc;
  color: #2563eb;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.order-page .menu-send.is-empty .menu-open-cart {
  background: #f3f4f6;
  color: #9ca3af;
}
.order-page .order-tools-compact .bill-comments-trigger.is-guest-ask .bill-comments-label,
.order-page .order-tools-compact .bill-comments-trigger.is-guest-ask .bill-comments-icon,
.order-page .order-tools-compact .bill-comments-trigger.is-guest-ask .bill-comments-icon svg {
  color: #b45309;
  font-weight: 600;
}
.menu-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  margin: 0;
  overflow: hidden;
}
.menu-nav-label {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.menu-nav-up {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}
.menu-nav-up svg { width: 18px; height: 18px; }
.menu-crumb {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.menu-crumb.is-current { color: #111827; font-weight: 700; }
.menu-nav-sep { flex: 0 0 auto; color: #d1d5db; font-size: 13px; }

.order-page .order-menu-controls .menu-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-height: 44px;
  padding: 4px;
  border-radius: 999px;
  background: #e8eaed;
}
.order-page .order-menu-controls .menu-shortcuts button {
  min-height: 36px;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}
.order-page .order-menu-controls .menu-shortcuts button[aria-pressed="true"] {
  background: #fff;
  color: #111827;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}
.order-page .order-menu-controls .search-bar--nested { margin: 0; padding: 0; }
.order-page .order-menu-controls .search-bar--nested > svg { display: none; }
.order-page .order-menu-controls .search-bar input {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
}
.order-page .menu-nav {
  gap: 8px;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
}
.order-page .order-sticky { padding-bottom: 8px; }
.order-page .order-scroll .catalog { padding-top: 0; }
.order-page .menu-nav-up {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.order-page .menu-crumb { font-size: 14px; font-weight: 600; color: #9ca3af; }
.order-page .menu-crumb.is-current { color: #111827; font-weight: 800; }
.order-page .menu-nav-sep { color: #c5cad3; font-size: 14px; }
.order-page .order-local-head {
  height: calc(72px + env(safe-area-inset-top, 0px));
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  align-items: center;
  gap: 12px;
  padding: env(safe-area-inset-top, 0px) 16px 0;
  box-sizing: border-box;
}
.order-page .lk-back-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: #fff;
}
.order-page .order-head strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.order-page .order-subline,
.order-page .order-subline .order-opened,
.order-page .order-subline .order-hall,
.order-page .order-subline .bill-chip {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: #9ca3af;
}
.order-page .order-subline {
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}
.order-page .order-local-head .icon-btn,
.lk-pick-head .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
}
.order-page .cmd-sticky:has(#open-cart) {
  background: #fff;
  box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.06);
  margin: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0;
}
.order-page .menu-send {
  width: 100%;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.order-page .menu-send .cart-foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
}
.order-page .cart-foot-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.order-page .cart-foot-up {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
}
.order-page .cart-foot-up svg { width: 18px; height: 18px; }
.order-page .order-tools-compact .bill-comments-trigger {
  gap: 3px;
  padding: 0 4px;
}
.order-page .order-tools-compact .bill-comments-icon,
.order-page .order-tools-compact .bill-comments-icon svg {
  width: 14px;
  height: 14px;
  color: #9ca3af;
}
.order-page .order-tools-compact .bill-comments-label {
  font-size: 12px;
  letter-spacing: -0.01em;
  text-overflow: clip;
}

.phone.is-dash .proto-header {
  height: auto;
  min-height: 0;
  align-items: flex-start;
  padding-top: 14px;
  padding-bottom: 6px;
}
.dash-head {
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 0;
}
.dash-head-text { flex: 1 1 auto; min-width: 0; }
.dash-greet {
  margin: 0 0 2px;
  color: #9ca3af;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}
.dash-name {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-head-tools { flex: 0 0 auto; align-self: center; }
.dash-hero { padding: 16px 16px 14px; border-radius: 20px; }
.dash-hero strong { font-size: 34px; }
.dash-page { gap: 12px; }
.dash-page .kpi { min-height: 108px; padding: 14px 14px 12px; border-radius: 18px; }
.dash-page .kpi-value { font-size: 28px; }
.dash-tabs button { min-height: 40px; padding: 0 18px; font-size: 15px; }

.phone.is-app-head .proto-header {
  display: block;
  height: auto;
  min-height: 72px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 4px;
}
.app-head { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; }
.app-head-text { flex: 1 1 auto; min-width: 0; }
.app-head-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.app-head h1, .phone.is-app-head .dash-name {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone.is-app-head .dash-greet { margin: 0; color: #9ca3af; font-size: 14px; font-weight: 500; line-height: 1.2; }
.app-head .icon-btn { width: 36px; height: 36px; border-radius: 999px; background: #fff; }
.phone.is-dash .app-head { align-items: flex-start; }
.phone.is-dash .app-head-tools { align-self: flex-start; }
.phone.is-app-head .lk-pane,
.phone.is-dash .lk-pane,
.phone.is-more-home .lk-pane { padding-top: 0; }
.lk-pick-head {
  height: calc(72px + env(safe-area-inset-top, 0px));
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
}
.floor-section--hall {
  margin: 2px 2px 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.floor-section--hall strong {
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.dash-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: #e8eaed;
}
.dash-tabs button { background: transparent; color: #6b7280; box-shadow: none; }
.dash-tabs button.is-on { background: #fff; color: #111827; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08); }
.dash-page .kpi, .dash-hero { box-shadow: none; }
.dash-page .kpi-title, .dash-hero .kpi-title { color: #b0b6c2; font-weight: 600; }
.dash-page .kpi-value, .dash-hero strong { font-weight: 700; }
.dash-hero-foot, .dash-page .kpi-foot { border-top-color: #f3f4f6; color: #9ca3af; }
.floor-halls-wrap { margin: 0 0 8px; }
.floor-scroll {
  width: 48px;
  height: 3px;
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}
.floor-scroll span { display: block; height: 100%; border-radius: 999px; background: #9ca3af; }
.bill-cards { display: flex; flex-direction: column; gap: 8px; }
.bill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.bill-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bill-card-title { font-size: 15px; font-weight: 800; color: #111827; }
.bill-card-status { display: flex; align-items: center; gap: 6px; color: #2563eb; font-size: 13px; font-weight: 600; }
.bill-card-status i { width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.bill-card-status--pre { color: #dc2626; }
.bill-card-status--kitchen { color: #ea580c; }
.bill-card-status--free { color: #16a34a; }
.bill-card-amt { font-size: 15px; font-weight: 800; color: #111827; white-space: nowrap; }
.bill-card .chev { color: #c5cad3; font-size: 18px; }
.more-home .avatar { background: #e8eefc; color: #2563eb; }
.more-home .more-logout {
  min-height: 56px;
  border-radius: 18px;
  background: #ffe4e6;
  color: #e11d48;
  font-size: 18px;
  font-weight: 700;
}

/* Состав заказа: шапка в две строки, карточки, серая «Пречек» и синяя «На кухню». */
.order-page.is-cart .order-local-head {
  height: calc(72px + env(safe-area-inset-top, 0px));
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  align-items: center;
  padding: env(safe-area-inset-top, 0px) 16px 0;
}
.order-page.is-cart .lk-back-btn {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: #fff;
}
.order-page.is-cart .order-head-lead {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.order-page.is-cart .order-head strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.order-page.is-cart .order-subline,
.order-page.is-cart .order-opened {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  white-space: normal;
}
.order-page.is-cart .order-sticky { padding-bottom: 0; }
.order-page.is-cart .order-scroll { padding: 0 0 20px; }
.order-page.is-cart .cart-block {
  margin: 0;
  padding: 0;
  border-radius: 0;
  border-top: 1px solid #e9ebef;
  border-bottom: 1px solid #e9ebef;
}
.order-page.is-cart .cart-block--new { background: #fff; }
.order-page.is-cart .cart-block--sent { background: #f8f9fb; }
.order-page.is-cart .cart-block-head,
.order-page.is-cart .cart-hint { padding-left: 20px; padding-right: 20px; }
.order-page.is-cart .cart-block-head { padding-top: 16px; padding-bottom: 4px; }
.order-page.is-cart .cart-block-head strong { font-size: 15px; font-weight: 700; color: #111827; letter-spacing: -0.02em; }
.order-page.is-cart .cart-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}
.order-page.is-cart .cart-list { gap: 0; padding: 0; }
.order-page.is-cart .item-card {
  border-radius: 0;
  padding: 14px 20px;
  box-shadow: none;
  background: transparent;
  border-bottom: 1px solid #eef0f3;
}
.order-page.is-cart .cart-list .item-card:last-child { border-bottom: 0; }
.order-page.is-cart .cart-block--sent .item-body strong,
.order-page.is-cart .cart-block--sent .item-unit { color: #374151; font-weight: 500; }
.order-page.is-cart .cart-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 40px);
  min-height: 52px;
  margin: 8px 20px 12px;
  padding: 0 22px;
  border-radius: 999px;
  background: #e8eefc;
  color: #2563eb;
  font-size: 16px;
  font-weight: 600;
}
.order-page.is-cart .cart-split { margin: 2px 20px 0; border-top: 1px dashed #d5d9e0; }
.order-page.is-cart .item-note {
  display: block;
  margin-top: 2px;
  color: #c2410c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.order-page.is-cart .item-row.is-locked,
.order-page.is-cart .item-row.is-sent { background: transparent; opacity: 1; }
.order-page.is-cart .item-body {
  display: flex;
  align-items: center;
  gap: 10px;
}
.order-page.is-cart .item-copy { flex: 1; min-width: 0; }
.order-page.is-cart .item-aside { flex: 0 0 auto; display: flex; align-items: center; }
.order-page.is-cart .item-accepted-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.order-page.is-cart .item-line-sum {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.order-page.is-cart .cart-block--new .item-body strong,
.order-page.is-cart .item-row.is-draft .item-body strong {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}
.order-page.is-cart .item-body strong,
.order-page.is-cart .item-row.is-locked .item-body strong {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.order-page.is-cart .item-unit {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}
.order-page.is-cart .line-step { gap: 10px; }
.order-page.is-cart .line-step button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  background: #eef1f4;
  color: #111827;
  font-size: 20px;
  line-height: 1;
}
.order-page.is-cart .line-more {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 6px;
  color: #111827;
}
.order-page.is-cart .line-more svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.order-page.is-cart .line-step .is-plus { background: #2563eb; color: #fff; }
.order-page.is-cart .line-step span {
  min-width: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.order-page.is-cart .item-accepted {
  color: #16a34a;
  font-size: 13px;
  font-weight: 600;
}
.order-page.is-cart .cart-hint {
  margin: 6px 0 16px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}
.order-page.is-cart .cart-hint--lock {
  justify-content: flex-start;
  margin: 0;
  padding: 10px 20px 14px;
  border-top: 1px solid #f0f2f5;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-align: left;
  white-space: nowrap;
}
.order-page.is-cart .line-step .is-trash {
  background: #fdecec;
  color: #dc2626;
}
.order-page.is-cart .line-step .is-trash svg { width: 17px; height: 17px; }
.order-page.is-cart .cart-total { display: none; }
.order-page.is-cart .cmd-sticky {
  background: #fff;
  box-shadow: 0 -10px 28px rgba(17, 24, 39, 0.06);
  border-radius: 22px 22px 0 0;
  padding: 16px 16px calc(14px + env(safe-area-inset-bottom, 0px));
}
.order-page.is-cart .cart-screen-total {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
}
.order-page.is-cart .cart-screen-total strong {
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.order-page.is-cart .cmd-cta.is-solo:has(#do-precheck) {
  grid-template-columns: 1fr;
}
.order-page.is-cart .cmd-cta:has(#do-kitchen) {
  grid-template-columns: minmax(128px, 1fr) minmax(0, 1.4fr);
  gap: 10px;
}
.order-page.is-cart .cmd-cta .cmd-btn--check,
.order-page.is-cart .cmd-cta .cmd-btn--check.is-blocked,
.order-page.is-cart .cmd-cta .cmd-btn--check[aria-disabled="true"],
.order-page.is-cart .cmd-cta .cmd-btn--check:disabled {
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid #DBE3F0;
  background: #fff;
  color: #2563eb;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
}
.order-page.is-cart .cmd-cta .cmd-btn--kitchen,
.order-page.is-cart .cmd-cta .cmd-btn--kitchen:not(:disabled):hover {
  min-height: 52px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
}
.order-page.is-cart .cmd-cta .cmd-btn--kitchen:disabled {
  background: #e7e9ed;
  color: #9ca3af;
}
.order-page.is-sheet .order-tab[data-panel="cart"] {
  bottom: 0;
  padding-bottom: 108px;
}
.order-page.is-sheet.is-cart .cmd-sticky {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  background: #fff;
  box-shadow: none;
  border-top: 1px solid #eceef1;
  border-radius: 0;
}
.order-page.is-sheet .cmd-cta:has(#do-precheck) {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 10px;
}
.order-page.is-sheet .cmd-cta .cmd-btn--check,
.order-page.is-sheet .cmd-cta .cmd-btn--check.is-blocked,
.order-page.is-sheet .cmd-cta .cmd-btn--check[aria-disabled="true"],
.order-page.is-sheet .cmd-cta .cmd-btn--check:disabled {
  border: 1px solid #DBE3F0;
  background: #fff;
  color: #2563eb;
  box-shadow: none;
}

.order-page .cmd-sticky:has(#open-cart) {
  position: relative;
  align-items: center;
  padding: 16px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -8px 28px rgba(17, 24, 39, 0.08);
}
.order-page .menu-send-handle {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 36px;
  height: 4px;
  margin-left: -18px;
  border-radius: 999px;
  background: #e5e7eb;
}
.order-page .menu-send.is-empty .menu-send-handle {
  visibility: hidden;
  pointer-events: none;
}
.order-page .menu-send {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
}
.order-page .menu-send-slot {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  align-self: stretch;
  flex: 0 0 auto;
  width: auto;
  min-width: 148px;
  height: auto;
  min-height: 44px;
  margin-left: auto;
}
.order-page .menu-send .cart-foot {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}
.order-page .cart-foot-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 2px;
}
.order-page .cart-foot-title {
  max-width: 100%;
  overflow: visible;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: clip;
}
.order-page .cart-foot.is-empty { cursor: default; }
.order-page .cart-foot.is-fresh .cart-foot-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.order-page .cart-foot.is-new:not(.is-fresh) .cart-foot-title { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.order-page .cart-foot.is-sent .cart-foot-title,
.order-page .cart-foot.is-queue .cart-foot-title,
.order-page .cart-foot.is-sending .cart-foot-title,
.order-page .cart-foot.is-new .cart-foot-title { font-size: 22px; font-weight: 800; }
.order-page .cart-foot.is-sent .cart-foot-hint { color: #16a34a; font-weight: 600; }
.order-page .cart-foot.is-sent .cart-foot-hint::before { content: "✓ "; }
.order-page .cart-foot.is-queue .cart-foot-hint { color: #b45309; font-weight: 600; }
.order-page .cart-foot.is-queue .cart-foot-hint::before { content: "⏱ "; }
.order-page .cart-foot-hint {
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}
.order-page .cart-foot-count,
.order-page .cart-foot-sum,
.order-page .kitchen-n {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen {
  width: auto;
  min-width: 148px;
  margin: 0 0 0 auto;
  height: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f3f6;
  color: #9ca3af;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: background-color 120ms ease, color 120ms ease;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown:disabled {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  background: #f1f3f6;
  color: #9ca3af;
}
.order-page .cmd-sticky #do-kitchen.is-sending,
.order-page .cmd-sticky #do-kitchen.is-sending:disabled,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-sending,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-sending:disabled {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}
.order-page .cmd-sticky #do-kitchen.is-sent-ok,
.order-page .cmd-sticky #do-kitchen.is-sent-ok:disabled,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-sent-ok,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-sent-ok:disabled {
  background: #2563eb;
  color: #fff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown:not(:disabled) {
  background: #2563eb;
  color: #fff;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-compose,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-compose:not(:disabled),
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-compose:active {
  height: 56px;
  min-height: 56px;
  min-width: 148px;
  padding: 0 16px;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-compose,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-compose:not(:disabled),
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-compose:active {
  border: 1px solid #DBE3F0;
  background: #fff;
  color: #2563eb;
  font-size: 16px;
  font-weight: 600;
}
.order-page .menu-send-slot:has(.is-compose) { min-width: 148px; }
.order-page .menu-send #do-kitchen,
.order-page .menu-send-slot {
  -webkit-tap-highlight-color: transparent;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen:active {
  border-radius: 999px;
  opacity: 1;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown:not(:disabled):not(.is-compose):active {
  background: #1d4ed8;
}
.kitchen-chev { width: 16px; height: 16px; margin-left: 4px; vertical-align: -3px; }
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-enter {
  animation: kitchen-in 160ms ease-out;
}
@keyframes kitchen-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes kitchen-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.kitchen-pulse { animation: kitchen-pulse 120ms ease-out; }

.leave-modal {
  padding: 22px 18px 16px;
  border-radius: 22px;
  text-align: left;
}
.leave-modal h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: left;
}
.leave-modal .lk-modal-lead {
  margin: 6px 0 16px;
  color: #9ca3af;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}
.leave-modal .lk-modal-actions { gap: 10px; }
.leave-modal .cmd-btn {
  min-height: 52px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}
.leave-modal .cmd-btn--kitchen,
.leave-modal .cmd-btn--kitchen:not(:disabled):hover {
  background: #2563eb;
  color: #fff;
}
.leave-modal .cmd-btn--danger,
.leave-modal .cmd-btn--danger:not(:disabled):hover {
  background: #fee2e2;
  color: #ef4444;
}
.leave-modal .leave-stay {
  background: #f3f4f6;
  color: #111827;
}

.lk-sheet.is-guest { padding: 8px 20px 20px; }
.guest-sheet-head { display: flex; align-items: flex-start; gap: 12px; }
.guest-sheet-title {
  flex: 1;
  margin: 4px 0 0;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.guest-sheet-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  cursor: pointer;
}
.guest-sheet-close svg { width: 18px; height: 18px; }
.guest-sheet-lead {
  margin: 6px 0 18px;
  color: #9ca3af;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.guest-picks {
  display: grid;
  grid-template-columns: repeat(3, 72px);
  justify-content: space-between;
  gap: 16px 0;
}
.guest-pick {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.guest-pick.is-on { background: #2563eb; color: #fff; }
.guest-pick:disabled { opacity: 0.35; cursor: default; }
.guest-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 0;
}
.guest-more:has(> .guest-more-link) { display: block; }
.guest-sheet-hint {
  margin: 16px 8px 0;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}
.guest-more-label { color: #111827; font-size: 16px; font-weight: 600; }
.guest-more-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.guest-step { display: flex; align-items: center; gap: 12px; }
.guest-step button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font: inherit;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.guest-step b {
  min-width: 20px;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.guest-send {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.guest-send:disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: default;
}
.guest-cancel {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.dash-page .kpi-title,
.dash-hero .kpi-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.dash-ico { display: grid; place-items: center; width: 16px; height: 16px; color: #9ca3af; flex: 0 0 auto; }
.dash-ico svg { width: 16px; height: 16px; }
.dash-hero strong { font-size: 34px; font-weight: 800; }
.dash-bar, .kpi-bar {
  display: flex;
  height: 3px;
  margin: 10px 0 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eaed;
}
.kpi-bar { margin: 8px 0 0; }
.dash-bar span, .kpi-bar span { display: block; height: 100%; background: #2563eb; }
.dash-bar .is-pre { background: #93c5fd; }
.dash-bar .is-kitchen { background: #d1d5db; }
.dash-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 500;
}
.dash-legend-item { display: inline-flex; align-items: center; gap: 5px; }
.dash-legend-item i { width: 6px; height: 6px; border-radius: 999px; background: #2563eb; }
.dash-legend-item.is-kitchen i { background: #d1d5db; }
.kpi-note {
  margin: 4px 0 10px;
  overflow: hidden;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dash-page .kpi { min-height: 132px; }
.dash-page .kpi-value { margin-top: 6px; font-size: 32px; font-weight: 800; }
.dash-page .kpi-foot {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}
.dash-page .kpi-foot span:first-child::after { content: none; }
.dash-page .kpi-foot span + span { color: #111827; font-weight: 700; }
.dash-page .kpi.kpi--age {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 12px 14px;
}
.kpi-age-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff4e8;
  color: #ea580c;
}
.kpi-age-ico svg { width: 20px; height: 20px; }
.kpi-age-copy { flex: 1; min-width: 0; text-align: left; }
.kpi-age-copy strong { display: block; color: #6b7280; font-size: 13px; font-weight: 600; }
.kpi-age-meta {
  margin: 2px 0 0;
  overflow: hidden;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.kpi-age-meta b { color: #111827; font-weight: 800; }
.kpi-age-value {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  color: #ea580c;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.kpi-age-value svg { width: 16px; height: 16px; color: #d1d5db; }

.tabbar {
  border-radius: 0;
  border-top: 1px solid #e3e6ea;
  box-shadow: 0 -8px 20px rgba(17, 24, 39, 0.06);
}
.tabbar .tab-ind {
  display: block;
  z-index: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #dbe6fd;
  opacity: 0;
  transition: transform 380ms cubic-bezier(.34, 1.56, .64, 1), opacity 150ms linear;
}
.tabbar button,
.tabbar button .tab-label { transition: color 150ms linear; }
.tabbar button.is-on {
  background: transparent;
  color: #2563eb;
  border-radius: 0;
  font-weight: 700;
}
.tabbar button.is-on .tab-ic {
  width: auto;
  height: 24px;
  border-radius: 0;
  background: transparent;
  color: #2563eb;
  transform: none;
}
.tabbar button.is-on svg { stroke-width: 2; }
.tabbar button.is-on .tab-label { color: #2563eb; font-weight: 700; }
@keyframes tab-ico-pop {
  0% { transform: scale(1); }
  42% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.tabbar button .tab-ic.is-pop { animation: tab-ico-pop 380ms ease-out; }
.tabbar {
  align-items: stretch;
  min-height: 64px;
  padding: 0 4px calc(env(safe-area-inset-bottom, 0px));
  overflow: visible;
}
.tabbar button {
  height: auto;
  min-height: 64px;
  padding: 8px 0 0;
  gap: 2px;
  justify-content: flex-start;
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
}
.tabbar button .tab-ic,
.tabbar button.is-on .tab-ic {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  transform: none;
}
.tabbar button svg,
.tabbar button.is-on .tab-ic svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}
.tabbar button .tab-label {
  height: 14px;
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
}
.tabbar button.is-on,
.tabbar button.is-on .tab-label {
  color: #2563eb;
  font-weight: 700;
}
.tabbar button.tab-plus { color: #9ca3af; }
.tabbar button.tab-plus .tab-label { color: #9ca3af; font-weight: 500; }
.tabbar button.tab-plus .tab-ic {
  width: 52px;
  height: 52px;
  margin-top: -18px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
  .tabbar .tab-ind { transition: transform 150ms linear, opacity 150ms linear; }
  .tabbar button .tab-ic.is-pop { animation: none; }
  .order-page .dish-plus.is-spring { animation: none; }
}

.order-page.is-precheck .pre-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 20px 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fef3e2;
  color: #b45309;
}
.order-page.is-precheck .pre-note-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  background: #fde8c8;
}
.order-page.is-precheck .pre-note-ico svg { width: 18px; height: 18px; }
.order-page.is-precheck .pre-note b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.order-page.is-precheck .pre-note small { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.3; }
.order-page.is-precheck .pre-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 20px 8px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.order-page.is-precheck .pre-section strong { font-size: 12px; font-weight: 700; color: #9ca3af; letter-spacing: 0; text-transform: none; }
.order-page.is-precheck .pre-card {
  margin: 0 16px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}
.order-page.is-precheck .pre-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e9ebef;
}
.order-page.is-precheck .pre-line:last-child { border-bottom: 0; }
.order-page.is-precheck .pre-line-copy { flex: 1; min-width: 0; }
.order-page.is-precheck .pre-line strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #111827;
}
.order-page.is-precheck .pre-line span {
  display: block;
  margin-top: 2px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
}
.order-page.is-precheck .pre-line b {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #111827;
}
.order-page.is-precheck .pre-accepted {
  margin: 12px 16px 0;
  text-align: center;
  color: #15803d;
  font-size: 13px;
  font-weight: 600;
}
.order-page.is-precheck .precheck-foot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.order-page.is-precheck .precheck-total { flex: 1; min-width: 0; }
.order-page.is-precheck .precheck-total span {
  display: block;
  overflow: hidden;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.order-page.is-precheck .precheck-total strong {
  display: block;
  margin-top: 2px;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.order-page.is-precheck .precheck-back {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #e8eefc;
  color: #2563eb;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.order-page .dish-grid > .dish-tile:not(.cat-card) {
  height: 128px;
  min-height: 128px;
  max-height: 128px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 18px;
  background: #e8eefc !important;
  box-shadow: none;
  overflow: hidden;
}
.order-page .dish-grid > .dish-tile:not(.cat-card).is-in {
  background: #dbe6fd !important;
  box-shadow: none;
  border: 0;
}
.order-page .dish-grid > .dish-tile:not(.cat-card) strong {
  display: -webkit-box;
  max-height: 40px;
  padding-right: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.order-page .dish-meta {
  margin-top: 2px;
  overflow: hidden;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.order-page .dish-kitchen { color: #15803d; font-weight: 600; }
.order-page .dish-grid > .dish-tile:not(.cat-card) .dish-foot {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  min-height: 40px;
  margin-top: auto;
  padding-right: 48px;
  gap: 0;
}
.order-page .dish-grid > .dish-tile:not(.cat-card) .dish-price {
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-page .dish-controls { flex: 1; min-width: 0; margin: 0; }
.order-page .dish-grid > .dish-tile:not(.cat-card) .dish-step {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  min-height: 40px;
  margin: 0;
  border: 0;
  background: transparent;
  gap: 0;
  overflow: visible;
}
.order-page .dish-grid > .dish-tile:not(.cat-card) .dish-step-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}
.order-page .dish-grid > .dish-tile:not(.cat-card) .dish-step-btn.is-trash {
  background: #fff;
  color: #2563eb;
}
.order-page .dish-grid > .dish-tile:not(.cat-card) .dish-step-btn.is-trash svg {
  width: 18px;
  height: 18px;
  stroke: #2563eb;
}
.order-page .dish-grid > .dish-tile:not(.cat-card) .dish-step-qty {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.order-page .dish-grid > .dish-tile:not(.cat-card) .dish-plus {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transform: scale(1);
}
.phone.is-dash {
  --page-bg: #f4f6fa;
  --card-bg: #ffffff;
  --card-radius: 20px;
  --shadow-card: 0 2px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow-seg: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.06);
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --lk-gutter: 12px;
  background: var(--page-bg);
}
.phone.is-dash .proto-header,
.phone.is-dash .lk-pane { background: var(--page-bg); }
.phone.is-dash .app-head .icon-btn {
  width: 40px;
  height: 40px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.phone.is-dash .app-head .icon-btn svg { width: 18px; height: 18px; }
.dash-page { gap: 0; }
.dash-page .dash-hero {
  padding: 16px 18px;
  border: 0;
  border-radius: var(--card-radius, 20px);
  background: #fff;
  box-shadow: var(--shadow-card);
  cursor: default;
}
.dash-page .dash-hero .kpi-title,
.dash-page .kpi .kpi-title {
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.dash-page .kpi .kpi-title { gap: 6px; letter-spacing: -0.03em; }
.dash-page .dash-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8efff;
  color: #2563eb;
}
.dash-page .dash-ico svg { width: 16px; height: 16px; }
.dash-page .kpi--kitchen .dash-ico { background: #fef3e2; color: #f59e0b; }
.dash-page .kpi--pre .dash-ico { background: #e6f6ec; color: #16a34a; }
.dash-page .kpi--long .dash-ico { background: #ffede4; color: #ea580c; }
.dash-page .dash-hero strong {
  display: block;
  margin-top: 10px;
  color: var(--text-main);
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.dash-page .dash-hero-meta { margin-top: 2px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.dash-page .dash-bar {
  display: flex;
  gap: 3px;
  height: 4px;
  margin: 14px 0 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.dash-page .dash-bar span { height: 4px; min-width: 4px; border-radius: 999px; }
.dash-page .dash-bar .is-work { background: #2563eb; }
.dash-page .dash-bar .is-kitchen { background: #f59e0b; }
.dash-page .dash-bar .is-pre { background: #16a34a; }
.dash-page .dash-legend,
.dash-page .kpi-bar { display: none; }
.dash-page .dash-hero-foot {
  margin-top: 12px;
  padding-top: 0;
  border: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.dash-page .dash-hero-foot span + span {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dash-page .dash-tabs {
  margin-top: 14px;
  padding: 4px;
  border-radius: 999px;
  background: #e9edf3;
}
.dash-page .dash-tabs button {
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
}
.dash-page .dash-tabs button.is-on {
  background: #fff;
  color: var(--text-main);
  font-weight: 700;
  box-shadow: var(--shadow-seg);
}
.dash-page .kpi-grid {
  gap: 12px;
  margin-top: 14px;
  grid-auto-rows: 158px;
}
.dash-page .kpi {
  height: 158px;
  min-height: 158px;
  padding: 16px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--text-main);
  overflow: hidden;
}
.dash-page button.kpi { transition: transform 120ms ease, background-color 120ms ease; }
.dash-page button.kpi:active { background: #f3f7ff; transform: scale(0.98); }
.dash-page .kpi-foot-val { display: inline-flex; align-items: center; gap: 4px; }
.dash-page .kpi-go { color: #9ca3af; font-size: 14px; font-weight: 500; line-height: 1; }
.dash-page .kpi .kpi-value {
  display: block;
  margin: 10px 0 0;
  color: var(--text-main);
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.dash-page .kpi-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  min-width: 0;
  font-size: 12px;
  line-height: 16px;
}
.dash-page .kpi-trend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-1px);
  flex: 0 0 auto;
}
.dash-page .kpi-trend b { font-weight: 600; }
.dash-page .kpi-trend span {
  min-width: 0;
  color: var(--text-faint);
  font-weight: 500;
}
.dash-page .kpi--open .kpi-trend { color: #2563eb; }
.dash-page .kpi--kitchen .kpi-trend { color: #b45309; }
.dash-page .kpi--pre .kpi-trend { color: #15803d; }
.dash-page .kpi--long .kpi-trend { color: #c2410c; }
.dash-page .kpi-foot {
  margin-top: auto;
  padding-top: 0;
  border: 0;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
}
.dash-page .kpi-foot span:first-child::after { content: none; }
.dash-page .kpi-foot span + span {
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dash-page .kpi-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
}
.dash-page .kpi-check svg { width: 12px; height: 12px; }
.dash-page .kpi-info { display: none; }
.dash-group h2 {
  margin: 18px 4px 8px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}
.dash-table {
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 10px;
}
.dash-table + .dash-table { margin-top: 0; }
.dash-table-head,
.dash-bill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.dash-table-copy { min-width: 0; }
.dash-table-copy strong {
  display: block;
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.dash-table-sub,
.dash-bill-when {
  display: block;
  margin-top: 2px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.dash-table-side { margin-left: auto; text-align: right; }
.dash-table-side b {
  display: block;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dash-table-side .dash-status { margin-top: 4px; justify-content: flex-end; }
.dash-bill {
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid #e9ebef;
}
.dash-bill-main { min-width: 0; }
.dash-bill-no { display: block; color: #111827; font-size: 15px; font-weight: 600; }
.dash-bill-side {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.dash-bill-side b {
  color: #111827;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dash-bill .chev { color: #c5cad3; font-size: 18px; line-height: 1; }
.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.dash-status i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.dash-status.is-kitchen { color: #b45309; }
.dash-status.is-pre { color: #15803d; }
.dash-status.is-open,
.dash-status.is-send { color: #2563eb; }
.phone.is-dash-list,
.phone.is-dash-list .lk-pane { background: #f4f6fa; }
.dash-list-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
}
.dash-list-back {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  flex: 0 0 auto;
}
.dash-list-back svg { width: 22px; height: 22px; }
.dash-list-copy { min-width: 0; flex: 1; }
.dash-list-copy strong {
  display: block;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.dash-list-copy span {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}
.dash-list-head .icon-btn {
  width: 40px;
  height: 40px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
}
.dash-list-head .icon-btn svg { width: 18px; height: 18px; }
.dash-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 16px;
}
.dash-scope button {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #374151;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.dash-scope button.is-on { background: #eaf1ff; color: #2563eb; font-weight: 700; box-shadow: none; }
.dash-scope button b {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.dash-scope-check { width: 16px; height: 16px; flex: 0 0 auto; }
.dash-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 4px 8px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dash-list-meta b { color: #111827; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.dash-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e8efff;
  color: #2563eb;
  font-size: 15px;
  font-weight: 700;
  flex: 0 0 auto;
}
.dash-list--kitchen .dash-badge { background: #fef3e2; color: #b45309; }
.dash-list--pre .dash-badge { background: #e6f6ec; color: #15803d; }
.dash-list--long .dash-badge { background: #ffede4; color: #c2410c; }
.dash-list .dash-bill { border-top-color: #f0f2f5; }
.dash-list .dash-bill-side {
  display: grid;
  grid-template-columns: auto auto;
  justify-items: end;
  align-items: center;
  column-gap: 4px;
  row-gap: 4px;
}
.dash-list .dash-bill-side b { grid-column: 1 / -1; }
.dash-list-kicker {
  margin: 4px 4px 8px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.age-list { display: flex; flex-direction: column; gap: 8px; }
.age-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.age-rank { width: 18px; color: #9ca3af; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.age-copy { min-width: 0; flex: 1; }
.age-copy strong { display: block; color: #111827; font-size: 16px; font-weight: 700; }
.age-copy span { display: block; margin-top: 2px; color: #9ca3af; font-size: 13px; font-weight: 500; }
.age-when { color: #111827; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.age-when.is-long { color: #c2410c; }
.lk-sheet.is-item-sheet {
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  width: auto;
  max-height: 92%;
  padding: 10px 20px calc(26px + env(safe-area-inset-bottom, 0px));
  border-radius: 24px 24px 0 0;
  transform: none;
  box-sizing: border-box;
}
.lk-sheet.is-item-sheet .lk-sheet-handle {
  display: block;
  width: 36px;
  height: 4px;
  margin: 2px auto 14px;
  background: #d5dae1;
}
.lk-sheet.is-item-sheet .sheet-title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.lk-sheet.is-item-sheet .bill-comments-intro { margin: 4px 0 0; font-size: 13px; color: #6b7280; }
.lk-sheet.is-item-sheet .bill-comments-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f3f6;
  color: #6b7280;
}
.lk-sheet.is-item-sheet .bill-comment-field-head label,
.lk-sheet.is-item-sheet .modifier-group h3 { font-size: 16px; font-weight: 700; color: #111827; }
.lk-sheet.is-item-sheet .bill-comment-clear { color: #2563eb; font-size: 13px; font-weight: 600; }
.lk-sheet.is-item-sheet .bill-comment-box { position: relative; }
.lk-sheet.is-item-sheet .bill-comment-text {
  height: 76px;
  min-height: 76px;
  padding: 14px 14px 24px;
  border: 0;
  border-radius: 16px;
  background: #f4f6fa;
  resize: none;
  font-size: 15px;
  line-height: 1.35;
}
.lk-sheet.is-item-sheet .bill-comment-text::placeholder { color: #9ca3af; }
.lk-sheet.is-item-sheet .bill-comment-text:focus { border: 0; box-shadow: none; background: #f4f6fa; }
.lk-sheet.is-item-sheet .bill-comment-box .bill-comment-counter {
  position: absolute;
  right: 12px;
  bottom: 8px;
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}
.lk-sheet.is-item-sheet .bill-comments-footer {
  border-top: 0;
  padding: 12px 0 0;
  background: #fff;
}
.lk-sheet.is-item-sheet .bill-comments-footer > span { color: #6b7280; font-size: 13px; text-align: center; }
.lk-sheet.is-item-sheet .bill-comments-footer .cmd-btn,
.lk-sheet.is-item-sheet #postpone-save {
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.lk-sheet.is-item-sheet .mod-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin: 16px 0;
  padding: 0 14px;
  border-radius: 999px;
  background: #f4f6fa;
  color: #9ca3af;
}
.lk-sheet.is-item-sheet .mod-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.lk-sheet.is-item-sheet .mod-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.lk-sheet.is-item-sheet .mod-search input::placeholder { color: #9ca3af; }
.lk-sheet.is-item-sheet .modifier-group { margin: 18px 0; }
.lk-sheet.is-item-sheet .mod-rule { color: #9ca3af; font-size: 12.5px; font-weight: 500; }
.lk-sheet.is-item-sheet .mod-grid,
.lk-sheet.is-item-sheet .bill-comment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lk-sheet.is-item-sheet .modifier-choice { margin: 0; }
.lk-sheet.is-item-sheet .mod-tile,
.lk-sheet.is-item-sheet .bill-comment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 14px;
  background: #f4f6fa;
  color: #111827;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.lk-sheet.is-item-sheet .mod-tile > span:first-child,
.lk-sheet.is-item-sheet .bill-comment-option > span:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lk-sheet.is-item-sheet .mod-tick,
.lk-sheet.is-item-sheet .bill-comment-radio {
  width: 18px;
  height: 18px;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.lk-sheet.is-item-sheet .mod-tile.is-on,
.lk-sheet.is-item-sheet .bill-comment-option.is-on {
  background: #eaf1ff;
  color: #1e40af;
  font-weight: 600;
}
.lk-sheet.is-item-sheet .mod-tile.is-on .mod-tick,
.lk-sheet.is-item-sheet .bill-comment-option.is-on .bill-comment-radio {
  border: 0;
  background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.lk-sheet.is-item-sheet .postpone-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.lk-sheet.is-item-sheet .postpone-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  border: 0;
  border-radius: 16px;
  background: #f4f6fa;
  color: #111827;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.lk-sheet.is-item-sheet .postpone-tile b { display: block; font-size: 15px; font-weight: 700; }
.lk-sheet.is-item-sheet .postpone-tile small { display: block; margin-top: 2px; color: #6b7280; font-size: 13px; }
.lk-sheet.is-item-sheet .postpone-tick {
  width: 22px;
  height: 22px;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.lk-sheet.is-item-sheet .postpone-tile.is-on { background: #eaf1ff; }
.lk-sheet.is-item-sheet .postpone-tile.is-on b { color: #1e40af; }
.lk-sheet.is-item-sheet .postpone-tile.is-on .postpone-tick {
  border: 0;
  background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.lk-sheet.is-item-sheet .postpone-note {
  margin: 14px 4px 8px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}
.lk-sheet.is-item-sheet.is-compact { max-height: none; }
.lk-sheet.is-item-sheet .client-search,
.lk-sheet.is-item-sheet .client-lead { display: flex; }
.client-search {
  align-items: center;
  gap: 8px;
  height: 52px;
  margin: 16px 0 0;
  padding: 0 14px;
  border-radius: 16px;
  background: #f4f6fa;
  color: #9ca3af;
}
.client-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.client-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.client-search input::placeholder { color: #9ca3af; }
.client-lead { display: block; margin: 10px 2px 0; color: #6b7280; font-size: 13px; line-height: 1.35; }
.lk-sheet.is-item-sheet #pos-client-find { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lk-sheet.is-item-sheet #pos-client-find svg { width: 18px; height: 18px; }
.discount-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #f4f6fa;
}
.discount-empty-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #6b7280;
  font-size: 16px;
  font-weight: 700;
  flex: 0 0 auto;
}
.discount-empty b { display: block; color: #111827; font-size: 15px; font-weight: 600; }
.discount-empty small { display: block; margin-top: 2px; color: #6b7280; font-size: 13px; line-height: 1.35; }
.discount-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.discount-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  border: 0;
  border-radius: 16px;
  background: #f4f6fa;
  color: #111827;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.discount-tile > span:first-child b { display: block; font-size: 15px; font-weight: 700; }
.discount-tile small { display: block; margin-top: 2px; color: #6b7280; font-size: 13px; font-weight: 500; }
.discount-side { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.discount-side b { font-size: 15px; font-weight: 700; }
.discount-tile .mod-tick {
  width: 22px;
  height: 22px;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}
.discount-tile.is-on { background: #eaf1ff; }
.discount-tile.is-on > span:first-child b { color: #1e40af; }
.discount-tile.is-on .mod-tick {
  border: 0;
  background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.discount-note { margin: 12px 2px 0; color: #6b7280; font-size: 13px; }
.guest-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: 10px; }
.guest-pick {
  width: 100%;
  height: 64px;
  border-radius: 16px;
  background: #f4f6fa;
  font-size: 22px;
  font-weight: 700;
}
.guest-pick.is-on { background: #eaf1ff; color: #111827; }
.guest-more-link {
  min-height: 64px;
  border-radius: 16px;
  background: #f4f6fa;
  font-size: 16px;
  font-weight: 700;
}
.order-page .menu-send {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-height: 0;
}
.order-page .menu-send-meta { width: 100%; min-width: 0; }
.order-page .menu-send-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}
.order-page .menu-open-cart,
.order-page .menu-send-actions .menu-send-slot,
.order-page .menu-send-actions .cmd-btn--kitchen {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 56px;
  min-height: 56px;
}
.order-page .menu-send-actions .menu-send-slot { margin-left: 0; }
.order-page.is-cart .cmd-cta .cmd-btn--kitchen,
.order-page.is-cart .cmd-cta .cmd-btn--check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  min-height: 56px;
  font-size: 16px;
  font-weight: 600;
}
.order-page.is-cart .cmd-cta .cmd-btn--kitchen.is-sending,
.order-page.is-cart .cmd-cta .cmd-btn--kitchen.is-sending:disabled,
.order-page.is-cart .cmd-cta .cmd-btn--kitchen.is-sent-ok,
.order-page.is-cart .cmd-cta .cmd-btn--kitchen.is-sent-ok:disabled {
  background: #2563eb;
  color: #fff;
  opacity: 1;
}
.order-page.is-cart .cmd-cta .cmd-btn--kitchen.is-sending .kitchen-fill,
.order-page .cmd-sticky #do-kitchen.is-sending .kitchen-fill {
  display: block;
}
.kitchen-spin {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: kitchen-spin 0.7s linear infinite;
  flex: 0 0 auto;
}
@keyframes kitchen-spin { to { transform: rotate(360deg); } }
.order-page.is-cart .cmd-btn--check.is-dim {
  opacity: 0.5;
  pointer-events: none;
}
.item-sending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.item-sending i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.order-page.is-cart .item-accepted { color: #15803d; font-size: 13px; font-weight: 600; }
.order-page.is-cart .precheck-lock { width: 16px; height: 16px; }
.cart-add-dock {
  flex: 0 0 auto;
  padding: 0 0 8px;
  background: #f4f6fa;
}
.order-page.is-cart .cart-add-dock .cart-add { margin-bottom: 0; }
.order-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 40px);
  height: 48px;
  margin: 16px 20px 8px;
  border: 1px solid #f3c4c1;
  border-radius: 999px;
  background: #fff;
  color: #dc2626;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.order-delete svg { width: 17px; height: 17px; flex: 0 0 auto; }
.order-delete.is-locked,
.order-delete:disabled {
  border: 0;
  background: #e5e7eb;
  color: #9ca3af;
  cursor: default;
}
.order-delete-wrap { margin-bottom: 8px; }
.order-delete-wrap p {
  margin: 8px 20px 0;
  color: #9ca3af;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}
.order-more {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04), 0 10px 24px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}
.order-more svg { width: 20px; height: 20px; fill: currentColor; }
.order-menu-back {
  position: absolute;
  inset: 0;
  z-index: 30;
  border: 0;
  background: rgba(17, 24, 39, 0.12);
}
.order-menu {
  position: absolute;
  top: 72px;
  right: 12px;
  z-index: 31;
  width: 270px;
  padding: 6px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}
.order-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.order-menu-item b { display: block; color: #111827; font-size: 16px; font-weight: 600; }
.order-menu-item small { display: block; margin-top: 2px; color: #6b7280; font-size: 12.5px; font-weight: 500; }
.order-menu-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: #fdecec;
  color: #dc2626;
}
.order-menu-ico svg { width: 18px; height: 18px; }
.order-menu-item.is-locked { cursor: default; }
.order-menu-item.is-locked b,
.order-menu-item.is-locked small { color: #9ca3af; }
.order-menu-item.is-locked .order-menu-ico { background: #f1f3f6; color: #9ca3af; }
.line-sheet-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.line-sheet-head > div { flex: 1; min-width: 0; }
.line-sheet-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.line-sheet-row.is-static,
.line-sheet-row.is-locked { cursor: default; }
.line-sheet-row.is-static b {
  margin-left: auto;
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
}
.line-sheet-row.is-danger,
.line-sheet-row.is-locked {
  margin-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-weight: 600;
}
.line-sheet-row.is-danger { color: #dc2626; }
.line-sheet-row.is-locked { color: #9ca3af; }
.line-sheet-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: #f4f6fa;
  color: #374151;
}
.line-sheet-ico svg { width: 18px; height: 18px; }
.line-sheet-row.is-danger .line-sheet-ico { background: #fdecec; color: #dc2626; }
.line-sheet-row.is-locked .line-sheet-ico { background: #f1f3f6; color: #9ca3af; }
.line-chev { width: 16px; height: 16px; margin-left: auto; color: #9ca3af; }
.line-sheet-row .line-step { margin-left: auto; gap: 8px; }
.line-sheet-row .line-step button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 0;
  border-radius: 999px;
  background: #eef1f4;
  color: #111827;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.line-sheet-row .line-step .is-plus { background: #2563eb; color: #fff; }
.line-sheet-row .line-step .is-trash { background: #fdecec; color: #dc2626; }
.line-sheet-row .line-step .is-trash svg { width: 17px; height: 17px; }
.line-sheet-row .line-step span { min-width: 16px; text-align: center; font-weight: 700; }
.line-sheet-done {
  width: 100%;
  height: 56px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.delete-note {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f4f6fa;
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
}
.delete-note ul { margin: 0 0 8px; padding: 0; list-style: none; }
.delete-note li + li { margin-top: 6px; }
.delete-note p { margin: 0; color: #374151; }
.confirm-actions { display: flex; gap: 10px; margin-top: 16px; }
.confirm-actions button {
  flex: 1 1 0;
  height: 56px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.confirm-keep { background: #e8efff; color: #2563eb; }
.confirm-drop { background: #dc2626; color: #fff; }
.line-undo.is-dish {
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  min-height: 52px;
  padding: 0 8px 0 14px;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1), 0 12px 28px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}
.line-undo.is-dish > span { flex: 1; font-size: 15px; font-weight: 600; color: #111827; white-space: nowrap; }
.line-undo.is-dish > .line-undo-ico { display: grid; place-items: center; flex: 0 0 auto; color: #6b7280; }
.line-undo-ico svg { width: 18px; height: 18px; }
.line-undo-back {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #e8efff;
  color: #2563eb;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.line-undo-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #cfdcfd;
  transform-origin: left center;
  animation: line-undo-bar 5s linear forwards;
}
@keyframes line-undo-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.return-toast {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1), 0 12px 28px rgba(15, 23, 42, 0.1);
  font-size: 15px;
  font-weight: 600;
}
.pick-table.is-return-flash,
.table-tile.is-return-flash,
.floor-table.is-return-flash { background: #f3f7ff; }
.order-page.is-cart .item-row.is-sent { cursor: pointer; }
.order-page.is-cart .line-more.is-quiet {
  width: 32px;
  height: 36px;
  margin-left: 2px;
  color: #6b7280;
}
.order-page.is-cart .line-more.is-quiet svg { width: 20px; height: 20px; }
.order-page .dish-plus.is-spring { animation: dish-plus-spring 380ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes dish-plus-spring {
  from { transform: scale(0.92); }
  to { transform: scale(1); }
}
.order-page .menu-send-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  touch-action: manipulation;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send-actions .menu-send-slot {
  display: flex;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #open-cart,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown:disabled,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-compose,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen:disabled {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  height: 56px;
  min-height: 56px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen {
  width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.order-page .menu-send { width: 100%; flex: 1 1 auto; }
.order-page .cmd-sticky:has(#open-cart) .menu-send #open-cart:disabled,
.order-page .menu-send.is-empty #open-cart,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen:disabled,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown:disabled {
  border: 0;
  background: #e5e7eb;
  color: #9ca3af;
  pointer-events: none;
  cursor: default;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #open-cart:not(:disabled) {
  border: 1px solid #DBE3F0;
  background: #fff;
  color: #2563eb;
  pointer-events: auto;
  cursor: pointer;
}
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen:not(:disabled):not(.is-sending):not(.is-sent-ok),
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-shown:not(:disabled):not(.is-sending):not(.is-sent-ok) {
  border: 0;
  background: #2563eb;
  color: #fff;
  pointer-events: auto;
}
.order-page .cmd-sticky #do-kitchen.is-sending,
.order-page .cmd-sticky #do-kitchen.is-sending:disabled,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-sending,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-sending:disabled,
.order-page .cmd-sticky #do-kitchen.is-sent-ok,
.order-page .cmd-sticky #do-kitchen.is-sent-ok:disabled,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-sent-ok,
.order-page .cmd-sticky:has(#open-cart) .menu-send #do-kitchen.is-sent-ok:disabled,
.order-page.is-cart .cmd-cta #do-kitchen.is-sending,
.order-page.is-cart .cmd-cta #do-kitchen.is-sending:disabled,
.order-page.is-cart .cmd-cta #do-kitchen.is-sent-ok,
.order-page.is-cart .cmd-cta #do-kitchen.is-sent-ok:disabled {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  min-height: 56px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  isolation: isolate;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  cursor: pointer;
}
