/* Gestão 360º Hospedagem: complementos do style.css (base comum: mesmas regras de tela responsiva do Poker). */
.ic { vertical-align: -3px; flex: none; }
.topbar .btn { display: inline-flex; align-items: center; gap: 6px; }
.num, td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pos { color: #067647; } .neg { color: var(--danger); }
.icon-box { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #111; color: #C9A227; flex: none; }
.ptabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 6px 0 14px; }
.ptabs button { border: 0; background: none; padding: 9px 12px; font: inherit; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; }
.ptabs button.active { color: var(--ink); border-bottom-color: var(--gold, #C9A227); }
.pf-head { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.pf-head h2 { margin: 0; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px; }
.kv div { font-size: 14px; } .kv span { display: block; font-size: 12px; color: var(--muted); }
.fs { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; }
.fs legend { font-weight: 700; font-size: 13px; padding: 0 6px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.calc-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.calc-table tr.total td { font-weight: 800; border-top: 2px solid var(--ink); }
.contract-body { white-space: pre-wrap; font-family: Georgia, 'Times New Roman', serif; font-size: 14px; line-height: 1.6; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; max-height: 50vh; overflow: auto; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding: 6px 0; }
.bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; height: 100%; position: relative; }
.bars .bar i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: #C9A227; min-height: 2px; }
.bars .bar i.neg { background: #d92d20; }
.bars .bar small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.quota-row { display: grid; grid-template-columns: 1.2fr 1.6fr 110px 36px; gap: 6px; align-items: center; margin-bottom: 6px; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 12px; }
.bk-leg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.bk-leg div { background: #f7f7f5; border-radius: 10px; padding: 8px 10px; }
.bk-leg span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.bk-leg b { font-size: 15px; }
.cx-table input[disabled] { opacity: .45; }
.ev-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; }
.ev-date { text-align: center; background: #111; color: #C9A227; border-radius: 10px; padding: 6px 0; font-weight: 800; line-height: 1.1; }
.ev-date small { display: block; color: #fff; font-weight: 600; font-size: 11px; text-transform: uppercase; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.chat { display: grid; gap: 8px; max-height: 50vh; overflow-y: auto; padding: 4px; }
.chat .msg { padding: 8px 12px; border-radius: 12px; background: #f2f2ef; max-width: 85%; white-space: pre-wrap; font-size: 14px; }
.chat .msg.me { background: #111; color: #fff; justify-self: end; }
.chat .msg small { display: block; opacity: .65; font-size: 11px; margin-top: 2px; }
/* Torneios: blocos um embaixo do outro (tabelas largas não quebram), colunas que ordenam */
.tn-stack { display: grid; gap: 12px; }
.tn-stack .panel, .tn-stack .table-wrap { min-width: 0; }
.tn-table th, .tn-table td { white-space: nowrap; }
.tn-table td:nth-child(2) { white-space: normal; min-width: 160px; }
.tn-sort { cursor: pointer; user-select: none; }
.tn-sort:hover { color: var(--ink); text-decoration: underline; }
.tn-off td { background: #fef3f2; }
.tn-stats .stat b { font-size: 20px; word-break: break-word; }
.tn-bars { overflow-x: auto; }
.tn-bars .bar { min-width: 26px; }
@media (max-width: 560px) { .bk-leg { grid-template-columns: 1fr 1fr; } .bk-grid { grid-template-columns: 1fr; } }
textarea.input.tall { min-height: 320px; font-family: Georgia, serif; line-height: 1.5; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } .quota-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* =====================================================================================
   Responsivo: todas as telas do Hospedagem se ajustam a qualquer largura (celular, tablet, computador e telas grandes).
   Regras: nada passa da largura da tela; grades viram uma coluna quando falta espaço; botões, abas, selos e
   números não quebram no meio; tabelas largas rolam para o lado dentro do próprio bloco.
   ===================================================================================== */
html, body { max-width: 100%; overflow-x: clip; } /* clip (e não hidden) para não atrapalhar o topo e o menu fixos */
img, video, canvas { max-width: 100%; height: auto; }
.input, select.input, textarea.input { max-width: 100%; min-width: 0; }
.row > *, .page-head > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .grid-cols > *, .kv > *, .stats > *, .bk-grid > *, .mk-grid > * { min-width: 0; }

/* textos: só palavras que não cabem (e-mails, links, códigos) quebram; o resto quebra entre palavras */
body { overflow-wrap: break-word; }
.btn, .badge, .tab, .seg-inline button, .ptabs button, table.data th, td.num, th.num, .num, .g-nav button, .topbar > * { white-space: nowrap; overflow-wrap: normal; }
.badge { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }

/* grades que se ajustam sozinhas: tantas colunas quanto couberem, uma coluna no celular */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.grid-cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.kv { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.bk-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.mk-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.bk-leg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr)); }

/* cartões de números: o valor fica numa linha e diminui um pouco em telas pequenas */
.stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr)) !important; }
/* o número acompanha a largura do próprio cartão (nunca fica cortado nem desproporcional) */
.stat { container-type: inline-size; }
.stat b { font-size: clamp(15px, 10cqi, 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat span, .stat small { overflow-wrap: break-word; }
/* valor com sinal (+/−) dentro do número grande: mesmo tamanho e fonte do número, cor verde/vermelha */
.stat b span { font: inherit !important; letter-spacing: inherit !important; text-transform: none !important; color: inherit; }
.stat b span.neg { color: var(--danger) !important; }
.stat b span.pos { color: #067647 !important; }
.bk-leg b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* abas e botões de escolha: uma linha só, rolando para o lado quando não cabem */
.ptabs, .seg-inline, .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.ptabs button, .seg-inline button, .tabs .tab { flex: none; }
.seg-inline { display: inline-flex; }

/* tabelas: sempre dentro do bloco; a tabela larga rola para o lado sem empurrar a página */
.table-wrap { max-width: 100%; }
.panel > table.data, .bk-card table.data { display: block; overflow-x: auto; max-width: 100%; }
table.data th { vertical-align: bottom; }
.calc-table td:last-child { white-space: nowrap; }

/* títulos proporcionais à tela */
.page-head h2, .pf-head h2 { font-size: clamp(18px, 1.2vw + 13px, 22px); line-height: 1.25; }
.page-head { row-gap: 8px; }

/* janelas (modais): ocupam a tela do celular sem cortar */
.modal { max-width: min(480px, 100%); }
.modal[style*="720px"] { max-width: min(760px, 100%) !important; }
.modal-foot { flex-wrap: wrap; }
.modal-foot .btn { flex: 0 1 auto; }

/* listas com texto e ação: a ação vai para baixo quando falta espaço */
.list-plain li { flex-wrap: wrap; }

/* telas grandes: conteúdo centralizado com largura confortável */
@media (min-width: 1700px) { .g-main { max-width: 1700px; margin: 0 auto; } }

/* tablet */
@media (max-width: 900px) {
  .g-main { padding: 16px; }
  .pf-head { gap: 10px; }
}
/* celular */
@media (max-width: 700px) {
  .page-head { align-items: stretch; }
  .page-head > h2 { flex: 1 1 100%; }
  .page-head > .spacer { display: none; }
  .page-head > .input, .page-head > select.input, .page-head > input.input { width: 100% !important; flex: 1 1 100%; }
  .page-head > .btn { flex: 1 1 auto; }
  .row > .input, .row > select.input { flex: 1 1 140px; width: auto !important; }
  .row > label.row { flex: 1 1 100%; }
  .row > label.row .input { flex: 1; width: auto !important; }
  .pf-head > .row { width: 100%; }
  .pf-head > .row .btn { flex: 1 1 auto; }
  .g-main { padding: 12px; }
  .panel { padding: 12px; }
  .modal-bg { padding: 8px; align-items: start; }
  .modal { max-height: calc(100vh - 16px); }
  .modal-body { padding: 14px; }
  .ev-card { grid-template-columns: 52px 1fr; }
  .ev-card > :last-child { grid-column: 1 / -1; }
  .quota-row { grid-template-columns: 1fr 1fr; }
  .quota-row [data-qp] { grid-column: 1; }
  /* números em duas colunas no celular (sem desperdiçar a tela) */
  .stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)) !important; gap: 8px; }
  .stat { padding: 10px 12px; }
  .stat b { font-size: clamp(14px, 10.5cqi, 20px); }
  .topbar { gap: 6px; padding-left: 10px; padding-right: 10px; }
  .topbar .badge { display: none; }
  .chat .msg { max-width: 92%; }
  .bars .bar small { font-size: 9px; }
}
/* cartão com frase (não número): quebra entre palavras normalmente */
.stat b.stat-txt { white-space: normal; font-size: 15px !important; line-height: 1.3; overflow: visible; }
/* legendas da banca: o valor acompanha a largura de cada quadradinho */
.bk-leg div { container-type: inline-size; }
.bk-leg b { font-size: clamp(12px, 11.5cqi, 16px); }
.bk-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.bk-leg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
.bk-leg b { font-size: clamp(13px, 12cqi, 17px); }

/* sem permissão de ver valores: colunas de dinheiro somem */
body.sem-valores .val { display: none !important; }

/* pesquisa geral no topo e filtro "nesta tela" */
.gsearch { position: relative; flex: 0 1 260px; min-width: 120px; }
.gsearch .input { width: 100%; height: 32px; padding: 4px 10px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.gsearch .input::placeholder { color: rgba(255,255,255,.6); }
.gs-res { position: absolute; top: calc(100% + 6px); right: 0; width: min(420px, calc(100vw - 20px)); max-height: 70vh; overflow-y: auto; background: var(--card, #fff); color: var(--text, #111); border: 1px solid var(--line, #ddd); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.18); z-index: 60; padding: 4px; }
.gs-res button { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer; color: inherit; white-space: normal; }
.gs-res button:hover, .gs-res button:focus { background: rgba(201,162,39,.12); }
.gs-res button .small { grid-column: 2; }
.gs-res .gs-type { grid-row: span 2; font-size: 11px; color: #8a6d12; background: rgba(201,162,39,.14); border-radius: 6px; padding: 2px 6px; align-self: start; white-space: nowrap; }
.gs-res b { overflow-wrap: anywhere; }
.sec-filter { width: min(220px, 100%); }
.filtro-fora { display: none !important; }
@media (max-width: 700px) {
  .gsearch { flex: 1 1 auto; min-width: 70px; }
  .sec-filter { width: 100%; order: 5; }
}
/* topo com a pesquisa: nada passa da largura (a cotação e a pesquisa encolhem; textos secundários somem antes) */
.topbar { min-width: 0; }
.topbar > * { flex-shrink: 0; }
.topbar .brand { min-width: 0; flex-shrink: 1; overflow: hidden; }
.topbar .brand #tname { overflow: hidden; text-overflow: ellipsis; }
.topbar .gsearch { flex: 0 1 240px; min-width: 90px; }
.topbar #rate-btn { flex-shrink: 1; min-width: 40px; max-width: 360px; overflow: hidden; }
.topbar #rate-txt { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1280px) { .topbar .who { display: none; } }
@media (max-width: 1000px) { .topbar #rate-txt { display: none; } }
@media (max-width: 600px) { .topbar .gsearch { min-width: 60px; } .topbar .brand-logo + #tname { display: none; } }
/* a barra do topo rola para o lado (style.css): a lista da pesquisa fica fixa na tela para não ser cortada */
.gs-res { position: fixed; top: 64px; right: auto; }
/* celular: logo sempre visível; "Suporte" só com o ícone e "Minha senha" vira "Senha" para tudo caber */
@media (max-width: 600px) {
  .topbar .brand { flex-shrink: 0; }
  .topbar #support-btn { font-size: 0; gap: 0 !important; padding-left: 8px; padding-right: 8px; }
  .topbar #my-pass { font-size: 0; }
  .topbar #my-pass::before { content: 'Senha'; font-size: 12px; }
}
/* faixa da demonstração (só na versão demo) */
.demo-faixa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 16px; background: #111; color: #fff; font-size: 13px; border-top: 2px solid #C9A227; }
.demo-faixa a { color: #C9A227; font-weight: 600; text-decoration: none; white-space: nowrap; }
.demo-faixa a.sair { color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 3px 10px; }
body.com-demo { padding-bottom: 64px; }
@media (max-width: 600px) { .demo-faixa { font-size: 12px; padding: 6px 10px; } .demo-faixa .spacer { display: none; } body.com-demo { padding-bottom: 84px; } }

.demo-faixa a.wa { display: inline-flex; align-items: center; gap: 5px; background: #C9A227; color: #111; border-radius: 8px; padding: 3px 10px; }

/* =====================================================================================
   Hospedagem
   ===================================================================================== */
.sdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #98a2b3; vertical-align: 1px; }
.sdot.ok { background: #12b76a; } .sdot.warn { background: #f79009; } .sdot.bad { background: #d92d20; } .sdot.info { background: #2e90fa; }
.badge-src { background: #f2f4f7; color: #344054; }

/* Calendário de ocupação: uma linha por espaço, uma coluna por dia; as reservas são barras por cima */
.cal-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.cal-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-width: 100%; }
.cal-grid { display: grid; min-width: max-content; }
.cal-grid > div { border-bottom: 1px solid var(--line); border-right: 1px solid #f0f0ee; min-height: 46px; }
.cal-head { font-size: 11px; text-align: center; padding: 6px 2px; color: var(--muted); background: #fafaf8; line-height: 1.2; min-height: 0 !important; }
.cal-head b { display: block; font-size: 14px; color: var(--ink); }
.cal-head.wk { background: #f5f3ec; } .cal-head.today { background: #111; color: #C9A227; } .cal-head.today b { color: #fff; }
.cal-unit { position: sticky; left: 0; z-index: 2; background: var(--surface); padding: 8px 10px; font-weight: 600; font-size: 13px; display: flex; flex-direction: column; justify-content: center; gap: 2px; border-right: 1px solid var(--line) !important; min-width: 0; }
.cal-unit small { font-weight: 500; color: var(--muted); font-size: 11px; }
.cal-cell { cursor: pointer; } .cal-cell:hover { background: #fbf7e8; } .cal-cell.wk { background: #fcfbf7; } .cal-cell.today { background: #fdf8e6; }
.cal-bar { z-index: 1; align-self: center; margin: 0 3px; height: 34px !important; min-height: 0 !important; border-radius: 8px; padding: 2px 8px; font-size: 12px; line-height: 1.25; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; border: 0 !important; color: #111; display: flex; flex-direction: column; justify-content: center; }
.cal-bar small { font-size: 10px; opacity: .75; overflow: hidden; text-overflow: ellipsis; }
.cal-bar.st-confirmada { background: #dbe8ff; } .cal-bar.st-hospedado { background: #c9f0d8; } .cal-bar.st-pedido { background: #fff1c2; outline: 2px dashed #e0a800; outline-offset: -2px; }
.cal-bar.st-finalizada { background: #ececea; color: #555; } .cal-bar.blk { background: repeating-linear-gradient(45deg, #f3f3f1, #f3f3f1 6px, #e6e6e3 6px, #e6e6e3 12px); color: #555; cursor: default; }
.cal-bar.blk.ext { background: repeating-linear-gradient(45deg, #ffe4e1, #ffe4e1 6px, #ffd2cc 6px, #ffd2cc 12px); cursor: pointer; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.cal-legend i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }

/* espaços */
.u-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.u-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.u-cover { aspect-ratio: 16 / 10; background: #f2f1ec center / cover no-repeat; display: grid; place-items: center; color: #b8b6ae; position: relative; }
.u-cover .badge { position: absolute; top: 10px; left: 10px; }
.u-body { padding: 12px 14px; display: grid; gap: 6px; flex: 1; }
.u-body h3 { margin: 0; font-size: 16px; }
.u-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.u-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); gap: 8px; }
.ph-item { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #f2f1ec center / cover; border: 2px solid transparent; }
.ph-item.cover { border-color: #C9A227; }
.ph-item .ph-tools { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 4px; padding: 4px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.ph-item .ph-tools button { border: 0; border-radius: 6px; background: rgba(255,255,255,.92); font-size: 11px; padding: 3px 6px; cursor: pointer; }
.ph-add { display: grid; place-items: center; aspect-ratio: 4 / 3; border: 2px dashed var(--line); border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 13px; text-align: center; padding: 6px; }
.amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 4px 12px; }
.amen-grid .check { margin: 0; }
.copy-line { display: flex; gap: 6px; align-items: center; min-width: 0; }
.copy-line code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #f6f5f1; border-radius: 8px; padding: 6px 10px; font-size: 12px; }
.qr-box { display: grid; place-items: center; gap: 8px; text-align: center; }
.qr-box img, .qr-box svg { width: min(240px, 100%); height: auto; }

/* pedidos dos hóspedes */
.rq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.rq-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 8px; min-width: 0; }
.rq-card.novo { border-color: #f79009; box-shadow: 0 0 0 2px #fef0c7; }
.rq-head { display: flex; gap: 8px; align-items: flex-start; }
.rq-head .icon-box { width: 32px; height: 32px; }
.rq-items { margin: 0; padding-left: 18px; font-size: 14px; }
.rq-photo { max-height: 160px; border-radius: 8px; object-fit: cover; }
.rq-foot { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* reserva: conta */
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); }
.acc-table td:last-child { text-align: right; white-space: nowrap; }
.acc-table tr.tot td { font-weight: 800; border-top: 2px solid var(--ink); border-bottom: 0; }
.stars { color: #C9A227; white-space: nowrap; letter-spacing: 1px; }
.stars .off { color: #d0d0cc; }
.guest-alert { border-left: 4px solid var(--danger); }
.tagline { display: flex; flex-wrap: wrap; gap: 4px; }
.res-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.res-head h2 { margin: 0; }
.today-list li > span:first-child { min-width: 0; }
.unit-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
@media (max-width: 700px) {
  .cal-unit { font-size: 12px; padding: 6px; }
  .u-actions .btn { flex: 1 1 auto; }
}

/* topo do painel no celular: só os ícones em "Página do local" e "Som" */
@media (max-width: 700px) { .topbar .lbl { display: none; } .topbar #public-link, .topbar #sound { padding-left: 8px; padding-right: 8px; } }
/* área principal nunca passa da tela (tabelas largas rolam dentro do próprio bloco) */
.g-layout { grid-template-columns: 230px minmax(0, 1fr); } .g-main { min-width: 0; }
@media (max-width: 860px) { .g-layout { grid-template-columns: minmax(0, 1fr); } }
