/* shadcn-inspired design system — fnb-resto (terracotta, spacious, soft) */
:root {
  --background: 0 0% 100%;
  --foreground: 18 22% 14%;
  --card: 0 0% 100%;
  --card-foreground: 18 22% 14%;
  --popover: 0 0% 100%;
  --popover-foreground: 18 22% 14%;
  --primary: 18 72% 52%;
  --primary-foreground: 18 30% 98%;
  --secondary: 24 30% 96%;
  --secondary-foreground: 18 22% 18%;
  --muted: 24 24% 95%;
  --muted-foreground: 18 12% 44%;
  --accent: 24 36% 94%;
  --accent-foreground: 18 22% 18%;
  --destructive: 0 70% 50%;
  --destructive-foreground: 0 0% 98%;
  --success: 152 55% 38%;
  --success-foreground: 0 0% 98%;
  --warning: 32 92% 48%;
  --warning-foreground: 30 15% 12%;
  --border: 24 24% 88%;
  --input: 24 24% 88%;
  --ring: 18 72% 52%;
  --radius: 1rem;              /* 16px round — signature */

  --row-height: 44px;          /* spacious baseline */
  --card-padding: 22px;

  /* Accent (overridable via tweaks) */
  --accent-h: 18;
  --accent-s: 72%;
  --accent-l: 52%;

  /* Soft shadows — signature */
  --shadow-sm: 0 1px 3px hsl(18 30% 18% / 0.04), 0 1px 2px hsl(18 30% 18% / 0.06);
  --shadow:    0 4px 16px hsl(18 30% 18% / 0.06), 0 2px 4px hsl(18 30% 18% / 0.04);
  --shadow-lg: 0 12px 36px hsl(18 30% 18% / 0.10), 0 4px 12px hsl(18 30% 18% / 0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--foreground));
  background: hsl(28 30% 98%);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

/* Serif for major headings — signature */
h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-feature-settings: 'ss01', 'ss02';
  letter-spacing: -0.015em;
}

button { font-family: inherit; font-size: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.tabular, .tnum { font-variant-numeric: tabular-nums; }

/* App shell */
.app {
  display: grid;
  grid-template-columns: 252px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  background: hsl(24 32% 99%);
  border-right: 1px solid hsl(var(--border));
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px 18px;
}
.sidebar-brand-text { min-width: 0; flex: 1; overflow: hidden; }
.sidebar-brand-mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    hsl(var(--accent-h) var(--accent-s) var(--accent-l)),
    hsl(calc(var(--accent-h) + 14) var(--accent-s) calc(var(--accent-l) - 8%)));
  color: white;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.sidebar-brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.2;
}
.sidebar-brand-sub {
  font-size: 11.5px;
  color: hsl(var(--muted-foreground));
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-section {
  font-size: 11px; font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 10px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: hsl(var(--foreground));
  font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  border: none; background: transparent;
  width: 100%; text-align: left;
  transition: background 120ms ease, color 120ms ease;
}
.nav-item:hover { background: hsl(var(--accent)); }
.nav-item.active {
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.10);
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 12%));
}
.nav-item .icon { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.nav-item.active .icon { opacity: 1; }
.nav-item-tail {
  margin-left: auto; font-size: 11px;
  color: hsl(var(--muted-foreground));
  font-variant-numeric: tabular-nums;
  background: hsl(var(--muted));
  padding: 2px 7px; border-radius: 999px;
}
.nav-item.active .nav-item-tail {
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.18);
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 14%));
}

.sidebar-user {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid hsl(var(--border));
  display: flex; align-items: center; gap: 12px;
}
.sidebar-user-text { min-width: 0; flex: 1; }
.sidebar-user-name {
  font-size: 13.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-user-role {
  font-size: 11.5px;
  color: hsl(var(--muted-foreground));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Main */
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 32px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(0 0% 100% / 0.75);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 10;
}
.topbar-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.01em;
}
.topbar-crumb { color: hsl(var(--muted-foreground)); font-size: 13px; }
.topbar-spacer { flex: 1; }

.content { padding: 32px; max-width: 1480px; width: 100%; }
.content h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.content .lede {
  color: hsl(var(--muted-foreground));
  margin: 0 0 28px;
  font-size: 14.5px;
  line-height: 1.55;
}

