@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Outfit:wght@400;500;650&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700&display=swap");

:root {
  --bg: #f4efe6;
  --paper: #fffaf3;
  --ink: #2a2118;
  --muted: #6e6256;
  --line: #e4d8c8;
  --gold: #c4a35a;
  --gold-2: #d4b56a;
  --orange: #e07a32;
  --orange-2: #ee9754;
  --wine: #6e2c2c;
  --terra: #c45c26;
  --olive: #3d5a3a;
  --ok: #2f7d4a;
  --warn: #b45309;
  --bad: #b42318;
  --wait: #c45c26;
  --sent: #1e4a7a;
  --prep: #b45309;
  --ready: #2f7d4a;
  --radius: 20px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; }
h1, h2, button, .ui, .staff-top, label, .k-head, .mesa, .price, .st, .brand, nav, .chip .n {
  font-family: "Outfit", system-ui, sans-serif;
}
button {
  font: inherit;
  font-family: "Outfit", system-ui, sans-serif;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(165deg, var(--gold-2) 0%, #e4a24a 46%, var(--orange) 100%);
  color: #1a140e;
  padding: 14px 26px;
  font-weight: 650;
  cursor: pointer;
  letter-spacing: 0.04em;
}
button:active { transform: scale(0.98); }
button.ghost {
  background: #fff;
  color: #1a140e;
  border: 1.5px solid rgba(42, 33, 24, 0.38);
}
button.ghost:hover { border-color: var(--orange); }
button.olive { background: var(--olive); color: #fff; }
.screen { min-height: 100dvh; padding: 28px; display: none; }
.screen.on { display: block; }
.player-screen {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  background: #1a140e;
}
.player {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.player-slide {
  position: absolute;
  inset: 0;
  background: #2a2118 center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
  display: grid;
  place-items: center;
  font-size: 22vw;
  color: #fffaf3;
}
.player-slide.on { opacity: 1; }
.player-slide.is-mark {
  background-image: none;
  background: linear-gradient(160deg, #3a2e22, #1a140e);
}
.player-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,20,14,.35) 0%, rgba(26,20,14,.55) 45%, rgba(26,20,14,.82) 100%);
  pointer-events: none;
}
.greet-over {
  position: relative;
  z-index: 20;
  color: #fffaf3;
}
.greet-over #btnMenu {
  position: relative;
  z-index: 40;
  pointer-events: auto;
}
.greet-over .mesa { color: var(--gold-2); }
.greet-over h1 { text-shadow: 0 2px 24px rgba(26,20,14,.45); }
.greet-over::before { border-color: rgba(255,250,243,.22); }
.player-ask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  pointer-events: none;
}
.player-cap {
  position: static;
  margin: 0;
  max-width: 90vw;
  text-align: center;
  font-family: "Outfit", system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,250,243,.85);
}
.player-ask button {
  pointer-events: auto;
  margin: 0;
  min-width: 200px;
  min-height: 48px;
}
.player-screen.is-look .greet-over {
  display: none !important;
}
.player-screen.is-look {
  cursor: pointer;
}
.player-screen.is-look .player-veil {
  background: rgba(26, 20, 14, 0.12);
}

.greet {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 14px;
  position: relative;
}
.greet::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  pointer-events: none;
}
.greet .mesa {
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 12px;
}
.greet h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 10vw, 92px);
  margin: 0;
  font-weight: 500;
  font-style: italic;
}
.greet .emoji { font-size: 28px; opacity: 0.85; }
.greet button { margin-top: 18px; min-width: 220px; }

.lang-page {
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 280px;
  background: var(--linen, #f4efe6);
  position: relative;
}
.lang-ask {
  display: grid;
  align-content: center;
  padding: 36px 40px 24px;
  gap: 12px;
  position: relative;
  min-height: 0;
  overflow: auto;
}
.lang-ask .back-btn { position: absolute; top: 20px; left: 20px; }
.lang-ask h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(40px, 7vw, 72px);
  margin: 0;
  font-weight: 500;
}
.lang-rail {
  position: relative;
  z-index: 200;
  background: #1a140e;
  color: #fffaf3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  pointer-events: auto;
  -webkit-overflow-scrolling: touch;
}
.lang-rail button {
  flex: 0 0 auto;
  min-height: 48px;
  margin: 0;
  border: 1px solid rgba(255,250,243,.18);
  background: transparent;
  color: #fffaf3;
  font-size: 17px;
  letter-spacing: 0.02em;
  pointer-events: auto;
  touch-action: manipulation;
}
.lang-rail button.on,
.lang-rail button:active {
  background: #c4a35a;
  border-color: #c4a35a;
  color: #1a140e;
}

.form {
  max-width: 720px;
  margin: 8vh auto 0;
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 20;
}
.form h1 { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 42px; margin: 0; }
label { display: grid; gap: 8px; font-size: 12px; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; }
input, textarea, select {
  font: inherit;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 16px;
  width: 100%;
}
input::placeholder { color: #6f655c; }

.personas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.persona, .host-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px 10px 10px;
  text-align: left;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.host-wrap { margin: 4px 0 2px; }
.host-card { pointer-events: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.persona.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.persona strong, .host-card strong { display: block; font-size: 18px; }
.persona small, .host-card small { color: var(--muted); font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px; }
.persona-shot {
  flex: 0 0 72px;
  width: 72px;
  height: 96px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

.topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.topbar .mesa { letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-size: 11px; }
.cats {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: thin;
}
.cats button {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 16px;
  flex: 0 0 auto;
  border-radius: 999px;
}
.cats button.on { background: linear-gradient(165deg, var(--gold-2), var(--orange)); color: #1a140e; border-color: var(--orange); }
.back-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.menu-tabs {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.menu-tabs button {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
}
.menu-tabs button.on { background: linear-gradient(165deg, var(--gold-2), var(--orange)); color: #1a140e; border-color: var(--orange); }
.tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.4em;
  height: 1.4em;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  vertical-align: middle;
}
.tab-badge[hidden] { display: none; }
#sMenu .grid { display: grid; grid-template-columns: 1fr; gap: 22px; width: 100%; }
#sMenu:not(.is-cart) .cart { display: none; }
#sMenu:not(.is-cart) {
  display: flex;
  flex-direction: column;
}
#sMenu:not(.is-cart) > .grid {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}
#sMenu:not(.is-cart) .cards {
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
#sMenu.is-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  align-items: stretch;
}
#sMenu.is-cart > .topbar { grid-column: 1 / -1; grid-row: 1; }
#sMenu.is-cart > .back-row { grid-column: 1 / -1; grid-row: 2; }
#sMenu.is-cart > .cats { grid-column: 1 / -1; grid-row: 3; }
#sMenu.is-cart > .grid {
  display: block;
  grid-column: 1;
  grid-row: 4;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px 12px 8px;
}
#sMenu.is-cart .cards {
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
#sMenu.is-cart > .cart {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  grid-row: 4;
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 90;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: -12px 0 28px rgba(42, 33, 24, 0.12);
}
.sent-flash {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  background: rgba(244, 239, 230, 0.92);
  pointer-events: none;
}
.sent-flash.on { display: grid; }
.sent-flash p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  padding: 24px;
}
.back-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  flex: 0 0 auto;
  justify-self: start;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
}

