/* Zaika Junction staff dashboard — shadcn/ui design language (zinc neutrals, Zaika red primary). */
:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --accent: 240 4.8% 95.9%;
  --border: 240 5.9% 90%;
  --input: 240 5.9% 90%;
  --primary: 351 83% 50%;
  --primary-foreground: 0 0% 100%;
  --ring: 351 83% 50%;
  --destructive: 0 72% 51%;
  --success: 142 71% 25%;
  --warning: 32 95% 30%;
  --partner: 268 60% 42%;
  --info: 221 83% 45%;
  --radius: 0.5rem;
  --sidebar: 0 0% 98%;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / .08), 0 1px 2px -1px rgb(0 0 0 / .06);
  --shadow-lg: 0 10px 30px -6px rgb(0 0 0 / .18);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; border-color: hsl(var(--border)); }
html, body { margin: 0; }
body { font-family: var(--font); font-size: 14px; line-height: 1.5; color: hsl(var(--foreground)); background: hsl(var(--background)); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: hsl(var(--muted-foreground)); }
.small { font-size: 12px; }
.grow { flex: 1; }
.lucide { width: 16px; height: 16px; flex: none; }
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }

/* ---------- button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  height: 36px; padding: 0 16px; border-radius: calc(var(--radius) - 2px); border: 1px solid transparent;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, opacity .15s; text-decoration: none; box-shadow: var(--shadow-sm);
}
.btn:hover { background: hsl(var(--primary) / .9); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn.secondary { background: hsl(var(--muted)); color: hsl(var(--foreground)); box-shadow: none; }
.btn.secondary:hover { background: hsl(var(--muted) / .7); }
.btn.outline { background: hsl(var(--background)); color: hsl(var(--foreground)); border-color: hsl(var(--input)); }
.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: #fff; }
.btn.destructive:hover { background: hsl(var(--destructive) / .9); }
.btn.destructive-outline { background: hsl(var(--background)); color: hsl(var(--destructive)); border-color: hsl(var(--destructive) / .35); }
.btn.destructive-outline:hover { background: hsl(var(--destructive) / .06); }
.btn.success { background: hsl(var(--success)); }
.btn.success:hover { background: hsl(var(--success) / .9); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.icon { width: 36px; padding: 0; }
.btn.sm.icon { width: 32px; }
.btn.full { width: 100%; }

/* ---------- inputs ---------- */
.input, .select, .textarea {
  width: 100%; height: 36px; padding: 0 12px; border: 1px solid hsl(var(--input)); border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background)); font-size: 14px; box-shadow: var(--shadow-sm); outline: none; transition: box-shadow .15s, border-color .15s;
}
.textarea { height: auto; min-height: 72px; padding: 8px 12px; resize: vertical; }
.select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.input:focus, .select:focus, .textarea:focus { border-color: hsl(var(--ring)); box-shadow: 0 0 0 3px hsl(var(--ring) / .15); }
.input::placeholder, .textarea::placeholder { color: hsl(var(--muted-foreground)); }
.input-icon { position: relative; }
.input-icon .lucide { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: hsl(var(--muted-foreground)); }
.input-icon .input { padding-left: 34px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 10px; border: 1px solid hsl(var(--input)); border-right: 0; border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px); background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }
.input-prefix .input { border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0; }
.label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: 12px; color: hsl(var(--muted-foreground)); margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
input[type="date"].input, input[type="time"].input { padding-right: 8px; }

/* ---------- switch (Radix-style) ---------- */
.switch { position: relative; width: 36px; height: 20px; flex: none; border-radius: 999px; border: 2px solid transparent; background: hsl(var(--input)); cursor: pointer; padding: 0; transition: background-color .15s; }
.switch::after { content: ''; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .15s; }
.switch::before { content: ''; position: absolute; inset: -14px -6px; }
.switch[aria-checked="true"] { background: hsl(var(--primary)); }
.switch[aria-checked="true"]::after { transform: translateX(16px); }
.switch:disabled { opacity: .5; cursor: not-allowed; }
.switch-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); margin-bottom: 8px; }
.switch-row .sr-ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); flex: none; }
.switch-row.on .sr-ic { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.switch-row b { display: block; font-weight: 500; }
.switch-row small { display: block; color: hsl(var(--muted-foreground)); font-size: 12px; line-height: 1.4; }

/* ---------- segmented / tabs ---------- */
.tabs { display: inline-flex; gap: 2px; padding: 3px; background: hsl(var(--muted)); border-radius: var(--radius); flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; height: 30px; padding: 0 12px; border-radius: calc(var(--radius) - 2px); font-size: 13px; font-weight: 500; color: hsl(var(--foreground) / .72); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tabs button:hover { color: hsl(var(--foreground)); }
.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: hsl(var(--background)); color: hsl(var(--foreground)); box-shadow: var(--shadow-sm); }
.tabs .count { font-size: 11px; color: hsl(var(--foreground) / .72); background: hsl(var(--background) / .7); border-radius: 99px; padding: 0 6px; }
.tabs button[aria-selected="true"] .count, .tabs button[aria-pressed="true"] .count { background: hsl(var(--muted)); }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 64px; height: 36px; border: 1px solid hsl(var(--input)); background: hsl(var(--background)); border-radius: calc(var(--radius) - 2px); font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.seg button:hover { background: hsl(var(--accent)); }
.seg button[aria-pressed="true"] { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .06); color: hsl(var(--primary)); }
.seg .lucide { width: 13px; height: 13px; }

