:root {
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --surface-soft: #FAF9F6;
  --text: #111113;
  --muted: #6E6E77;
  --border: #ECE9E2;
  --accent: #eb5b00;
  --accent-hover: #cf4f00;
  --accent-soft: #FFF1E7;
  --accent-ink: #FFFFFF;
  --dark: #111113;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --warn: #D97706;
  --warn-soft: #FFF4E5;
  --ok: #15803D;
  --ok-soft: #ECFDF3;
  --r: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --shadow: 0 2px 12px rgba(17, 17, 19, 0.04);
  --shadow-lg: 0 12px 32px rgba(17, 17, 19, 0.10);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14.5px;
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
.boot { padding: var(--s4); color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button, input, select, textarea { font: inherit; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn:hover:not(:disabled) { border-color: #D6D1C7; background: var(--surface-soft); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.soft { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.btn.soft:hover:not(:disabled) { background: #FFE4D3; }
.btn.dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn.danger { color: var(--danger); border-color: #FECACA; background: var(--danger-soft); }
.btn:disabled { opacity: 0.48; cursor: not-allowed; }

/* Inputs */
label { display: block; font-weight: 600; font-size: 0.85rem; margin: 12px 0 4px; color: var(--text); }
input, select, textarea {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--text);
  font-size: 0.9rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
.field-error { color: var(--danger); font-size: 0.8rem; margin-top: 3px; }

/* Alerts */
.alert { padding: 10px 14px; border-radius: 10px; margin: 12px 0; border: 1px solid; font-weight: 500; font-size: 0.88rem; }
.alert.error { color: var(--danger); border-color: #FECACA; background: var(--danger-soft); }
.alert.success { color: var(--ok); border-color: #BBF7D0; background: var(--ok-soft); }

/* Login Screen */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at top right, #FFF1E8 0%, #F7F6F2 55%); }
.login { width: 100%; max-width: 400px; background: var(--surface); padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.login-brand h1 { font-size: 1.45rem; font-weight: 800; margin: 0; letter-spacing: -0.02em; }

/* Reztro App Shell */
.shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
.side {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 10px 20px; text-decoration: none; color: var(--text); }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px; background: #FFFFFF;
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  padding: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(17, 17, 19, 0.06);
}
.brand-logo img, .brand-logo-img { width: 24px; height: 24px; max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.brand-name span { color: var(--accent); }

.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-sec-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 12px 12px 4px; }
.side a.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #52525B;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}
.side a.nav-link svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.8; }
.side a.nav-link:hover { background: var(--surface-soft); color: var(--text); }
.side a.nav-link[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.side a.nav-link[aria-current="page"] svg { opacity: 1; color: var(--accent); }
.side a.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 7px;
  bottom: 7px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
}
.nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--r-pill);
}

.side-promo {
  margin-top: 20px;
  background: linear-gradient(145deg, #FFF5EC 0%, #FFE8D6 100%);
  border: 1px solid #FFD8BC;
  border-radius: var(--r-lg);
  padding: 16px;
  text-align: left;
}
.side-promo-art {
  width: 40px; height: 40px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
  padding: 7px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(235, 91, 0, 0.12);
}
.side-promo-art img { width: 24px; height: 24px; max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.side-promo p { margin: 0 0 12px; font-size: 0.8rem; line-height: 1.4; color: #52525B; font-weight: 500; }

/* Main area & Top Header */
.main { padding: 20px 28px 36px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  padding: 14px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.top-title h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.breadcrumb { font-size: 0.78rem; color: var(--muted); margin-top: 2px; font-weight: 500; }
.breadcrumb span { color: var(--accent); }
.top-right { display: flex; align-items: center; gap: 14px; }
.top-search {
  position: relative;
  width: 260px;
}
.top-search input {
  padding-left: 34px;
  background: var(--bg);
  border-color: transparent;
  border-radius: var(--r-pill);
  min-height: 36px;
  font-size: 0.85rem;
}
.top-search input:focus { background: #fff; border-color: var(--accent); }
.top-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); pointer-events: none; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); display: inline-flex; align-items: center; justify-content: center;
  color: #52525B; cursor: pointer;
}
.icon-btn:hover { background: var(--surface-soft); color: var(--accent); }

.user-pill { display: flex; align-items: center; gap: 10px; padding-left: 10px; border-left: 1px solid var(--border); }
.user-meta { text-align: right; line-height: 1.2; }
.user-meta strong { display: block; font-size: 0.86rem; font-weight: 700; }
.user-meta small { font-size: 0.75rem; color: var(--muted); }
.user-avatar {
  width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff;
  font-weight: 800; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center;
}

/* Cards & Tables */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
th {
  text-align: left;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 0.88rem;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #FDFCFA; }

/* Pills & Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid transparent;
  background: #F4F4F5;
  color: #3F3F46;
}
.badge.orange, .badge.on-process, .badge.preparing, .badge.sent_to_kitchen, .badge.placed, .badge.low {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #FFD8BC;
}
.badge.green, .badge.completed, .badge.paid, .badge.ready, .badge.served, .badge.available, .badge.received {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: #BBF7D0;
}
.badge.gray, .badge.cancelled, .badge.out_of_stock {
  background: #F3F4F6;
  color: #4B5563;
  border-color: #E5E7EB;
}
.badge.dark {
  background: var(--dark);
  color: #fff;
}

.pill-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--surface);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.pill-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 15px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pill-tab:hover { color: var(--text); }
.pill-tab.active { background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 2px 6px rgba(243, 104, 33, 0.25); }

.sub { font-size: 0.8rem; color: var(--muted); }
.empty { color: var(--muted); padding: 36px; text-align: center; font-weight: 500; }

/* Reztro Menu Grid Layout (Image 2 Top-Left) */
.reztro-menu-layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.filter-panel h4 { margin: 0 0 12px; font-size: 0.95rem; font-weight: 800; }
.filter-group { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.filter-group-title { font-size: 0.82rem; font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; }
.filter-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.filter-check { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 500; color: #52525B; margin: 0; cursor: pointer; }
.filter-check input { width: 15px; height: 15px; min-height: 0; accent-color: var(--accent); margin: 0; }

.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.dish-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dish-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dish-img-wrap {
  position: relative;
  height: 156px;
  background: #F4EFEA;
  overflow: hidden;
}
.dish-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dish-tags {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}
.dish-tag {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.dish-tag.promo { background: var(--accent); color: #fff; }
.dish-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dish-title { font-weight: 800; font-size: 0.98rem; margin: 0; color: var(--text); }
.dish-cat { font-size: 0.78rem; font-weight: 600; color: var(--accent); }
.dish-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.dish-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 700; color: #F59E0B; }
.dish-rating span { color: var(--text); }
.dish-price { font-weight: 800; font-size: 1.05rem; color: var(--accent); }

/* Reztro Orders Card Grid & Detail Drawer (Image 1 & Image 2 Bottom-Left) */
.orders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 16px; }
.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-card-top { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--muted); }
.order-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.order-card-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.order-card-items {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 120px;
}
.order-mini-item { display: flex; align-items: center; gap: 10px; }
.order-mini-thumb {
  width: 42px; height: 42px; border-radius: 10px; object-fit: cover; background: #F4EFEA; flex-shrink: 0;
}
.order-mini-info { flex: 1; min-width: 0; }
.order-mini-info strong { display: block; font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-mini-price { font-weight: 700; font-size: 0.86rem; }
.order-card-total { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.order-card-total strong { font-size: 1.08rem; color: var(--accent); }
.order-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Slide-over Order Details Panel (Image 1 Middle) */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(24, 24, 27, 0.35); z-index: 90;
  display: flex; justify-content: flex-end;
}
.drawer {
  width: 420px; max-width: 94vw; height: 100vh; background: var(--surface);
  padding: 24px; overflow-y: auto; box-shadow: -8px 0 32px rgba(0,0,0,0.12);
  display: flex; flex-direction: column; gap: 18px;
}
.tracking-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tracking-step { display: flex; align-items: flex-start; gap: 12px; font-size: 0.84rem; }
.tracking-dot {
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.75rem; flex-shrink: 0;
}
.tracking-step.done .tracking-dot { background: var(--accent); color: #fff; }

/* Inventory & Purchase Orders (Image 1 & 2 Right) */
.inv-top-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.stock-bars { display: flex; gap: 4px; height: 42px; align-items: flex-end; margin: 14px 0; }
.stock-bar { flex: 1; border-radius: 3px; height: 100%; }
.progress-track { width: 110px; height: 7px; background: #EFECE6; border-radius: 99px; overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 8px; }
.progress-fill { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.progress-fill.low { background: var(--warn); }
.progress-fill.out { background: #D4D4D8; }

/* POS Screen */
.pos { display: flex; flex-direction: column; gap: var(--s3); }
.pos-top { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between; background: var(--surface); padding: 12px 18px; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.pos-body { display: grid; grid-template-columns: 170px 1fr 380px; gap: 18px; align-items: start; }
.pos-cats { display: flex; flex-direction: column; gap: 6px; background: var(--surface); padding: 12px; border-radius: var(--r-lg); border: 1px solid var(--border); }
.pos-cats .btn { justify-content: flex-start; width: 100%; border-color: transparent; }
.pos-grid-wrap { display: flex; flex-direction: column; gap: 12px; }
.pos-grid, .tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  min-height: 110px; padding: 12px; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); cursor: pointer; text-align: left; gap: 6px; box-shadow: var(--shadow);
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.tile:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-2px); }
.tile-img { width: 100%; height: 84px; object-fit: cover; border-radius: 10px; background: #F4EFEA; margin-bottom: 4px; }
.tile span { font-weight: 700; font-size: 0.9rem; }
.tile small { color: var(--accent); font-weight: 800; font-size: 0.9rem; }
.tile em { font-size: 0.75rem; color: var(--danger); font-style: normal; font-weight: 600; }
.tile:disabled { opacity: 0.45; cursor: not-allowed; }
.pos-cart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.line { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.line.void { opacity: 0.5; text-decoration: line-through; }
.lnote { min-height: 32px; margin-top: 4px; font-size: 0.82rem; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty .btn { min-width: 32px; min-height: 32px; padding: 0 6px; }
.tot { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 8px 0; padding-top: 10px; border-top: 1px solid var(--border); }
.tot dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.tot .grand { font-weight: 800; font-size: 1.12rem; color: var(--accent); }
.pos-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Dialogs */
dialog { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; max-width: 540px; width: 92vw; box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(24, 24, 27, 0.45); }
.mg { border: 1px solid var(--border); border-radius: 12px; margin: 10px 0; padding: 12px; }
.opt { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 6px 0; }
.opt input { width: auto; min-height: 0; accent-color: var(--accent); }

/* KDS */
.kds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.kds-card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.kds-card.kds-warn { border-color: #D97706; background: #FFFBEB; }
.kds-card.kds-crit { border-color: var(--danger); background: #FEF2F2; }
.kds-card.kds-st-ready { border-color: var(--ok); }
.kds-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.kds-timer { font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 4px; color: var(--accent); }
.kds-amend { background: #FEF3C7; border-color: #D97706; color: #92400E; font-weight: 700; }
.kds-note { background: #FFF1E8; border-left: 4px solid var(--accent); padding: 6px 10px; font-weight: 600; font-size: 0.84rem; border-radius: 6px; margin-top: 4px; }
.kds-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kds-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.kds-item.void { opacity: 0.55; text-decoration: line-through; }
.kds-item-actions { display: flex; gap: 4px; }
.kds-foot { display: flex; gap: 8px; padding-top: 4px; }

/* Dashboard KPIs & Cuisine Hero Banner */
.cuisine-welcome { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.cuisine-welcome h2 { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.cuisine-welcome h2 span { background: linear-gradient(90deg, #eb5b00, #ff7a26); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.cuisine-hero {
  position: relative;
  background: linear-gradient(105deg, #111113 0%, #26160c 42%, #eb5b00 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 12px 28px rgba(235, 91, 0, 0.24);
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}
.cuisine-hero::after {
  content: "";
  position: absolute;
  right: 120px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.cuisine-hero-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; opacity: 0.95; }
.cuisine-hero-icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.cuisine-hero-val { font-size: 2.35rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 12px; display: flex; align-items: center; gap: 12px; }
.cuisine-hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #FFFFFF; color: #16A34A; font-size: 0.78rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill);
}
.cuisine-pixel-bars {
  display: grid;
  grid-template-columns: repeat(6, 12px);
  gap: 4px;
  align-items: end;
  opacity: 0.85;
}
.cuisine-pixel-col { display: flex; flex-direction: column; gap: 4px; }
.cuisine-pixel { width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }

.cuisine-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.cuisine-stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.cuisine-stat-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.88rem; }
.cuisine-stat-badge-icon {
  width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
.cuisine-stat-num { font-size: 1.65rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.trend-pill { font-size: 0.73rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); }
.trend-pill.up { background: #DCFCE7; color: #15803D; }
.trend-pill.down { background: #FFE4E6; color: #E11D48; }

.cuisine-inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 12px; }
.cuisine-inv-box {
  background: var(--surface-soft); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.cuisine-inv-box strong { font-size: 1.35rem; font-weight: 800; }

.top-bar-row { display: grid; grid-template-columns: 22px 1.2fr 1.6fr 68px; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.85rem; }
.top-bar-track { background: #F4F4F5; border-radius: 99px; height: 22px; overflow: hidden; position: relative; display: flex; align-items: center; }
.top-bar-fill { height: 100%; border-radius: 99px; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; color: #fff; font-size: 0.73rem; font-weight: 700; min-width: 58px; }

.badge.blue { background: #E0F2FE; color: #0284C7; border-color: #BAE6FD; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.kpi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.kpi-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.kpi-val { font-size: 1.55rem; font-weight: 800; margin-top: 6px; letter-spacing: -0.02em; }
.kpi-val.accent { color: var(--accent); }

/* Thermal Receipt */
.receipt-paper { width: var(--rcp-width, 80mm); max-width: 100%; margin: 0 auto; font-family: "Courier New", Courier, monospace; font-size: 12px; line-height: 1.35; color: #000; background: #fff; padding: 10px; border: 1px dashed var(--border); }
.rcp-center { text-align: center; }
.rcp-reprint { font-weight: 700; margin-top: 4px; }
.rcp-table { width: 100%; border: 0; font-size: 12px; box-shadow: none; }
.rcp-table th, .rcp-table td { padding: 3px 0; border: 0; background: transparent; }
.rcp-sub { font-size: 11px; color: #333; }
.rcp-row { display: flex; justify-content: space-between; margin: 2px 0; }
.rcp-grand { font-weight: 700; font-size: 14px; margin-top: 4px; border-top: 1px solid #000; padding-top: 4px; }
@media print {
  body * { visibility: hidden; }
  dialog, #printable-receipt, #printable-receipt * { visibility: visible; }
  dialog { position: fixed; inset: 0; border: 0; padding: 0; margin: 0; width: auto; max-width: none; box-shadow: none; }
  .no-print { display: none !important; }
  .receipt-paper { border: 0; margin: 0; padding: 0; }
}
@media (max-width: 1100px) { .pos-body, .reztro-menu-layout, .inv-top-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .shell { grid-template-columns: 1fr; } .side { height: auto; position: static; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