.grid { display: grid; grid-template-columns: 1.45fr 0.75fr; gap: 22px; align-items: start; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card, .dish {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  color: var(--ink);
}
.dish { cursor: pointer; display: flex; flex-direction: column; min-height: 100%; }
.dish .body, .card .body { padding: 16px 16px 18px; display: grid; gap: 6px; }
.dish h3, .card h3 { margin: 0; font-size: 22px; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; }
.dish p, .card p { margin: 0; color: var(--muted); font-size: 15px; }
.price { font-family: Outfit, sans-serif; font-weight: 650; color: var(--gold); letter-spacing: 0.04em; }

.media {
  display: block;
  height: 200px;
  background: linear-gradient(160deg, #efe4d4, #e4d8c8);
  overflow: hidden;
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.is-mark {
  display: grid;
  place-items: center;
  font-size: 52px;
}
.media.sm { height: 72px; width: 72px; border-radius: 12px; flex: 0 0 72px; }
.media.sm.is-mark { font-size: 28px; }
.media.hero { height: 220px; }

.cart {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.cart h2 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  flex: 0 0 auto;
}
.cart ul {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.cart-foot {
  flex: 0 0 auto;
  padding-top: 8px;
  background: var(--paper);
}
.cart li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(196,163,90,.14);
  font-size: 16px;
}
.cart .ghost { padding: 6px 10px; font-size: 11px; margin-top: 6px; }

.sug-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(42, 33, 24, 0.28);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  padding: 28px;
}
.sug-overlay.on { display: grid; }
.sug-panel {
  max-width: 1100px;
  margin: auto;
  width: 100%;
}
.sug-panel .kicker {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: Outfit, sans-serif;
  font-size: 11px;
  margin: 0 0 6px;
}
.sug-panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(28px, 5vw, 48px);
  margin: 0 0 18px;
}
.sug-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.sug-card {
  min-width: min(280px, 80vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 auto;
}
.sug-card .body { padding: 14px 16px 16px; }
.sug-card p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.sug-card button { width: 100%; }

.dlg {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(42, 33, 24, 0.28);
  display: none;
  place-items: center;
  padding: 20px;
}
.dlg.on { display: grid; }
.dlg .sheet {
  width: min(440px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(92dvh, 720px);
  -webkit-overflow-scrolling: touch;
}
.dlg .sheet form, .dlg .pad { padding: 18px; display: grid; gap: 10px; }

.st { font-family: Outfit, sans-serif; font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.st.tablet { color: var(--gold); }
.st.enviado { color: var(--sent); }
.st.preparando { color: var(--prep); }
.st.pronto { color: var(--ready); }
.st.entregue { color: var(--ok); }

.k-wrap { padding: 8px 4px; }
.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.k-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
}
.k-card.preparando { border-left-color: var(--prep); }
.k-card.pronto { border-left-color: var(--ready); }
.alert { background: rgba(196,163,90,.1); border-radius: 12px; padding: 10px; margin-top: 10px; font-size: 14px; }
.hidden { display: none !important; }
.msg { color: var(--muted); min-height: 1.2em; }

.home-list { max-width: 720px; margin: 24px auto; display: grid; gap: 10px; }
.home-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  background: var(--paper);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
}
.home-list a span:last-child { color: var(--gold); font-family: Outfit, sans-serif; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

.staff-top {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 22px;
  background: #1a140e;
  border-bottom: 1px solid rgba(196, 163, 90, 0.22);
  position: sticky; top: 0; z-index: 20;
}
.staff-top .brand {
  font-weight: 650; color: var(--gold-2); text-decoration: none;
  letter-spacing: .32em; text-transform: uppercase; font-size: 12px;
}
.staff-top nav { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; align-items: center; }
.staff-top .nav-pack { display: flex; gap: 2px; flex-wrap: wrap; }
.staff-top .nav-pack.is-casa {
  padding-left: 14px;
  border-left: 1px solid rgba(196, 163, 90, 0.28);
}
.staff-top nav a {
  color: rgba(255, 250, 243, 0.62); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 13px;
}
.staff-top nav a.on, .staff-top nav a:hover { background: rgba(255, 250, 243, 0.1); color: #fffaf3; }
.staff-top .who { font-size: 12px; color: rgba(255, 250, 243, 0.7); display: flex; align-items: center; gap: 10px; }
.staff-top .who time { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; color: var(--gold-2); }
.staff-top .who button { padding: 8px 12px; font-size: 12px; }
.staff-top .who button.ghost {
  color: #fffaf3;
  border-color: rgba(255, 250, 243, 0.22);
}

body.staff-app {
  background: #efe8dc;
  color: #241c16;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  padding-left: 228px;
  min-height: 100dvh;
}
body.staff-app #nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  z-index: 30;
}
body.staff-app .staff-top {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 28px;
  height: 100%;
  padding: 28px 22px 22px;
  background: #1e1914;
  border-bottom: 0;
  border-right: 1px solid rgba(196, 163, 90, 0.18);
  position: relative;
  top: auto;
}
body.staff-app .staff-top .brand-wrap { min-width: 0; }
body.staff-app .staff-top .brand {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #f3ece3;
  line-height: 1;
}
body.staff-app .staff-top #hqKicker {
  margin: 10px 0 0;
  color: #c4a35a;
  letter-spacing: 0.18em;
  font-size: 10px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.staff-app .staff-top #hqKicker:empty { display: none; }
body.staff-app .staff-top nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  flex: 1;
}
body.staff-app .staff-top .nav-pack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-wrap: nowrap;
}
body.staff-app .staff-top .nav-pack.is-casa {
  padding-left: 0;
  padding-top: 12px;
  border-left: 0;
  border-top: 1px solid rgba(196, 163, 90, 0.22);
}
body.staff-app .staff-top nav a {
  color: rgba(243, 236, 227, 0.58);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  width: auto;
}
body.staff-app .staff-top nav a.on,
body.staff-app .staff-top nav a:hover {
  color: #f3ece3;
}
body.staff-app .staff-top nav a:hover {
  background: rgba(255, 250, 243, 0.08);
}
body.staff-app .staff-top nav a.on {
  background: #e07a32;
  background-image: linear-gradient(165deg, #e4a24a 0%, #e07a32 100%);
  color: #1a140e;
  font-weight: 650;
  box-shadow: none;
}
body.staff-app .staff-top .who {
  display: grid;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(196, 163, 90, 0.22);
  align-items: start;
  font-size: 12px;
}
body.staff-app .staff-top .who time {
  order: -1;
  margin-bottom: 8px;
  color: rgba(243, 236, 227, 0.45);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
body.staff-app .staff-top .who strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  color: #f3ece3;
}
body.staff-app .staff-top .who span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 236, 227, 0.5);
}
body.staff-app .staff-top .who button {
  margin-top: 12px;
  justify-self: start;
  padding: 7px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 236, 227, 0.72);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(243, 236, 227, 0.28);
  background: transparent;
}
body.staff-app .staff-page,
body.staff-app .kds-page {
  max-width: none;
  padding: 28px 36px 48px;
}
body.staff-app .casa-rail { top: 24px; }
body.staff-app .admin-grid #fProd { top: 24px; }
.staff-page { padding: 24px 28px 48px; max-width: 1280px; margin: 0 auto; }
.staff-page h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 36px;
  margin: 0 0 8px;
}
.staff-lead { margin: 0 0 22px; color: var(--muted); max-width: 42em; }

.casa-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.casa-rail {
  display: grid;
  gap: 6px;
  position: sticky;
  top: 72px;
}
.casa-rail button {
  justify-content: flex-start;
  border-radius: 12px;
  padding: 10px 14px;
  background: transparent;
  color: var(--ink);
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: 0;
}
.casa-rail button.on {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--orange);
}
.casa-main { min-width: 0; }
.casa-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 14px;
}
.casa-toolbar input, .casa-toolbar select { margin: 0; }

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.sec-head h2 { margin: 0; font-size: 28px; }
.sec-head .msg { margin: 6px 0 0; max-width: 42em; }
.cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin: 0 0 18px;
}
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 200px; }
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 500;
  letter-spacing: 0;
  font-size: 14px;
}
.cat-chip em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  font-family: Outfit, system-ui, sans-serif;
}
.cat-chip.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.cat-x {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(180, 35, 24, 0.1);
  color: var(--bad);
  font-size: 16px;
  line-height: 1;
}
.cat-add, .cat-busca {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}
.cat-busca { letter-spacing: 0; text-transform: none; font-size: 13px; color: var(--muted); }
.cat-add input, .cat-busca input {
  margin: 0;
  min-width: 200px;
  padding: 10px 12px;
}
.cat-add button { padding: 10px 16px; font-size: 14px; }
.prod-grupo { margin: 0 0 22px; }
.prod-grupo-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 10px;
}
.prod-grupo-h h3 { margin: 0; font-size: 20px; }
.prod-grupo-h span { color: var(--muted); font-size: 13px; font-family: Outfit, system-ui, sans-serif; }
.prod-grupo.is-empty {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.casa-editor { padding: 18px; display: grid; gap: 12px; }
.row-2-tight { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.rel-page { max-width: 1180px; }
.rel-periodo { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.rel-periodo button { padding: 8px 16px; font-size: 14px; letter-spacing: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.rel-periodo button.on { background: linear-gradient(165deg, var(--gold-2), var(--orange)); color: #1a140e; border-color: var(--orange); }
.rel-caption { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.rel-kpis { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.rel-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; margin: 0 0 16px; }
.rel-grid-2 { grid-template-columns: 1fr 1fr; }
.rel-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px 16px;
}
.rel-card h2 { margin: 0 0 4px; font-size: 22px; }
.rel-rank { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rel-rank li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  position: relative;
  padding: 8px 0;
}
.rel-rank li b {
  position: absolute;
  left: 28px;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 99px;
  opacity: 0.45;
}
.rel-n {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 650;
  color: var(--gold);
}
.rel-rank strong { display: block; font-size: 16px; }
.rel-rank span { color: var(--muted); font-size: 13px; }
.rel-rank em { font-style: normal; font-family: Outfit, system-ui, sans-serif; }
.rel-hours { display: grid; gap: 8px; margin-top: 12px; }
.rel-h { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.rel-h-track { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.rel-h-track i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.rel-h em { font-style: normal; color: var(--muted); font-size: 12px; white-space: nowrap; }
.rel-set { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.rel-set div { background: var(--bg); border-radius: 14px; padding: 14px; }
.rel-set small { display: block; font-family: Outfit, system-ui, sans-serif; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.rel-set strong { display: block; font-size: 28px; margin: 4px 0 2px; }
.rel-set span { color: var(--muted); }
.rel-pico { margin: 12px 0 0; display: flex; align-items: baseline; gap: 12px; }
.rel-pico strong { font-size: 48px; font-family: Outfit, system-ui, sans-serif; }
.rel-table-wrap { overflow-x: auto; margin-top: 12px; }
.rel-table-wrap .table { min-width: 640px; }
.rel-table-wrap tr { cursor: pointer; }
.rel-table-wrap tr.on { background: rgba(196, 163, 90, 0.12); }
.rel-table-wrap small { color: var(--gold); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.rel-detalhe { margin-top: 16px; }
.rel-detalhe .hq-sec { margin-bottom: 12px; }

@media (max-width: 980px) {
  .rel-grid, .rel-grid-2, .row-2-tight { grid-template-columns: 1fr; }
}

.floor { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.chip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  cursor: pointer; text-align: left; color: var(--ink);
}
.chip.ocupada { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.chip.ocupada.on { background: #1a140e; color: #fffaf3; }
.chip .n { font-weight: 650; }

.login-box {
  max-width: 420px; margin: 10vh auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
  display: grid; gap: 12px;
}
.pins { font-size: 14px; color: var(--muted); }

.table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 14px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(196,163,90,.12); font-size: 15px; }
.table th {
  font-family: Outfit, sans-serif; font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gold);
}

.row-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.k-head { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--gold); }
.k-item { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid rgba(196,163,90,.12); }
.k-side {
  display: grid;
  gap: 8px;
  justify-items: end;
  align-content: start;
  min-width: 110px;
}
.k-timer {
  display: block;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
}
.k-item.late .k-timer { color: var(--bad); }
.k-item.late {
  background: rgba(180, 35, 24, 0.07);
  margin: 0 -8px;
  padding: 10px 8px;
  border-radius: 12px;
}
.k-card.late { border-left-color: var(--bad); }
.call {
  background: rgba(196,163,90,.1); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px; margin-bottom: 10px;
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.bill-calls {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(196, 163, 90, 0.16);
  border: 1px solid var(--gold);
  animation: billPulse 1.6s ease-in-out infinite;
}
.bill-calls > p {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.bill-call {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 12px 14px;
  letter-spacing: 0;
  font-weight: 500;
}
.bill-call strong { font-size: 16px; }
.bill-call span { flex: 1; color: var(--muted); font-weight: 400; }
.bill-call em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a140e;
  background: var(--gold);
  border-radius: 999px;
  padding: 4px 10px;
}
.chip.quer-conta {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(196, 163, 90, 0.45);
  animation: billPulse 1.6s ease-in-out infinite;
}
@keyframes billPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.18); }
}
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.help-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.admin-grid #fProd { position: sticky; top: 72px; }
.prod-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.prod-cell { display: grid; gap: 8px; }
button.prod-tile {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 0;
  letter-spacing: 0;
  font-weight: 500;
  text-align: left;
  display: block;
  width: 100%;
}
.prod-tile.on { outline: 1px solid var(--gold); }
.dica-list { display: grid; gap: 8px; max-width: 920px; }
.dica-row {
  display: grid;
  grid-template-columns: auto 200px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
}
.dica-row.on { border-color: var(--gold); }
.dica-nome { display: grid; gap: 2px; font-family: "Outfit", system-ui, sans-serif; font-size: 14px; }
.dica-nome small { color: var(--gold); font-size: 12px; }
.pers-cast {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.pers-card {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 10px 14px;
  text-align: center;
  letter-spacing: 0;
  font-weight: 500;
  cursor: pointer;
  font: inherit;
  width: 100%;
}
.pers-card img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: contain;
  object-position: center bottom;
  margin: 0 auto 8px;
  pointer-events: none;
}
.pers-card strong { display: block; font-size: 18px; }
.pers-card small { color: var(--muted); font-family: "Cormorant Garamond", Georgia, serif; font-size: 15px; }
.pers-card.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.fala-list { display: grid; gap: 22px; max-width: 920px; }
.fala-grupo h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}
.fala-slot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
}
.fala-head { display: grid; gap: 2px; }
.fala-head strong { font-size: 15px; }
.fala-head small { color: var(--muted); font-size: 13px; }
.fala-rows { display: grid; gap: 8px; }
.fala-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}
.fala-line textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  font: inherit;
}
.fala-empty { margin: 0; }
.ad-list { display: grid; gap: 8px; margin: 8px 0; }
.ad-row {
  display: grid;
  grid-template-columns: 1fr 88px auto;
  gap: 8px;
  align-items: center;
}
.ad-row.is-par { grid-template-columns: 1fr 1fr auto; }
.ad-row input { margin: 0; }
.fala-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 0; }
@media (max-width: 980px) {
  .fala-line { grid-template-columns: 1fr; }
  .ad-row, .ad-row.is-par { grid-template-columns: 1fr; }
  .dica-row { grid-template-columns: auto 1fr; }
  .dica-row input[type="text"] { grid-column: 1 / -1; }
  .pers-cast { grid-template-columns: 1fr 1fr; }
}
.drop {
  border: 1px dashed var(--line); border-radius: 16px; padding: 18px; text-align: center; color: var(--muted);
  background: var(--bg);
}
.drop input[type=file] { margin-top: 10px; }

.tablet-kiosk {
  overscroll-behavior: none;
  min-height: 100dvh;
  background: var(--bg);
}
html.tablet-kiosk, body.tablet-kiosk {
  min-height: 100%;
  height: 100%;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}
body.tablet-kiosk {
  -webkit-user-select: none;
  user-select: none;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
body.tablet-kiosk input,
body.tablet-kiosk textarea {
  -webkit-user-select: text;
  user-select: text;
  scroll-margin: 0;
}
body.tablet-kiosk .screen { min-height: 100dvh; }
body.tablet-kiosk .screen.on:not(.player-screen) {
  max-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
body.tablet-kiosk #sMenu.screen.on {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
}
body.tablet-kiosk #sMenu.screen.on.is-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  overflow: hidden;
  padding-right: 0;
  padding-bottom: 0;
}
html.tablet-kiosk:has(#sMenu.is-cart),
body.tablet-kiosk:has(#sMenu.is-cart) {
  overflow: hidden;
}
html.tablet-kiosk:has(#sMenu.is-cart) .buddy {
  left: 8px;
  right: auto;
  z-index: 20;
}
html.tablet-kiosk:has(#sMenu.is-cart) .buddy-say {
  display: none;
}
body.tablet-kiosk #sMenu .topbar,
body.tablet-kiosk #sMenu .back-row,
body.tablet-kiosk #sMenu .cats {
  flex: 0 0 auto;
}
body.tablet-kiosk #sMenu:not(.is-cart) .grid {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 160px;
}
body.tablet-kiosk #sLang.screen.on {
  padding: 0;
  overflow: hidden;
  max-height: 100dvh;
  height: 100dvh;
}
html.kb-open #sWho.screen.on,
html.kb-open #sRate.screen.on,
html.kb-open #sBillAsk.screen.on {
  overflow: hidden;
}
html.kb-open,
html.kb-open body.tablet-kiosk {
  overflow: hidden;
}
html.kb-open body.tablet-kiosk .screen.on:not(.player-screen) {
  padding-bottom: calc(28px + var(--kb, 0px));
}
html.kb-open #sWho .form {
  max-height: calc(var(--vvh, 100dvh) - 24px);
  overflow-y: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