/* ---------- badge ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid transparent; background: hsl(var(--primary)); color: #fff; white-space: nowrap; }
.badge .lucide { width: 12px; height: 12px; }
.badge.secondary { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.badge.outline { background: transparent; border-color: hsl(var(--border)); color: hsl(var(--foreground)); }
.badge.success { background: hsl(var(--success) / .1); color: hsl(var(--success)); }
.badge.warning { background: hsl(var(--warning) / .12); color: hsl(var(--warning)); }
.badge.cash { background: hsl(var(--warning)); color: #fff; font-weight: 600; }
.badge.info { background: hsl(var(--info) / .1); color: hsl(var(--info)); }
.badge.danger { background: hsl(var(--destructive) / .1); color: hsl(var(--destructive)); }
.badge.soft { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }

/* ---------- card ---------- */
.card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-sm); }
.card-header { padding: 20px 20px 0; }
.card-title { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.card-desc { font-size: 13px; color: hsl(var(--muted-foreground)); margin-top: 2px; }
.card-content { padding: 20px; }
.card-footer { padding: 0 20px 20px; display: flex; gap: 8px; align-items: center; }
.sep { height: 1px; background: hsl(var(--border)); margin: 20px 0; border: 0; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { height: 40px; padding: 0 16px; text-align: left; font-weight: 500; color: hsl(var(--muted-foreground)); font-size: 13px; border-bottom: 1px solid hsl(var(--border)); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid hsl(var(--border)); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: hsl(var(--muted) / .5); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .right { text-align: right; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; z-index: 30; height: 100vh; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px; background: hsl(var(--sidebar)); border-right: 1px solid hsl(var(--border)); }
.sb-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; }
.sb-brand img { height: 34px; width: auto; }
.sb-brand .sb-mark { display: none; }
.sb-label { font-size: 12px; font-weight: 500; color: hsl(var(--muted-foreground)); padding: 8px 10px 4px; }
.sb-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-item { position: relative; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border: 0; background: transparent; border-radius: calc(var(--radius) - 2px); font-size: 14px; font-weight: 500; color: hsl(var(--foreground) / .8); cursor: pointer; text-align: left; width: 100%; }
.sb-item:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
.sb-item[aria-current="page"] { background: hsl(var(--accent)); color: hsl(var(--foreground)); font-weight: 600; }
.sb-item[aria-current="page"] .lucide { color: hsl(var(--primary)); }
.sb-item .badge { margin-left: auto; height: 20px; min-width: 20px; justify-content: center; padding: 0 6px; }
.sb-foot { margin-top: auto; }
.status-card { padding: 12px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--background)); display: flex; align-items: center; gap: 10px; }
.status-card .dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--destructive)); flex: none; }
.status-card.on .dot { background: #16a34a; box-shadow: 0 0 0 3px rgb(22 163 74 / .15); }
.status-card b { display: block; font-size: 13px; font-weight: 600; }
.status-card small { display: block; font-size: 12px; color: hsl(var(--muted-foreground)); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 24px; background: hsl(var(--background) / .85); backdrop-filter: blur(8px); border-bottom: 1px solid hsl(var(--border)); }
.topbar h1 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.topbar p { font-size: 13px; color: hsl(var(--muted-foreground)); }
.topbar .actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.tb-title { min-width: 0; }
.status-pill { display: none; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: hsl(var(--destructive) / .1); color: hsl(0 72% 38%); }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status-pill.on { background: hsl(var(--success) / .1); color: hsl(var(--success)); }
.sb-toggle { display: none; }
.content { padding: 24px; max-width: 1400px; width: 100%; container: view / inline-size; }
.sb-scrim { display: none; }
@media (max-width: 1280px) {
  .status-pill { display: inline-flex; }
}
@media (min-width: 901px) and (max-width: 1280px) {
  .layout { grid-template-columns: 64px 1fr; }
  .sidebar { padding: 14px 10px; align-items: center; }
  .sb-brand { padding: 2px 0 10px; }
  .sb-brand .sb-logo, .sb-label { display: none; }
  .sb-brand .sb-mark { display: block; height: 34px; }
  .sb-nav { width: 100%; }
  .sb-item { justify-content: center; height: 44px; padding: 0; }
  .sb-item .lucide { width: 18px; height: 18px; }
  .sb-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sb-item .badge { position: absolute; top: 3px; right: 3px; height: 17px; min-width: 17px; padding: 0 4px; font-size: 11px; }
  .sb-item::after, .user-chip::after { content: attr(data-tip); position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 4px 8px; border-radius: 6px; background: hsl(var(--foreground)); color: hsl(var(--background)); font-size: 12px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 5; }
  .sb-item:hover::after, .sb-item:focus-visible::after, .user-chip:hover::after, .user-chip:focus-visible::after { opacity: 1; }
  .sb-foot { width: 100%; display: grid; justify-items: center; gap: 4px; }
  .status-card { flex-direction: column; gap: 8px; padding: 10px 0; width: 100%; }
  .status-card .grow { display: none; }
  .user-chip { position: relative; justify-content: center; padding: 6px 0; }
  .user-chip .grow, .user-chip > .lucide { display: none; }
  .content { padding: 20px 16px; }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 50; left: 0; top: 0; width: 264px; transform: translateX(-100%); visibility: hidden; transition: transform .2s, visibility 0s .2s; box-shadow: var(--shadow-lg); }
  .layout.nav-open .sidebar { transform: none; visibility: visible; transition: transform .2s; }
  .layout.nav-open .sb-scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgb(0 0 0 / .4); }
  .sb-toggle { display: inline-flex; }
  .topbar { padding: 0 12px; }
  .topbar p { display: none; }
  .content { padding: 16px 12px; }
  .hide-sm { display: none !important; }
}

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(60% 50% at 50% 0%, hsl(var(--primary) / .06), transparent), hsl(var(--muted) / .4); }
.login .card { width: min(380px, 100%); }
.login .mark { width: 48px; height: 48px; margin-bottom: 14px; }
.login .card-title { font-size: 20px; }
.err { color: hsl(var(--destructive)); font-size: 13px; min-height: 20px; margin: 6px 0 2px; }
.pin { text-align: center; letter-spacing: .5em; font-size: 18px; height: 44px; }

