/* Metas de Vendas · login, faixa do teste local, usuário logado e aba Acessos (comum ao sistema e ao placar). Cores da Master Diagnóstica. */
body.mv-travado > *:not(#mv-gate):not(#mv-faixa-teste) { visibility: hidden; }
.mv-gate { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: linear-gradient(135deg, #003f60 0%, #005177 60%, #0094c8 100%); font-family: system-ui, "Segoe UI", sans-serif; }
.mv-gate[hidden] { display: none; }
.mv-gate-caixa { width: min(440px, 100%); background: #fff; border-radius: 14px; padding: 32px 30px 24px; box-shadow: 0 18px 50px rgba(0, 30, 50, .35); text-align: center; color: #003f60; }
.mv-gate-marca { font-size: 26px; font-weight: 800; letter-spacing: .2px; }
.mv-gate-sub { font-size: 14px; color: #4b6a7a; margin-top: 2px; padding-bottom: 14px; border-bottom: 3px solid #a6ca3e; }
.mv-gate-msg { margin: 20px 0 18px; font-size: 15px; line-height: 1.45; color: #1d3a4a; }
.mv-gate-msg.erro { color: #a3261b; font-weight: 600; }
.mv-gate-bt { display: block; width: 100%; margin: 8px 0 0; padding: 12px 16px; border: 0; border-radius: 8px; background: #005177; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.mv-gate-bt:hover, .mv-gate-bt:focus-visible { background: #003f60; outline: 3px solid #a6ca3e; outline-offset: 2px; }
.mv-gate-bt.sec { background: #fff; color: #005177; border: 2px solid #005177; }
.mv-gate-bt:disabled { opacity: .6; cursor: wait; }
.mv-gate-rodape { margin: 18px 0 0; font-size: 12px; color: #4b6a7a; line-height: 1.4; }

.mv-faixa-teste { position: sticky; top: 0; z-index: 9000; background: #7a1fa2; color: #fff; padding: 6px 14px; font: 13px/1.5 system-ui, "Segoe UI", sans-serif; text-align: center; }
.mv-faixa-teste select { margin: 0 6px; padding: 2px 6px; border-radius: 4px; border: 0; font: inherit; color: #3b0a52; }

.mv-usuario { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; color: #fff; font-size: 13px; }
.mv-usuario-nome { font-weight: 700; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-usuario-perfil { padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); white-space: nowrap; }
.mv-sair { padding: 5px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.mv-sair:hover, .mv-sair:focus-visible { background: rgba(255, 255, 255, .15); }

/* telas só de consulta e aba Acessos */
.so-consulta { font-weight: 600; }
.conteudo input:disabled, .conteudo select:disabled, .conteudo button:disabled { opacity: .55; cursor: not-allowed; }
.ok-msg { margin: 8px 0; padding: 9px 12px; background: #eef7dc; border: 1px solid #c9e29a; border-radius: 8px; color: #2f5410; }
.ac-form { margin: 10px 0 18px; padding: 14px 16px; border: 1px solid #c8d7e1; border-radius: 10px; background: #f6fafc; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; }
.ac-form legend { font-weight: 800; color: #003f60; padding: 0 6px; }
.ac-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #003f60; }
.ac-form label.ck { flex-direction: row; align-items: center; gap: 6px; font-weight: 500; }
.ac-form input.larga { width: min(420px, 80vw); }
.ac-quebra { flex-basis: 100%; height: 0; }
.ac-telas, .ac-perms { flex: 1 1 320px; align-self: flex-start; }
.ac-form input.med { text-align: left; }
.ac-telas .tabela { margin-top: 6px; }
.ac-telas td, .ac-telas th { padding: 4px 10px; }
.ac-perms { display: flex; flex-direction: column; gap: 6px; }
.ac-perms .mini { font-weight: 400; color: #4b6a7a; }
@media (max-width: 700px) { .mv-usuario-nome { display: none; } }
