:root {
  --ink: #2c1810;
  --muted: #7a624f;
  --paper: #f6efe4;
  --line: #eadccb;
  --ember: #9a3412;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: #1a0c08; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.login, .app { width: min(1100px, calc(100% - 24px)); margin: 24px auto; }
.login {
  max-width: 420px;
  background: var(--paper);
  border-radius: 24px;
  padding: 28px;
}
.login h1, .top h1 { font-family: Fraunces, Georgia, serif; margin: 0; }
.login p { color: var(--muted); }
.login input, .composer input, .composer select {
  width: 100%;
  margin: 8px 0 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.primary, .pay, .ghost {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
}
.primary { background: #9a3412; color: white; }
.ghost { background: #f0e4d4; }
.pay { background: #2a140f; color: #fff6ea; }
.error { color: #9f1239; font-weight: 750; }
.app { display: none; }
.top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
  color: #fff6ea;
  margin-bottom: 14px;
}
.top p { margin: 4px 0 0; }
.board { display: grid; grid-template-columns: 280px 1fr; gap: 12px; }
@media (max-width: 800px) { .board { grid-template-columns: 1fr; } }
.queue, .detail, .composer {
  background: var(--paper);
  border-radius: 20px;
  padding: 14px;
}
.order-tab {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.order-tab.active { border-color: #9a3412; }
.order-tab small { display: block; color: var(--muted); }
.badge { font-size: 12px; font-weight: 800; color: #9a3412; }
.detail h2 { margin: 0 0 8px; font-family: Fraunces, Georgia, serif; }
.detail li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.actions, .pays { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.menu-pick { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow: auto; }
.menu-pick button { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 6px 10px; }
.hidden { display: none; }
