/* Mesa de revisão das páginas (funis/ferramentas/revisao/LEIA.md): o visual da ferramenta em volta da
   página. Saiu da ilustração aprovada em 27/10/2026 (desenho/mesa.css), com o mesmo vocabulário: uma
   fonte (Instrument Sans, a das ferramentas da casa), uma cor (o azul da página, #2E6CF6), sem vidro nem
   desfoque. A página revisada roda de verdade dentro do quadro; esta folha só desenha em volta e por cima. */
@font-face { font-family: "Instrument Sans"; src: url(/mesa/instrument-sans.ttf) format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  --m-mesa: #F3F4F7;
  --m-palco: #E6E9EF;
  --m-papel: #FFFFFF;
  --m-tx: #0F1521;
  --m-tx2: #465064;
  --m-tx3: #687387;
  --m-linha: #E3E6EC;
  --m-linha2: #D2D7E0;
  --m-azul: #2E6CF6;
  --m-azul-escuro: #1D55D6;
  --m-azul-claro: #EBF1FF;
  --m-ok: #12804E;
  --m-ok-claro: #E3F4EB;
  --m-tira: #B42318;
  --m-tira-claro: #FDECEA;
  --m-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --m-mola: cubic-bezier(.32, .72, 0, 1);
  --m-sombra: 0 1px 2px rgba(15, 21, 33, .06), 0 10px 28px rgba(15, 21, 33, .10);
  --m-sombra-alta: 0 2px 8px rgba(15, 21, 33, .10), 0 24px 56px rgba(15, 21, 33, .22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { font: 14px/1.45 var(--m-sans); color: var(--m-tx); background: var(--m-mesa); -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .42; cursor: default; }
:focus-visible { outline: 2px solid var(--m-azul); outline-offset: 2px; }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ic.p { width: 16px; height: 16px; }
.ic.g { width: 20px; height: 20px; }
.ic.azul { color: var(--m-azul); }

/* ── a mesa no computador: barra em cima, palco no meio, lista à direita ── */
.mesa { position: relative; display: grid; grid-template-rows: 60px 1fr; grid-template-columns: 1fr 392px; height: 100vh; height: 100dvh; }
.mesa[data-lista="fechada"] { grid-template-columns: 1fr; }
.mesa[data-lista="fechada"] .lista { display: none; }
.mesa[data-lista="aberta"] #botao-lista { display: none; }
.barra { grid-row: 1; grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding: 0 16px 0 20px; background: var(--m-papel); border-bottom: 1px solid var(--m-linha); min-width: 0; }
.marca { display: flex; align-items: center; gap: 10px; min-width: 0; }
.marca img { width: 26px; height: 26px; }
.marca b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.marca .pg { color: var(--m-tx2); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca .sep { width: 1px; height: 18px; background: var(--m-linha2); flex: none; }
.marca .ver { color: var(--m-tx3); font-size: 13px; white-space: nowrap; }
.barra .meio { flex: 1; display: flex; justify-content: center; }
.barra .dir { display: flex; align-items: center; gap: 10px; }

.modos { display: inline-flex; padding: 4px; gap: 2px; background: var(--m-mesa); border: 1px solid var(--m-linha); border-radius: 999px; }
.modos button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; color: var(--m-tx2); font-weight: 500; transition: background-color .2s, color .2s; }
.modos button:hover { color: var(--m-tx); }
.modos button[aria-pressed="true"] { background: var(--m-papel); color: var(--m-azul); box-shadow: 0 1px 2px rgba(15, 21, 33, .08), 0 0 0 1px var(--m-linha); }

.bt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; white-space: nowrap; transition: background-color .2s, box-shadow .2s, transform .12s; }
.bt:active:not(:disabled) { transform: scale(.97); }
.bt.pri { background: var(--m-azul); color: #fff; }
.bt.pri:hover:not(:disabled) { background: var(--m-azul-escuro); }
.bt.sec { background: var(--m-papel); color: var(--m-tx); box-shadow: inset 0 0 0 1px var(--m-linha2); }
.bt.sec:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--m-tx3); }
.bt.leve { color: var(--m-tx2); font-weight: 500; }
.bt.leve:hover:not(:disabled) { background: var(--m-mesa); color: var(--m-tx); }
.bt.perigo { color: var(--m-tira); }
.bt.perigo:hover:not(:disabled) { background: var(--m-tira-claro); color: var(--m-tira); }
.bt.mini { height: 32px; padding: 0 12px; font-size: 13px; }
.bt .conta { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--m-azul); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bt.piscar { animation: piscar .7s var(--m-mola) 2; }
@keyframes piscar { 50% { box-shadow: 0 0 0 6px rgba(46, 108, 246, .35); } }
.aparelho { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--m-mesa); border: 1px solid var(--m-linha); }
.aparelho button { width: 38px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--m-tx3); }
.aparelho button[aria-pressed="true"] { background: var(--m-papel); color: var(--m-tx); box-shadow: 0 1px 2px rgba(15, 21, 33, .08), 0 0 0 1px var(--m-linha); }

