:root {
  --bg: #0f1115;
  --panel: #191c23;
  --panel-2: #21252e;
  --line: #2c313c;
  --text: #eef1f6;
  --muted: #9aa3b2;
  --brand: #ff5a1f;
  --brand-2: #ffb01f;
  --green: #22c55e;
  --amber: #f59e0b;
  --blue: #3b82f6;
  --red: #ef4444;
  --radius: 14px;
  font-size: 16px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-2); }
.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; background: var(--panel);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10;
}
.topbar .brand { font-weight: 800; letter-spacing: .3px; display: flex; align-items: center; gap: 9px; }
.topbar .brand b { color: var(--brand); }
.topbar .brand img.logo { width: 26px; height: 26px; display: block; }
.topbar .spacer { flex: 1; }
.pill {
  font-size: .72rem; padding: 3px 9px; border-radius: 999px;
  background: var(--panel-2); color: var(--muted); border: 1px solid var(--line);
}
.pill.live { color: var(--green); }
.pill.test { color: var(--amber); }
.wrap { padding: 18px; max-width: 1280px; margin: 0 auto; }
.grid { display: grid; gap: 14px; }
.btn {
  appearance: none; border: 1px solid var(--line); background: var(--panel-2);
  color: var(--text); padding: 12px 16px; border-radius: 12px; font-size: .95rem;
  font-weight: 600; cursor: pointer; transition: transform .05s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn.brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.ghost { background: transparent; }
.btn.green { background: var(--green); border-color: var(--green); color: #04210f; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
}
.muted { color: var(--muted); }
.tag {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .5px;
  padding: 2px 8px; border-radius: 6px; font-weight: 700;
}
.tag.kitchen { background: #3a2417; color: var(--brand-2); }
.tag.bar { background: #142a3a; color: #7cc4ff; }
.tag.queued { background: #33291a; color: var(--amber); }
.tag.preparing { background: #1d2b3f; color: #7cc4ff; }
.tag.ready { background: #14321f; color: var(--green); }
.tag.in_kitchen { background: #33291a; color: var(--amber); }
.tag.completed { background: #14321f; color: var(--green); }
.tag.voided { background: #3a1a1a; color: var(--red); }
.tag.refunded { background: #3a1a1a; color: var(--red); }
input, select, textarea {
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; font-size: .95rem; width: 100%;
}
label { font-size: .8rem; color: var(--muted); display: block; margin: 0 0 5px; }
.row { display: flex; gap: 10px; align-items: center; }
.hub {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 20px;
}
.hub a.card { text-decoration: none; color: var(--text); display: block; transition: border-color .15s; }
.hub a.card:hover { border-color: var(--brand); }
.hub .emoji { font-size: 2rem; }
.hub h3 { margin: 10px 0 4px; }
.notice {
  background: #2a2113; border: 1px solid #5a4a1f; color: var(--brand-2);
  padding: 10px 14px; border-radius: 10px; font-size: .85rem;
}