/* ---------- orders board ---------- */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@container view (max-width: 860px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; }
  .bcol-1 { grid-row: 1 / span 2; }
  .bcol-2 { grid-column: 2; }
  .bcol-3 { grid-column: 2; }
}
@container view (max-width: 540px) {
  .board { grid-template-columns: 1fr; grid-template-rows: none; }
  .bcol-1, .bcol-2, .bcol-3 { grid-row: auto; grid-column: auto; }
}
.col-head { position: sticky; top: 64px; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 0 -4px 6px; padding: 8px 4px; background: hsl(var(--background)); font-weight: 600; font-size: 14px; }
.col-head .badge { height: 20px; }
.col-empty { border: 1px dashed hsl(var(--border)); border-radius: calc(var(--radius) + 4px); padding: 28px 16px; text-align: center; color: hsl(var(--muted-foreground)); font-size: 13px; display: grid; justify-items: center; gap: 8px; }
.col-empty .lucide { width: 22px; height: 22px; }
.ocard { padding: 16px; margin-bottom: 12px; }
.ocard.placed { border-color: hsl(var(--primary) / .5); box-shadow: 0 0 0 3px hsl(var(--primary) / .08), var(--shadow-sm); }
.oh { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; }
.oh .age { white-space: nowrap; }
.oh b { font-size: 15px; font-weight: 600; }
.oh .age { font-size: 12px; color: hsl(var(--muted-foreground)); }
.oh .age.late { color: hsl(var(--destructive)); font-weight: 600; }
.oh .badge { margin-left: auto; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--primary)); animation: ping 1.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 hsl(var(--primary) / .5); } 70% { box-shadow: 0 0 0 8px hsl(var(--primary) / 0); } 100% { box-shadow: 0 0 0 0 hsl(var(--primary) / 0); } }
.meta-list { margin: 10px 0; display: grid; gap: 4px; font-size: 13px; color: hsl(var(--muted-foreground)); }
.meta-list div { display: flex; gap: 8px; align-items: flex-start; }
.meta-list .lucide { width: 14px; height: 14px; margin-top: 3px; }
.meta-list a { color: hsl(var(--foreground)); font-weight: 500; text-decoration: none; }
.meta-list b { color: hsl(var(--foreground)); font-weight: 500; }
.items { list-style: none; margin: 0; padding: 10px 0; border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); display: grid; gap: 4px; }
.items li { display: flex; gap: 8px; font-size: 14px; }
.items .q { font-weight: 600; min-width: 26px; font-variant-numeric: tabular-nums; }
.items small { display: block; color: hsl(var(--muted-foreground)); font-size: 12px; }
.items .nt { color: hsl(var(--warning)); font-style: italic; }
.note { display: flex; gap: 8px; font-size: 14px; font-weight: 500; line-height: 1.4; padding: 8px 10px; border: 1px solid hsl(var(--warning) / .35); border-radius: calc(var(--radius) - 2px); background: hsl(var(--warning) / .1); color: hsl(32 95% 22%); margin-top: 10px; }
.note b { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: hsl(var(--warning)); }
.note .lucide { margin-top: 2px; color: hsl(var(--warning)); }
.ofoot { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ofoot .total { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.oacts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.oacts .btn { flex: 2 1 auto; padding: 0 10px; }
.oacts .select { width: 80px; flex: none; padding: 0 24px 0 10px; background-position: right 6px center; }
.oacts .o-reject { flex: 1 1 auto; margin-left: 4px; }
.done-card { margin-top: 24px; }

/* ---------- menu ---------- */
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .input-icon { flex: 1; min-width: 200px; max-width: 360px; }
.toolbar .select { width: 210px; }
.toolbar .btn { margin-left: auto; }
.tabs-row { margin-bottom: 16px; }
.dish { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.menu-table .dish { min-width: 200px; }
.menu-table td { padding-top: 10px; padding-bottom: 10px; }
.menu-table .c-price { white-space: nowrap; }
.menu-table td.c-cat { min-width: 110px; max-width: 160px; font-size: 13px; line-height: 1.35; }
.menu-table .c-edit { white-space: nowrap; width: 1%; }
.menu-table .ddesc { max-width: 260px; }
.thumb { width: 52px; height: 52px; border-radius: calc(var(--radius) - 2px); overflow: hidden; flex: none; background: hsl(var(--muted)); display: grid; place-items: center; color: hsl(var(--muted-foreground)); border: 1px solid hsl(var(--border)); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.off img { filter: grayscale(1); opacity: .6; }
.dname { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.ddesc { font-size: 12px; color: hsl(var(--muted-foreground)); max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.veg-dot { width: 14px; height: 14px; border: 1.5px solid #16a34a; border-radius: 3px; display: inline-grid; place-items: center; flex: none; }
.veg-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.veg-dot.nv { border-color: #b91c1c; }
.veg-dot.nv::after { background: #b91c1c; }
.menu-table .thumb { width: 44px; height: 44px; }
.hl { display: flex; gap: 4px; flex-wrap: nowrap; }
.hl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 32px; min-width: 32px; padding: 0 8px; border-radius: 999px; border: 1px dashed hsl(var(--input)); background: transparent; color: hsl(var(--muted-foreground)); font-size: 12px; font-weight: 500; cursor: pointer; }
.hl-btn .lucide { width: 15px; height: 15px; }
.hl-l { display: none; }
@container view (min-width: 1240px) { .hl-l { display: inline; } .hl-btn { padding: 0 10px; } }
@container view (max-width: 860px) { .menu-table .c-cat { display: none; } }
.hl-btn:hover { border-style: solid; color: hsl(var(--foreground)); }
.hl-btn[aria-pressed="true"] { border-style: solid; }
.hl-btn.popular[aria-pressed="true"] { border-color: hsl(var(--primary) / .35); background: hsl(var(--primary) / .08); color: hsl(var(--primary)); }
.hl-btn.trending[aria-pressed="true"] { border-color: hsl(173 80% 30% / .35); background: hsl(173 80% 30% / .08); color: hsl(173 80% 26%); }
.hl-btn.bestseller[aria-pressed="true"] { border-color: hsl(var(--warning) / .35); background: hsl(var(--warning) / .08); color: hsl(var(--warning)); }
.hl-btn[aria-pressed="true"] .lucide { stroke-width: 2.5; }
.empty-row td { text-align: center; padding: 40px; color: hsl(var(--muted-foreground)); }
@media (max-width: 760px) {
  .menu-table thead { display: none; }
  .menu-table tr { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px 12px; padding: 12px; border-bottom: 1px solid hsl(var(--border)); }
  .menu-table td { padding: 0; border: 0; }
  .menu-table td.c-cat { display: none; }
  .menu-table td.c-dish { grid-column: 1 / -1; }
  .menu-table .dish { min-width: 0; }
  .toolbar .select, .toolbar .input-icon { max-width: none; width: 100%; }
}

/* ---------- sheet (side panel) ---------- */
.sheet-overlay { position: fixed; inset: 0; z-index: 60; background: rgb(0 0 0 / .45); animation: fade .15s ease-out; }
.sheet { position: absolute; right: 0; top: 0; bottom: 0; width: min(520px, 100%); background: hsl(var(--background)); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slide .22s cubic-bezier(.2,.9,.3,1); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: .6; } }
.sheet-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 24px 16px; border-bottom: 1px solid hsl(var(--border)); }
.sheet-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.sheet-head p { font-size: 13px; color: hsl(var(--muted-foreground)); margin-top: 2px; }
.sheet-head .btn { margin-left: auto; }
.sheet-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.sheet-foot { display: flex; gap: 8px; align-items: center; padding: 16px 24px; border-top: 1px solid hsl(var(--border)); background: hsl(var(--muted) / .3); }
.sec-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.photo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: hsl(var(--muted)); border: 1px dashed hsl(var(--input)); display: grid; place-items: center; color: hsl(var(--muted-foreground)); text-align: center; }
.photo.has { border-style: solid; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .ph { display: grid; justify-items: center; gap: 6px; font-size: 13px; }
.photo .ph .lucide { width: 28px; height: 28px; }
.photo .busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(255 255 255 / .7); font-weight: 500; }
.photo-btns { display: flex; gap: 8px; margin-top: 10px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- dialog ---------- */
.dlg-overlay { position: fixed; inset: 0; z-index: 80; background: rgb(0 0 0 / .5); display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.dlg { width: min(440px, 100%); background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) + 4px); padding: 24px; box-shadow: var(--shadow-lg); animation: pop .15s ease-out; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.dlg h2 { font-size: 18px; font-weight: 600; }
.dlg p { font-size: 14px; color: hsl(var(--muted-foreground)); margin-top: 6px; }
.dlg .input { margin-top: 14px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* ---------- toast (sonner-style) ---------- */
.toaster { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 8px; width: min(360px, calc(100% - 40px)); }
.toast { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 500; animation: toast-in .2s ease-out; }
.toast .lucide { color: hsl(var(--success)); }
.toast.error .lucide { color: hsl(var(--destructive)); }
.toast.info .lucide { color: hsl(var(--primary)); }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

/* ---------- banners page ---------- */
.banner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-bottom: 16px; }
.banner-card { overflow: hidden; }
.banner-card .bprev { padding: 12px; background: hsl(var(--muted) / .5); border-bottom: 1px solid hsl(var(--border)); }
.banner-card .banner { width: 100%; box-shadow: none; }
.banner-card .bc-body { padding: 14px 16px; display: grid; gap: 10px; }
.banner-card .bc-row { display: flex; align-items: center; gap: 6px; }
.banner-card .bc-meta { font-size: 12px; color: hsl(var(--muted-foreground)); display: flex; align-items: center; gap: 6px; }
.banner-card .bc-meta .lucide { width: 13px; height: 13px; }
.sheet .bprev { margin-bottom: 20px; position: sticky; top: -20px; z-index: 2; padding: 12px 0; background: hsl(var(--background)); }
.sheet .bprev .banner { width: 100%; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 2px solid hsl(var(--background)); box-shadow: 0 0 0 1px hsl(var(--border)); cursor: pointer; padding: 0; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px hsl(var(--foreground)); }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; }
.icon-grid button { height: 40px; border: 1px solid hsl(var(--input)); border-radius: calc(var(--radius) - 2px); background: hsl(var(--background)); display: grid; place-items: center; cursor: pointer; color: hsl(var(--foreground) / .75); }
.icon-grid button:hover { background: hsl(var(--accent)); }
.icon-grid button[aria-pressed="true"] { border-color: hsl(var(--primary)); color: hsl(var(--primary)); background: hsl(var(--primary) / .06); }

/* ---------- reports ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 16px; }
.stat { padding: 18px 20px; }
.stat .st-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; color: hsl(var(--muted-foreground)); }
.stat .st-val { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .st-sub { font-size: 12px; color: hsl(var(--muted-foreground)); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.bar-row { display: grid; grid-template-columns: 150px 1fr 36px; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 10px; }
.bar-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 8px; border-radius: 99px; background: hsl(var(--muted)); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: hsl(var(--primary)); }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.review { padding: 12px 0; border-bottom: 1px solid hsl(var(--border)); }
.review:last-child { border-bottom: 0; }
.review .rs { display: inline-flex; gap: 1px; color: #f59e0b; vertical-align: -2px; }
.review .rs .lucide { width: 14px; height: 14px; }
.review .rs .on { fill: currentColor; }
.empty-note { color: hsl(var(--muted-foreground)); font-size: 13px; }

/* ---------- settings ---------- */
.settings-grid { display: grid; gap: 16px; max-width: 860px; }
.settings-save { position: sticky; bottom: 0; z-index: 2; padding: 12px 0; background: linear-gradient(transparent, hsl(var(--background)) 30%); display: flex; justify-content: flex-end; align-items: center; gap: 12px; max-width: 860px; }
.unsaved { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: hsl(var(--warning)); }
.hint.warn { color: hsl(var(--warning)); font-weight: 500; font-size: 13px; }
.hint.warn .lucide { width: 14px; height: 14px; vertical-align: -2px; }

@media (pointer: coarse) {
  .ocard .btn, .ocard .select, .oacts .select { height: 44px; }
  .hl-btn { height: 40px; min-width: 40px; }
  .tabs button { height: 40px; }
  .sb-item { height: 44px; }
}

/* page that failed to draw */
.page-err { display: flex; align-items: center; gap: 14px; padding: 20px; flex-wrap: wrap; }
.page-err > .lucide { width: 22px; height: 22px; color: hsl(var(--destructive)); }
.page-err b { font-weight: 600; }
.page-err p { font-size: 13px; color: hsl(var(--muted-foreground)); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
#dSpice button { flex-direction: column; height: 54px; gap: 2px; font-size: 12px; min-width: 70px; }
#dSpice .flames { display: flex; height: 14px; align-items: center; }

/* ---------- sign-in & accounts ---------- */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 14px; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: hsl(var(--primary)); }
.check small { display: block; color: hsl(var(--muted-foreground)); font-size: 12px; }
.hint.demo { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: calc(var(--radius) - 2px); background: hsl(var(--info) / .08); color: hsl(var(--info)); margin: 0 0 14px; }
.hint.demo .lucide { margin-top: 2px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.avatar.lg { width: 48px; height: 48px; font-size: 16px; }
.user-chip { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 8px; border: 0; background: transparent; border-radius: var(--radius); cursor: pointer; text-align: left; }
.user-chip:hover { background: hsl(var(--accent)); }
.user-chip b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip small { display: block; font-size: 12px; color: hsl(var(--muted-foreground)); }
.user-chip .grow { min-width: 0; }
.me-card { display: flex; gap: 14px; align-items: center; }
.role-opt { display: block; width: 100%; text-align: left; padding: 12px 14px; margin-bottom: 8px; border: 1px solid hsl(var(--input)); border-radius: var(--radius); background: hsl(var(--background)); cursor: pointer; }
.role-opt:hover { background: hsl(var(--accent)); }
.role-opt[aria-pressed="true"] { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .05); box-shadow: 0 0 0 1px hsl(var(--primary)); }
.role-opt b { display: block; font-weight: 600; }
.role-opt small { color: hsl(var(--muted-foreground)); font-size: 12px; }
.hl-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- maps (Leaflet + OpenStreetMap) ---------- */
/* isolation keeps Leaflet's internal z-indexes (400+) under the sticky top bar, sheets and dialogs */
.map { position: relative; isolation: isolate; z-index: 0; height: 300px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; background: hsl(var(--muted)); }
.map.tall { height: min(460px, 58vh); }
.map .leaflet-control-attribution { font-size: 11px; }
.map .leaflet-bar a { color: hsl(var(--foreground)); }
.map-off { height: 100%; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 16px; text-align: center; color: hsl(var(--muted-foreground)); font-size: 13px; }
.mpin-wrap { background: none; border: 0; }
.mpin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 3px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .35); }
.mpin .lucide { width: 16px; height: 16px; }
.mpin.shop { background: hsl(var(--primary)); }
.mpin.rider { background: #1d4ed8; }
.mpin.home { background: #15803d; }
.leaflet-tooltip.mtip { font: 500 12px/1.3 var(--font); padding: 3px 8px; border-radius: 6px; box-shadow: var(--shadow); }
.leaflet-container { font-family: var(--font); }

/* ---------- riders page ---------- */
.riders-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 1560px) { .riders-grid { grid-template-columns: minmax(0, 1.35fr) minmax(380px, 1fr); align-items: start; } }
.riders-table td { white-space: nowrap; }
.riders-table tr.off td:not(:nth-child(4)):not(:last-child) { opacity: .55; }
.rider-cell { min-width: 180px; }
.rider-cell .ddesc a { color: inherit; text-decoration: none; }
.rider-cell .ddesc a:hover { text-decoration: underline; }
.rstat { display: grid; justify-items: start; gap: 2px; }
.rstat small { font-size: 12px; color: hsl(var(--muted-foreground)); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.nowrap { white-space: nowrap; }
.pdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pdot 1.6s infinite; }
@keyframes pdot { 0% { box-shadow: 0 0 0 0 hsl(var(--success) / .55); } 70% { box-shadow: 0 0 0 5px hsl(var(--success) / 0); } 100% { box-shadow: 0 0 0 0 hsl(var(--success) / 0); } }
.map-card .card-content { padding-top: 14px; }

/* ---------- rider section on delivery order cards ---------- */
.rbox { margin-top: 12px; padding: 10px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--muted) / .35); display: grid; gap: 8px; }
.rb-who { display: flex; align-items: center; gap: 10px; }
.rb-who b { display: block; font-size: 13px; font-weight: 600; }
.rb-who small { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 12px; color: hsl(var(--muted-foreground)); }
.rb-who a { display: inline-flex; align-items: center; gap: 3px; color: hsl(var(--foreground)); font-weight: 500; text-decoration: none; }
.rb-who a:hover { text-decoration: underline; }
.rb-who a .lucide { width: 12px; height: 12px; }
.avatar.sm { width: 28px; height: 28px; }
.avatar.sm .lucide { width: 14px; height: 14px; }
.rb-eta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.rb-eta.muted { font-weight: 400; }
.rb-eta > .lucide { width: 14px; height: 14px; color: #1d4ed8; }
.rb-assign .select { width: 100%; background-color: hsl(var(--background)); }
.chip { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; margin-left: 2px; border: 1px solid hsl(var(--border)); border-radius: 999px; background: hsl(var(--background)); font-size: 12px; vertical-align: 1px; }
.meta-list .chip { color: hsl(var(--info)); font-weight: 500; }
.meta-list .chip .lucide { width: 12px; height: 12px; margin-top: 0; }
.chip:hover { background: hsl(var(--info) / .06); border-color: hsl(var(--info) / .35); }

/* ---------- dialogs with forms / maps ---------- */
.dlg .field .input, .dlg .input-prefix .input { margin-top: 0; }
.dlg-body { margin-top: 16px; }
.dlg .err { color: hsl(var(--destructive)); font-size: 13px; margin: 0; min-height: 20px; }
.dlg .hint.demo { margin: 0 0 8px; font-size: 12px; }
.dlg.wide { width: min(760px, 100%); padding: 20px; }
.tk-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.tk-head p { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.tk-head p .lucide { width: 14px; height: 14px; }
.tk-head p a { color: hsl(var(--foreground)); font-weight: 500; }
.tk-head p b { color: hsl(var(--foreground)); font-weight: 600; }
.tk-legend { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 12px; font-size: 12px; color: hsl(var(--muted-foreground)); }
.tk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tk-legend .lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg.shop { background: hsl(var(--primary)); } .lg.rider { background: #1d4ed8; } .lg.home { background: #15803d; }

/* ---------- settings: restaurant location ---------- */
.geo-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- hotel partners ---------- */
.badge.partner { background: hsl(var(--partner) / .1); color: hsl(var(--partner)); }
.room-tag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: calc(var(--radius) - 2px); background: hsl(var(--foreground)); color: hsl(var(--background)); font-size: 13px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; margin-left: auto; }
.room-tag .lucide { width: 14px; height: 14px; }
.room-tag + .badge { margin-left: 0; }
.board-filter { margin-bottom: 12px; }
.board-filter .tabs button .lucide, .tabs-row .tabs button .lucide { width: 14px; height: 14px; }
.p-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar .p-actions .btn { margin-left: 0; }
.input-suffix { display: flex; align-items: center; }
.input-suffix .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-suffix span { height: 36px; display: grid; place-items: center; padding: 0 12px; border: 1px solid hsl(var(--input)); border-left: 0; border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); font-size: 14px; }
.partners-table tr.off td:not(:nth-child(4)):not(:last-child) { opacity: .55; }
.partners-table .avatar .lucide { width: 16px; height: 16px; }
.partners-table .dname .badge { margin-left: 4px; vertical-align: 1px; }
.partners-table .ddesc a { color: hsl(var(--info)); text-decoration: none; }
.partners-table .ddesc a:hover { text-decoration: underline; }
.hint .lucide { width: 14px; height: 14px; vertical-align: -2px; }
.mpin.hotel { background: hsl(var(--partner)); }
.csv-preview { margin-top: 16px; max-height: 320px; overflow: auto; border: 1px solid hsl(var(--border)); border-radius: var(--radius); }
.csv-preview .table th, .csv-preview .table td { padding: 8px 12px; font-size: 13px; white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.csv-preview .table th { position: sticky; top: 0; background: hsl(var(--background)); }
.csv-preview .lucide { width: 14px; height: 14px; color: hsl(var(--warning)); vertical-align: -2px; }
.imp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.imp-stat { border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 10px 14px; display: flex; flex-direction: column; }
.imp-stat b { font-size: 22px; font-variant-numeric: tabular-nums; }
.imp-stat span { font-size: 12px; color: hsl(var(--muted-foreground)); }
.imp-stat.ok b { color: hsl(var(--success)); }
.imp-stat.warn b { color: hsl(var(--warning)); }
.report-bar { gap: 12px; }
.report-bar .seg { flex: none; }
.report-bar .seg button { flex: none; padding: 0 12px; }
.report-bar .range { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.report-bar .range .input { width: 150px; }
.toolbar .range .btn { margin-left: 0; }
.report-bar .range.dim .input { color: hsl(var(--muted-foreground)); }
.row-head { display: flex; align-items: flex-start; gap: 12px; }
.row-head > div { flex: 1; }
.linkish { border: 0; background: none; padding: 0; color: hsl(var(--info)); font: inherit; cursor: pointer; text-decoration: underline; }
.report-table tr.clickable { cursor: pointer; }
.report-table tr.zero td { color: hsl(var(--muted-foreground)); }
.report-table tr.sel td { background: hsl(var(--primary) / .08); }
.report-table tr.sel td:first-child b { color: hsl(var(--primary)); }
.report-table tfoot td { padding: 12px 16px; border-top: 1px solid hsl(var(--border)); font-weight: 600; background: hsl(var(--muted) / .4); }
@media (max-width: 1100px) {
  .report-bar .range .input { width: 140px; }
}
/* keep visually-hidden labels inside scrolling tables from widening the page */
.table-wrap { position: relative; }
@media (max-width: 1280px) {
  .partners-table th, .partners-table td, .report-table th, .report-table td { padding-left: 10px; padding-right: 10px; }
  .partners-table .avatar { display: none; }
}
@media (max-width: 1280px) {
  .hide-md { display: none; }
  .partners-table .dname .badge { display: none; }
}
@media (max-width: 1180px) {
  .partners-table th:nth-child(5), .partners-table td:nth-child(5) { display: none; }
  .partners-table td:first-child { max-width: 220px; }
  .partners-table td:nth-child(2) { max-width: 140px; }
}
@media (max-width: 1180px) {
  .report-table th:nth-child(8), .report-table td:nth-child(8) { display: none; }
}

/* ---------- new order (staff-entered: phone, walk-in, Zomato, Swiggy) ---------- */
.board-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.board-filter .tabs { margin-right: auto; }
.btn.cta { background: #0B8641; color: #fff; box-shadow: 0 2px 6px -1px rgb(11 134 65 / .35); }
.btn.cta:hover { background: #06703A; }
.btn.cta:disabled { box-shadow: none; }
.sheet.sheet-wide { width: min(600px, 100%); }
.no-results { display: grid; gap: 4px; margin-top: 6px; }
.no-hit { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) - 2px); background: hsl(var(--background)); font: inherit; text-align: left; cursor: pointer; }
.no-hit:hover:not(:disabled) { background: hsl(var(--accent)); border-color: hsl(var(--input)); }
.no-hit:disabled { opacity: .55; cursor: not-allowed; }
.no-hit .lucide { width: 16px; height: 16px; color: #0B8641; }
.no-lines { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid hsl(var(--border)); border-radius: var(--radius); }
.no-lines li { padding: 10px 12px; }
.no-lines li + li { border-top: 1px solid hsl(var(--border)); }
.no-line-top { display: flex; align-items: center; gap: 10px; }
.no-opts { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 8px 0 0 24px; }
.no-opts .select.sm { height: 36px; width: auto; min-width: 140px; font-size: 13px; }
.no-addons { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-check { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid hsl(var(--border)); border-radius: 999px; font-size: 13px; cursor: pointer; }
.chip-check input { accent-color: #0B8641; }
.stepper { display: inline-flex; align-items: center; gap: 2px; border: 1px solid hsl(var(--border)); border-radius: 999px; padding: 2px; }
.stepper span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.no-empty { margin-bottom: 16px; padding: 18px 16px; }
.no-bill { border-top: 1px dashed hsl(var(--border)); padding-top: 12px; display: grid; gap: 4px; font-size: 14px; font-variant-numeric: tabular-nums; }
.no-bill > div { display: flex; justify-content: space-between; }
.no-bill .tot { font-weight: 700; font-size: 16px; margin-top: 4px; }
.badge.src { background: hsl(var(--muted)); color: hsl(var(--foreground)); border-color: hsl(var(--border)); }
.badge.src .lucide { width: 12px; height: 12px; }
.badge.src-zomato { background: #FDECEE; color: #9F1239; border-color: #F9C9D1; }
.badge.src-swiggy { background: #FFF1E6; color: #9A3412; border-color: #FBD3B4; }
.oh .badge.src + .badge { margin-left: 0; }