/* ── o palco: a página real, inteira, num quadro ── */
.palco { grid-row: 2; grid-column: 1; position: relative; background: var(--m-palco); overflow: hidden; min-width: 0; }
.quadro { position: absolute; overflow: hidden; border-radius: 10px; box-shadow: 0 0 0 1px rgba(15, 21, 33, .08), 0 18px 50px rgba(15, 21, 33, .18); background: #040810; }
.quadro iframe { position: absolute; left: 0; top: 0; border: 0; display: block; transform-origin: 0 0; background: #040810; }
.quadro.celular { border-radius: 44px; box-shadow: 0 0 0 10px #10151F, 0 0 0 11px #2A3242, 0 26px 60px rgba(15, 21, 33, .28); }
.quadro.cheio { border-radius: 0; box-shadow: none; }
.camada { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.recorte { position: absolute; overflow: hidden; pointer-events: none; }
.recorte.celular { border-radius: 44px; }
.carregando { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--m-tx3); font-size: 13px; z-index: 1; }

/* marcas por cima da página */
.sel { position: absolute; left: 0; top: 0; border-radius: 6px; pointer-events: none; }
.sel.escolhido { box-shadow: 0 0 0 2px var(--m-azul), 0 0 0 6px rgba(46, 108, 246, .28); }
.sel.passando { box-shadow: 0 0 0 1.5px var(--m-azul); background: rgba(46, 108, 246, .06); }
.sel.editando { box-shadow: 0 0 0 2px var(--m-azul), 0 0 0 6px rgba(46, 108, 246, .3); background: rgba(46, 108, 246, .08); }
.sel.olhando { box-shadow: 0 0 0 2px var(--m-ok), 0 0 0 6px rgba(18, 128, 78, .22); }
.rotulo { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--m-azul); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 12px rgba(15, 21, 33, .25); pointer-events: none; }
.rotulo .ic { width: 14px; height: 14px; }
.rotulo .pt { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .85; }

.pino { position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50% 50% 50% 4px; display: grid; place-items: center; background: var(--m-azul); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 2.5px #fff, 0 6px 16px rgba(15, 21, 33, .35); pointer-events: auto; cursor: pointer; transition: box-shadow .2s; }
.pino .ic { width: 15px; height: 15px; }
/* pedido já aplicado: menor e meio apagado, para não esconder o que ficou embaixo; inteiro ao passar o
   mouse. "scale" e não "transform": o transform do pino é a posição, escrita pelo mesa.js */
.pino.aplicado { background: var(--m-ok); scale: .78; opacity: .62; transition: box-shadow .2s, opacity .2s, scale .2s; }
.pino.aplicado:hover, .pino.aplicado.ativo { scale: 1; opacity: 1; }
.pino.resolvido { background: #8A93A3; }
.pino.novo { background: #fff; color: var(--m-azul); box-shadow: 0 0 0 2.5px var(--m-azul), 0 6px 16px rgba(15, 21, 33, .35); pointer-events: none; }
.pino.ativo { box-shadow: 0 0 0 2.5px #fff, 0 0 0 8px rgba(46, 108, 246, .4), 0 6px 16px rgba(15, 21, 33, .35); }

/* o balão de comentário (computador) */
.balao { position: absolute; left: 0; top: 0; width: 372px; pointer-events: auto; background: var(--m-papel); border-radius: 18px; box-shadow: var(--m-sombra-alta), 0 0 0 1px var(--m-linha); padding: 16px; display: grid; gap: 12px; z-index: 3; }
.balao header, .folha header { display: flex; align-items: center; gap: 10px; min-width: 0; }
.balao header .t { font-weight: 600; font-size: 15px; white-space: nowrap; }
.balao header .o { color: var(--m-tx3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.balao .fecha, .folha .fecha, .lista .fecha { margin-left: auto; color: var(--m-tx3); width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.balao .fecha:hover, .lista .fecha:hover { background: var(--m-mesa); color: var(--m-tx); }
.num { width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; background: var(--m-azul); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }
.num .ic { width: 14px; height: 14px; }
.num.novo { background: var(--m-azul-claro); color: var(--m-azul); }
.num.aplicado { background: var(--m-ok); }
.num.resolvido { background: var(--m-mesa); color: var(--m-tx3); box-shadow: inset 0 0 0 1px var(--m-linha2); }
.ajuste { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--m-tx2); min-width: 0; }
.ajuste .f { flex: 1; min-width: 0; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.campo { display: block; width: 100%; border: 0; outline: 0; resize: vertical; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--m-linha2); padding: 12px 14px; min-height: 96px; max-height: 40vh; font: 14.5px/1.5 var(--m-sans); color: var(--m-tx); background: var(--m-papel); transition: box-shadow .2s; }
.campo:focus { box-shadow: inset 0 0 0 1.5px var(--m-azul), 0 0 0 4px rgba(46, 108, 246, .15); }
.campo::placeholder { color: var(--m-tx3); }
.campo.piscar { animation: piscar .7s var(--m-mola) 2; }
.anexos { display: grid; gap: 8px; }
.anexos:empty { display: none; }
.anexo { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: var(--m-mesa); min-width: 0; }
.anexo img, .anexo .mini { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; background: var(--m-linha); }
.anexo .mini { display: grid; place-items: center; color: var(--m-tx3); }
.anexo > div { min-width: 0; }
.anexo .nome { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.anexo .tam { font-size: 12px; color: var(--m-tx3); }
.anexo .tira { margin-left: auto; color: var(--m-tx3); width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.anexo .tira:hover { background: var(--m-papel); color: var(--m-tx); }
.anexo.enviando { opacity: .7; }
.acoes { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.acoes .f { flex: 1; }
.dica-balao { font-size: 12px; color: var(--m-tx3); }

/* a barrinha de quem está trocando um texto no lugar (computador) */
.barrinha { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--m-papel); box-shadow: var(--m-sombra-alta), 0 0 0 1px var(--m-linha); pointer-events: auto; z-index: 3; }
.barrinha .bt { height: 34px; padding: 0 14px; font-size: 13px; }
.barrinha .dica { padding: 0 10px 0 6px; font-size: 12.5px; color: var(--m-tx3); white-space: nowrap; }

/* a lista de comentários */
.lista { grid-row: 2; grid-column: 2; background: var(--m-papel); border-left: 1px solid var(--m-linha); display: grid; grid-template-rows: auto auto 1fr auto; min-height: 0; }
.lista .alca { display: none; }
.lista > header { padding: 14px 12px 6px 20px; display: flex; align-items: center; gap: 8px; }
.lista > header h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.lista > header span { color: var(--m-tx3); }
.abas { display: flex; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--m-linha); }
.abas button { height: 42px; font-weight: 500; color: var(--m-tx3); position: relative; }
.abas button:hover { color: var(--m-tx2); }
.abas button[aria-selected="true"] { color: var(--m-tx); }
.abas button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--m-azul); }
.abas b { font-weight: 600; margin-left: 4px; color: inherit; }
.itens { overflow: auto; overscroll-behavior: contain; min-height: 0; }
.item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--m-linha); cursor: pointer; transition: background-color .15s; }
.item:hover { background: #FAFBFD; }
.item.ativo { background: #F7F9FF; box-shadow: inset 3px 0 0 var(--m-azul); }
.item > div { min-width: 0; }
.item .cab { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; min-width: 0; }
.item .el { font-weight: 600; white-space: nowrap; }
.item .onde, .balao header .o, .folha header .o { color: var(--m-tx3); }
.item .onde { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.onde::before, .balao header .o::before, .folha header .o::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin: 0 8px 3px 0; opacity: .7; }
.item .chip { margin-left: auto; }
.item p { font-size: 14px; color: var(--m-tx); overflow-wrap: anywhere; white-space: pre-line; }
.item .quem { margin-top: 8px; font-size: 12.5px; color: var(--m-tx3); white-space: normal; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; flex: none; }
.chip.aberto { background: var(--m-azul-claro); color: var(--m-azul-escuro); }
.chip.aplicado { background: var(--m-ok-claro); color: var(--m-ok); }
.chip.resolvido { background: var(--m-mesa); color: var(--m-tx3); }
.chip.texto { background: #FFF6E0; color: #8A5A00; }
.troca { display: grid; gap: 6px; margin-top: 2px; font-size: 13.5px; overflow-wrap: anywhere; }
.troca .antes { color: var(--m-tx3); text-decoration: line-through; text-decoration-color: rgba(180, 35, 24, .55); }
.troca .depois { color: var(--m-tx); }
.troca .depois mark { background: #FFF1C2; color: inherit; border-radius: 3px; padding: 0 2px; }
.troca small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--m-tx3); text-transform: uppercase; margin-bottom: 1px; }
.resposta { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--m-mesa); display: grid; gap: 4px; }
.resposta .de { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--m-tx3); }
.resposta .de b { color: var(--m-tx); font-weight: 600; }
.av { width: 20px; height: 20px; border-radius: 999px; background: var(--m-tx); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.resposta p { font-size: 13.5px; }
.item .botoes { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.miniaturas { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.miniaturas img, .miniaturas .mini { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--m-linha); }
.miniaturas .mini { display: grid; place-items: center; color: var(--m-tx3); }
.miniaturas a { display: block; border-radius: 10px; }
.rodape-lista { padding: 14px 20px; border-top: 1px solid var(--m-linha); font-size: 13px; color: var(--m-tx2); display: flex; gap: 10px; align-items: center; }
.vazio { padding: 40px 28px; text-align: center; color: var(--m-tx2); display: grid; gap: 10px; justify-items: center; }
.vazio .ic { width: 36px; height: 36px; color: var(--m-tx3); }
.vazio b { color: var(--m-tx); font-size: 15px; }

/* a escolha de tela */
.menu { position: fixed; width: 360px; max-height: calc(100dvh - 84px); overflow: auto; background: var(--m-papel); border-radius: 18px; box-shadow: var(--m-sombra-alta), 0 0 0 1px var(--m-linha); padding: 8px; z-index: 15; overscroll-behavior: contain; }
.menu h3 { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--m-tx3); padding: 10px 12px 4px; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 12px; border-radius: 10px; color: var(--m-tx); text-align: left; }
.menu button:hover { background: var(--m-mesa); }
.menu button .n { width: 18px; color: var(--m-tx3); font-variant-numeric: tabular-nums; flex: none; }
.menu button .tx { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu button .c { margin-left: auto; }
.menu button[aria-current="true"] { background: var(--m-azul-claro); color: var(--m-azul-escuro); font-weight: 600; }
.menu button[aria-current="true"] .n { color: var(--m-azul); }

/* avisos */
.aviso-versao { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 16px; background: var(--m-papel); border-radius: 999px; box-shadow: var(--m-sombra-alta), 0 0 0 1px var(--m-linha); font-size: 13px; white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; transition: opacity .25s, transform .35s var(--m-mola); background: var(--m-tx); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 500; z-index: 30; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.erro { background: var(--m-tira); }

/* a folha que sobe de baixo (celular) */
.modos-cel { display: none; }
.folha { position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100% - 64px); overflow: auto; overscroll-behavior: contain; background: var(--m-papel); border-radius: 24px 24px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .35); padding: 8px 16px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 14px; pointer-events: auto; z-index: 8; animation: subir .38s var(--m-mola); }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }
.folha .alca, .lista .alca { width: 40px; height: 5px; border-radius: 99px; background: var(--m-linha2); justify-self: center; margin-bottom: 2px; }
.folha header .t { font-weight: 600; font-size: 16px; white-space: nowrap; }
.folha header .o { color: var(--m-tx3); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.folha .fecha { width: 36px; height: 36px; background: var(--m-mesa); }
.folha .campo { font-size: 16px; min-height: 104px; }
.folha .acoes { gap: 8px; }
.folha .acoes .bt { height: 46px; flex: 1; }
.folha .ajuste .bt { height: 36px; }
.folha .bt.grande { height: 50px; width: 100%; }
.folha .dica { font-size: 12.5px; color: var(--m-tx3); display: flex; align-items: center; gap: 6px; }

/* ── a entrada ── */
body.entrar { overflow: auto; }
.entrada { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.entrada .cartao { width: min(440px, 100%); background: var(--m-papel); border-radius: 24px; box-shadow: var(--m-sombra), 0 0 0 1px var(--m-linha); padding: 32px 28px; display: grid; gap: 14px; }
.entrada .simbolo { width: 40px; height: 40px; }
.entrada h1 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.entrada p { color: var(--m-tx2); }
.entrada .bt { justify-self: start; margin-top: 4px; }
.entrada .msg { font-size: 13.5px; padding: 10px 12px; border-radius: 12px; background: var(--m-azul-claro); color: var(--m-azul-escuro); }
.entrada .msg.ok { background: var(--m-ok-claro); color: var(--m-ok); }
.entrada .msg.erro { background: var(--m-tira-claro); color: var(--m-tira); }
.pg-lista { display: grid; gap: 8px; }
.pg-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--m-linha2); color: var(--m-tx); text-decoration: none; }
.pg-item:hover { box-shadow: inset 0 0 0 1px var(--m-azul); }
.pg-item span { color: var(--m-tx3); font-size: 13px; white-space: nowrap; }

/* ── a mesa num celular de verdade ── */
@media (max-width: 760px) {
  .mesa { grid-template-rows: 56px 1fr 72px; grid-template-columns: 1fr; }
  .mesa[data-lista] .lista { display: grid; }
  .barra { padding: 0 12px 0 16px; gap: 10px; }
  .barra .meio, .aparelho, #botao-lista, .marca .sep, .marca .pg, .marca .ver { display: none !important; }
  .barra .dir { margin-left: auto; min-width: 0; }
  .barra .bt { height: 38px; padding: 0 12px; max-width: 62vw; }
  .barra .bt #nome-tela { overflow: hidden; text-overflow: ellipsis; }
  #botao-tela > .ic:first-child { display: none; }
  .palco { grid-row: 2; background: #040810; }
  .modos-cel { grid-row: 3; display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: center; gap: 4px; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--m-papel); border-top: 1px solid var(--m-linha); }
  .modos-cel button { display: grid; justify-items: center; gap: 3px; padding: 6px 0; border-radius: 14px; font-size: 12px; font-weight: 500; color: var(--m-tx3); }
  .modos-cel button .ic { width: 22px; height: 22px; }
  .modos-cel button[aria-pressed="true"] { color: var(--m-azul); background: var(--m-azul-claro); }
  .modos-cel .lst { position: relative; width: 56px; }
  .modos-cel .lst .conta { position: absolute; top: 2px; right: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--m-azul); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
  .lista { grid-row: auto; grid-column: auto; position: absolute; left: 0; right: 0; top: 64px; bottom: 0; z-index: 9; border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .35); grid-template-rows: auto auto auto 1fr auto; padding-top: 8px; transform: translateY(105%); visibility: hidden; transition: transform .38s var(--m-mola), visibility 0s linear .38s; }
  .mesa[data-lista="aberta"] .lista { transform: none; visibility: visible; transition: transform .38s var(--m-mola); }
  .lista .alca { display: block; }
  .lista > header { padding: 8px 12px 4px 16px; }
  .abas { padding: 0 16px; }
  .item { padding: 14px 16px; }
  .rodape-lista { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  .menu { left: 8px !important; right: 8px; width: auto; top: 62px !important; max-height: calc(100dvh - 140px); }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .aviso-versao { top: 10px; font-size: 12.5px; }
  .balao { display: none; }
}
