@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root {
  /* identidade Prato na Mesa (documento do logo, 25/11/2026) */
  --cor: #D93A22;          /* Tomate: cor principal (o restaurante pode trocar no painel) */
  --cor-texto: #fff;       /* texto sobre o Tomate (contraste 4,6:1); no cardápio é calculado pela cor do restaurante */
  --cor-forte: color-mix(in srgb, var(--cor) 72%, #000); /* tom escuro da cor para texto sobre branco */
  --acafrao: #FFB224;      /* Açafrão: detalhes e selos, nunca como cor de texto */
  /* tons claros (os nomes antigos ficaram para não quebrar as páginas) */
  --azul: #FBE3DA;         /* tomate claro */
  --cinza: #EEE5DC;        /* creme escuro */
  --pessego: #FFE4AE;      /* açafrão claro */
  --rosa: #F6C6B9;         /* tomate médio claro */
  --blush: #F3E6D8;        /* creme queimado */
  --fundo: #FFF5EB;        /* Creme */
  --texto: #1F1A17;        /* Grafite */
  --suave: #5C4F45;
  --linha: #EADBCB;
  --cartao: #ffffff;
  --raio: 18px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* senão classes com display (ex.: .campo) ignoram o hidden */
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--fundo);
  color: var(--texto);
  line-height: 1.45;
}
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: Sora, system-ui, sans-serif; letter-spacing: -.02em; }
.btn:disabled { opacity: .6; cursor: wait; }
.topo { background: var(--azul); color: var(--texto); padding: 22px 18px 18px; }
.topo h1 { margin: 0; font-size: 1.5rem; }
.topo p { margin: 4px 0 0; color: var(--suave); font-size: .95rem; }
.acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  border: 1px solid var(--linha); background: #fff; color: var(--texto);
  border-radius: 12px; padding: 8px 14px; font-size: .9rem;
}
.btn.principal { background: var(--cor); border-color: var(--cor); color: var(--cor-texto); font-weight: 600; }
.btn.escuro { background: var(--texto); border-color: var(--texto); color: #fff; }
.btn.suave { background: var(--azul); border-color: var(--azul); color: var(--texto); font-weight: 600; }
.selo { display: inline-block; font: 600 .72rem system-ui, sans-serif; padding: 3px 9px; border-radius: 99px; margin-left: 6px; vertical-align: middle; letter-spacing: 0; }
.selo.ar { background: var(--cor); color: var(--cor-texto); }
.selo.off { background: var(--cinza); color: var(--suave); }
.dica { font-size: .82rem; color: var(--suave); margin: 0; }

/* ---------- cardápio público (index.html) ---------- */
.capa {
  position: relative; overflow: hidden; padding: 28px 18px 22px;
  background:
    radial-gradient(circle at 92% 10%, var(--pessego) 0 70px, transparent 71px),
    radial-gradient(circle at 78% 95%, var(--blush) 0 46px, transparent 47px),
    var(--azul);
}
.capa-conteudo { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 14px; position: relative; }
.avatar {
  flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cor); color: var(--cor-texto); font: 700 1.6rem Sora, system-ui, sans-serif;
  box-shadow: 0 0 0 4px #fff;
}
.capa h1 { margin: 0; font-size: 1.65rem; line-height: 1.1; }
.capa p { margin: 3px 0 8px; color: var(--suave); font-size: .92rem; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; background: #fff; font-size: .78rem; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #A3968B; }
.status.aberto::before { background: #2F9E57; }
.abas {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 14px; background: color-mix(in srgb, var(--fundo) 92%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
}
.abas a {
  white-space: nowrap; text-decoration: none; color: var(--texto);
  padding: 7px 15px; border-radius: 99px; background: #fff; border: 1px solid var(--linha); font-size: .9rem; font-weight: 500;
}
.abas a.ativa { background: var(--texto); border-color: var(--texto); color: #fff; }
main { max-width: 720px; margin: 0 auto; padding: 8px 14px 130px; }
main h2 { font-size: 1.3rem; margin: 26px 0 12px; scroll-margin-top: 70px; }
.prato {
  display: grid; grid-template-columns: 1fr 104px; gap: 12px 14px;
  background: var(--cartao); border-radius: var(--raio); padding: 14px;
  margin-bottom: 12px; box-shadow: 0 1px 2px rgba(31,26,23,.06), 0 4px 14px rgba(31,26,23,.05);
}
.prato.esgotado { opacity: .55; }
.prato h3 { margin: 0 0 4px; font-size: 1.08rem; }
.prato p { margin: 0 0 10px; color: var(--suave); font-size: .9rem; }
.preco { font: 700 1.1rem Sora, system-ui, sans-serif; color: var(--cor-forte); }
.prato .acoes { grid-column: 1 / -1; }
.prato .btn { min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.miniatura {
  width: 104px; height: 104px; border-radius: 14px; align-self: start;
  background: var(--pessego) center/cover no-repeat; color: rgba(31,26,23,.45);
  display: grid; place-items: center;
}
.miniatura.tom1 { background-color: var(--blush); }
.miniatura.tom2 { background-color: var(--rosa); }
.carrinho {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 16; /* fica por cima do reels */
  max-width: 696px; margin: 0 auto; padding: 12px 12px 12px 18px; border-radius: 20px;
  background: var(--texto); color: #fff; box-shadow: 0 10px 30px rgba(31,26,23,.3);
  display: none; align-items: center; justify-content: space-between; gap: 10px;
}
.carrinho.visivel { display: flex; }
.carrinho span { opacity: .8; font-size: .9rem; }

/* destaques (stories) */
.destaques { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; max-width: 720px; margin: 0 auto; padding: 16px 16px 6px; }
.bolha { flex: none; width: 74px; padding: 0; border: 0; background: none; color: var(--texto); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bolha .anel { display: block; width: 70px; height: 70px; padding: 3px; border-radius: 50%; background: var(--cor); }
.bolha .foto { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--fundo); background: var(--pessego) center/cover no-repeat; }
.bolha .foto.tom1 { background-color: var(--blush); } .bolha .foto.tom2 { background-color: var(--rosa); }
.bolha small { max-width: 74px; font-size: .75rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aba-reels { flex: none; border: 0; padding: 7px 15px; border-radius: 99px; background: var(--cor); color: var(--cor-texto); font-size: .9rem; font-weight: 600; white-space: nowrap; }

/* reels (tela cheia, arrasta para cima) */
.tela { position: fixed; inset: 0; z-index: 15; background: #000; }
.slides { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: flex-end; background: var(--pessego) center/cover no-repeat; }
.slide.tom1 { background-color: var(--blush); } .slide.tom2 { background-color: var(--rosa); }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(31,26,23,.88)); } /* deixa o texto legível em cima da foto */
.sem-foto { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%) scale(3.5); color: rgba(31,26,23,.3); }
.slide-info { position: relative; width: 100%; max-width: 720px; margin: 0 auto; padding: 20px 18px calc(100px + env(safe-area-inset-bottom)); color: #fff; }
.slide-info h3 { margin: 0 0 6px; font-size: 1.8rem; line-height: 1.1; }
.slide-info p { margin: 0 0 8px; opacity: .9; }
.slide-info .preco { color: #fff; font-size: 1.4rem; margin-bottom: 14px; }
.slide .btn { min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.fechar-tela { position: absolute; z-index: 1; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 1.7rem; line-height: 1; }

/* visualizador 3D / AR */
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(31,26,23,.55); display: none; align-items: flex-end; justify-content: center; }
.modal.aberto { display: flex; }
.modal-caixa { background: #fff; width: 100%; max-width: 720px; border-radius: 24px 24px 0 0; padding: 10px 16px 18px; }
.modal-caixa::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--cinza); margin: 0 auto 10px; }
.modal-caixa header { display: flex; justify-content: space-between; align-items: center; }
.modal-caixa h3 { margin: 0; font-size: 1.25rem; }
model-viewer { width: 100%; height: 55vh; background: radial-gradient(circle at 50% 35%, #fff 0%, var(--azul) 75%); border-radius: 18px; margin: 12px 0; --poster-color: transparent; }
.botao-ar {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap;
  background: var(--cor); color: var(--cor-texto); border: 0; border-radius: 99px; padding: 12px 22px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(31,26,23,.2);
}

/* painel */

.campo { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: .88rem; }
.campo input, .campo textarea, .campo select {
  font: inherit; padding: 8px 10px; border: 1px solid var(--linha); border-radius: 8px; background: #fff;
}
.grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.cartao { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; margin-bottom: 12px; }
.linha-prato { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--linha); }
.linha-prato:first-of-type { border-top: 0; }
.qr-placa { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 16px; margin: 0 auto 12px; max-width: 320px; border: 2px dashed var(--linha); border-radius: var(--raio); }
.qr-placa strong { font-size: 1.2rem; }
.qr-placa span { font-size: .9rem; color: var(--suave); }
/* ao imprimir o painel, sai só a placa do QR */
@media print {
  .painel .menu, .conteudo > :not([data-tela="qr"]), .sem-impressao { display: none !important; }
  .painel #qr { border: 0; }
}
.aviso { padding: 10px 12px; border-radius: 10px; background: #fff4e6; border: 1px solid #ffd8a8; font-size: .88rem; }

/* página inicial (inicio.html) */
.inicio { background: var(--fundo); }
.barra { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1040px; margin: 0 auto; padding: 16px; }
/* logo: símbolo + "prato" em negrito + "na mesa" leve, tudo minúsculo */
.marca { display: flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font: 400 1.3rem Sora, system-ui, sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.marca b { font-weight: 700; }
.marca svg { width: 36px; height: 36px; flex: none; }
.inicio a.btn, .capa a.btn { text-decoration: none; display: inline-block; }
.btn.grande { padding: 12px 18px; font-size: 1rem; font-weight: 600; border-radius: 12px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; margin: 0 0 14px; }
.hero h1 em { color: var(--cor); font-style: normal; }
.hero p { font-size: 1.1rem; color: var(--suave); margin: 0 0 22px; max-width: 34em; }
.hero model-viewer { height: 380px; margin: 0; border-radius: 28px; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--azul) 72%); }
.secao { max-width: 1040px; margin: 0 auto; padding: 24px 16px; }
.secao h2 { font-size: 1.7rem; margin: 0 0 16px; }
.passos, .planos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.passos h3, .plano h3 { margin: 8px 0 6px; font-size: 1.15rem; }
.passos p, .plano p { margin: 0; color: var(--suave); }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cor); color: var(--cor-texto); font-weight: 700; }
.plano { position: relative; padding: 20px; }
.plano.destaque { border: 2px solid var(--cor); }
.plano .selo { position: absolute; top: 16px; right: 16px; margin: 0; }
.preco-plano { font: 700 2rem Sora, system-ui, sans-serif; margin-bottom: 8px; }
.preco-plano small { font: 400 .95rem system-ui, sans-serif; color: var(--suave); }
.rodape { text-align: center; color: var(--suave); font-size: .85rem; padding: 32px 16px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero model-viewer { height: 300px; order: -1; }
}
/* capa com foto do restaurante: escurece embaixo para o nome ficar legível */
.capa.com-foto { min-height: 190px; display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(to bottom, rgba(31,26,23,.05) 30%, rgba(31,26,23,.78)), var(--foto-capa) center/cover no-repeat; }
.capa.com-foto .capa-conteudo { width: 100%; }
.capa.com-foto p { color: rgba(255,255,255,.85); }
.avatar.com-foto { background: #fff center/cover no-repeat; }
.capa.com-foto .status { color: var(--texto); }

/* painel refinado (versão C refinada, 25/11/2026): menu grafite agrupado, barra no topo de cada tela, tabelas.
   Tudo com prefixo .app para não mexer no login nem no cardápio. */
.app {
  --p-fundo: #FAF6F1; --p-borda: #ECE2D8; --p-campo: #DCCFC2; --p-menu: #1F1A17; --p-menu-texto: #E4D9CF; --p-menu-suave: #A3968B;
  --p-verde: #1E7B45; --p-alerta: #B23A1C;
  display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--p-fundo);
}
.app h1, .app h2 { font-family: Sora, Inter, system-ui, sans-serif; letter-spacing: -.01em; }
.numero { font-variant-numeric: tabular-nums; }
.so-leitor { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* menu */
.menu { flex: 1 1 232px; max-width: 248px; background: var(--p-menu); padding: 20px 12px 12px; display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.menu .menu-marca { padding: 4px 10px 18px; color: #FFF5EB; font-size: 1.1rem; }
.menu .menu-marca svg { width: 30px; height: 30px; }
.menu-grupo { margin: 18px 12px 6px; font-size: .69rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--p-menu-suave); }
.menu a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--p-menu-texto);
  text-decoration: none; font-size: .9rem; font-weight: 500; }
.menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.menu a[aria-current] { background: rgba(255,255,255,.09); color: #fff; font-weight: 600; }
.menu a[aria-current] svg { stroke: var(--acafrao); }
.menu svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu .contador { margin-left: auto; min-width: 20px; text-align: center; background: var(--cor); color: var(--cor-texto); font-size: .7rem; font-weight: 700; border-radius: 99px; padding: 2px 6px; }
.menu-espaco { flex: 1; min-height: 20px; }
.menu-conta { display: flex; align-items: center; gap: 10px; padding: 12px 6px 4px 10px; border-top: 1px solid #352D28; }
.menu-avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--pessego) center/cover no-repeat; color: var(--texto);
  display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.menu-conta-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.menu-conta-texto strong { color: #fff; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-conta-texto small { color: var(--p-menu-suave); font-size: .75rem; }
.menu-conta button { width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--p-menu-suave); display: grid; place-items: center; }
.menu-conta button:hover { background: rgba(255,255,255,.06); color: #fff; }

/* conteúdo e barra do topo de cada tela */
.app .conteudo { flex: 999 1 560px; min-width: 0; max-width: none; margin: 0; padding: 0; }
.barra-tela { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px clamp(16px, 3vw, 32px); background: #fff; border-bottom: 1px solid var(--p-borda); }
.barra-tela h1 { margin: 0; font-size: 1.25rem; font-weight: 600; }
.barra-tela p { margin: 2px 0 0; color: var(--suave); font-size: .82rem; }
.barra-tela p::first-letter { text-transform: uppercase; }
.corpo-tela { padding: 24px clamp(16px, 3vw, 32px) 40px; max-width: 1180px; display: flex; flex-direction: column; gap: 20px; }
.corpo-tela.estreito { max-width: 980px; gap: 0; padding-top: 4px; }

/* botões do painel */
.app .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 8px;
  font-size: .875rem; font-weight: 500; text-decoration: none; border: 1px solid transparent; }
.app .btn.principal { background: var(--cor); color: var(--cor-texto); font-weight: 600; }
.app .btn.principal:hover { background: var(--cor-forte); }
.app .btn.contorno { background: #fff; border-color: var(--p-campo); color: var(--texto); }
.app .btn.contorno:hover { border-color: var(--suave); }
.app .btn.escuro { background: var(--texto); color: #fff; font-weight: 600; }
.app .btn.claro { background: rgba(255,255,255,.92); color: var(--texto); }
.app .btn.texto { background: none; color: var(--suave); padding: 0 10px; }
.app .btn.vermelho, .app .btn.perigo { color: var(--p-alerta); }
.app .btn.perigo { background: #fff; border-color: #F0C2B5; }
.app .btn.escuro-contorno { background: transparent; border-color: #4A403A; color: #fff; }
.app .btn.pequeno { min-height: 34px; padding: 0 12px; font-size: .82rem; }
.app .btn:disabled { opacity: .55; cursor: wait; }
.link-forte { font-size: .82rem; font-weight: 600; color: var(--cor-forte); }

/* chave liga/desliga (Recebendo pedidos e Disponível) */
.chave, .chave-botao { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 500; color: var(--texto); }
.chave { min-height: 40px; padding: 0 12px; border: 1px solid var(--p-campo); border-radius: 8px; background: #fff; cursor: pointer; position: relative; }
.chave input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chave-trilho { flex: none; width: 34px; height: 20px; border-radius: 99px; background: #C9BDB1; position: relative; transition: background .15s; }
.chave-trilho::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.chave:has(input:checked) .chave-trilho, .chave-botao[aria-checked="true"] .chave-trilho { background: var(--p-verde); }
.chave:has(input:checked) .chave-trilho::after, .chave-botao[aria-checked="true"] .chave-trilho::after { left: 16px; }
.chave:has(input:focus-visible) { outline: 2px solid var(--texto); outline-offset: 2px; }
.chave-botao { min-height: 36px; padding: 0; border: 0; background: none; }
.chave-botao[aria-checked="true"] { color: var(--p-verde); }
.chave-botao[aria-checked="false"] { color: var(--suave); }

/* cartões */
.app .cartao { background: #fff; border: 1px solid var(--p-borda); border-radius: 12px; padding: 0; margin: 0; box-shadow: 0 1px 2px rgba(31,26,23,.04); min-width: 0; }
.app .cartao-corpo { padding: 18px 20px; }
.cartao-cabeca { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.cartao-cabeca h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.cartao-cabeca .dica { margin-top: 2px; }
.vazio { margin: 0; padding: 18px 20px 22px; color: var(--suave); font-size: .875rem; }

/* números do topo */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.kpi { background: #fff; border: 1px solid var(--p-borda); border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(31,26,23,.04); }
.kpi p { margin: 0; color: var(--suave); font-size: .82rem; font-weight: 500; }
.kpi strong { display: block; margin: 8px 0 2px; font: 700 1.85rem Sora, Inter, sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--suave); font-size: .75rem; }

.grade-inicio { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.grade-inicio .largo { grid-column: 1 / -1; }

/* tabelas */
.rolagem { overflow-x: auto; position: relative; } /* position: segura o texto "só leitor" dentro da caixa */
.tabela { width: 100%; border-collapse: collapse; font-size: .875rem; }
.tabela th { padding: 12px 8px; color: var(--suave); font-size: .75rem; font-weight: 500; text-align: left; white-space: nowrap; }
.tabela td { padding: 12px 8px; border-top: 1px solid #F1E9E1; vertical-align: middle; }
.tabela th:first-child, .tabela td:first-child { padding-left: 20px; }
.tabela th:last-child, .tabela td:last-child { padding-right: 20px; }
.tabela .direita { text-align: right; }
.tabela .forte { font-weight: 600; }
.cartao-cabeca + .rolagem .tabela { margin-top: 8px; }
.mesa { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 8px; background: #F3ECE5; font-weight: 700; }
.mesa.atrasada { background: var(--azul); color: var(--cor-forte); }
.texto-alerta { color: var(--p-alerta); font-weight: 600; }
.tabela-pratos { min-width: 0; }
.tabela-pratos thead { background: #FCFAF7; }
.tabela-pratos tr.apagada td { background: #FCFAF7; }
.tabela-pratos tr.apagada .prato-nome, .tabela-pratos tr.apagada .miniatura-tabela { opacity: .6; }
.prato-celula { display: flex; align-items: center; gap: 12px; }
.miniatura-tabela { flex: none; width: 44px; height: 44px; border-radius: 8px; background: center/cover no-repeat; }
.prato-nome { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 600; }
.prato-desc { margin: 2px 0 0; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.etiqueta { font-size: .68rem; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: #F3ECE5; color: var(--texto); }
.etiqueta.tomate { background: var(--azul); color: var(--cor-forte); font-weight: 700; }

/* mais vistos */
.barra-prato { padding: 7px 0; font-size: .875rem; }
.barra-prato > div { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.barra-prato > div span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trilho { display: block; height: 6px; border-radius: 99px; background: #F1E9E1; overflow: hidden; }
.trilho span { display: block; height: 100%; border-radius: 99px; background: var(--texto); }

.caixa-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; background: var(--p-fundo); border: 1px solid var(--p-borda); border-radius: 8px;
  font-size: .82rem; color: var(--suave); font-weight: 400; }
.caixa-link span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* filtros e busca (tela Pratos) */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 34px; padding: 0 14px; border: 1px solid var(--p-campo); border-radius: 99px; background: #fff; color: var(--texto); font-size: .82rem; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--texto); border-color: var(--texto); color: #fff; }
.busca { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--p-campo); border-radius: 8px; background: #fff; color: var(--suave); min-width: 210px; }
.busca svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.busca input { border: 0; outline: 0; font: 400 .875rem Inter, sans-serif; flex: 1; min-width: 0; background: none; }
.busca:focus-within { border-color: var(--texto); }

/* campos do painel */
.app .campo { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: .82rem; font-weight: 500; color: #4A3F37; }
.app .campo input, .app .campo textarea, .app .campo select { font: 400 .9rem Inter, sans-serif; color: var(--texto); min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--p-campo); border-radius: 8px; background: #fff; }
.app .campo input:focus, .app .campo textarea:focus { outline: 2px solid var(--texto); outline-offset: -1px; border-color: var(--texto); }
.app .grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.linha-check { display: flex; align-items: center; gap: 10px; font-size: .875rem; min-height: 32px; }
.linha-check input { width: 18px; height: 18px; accent-color: var(--texto); }

/* tela Restaurante: seções tipo "configurações" */
.config { display: flex; flex-wrap: wrap; gap: 20px 28px; padding: 24px 0; border-top: 1px solid var(--p-borda); }
.config:first-child { border-top: 0; }
.config-info { flex: 1 1 200px; max-width: 260px; }
.config-info h2 { margin: 0; font-size: .95rem; font-weight: 600; }
.config-info p { margin: 4px 0 0; color: var(--suave); font-size: .82rem; line-height: 1.5; }
.config-corpo { flex: 999 1 360px; min-width: 0; background: #fff; border: 1px solid var(--p-borda); border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 2px rgba(31,26,23,.04); }
.config-corpo.perigo { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; border-color: #F0C2B5; }
.config-corpo.perigo .dica { margin-top: 2px; }
.barra-salvar { position: sticky; bottom: 12px; z-index: 5; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px 12px 18px; border-radius: 12px; background: var(--texto); color: #fff; font-size: .875rem; box-shadow: 0 8px 24px rgba(31,26,23,.25); }
.barra-salvar > span { display: flex; align-items: center; gap: 10px; }
.ponto-aviso { width: 8px; height: 8px; border-radius: 50%; background: var(--acafrao); }

/* painel lateral de criar/editar prato */
.veu { position: fixed; inset: 0; z-index: 30; background: rgba(31,26,23,.4); }
.gaveta { position: fixed; z-index: 31; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column;
  box-shadow: -8px 0 28px rgba(31,26,23,.18); }
.gaveta-cabeca { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--p-borda); }
.gaveta-cabeca h2 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.btn-icone { width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--p-fundo); font-size: 1.4rem; line-height: 1; color: var(--texto); }
.gaveta-corpo { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.gaveta-pe { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--p-borda); }
.foto-linha { display: flex; align-items: center; gap: 14px; }
.foto-linha .dica { margin-top: 6px; }
.foto-previa { flex: none; width: 84px; height: 84px; border-radius: 10px; background: var(--pessego) center/cover no-repeat; }
.caixa-3d { padding: 14px; border: 1px dashed var(--p-campo); border-radius: 10px; }

/* QR */
.app .qr-placa { margin: 8px auto 16px; }

/* celular: menu vira barra de abas embaixo */
@media (max-width: 760px) {
  .menu { position: fixed; z-index: 20; top: auto; bottom: 0; left: 0; right: 0; height: auto; max-width: none; flex-direction: row; padding: 4px 4px calc(6px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--p-borda); overflow: visible; }
  .menu > :not(.aba) { display: none; }
  .menu a.aba { flex: 1; flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 0 2px; color: var(--suave); font-size: .68rem; }
  .menu a.aba svg { width: 22px; height: 22px; }
  .menu a.aba[aria-current] { background: none; color: var(--texto); font-weight: 700; }
  .menu a.aba[aria-current] svg { stroke: var(--cor); }
  .app .conteudo { padding-bottom: 76px; }
  .barra-tela .acoes { width: 100%; }
  .barra-tela .acoes > * { flex: 1 1 auto; }
  .busca { min-width: 0; }
  .barra-salvar { bottom: 76px; }
  .grade-inicio { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
.so-celular { display: none !important; }
@media (max-width: 760px) { .so-celular { display: inline-flex !important; } }
/* tabela de pratos sem rolagem lateral: a coluna do prato ocupa o que sobra e corta o texto com "..." */
.tabela-pratos td:first-child { width: 100%; max-width: 0; }
.prato-textos { min-width: 0; flex: 1; }
.prato-nome { flex-wrap: nowrap; min-width: 0; }
.prato-titulo { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.prato-desc { max-width: none; }
.tabela-pratos td:not(:first-child), .tabela-pratos th { white-space: nowrap; }
.cat-mini { display: none; }
@media (max-width: 1100px) { /* sem espaço: categoria sai da coluna e vai para a linha da descrição */
  .tabela-pratos .col-cat { display: none; }
  .cat-mini { display: inline; }
}
.preco-mini { display: none; }
@media (max-width: 560px) { /* celular: preço vai para baixo do nome; sai a coluna de preço e a descrição */
  .tabela-pratos .chave-texto, .tabela-pratos .etiqueta, .tabela-pratos .col-preco, .cat-mini, .desc-texto { display: none; }
  .preco-mini { display: inline; color: var(--texto); font-weight: 600; font-variant-numeric: tabular-nums; }
  .tabela-pratos th, .tabela-pratos td { padding-left: 6px; padding-right: 6px; }
  .tabela-pratos th:first-child, .tabela-pratos td:first-child { padding-left: 12px; }
  .tabela-pratos th:last-child, .tabela-pratos td:last-child { padding-right: 12px; }
  .miniatura-tabela { width: 38px; height: 38px; }
}
/* tela Estatísticas */
.segmentado { display: inline-flex; padding: 3px; border-radius: 10px; background: #F1E9E1; }
.segmentado button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--suave); font-size: .82rem; font-weight: 500; }
.segmentado button[aria-pressed="true"] { background: #fff; color: var(--texto); font-weight: 600; box-shadow: 0 1px 2px rgba(31,26,23,.12); }
.grafico { position: relative; padding: 8px 20px 12px; min-height: 220px; }
.grafico svg { display: block; overflow: visible; }
.g-grade { stroke: #F1E9E1; stroke-width: 1; }
.g-eixo { fill: var(--suave); font: 500 11px Inter, sans-serif; font-variant-numeric: tabular-nums; }
.g-barra { fill: var(--cor); transition: opacity .1s; }
.grafico:has(.g-barra.ativa) .g-barra:not(.ativa) { opacity: .45; }
.g-alvo { fill: transparent; cursor: default; }
.g-dica { position: absolute; top: 0; z-index: 2; pointer-events: none; display: flex; flex-direction: column; gap: 1px; padding: 8px 10px;
  border-radius: 8px; background: var(--texto); color: #fff; font-size: .78rem; white-space: nowrap; box-shadow: 0 4px 14px rgba(31,26,23,.2); }
.g-dica strong { font-weight: 600; text-transform: capitalize; }
.g-dica span { color: #E4D9CF; font-variant-numeric: tabular-nums; }
.tabela-estat td:first-child { width: 40%; max-width: 0; }
.tabela-estat .prato-celula { min-width: 0; }
.miniatura-tabela.pequena { width: 32px; height: 32px; border-radius: 6px; }
.col-barra { width: 36%; }
.barra-inline { display: flex; align-items: center; gap: 10px; }
.barra-inline .trilho { flex: 1; height: 8px; }
.barra-inline .trilho span { background: var(--cor); }
.barra-inline .numero { min-width: 28px; text-align: right; font-weight: 600; }
@media (max-width: 560px) {
  .tabela-estat .col-extra { display: none; }
  .barra-tela .segmentado { flex: 1 1 100%; }
  .segmentado button { flex: 1; }
  .grafico { padding: 8px 12px 12px; }
}
@media (max-width: 560px) { .kpi { padding: 14px; } .kpi strong { font-size: 1.35rem; overflow-wrap: anywhere; } }
/* tela Restaurante (refinada) */
.app label.btn { cursor: pointer; }
.config-icone { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px; border-radius: 10px; background: #F3ECE5; color: var(--texto); }
.config-icone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.config-icone.perigo { background: #FBE3DA; color: var(--p-alerta); }
.config-corpo.sem-espaco { padding: 0; gap: 0; overflow: hidden; }
.ajuda { display: block; margin-top: 2px; color: var(--suave); font-size: .76rem; font-weight: 400; }
/* prévia que imita o topo do cardápio */
.mock-cardapio { position: relative; border-bottom: 1px solid var(--p-borda); background: var(--fundo); }
.mock-capa { height: 150px; background: linear-gradient(to bottom, rgba(31,26,23,0) 40%, rgba(31,26,23,.35)), var(--foto-capa, none) center/cover no-repeat, linear-gradient(135deg, #F6C6B9, #FFE4AE); }
.mock-info { display: flex; align-items: flex-end; gap: 14px; padding: 0 20px 16px; margin-top: -26px; position: relative; }
.previa-logo { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--cor) center/cover no-repeat; color: #fff; box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(31,26,23,.15);
  display: grid; place-items: center; font: 700 1.6rem Sora, Inter, sans-serif; }
.mock-textos { flex: 1; min-width: 0; padding-bottom: 2px; }
.mock-textos strong { display: block; font: 700 1.2rem Sora, Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-textos small { color: var(--suave); font-size: .8rem; }
.mock-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--p-borda); font-size: .72rem; font-weight: 600; white-space: nowrap; }
.mock-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #A3968B; }
.mock-status.aberto::before { background: #2F9E57; }
.mock-etiqueta { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(31,26,23,.6); color: #fff; font-size: .68rem; font-weight: 500; }
/* linhas de arquivo (logo, capa) e cor */
.linha-arquivo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 16px 20px; border-top: 1px solid #F1E9E1; }
.mock-cardapio + .linha-arquivo { border-top: 0; }
.mini-arquivo { flex: none; width: 56px; height: 40px; border-radius: 8px; background: #F3ECE5 center/cover no-repeat; display: grid; place-items: center; color: #fff; font: 700 .9rem Sora, Inter, sans-serif; }
.mini-arquivo.redondo { width: 40px; border-radius: 50%; }
.linha-arquivo-texto { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.linha-arquivo-texto strong { font-size: .88rem; }
.cores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cor-bolinha { width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.cor-bolinha[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--texto); }
.cor-outra { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px dashed var(--p-campo); color: var(--suave); cursor: pointer; font-weight: 600; }
.cor-outra input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; padding: 0; border: 0; }
.cor-bolinha:focus-visible, .cor-outra:focus-within { outline: 2px solid var(--texto); outline-offset: 3px; }
.chave.chave-linha { border: 0; padding: 4px 0 0; min-height: 0; align-items: flex-start; gap: 12px; }
.chave.chave-linha .chave-trilho { margin-top: 2px; }
.chave.chave-linha strong { font-size: .875rem; }
/* plano */
.plano-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }
.selo-plano { display: inline-block; padding: 3px 10px; border-radius: 99px; background: #F3ECE5; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.selo-plano.premium { background: var(--texto); color: var(--acafrao); }
.plano-preco { margin: 8px 0 0; font: 700 1.6rem Sora, Inter, sans-serif; }
.plano-preco small { font: 500 .85rem Inter, sans-serif; color: var(--suave); }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .875rem; }
.lista-check li { display: flex; align-items: center; gap: 8px; }
.lista-check li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: #E3F1E8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7B45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.plano-upgrade { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 10px; background: var(--fundo); border: 1px solid var(--p-borda); }
.plano-upgrade .lista-check { margin-top: 10px; }
/* janela de confirmação da zona de perigo */
.confirmar { width: min(440px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 20px 50px rgba(31,26,23,.3); color: var(--texto); }
.confirmar::backdrop { background: rgba(31,26,23,.45); }
.confirmar form { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.confirmar h2 { margin: 0; font: 600 1.15rem Sora, Inter, sans-serif; }
.confirmar p { margin: 0; color: var(--suave); font-size: .875rem; line-height: 1.5; }
.confirmar-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FBE3DA; color: var(--p-alerta); }
.confirmar-icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.confirmar .confirmar-erro { color: var(--p-alerta); font-weight: 600; min-height: 1.2em; }
.confirmar-botoes { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.app .btn.apagar { background: var(--p-alerta); color: #fff; font-weight: 600; }
.app .btn.apagar:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 560px) {
  .mock-status { display: none; } /* sem espaço: o liga/desliga continua em Informações */
  .previa-logo { width: 60px; height: 60px; font-size: 1.3rem; }
  .linha-arquivo .acoes { width: 100%; justify-content: flex-end; }
}

/* ===== acabamento do painel (25/11/2026) ===== */
/* login */
.login-topo { display: flex; justify-content: center; padding: 40px 16px 8px; }
.login-topo .marca { font-size: 1.35rem; }
.painel .login { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 16px; }
.painel .login:has(> form:not([hidden])) { padding: 16px 16px 40px; }
.login-cartao { width: min(400px, 100%); background: #fff; border: 1px solid #ECE2D8; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 1px 2px rgba(31,26,23,.04), 0 12px 32px rgba(31,26,23,.06); }
.login-cartao h1 { margin: 0; font: 600 1.4rem Sora, Inter, sans-serif; letter-spacing: -.01em; }
.login-sub { margin: -6px 0 4px; color: var(--suave); font-size: .875rem; line-height: 1.5; }
.login-campo { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 500; color: #4A3F37; }
.login-campo input { font: 400 .95rem Inter, sans-serif; min-height: 44px; padding: 0 12px; border: 1px solid #DCCFC2; border-radius: 8px; background: #fff; color: var(--texto); }
.login-campo input:focus { outline: 2px solid var(--texto); outline-offset: -1px; border-color: var(--texto); }
.login-botao { min-height: 46px; border: 0; border-radius: 8px; background: var(--cor); color: var(--cor-texto); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.login-botao:hover { background: var(--cor-forte); }
.login-msg { margin: 0; min-height: 1.2em; font-size: .82rem; color: var(--suave); text-align: center; }
.login-msg:empty { display: none; }
.login-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; padding-top: 12px; border-top: 1px solid #F1E9E1; font-size: .82rem; color: var(--suave); }
.login-links button { border: 0; background: none; padding: 6px 2px; color: var(--cor-forte); font-weight: 500; font-size: .82rem; }
.login-links button:hover { text-decoration: underline; }
.login-rodape { margin: 0; color: var(--suave); font-size: .75rem; }

/* ícones */
.app .btn .icone { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kpi { position: relative; }
.kpi p { padding-right: 38px; }
.kpi-icone { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #F6EFE8; color: var(--suave); }
.kpi-icone svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* telas vazias com ícone */
.vazio { display: flex; align-items: center; gap: 12px; }
.vazio::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: #F6EFE8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C4F45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12l3 3 5-6'/%3E%3C/svg%3E") center/18px no-repeat; }

/* tabelas: linha destacada ao passar o mouse */
.tabela tbody tr { transition: background .12s; }
.tabela tbody tr:hover td { background: #FCF8F4; }

/* foco visível (teclado) e transições suaves */
.app a:focus-visible, .app button:focus-visible, .app .chip:focus-visible, .app label.btn:focus-within { outline: 2px solid var(--texto); outline-offset: 2px; }
.app .btn, .chip, .menu a { transition: background-color .12s, border-color .12s, color .12s; }
.chip:hover { border-color: var(--suave); }

/* barra do topo fica fixa ao rolar */
.barra-tela { position: sticky; top: 0; z-index: 6; }

/* troca de tela com entrada suave */
@keyframes entrar-tela { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.conteudo > [data-tela]:not([hidden]) .corpo-tela { animation: entrar-tela .18s ease-out; }
@media (prefers-reduced-motion: reduce) { .conteudo > [data-tela] .corpo-tela { animation: none; } .chave-trilho, .chave-trilho::after { transition: none; } }

/* tela QR codes */
.qr-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.qr-config { display: flex; flex-direction: column; gap: 16px; }
.mesas-rapidas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -6px; }
.mesas-rapidas .chip { min-height: 30px; padding: 0 10px; font-size: .78rem; }
.dicas-qr { padding-top: 14px; border-top: 1px solid #F1E9E1; color: #4A3F37; }
.qr-palco { padding: 28px 20px 16px; background: repeating-linear-gradient(45deg, #FBF7F2, #FBF7F2 10px, #F6EFE8 10px, #F6EFE8 20px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.app .qr-placa { margin: 0; width: min(300px, 100%); max-width: none; padding: 24px 22px 22px; background: #fff; border: 0; border-radius: 16px;
  box-shadow: 0 2px 6px rgba(31,26,23,.08), 0 16px 40px rgba(31,26,23,.12); gap: 12px; }
.app .qr-placa .qr-marca { font-size: .95rem; color: var(--texto); }
.qr-marca svg { width: 24px; height: 24px; }
.app .qr-placa strong { font: 700 1.35rem Sora, Inter, sans-serif; line-height: 1.15; }
.qr-mesa { display: inline-block; padding: 4px 14px; border-radius: 99px; background: var(--cor); color: var(--cor-texto) !important; font: 700 .9rem Sora, Inter, sans-serif !important; }
.qr-moldura { padding: 12px; border-radius: 12px; border: 2px solid var(--texto); line-height: 0; }
.qr-moldura img, .qr-moldura canvas { width: 200px !important; height: 200px !important; }
.app .qr-placa .qr-instrucao { font-size: .82rem; color: var(--suave); line-height: 1.4; }
.qr-legenda { margin: 0; }
@media print {
  .barra-tela, .menu, .qr-legenda { display: none !important; }
  .qr-palco { background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
  .app .qr-placa { box-shadow: none; border: 2px solid #1F1A17; }
  .qr-grade { display: block; }
}
@media (max-width: 760px) { .kpi-icone { display: none; } }

/* ===== segunda rodada de acabamento ===== */
/* avisos rápidos (toasts) */
.avisos { position: fixed; z-index: 50; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.aviso-rapido { max-width: min(360px, calc(100vw - 40px)); padding: 12px 16px 12px 14px; border-radius: 10px; background: #1F1A17; color: #fff; font-size: .875rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(31,26,23,.28); animation: aviso-entra .2s ease-out; }
.aviso-rapido::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; }
.aviso-rapido.erro { background: #B23A1C; }
.aviso-rapido.erro::before { background: #fff; }
.aviso-rapido.saindo { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .avisos { left: 16px; right: 16px; bottom: 84px; align-items: stretch; } .aviso-rapido { max-width: none; } }

/* números carregando: barrinha piscando no lugar do valor */
.kpi strong:empty::before { content: ""; display: block; width: 56%; height: .8em; margin: .15em 0; border-radius: 6px;
  background: linear-gradient(90deg, #F3ECE5 0%, #FAF5F0 50%, #F3ECE5 100%); background-size: 200% 100%; animation: carregando 1.2s linear infinite; }
@keyframes carregando { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.kpi small.subiu { color: #1E7B45; font-weight: 600; }
.kpi small.caiu { color: var(--suave); font-weight: 600; }

/* ícone de prato nas miniaturas sem foto */
.miniatura-tabela { display: grid; place-items: center; color: rgba(31,26,23,.35); }
.miniatura-tabela svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* guia "Primeiros passos" */
.guia-passos { border-color: #F3D9B0; background: linear-gradient(180deg, #FFFBF4, #fff 70%); }
.passos-trilho { margin: 12px 20px 4px; height: 6px; border-radius: 99px; background: #F1E9E1; overflow: hidden; }
.passos-trilho span { display: block; height: 100%; border-radius: 99px; background: var(--acafrao); transition: width .3s; }
.passos-lista { list-style: none; margin: 0; padding: 6px 20px 14px; }
.passos-lista li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0; border-top: 1px solid #F1E9E1; font-size: .9rem; }
.passos-lista li:first-child { border-top: 0; }
.passo-texto { flex: 1; min-width: 0; }
.passo-marca { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #DCCFC2; }
.passos-lista li.feito .passo-marca { border: 0;
  background: #1E7B45 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }
.passos-lista li.feito .passo-texto { color: var(--suave); text-decoration: line-through; text-decoration-color: #C9BDB1; }
@media (prefers-reduced-motion: reduce) { .kpi strong:empty::before, .aviso-rapido { animation: none; } }

/* ===== cardápio do cliente · versão A "Clássico refinado" (25/11/2026) ===== */
.cardapio-cliente { background: var(--fundo); }
.c-topo { max-width: 720px; margin: 0 auto; }
.c-capa { height: 170px; background: linear-gradient(to bottom, rgba(31,26,23,0) 35%, rgba(31,26,23,.5)), var(--foto-capa, none) center/cover no-repeat, linear-gradient(135deg, #8A4B2E, #3B2318); }
@media (min-width: 720px) { .c-capa { height: 220px; border-radius: 0 0 24px 24px; } }
.c-topo-linha { display: flex; align-items: flex-end; gap: 14px; padding: 0 18px; margin-top: -38px; position: relative; }
.c-logo { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--cor) center/cover no-repeat; color: var(--cor-texto);
  box-shadow: 0 0 0 4px var(--fundo), 0 4px 14px rgba(31,26,23,.18); display: grid; place-items: center; font: 700 1.9rem Sora, Inter, sans-serif; }
.c-status { margin-bottom: 4px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: #EEE5DC; color: var(--suave); font-size: .75rem; font-weight: 600; }
.c-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #A3968B; }
.c-status.aberto { background: #E3F1E8; color: #1E6B3C; }
.c-status.aberto::before { background: #1E7B45; }
.c-topo-textos { padding: 12px 18px 0; }
.c-topo-textos h1 { margin: 0; font: 700 1.65rem/1.15 Sora, Inter, sans-serif; letter-spacing: -.02em; }
.c-topo-textos p { margin: 4px 0 0; color: var(--suave); font-size: .9rem; }

/* destaques (stories) */
.c-destaques { display: flex; gap: 14px; max-width: 720px; margin: 0 auto; padding: 18px 18px 4px; overflow-x: auto; scrollbar-width: none; }
.c-bolha { flex: none; width: 72px; padding: 0; border: 0; background: none; color: var(--texto); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c-anel { display: block; width: 68px; height: 68px; padding: 3px; border-radius: 50%; background: conic-gradient(var(--cor), var(--acafrao), var(--cor)); }
.c-bolha-foto { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--fundo); background: var(--pessego) center/cover no-repeat; }
.c-bolha-foto.tom1 { background-color: var(--rosa); } .c-bolha-foto.tom2 { background-color: var(--blush); }
.c-bolha small { max-width: 72px; font-size: .72rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* categorias (fica grudada no topo ao rolar) */
.c-abas { position: sticky; top: 0; z-index: 10; display: flex; gap: 8px; padding: 12px 18px; overflow-x: auto; scrollbar-width: none; background: var(--fundo);
  border-bottom: 1px solid #EFE2D4; max-width: 720px; margin: 8px auto 0; }
.c-abas a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border-radius: 99px; border: 1px solid #E9DCCD; background: #fff;
  color: var(--texto); text-decoration: none; font-size: .88rem; font-weight: 500; white-space: nowrap; }
.c-abas a.ativa { background: var(--texto); border-color: var(--texto); color: #fff; }
.c-reels { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 15px; border: 0; border-radius: 99px; background: var(--cor); color: var(--cor-texto); font-size: .88rem; font-weight: 600; }
.c-reels svg { width: 12px; height: 12px; fill: currentColor; }

/* lista de pratos */
main.c-lista { max-width: 720px; margin: 0 auto; padding: 0 18px 130px; }
.c-lista h2 { margin: 26px 0 2px; font: 700 1.3rem Sora, Inter, sans-serif; scroll-margin-top: 80px; }
.c-prato { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #EFE2D4; }
.c-prato.esgotado { opacity: .55; }
.c-prato-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.c-prato-nome { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.c-prato h3 { margin: 0; font: 600 1rem Inter, sans-serif; }
.c-prato p { margin: 0; color: var(--suave); font-size: .84rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-preco { margin-top: 4px; font: 700 1rem Sora, Inter, sans-serif; color: var(--texto); }
.c-selo { font-size: .62rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: #EEE5DC; color: var(--suave); letter-spacing: .04em; text-transform: uppercase; }
.c-selo.escuro { background: var(--texto); color: var(--acafrao); }
.c-ver-mesa { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border: 1px solid var(--texto); border-radius: 99px;
  background: none; color: var(--texto); font-size: .78rem; font-weight: 600; }
.c-ver-mesa:hover { background: var(--texto); color: #fff; }
.c-foto { position: relative; flex: none; width: 112px; height: 112px; border-radius: 14px; background: var(--pessego) center/cover no-repeat; display: grid; place-items: center; color: rgba(31,26,23,.3); }
.c-foto.tom1 { background-color: var(--rosa); } .c-foto.tom2 { background-color: var(--blush); }
.c-mais { position: absolute; right: -6px; bottom: -6px; width: 42px; height: 42px; border: 3px solid var(--fundo); border-radius: 50%; background: var(--cor); color: var(--cor-texto);
  font: 600 1.4rem/1 Inter, sans-serif; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(31,26,23,.2); }
.c-mais.pulou { animation: pulou .3s ease-out; }
@keyframes pulou { 40% { transform: scale(1.18); } }
.c-qtd { position: absolute; top: -8px; left: -8px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px; background: var(--texto); color: #fff;
  font: 700 .72rem/22px Inter, sans-serif; box-shadow: 0 0 0 2px var(--fundo); }

/* carrinho flutuante */
.c-carrinho { position: fixed; z-index: 15; left: 14px; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 692px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--texto); color: #fff;
  box-shadow: 0 10px 30px rgba(31,26,23,.35); animation: folha-sobe .2s ease-out; }
.c-carrinho-texto { display: flex; flex-direction: column; }
.c-carrinho-texto span { font-size: .75rem; color: #CBBDB0; }
.c-carrinho-texto strong { font: 700 1.15rem Sora, Inter, sans-serif; }
.c-carrinho-botao { min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--cor); color: var(--cor-texto); font-weight: 600; font-size: .95rem; }

/* tela "Seu pedido" (folha que sobe de baixo) */
.c-veu { position: fixed; inset: 0; z-index: 25; background: rgba(31,26,23,.5); }
.c-folha { position: fixed; z-index: 26; left: 0; right: 0; bottom: 0; max-width: 720px; margin: 0 auto; max-height: 85vh; overflow-y: auto;
  padding: 8px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: #fff; animation: folha-sobe .22s ease-out; }
@keyframes folha-sobe { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.c-folha-alca { width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: #E3D7CB; }
.c-folha-cabeca { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.c-folha h2 { margin: 0; font: 700 1.35rem Sora, Inter, sans-serif; }
.c-folha-cabeca p { margin: 2px 0 0; color: var(--suave); font-size: .84rem; }
.c-fechar { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F3ECE5; font-size: 1.4rem; line-height: 1; color: var(--texto); }
.c-itens { list-style: none; margin: 12px 0 0; padding: 0; }
.c-itens li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #F1E9E1; }
.c-item-texto { display: flex; flex-direction: column; min-width: 0; }
.c-item-texto strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-item-texto span { color: var(--suave); font-size: .78rem; }
.c-contador { display: inline-flex; align-items: center; border: 1px solid #E3D7CB; border-radius: 99px; }
.c-contador button { width: 36px; height: 36px; border: 0; background: none; color: var(--texto); font-size: 1.15rem; line-height: 1; }
.c-contador span { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.c-item-total { min-width: 74px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.c-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid #E3D7CB; font-size: .95rem; }
.c-total strong { font: 700 1.35rem Sora, Inter, sans-serif; }
.c-enviar { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: var(--cor); color: var(--cor-texto); font-size: 1rem; font-weight: 600; }
.c-enviar:disabled { opacity: .6; cursor: wait; }
.c-folha-dica { margin: 10px 0 0; text-align: center; color: var(--suave); font-size: .78rem; }
.c-folha-dica.erro { color: #B23A1C; font-weight: 600; }
.c-sucesso { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 4px 4px; }
.c-sucesso-icone { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E3F1E8; color: #1E7B45; }
.c-sucesso-icone svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.c-sucesso p { margin: 0 0 12px; color: var(--suave); font-size: .9rem; max-width: 30em; }
.cardapio-cliente button:focus-visible, .cardapio-cliente a:focus-visible { outline: 2px solid var(--texto); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .c-folha, .c-carrinho, .c-mais.pulou { animation: none; } }

/* ===== tela "Lançar pedido" (garçom / balcão / viagem) ===== */
.l-grade { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.l-esquerda { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.l-onde { display: flex; flex-direction: column; gap: 14px; }
.l-onde .segmentado { align-self: flex-start; }
#l-mesas-caixa { display: flex; flex-direction: column; gap: 12px; }
#l-mesas .chip { min-width: 44px; min-height: 40px; padding: 0 10px; font-size: .9rem; font-weight: 600; }
.l-outra { max-width: 260px; }
.l-pratos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.l-prato { position: relative; min-height: 72px; padding: 12px; border: 1px solid var(--p-campo); border-radius: 10px; background: #fff; color: var(--texto);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 6px; text-align: left; transition: border-color .12s, background .12s; }
.l-prato:hover:not(:disabled) { border-color: var(--texto); background: #FCF8F4; }
.l-prato:active:not(:disabled) { transform: scale(.98); }
.l-prato:disabled { opacity: .45; cursor: not-allowed; }
.l-prato-nome { font-weight: 600; font-size: .88rem; line-height: 1.25; }
.l-prato-preco { color: var(--suave); font-size: .8rem; font-variant-numeric: tabular-nums; }
.l-prato-qtd { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--cor); color: var(--cor-texto);
  font: 700 .75rem/24px Inter, sans-serif; text-align: center; box-shadow: 0 0 0 2px #fff; }
.l-resumo { position: sticky; top: 86px; }
.l-itens { list-style: none; margin: 0; padding: 0; }
.l-itens li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F1E9E1; }
.l-item-texto { display: flex; flex-direction: column; min-width: 0; }
.l-item-texto strong { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-item-texto span { color: var(--suave); font-size: .78rem; font-variant-numeric: tabular-nums; }
.l-contador { flex: none; display: inline-flex; align-items: center; border: 1px solid var(--p-campo); border-radius: 99px; }
.l-contador button { width: 34px; height: 34px; border: 0; background: none; color: var(--texto); font-size: 1.05rem; line-height: 1; }
.l-contador span { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
#l-vazio { padding: 6px 0 10px; }
.l-obs { margin-top: 12px !important; }
.l-obs textarea { min-height: 64px; resize: vertical; }
.l-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 12px; padding-top: 12px; border-top: 1px solid var(--p-borda); }
.l-total strong { font: 700 1.3rem Sora, Inter, sans-serif; }
.app .btn.l-enviar { width: 100%; min-height: 48px; font-size: .95rem; }
.l-barra-celular { display: none; }
/* menu: nome curto só nas abas do celular */
.rotulo-curto { display: none; }
@media (max-width: 960px) { .l-grade { grid-template-columns: minmax(0, 1fr); } .l-resumo { position: static; } }
@media (max-width: 760px) {
  .menu a.aba .rotulo-longo { display: none; }
  .menu a.aba .rotulo-curto { display: inline; }
  .l-barra-celular:not([hidden]) { display: block; position: fixed; z-index: 15; left: 12px; right: 12px; bottom: 74px; min-height: 50px; border: 0; border-radius: 12px;
    background: var(--texto); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 8px 24px rgba(31,26,23,.3); }
  .l-pratos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* origem e observação dos pedidos (Início) */
.origem-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: #F3ECE5; color: var(--suave); font-size: .7rem; font-weight: 600; vertical-align: middle; }
.obs-linha { display: block; margin-top: 4px; color: #8A4B00; font-size: .8rem; font-weight: 600; }
.c-obs { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: .84rem; font-weight: 600; }
.c-obs span { color: var(--suave); font-weight: 400; }
.c-obs textarea { font: 400 .95rem Inter, sans-serif; min-height: 56px; padding: 10px 12px; border: 1px solid #E3D7CB; border-radius: 10px; resize: vertical; color: var(--texto); }
.c-obs textarea:focus { outline: 2px solid var(--texto); outline-offset: -1px; }

/* ===== Lançar pedido · acabamento estilo caixa (PDV) ===== */
/* tipos de pedido em cartões com ícone */
.l-tipos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.l-tipos button { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; border: 1.5px solid var(--p-campo); border-radius: 12px; background: #fff;
  color: var(--texto); text-align: left; transition: border-color .12s, background .12s; }
.l-tipos button:hover { border-color: var(--suave); }
.l-tipos button[aria-pressed="true"] { border-color: var(--cor); background: #FFF4F0; box-shadow: inset 0 0 0 1px var(--cor); }
.l-tipos svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--suave); }
.l-tipos button[aria-pressed="true"] svg { color: var(--cor); }
.l-tipos span { display: flex; flex-direction: column; min-width: 0; }
.l-tipos strong { font-size: .9rem; }
.l-tipos small { color: var(--suave); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* mesas em quadrados; ocupada = com pedido na cozinha */
.l-mesas-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 10px; font-size: .82rem; font-weight: 600; color: #4A3F37; }
.l-legenda { display: inline-flex; align-items: center; gap: 6px; color: var(--suave); font-weight: 400; font-size: .75rem; }
.l-ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--acafrao); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #E8B44F; }
.l-mesas { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; }
.l-mesa { position: relative; aspect-ratio: 1; min-height: 46px; border: 1.5px solid var(--p-campo); border-radius: 10px; background: #fff; color: var(--texto);
  font: 700 1rem Sora, Inter, sans-serif; font-variant-numeric: tabular-nums; transition: border-color .12s, background .12s, color .12s; }
.l-mesa:hover { border-color: var(--suave); }
.l-mesa[aria-pressed="true"] { background: var(--cor); border-color: var(--cor); color: var(--cor-texto); }
.l-mesa.ocupada::after { content: ""; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--acafrao); box-shadow: 0 0 0 2px #fff; }
.l-mesa.ocupada[aria-pressed="true"]::after { box-shadow: 0 0 0 2px var(--cor); }
.l-outra { margin-top: 14px !important; }

/* pratos em cartões com foto, agrupados */
.l-pratos { margin-top: 6px; }
.l-grupo { margin: 18px 0 10px; font: 600 .72rem Inter, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--suave); }
.l-pratos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.l-grupo + .l-pratos-grade { margin-top: 0; }
.app .l-prato { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-height: 68px; padding: 8px 10px 8px 8px;
  border: 1.5px solid var(--p-borda); border-radius: 12px; background: #fff; text-align: left; }
.app .l-prato:hover:not(:disabled) { border-color: var(--suave); background: #fff; }
.app .l-prato.escolhido { border-color: var(--cor); background: #FFF4F0; }
.l-prato-foto { flex: none; width: 52px; height: 52px; border-radius: 8px; background: center/cover no-repeat; display: grid; place-items: center; color: rgba(31,26,23,.3); }
.l-prato-foto svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.l-prato-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app .l-prato-nome { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-prato-acao { flex: none; display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 99px; background: #F3ECE5; color: var(--texto);
  font: 700 .95rem Inter, sans-serif; font-variant-numeric: tabular-nums; }
.l-prato.escolhido .l-prato-acao { background: var(--cor); color: var(--cor-texto); }
.l-prato-qtd { display: none; } /* substituído pela bolinha da direita */

/* comanda (resumo) */
.l-resumo { overflow: hidden; }
.l-comanda-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 18px 14px; background: var(--texto); color: #fff; }
.l-comanda-rotulo { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acafrao); }
.l-comanda-onde { display: block; margin-top: 2px; font: 700 1.6rem/1.1 Sora, Inter, sans-serif; letter-spacing: -.01em; }
.l-comanda-onde.vazio { font-size: 1.1rem; color: #CBBDB0; font-weight: 600; }
.l-comanda-sub { margin: 4px 0 0; color: #CBBDB0; font-size: .8rem; }
.app .btn.l-limpar { color: #E4D9CF; }
.app .btn.l-limpar:hover { color: #fff; background: rgba(255,255,255,.08); }
.l-comanda-corpo { padding: 6px 18px 18px; background: #fff;
  background-image: radial-gradient(circle at 8px -2px, var(--p-fundo) 6px, transparent 6.5px); background-size: 16px 10px; background-repeat: repeat-x; }
.l-itens li { gap: 10px; }
.l-item-qtd { flex: none; min-width: 30px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: #F3ECE5; font: 700 .8rem Sora, Inter, sans-serif; }
.l-item-texto { flex: 1; }
.l-vazio { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 0 10px; text-align: center; color: var(--suave); font-size: .84rem; }
.l-vazio p { margin: 0; }
.l-vazio-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #F6EFE8; }
.l-vazio-icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.l-obs-rapidas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.l-obs-rapidas .chip { min-height: 30px; padding: 0 10px; font-size: .75rem; }
@media (max-width: 760px) {
  .l-tipos button { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 76px; }
  .l-tipos small { white-space: normal; }
  .l-pratos-grade { grid-template-columns: minmax(0, 1fr); }
  .l-mesas { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* cartões de tipo se ajustam ao espaço da coluna (não só à tela) */
.l-esquerda { container-type: inline-size; }
@container (max-width: 560px) {
  .l-tipos button { flex-direction: column; align-items: flex-start; gap: 6px; min-height: 76px; }
  .l-tipos small { white-space: normal; }
  .l-mesas { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ===== login e cadastro (tela dividida: marca à esquerda, formulário à direita) ===== */
.auth { display: grid; grid-template-columns: minmax(340px, 44%) 1fr; min-height: 100vh; background: var(--fundo); }
.auth[hidden] { display: none !important; }
.auth-marca { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px clamp(28px, 4vw, 56px);
  background: #1F1A17; color: #FFF5EB; }
.auth-marca::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, #D93A22 0 38%, transparent 38.5%), radial-gradient(circle, transparent 0 52%, rgba(255,245,235,.08) 52.5% 56%, transparent 56.5%);
  opacity: .9; pointer-events: none; }
.auth-marca .marca { color: #FFF5EB; font-size: 1.25rem; position: relative; z-index: 1; }
.auth-marca-texto { position: relative; z-index: 1; max-width: 440px; }
.auth-marca h2 { margin: 0 0 22px; font: 700 clamp(1.7rem, 2.6vw, 2.3rem)/1.15 Sora, Inter, sans-serif; letter-spacing: -.02em; }
.auth-marca h2 em { font-style: normal; color: var(--acafrao); }
.auth-marca ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: #E4D9CF; font-size: .95rem; }
.auth-marca ul li { display: flex; gap: 10px; align-items: flex-start; }
.auth-marca ul li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: rgba(255,178,36,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB224' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.auth-passos-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: passo; }
.auth-passos-lista li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; counter-increment: passo; color: #E4D9CF; font-size: .9rem; }
.auth-passos-lista li::before { content: counter(passo); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,245,235,.08); color: var(--acafrao); font: 700 .95rem Sora, Inter, sans-serif; }
.auth-passos-lista strong { color: #fff; font-size: 1rem; }
.auth-marca-rodape { position: relative; z-index: 1; margin: 0; color: #A3968B; font-size: .78rem; }

.painel .auth-lado { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 40px 20px; max-width: none; margin: 0; }
.auth-form { width: min(420px, 100%); display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; border: 0; }
.auth-form[hidden] { display: none; }
.auth-marca-celular { display: none !important; }
.auth-form h1 { margin: 0; font: 700 1.75rem/1.2 Sora, Inter, sans-serif; letter-spacing: -.02em; color: var(--texto); }
.auth-sub { margin: -8px 0 6px; color: var(--suave); font-size: .92rem; line-height: 1.5; }
.auth-campo { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: #4A3F37; }
.auth-campo input, .auth-campo select { font: 400 .95rem Inter, sans-serif; color: var(--texto); min-height: 46px; padding: 0 14px; border: 1px solid #DCCFC2; border-radius: 10px; background: #fff; width: 100%; }
.auth-campo input:focus, .auth-campo select:focus { outline: 2px solid var(--texto); outline-offset: -1px; border-color: var(--texto); }
.auth-campo-linha { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.auth-ajuda { color: var(--suave); font-size: .76rem; font-weight: 400; }
.auth-ajuda.bom { color: #1E7B45; font-weight: 600; }
.auth-ajuda.ruim { color: #B23A1C; font-weight: 600; }
.auth-link { border: 0; background: none; padding: 0; color: var(--cor-forte); font-size: .8rem; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }
.auth-senha { position: relative; display: block; }
.auth-senha input { padding-right: 48px; }
.auth-olho { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--suave); display: grid; place-items: center; }
.auth-olho svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.auth-olho[aria-pressed="true"] { color: var(--texto); }
.auth-olho[aria-pressed="true"] svg { stroke-dasharray: 2 2; }
.auth-forca { display: block; height: 4px; border-radius: 99px; background: #EEE5DC; overflow: hidden; }
.auth-forca span { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .2s, background .2s; }
.auth-botao { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px;
  background: var(--cor); color: var(--cor-texto); font: 600 1rem Inter, sans-serif; text-decoration: none; }
.auth-botao:hover { background: var(--cor-forte); }
.auth-botao:disabled { opacity: .6; cursor: wait; }
.auth-botao.contorno { background: #fff; color: var(--texto); border: 1px solid #DCCFC2; }
.auth-botao.contorno:hover { border-color: var(--texto); }
.auth-botoes { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.auth-msg { margin: 0; min-height: 0; font-size: .85rem; color: var(--suave); }
.auth-msg:empty { display: none; }
.auth-msg.erro { color: #B23A1C; font-weight: 600; }
.auth-troca { margin: 6px 0 0; text-align: center; color: var(--suave); font-size: .9rem; }
.auth-troca a { color: var(--cor-forte); font-weight: 600; }
.auth-letra-miuda { margin: 0; color: var(--suave); font-size: .74rem; line-height: 1.5; text-align: center; }
.auth-check { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; font-size: .78rem; color: var(--suave); }
.auth-check input { width: 16px; height: 16px; min-height: 0; accent-color: var(--texto); }
.auth-dupla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.auth-link-campo { display: flex; align-items: stretch; border: 1px solid #DCCFC2; border-radius: 10px; background: #fff; overflow: hidden; }
.auth-link-campo:focus-within { outline: 2px solid var(--texto); outline-offset: -1px; }
.auth-prefixo { display: grid; place-items: center; padding: 0 10px; white-space: nowrap; background: #F6EFE8; color: var(--suave); font: 500 .85rem Inter, sans-serif; border-right: 1px solid #E9DCCD; }
.auth-link-campo input { border: 0; border-radius: 0; outline: none !important; }
.auth-passo { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.auth-passo[hidden] { display: none; }
.auth-passo legend { padding: 0; margin-bottom: 8px; }
.auth-etapas { list-style: none; margin: 0 0 4px; padding: 0; display: flex; gap: 8px; }
.auth-etapas li { flex: 1; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 3px solid #EEE5DC; color: var(--suave); font-size: .8rem; font-weight: 600; }
.auth-etapas li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #EEE5DC; font-size: .72rem; }
.auth-etapas li[aria-current] { border-color: var(--cor); color: var(--texto); }
.auth-etapas li[aria-current] span { background: var(--cor); color: var(--cor-texto); }
.auth-etapas li.feita { border-color: #1E7B45; color: #1E7B45; }
.auth-etapas li.feita span { background: #1E7B45; color: #fff; }
.auth-pronto { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.auth-pronto[hidden] { display: none; }
.auth-pronto p { margin: 0; color: var(--suave); line-height: 1.55; }
.auth-pronto-icone { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #FBE3DA; color: var(--cor-forte); }
.auth-pronto-icone svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-pronto .auth-botao { width: 100%; margin-top: 6px; }
.auth button:focus-visible, .auth a:focus-visible { outline: 2px solid var(--texto); outline-offset: 2px; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-marca { display: none; }
  .auth-marca-celular { display: flex !important; align-self: flex-start; margin-bottom: 6px; color: var(--texto); }
  .auth-marca-celular svg { width: 32px; height: 32px; }
  .painel .auth-lado { justify-content: flex-start; padding: 28px 18px 40px; }
}
@media (max-width: 420px) { .auth-dupla { grid-template-columns: 1fr; } }
/* página de vendas: botões de criar conta */
.topo-acoes { gap: 8px; }
.hero-zap { margin: 14px 0 0 !important; font-size: .9rem !important; }
.hero-zap a { color: var(--cor-forte); font-weight: 600; }
.plano { display: flex; flex-direction: column; }
.plano .plano-botao { margin-top: auto; text-align: center; }
.plano p { margin-bottom: 16px !important; }
