:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface-1: #fcfcfb;
  --surface-2: #f0efec;
  --text-primary: #0b0b0b;
  --text-secondary: #52514e;
  --text-muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --border: rgba(11, 11, 11, 0.10);
  --series-1: #2a78d6;
  --series-1-hover: #1c5cab;
  --seq-0: #cde2fb;
  --seq-1: #104281;
  --focus: #2a78d6;
  --delta-sobe: #006300;
  --delta-desce: #c42f2f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0d0d0d;
    --surface-1: #1a1a19;
    --surface-2: #262624;
    --text-primary: #f0efec;
    --text-secondary: #c3c2b7;
    --text-muted: #898781;
    --grid: #2c2c2a;
    --axis: #383835;
    --border: rgba(255, 255, 255, 0.10);
    --series-1: #3987e5;
    --series-1-hover: #86b6ef;
    --seq-0: #1f2a38;
    --seq-1: #86b6ef;
    --focus: #3987e5;
    --delta-sobe: #2fb52f;
    --delta-desce: #ef7070;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d;
  --surface-1: #1a1a19;
  --surface-2: #262624;
  --text-primary: #f0efec;
  --text-secondary: #c3c2b7;
  --text-muted: #898781;
  --grid: #2c2c2a;
  --axis: #383835;
  --border: rgba(255, 255, 255, 0.10);
  --series-1: #3987e5;
  --series-1-hover: #86b6ef;
  --seq-0: #1f2a38;
  --seq-1: #86b6ef;
  --focus: #3987e5;
  --delta-sobe: #2fb52f;
  --delta-desce: #ef7070;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--text-primary);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.viz-root { max-width: 1440px; margin: 0 auto; padding: 20px 24px 40px; }
h1 { font-size: 22px; margin: 0; font-weight: 650; }
h2 { font-size: 14px; margin: 0 0 2px; font-weight: 600; }
.sub, .nota { color: var(--text-secondary); margin: 2px 0 0; font-size: 12.5px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.btn-ghost {
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 12px; color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--surface-2); }

