:root {
  --bg: #ffffff;
  --pageBg: #F2F2F2;
  --primaryDark: #455469;
  --accent: #EA8A2A;
  --text: #111827;
  --muted: rgba(17, 24, 39, 0.62);
  --border: rgba(0, 0, 0, 0.06);
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 24px rgba(0, 0, 0, 0.06);
  --shadowHover: 0 2px 6px rgba(0, 0, 0, 0.08), 0 18px 40px rgba(0, 0, 0, 0.10);
  --radius: 14px;
  /* Align with .container — hero bleed cancels the same inset */
  --content-pad-left: max(1rem, env(safe-area-inset-left, 0px));
  --content-pad-right: max(1rem, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  background: var(--pageBg);
  color: var(--text);
  font-family: Satoshi, Arial, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 68rem;
  margin: 0 auto;
  padding-left: var(--content-pad-left);
  padding-right: var(--content-pad-right);
}

/* Staff menu preview — full-width warning strip */
body.has-staff-preview-banner {
  padding-top: 4.75rem;
}

.staff-preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(180deg, #b45309 0%, #92400e 100%);
  color: #fffbeb;
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.staff-preview-banner__label {
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.staff-preview-banner__close {
  cursor: pointer;
  padding: 0.65rem 1.35rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 900;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  letter-spacing: 0.06em;
}

.staff-preview-banner__close:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.65);
}

body.has-closed-day-overlay .page-surface--blocked {
  pointer-events: none;
  user-select: none;
  filter: blur(2px);
}

.closed-day-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(4px);
}

.closed-day-overlay__panel {
  max-width: 28rem;
  width: 100%;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadowHover);
  text-align: center;
}

.closed-day-overlay__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--primaryDark);
}

.closed-day-overlay__message {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.5;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--primaryDark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(0,0,0,0.10);
  padding-top: env(safe-area-inset-top, 0px);
}

.page-inner {
  padding-top: 0;
  padding-bottom: 1.75rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  min-height: 64px;
  min-width: 0;
}