html.kb-open .rate-card {
  max-height: calc(var(--vvh, 100dvh) - 32px);
  overflow-y: auto;
}
html.kb-open .voz-mic,
html.kb-open .voz-mute,
html.kb-open .buddy {
  visibility: hidden;
  pointer-events: none;
}
html.kb-open .dlg.on {
  padding-bottom: calc(16px + var(--kb, 0px));
}
html.kb-open .dlg .sheet {
  max-height: calc(var(--vvh, 100dvh) - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.dlg .sheet {
  max-height: min(92dvh, 720px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
html.kiosk-locked {
  overscroll-behavior: none;
  touch-action: manipulation;
}
body.is-app .install-app { display: none !important; }
@media (display-mode: standalone), (display-mode: fullscreen) {
  .install-app { display: none !important; }
}
.install-app {
  max-width: 480px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.tablet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.tablet-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.tablet-card.ocupada { border-color: var(--gold); }
.tablet-card.travado { box-shadow: inset 0 0 0 2px var(--gold); }
.tablet-card .pin {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 36px;
  font-weight: 650;
  letter-spacing: 0.28em;
  margin: 8px 0 4px;
}
.t-url {
  display: block;
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
  background: var(--bg);
  padding: 8px 10px;
  border-radius: 10px;
}
a.btn-link {
  display: inline-flex;
  align-items: center;
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #1a140e;
  background: linear-gradient(165deg, var(--gold-2) 0%, #e4a24a 46%, var(--orange) 100%);
  border-radius: 999px;
  padding: 14px 26px;
}

@media (max-width: 980px) {
  .grid, .cards, .personas, .row-2, .admin-grid, .casa-shell { grid-template-columns: 1fr; }
  .admin-grid #fProd { position: static; }
  .casa-rail { position: static; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .cart { position: static; }
  #sMenu.is-cart,
  body.tablet-kiosk #sMenu.screen.on.is-cart {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42vw);
  }
  #sMenu:not(.is-cart) .cards {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  #sMenu.is-cart .cards {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

.buddy {
  position: fixed;
  left: 10px;
  bottom: 10px;
  top: auto;
  right: auto;
  z-index: 80;
  width: 128px;
  pointer-events: auto;
  filter: drop-shadow(0 14px 18px rgba(42, 33, 24, 0.22));
  transition: transform 0.45s ease, opacity 0.35s ease;
}
.buddy.is-tuck {
  transform: translateY(120%);
  opacity: 0;
}
.buddy[hidden] { display: none !important; }
.buddy-fig { pointer-events: auto; cursor: pointer; }
.buddy-say {
  position: absolute;
  left: 122px;
  bottom: 42px;
  width: min(340px, calc(100vw - 150px));
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: none;
  box-shadow: 0 8px 24px rgba(42, 33, 24, 0.08);
}
.buddy-say.on {
  opacity: 1;
  pointer-events: auto;
}
.buddy-say .buddy-acts,
.buddy-say .buddy-go {
  pointer-events: auto;
}
.buddy-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.buddy-name {
  display: block;
  margin: 0 0 4px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.buddy-go {
  display: inline-block;
  margin-top: 0;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.buddy-fig {
  position: relative;
  width: 128px;
  height: 188px;
}
.buddy-fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  -webkit-user-drag: none;
}
.buddy-hide {
  position: absolute;
  top: 4px;
  right: 2px;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 250, 243, 0.55);
  border-radius: 999px;
  background: rgba(26, 20, 14, 0.72);
  color: #fffaf3;
  font-size: 20px;
  line-height: 1;
  pointer-events: auto;
  touch-action: manipulation;
}
.buddy-show {
  position: fixed;
  left: 12px;
  bottom: 14px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  pointer-events: auto;
  touch-action: manipulation;
  box-shadow: 0 8px 20px rgba(42, 33, 24, 0.12);
}
.buddy-show[hidden] { display: none !important; }
body.is-look .buddy-show {
  left: 16px;
  bottom: 108px;
}
body.is-menu #sMenu {
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
body.is-menu #sMenu:not(.is-cart) .grid {
  padding-bottom: 160px;
}
body.is-menu #sMenu.is-cart {
  padding-bottom: 0;
}
body.is-lang .buddy {
  z-index: 4;
  pointer-events: none;
}
body.is-lang .buddy-fig {
  pointer-events: auto;
}
body.is-lang .buddy-say {
  width: min(260px, calc(100vw - 310px));
  pointer-events: none;
}
body.is-lang .buddy-show {
  z-index: 5;
}
body.is-lang .lang-rail {
  z-index: 200;
}
#btnLangGo {
  position: relative;
  z-index: 100;
  margin-top: 8px;
  min-height: 52px;
  width: fit-content;
}
#btnLangGo[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .buddy-say { transition: none; }
}

html.is-gate, body.is-gate { height: 100%; }
body.is-gate {
  background: #1a140e;
  overflow: hidden;
  padding-left: 0;
}
.gate {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.gate-hero {
  position: relative;
  color: #fffaf3;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(900px 480px at 12% 8%, rgba(196, 163, 90, 0.22), transparent 55%),
    radial-gradient(700px 420px at 90% 90%, rgba(110, 44, 44, 0.28), transparent 50%),
    linear-gradient(165deg, #2c241c 0%, #1a140e 48%, #110d0a 100%);
}
.gate-hero::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(196, 163, 90, 0.28);
  pointer-events: none;
}
.gate-mark {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold-2);
}
.gate-hero h1 {
  position: relative;
  z-index: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.95;
  margin: 48px 0 18px;
}
.gate-lead {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0;
  color: rgba(255, 250, 243, 0.72);
  font-size: 20px;
}
.gate-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 250, 243, 0.55);
}
.gate-meta time {
  color: var(--gold-2);
  font-size: 22px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.gate-panel {
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 40px 28px;
}
.gate-form {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
}
.gate-kicker {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}
.gate-form h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 40px;
}
.gate-hint { margin: 0 0 6px; color: var(--muted); font-size: 16px; }
.gate-stations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 8px;
}
.gate-st {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 12px 10px;
  text-align: left;
  letter-spacing: 0;
  font-weight: 500;
}
.gate-st strong { display: block; font-size: 15px; }
.gate-st small { color: var(--muted); font-size: 12px; letter-spacing: 0; text-transform: none; }
.gate-st.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.gate-form button[type="submit"] { margin-top: 6px; width: 100%; }
.gate-err { min-height: 1.2em; margin: 0; color: var(--bad); font-size: 14px; }
.gate-demo { margin: 0; font-size: 13px; color: var(--muted); }