/* Card — soft shadow signature */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.card.hover-lift:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.card-header {
  padding: 22px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em; margin: 0;
}
.card-desc { font-size: 13px; color: hsl(var(--muted-foreground)); margin: 3px 0 0; }
.card-body { padding: 0 24px 24px; }
.card-body.flush { padding: 0; }
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid hsl(var(--border));
  display: flex; align-items: center; gap: 12px;
}

/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 0 18px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  color: white;
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: background 120ms ease, transform 80ms ease, box-shadow 120ms ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 6%)); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn.secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-color: hsl(var(--border));
  box-shadow: none;
}
.btn.secondary:hover { background: hsl(var(--accent)); }
.btn.outline {
  background: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
  box-shadow: none;
}
.btn.outline:hover { background: hsl(var(--accent)); }
.btn.ghost { background: transparent; color: hsl(var(--foreground)); box-shadow: none; }
.btn.ghost:hover { background: hsl(var(--accent)); }
.btn.destructive {
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}
.btn.destructive:hover { background: hsl(0 72% 46%); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn .icon { width: 16px; height: 16px; }

/* Input */
.input, .select, .textarea {
  display: inline-flex; width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid hsl(var(--input));
  border-radius: 10px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 14px;
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.textarea { padding: 10px 14px; height: auto; min-height: 80px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  box-shadow: 0 0 0 3px hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.18);
}
.input::placeholder { color: hsl(var(--muted-foreground)); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 500; color: hsl(var(--foreground)); }
.field-help { font-size: 12px; color: hsl(var(--muted-foreground)); }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge.neutral { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); border-color: hsl(var(--border)); }
.badge.success { background: hsl(152 50% 94%); color: hsl(152 60% 26%); border-color: hsl(152 35% 80%); }
.badge.warn,
.badge.warning { background: hsl(38 95% 94%); color: hsl(28 80% 32%); border-color: hsl(38 80% 80%); }
.badge.danger,
.badge.destructive { background: hsl(0 80% 96%); color: hsl(0 72% 38%); border-color: hsl(0 60% 86%); }
.badge.accent { background: hsl(var(--accent-h) var(--accent-s) 95%); color: hsl(var(--accent-h) var(--accent-s) 30%); border-color: hsl(var(--accent-h) var(--accent-s) 85%); }
.badge.dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; display: inline-block; margin-right: 2px; opacity: 0.85;
}

/* Table */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th {
  text-align: left; font-weight: 500;
  font-size: 12.5px;
  color: hsl(var(--muted-foreground));
  padding: 12px 18px;
  background: hsl(28 30% 98%);
  border-bottom: 1px solid hsl(var(--border));
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table td {
  padding: 14px 18px;
  border-bottom: 1px solid hsl(var(--border));
  vertical-align: middle;
  height: var(--row-height);
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 80ms; }
.table tbody tr:hover { background: hsl(var(--accent) / 0.5); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; }
.table .code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; color: hsl(var(--muted-foreground)); }

/* Tabs */
.tabs {
  display: inline-flex;
  padding: 4px;
  background: hsl(var(--muted));
  border-radius: 10px;
  gap: 2px;
}
.tab {
  padding: 7px 16px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 13.5px;
  font-weight: 500;
  transition: background 120ms, color 120ms;
}
.tab.active {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-sm);
}
.tab:hover:not(.active) { color: hsl(var(--foreground)); }

/* Stat / KPI */
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat {
  padding: 22px 24px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 160ms, transform 160ms;
}
.stat:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.stat-label {
  font-size: 11.5px;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.stat-sub { font-size: 12.5px; color: hsl(var(--muted-foreground)); margin-top: 6px; }
.stat-delta { font-size: 12px; color: hsl(var(--muted-foreground)); margin-top: 6px; font-weight: 500; }
.stat-delta.up { color: hsl(var(--success)); }
.stat-delta.down { color: hsl(var(--destructive)); }

/* Avatar */
.avatar {
  width: 34px; height: 34px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
  color: white;
  flex-shrink: 0;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
}
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 44px; height: 44px; font-size: 14.5px; }

