/* Garçom — tokens e base. Padrão SMART ON: neutros frios + um acento laranja. */
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: block;
}
:root {
  --ink: #19232b;
  --ink-2: #4a5964;
  --muted: #7b8893;
  --paper: #eff4f7;
  --accent: #dd7718;
  --accent-dark: #fc8b25;
  --ok: #1fa66a;
  --warn: #e0a100;
  --bad: #e5484d;
  --radius-card: 20px;
  --radius-input: 12px;
  --font: "Outfit", -apple-system, "SF Pro Display", system-ui, sans-serif;
  --sombra: 0 14px 34px -20px rgba(25, 35, 43, 0.55), 0 2px 4px rgba(25, 35, 43, 0.05);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fundo claro (cardápio, tablet, pagamento) */
.tema-claro {
  background:
    radial-gradient(1300px 760px at 80% -4%, #fff2e2 0%, transparent 56%),
    radial-gradient(1000px 640px at 6% 104%, #e9f0f4 0%, transparent 58%),
    linear-gradient(158deg, #fcfdfe 0%, #eff4f7 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
/* Fundo escuro (operação: cozinha, salão, placar) — elevação por luminância */
.tema-escuro {
  --ink: #eef3f6;
  --ink-2: #b6c2cb;
  --muted: #7f8d98;
  --accent: #fc8b25;
  --ok: #34d58b;
  --warn: #f3b73c;
  --bad: #ff5d62;
  --s1: #141d24;
  --s2: #1a252d;
  --s3: #223039;
  --linha: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(252, 139, 37, 0.1) 0%, transparent 58%),
    radial-gradient(1000px 640px at 0% 110%, rgba(70, 120, 150, 0.14) 0%, transparent 60%),
    linear-gradient(160deg, #0d141a 0%, #0a1015 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 500; }
.marca { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.marca i { width: 12px; height: 12px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.conexao { position: fixed; right: 14px; bottom: 12px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; z-index: 50; pointer-events: none; }
.conexao::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--ok); }
.conexao.off::before { background: var(--bad); }
.conexao.off::after { content: "reconectando…"; }