.hq-kicker {
  margin: 0 0 6px;
  font-family: Outfit, system-ui, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
}
.hq-sub { margin: 8px 0 0; color: var(--muted); }
.hq-when {
  text-align: right;
  font-family: Outfit, system-ui, sans-serif;
}
.hq-when time {
  display: block;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.hq-when span {
  color: var(--muted);
  font-size: 13px;
  text-transform: capitalize;
}
.hq-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.hq-kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px 12px;
}
.hq-kpi.hot { border-color: var(--gold); }
.hq-kpi small {
  display: block;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hq-kpi strong {
  display: block;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 26px;
  font-weight: 650;
  margin: 6px 0 2px;
  letter-spacing: -0.03em;
}
.hq-kpi span { color: var(--muted); font-size: 13px; }

body.is-hq {
  background: #efe8dc;
  color: #241c16;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
}

.hq {
  display: block;
  min-height: 100dvh;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #efe8dc;
}
.hq-rail {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 22px 22px;
  background: #1e1914;
  color: #f3ece3;
  border-right: 1px solid rgba(196, 163, 90, 0.18);
}
.hq-rail-brand a {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: #f3ece3;
  text-decoration: none;
  line-height: 1;
}
.hq-rail-brand .hq-kicker {
  margin: 10px 0 0;
  color: #c4a35a;
  letter-spacing: 0.18em;
  font-size: 10px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hq-rail-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.hq-rail-nav a {
  display: none;
  color: rgba(243, 236, 227, 0.58);
  text-decoration: none;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 0;
  border-bottom: 1px solid transparent;
  border-left: 0;
}
.hq-rail-nav a:first-child,
body.is-hq[data-role="dono"] .hq-rail-nav a,
body.is-hq[data-role="caixa"] .hq-rail-nav a[data-for~="caixa"],
body.is-hq[data-role="cozinha"] .hq-rail-nav a[data-for~="cozinha"],
body.is-hq[data-role="bar"] .hq-rail-nav a[data-for~="bar"],
body.is-hq[data-role="garcom"] .hq-rail-nav a[data-for~="garcom"] {
  display: block;
}
.hq-rail-nav a.on,
.hq-rail-nav a:hover {
  color: #f3ece3;
}
.hq-rail-nav a.on {
  border-bottom-color: #c4a35a;
  width: max-content;
}
.hq-rail-who {
  display: grid;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(196, 163, 90, 0.22);
}
.hq-rail-who strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  color: #f3ece3;
}
.hq-rail-who span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 236, 227, 0.5);
}
.hq-rail-who button {
  margin-top: 12px;
  justify-self: start;
  padding: 7px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 236, 227, 0.72);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(243, 236, 227, 0.28);
  background: transparent;
}
.hq-main {
  min-width: 0;
  padding: 28px 36px 48px;
}
.hq-mast {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.hq-mast h1 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hq .hq-sub {
  margin: 8px 0 0;
  font-size: 15px;
  color: #6a5c4e;
  max-width: 36em;
}
.hq .hq-when time {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: #241c16;
}
.hq .hq-when span {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 13px;
  color: #6a5c4e;
}

.hq #hqBills:empty,
.hq #calls:empty { display: none; }
.hq .bill-calls {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  margin: 0 0 28px;
  padding: 16px 0 18px;
  background: transparent;
  border: 0;
  border-top: 3px solid #6e2c2c;
  border-bottom: 1px solid rgba(110, 44, 44, 0.28);
  border-radius: 0;
  animation: none;
  box-shadow: none;
}
.hq .bill-calls > p {
  flex: 0 0 100%;
  margin: 0 0 4px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e2c2c;
  font-weight: 700;
}
.hq .bill-call {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: auto;
  min-width: 220px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #241c16;
  text-decoration: none;
  font: inherit;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}
.hq .bill-call strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #6e2c2c;
}
.hq .bill-call span { color: #6a5c4e; font-size: 14px; }
.hq .bill-call em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e2c2c;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border-bottom: 1px solid #6e2c2c;
}