/* Dialog */
.dialog-backdrop {
  position: fixed; inset: 0;
  background: hsl(18 30% 18% / 0.4);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
  animation: fade-in 150ms ease;
}
.dialog {
  background: hsl(var(--card));
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
  width: 100%; max-width: 580px;
  max-height: 90vh; overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: pop-in 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dialog-header { padding: 24px 26px 14px; }
.dialog-title { font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 4px; }
.dialog-desc { font-size: 13.5px; color: hsl(var(--muted-foreground)); margin: 0; }
.dialog-body { padding: 8px 26px 20px; }
.dialog-footer {
  padding: 18px 26px;
  border-top: 1px solid hsl(var(--border));
  display: flex; justify-content: flex-end;
  gap: 10px;
  background: hsl(28 30% 98%);
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Toast */
.toast-stack {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: hsl(18 30% 14%);
  color: white;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toast-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast.success { background: hsl(152 60% 26%); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Layout helpers */
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.between { justify-content: space-between; }
.gap-1 { gap: 6px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.muted { color: hsl(var(--muted-foreground)); }
.text-sm { font-size: 12.5px; } .text-lg { font-size: 16px; }
.flex-1 { flex: 1; }
.right { text-align: right; }

/* Progress bar */
.progress {
  width: 100%; height: 8px;
  background: hsl(var(--muted));
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  border-radius: 999px;
  transition: width 240ms ease;
}
.progress-bar.success { background: hsl(var(--success)); }
.progress-bar.warning { background: hsl(var(--warning)); }
.progress-bar.destructive { background: hsl(var(--destructive)); }

/* Density variants */
.density-compact { --row-height: 36px; --card-padding: 16px; }
.density-compact .table td { padding: 9px 14px; font-size: 13px; }
.density-compact .table th { padding: 9px 14px; }
.density-compact .card-header { padding: 16px 18px 12px; }
.density-compact .card-body { padding: 0 18px 18px; }
.density-compact .stat { padding: 16px 18px; }
.density-compact .nav-item { padding: 8px 10px; font-size: 13.5px; }

.density-spacious { --row-height: 56px; --card-padding: 28px; }
.density-spacious .table td { padding: 18px 24px; }
.density-spacious .table th { padding: 14px 24px; }
.density-spacious .card-header { padding: 26px 28px 18px; }
.density-spacious .card-body { padding: 0 28px 28px; }
.density-spacious .stat { padding: 26px 28px; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: hsl(28 14% 82%); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: hsl(28 14% 65%); border: 2px solid transparent; background-clip: content-box; }

/* Period selector */
.period-selector {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px 4px 14px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: hsl(var(--foreground));
  cursor: pointer;
  height: 36px;
}
.period-selector:hover { background: hsl(var(--accent)); }
.period-selector .icon { color: hsl(var(--muted-foreground)); width: 14px; height: 14px; }

/* Status pill (alias) */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 500;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: 1px solid hsl(var(--border));
}

/* Empty / placeholder */
.empty {
  padding: 48px 24px;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

/* Hairline divider */
.hairline { height: 1px; background: hsl(var(--border)); margin: 14px 0; }

/* Layout grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.stack-6 { display: flex; flex-direction: column; gap: 22px; }

/* ── F&B-specific ─────────────────────────────────────────────────────── */

/* Order/kasir layout: left = menu picker, right = cart */
.order-shell {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 18px;
  min-height: calc(100vh - 160px);
}
@media (max-width: 1100px) {
  .order-shell { grid-template-columns: 1fr; }
}

.menu-search {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.menu-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 14.5px; color: hsl(var(--foreground));
}

.menu-cat-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.menu-cat-tab {
  padding: 8px 16px; border-radius: 999px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 120ms ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.menu-cat-tab:hover { border-color: hsl(var(--accent-h) var(--accent-s) 65%); }
.menu-cat-tab.active {
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  color: white; border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* Menu tile — soft, food-friendly cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.menu-tile {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: all 160ms ease;
  text-align: left;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.menu-tile:hover {
  border-color: hsl(var(--accent-h) var(--accent-s) 65%);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.menu-tile-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, hsl(28 30% 95%), hsl(24 36% 92%));
  border-radius: 10px;
  margin-bottom: 10px;
  display: grid; place-items: center;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px; font-weight: 600;
  color: hsl(var(--accent-h) var(--accent-s) 50%);
  position: relative;
}
.menu-tile-thumb .icon { width: 28px; height: 28px; opacity: 0.55; }
.menu-tile-name {
  font-size: 13.5px; font-weight: 500; line-height: 1.35;
  min-height: 36px;
}
.menu-tile-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px; font-weight: 600;
  margin-top: 6px;
  letter-spacing: -0.01em;
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%));
  font-variant-numeric: tabular-nums;
}
.menu-tile-tag {
  position: absolute; top: 16px; right: 16px;
  font-size: 10px; font-weight: 600;
  padding: 3px 7px; border-radius: 999px;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  color: white;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.menu-tile-tag.signature { background: hsl(38 80% 48%); }

/* Cart panel */
.cart-panel {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky; top: 96px;
  max-height: calc(100vh - 116px);
}
.cart-header {
  padding: 16px 20px;
  border-bottom: 1px solid hsl(var(--border));
  display: flex; justify-content: space-between; align-items: center;
  background: hsl(28 30% 98%);
}
.cart-header-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px; font-weight: 600;
}
.cart-items { flex: 1; overflow-y: auto; padding: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  padding: 12px;
  border-radius: 10px;
  transition: background 80ms;
}
.cart-item:hover { background: hsl(var(--accent) / 0.4); }
.cart-item-name { font-size: 13.5px; font-weight: 500; }
.cart-item-price {
  font-size: 13.5px; font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: 'Fraunces', Georgia, serif;
}
.cart-item-qty {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: hsl(var(--muted-foreground));
}
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  border-radius: 7px;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 14px; line-height: 1;
  transition: all 100ms;
}
.qty-btn:hover { background: hsl(var(--accent)); border-color: hsl(var(--accent-h) var(--accent-s) 65%); }
.cart-item-note {
  grid-column: 1 / -1;
  font-size: 11.5px; font-style: italic;
  color: hsl(var(--muted-foreground));
  padding-top: 2px;
}

.cart-summary {
  border-top: 1px solid hsl(var(--border));
  padding: 14px 20px;
  display: flex; flex-direction: column; gap: 7px;
  background: hsl(28 30% 98%);
}
.cart-row { display: flex; justify-content: space-between; font-size: 13.5px; }
.cart-row.total {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px; font-weight: 700;
  padding-top: 10px; margin-top: 4px;
  border-top: 1px dashed hsl(var(--border));
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 10%));
  letter-spacing: -0.015em;
}
.cart-actions {
  padding: 14px 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  border-top: 1px solid hsl(var(--border));
}

/* Tender (payment method picker) */
.tender-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.tender {
  padding: 16px 14px;
  border: 1.5px solid hsl(var(--border));
  border-radius: 12px;
  background: hsl(var(--card));
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: all 140ms;
}
.tender:hover { border-color: hsl(var(--accent-h) var(--accent-s) 65%); transform: translateY(-1px); }
.tender.active {
  border-color: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  background: hsl(var(--accent-h) var(--accent-s) 96%);
  box-shadow: var(--shadow-sm);
}
.tender-label { font-size: 13px; font-weight: 600; }

/* Receipt */
.receipt {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  background: hsl(38 30% 97%);
  padding: 18px;
  border: 1px dashed hsl(var(--border));
  border-radius: 10px;
  white-space: pre-wrap;
  line-height: 1.6;
  color: hsl(var(--foreground));
}

/* ── KDS (Kitchen Display) ──────────────────────────────────────────── */

.kds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.kds-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 160ms ease;
}
.kds-card.urgent {
  border-color: hsl(0 70% 65%);
  background: hsl(0 80% 99%);
  box-shadow: 0 0 0 3px hsl(0 70% 50% / 0.10), var(--shadow-sm);
}
.kds-card.ready {
  border-color: hsl(152 50% 55%);
  background: hsl(152 50% 99%);
}

