/* COMERCIALPublic 2026.0.0.131 — escolha da empresa e Administração › Empresas. */
.emp-escolhe { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: var(--bg, #0b1220); }
.emp-escolhe[hidden] { display: none; }
body.emp-escolhendo { overflow: hidden; }
body.emp-escolhendo .app-shell,
body.emp-escolhendo .nv-tela { visibility: hidden; }
.emp-escolhe-box { width: min(28rem, calc(100% - 2rem)); }
.emp-escolhe-box h2 { margin: 0 0 0.8rem; }
.emp-escolhe-lista { display: flex; flex-direction: column; gap: 0.5rem; outline: none; }
.emp-op { display: flex; align-items: center; gap: 0.75rem; width: 100%; text-align: left; padding: 0.7rem 0.8rem; border: 2px solid var(--line, #334155); border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.emp-op img { width: 72px; height: 32px; object-fit: contain; background: #fff; border-radius: 6px; }
.emp-op-nome { flex: 1; font-weight: 700; }
.emp-op-sigla { min-width: 2.4rem; padding: 0.15rem 0.4rem; border-radius: 6px; color: #fff; font-weight: 800; text-align: center; }
.emp-op[aria-selected="true"] { border-color: var(--cyan, #2fcdee); }
.emp-seletor { display: inline-flex; align-items: center; gap: 0.4rem; max-width: 14rem; padding: 0.25rem 0.6rem; border: 0; border-radius: 999px; color: #fff; font-weight: 700; cursor: pointer; }
.emp-seletor[hidden] { display: none; }
.emp-seletor-sigla { font-size: 0.75rem; letter-spacing: 0.04em; }
.emp-seletor-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#adm-empresas { display: none !important; }
body.mode-empresas #adm-empresas { display: block !important; }
body.mode-empresas #adm-usuarios,
body.mode-empresas #adm-auditoria,
body.mode-empresas #adm-atualizacoes,
body.mode-empresas #adm-ugs { display: none !important; }
/* M5: barra superior só breadcrumb — sem coluna de cotação/município */
body.mode-empresas .editor,
body.mode-empresas .preview { display: none !important; }
body.mode-empresas .app-body { display: block; max-width: none; margin: 0; }
body.mode-empresas #btn-print,
body.mode-empresas #btn-exemplo { display: none; }
body:not(.emp-geral) #btn-mode-emp { display: none !important; }
.emp-paleta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; border: 0; }
.emp-paleta label { width: 2rem; height: 2rem; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.emp-paleta input { position: absolute; opacity: 0; }
.emp-paleta label:has(input:checked) { border-color: #fff; }
.emp-logo-prev { display: block; width: 160px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; }