/* ---------- filtros ---------- */
.filtros {
  display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end;
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; position: sticky; top: 0; z-index: 1000;
}
.filtro { display: flex; flex-direction: column; gap: 4px; min-width: 0; position: relative; }
.filtro > label { font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.filtro select, .filtro input, .ms-botao {
  height: 32px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface-1); padding: 0 8px; min-width: 0;
}
.periodo { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.presets { display: flex; gap: 4px; }
.presets button, .seg button {
  border: 1px solid var(--border); background: transparent; border-radius: 6px;
  padding: 2px 8px; font-size: 12px; color: var(--text-secondary);
}
.presets button:hover, .seg button:hover { background: var(--surface-2); }
.presets button.ativo, .seg button.ativo { background: var(--text-primary); color: var(--surface-1); border-color: var(--text-primary); }
.filtro-acao { margin-left: auto; }

.ms-botao {
  width: 190px; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.ms-botao span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-botao.tem-selecao { border-color: var(--series-1); }
.ms-painel {
  position: absolute; top: 100%; left: 0; margin-top: 4px; width: 300px; max-width: calc(100vw - 32px);
  background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); z-index: 2000; padding: 8px;
}
.ms-painel input[type=search] {
  width: 100%; height: 32px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--surface-1); padding: 0 8px; margin-bottom: 6px;
}
.ms-lista { max-height: 300px; overflow: auto; }
.ms-item {
  display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; cursor: pointer; font-size: 13px;
}
.ms-item:hover { background: var(--surface-2); }
.ms-item .rot { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-item .qt { color: var(--text-muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.ms-item.zero { opacity: .45; }
.ms-rodape { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; font-size: 12px; color: var(--text-muted); }
.ms-rodape button { border: 0; background: none; color: var(--series-1); padding: 2px 4px; }

.resumo-filtro { color: var(--text-secondary); font-size: 12.5px; margin: 10px 2px; min-height: 18px; }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.kpi .rot { color: var(--text-secondary); font-size: 12.5px; }
.kpi .val { font-size: 26px; font-weight: 650; margin-top: 2px; }
.kpi .det { color: var(--text-muted); font-size: 12px; }

/* ---------- cards ---------- */
.card { background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.seg { display: flex; gap: 4px; }
.card-mapa { margin-bottom: 16px; }
#mapa { height: 560px; border-radius: 8px; background: var(--surface-2); }
.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.largo { grid-column: 1 / -1; }
.chart { height: 300px; margin-top: 8px; }
.chart.alto { height: 420px; }
.chart.baixo { height: 240px; }

.tabela-wrap { overflow-x: auto; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--grid); }
th { color: var(--text-muted); font-weight: 500; font-size: 12px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.rodape { color: var(--text-muted); font-size: 12px; margin-top: 20px; text-align: center; }

/* ---------- mapa ---------- */
.leaflet-popup-content { font-size: 13px; line-height: 1.4; }
.leaflet-popup-content b { display: block; margin-bottom: 2px; }
.pop-sub { color: #52514e; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgba(42, 120, 214, .25); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: rgba(42, 120, 214, .85); color: #fff; font-weight: 600; }
.marker-cluster-medium { background-color: rgba(28, 92, 171, .3); }
.marker-cluster-medium div { background-color: rgba(28, 92, 171, .9); }
.marker-cluster-large { background-color: rgba(13, 54, 107, .3); }
.marker-cluster-large div { background-color: rgba(13, 54, 107, .92); }

@media (max-width: 900px) {
  .viz-root { padding: 12px 16px 32px; }
  .grade { grid-template-columns: minmax(0, 1fr); }
  .filtros { position: static; }
  .filtro-acao { margin-left: 0; }
  .ms-botao { width: 100%; }
  .filtro { flex: 1 1 140px; }
  #mapa { height: 420px; }
}

/* ---------- comparativo ---------- */
.comparativo { margin-bottom: 16px; }
h3 { font-size: 13px; margin: 0; font-weight: 600; color: var(--text-secondary); }
.cmp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 16px; }
.cmp-tile { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.cmp-tile .rot { color: var(--text-secondary); font-size: 12.5px; }
.cmp-tile .val { font-size: 22px; font-weight: 650; margin: 2px 0 4px; }
.cmp-linha { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-muted); }
.cmp-linha .ref { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.delta { font-weight: 600; color: var(--text-primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.delta.nd { color: var(--text-muted); font-weight: 400; }
.cmp-grade { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.cmp-tab-head { display: flex; align-items: center; gap: 8px; }
.cmp-tab-head select { height: 28px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-1); padding: 0 6px; }
#t-cmp td:first-child { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .cmp-grade { grid-template-columns: minmax(0, 1fr); } }

/* ---------- impressão: janela de opções ---------- */
.topo-acoes { display: flex; gap: 8px; }
dialog#dlg-imprimir {
  border: 1px solid var(--border); border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 32px));
  background: var(--surface-1); color: var(--text-primary); box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
dialog#dlg-imprimir::backdrop { background: rgba(0,0,0,.4); }
.dlg { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.dlg h2 { font-size: 16px; }
.dlg fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px 10px; margin: 0; }
.dlg legend { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; padding: 0 4px; }
.opcao { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; cursor: pointer; flex-wrap: wrap; }
.dlg-acoes-lista { display: flex; gap: 6px; margin-bottom: 6px; }
.dlg-acoes-lista input { flex: 1; min-width: 0; height: 30px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-1); padding: 0 8px; }
.dlg-lista { max-height: 260px; overflow: auto; }
.dlg-rodape { display: flex; justify-content: flex-end; gap: 8px; }
.btn-primario { background: var(--series-1); color: #fff; border: 0; border-radius: 8px; padding: 7px 14px; font-weight: 600; }
.btn-primario:disabled { opacity: .5; cursor: default; }

/* ---------- impressão: relatório ---------- */
#relatorio { display: none; }
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  html, body { background: #fff !important; }
  body > .viz-root, dialog { display: none !important; }
  #relatorio { display: block; }
}
#relatorio {
  color: #0b0b0b; background: #fff; font: 10.5pt/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.rel-pagina { break-after: page; }
.rel-pagina:last-child { break-after: auto; }
.rel-cab { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #0b0b0b; padding-bottom: 6px; margin-bottom: 10px; }
.rel-cab h1 { font-size: 17pt; margin: 0; }
.rel-cab .rel-sub { color: #52514e; font-size: 9.5pt; margin-top: 2px; }
.rel-cab .rel-data { color: #52514e; font-size: 9pt; text-align: right; }
.rel-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.rel-kpi { border: 1px solid #c3c2b7; border-radius: 6px; padding: 5px 8px; }
.rel-kpi .r { color: #52514e; font-size: 8.5pt; }
.rel-kpi .v { font-size: 14pt; font-weight: 700; }
#relatorio h2 { font-size: 11pt; margin: 10px 0 4px; }
#relatorio table { width: 100%; border-collapse: collapse; font-size: 9pt; break-inside: avoid; }
#relatorio th, #relatorio td { text-align: left; padding: 2.5px 5px; border-bottom: 1px solid #e1e0d9; }
#relatorio th { color: #52514e; font-weight: 600; font-size: 8.5pt; }
#relatorio td.n, #relatorio th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
#relatorio td.barra { width: 32%; }
.rel-bar { height: 8px; background: #2a78d6; border-radius: 0 3px 3px 0; min-width: 1px; }
.rel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.rel-bloco { break-inside: avoid; }
.rel-meses { display: flex; align-items: flex-end; gap: 3px; height: 110px; border-bottom: 1px solid #c3c2b7; padding-top: 14px; }
.rel-mes { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.rel-mes .c { width: 100%; max-width: 26px; background: #2a78d6; border-radius: 3px 3px 0 0; }
.rel-mes .c.fora { background: #b7d3f6; }
.rel-mes .q { font-size: 7pt; color: #52514e; margin-bottom: 1px; }
.rel-meses-rot { display: flex; gap: 3px; }
.rel-meses-rot span { flex: 1; text-align: center; font-size: 7pt; color: #898781; min-width: 0; overflow: hidden; }
.rel-vazio { color: #898781; font-style: italic; }
.rel-rodape { margin-top: 8px; color: #898781; font-size: 8pt; }

/* relatório: dia × hora */
#relatorio table.rel-calor { table-layout: fixed; font-size: 7pt; }
#relatorio .rel-calor th, #relatorio .rel-calor td { text-align: center; padding: 2px 0; border: 1px solid #fff; }
#relatorio .rel-calor thead th { color: #898781; font-weight: 500; font-size: 7pt; }
#relatorio .rel-calor tbody th { width: 30px; text-align: left; color: #52514e; font-size: 7.5pt; }
#relatorio .rel-calor td { background: #f5f5f3; font-variant-numeric: tabular-nums; }

/* comparativo: alta em verde, queda em vermelho (a seta mantém o sentido sem depender da cor) */
.delta.sobe, #t-cmp td.sobe { color: var(--delta-sobe); font-weight: 600; }
.delta.desce, #t-cmp td.desce { color: var(--delta-desce); font-weight: 600; }

/* ---------- consulta de registros ---------- */
.consulta { margin-top: 16px; }
.cons-busca { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; margin: 8px 0 4px; }
#cons-q { flex: 1 1 380px; min-width: 0; height: 36px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-1); padding: 0 10px; }
.cons-todos { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-secondary); cursor: pointer; }
#t-cons td { white-space: nowrap; }
#t-cons td.nat { max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
#t-cons td.bai { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
#t-cons td.id { font-variant-numeric: tabular-nums; font-weight: 600; }
#t-cons tbody tr { cursor: pointer; }
#t-cons tbody tr:hover, #t-cons tbody tr:focus-visible { background: var(--surface-2); }
#t-cons .vazio td { cursor: default; color: var(--text-muted); white-space: normal; }
button.ord { border: 0; background: none; padding: 0; color: var(--text-muted); font-size: 12px; font-weight: 500; }
button.ord:hover { color: var(--text-primary); }
.cons-pag { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--text-secondary); }
.cons-pag button:disabled { opacity: .4; cursor: default; }
.btn-link { border: 0; background: none; padding: 0; color: #2a78d6; font: inherit; font-weight: 600; cursor: pointer; margin-top: 4px; }

/* ---------- ficha do registro ---------- */
dialog#dlg-registro {
  border: 1px solid var(--border); border-radius: 14px; padding: 0; width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 48px); background: var(--surface-1); color: var(--text-primary); box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
dialog#dlg-registro::backdrop { background: rgba(0,0,0,.4); }
.ficha { padding: 18px 22px 22px; }
.ficha-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 12px; }
.ficha-tipo { margin: 0; font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.ficha-topo h2 { font-size: 20px; margin: 2px 0 0; font-variant-numeric: tabular-nums; }
.ficha-acoes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ficha h3 { font-size: 13px; margin: 16px 0 6px; color: var(--text-primary); }
.ficha-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 18px; }
.campo .rot { font-size: 11.5px; color: var(--text-muted); }
.campo .val { font-size: 14px; }
.campo.largo { grid-column: 1 / -1; }
.campo.duplo { grid-column: span 2; }
@media (max-width: 560px) { .campo.duplo { grid-column: 1 / -1; } }
.ficha table { font-size: 13px; }
.ficha .sem { color: var(--text-muted); font-size: 13px; margin: 2px 0; }

/* ficha impressa: cores fixas, independentes do tema */
#relatorio .ficha {
  --text-primary: #0b0b0b; --text-secondary: #52514e; --text-muted: #898781;
  --border: rgba(0,0,0,.15); --surface-1: #fff; --surface-2: #f0efec; --grid: #e1e0d9;
  padding: 0; font-size: 10.5pt;
}
#relatorio .ficha .ficha-acoes { display: none; }

/* ficha: histórico */
.ficha .historico {
  white-space: pre-wrap; font-size: 13.5px; line-height: 1.55; background: var(--surface-2);
  border-radius: 8px; padding: 12px 14px; max-height: 320px; overflow: auto;
}
#relatorio .ficha .historico { max-height: none; overflow: visible; background: none; padding: 0; font-size: 10.5pt; text-align: justify; }

/* ---------- produtividade por policial ---------- */
.pm-ctrl { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-secondary); }
.pm-ctrl select { height: 30px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-1); padding: 0 8px; }
.pm-grade { display: block; }
#t-pm td { white-space: nowrap; }
#t-pm td:nth-child(2) { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
#t-pm td:nth-child(3) { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
#t-pm td.destaque { font-weight: 700; }
#t-pm tbody tr.pm-linha { cursor: pointer; }
#t-pm tbody tr.pm-linha:hover, #t-pm tbody tr.pm-linha:focus-visible { background: var(--surface-2); }
#t-pm tbody tr.selecionado { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--series-1); }
#t-pm tbody tr.selecionado td:nth-child(2) { font-weight: 700; }
/* bases do policial (sub-linhas abertas ao clicar no nome) */
#t-pm tbody tr.pm-linha td:nth-child(2)::before { content: "▸ "; color: var(--text-muted); }
#t-pm tbody tr.pm-linha.aberto td:nth-child(2)::before { content: "▾ "; }
#t-pm tbody tr.pm-linha.aberto { background: var(--surface-2); }
#t-pm tbody tr.pm-sub td { font-size: 12.5px; color: var(--text-secondary); background: var(--surface-2); border-bottom-color: var(--surface-1); padding-top: 4px; padding-bottom: 4px; }
#t-pm tbody tr.pm-sub td:nth-child(2) { padding-left: 26px; }
#t-pm tbody tr.pm-sub td.destaque { color: var(--text-primary); }

/* ---------- abas entre os painéis ---------- */
.abas { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.abas a {
  padding: 8px 14px; color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 13.5px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.abas a:hover { color: var(--text-primary); }
.abas a[aria-current="page"] { color: var(--text-primary); border-bottom-color: var(--series-1); }
@media print { .abas { display: none; } }

/* análise criminal: lista de delitos num mesmo ponto do mapa */
.pop-lista .pop-itens { max-height: 220px; overflow: auto; margin-top: 6px; border-top: 1px solid #e1e0d9; }
.pop-item { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 4px 2px; font-size: 12.5px; color: #2a78d6; cursor: pointer; border-bottom: 1px solid #f0efec; }
.pop-item:hover { background: #f0efec; }

/* análise criminal: variação boa (queda) em verde, ruim (alta) em vermelho */
.delta.bom, #t-cmp td.bom { color: var(--delta-sobe); font-weight: 600; }
.delta.ruim, #t-cmp td.ruim { color: var(--delta-desce); font-weight: 600; }

/* análise criminal: janela de horários das bases */
dialog#dlg-horarios {
  border: 1px solid var(--border); border-radius: 14px; padding: 0; width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px); background: var(--surface-1); color: var(--text-primary); box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
dialog#dlg-horarios::backdrop { background: rgba(0,0,0,.4); }
.dlg-hor #hor-busca { height: 32px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-1); padding: 0 8px; }
.hor-todas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dlg-hor select { height: 30px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-1); padding: 0 6px; }
.hor-lista { max-height: 340px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; }
#t-hor th { position: sticky; top: 0; background: var(--surface-1); }
#t-hor td { padding: 3px 8px; }
#t-hor tr.difere td:first-child { font-weight: 700; }
.hor-rodape { justify-content: space-between; flex-wrap: wrap; }
.hor-rodape > div { display: flex; gap: 8px; flex-wrap: wrap; }
#t-hor tr.hor-sub td { background: var(--surface-2); font-size: 12.5px; padding: 3px 8px; }
#t-hor tr.hor-sub td:first-child { padding-left: 22px; color: var(--text-secondary); }
.hor-par { white-space: nowrap; }
.hor-resumo { font-size: 12.5px; }
.hor-atalho { display: inline-flex; align-items: center; gap: 4px; margin-right: 16px; white-space: nowrap; }
.hor-atalho .btn-ghost { padding: 3px 8px; font-size: 12px; }