.kds-card-header {
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: hsl(28 30% 98%);
  border-bottom: 1px solid hsl(var(--border));
}
.kds-card.urgent .kds-card-header { background: hsl(0 80% 96%); }
.kds-card.ready .kds-card-header { background: hsl(152 50% 95%); }

.kds-card-table {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em;
}
.kds-card-elapsed {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px; font-weight: 600;
  color: hsl(var(--muted-foreground));
  font-variant-numeric: tabular-nums;
}
.kds-card.urgent .kds-card-elapsed { color: hsl(0 70% 42%); }

.kds-card-meta {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin-top: 2px;
}

.kds-items,
.kds-card-items { padding: 10px 14px; flex: 1; }
.kds-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed hsl(var(--border));
  gap: 10px;
}
.kds-item:last-child { border-bottom: none; }
.kds-item-name {
  font-size: 14px; font-weight: 500;
  flex: 1; min-width: 0;
}
.kds-item-name .qty {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px; font-weight: 700;
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%));
  margin-right: 6px;
}
.kds-item-status { flex-shrink: 0; }
.kds-item-qty {
  flex-shrink: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px; font-weight: 700;
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%));
  font-variant-numeric: tabular-nums;
}
.kds-item-meta {
  display: block;
  font-size: 11.5px;
  color: hsl(var(--muted-foreground));
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.kds-item-actions { flex-shrink: 0; display: flex; gap: 6px; }
.kds-item-note {
  display: block;
  font-size: 11.5px; font-style: italic;
  color: hsl(var(--muted-foreground));
  margin-top: 2px;
}

.kds-card-footer {
  padding: 10px 14px;
  border-top: 1px solid hsl(var(--border));
  display: flex; gap: 8px;
}

/* ── Floor plan (table layout) ─────────────────────────────────────── */

.floor-plan {
  background:
    linear-gradient(hsl(28 24% 95%), hsl(28 24% 95%)) padding-box,
    repeating-linear-gradient(45deg, transparent 0 6px, hsl(28 30% 92%) 6px 7px) padding-box;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 16px;
  position: relative;
  min-height: 520px;
}
.floor-zone-section {
  margin-bottom: 18px;
}
.floor-zone-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px; font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed hsl(var(--border));
}
.floor-tables,
.floor-grid {
  display: flex; flex-wrap: wrap; gap: 14px;
}