.hq .hq-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 36px;
  padding: 4px 0 8px;
  border-bottom: 1px solid #d8ccbb;
}
.hq .hq-kpi {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-right: 1px solid #d8ccbb;
  padding: 6px 18px 10px 0;
}
.hq .hq-kpi:last-child { border-right: 0; padding-right: 0; }
.hq .hq-kpi:not(:first-child) { padding-left: 18px; }
.hq .hq-kpi small {
  color: #6a5c4e;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.hq .hq-kpi strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  margin: 8px 0 0;
  color: #241c16;
  letter-spacing: -0.03em;
}
.hq .hq-kpi.hot strong { color: #6e2c2c; }
.hq .hq-kpi span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #8a7b6c;
}
.casa-jump {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0 0 16px;
  max-width: 640px;
}
.casa-jump:hover { border-color: var(--gold); }
.casa-jump strong { display: block; font-size: 18px; }
.casa-jump span {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.staff-lead a { color: var(--gold); }

.hq-launch {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
}
.hq-block h2 {
  margin: 0 0 10px;
  font-size: 22px;
}
.hq-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.hq-tile {
  display: grid;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  min-height: 108px;
}
.hq-tile:hover { border-color: var(--gold); }
.hq-tile span {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hq-tile strong { font-size: 20px; }
.hq-tile em { font-style: normal; color: var(--muted); font-size: 14px; }
.hq-split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 22px;
  align-items: start;
}
.hq-sec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.hq-sec h2 {
  margin: 0;
  font-size: 28px;
}
.hq-sec a {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}
.hq .hq-split {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 40px;
  align-items: start;
}
.hq .hq-sec {
  margin-bottom: 8px;
  align-items: baseline;
}
.hq .hq-sec h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.hq .hq-sec a {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #6a5c4e;
  letter-spacing: 0.1em;
}
.hq-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 0 0 16px;
  font-size: 12px;
  color: #6a5c4e;
}
.hq-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  vertical-align: middle;
}
.hq-legend .lg-livre { background: transparent; box-shadow: inset 0 0 0 1px #b7ab9a; }
.hq-legend .lg-ocupada { background: #2f3a2c; }
.hq-legend .lg-levar { background: #3d5a3a; }
.hq-legend .lg-conta { background: #6e2c2c; }
.hq .floor {
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 8px;
}
.hq .floor .chip {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 92px;
  padding: 12px 12px 10px;
  width: 100%;
  background: transparent;
  border: 1px solid #cfc3b2;
  border-radius: 2px;
  box-shadow: none;
  color: #241c16;
  animation: none;
  font: inherit;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}
.hq .floor .chip .n {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.hq .floor .chip .msg {
  font-size: 12px;
  line-height: 1.3;
  color: #6a5c4e;
  margin-top: 8px;
}
.hq .floor .chip.ocupada {
  background: #2f3a2c;
  border-color: #2f3a2c;
  color: #f3ece3;
  box-shadow: none;
}
.hq .floor .chip.ocupada .msg { color: rgba(243, 236, 227, 0.72); }
.hq .floor .chip.chama:not(.quer-conta):not(.levar) {
  box-shadow: 0 0 0 2px #c4a35a;
}
.hq .floor .chip.levar {
  background: #3d5a3a;
  border-color: #3d5a3a;
  color: #f3ece3;
  box-shadow: none;
  animation: none;
}
.hq .floor .chip.levar .msg { color: rgba(243, 236, 227, 0.82); }
.hq .floor .chip.quer-conta {
  background: #6e2c2c;
  border-color: #6e2c2c;
  color: #f7efe6;
  box-shadow: none;
  animation: none;
}
.hq .floor .chip.quer-conta .msg { color: rgba(247, 239, 230, 0.78); }
.hq .floor .chip.on {
  box-shadow: 0 0 0 2px #c4a35a;
}
.salao-pings .call { margin: 0 0 8px; }
.salao-levar-cap {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #3d5a3a;
}
.salao-fecha {
  margin: 0 0 16px;
  padding: 12px 0 14px;
  border-top: 2px solid #3d5a3a;
  border-bottom: 1px solid #d8ccbb;
}
.salao-fecha strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #3d5a3a;
  margin: 4px 0 6px;
}
.salao-fecha p {
  margin: 0;
  color: #6a5c4e;
  font-size: 14.5px;
  line-height: 1.4;
}
.salao-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0 8px;
}
.salao-pay button {
  padding: 7px 12px;
  border: 1px solid #d8ccbb;
  border-radius: 0;
  background: #fffaf3;
  color: #241c16;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
}
.salao-pay button.on {
  background: #3d5a3a;
  border-color: #3d5a3a;
  color: #fffaf3;
}
.salao-pay button.ghost {
  background: transparent;
}
.salao-pay label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #6a5c4e;
}
.salao-pay input {
  width: 92px;
  padding: 6px 8px;
  font: inherit;
  border: 1px solid #d8ccbb;
  background: #fffaf3;
}
.salao-fecha > button.olive {
  margin-top: 8px;
  padding: 10px 14px;
  border: 0;
  background: #4A5D3A;
  color: #fff;
  font-weight: 600;
}
.salao-fecha > button.olive[disabled] { opacity: 0.35; }
.salao-pegar {
  width: 100%;
  margin-top: 10px;
  padding: 14px 16px;
  border: 0;
  background: #4A5D3A;
  color: #fffaf3;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
}
.salao-pegar span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}
.hq .ticket-calls {
  border-top-color: #3d5a3a;
  border-bottom-color: rgba(61, 90, 58, 0.28);
}
.hq .ticket-calls > p { color: #3d5a3a; }
.ticket-call-row {
  display: grid;
  gap: 8px;
  width: 100%;
}
.ticket-call-row .ghost {
  justify-self: start;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #241c16;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.salao-page .hq-now-wrap {
  max-height: calc(100dvh - 140px);
  overflow: auto;
}
.salao-ticket li.pronto span:first-child { font-weight: 600; }
.hq-now-wrap {
  padding-left: 28px;
  border-left: 1px solid #d8ccbb;
  min-width: 0;
}
.hq .call,
.hq .hq-ready {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e0d5c6;
  border-radius: 0;
  font-size: 14.5px;
}
.hq .call button {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #241c16;
  color: #241c16;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.hq .hq-ready span {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3d5a3a;
  flex-shrink: 0;
}
.hq-quiet { color: var(--muted); margin: 0; padding: 18px 0; }
.hq .hq-quiet {
  padding: 8px 0 0;
  color: #8a7b6c;
  font-size: 15px;
}
.salao-page .hq-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.salao-ticket h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.salao-ticket-k {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a7b6c;
  font-weight: 600;
}
.salao-ticket-meta {
  margin: 4px 0 16px;
  color: #6a5c4e;
  font-size: 14px;
}
.salao-ticket ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.salao-ticket li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #e0d5c6;
  font-size: 14.5px;
}
.salao-ticket li.is-mover {
  background: #f3ece3;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}
.salao-item-acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.salao-item-acts button {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #241c16;
  color: #241c16;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.salao-mover, .cx-mover {
  margin-top: 4px;
  padding: 12px 0 2px;
  border-top: 1px solid #d8ccbb;
}
.hs-mover-mesas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hs-mover-mesas button {
  padding: 7px 12px;
  border: 1px solid #d8ccbb;
  border-radius: 0;
  background: #fffaf3;
  color: #241c16;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
}
.hs-mover-mesas button.ghost {
  border-color: transparent;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.till-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.till-item-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #e4d8c8;
  font-size: 13.5px;
}
.till-item-list li.is-mover { background: #f3ece3; }
.till-item-list li .hq-quiet { border: 0; }
.caixa-desk .till-item-list li button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #241c16;
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.salao-ticket-total {
  margin: 16px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.salao-fala {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #d8ccbb;
  display: grid;
  gap: 8px;
}
.salao-fala input {
  font: inherit;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #cfc3b2;
  background: transparent;
  color: inherit;
}
.salao-fala-btns { display: flex; gap: 16px; }
.salao-fala-btns button {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #241c16;
  color: #241c16;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.kds-msg {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 10px 12px;
  border-bottom: 1px solid #d8ccbb;
  background: rgba(61, 90, 58, 0.08);
  font-size: 14px;
}
.kds-msg button {
  margin-left: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #241c16;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.caixa-garcons {
  max-width: 920px;
  margin: 0 0 22px;
}
.caixa-recado {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 8px 0 4px;
}
.caixa-recado select,
.caixa-recado input {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: inherit;
}
.caixa-recado button {
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.hq .hq-launch {
  margin: 40px 0 0;
  padding-top: 18px;
  border-top: 1px solid #d8ccbb;
  gap: 18px;
}
.hq .hq-block h2 {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8a7b6c;
  margin: 0 0 8px;
}
.hq .hq-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.hq .hq-tile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.hq .hq-tile span { display: none; }
.hq .hq-tile strong {
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #c4a35a;
}
.hq .hq-tile em { font-size: 13px; color: #8a7b6c; }

.kds-page {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 20px 28px;
}
.kds-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  font-family: Outfit, system-ui, sans-serif;
}
.kds-head strong { font-size: 22px; letter-spacing: -0.02em; }
.kds-head span, .kds-head time { color: var(--muted); font-size: 14px; }
.kds-head time { margin-left: auto; font-variant-numeric: tabular-nums; }
.kds-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px;
  align-items: start;
}
.kds-empty {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 20px;
}
.kds-ticket {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 16px;
}
.kds-ticket > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 8px 12px;
  background: #1a140e;
  color: #fffaf3;
}
.kds-ticket > header strong {
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 650;
}
.kds-ticket > header span {
  color: rgba(255, 250, 243, 0.7);
  font-size: 14px;
}
.kds-ticket > header button {
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0;
  background: transparent;
  color: #fffaf3;
  border: 1px solid rgba(255, 250, 243, 0.35);
}
.kds-actions {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.kds-wait {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ready);
  font-weight: 650;
}
.kds-ticket.enviado { box-shadow: inset 4px 0 0 var(--sent); }
.kds-ticket.preparando { box-shadow: inset 4px 0 0 var(--prep); }
.kds-ticket.pronto { box-shadow: inset 4px 0 0 var(--ready); }
.kds-ticket.late { box-shadow: inset 4px 0 0 var(--bad); }
.kds-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.kds-dish { display: grid; gap: 2px; min-width: 0; }
.kds-dish strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.kds-dish em {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.kds-run {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 220px;
}
.kds-run .k-timer {
  display: block;
  font-size: 18px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
  min-width: 3.4em;
  color: var(--ink);
}
.kds-run button {
  padding: 8px 12px;
  font-size: 13px;
  letter-spacing: 0;
  width: auto;
  min-height: 36px;
}
.kds-item .alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  padding: 8px 10px;
}
.kds-item.late {
  background: rgba(180, 35, 24, 0.07);
}
.kds-item.late .k-timer { color: var(--bad); }

@media (max-width: 1080px) {
  .hq-kpis { grid-template-columns: repeat(3, 1fr); }
  .hq-split, .gate { grid-template-columns: 1fr; }
  .gate-hero { min-height: 42vh; padding: 36px 28px; }
  body.is-gate { overflow: auto; }
  .hq { grid-template-columns: 1fr; }
  .hq .hq-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hq .hq-kpi {
    border-right: 0;
    border-bottom: 1px solid #d8ccbb;
    padding: 10px 16px 12px 0;
  }
  .hq .hq-kpi:nth-child(3n) { padding-right: 0; }
  .hq .hq-kpi:nth-child(n+4) { padding-top: 14px; }
  .hq .hq-kpi:nth-child(3n+1) { padding-left: 0; }
  .hq .hq-kpi:not(:first-child) { padding-left: 16px; }
  .salao-page .hq-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hq .hq-split { grid-template-columns: 1fr; gap: 28px; }
  .hq-now-wrap {
    padding-left: 0;
    border-left: 0;
    padding-top: 8px;
    border-top: 1px solid #d8ccbb;
  }
}

@media (max-width: 860px) {
  body.staff-app {
    padding-left: 0;
    padding-bottom: 64px;
  }
  body.staff-app #nav {
    inset: auto 0 0 0;
    width: auto;
    height: auto;
  }
  body.staff-app .staff-top {
    flex-direction: row;
    align-items: center;
    gap: 0;
    height: auto;
    padding: 0 8px;
    border-right: 0;
    border-top: 1px solid rgba(196, 163, 90, 0.28);
  }
  body.staff-app .staff-top .brand-wrap { display: none; }
  body.staff-app .staff-top nav {
    flex-direction: row;
    flex: 1;
    min-width: 0;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.staff-app .staff-top .nav-pack {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  body.staff-app .staff-top .nav-pack.is-casa {
    padding: 0;
    border: 0;
    margin-left: 4px;
  }
  body.staff-app .staff-top nav a,
  body.staff-app .staff-top nav a.on {
    width: auto;
    flex: 0 0 auto;
    padding: 16px 12px;
    border-bottom: 0;
    font-size: 13px;
  }
  body.staff-app .staff-top nav a.on {
    box-shadow: none;
    background: #e07a32;
    background-image: linear-gradient(165deg, #e4a24a 0%, #e07a32 100%);
    color: #1a140e;
  }
  body.staff-app .staff-top .who {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    padding: 0 8px 0 4px;
    margin-left: auto;
    gap: 0;
  }
  body.staff-app .staff-top .who time,
  body.staff-app .staff-top .who strong,
  body.staff-app .staff-top .who span { display: none; }
  body.staff-app .staff-top .who button {
    margin: 0;
    padding: 14px 10px;
    border: 0;
    color: #f3ece3;
  }
  body.staff-app .staff-page,
  body.staff-app .kds-page {
    padding: 20px 18px 28px;
  }
  .hq {
    display: block;
    min-height: 100dvh;
    padding-bottom: 0;
  }
  .hq-main { padding: 20px 18px 28px; }
  .hq-mast { flex-direction: column; align-items: flex-start; margin-bottom: 20px; }
  .hq .hq-when { text-align: left; }
  .hq .hq-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hq .hq-kpi:nth-child(3n) { padding-right: 16px; }
  .hq .hq-kpi:nth-child(2n) { padding-right: 0; }
  .hq .hq-kpi:nth-child(2n+1) { padding-left: 0; }
  .hq-mast h1 { font-size: 32px; }
}

.rel-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .rel-kpis { grid-template-columns: repeat(2, 1fr); }
}
.rel-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.rel-filtros button.on {
  background: var(--gold);
  color: #1a140e;
  border-color: var(--gold);
}
.rel-mesa { margin: 0 0 28px; }
.rel-mesa .hq-sec span {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.rel-visit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0 0 10px;
}
.rel-visit.aberta { border-color: var(--gold); }
.rel-visit header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.rel-visit header strong { display: block; font-size: 18px; }
.rel-visit header span { color: var(--muted); font-size: 14px; }
.rel-when { text-align: right; font-family: Outfit, system-ui, sans-serif; font-size: 13px; }
.rel-when time { display: block; font-weight: 650; }
.rel-when span { color: var(--muted); }
.rel-visit ul { margin: 0; padding: 0; list-style: none; }
.rel-visit li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(196, 163, 90, 0.12);
  font-size: 15px;
}
.rel-visit li em { font-style: normal; color: var(--muted); }
.bill-box {
  padding: 18px 20px 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.bill-box h2 { margin: 0; font-size: 28px; }
.bill-box ul { margin: 0; padding: 0; list-style: none; }
.bill-box li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid rgba(196, 163, 90, 0.12);
}
.bill-tot p { margin: 0; color: var(--muted); }
.bill-tot strong { color: var(--ink); font-size: 22px; font-family: Outfit, system-ui, sans-serif; }
.bill-ops {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.bill-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.bill-ops button.on {
  background: var(--gold);
  color: #1a140e;
  border-color: var(--gold);
}

.till-page { padding: 12px 16px 20px; }
.till-page .floor {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.till-page .chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  white-space: nowrap;
  font-size: 14px;
}
.till-page .chip .n,
.till-page .chip .msg { display: inline; margin: 0; }
.till-page .chip .msg { color: var(--muted); font-weight: 400; }
.till-page .chip.ocupada.on .msg { color: #d4b56a; }
.till {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}
.till-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
  overflow-x: auto;
}
.till-head strong { font-size: 20px; letter-spacing: -0.02em; }
.till-head span { color: var(--muted); }
.till-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.till-itens, .till-sum {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
  overflow-x: auto;
}
.till-sum b { color: var(--ink); font-weight: 650; }
.till-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}
.till-sep {
  width: 1px;
  height: 22px;
  background: var(--line);
  flex: 0 0 1px;
  margin: 0 4px;
}
.till-n { min-width: 1.2em; text-align: center; font-size: 16px; }
.till label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.till label input {
  width: 88px;
  padding: 6px 8px;
  font-size: 14px;
}
.till button {
  padding: 7px 12px;
  font-size: 13px;
  letter-spacing: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}
.till button.on {
  background: var(--gold);
  color: #1a140e;
  border-color: var(--gold);
}
.till-seats {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
}
.till-seat {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  padding: 7px 12px;
  background: #f4efe6;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  letter-spacing: 0;
  font-weight: 500;
  white-space: nowrap;
}
.till-seat strong { font-size: 15px; }
.till-seat span { font-size: 12px; color: var(--muted); }
.till-seat.on { background: var(--gold); border-color: var(--gold); color: #1a140e; }
.till-seat.on span { color: #1a140e; }
.till-seat.ok { opacity: 0.5; }
.till-troco {
  font-style: normal;
  font-weight: 650;
  font-size: 16px;
  white-space: nowrap;
}
.till-troco.falta { color: var(--bad); }
.till-hint { color: var(--muted); white-space: nowrap; }
.till-btns .msg { margin: 0; }
.till-btns button[disabled] { opacity: 0.4; }
.till-rec {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.till-rec strong { font-size: 20px; }
.till-rec span { color: var(--muted); }
.till-rec em {
  font-style: normal;
  font-weight: 650;
  font-size: 22px;
  color: var(--gold);
  margin-left: auto;
}
@media (max-width: 1080px) {
  .till-row, .till-head, .till-seats, .till-rec { flex-wrap: wrap; white-space: normal; }
}
.dish.esgotado { opacity: 0.58; cursor: default; }
.dish.esgotado .sold,
.prod-tile .sold {
  font-family: Outfit, system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 650;
  color: var(--bad);
}
.prod-tile.esgotado { outline: 1px solid var(--bad); }
.prod-tile .sold-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 14px 12px;
}
.kds-86 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  align-items: center;
  font-family: Outfit, system-ui, sans-serif;
}
.kds-86 span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.kds-86 button {
  padding: 8px 14px;
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
}
.kds-86 button.on { background: var(--gold); color: #1a140e; }

.voz-mute {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 220;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(26, 20, 14, 0.78);
  color: #fffaf3;
  border: 1px solid rgba(255, 250, 243, 0.28);
  box-shadow: 0 8px 24px rgba(26, 20, 14, 0.28);
  letter-spacing: 0.02em;
  font-size: 14px;
  font-weight: 650;
}
.voz-mute svg { width: 22px; height: 22px; flex: none; }
.voz-mute .ico-off { display: none; }
.voz-mute.is-muted {
  background: var(--wine);
  border-color: rgba(255, 250, 243, 0.2);
  color: #fffaf3;
}
.voz-mute.is-muted .ico-on { display: none; }
.voz-mute.is-muted .ico-off { display: block; }
body.is-menu .voz-mute,
body.is-who .voz-mute,
body.is-lang .voz-mute {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 8px 20px rgba(42, 33, 24, 0.12);
}
body.is-lang .voz-mute {
  right: calc(280px + 16px);
  background: rgba(26, 20, 14, 0.9);
  color: #fffaf3;
  border-color: rgba(255, 250, 243, 0.28);
}
body.is-lang .voz-mute.is-muted {
  background: var(--wine);
  color: #fffaf3;
}
body.is-menu .topbar { padding-right: min(220px, 40vw); }
.voz-mic {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  min-width: 168px;
  padding: 16px 22px;
  box-shadow: 0 10px 28px rgba(42, 33, 24, 0.18);
}
.voz-mic.on {
  background: var(--wine);
  color: #fffaf3;
}
.voz-hud {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 41;
  width: min(420px, calc(100vw - 32px));
  background: #1a140e;
  color: #fffaf3;
  border-radius: 18px;
  padding: 16px 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(26, 20, 14, 0.35);
}
.voz-kicker {
  margin: 0 0 6px;
  font-family: Outfit, system-ui, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold-2);
}
.voz-hud p:last-child { margin: 0; font-size: 20px; }
body.voz-on .buddy { visibility: visible; }

.cfg-grid { display: grid; gap: 16px; max-width: 560px; }
.cfg-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 12px;
}
.cfg-card h2 { margin: 0; font-size: 22px; }
.cfg-opt {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
  color: var(--ink);
}
.cfg-opt input { width: auto; margin: 0; }

.rate-card {
  max-width: 560px;
  margin: 4vh auto 24px;
  padding: 22px 20px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  gap: 8px;
  box-shadow: 0 18px 40px rgba(42, 33, 24, 0.12);
}
.rate-card h1 { margin: 0; font-size: 28px; }
.rate-lab {
  margin: 6px 0 0;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.stars {
  display: flex;
  gap: 6px;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.stars button {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 14px;
  background: var(--bg);
  color: #c9bfb2;
  font-size: 24px;
  line-height: 1;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
}
.stars button.on { color: var(--gold); background: rgba(196, 163, 90, 0.16); }
.rate-card textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
}
body.is-rate .voz-mute { display: none; }

.bill-ask { gap: 12px; }
.bill-ask h1 { font-size: 24px; margin-top: 8px; }
.bill-opts { display: grid; gap: 8px; }
.bill-opts button {
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
}
.bill-opts button.on {
  background: var(--olive, #3d5a3a);
  color: #fff;
  border-color: transparent;
}
.wrap-what { display: grid; gap: 6px; }
.wrap-opt {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 12px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-size: 15px;
}
.kds-waiters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
}
.kds-waiters > p {
  width: 100%;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: Outfit, system-ui, sans-serif;
}
.kds-waiters-tog {
  padding: 8px 14px;
  font-size: 13px;
}
.kds-waiters:not(.is-open) .kds-w,
.kds-waiters:not(.is-open) > p,
.kds-waiters:not(.is-open) .kds-waiters-any {
  display: none;
}
.kds-w {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
}
.kds-w span { font-size: 12px; color: var(--muted); }
.kds-w.on { border-color: #2d6a4f; }
.kds-w.on strong::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d6a4f;
  margin-right: 6px;
}
.salao-add {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #d8ccbb;
  display: grid;
  gap: 8px;
}
.salao-add input {
  font: inherit;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #cfc3b2;
  background: transparent;
  color: inherit;
}
.salao-hits { display: grid; gap: 6px; max-height: 220px; overflow: auto; }
.salao-hit {
  display: flex;
  gap: 8px;
  align-items: center;
}
.salao-hit button { text-align: left; flex: 1; }
.salao-hit button.ghost { flex: 0 0 auto; }
.salao-hits button { text-align: left; }
.till-head b.till-salao {
  flex: 1 0 100%;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b3a1f;
}
.cx-garcom-pay {
  margin: 2px 0 0;
  padding: 10px 0 2px;
  border-top: 1px solid #d8ccbb;
}
.cx-garcom-pay h3 {
  margin: 0 0 6px;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #241c16;
}
.cx-garcom-pay p {
  margin: 0 0 4px;
  color: #6a5c4e;
  font-size: 14px;
  line-height: 1.4;
}
.cx-garcom-pay .olive {
  margin-top: 10px;
  padding: 12px 16px;
}
.cx-troco-box {
  padding: 8px 0 4px;
}
.cx-troco-box strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #3d5a3a;
}
.cx-troco-box.falta strong { color: #B5502F; }
.cx-troco-box span {
  color: #6a5c4e;
  font-size: 13px;
}
.till-rec .till-troco-big {
  flex: 1 0 100%;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  color: #3d5a3a;
}
.caixa-desk .till-item-list {
  max-height: 42vh;
  overflow-y: auto;
}

/* Caixa — bancada de operação */
body.staff-app:has(.caixa-desk) {
  background: #efe8dc;
}
body.staff-app .caixa-desk {
  display: flex;
  flex-direction: column;
  max-width: none;
  min-height: 100dvh;
  height: auto;
  padding: 18px 24px 72px;
  background: transparent;
  color: #241c16;
  overflow: visible;
  font-size: 14px;
}
.caixa-desk input,
.caixa-desk select,
.caixa-desk textarea {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  padding: 6px 10px;
  width: auto;
  max-width: 100%;
  border: 1px solid #e4d8c8;
  border-radius: 4px;
  background: #fffaf3;
  color: #241c16;
}
.caixa-desk input:focus,
.caixa-desk select:focus,
.caixa-desk textarea:focus {
  outline: 2px solid rgba(74, 93, 58, 0.28);
  border-color: #4A5D3A;
  background: #fffaf3;
}
.cx-mast {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex: 0 0 auto;
  margin: 0 0 10px;
}
.cx-mast h1 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cx-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: #6a5c4e;
}
.cx-when {
  text-align: right;
}
.cx-when time {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cx-when span {
  font-size: 12px;
  color: #6a5c4e;
}
.cx-kicker {
  margin: 0 0 2px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6a5c4e;
  font-weight: 700;
}
.cx-turno {
  flex: 0 0 auto;
  margin: 0 0 12px;
}
.cx-ops-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1.15fr);
  background: #fffaf3;
  border: 1px solid #e4d8c8;
}
.cx-ops-card.is-off { grid-template-columns: 1fr; }
.cx-ops-turno {
  padding: 16px 18px;
  min-width: 0;
}
.cx-ops-card.is-on .cx-ops-turno {
  background: #1e1914;
  color: #f3ece3;
}
.cx-ops-card.is-on .cx-ops-turno .cx-kicker { color: #b7aa9c; }
.cx-ops-card.is-on .cx-ops-turno h2 { color: #fffaf3; }
.cx-ops-card.is-on .cx-ops-turno > p { color: #b7aa9c; }
.cx-ops-card.is-off .cx-kicker { color: #B5502F; }
.cx-ops-turno h2,
.cx-ops-salao h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cx-ops-turno > p,
.cx-ops-salao .hq-quiet {
  margin: 4px 0 0;
  color: #6a5c4e;
  font-size: 13px;
  max-width: 46em;
}
.cx-ops-salao {
  padding: 16px 18px;
  min-width: 0;
  border-left: 1px solid #e4d8c8;
}
.cx-ops-salao .cx-hint { margin-top: 8px; }
.cx-turno-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 14px;
}
.cx-turno-kpis article {
  min-width: 88px;
  padding: 0 16px 0 0;
  margin-right: 12px;
  border-right: 1px solid #d8ccbb;
}
.cx-ops-card.is-on .cx-turno-kpis article { border-right-color: rgba(243, 236, 227, 0.14); }
.cx-turno-kpis article:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.cx-turno-kpis small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a5c4e;
  font-weight: 600;
}
.cx-ops-card.is-on .cx-turno-kpis small { color: #a89888; }
.cx-turno-kpis strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin-top: 2px;
}
.cx-ops-card.is-on .cx-turno-kpis strong { color: #fffaf3; }
.cx-ops-card.is-on .cx-turno-kpis article:last-child strong { color: #d5e0c8; }
.cx-abrir, .cx-mov, .cx-fecha {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: flex-end;
}
.cx-ops-turno .cx-abrir { margin-top: 12px; }
.cx-abrir label, .cx-fecha label {
  display: grid;
  gap: 2px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a5c4e;
  font-weight: 600;
}
.cx-abrir input, .cx-mov input, .cx-fecha input, .cx-whats input {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid #e4d8c8;
  border-radius: 4px;
  background: #fffaf3;
  color: #241c16;
  width: 108px;
}
.cx-abrir input:focus, .cx-mov input:focus, .cx-fecha input:focus, .cx-whats input:focus {
  outline: 2px solid rgba(74, 93, 58, 0.28);
  border-color: #4A5D3A;
}
.cx-mov input[name="motivo"] { width: 180px; }
.caixa-desk button.olive { background: #4A5D3A; color: #fff; border-radius: 0; }
.cx-bench {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  border: 0;
}
.cx-floor-band {
  padding: 2px 0 0;
}
.cx-conta-band {
  background: #fffaf3;
  border: 1px solid #e4d8c8;
  padding: 14px 18px 18px;
  min-width: 0;
}
.cx-foot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 0;
  padding: 14px 18px 16px;
  border: 1px solid #e4d8c8;
  background: #f6f0e6;
  min-height: 0;
  max-height: none;
  overflow: visible;
}
.cx-foot > div:empty { display: none; }
.cx-foot > div:not(:empty) {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0 18px 4px 0;
  margin-right: 18px;
  border-right: 1px solid #d8ccbb;
}
.cx-foot > div:not(:empty):last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: 0;
}
.cx-col-head {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6a5c4e;
}
.cx-floor-band .cx-col-head { margin-top: 10px; }
.caixa-desk .bill-calls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
  padding: 10px 12px;
  background: #f8eee8;
  border: 1px solid #e8cfc4;
}
.caixa-desk .bill-calls > p {
  flex: 1 0 100%;
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B5502F;
  font-weight: 700;
}
.caixa-desk .bill-call {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  flex: 1 1 180px;
  max-width: 280px;
  padding: 10px 12px;
  background: #fffaf3;
  border: 1px solid #e8cfc4;
  border-radius: 0;
  color: #241c16;
  text-align: left;
  cursor: pointer;
  letter-spacing: 0;
  font-weight: 500;
}
.caixa-desk .bill-call strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 16px;
  font-weight: 600;
}
.caixa-desk .bill-call span { font-size: 12px; color: #6a5c4e; flex: 1; }
.caixa-desk .bill-call em {
  font-style: normal;
  font-size: 11px;
  color: #B5502F;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex: 1 0 100%;
}
.caixa-desk .floor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.caixa-desk .floor .chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  flex: 1 1 148px;
  max-width: 220px;
  min-height: 64px;
  padding: 10px 12px;
  background: #fffaf3;
  border: 1px solid #e4d8c8;
  border-radius: 0;
  box-shadow: none;
  color: #241c16;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0;
  cursor: pointer;
}
.caixa-desk .floor .chip .n {
  font-family: Fraunces, Georgia, serif;
  font-size: 16px;
  font-weight: 600;
}
.caixa-desk .floor .chip .msg {
  margin: 0;
  font-size: 12px;
  color: #6a5c4e;
  text-align: left;
  flex: 0;
}
.caixa-desk .floor .chip.ocupada {
  background: #fffaf3;
  border-color: #e4d8c8;
  color: #241c16;
}
.caixa-desk .floor .chip.on,
.caixa-desk .floor .chip.ocupada.on {
  background: #1e1914;
  border-color: #1e1914;
  color: #fffaf3;
}
.caixa-desk .floor .chip.on .msg,
.caixa-desk .floor .chip.ocupada.on .msg { color: #c4b8a8; }
.caixa-desk .floor .chip.quer-conta {
  background: #f8eee8;
  border-color: #e0b8a8;
  color: #6b3a1f;
}
.caixa-desk .floor .chip.quer-conta .msg { color: #B5502F; }
.caixa-desk .floor .chip.quer-conta.on {
  background: #B5502F;
  border-color: #B5502F;
  color: #fffaf3;
}
.caixa-desk .floor .chip.quer-conta.on .msg { color: #f3d8ce; }
.caixa-desk .hq-quiet { padding: 8px 0; font-size: 14px; }
.cx-empty {
  padding: 12px 0;
  color: #6a5c4e;
  font-size: 15px;
}
.cx-empty p { margin: 0; max-width: 28em; }
.caixa-desk .caixa-garcons { max-width: none; margin: 0; }
.caixa-desk .cx-card {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.caixa-desk .cx-card h3 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 15px;
  font-weight: 500;
}
.cx-hint, .cx-esp, .cx-fiscal {
  margin: 6px 0 0;
  font-size: 12px;
  color: #6a5c4e;
}
.cx-hist { list-style: none; margin: 0; padding: 0; }
.cx-hist li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #e4ddd2;
  font-size: 13px;
  color: #6a5c4e;
}
.cx-hist li strong { color: #241c16; font-family: Fraunces, Georgia, serif; }
.cx-hist li.sangria strong { color: #B5502F; }
#caixaWork.is-locked { pointer-events: none; user-select: none; }
#caixaWork.is-locked::after { display: none; }
.caixa-desk .till {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 14px;
  display: grid;
  gap: 10px;
}
.caixa-desk .till-head,
.caixa-desk .till-row,
.caixa-desk .till-seats,
.caixa-desk .till-rec,
.caixa-desk .till-itens,
.caixa-desk .till-sum {
  flex-wrap: wrap;
  white-space: normal;
  overflow: visible;
}
.caixa-desk .till-head strong,
.caixa-desk .till-head em,
.caixa-desk .till-rec strong,
.caixa-desk .till-n {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
}
.caixa-desk .till-head strong { font-size: 20px; }
.caixa-desk .till-head em {
  font-style: normal;
  font-size: 22px;
  color: #3d5a3a;
}
.caixa-desk .till-sum b { color: #241c16; }
.caixa-desk .till-sep { background: #d8ccbb; }
.caixa-desk .till label input {
  width: 92px;
  padding: 6px 10px;
  border: 1px solid #e4d8c8;
  border-radius: 4px;
  background: #fffaf3;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 14px;
}
.caixa-desk .till label input:focus {
  outline: 2px solid rgba(74, 93, 58, 0.35);
  border-color: #4A5D3A;
}
.caixa-desk .till button {
  padding: 0 0 3px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #241c16;
  color: #241c16;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.caixa-desk .till .hs-mover-mesas button {
  padding: 7px 12px;
  border: 1px solid #d8ccbb;
  border-bottom: 1px solid #d8ccbb;
  background: #fffaf3;
  letter-spacing: 0.02em;
  text-transform: none;
}
.caixa-desk .till .hs-mover-mesas button.ghost {
  border-color: transparent;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.caixa-desk .till button.ghost {
  background: transparent;
  border-bottom: 1px solid #cfc3b2;
}
.caixa-desk .till button.on {
  background: transparent;
  color: #3d5a3a;
  border-bottom-color: #3d5a3a;
}
.caixa-desk .till-pay button {
  padding: 8px 14px;
  border: 1px solid #d8ccbb;
  border-bottom: 1px solid #d8ccbb;
  background: #fff;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 14px;
}
.caixa-desk .till-pay button.ghost { border-bottom-color: #d8ccbb; }
.caixa-desk .till-pay button.on {
  background: #3d5a3a;
  border-color: #3d5a3a;
  color: #fff;
}
.caixa-desk .till #btnPagar,
.caixa-desk .till button.olive,
.caixa-desk .cx-abrir button.olive,
.caixa-desk .cx-mov button.olive,
.caixa-desk .cx-fecha button[type="submit"] {
  padding: 9px 14px;
  border: 0;
  background: #4A5D3A;
  color: #fff;
}
.caixa-desk .till button[disabled] { opacity: 0.35; }
.caixa-desk .till-btns { gap: 14px; padding-top: 4px; }
.caixa-desk .till-docs {
  gap: 12px 14px;
  padding-top: 10px;
  margin-top: 2px;
  border-top: 1px solid #d8ccbb;
}
.caixa-desk .till-seat {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d8ccbb;
  border-radius: 0;
  padding: 6px 0;
}
.caixa-desk .till-seat.on {
  background: transparent;
  border-bottom-color: #4A5D3A;
  color: #241c16;
}
.caixa-desk .till-troco.falta { color: #B5502F; }
.caixa-desk .caixa-recado {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 0;
}
.caixa-desk .caixa-recado select,
.caixa-desk .caixa-recado input {
  width: auto;
  min-width: 120px;
  flex: 1 1 120px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid #e4d8c8;
  border-radius: 4px;
  background: #fff;
  color: #241c16;
}
.caixa-desk .caixa-recado select:focus,
.caixa-desk .caixa-recado input:focus {
  outline: 2px solid rgba(74, 93, 58, 0.35);
  border-color: #4A5D3A;
}
.caixa-desk .caixa-recado button {
  padding: 8px 14px;
  border-radius: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
  min-height: 38px;
}
.caixa-desk .caixa-recado button.ghost {
  background: #fff;
  border: 1px solid #d8ccbb;
  color: #241c16;
}
.caixa-desk .caixa-recado button.olive {
  background: #4A5D3A;
  border: 1px solid #4A5D3A;
  color: #fff;
}
.caixa-desk .cx-mov button.ghost {
  padding: 0 0 3px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #241c16;
  color: #241c16;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.cx-whats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6a5c4e;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.cx-fiscal { font-size: 12px; letter-spacing: 0.03em; }

@media (max-width: 1180px) {
  body.staff-app .caixa-desk { height: auto; min-height: 100dvh; overflow: auto; }
  .cx-ops-card,
  .cx-ops-card.is-on { grid-template-columns: 1fr; }
  .cx-ops-salao { border-left: 0; border-top: 1px solid #e4d8c8; }
  .caixa-desk .floor .chip { max-width: none; }
  .cx-foot {
    max-height: none;
  }
  .cx-foot > div:not(:empty) {
    flex: 1 1 240px;
    margin-right: 0;
    padding: 0 16px 14px 0;
  }
}

/* Chat da equipe */
.hs-chat {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 45;
  font-family: "Source Sans 3", system-ui, sans-serif;
}
.hs-chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1e1914;
  color: #f3ece3;
  border: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(30, 25, 20, 0.28);
}
.hs-chat-fab b {
  display: none;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 99px;
  background: #3d5a3a;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0;
}
.hs-chat-fab.has-n b { display: inline-block; }
.hs-chat-panel {
  position: absolute;
  right: 0;
  bottom: 52px;
  width: 360px;
  height: min(520px, calc(100dvh - 96px));
  display: flex;
  flex-direction: column;
  background: #f7f1e8;
  border: 1px solid #d8ccbb;
  box-shadow: 0 16px 40px rgba(30, 25, 20, 0.18);
}
.hs-chat-panel.hidden, .hs-chat-thread.hidden, .hs-chat-list.hidden, .hs-chat-back.hidden { display: none; }
.hs-chat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #1e1914;
  color: #f3ece3;
  flex: 0 0 auto;
}
.hs-chat-top strong {
  flex: 1;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 16px;
}
.hs-chat-top button {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f3ece3;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.hs-chat-list {
  flex: 1;
  overflow: auto;
  padding: 0 0 8px;
}
.hs-chat-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #e4ddd2;
  border-radius: 0;
  background: transparent;
  color: #241c16;
  text-align: left;
  letter-spacing: 0;
  font-weight: 500;
}
.hs-chat-row strong { font-size: 14px; }
.hs-chat-row span {
  grid-column: 1;
  font-size: 12px;
  color: #6a5c4e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hs-chat-row em {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-style: normal;
  align-self: center;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 99px;
  background: #3d5a3a;
  color: #fff;
  font-size: 11px;
  text-align: center;
}
.hs-chat-row em:empty { display: none; }
.hs-chat-row .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 99px;
  background: #cfc3b2;
  vertical-align: middle;
}
.hs-chat-row .dot.on { background: #3d5a3a; }
.hs-chat-thread {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.hs-chat-msgs {
  flex: 1;
  overflow: auto;
  padding: 12px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #efe8dc;
}
.hs-chat-b {
  max-width: 82%;
  padding: 7px 10px;
  border-radius: 12px 12px 12px 3px;
  background: #fffaf3;
  color: #241c16;
  font-size: 14px;
  line-height: 1.35;
  align-self: flex-start;
}
.hs-chat-b.me {
  align-self: flex-end;
  background: #3d5a3a;
  color: #f3ece3;
  border-radius: 12px 12px 3px 12px;
}
.hs-chat-b small {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hs-chat-form {
  display: flex;
  gap: 8px;
  padding: 8px 10px 10px;
  background: #f7f1e8;
  border-top: 1px solid #d8ccbb;
}
.hs-chat-form input {
  flex: 1;
  font: inherit;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #d8ccbb;
  background: transparent;
  color: #241c16;
}
.hs-chat-form input:focus { outline: none; border-bottom-color: #241c16; }
.hs-chat-form button {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #241c16;
  color: #241c16;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
}
@media (max-width: 860px) {
  .hs-chat { right: 12px; bottom: 12px; }
  .hs-chat-panel {
    position: fixed;
    inset: 12px 12px 64px;
    width: auto;
    height: auto;
    bottom: 64px;
  }
}

.gate-app, .gate-go {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: var(--orange);
  text-decoration: none;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
}
.gate-hint a { color: var(--gold); font-weight: 650; }
.app-steps {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  display: grid;
  gap: 10px;
}
.saas-form {
  max-width: 760px;
  padding: 22px;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.saas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.saas-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 4px;
}
.saas-card small {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.saas-card strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}
.saas-card span { color: var(--muted); font-size: 14px; }
.saas-card em { font-style: normal; font-size: 12px; color: var(--ok); }
.saas-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.saas-actions button { width: 100%; }
.gate-choice {
  width: min(420px, 100%);
  display: grid;
  gap: 12px;
}
.gate-choice h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 40px;
}
.gate-choice button { width: 100%; }
.gate-back {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 4px;
  width: auto;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  text-align: left;
}

@media (max-width: 860px) {
  body.staff-app {
    padding-left: 0;
    padding-bottom: 88px;
  }
  body.staff-app #nav {
    inset: auto 0 0 0;
    width: 100%;
    height: auto;
  }
  body.staff-app .staff-top {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    gap: 8px 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-right: 0;
    border-top: 1px solid rgba(196, 163, 90, 0.22);
  }
  body.staff-app .staff-top .brand { font-size: 20px; }
  body.staff-app .staff-top #hqKicker { margin: 4px 0 0; }
  body.staff-app .staff-top nav {
    flex-direction: row;
    flex: 1 1 100%;
    overflow-x: auto;
    gap: 6px;
  }
  body.staff-app .staff-top .nav-pack,
  body.staff-app .staff-top .nav-pack.is-casa {
    flex-direction: row;
    padding: 0;
    border: 0;
  }
  body.staff-app .staff-top nav a {
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 13px;
    border-radius: 999px;
  }
  body.staff-app .staff-top nav a.on {
    width: auto;
    border-bottom: 0;
    background: #e07a32;
    background-image: linear-gradient(165deg, #e4a24a 0%, #e07a32 100%);
    color: #1a140e;
  }
  .hq-main, .staff-page, .kds-page, .caixa-desk { padding-left: 16px; padding-right: 16px; }
}

.site-foot {
  background: #0c0a08;
  color: rgba(255, 250, 243, 0.72);
  padding: 42px 0 28px;
  border-top: 1px solid rgba(196, 163, 90, 0.18);
}
.site-foot .wrap { width: min(1160px, 92%); margin: auto; }
.site-foot .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #fffaf3;
  text-decoration: none;
}
.site-foot .mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a140e;
  display: grid;
  place-items: center;
  font-family: Outfit, sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 32px;
  align-items: center;
  padding-bottom: 28px;
}
.foot-copy-txt { max-width: 340px; font-size: 14px; margin-top: 10px; color: rgba(255, 250, 243, 0.55); }
.foot-links { display: grid; gap: 8px; font-size: 14px; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover { color: var(--gold-2); }
.gf {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}
.gf img { height: 58px; width: auto; display: block; }
.gf p {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 250, 243, 0.86);
  white-space: nowrap;
}
.foot-bar {
  border-top: 1px solid rgba(255, 250, 243, 0.08);
  padding-top: 18px;
  font-size: 12px;
  color: rgba(255, 250, 243, 0.42);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 960px) {
  .foot-grid { grid-template-columns: 1fr; }
  .gf { justify-self: start; }
}

.plat-banner {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 11px 20px;
  background: #1a140e;
  color: #fffaf3;
  font-family: Outfit, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-align: center;
}
.plat-banner strong { color: var(--gold-2); font-weight: 650; }
.plat-banner .ghost {
  margin: 0;
  padding: 7px 14px;
  color: #fffaf3;
  border-color: rgba(196, 163, 90, 0.45);
  background: transparent;
}

.plat-page { max-width: 1180px; }
.plat-pane { display: none; }
.plat-pane.on { display: block; }
.plat-hello h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  margin: 0 0 8px;
}
.plat-hello p { margin: 0 0 22px; color: var(--muted); max-width: 560px; }

.plat-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.plat-kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
.plat-kpi small {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.plat-kpi strong {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 34px;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.03em;
}

.plat-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.plat-bar input, .plat-bar select {
  font: inherit;
  font-family: Outfit, sans-serif;
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--ink);
}
.plat-bar input { flex: 1; min-width: 180px; }
.plat-bar .spacer { flex: 1; }

.plat-list { display: grid; gap: 10px; }
.plat-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto auto;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  cursor: pointer;
}
.plat-row.on { box-shadow: 0 0 0 1px var(--orange); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.plat-row small {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.plat-row strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}
.plat-row .meta { color: var(--muted); font-size: 14px; }
.plat-st {
  font-family: Outfit, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--ok);
}
.plat-st.off { color: var(--bad); }
.plat-row-act button.ghost {
  background: #fff;
  border-color: var(--orange);
}
.plat-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 18px;
}

.plat-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
  gap: 16px;
  align-items: start;
}
.plat-ficha {
  position: sticky;
  top: 24px;
  padding: 20px 22px;
  display: grid;
  gap: 8px;
}
.plat-ficha h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
}
.plat-ficha small {
  font-family: Outfit, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.plat-dl { display: grid; gap: 10px; margin: 8px 0 4px; }
.plat-dl div { display: grid; gap: 2px; }
.plat-dl dt {
  font-family: Outfit, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.plat-dl dd { margin: 0; }
.plat-admins { display: grid; gap: 10px; margin-bottom: 22px; }
.plat-admin {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  background: var(--paper);
}
.plat-admin strong { font-size: 16px; }
.plat-admin span { color: var(--muted); font-size: 13px; }
.plat-sub { font-size: 22px; margin: 28px 0 12px; }

@media (max-width: 860px) {
  .plat-kpis { grid-template-columns: 1fr 1fr; }
  .plat-row { grid-template-columns: 1fr; gap: 8px; }
  .plat-row-act { justify-content: stretch; }
  .plat-row-act button { flex: 1; }
  .plat-bar { display: grid; grid-template-columns: 1fr; }
  .plat-bar input { min-width: 0; }
  .plat-split { grid-template-columns: 1fr; }
  .plat-ficha { position: static; }
}