/* Align header controls with card *content* inset (not full-bleed hero edges) */
@media (min-width: 768px) {
  .topbar-inner {
    /* .container already provides 1rem side padding; add card inner padding (p-4 = 16px) */
    padding-left: calc(1rem + 16px);
    padding-right: calc(1rem + 16px);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.brand img {
  height: 34px;
  width: auto;
  display: block;
}


.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.navlinks a { color: inherit; text-decoration: none; }
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.06);
}
.icon-link:hover {
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.10);
}
.icon-link--cart {
  position: relative;
}
.icon-link__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1208;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
  pointer-events: none;
}
.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.messages { list-style: none; padding: 0; margin: 1rem 0; }
.messages li { padding: 0.6rem 0.75rem; margin-bottom: 0.5rem; border-radius: 10px; border: 1px solid var(--border); }
.error { background: #ffe4e4; }
.success { background: #e4ffe8; }
.warning { background: #fff8e4; }

.btn {
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f9fafb;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font: inherit;
  font-weight: 600;
}
.btn:hover { background: #f3f4f6; border-color: rgba(0,0,0,0.10); }
.btn-primary {
  background: var(--primaryDark);
  border-color: var(--primaryDark);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.05); }

/* Kitchen queue / ticket — shared shape; hue differs */
.kitchen-queue-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  align-items: center;
}
.kitchen-queue-actions .btn {
  flex-shrink: 0;
}
.kitchen-queue-actions form {
  margin: 0;
}
.btn-kitchen-neutral {
  background: #eef1f5;
  border-color: #c5cdd8;
  color: #334155;
}
.btn-kitchen-neutral:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}
.btn-kitchen-positive {
  background: #166534;
  border-color: #14532d;
  color: #fff;
}
.btn-kitchen-positive:hover {
  filter: brightness(1.07);
}
.btn-kitchen-danger {
  background: #b91c1c;
  border-color: #991b1b;
  color: #fff;
}
.btn-kitchen-danger:hover {
  filter: brightness(1.07);
}

.hero {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 1.25rem;
  box-shadow: var(--shadow);
}
.hero-bleed {
  margin-left: calc(-1 * var(--content-pad-left));
  margin-right: calc(-1 * var(--content-pad-right));
  width: calc(100% + var(--content-pad-left) + var(--content-pad-right));
}
.hero img {
  width: 100%;
  height: min(260px, 34vh);
  object-fit: cover;
  display: block;
}

/* Minimal utility-ish helpers used in templates (Tailwind-like) */
.bg-white { background: #fff; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-lg { border-radius: 10px; }
.border { border-width: 1px; border-style: solid; }
.border-black\\/5 { border-color: rgba(0,0,0,0.05); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.overflow-hidden { overflow: hidden; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.pt-4 { padding-top: 16px; }
.space-y-2 > * + * { margin-top: 8px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.text-sm { font-size: 0.875rem; }
.text-2xl { font-size: 1.5rem; line-height: 1.2; }
.text-lg { font-size: 1.125rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-slate-900 { color: #0f172a; }
.text-slate-500 { color: #64748b; }
.text-slate-900\\/90 { color: rgba(15,23,42,0.90); }
.leading-relaxed { line-height: 1.6; }
.leading-snug { line-height: 1.35; }
.max-w-prose { max-width: 65ch; }
.transition-all { transition: all 200ms ease; }
.duration-200 { transition-duration: 200ms; }
.cursor-pointer { cursor: pointer; }
.hover\\:shadow-md:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.hover\\:-translate-y-0\\.5:hover { transform: translateY(-2px); }

/* Clamp helper */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem 0 1rem;
}
.section-title { font-size: 1.4rem; font-weight: 800; margin: 0; letter-spacing: -0.2px; }
.section-desc { margin: 0.35rem 0 0; color: var(--muted); font-weight: 300; }

.menu-meta { display: none; }

/* Standard card image heights per section */
.card-img { height: 170px; }
.grid.standby-grid .card-img { height: 150px; }
.grid.sides-grid .card-img { height: 120px; }

/* Make sure grid cards align heights nicely */
.menu-card { display: flex; flex-direction: column; min-height: 100%; }

/* Featured tile: ensure text column can use full width in multi-column layouts */
.featured-tile .grid > * { min-width: 0; }

/* Featured section: stack of large tiles (one per row) */
.featured-section-large {
  grid-template-columns: 1fr;
}

/* Featured grid (mobile-first): stack on small screens, 2-col on desktop */
.featured-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .featured-grid {
    /* Image ~45–50% width, text gets the remainder */
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
  }
  .featured-tile .featured-grid > div:first-child {
    min-height: 320px;
  }
  .featured-tile .featured-grid > div:last-child {
    width: 100%;
    align-self: stretch;
  }
}

/* Standby / default grids (mobile-first): 1 col mobile, desktop matches prior intent */
.grid.standby-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid.standby-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .grid.standby-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Sides grid (mobile-first): 1 col mobile, 5-col desktop */
.grid.sides-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid.sides-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .grid.sides-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Soups grid (mobile-first): 1 col mobile, 2-col desktop */
.grid.soups-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid.soups-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.footer {
  background: var(--primaryDark);
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  padding: 0.8rem 0;
  min-width: 0;
}
.footer-left {
  font-weight: 500;
  min-width: 0;
}
.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
  flex-shrink: 0;
}
.footer-right a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
}
.footer-right a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }

dialog.dish-modal {
  width: min(46rem, 92vw);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
dialog.dish-modal::backdrop { background: rgba(0,0,0,0.35); }

@media print {
  .topbar, .no-print { display: none !important; }
  .container { max-width: none; }
}

/* ---------- Mobile refinements (below md) ---------- */
@media (max-width: 767px) {
  :root {
    --content-pad-left: max(1.125rem, env(safe-area-inset-left, 0px));
    --content-pad-right: max(1.125rem, env(safe-area-inset-right, 0px));
  }

  /* Slightly larger base text for readability */
  body { font-size: 16px; }

  /* Header: keep tappable, not cramped */
  .topbar-inner { min-height: 56px; padding: 0.55rem 0; }
  .brand img { height: 32px; }
  .icon-link { width: 44px; height: 44px; }
  .icon { width: 22px; height: 22px; }

  /* Hero full-bleed uses --content-pad-* from :root override above */
  .hero-bleed {
    margin-bottom: 1.25rem;
  }
  .hero img { height: 200px; }

  /* Sections: more breathing room */
  .section-header { margin-top: 56px; margin-bottom: 18px; }
  .section-title { font-size: 1.65rem; }
  .section-desc { font-size: 0.95rem; }

  /* Grids: always single column on mobile (scoped, so desktop breakpoints still work) */
  .standby-grid,
  .sides-grid,
  .soups-grid,
  .featured-grid {
    grid-template-columns: 1fr !important;
  }
  .gap-5 { gap: 18px; }
  .gap-4 { gap: 16px; }

  /* Cards: more padding, scan-friendly spacing */
  .menu-card { padding: 18px; }
  .card-img { height: 220px; margin-bottom: 16px; }
  .menu-card .text-\\[15px\\] { font-size: 1.05rem; }
  .menu-card .text-sm { font-size: 0.95rem; }
  .menu-card .pt-4 { padding-top: 18px; }

  /* Featured tile: stacked, intentional */
  .featured-tile img {
    height: 220px;
    width: 100%;
    object-fit: cover;
  }
  .featured-tile .p-6,
  .featured-tile .p-8 { padding: 22px; }
  .featured-tile .text-lg { font-size: 1.25rem; }

  /* Footer: stack so links aren’t crushed edge-to-edge */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 0;
    gap: 0.75rem;
  }
  .footer-right {
    justify-content: flex-start;
    gap: 0.85rem 1.35rem;
    width: 100%;
  }
}

/* Staff kitchen queue — each order row is a separated card */
.kitchen-queue-toolbar {
  margin-bottom: 1rem;
}

.kitchen-queue-live-status {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.kitchen-queue-live-status--error {
  color: #b91c1c;
}

.kitchen-queue-live__empty {
  margin: 0;
  padding: 1rem 0;
  color: var(--muted);
  font-weight: 600;
}

.kitchen-summary {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.kitchen-summary-slot,
.kitchen-slot-group {
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  padding: 0.85rem 1rem 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.kitchen-summary-slot--prepare-now,
.kitchen-slot-group--prepare-now {
  border-color: #fbbf24;
  background: #fffbeb;
}

.kitchen-summary-slot--overdue,
.kitchen-slot-group--overdue {
  border-color: #fca5a5;
  background: #fef2f2;
}

.kitchen-slot-group__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.kitchen-slot-group__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  flex: 1 1 12rem;
}

.kitchen-slot-group__header .kitchen-queue-actions {
  flex-shrink: 0;
}

.kitchen-slot-print-ticket--break {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px dashed var(--border);
}

@media print {
  .kitchen-slot-print,
  .topbar,
  .footer,
  .no-print {
    display: none !important;
  }
  .kitchen-slot-print-ticket--break {
    page-break-after: always;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .kitchen-slot-print-ticket--break:last-child {
    page-break-after: auto;
  }
}

.kitchen-summary-slot__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.kitchen-summary-slot__time,
.kitchen-slot-group__time {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primaryDark);
}

.kitchen-summary-slot__remaining,
.kitchen-slot-group__remaining {
  font-weight: 700;
  color: #166534;
}

.kitchen-summary-slot--prepare-now .kitchen-summary-slot__remaining,
.kitchen-slot-group--prepare-now .kitchen-slot-group__remaining {
  color: #b45309;
}

.kitchen-summary-slot--overdue .kitchen-summary-slot__remaining,
.kitchen-slot-group--overdue .kitchen-slot-group__remaining {
  color: #b91c1c;
}

.kitchen-summary-slot__meta,
.kitchen-slot-group__meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.kitchen-summary-slot__orders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.kitchen-summary-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
}

.kitchen-summary-order--multi-qty {
  border-color: #f87171;
  background: #fef2f2;
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.12);
}

.kitchen-summary-order__name {
  font-weight: 700;
}

.kitchen-summary-order__points {
  color: var(--muted);
  font-weight: 600;
}

.kitchen-summary-order--cancel-requested {
  border-color: #dc2626;
  background: #fef2f2;
  box-shadow: inset 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.kitchen-cancel-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fee2e2;
  border: 1px solid #dc2626;
  color: #991b1b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  vertical-align: middle;
}

.kitchen-togo-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #e0f2fe;
  border: 1px solid #0284c7;
  color: #075985;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  vertical-align: middle;
}

.kitchen-summary-order__comment {
  display: block;
  font-size: 0.82rem;
  color: var(--muted, #64748b);
  font-style: italic;
  margin-top: 0.15rem;
}

.kitchen-order-notes--customer {
  border-left: 3px solid #0284c7;
  padding-left: 0.5rem;
}

.kitchen-slot-group {
  margin-bottom: 1.25rem;
}

.kitchen-slot-group .kitchen-queue-table {
  margin-bottom: 0;
}

.kitchen-qty-badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #fee2e2;
  border: 1px solid #f87171;
  color: #991b1b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  vertical-align: middle;
}

.kitchen-qty-badge--large {
  font-size: 0.92rem;
  padding: 0.22rem 0.55rem;
}

.kitchen-queue-row--multi-qty td {
  background: #fff7f7;
  border-color: #fecaca;
}

.kitchen-queue-row--cancel-requested td {
  background: #fef2f2;
  border-color: #fca5a5;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.15);
}

.kitchen-queue-row--cancel-requested.kitchen-queue-row--multi-qty td {
  background: #fee2e2;
  border-color: #f87171;
}

.kitchen-queue-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}
.kitchen-queue-table thead th {
  text-align: left;
  padding: 0 0.65rem 0.5rem;
  vertical-align: bottom;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.kitchen-queue-table tbody tr td {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
  padding: 0.85rem 0.75rem;
  vertical-align: top;
}
.kitchen-queue-table tbody tr td:first-child {
  border-left: 1px solid var(--border);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.kitchen-queue-table tbody tr td:last-child {
  border-right: 1px solid var(--border);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.kitchen-queue-table thead th:last-child,
.kitchen-queue-table tbody tr td.kitchen-queue-actions-cell {
  /* Fits Print + Complete + Cancel on one row; wide enough for Approve/Decline cancel */
  min-width: 22rem;
  white-space: nowrap;
}

/* Staff kitchen queue — order detail column */
.kitchen-order-detail {
  max-width: 32rem;
  vertical-align: top;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.kitchen-line {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.kitchen-line--multi-qty {
  border: 2px solid #f87171;
  background: #fef2f2;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.15);
}

.kitchen-line__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.kitchen-line__name {
  margin-right: 0.15rem;
}

.kitchen-line__meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.kitchen-line__qty-not-one {
  color: #b91c1c;
  font-weight: 800;
}
.kitchen-options {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}
.kitchen-options li {
  margin: 0.15rem 0;
}
.kitchen-order-notes {
  margin-top: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-size: 0.92rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* Checkout order table */
.checkout-order-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.checkout-order-table thead th {
  text-align: left;
  padding: 0.5rem 0.65rem;
  border-bottom: 2px solid var(--border);
  font-weight: 700;
  vertical-align: bottom;
}

.checkout-order-table tbody td {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.checkout-order-table__col-dish { width: 28%; }
.checkout-order-table__col-options { width: 24%; }
.checkout-order-table__col-qty { width: 24%; }
.checkout-order-table__col-cost { width: 10%; }
.checkout-order-table__col-actions { width: 14%; }

.checkout-order-table__dish {
  font-weight: 600;
  word-break: break-word;
}

.checkout-order-table__options {
  color: var(--muted);
  word-break: break-word;
}

.checkout-order-table__cost {
  white-space: nowrap;
  font-weight: 600;
}

.checkout-qty-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.checkout-qty-input {
  width: 4.25rem;
  min-width: 0;
}

.checkout-order-table__actions form {
  margin: 0;
}

.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.875rem;
}

.checkout-pickup-debug,
.checkout-pickup-unavailable {
  color: var(--muted);
  font-size: 0.92rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .checkout-order-table__col-options { width: 22%; }
  .checkout-order-table__col-qty { width: 28%; }
}

/* Order thank-you page (matches confirmation email) */
.order-thanks {
  max-width: 40rem;
}

.order-thanks__header {
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--primaryDark);
  color: #fff;
  box-shadow: var(--shadow);
}

.order-thanks__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.order-thanks__header h1 {
  margin: 0.35rem 0 0;
  font-size: 1.75rem;
}

.order-thanks__lead {
  margin: 0.5rem 0 0;
  opacity: 0.95;
}

.order-thanks__pickup {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #f8fafc;
}

.order-thanks__label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primaryDark);
}

.order-thanks__pickup-time {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.order-thanks__hint {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.order-thanks__section-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--primaryDark);
}

.order-thanks__table {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.order-thanks__total {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  text-align: right;
}

.order-thanks__total strong {
  color: var(--primaryDark);
}

.order-thanks__email-note {
  margin: 0;
  color: var(--muted);
}

/* Staff home */
.staff-home {
  max-width: 56rem;
}

.staff-home__lead {
  margin: 0.35rem 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.staff-home-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.staff-home-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem 1.1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.staff-home-section--solo {
  padding: 0.85rem 1.15rem;
}

.staff-home-section--highlight {
  border-color: rgba(194, 65, 12, 0.35);
  background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
}

.staff-home-section__title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.staff-home-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.staff-home-links--grid {
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}

.staff-home-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fafafa;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.staff-home-link:hover {
  background: #fff;
  border-color: rgba(194, 65, 12, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.staff-home-link__label {
  font-weight: 700;
  font-size: 0.98rem;
}

.staff-home-link__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}

.staff-home-link--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.staff-home-link--primary:hover {
  filter: brightness(1.05);
  border-color: var(--accent);
  color: #fff;
}

.staff-home-link--primary .staff-home-link__desc {
  color: rgba(255, 255, 255, 0.88);
}

.staff-home-row {
  display: grid;
  gap: 1.25rem;
}

/* Global lunch help modal */
dialog.lunch-help-modal {
  width: min(44rem, 92vw);
  border: none;
  padding: 0;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadowHover);
}

.lunch-help-modal__inner {
  padding: 1rem 1.1rem 0.9rem;
}

.lunch-help-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.lunch-help-modal__close {
  cursor: pointer;
  border: 1px solid var(--border);
  background: #f9fafb;
  border-radius: 10px;
  padding: 0.15rem 0.6rem;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--muted);
}

.lunch-help-modal__close:hover {
  background: #f3f4f6;
  color: var(--text);
}

.lunch-help-modal__body p {
  margin: 0.55rem 0;
}

.lunch-help-modal__divider {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0.75rem 0;
}

@media (min-width: 640px) {
  .staff-home-row--pair {
    grid-template-columns: 1fr 1fr;
  }
}