.floor-table {
  width: 110px; min-height: 96px;
  border-radius: 14px;
  background: hsl(var(--card));
  border: 2px solid hsl(var(--border));
  padding: 12px;
  cursor: pointer;
  display: flex; flex-direction: column;
  text-align: left;
  font-family: inherit;
  transition: all 160ms ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.floor-table:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.floor-table.available {
  border-color: hsl(152 40% 75%);
  background: hsl(152 40% 98%);
}
.floor-table.occupied {
  border-color: hsl(38 70% 60%);
  background: hsl(38 60% 96%);
}
.floor-table.reserved {
  border-color: hsl(var(--accent-h) var(--accent-s) 65%);
  background: hsl(var(--accent-h) var(--accent-s) 97%);
  border-style: dashed;
}
.floor-table.cleaning {
  border-color: hsl(220 12% 75%);
  background: hsl(220 12% 96%);
  opacity: 0.7;
}

.floor-table-label {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
}
.floor-table-seats {
  font-size: 11px; color: hsl(var(--muted-foreground));
  margin-top: 2px;
}
.floor-table-status {
  margin-top: auto;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.floor-table.available  .floor-table-status { color: hsl(152 60% 32%); }
.floor-table.occupied   .floor-table-status { color: hsl(28 70% 38%); }
.floor-table.reserved   .floor-table-status { color: hsl(var(--accent-h) var(--accent-s) 35%); }
.floor-table.cleaning   .floor-table-status { color: hsl(220 10% 42%); }

.floor-table-elapsed {
  position: absolute; top: 8px; right: 10px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px; font-weight: 600;
  color: hsl(var(--muted-foreground));
  font-variant-numeric: tabular-nums;
}
.floor-table-bar {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 11px; font-weight: 600;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  padding: 1px 5px; border-radius: 4px;
  display: inline-block; margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.floor-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed hsl(var(--border));
  font-size: 12px; color: hsl(var(--muted-foreground));
}
.floor-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.floor-legend-swatch {
  width: 14px; height: 14px; border-radius: 4px;
  border: 2px solid;
}

/* ── Reservation row ───────────────────────────────────────────────── */

.reservation-row {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  margin-bottom: 8px;
  transition: all 140ms;
  box-shadow: var(--shadow-sm);
}
.reservation-row:hover {
  border-color: hsl(var(--accent-h) var(--accent-s) 60%);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.reservation-time {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em;
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%));
  font-variant-numeric: tabular-nums;
}
.reservation-name { font-size: 14.5px; font-weight: 600; }
.reservation-meta { font-size: 12.5px; color: hsl(var(--muted-foreground)); margin-top: 2px; }

/* ── Order ticket (active orders list) ─────────────────────────────── */

.order-ticket {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px; align-items: center;
  cursor: pointer;
  transition: all 140ms;
  box-shadow: var(--shadow-sm);
}
.order-ticket:hover {
  border-color: hsl(var(--accent-h) var(--accent-s) 60%);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.order-ticket-table {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em;
  text-align: center;
  background: hsl(var(--accent-h) var(--accent-s) 96%);
  color: hsl(var(--accent-h) var(--accent-s) 30%);
  padding: 12px 8px;
  border-radius: 10px;
}
.order-ticket-id {
  font-family: ui-monospace, monospace;
  font-size: 12px; font-weight: 600;
  color: hsl(var(--muted-foreground));
  letter-spacing: -0.01em;
}
.order-ticket-summary { font-size: 13.5px; color: hsl(var(--foreground)); margin-top: 3px; }
.order-ticket-meta { font-size: 11.5px; color: hsl(var(--muted-foreground)); margin-top: 4px; }
.order-ticket-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px; font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ── Inventory bahan baku row ──────────────────────────────────────── */

.bahan-stock-bar {
  position: relative; width: 100%; height: 8px;
  background: hsl(var(--muted)); border-radius: 999px; overflow: hidden;
  margin-top: 6px;
}
.bahan-stock-bar > div { height: 100%; border-radius: 999px; transition: width 240ms; }
.bahan-stock-bar > .ok    { background: hsl(var(--success)); }
.bahan-stock-bar > .warn  { background: hsl(38 90% 52%); }
.bahan-stock-bar > .danger{ background: hsl(0 72% 52%); }

/* ── Activity timeline ─────────────────────────────────────────────── */

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid; grid-template-columns: 56px 14px 1fr;
  align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid hsl(var(--border));
}
.timeline-item:last-child { border-bottom: none; }
.timeline-time {
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  color: hsl(var(--muted-foreground));
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.timeline-marker {
  width: 10px; height: 10px; border-radius: 999px;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  margin-top: 6px; flex-shrink: 0; justify-self: center;
  box-shadow: 0 0 0 3px hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.12);
}
.timeline-marker.urgent {
  background: hsl(0 72% 50%);
  box-shadow: 0 0 0 3px hsl(0 72% 50% / 0.18);
  animation: pulse-soft 1.6s infinite;
}
.timeline-text { font-size: 13.5px; line-height: 1.45; }
.timeline-who { font-size: 11.5px; color: hsl(var(--muted-foreground)); margin-top: 3px; }
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 3px hsl(0 72% 50% / 0.18); }
  50%      { box-shadow: 0 0 0 7px hsl(0 72% 50% / 0); }
}

/* ── Hourly bar chart ──────────────────────────────────────────────── */

.hourly-chart {
  display: flex; align-items: flex-end; gap: 4px;
  height: 120px;
  padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border));
}
.hourly-bar {
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
  align-items: center;
  min-width: 0;
}
.hourly-bar-fill {
  width: 100%;
  background: hsl(var(--accent-h) var(--accent-s) 60%);
  border-radius: 6px 6px 0 0;
  min-height: 1px;
  transition: all 200ms;
}
.hourly-bar-fill.peak { background: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 4%)); }
.hourly-bar-fill.empty { background: hsl(28 18% 92%); }
.hourly-bar-label {
  font-size: 10.5px; font-family: ui-monospace, monospace;
  color: hsl(var(--muted-foreground));
}

/* ── Top items leaderboard ─────────────────────────────────────────── */

.leaderboard { display: flex; flex-direction: column; }
.leaderboard-row {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  gap: 14px; align-items: center;
  padding: 12px 18px;
  border-top: 1px solid hsl(var(--border));
  font-size: 13.5px;
}
.leaderboard-row:first-of-type { border-top: none; }
.leaderboard-rank {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: hsl(var(--muted));
  display: grid; place-items: center;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 12.5px; font-weight: 700;
  color: hsl(var(--muted-foreground));
}
.leaderboard-rank.gold   { background: hsl(45 90% 88%); color: hsl(35 80% 30%); }
.leaderboard-rank.silver { background: hsl(220 18% 88%); color: hsl(220 15% 32%); }
.leaderboard-rank.bronze { background: hsl(25 70% 88%); color: hsl(20 70% 32%); }
.leaderboard-bar {
  height: 6px; border-radius: 999px;
  background: hsl(var(--muted)); overflow: hidden;
}
.leaderboard-bar > div {
  height: 100%;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  border-radius: 999px;
  transition: width 250ms ease;
}

/* ── Slide-in drawer (order detail) ────────────────────────────────── */

.drawer-backdrop {
  position: fixed; inset: 0;
  background: hsl(18 30% 18% / 0.42);
  display: flex; justify-content: flex-end;
  z-index: 100;
  animation: fade-in 120ms ease;
}
.drawer {
  width: min(560px, 92vw); height: 100%;
  background: hsl(var(--background));
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.18);
  animation: slide-in 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid hsl(var(--border));
}
.drawer-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.015em;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 26px; }
@keyframes slide-in {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── Document/voucher header ───────────────────────────────────────── */

.doc-header {
  background: linear-gradient(to right,
    hsl(var(--accent-h) var(--accent-s) 96%),
    hsl(var(--accent-h) var(--accent-s) 99%));
  border-left: 4px solid hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  padding: 14px 18px;
  border-radius: 10px 10px 0 0;
  display: flex; align-items: center; justify-content: space-between;
}
.doc-id {
  font-family: ui-monospace, monospace;
  font-size: 13.5px; font-weight: 600;
  color: hsl(var(--accent-h) var(--accent-s) 28%);
  letter-spacing: -0.01em;
}

/* ── Filter bar ────────────────────────────────────────────────────── */

.filter-bar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 12px 16px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.filter-bar input, .filter-bar select {
  height: 34px; padding: 0 10px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--background));
  font-size: 13px;
  outline: none;
}
.filter-bar input:focus, .filter-bar select:focus {
  border-color: hsl(var(--accent-h) var(--accent-s) 60%);
  box-shadow: 0 0 0 2px hsl(var(--accent-h) var(--accent-s) 60% / 0.18);
}
.filter-bar .filter-search { flex: 1; min-width: 220px; }

/* Info cell */
.info-cell {
  padding: 12px 14px;
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
}
.info-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
}
.info-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px; font-weight: 600;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}

/* KPI icon block */
.kpi-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: hsl(var(--accent-h) var(--accent-s) 95%);
  color: hsl(var(--accent-h) var(--accent-s) 32%);
  display: grid; place-items: center;
}
.kpi-icon[data-tone="warn"]    { background: hsl(38 95% 92%); color: hsl(35 80% 38%); }
.kpi-icon[data-tone="danger"]  { background: hsl(0 80% 94%);  color: hsl(0 70% 42%); }
.kpi-icon[data-tone="success"] { background: hsl(152 60% 92%); color: hsl(152 60% 32%); }

.kpi-progress {
  margin-top: 10px; height: 5px; border-radius: 999px;
  background: hsl(var(--muted)); overflow: hidden;
}
.kpi-progress > div {
  height: 100%; border-radius: 999px;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  transition: width 200ms ease;
}

/* Generic horizontal bar */
.bar-h { height: 8px; border-radius: 999px; background: hsl(var(--muted)); overflow: hidden; }
.bar-h > div { height: 100%; background: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); border-radius: 999px; }

/* Status dot */
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 999px; margin-right: 5px; vertical-align: 1px; }

/* Legend dots used in floor-plan & charts */
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; }

/* Floor section grouping (when showing all zones together) */
.floor-section { margin-bottom: 22px; }
.floor-section:last-child { margin-bottom: 0; }
.floor-section-label {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid hsl(var(--border));
}

/* Divider line */
.divider { height: 1px; background: hsl(var(--border)); margin: 14px 0; }

/* Callout boxes */
.callout {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius); border: 1px solid hsl(var(--border));
  background: hsl(var(--muted));
}
.callout > svg { flex-shrink: 0; margin-top: 2px; color: hsl(var(--muted-foreground)); }
.callout.accent { background: hsl(var(--accent-h) var(--accent-s) 96%); border-color: hsl(var(--accent-h) var(--accent-s) 86%); }
.callout.accent > svg { color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%)); }
.callout.warn   { background: hsl(38 90% 96%); border-color: hsl(38 90% 80%); }
.callout.warn   > svg { color: hsl(38 90% 42%); }
.callout.danger { background: hsl(0 72% 97%); border-color: hsl(0 72% 86%); }
.callout.danger > svg { color: hsl(0 72% 48%); }
