/* contrato.helpdesk, folha de estilo portada do design (Claude Design) */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #F6F7F9; color: #1C1F24; font-family: Barlow, "Helvetica Neue", Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #0B3D7B; text-decoration: none; }
a:hover { color: #00A3E8; text-decoration: underline; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
input:focus, textarea:focus, select:focus { outline: 2px solid #00A3E8; outline-offset: 1px; }
button:focus-visible { outline: 2px solid #00A3E8; outline-offset: 2px; }
::placeholder { color: #98A2B3; }
.mono { font-family: "IBM Plex Mono", monospace; }
.hidden { display: none !important; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* ---------- Login ---------- */
.login-desktop { display: flex; flex-wrap: wrap; min-height: 100vh; align-items: stretch; }
.login-desktop .lado { flex: 1 1 420px; background: #F0EDE8; padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.login-desktop .lado img { width: 300px; max-width: 100%; display: block; margin-left: -18px; }
.login-desktop .lado .eyebrow { margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #0B3D7B; font-weight: 600; }
.login-desktop .lado h1 { margin: 0 0 18px; font-size: 40px; line-height: 1.1; font-weight: 600; color: #1C1F24; text-wrap: pretty; }
.login-desktop .lado .sub { margin: 0; font-size: 17px; line-height: 1.55; color: #475467; text-wrap: pretty; }
.login-desktop .beneficios { display: flex; flex-direction: column; gap: 12px; }
.login-desktop .beneficios div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #475467; line-height: 1.45; }
.login-desktop .beneficios i { width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto; margin-top: 7px; display: block; }
.login-desktop .form-lado { flex: 1 1 420px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; padding: 48px 32px; }
.login-desktop .form { width: 100%; max-width: 380px; }
.login-desktop .form .marca { width: 44px; height: 44px; display: block; margin-bottom: 20px; }
.login-desktop .form h2 { margin: 0 0 6px; font-size: 26px; font-weight: 600; }
.login-desktop .form .sub { margin: 0 0 28px; font-size: 15px; color: #667085; }
.login-movel { min-height: 100vh; background: #FFFFFF; display: flex; flex-direction: column; }
.login-movel .topo { background: #F0EDE8; padding: 22px 20px 20px; }
.login-movel .topo img { width: 210px; max-width: 70%; display: block; margin: 0 0 6px -12px; }
.login-movel .topo p { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #0B3D7B; font-weight: 700; }
.login-movel .form { padding: 24px 20px 32px; flex: 1 1 auto; }
.login-movel h1 { margin: 0 0 6px; font-size: 24px; font-weight: 600; line-height: 1.2; }
.login-movel .sub { margin: 0 0 22px; font-size: 15px; color: #667085; line-height: 1.45; }
.login-movel .input { height: 50px; font-size: 16px; border-radius: 8px; padding: 0 14px; }
.login-movel .btn-primario { height: 52px; border-radius: 8px; font-size: 17px; }
label.campo { display: block; font-size: 13px; font-weight: 600; color: #344054; margin-bottom: 6px; }
.input { width: 100%; height: 44px; padding: 0 12px; margin-bottom: 16px; border: 1px solid #D0D5DD; border-radius: 6px; background: #FFFFFF; color: #1C1F24; }
.input.h42 { height: 42px; }
.login-opcoes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; font-size: 14px; }
.login-opcoes label { display: flex; align-items: center; gap: 8px; color: #475467; }
.login-opcoes input { width: 16px; height: 16px; accent-color: #0B3D7B; }
.login-erro { margin: -6px 0 14px; font-size: 13px; color: #B42318; min-height: 16px; }

/* ---------- Botões ---------- */
.btn-primario { width: 100%; height: 46px; border: 0; border-radius: 6px; background: #0B3D7B; color: #FFFFFF; font-size: 16px; font-weight: 600; cursor: pointer; }
.btn-primario:hover { background: #082E5C; }
.btn-primario:disabled { opacity: .6; cursor: progress; }
.btn { height: 40px; padding: 0 16px; border: 0; border-radius: 6px; background: #0B3D7B; color: #FFFFFF; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #082E5C; }
.btn-linha { height: 40px; padding: 0 16px; border: 1px solid #D0D5DD; border-radius: 6px; background: #FFFFFF; color: #344054; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-linha:hover { border-color: #0B3D7B; color: #0B3D7B; }
.btn-linha.sm { height: 32px; padding: 0 10px; font-size: 13px; color: #475467; }
.btn-acao { height: 34px; padding: 0 14px; border-radius: 6px; font-size: 14px; cursor: pointer; border: 1px solid #D0D5DD; background: #FFFFFF; color: #475467; font-weight: 500; }
.btn-acao.ativo { border-color: #0B3D7B; background: #0B3D7B; color: #FFFFFF; font-weight: 600; }
.btn-acao:hover:not(.ativo) { border-color: #0B3D7B; color: #0B3D7B; }
.btn-convidar { height: 32px; padding: 0 12px; border: 1px solid #0B3D7B; border-radius: 6px; background: #FFFFFF; color: #0B3D7B; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-convidar:hover { background: #0B3D7B; color: #FFFFFF; }
.chip { height: 32px; padding: 0 12px; border: 1px solid #D0D5DD; border-radius: 999px; background: #FFFFFF; color: #475467; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chip.ativo { border-color: #0B3D7B; background: #0B3D7B; color: #FFFFFF; }
.chip.papel.ativo { background: #FFFFFF; color: #0B3D7B; }
.movel .chip { flex: 0 0 auto; height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Shell ---------- */
.app { min-height: 100vh; background: #F6F7F9; }
.app > header { background: #FFFFFF; border-bottom: 1px solid #E4E7EC; }
.topbar { max-width: 1400px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar img { width: 32px; height: 32px; display: block; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 16px; font-weight: 700; color: #0B3D7B; letter-spacing: -.01em; }
.brand b span { color: #00A3E8; }
.brand small { font-size: 12px; color: #98A2B3; }
.espaco { flex: 1 1 40px; }
.usuario { display: flex; align-items: center; gap: 12px; }
.usuario .info { text-align: right; line-height: 1.2; }
.usuario .info b { display: block; font-size: 14px; font-weight: 600; }
.usuario .info small { font-size: 12px; color: #667085; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #E8F0FB; color: #0B3D7B; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex: 0 0 auto; }
.avatar.sm { width: 34px; height: 34px; background: #F0EDE8; font-size: 13px; }
.btn-sair { height: 34px; padding: 0 12px; border: 1px solid #D0D5DD; border-radius: 6px; background: #FFFFFF; color: #475467; font-size: 14px; cursor: pointer; }
.btn-sair:hover { border-color: #0B3D7B; color: #0B3D7B; }
.navwrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
nav.principal { display: flex; flex-wrap: wrap; gap: 4px; }
nav.principal button { padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #667085; font-size: 15px; font-weight: 500; cursor: pointer; }
nav.principal button.ativo { border-bottom-color: #00A3E8; color: #0B3D7B; font-weight: 600; }
.movel .topbar { padding: 10px 16px; gap: 10px; }
.movel .topbar img { width: 28px; height: 28px; }
.movel .brand b { font-size: 15px; }
.movel .brand small, .movel .usuario .info { display: none; }
.movel .avatar { width: 32px; height: 32px; font-size: 13px; }
.movel .btn-sair { height: 32px; padding: 0 10px; font-size: 13px; }
.movel .navwrap { padding: 0 16px; }
.movel nav.principal { flex-wrap: nowrap; gap: 2px; overflow-x: auto; white-space: nowrap; }
.movel nav.principal button { flex: 0 0 auto; padding: 10px 12px; font-size: 14px; }
main.conteudo { max-width: 1400px; margin: 0 auto; padding: 28px 24px 64px; }
.movel main.conteudo { padding: 20px 16px 96px; }

/* ---------- Tipografia de página ---------- */
.cabecalho { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cabecalho h1, h1.titulo { margin: 0 0 4px; font-size: 26px; font-weight: 600; text-wrap: pretty; }
.cabecalho p, p.sub { margin: 0; font-size: 15px; color: #667085; }
p.sub.mb { margin-bottom: 20px; }
h2.sec { margin: 0; font-size: 16px; font-weight: 600; }

/* ---------- Cards / grid ---------- */
.card { background: #FFFFFF; border: 1px solid #E4E7EC; border-radius: 10px; }
.card.pad { padding: 20px; }
.card.pad24 { padding: 24px; }
.card.clip { overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid #E4E7EC; }
.card-head p { margin: 0; font-size: 13px; color: #667085; }
.grid-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 16px; }
.coluna { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.kpi { padding: 18px; }
.kpi .label { font-size: 13px; color: #667085; margin-bottom: 8px; }
.kpi .valor { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.kpi .nota { font-size: 12px; margin-top: 6px; font-weight: 600; color: #667085; }
.kpi .nota.azul { color: #0B3D7B; } .kpi .nota.vermelho { color: #B42318; } .kpi .nota.verde { color: #087443; }
.barras { display: flex; align-items: flex-end; gap: 14px; height: 180px; }
.barra { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; min-width: 0; }
.barra .v { font-size: 14px; font-weight: 600; }
.barra .b { width: 100%; max-width: 56px; border-radius: 6px 6px 0 0; }
.barra .l { font-size: 11px; color: #667085; text-align: center; line-height: 1.25; }
.lista-risco { display: flex; flex-direction: column; gap: 10px; }
.risco { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px; border: 1px solid #EAECF0; border-radius: 8px; background: #FFFFFF; cursor: pointer; }
.risco:hover { border-color: #0B3D7B; background: #FBFCFE; }
.risco .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.risco .t { flex: 1 1 0; min-width: 0; }
.risco .t b { display: block; font-size: 14px; font-weight: 600; color: #1C1F24; }
.risco .t small { display: block; font-size: 12px; color: #667085; }
.risco .p { font-size: 13px; font-weight: 600; white-space: nowrap; }
.linha-tempo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #F2F4F7; margin-bottom: 12px; }
.linha-tempo span:first-child { font-size: 14px; color: #344054; }
.linha-tempo span:last-child { font-size: 18px; font-weight: 600; }
.linha-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.linha-total span:first-child { font-size: 14px; font-weight: 600; }
.linha-total span:last-child { font-size: 22px; font-weight: 700; color: #0B3D7B; }

/* ---------- Pills / tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.st-aberto { background: #E6F6FE; color: #04607F; } .st-em_atendimento { background: #E8F0FB; color: #0B3D7B; }
.st-aguardando_cliente { background: #FEF3E2; color: #8A5300; } .st-resolvido { background: #E7F6EF; color: #08694A; } .st-fechado { background: #F2F4F7; color: #475467; }
.pr-critica { color: #B42318; } .pr-alta { color: #B4690E; } .pr-media { color: #0B3D7B; } .pr-baixa { color: #667085; }
.prio { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.pill.prio-borda { background: #FFFFFF; border: 1px solid currentColor; }
.tag-cinza { background: #F2F4F7; color: #344054; } .tag-azul { background: #E8F0FB; color: #0B3D7B; }
.tag-ambar { background: #FEF3E2; color: #8A5300; } .tag-verde { background: #E7F6EF; color: #08694A; } .tag-verm { background: #FEF3F2; color: #B42318; }

/* ---------- Fila / tabelas ---------- */
.barra-filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #E4E7EC; }
.barra-filtros input { flex: 1 1 260px; height: 38px; padding: 0 12px; border: 1px solid #D0D5DD; border-radius: 6px; }
.filtros { display: flex; flex-wrap: wrap; gap: 6px; }
.rolagem { overflow-x: auto; }
table.tb { width: 100%; border-collapse: collapse; }
table.tb thead tr { background: #FBFCFD; }
table.tb th { text-align: left; padding: 10px 16px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #667085; font-weight: 600; border-bottom: 1px solid #E4E7EC; }
table.tb th.dir, table.tb td.dir { text-align: right; }
table.tb td { padding: 14px 16px; vertical-align: top; font-size: 14px; color: #475467; }
table.tb tbody tr { border-bottom: 1px solid #F2F4F7; }
table.tb tbody tr.clicavel { cursor: pointer; }
table.tb tbody tr.clicavel:hover { background: #FBFCFE; }
table.tb .id { font-size: 12px; color: #667085; }
table.tb .assunto { font-size: 15px; font-weight: 600; color: #1C1F24; }
table.tb .meta { font-size: 13px; color: #667085; }
table.tb td.sla { font-size: 13px; font-weight: 600; }
table.tb td.tempo { color: #1C1F24; }
table.tb tfoot tr { background: #FBFCFD; }
table.tb tfoot td { padding: 14px 20px; font-weight: 700; color: #1C1F24; }
table.tb.p20 th, table.tb.p20 td { padding-left: 20px; padding-right: 20px; }
.vazio { padding: 40px 16px; text-align: center; color: #667085; font-size: 15px; }
.cards-movel { display: flex; flex-direction: column; gap: 12px; }
.cards-movel .busca { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #D0D5DD; border-radius: 8px; background: #FFFFFF; }
.cards-movel .filtros { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding-bottom: 2px; }
.card-ticket { display: block; width: 100%; text-align: left; background: #FFFFFF; border: 1px solid #E4E7EC; border-radius: 12px; padding: 16px; cursor: pointer; }
.card-ticket .l1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.card-ticket .l1 small { font-size: 12px; color: #98A2B3; }
.card-ticket .assunto { display: block; font-size: 17px; font-weight: 600; color: #1C1F24; line-height: 1.3; margin-bottom: 8px; }
.card-ticket .l3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #667085; }
.rodape-fixo { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: #FFFFFF; border-top: 1px solid #E4E7EC; z-index: 30; }
.rodape-fixo button { width: 100%; height: 50px; border: 0; border-radius: 10px; background: #0B3D7B; color: #FFFFFF; font-size: 17px; font-weight: 600; cursor: pointer; }

/* ---------- Ticket ---------- */
.ticket-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ticket-topo .esq { flex: 1 1 380px; min-width: 0; }
.ticket-topo .ids { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.ticket-topo .ids .num { font-size: 13px; color: #667085; }
.ticket-topo p { margin: 0; font-size: 14px; color: #667085; }
.acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.fases { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding: 16px 20px; }
.fase { border-radius: 10px; padding: 16px; border: 1px solid #E4E7EC; background: #FFFFFF; }
.fase.ativa { background: #FBFDFF; box-shadow: 0 0 0 3px rgba(0, 163, 232, .12); }
.fase .cab { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #344054; }
.fase .dot { width: 9px; height: 9px; border-radius: 50%; }
.fase.ativa .dot { animation: pulseDot 1.4s ease-in-out infinite; }
.fase .tempo { font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }
.fase .desc { font-size: 12px; color: #667085; margin-bottom: 12px; min-height: 32px; }
.fase button { width: 100%; height: 38px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid; background: #FFFFFF; }
.fase.ativa button { background: #B42318; border-color: #B42318; color: #FFFFFF; }
.ajuda-tempo { padding: 12px 20px; background: #FBFCFD; border-top: 1px solid #E4E7EC; font-size: 13px; color: #667085; }
.total-tempo { text-align: right; }
.total-tempo small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #98A2B3; font-weight: 600; }
.total-tempo b { font-size: 24px; font-weight: 700; color: #0B3D7B; line-height: 1.1; }
.historico { display: flex; flex-direction: column; }
.hist-item { display: flex; gap: 14px; padding-bottom: 18px; }
.hist-item .trilha { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto; }
.hist-item .trilha i { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; margin-top: 5px; display: block; background: #98A2B3; }
.hist-item .trilha i.tec { background: #0B3D7B; }
.hist-item .trilha b { flex: 1 1 auto; width: 1px; background: #E4E7EC; min-height: 24px; display: block; }
.hist-item .corpo { flex: 1 1 0; min-width: 0; }
.hist-item .corpo .autor { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; font-size: 14px; font-weight: 600; }
.hist-item .corpo .autor small { font-size: 12px; color: #98A2B3; font-weight: 400; }
.hist-item .corpo .texto { font-size: 14px; color: #475467; line-height: 1.5; text-wrap: pretty; white-space: pre-wrap; }
.responder { border-top: 1px solid #EAECF0; padding-top: 16px; }
.responder textarea, textarea.area { width: 100%; min-height: 88px; padding: 10px 12px; border: 1px solid #D0D5DD; border-radius: 6px; resize: vertical; line-height: 1.5; }
textarea.area { min-height: 140px; margin-bottom: 16px; }
.responder .acoes { justify-content: flex-end; margin-top: 10px; }
.btn-nota { height: 38px; padding: 0 14px; border: 1px solid #D0D5DD; border-radius: 6px; background: #FFFFFF; color: #475467; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn-nota:hover { border-color: #0B3D7B; color: #0B3D7B; }
.btn-resp { height: 38px; padding: 0 16px; border: 0; border-radius: 6px; background: #0B3D7B; color: #FFFFFF; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn-resp:hover { background: #082E5C; }
.card-sla { border-radius: 10px; padding: 20px; border: 1px solid #E4E7EC; background: #FFFFFF; color: #1C1F24; }
.card-sla.vencido { border-color: #FDA29B; background: #FEF3F2; color: #912018; }
.card-sla small, .card-situacao small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.card-sla b { display: block; font-size: 28px; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.card-sla p, .card-situacao p { margin: 0; font-size: 13px; line-height: 1.5; }
.card-situacao { background: #F0EDE8; border-radius: 10px; padding: 20px; }
.card-situacao small { color: #0B3D7B; }
.card-situacao b { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.card-situacao p { color: #475467; }
.detalhes { display: flex; flex-direction: column; gap: 12px; }
.detalhes div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #F2F4F7; }
.detalhes span:first-child { font-size: 13px; color: #667085; }
.detalhes span:last-child { font-size: 14px; font-weight: 600; text-align: right; }
.fatura div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fatura div span:first-child { font-size: 13px; color: #667085; }
.fatura div span:last-child { font-size: 15px; font-weight: 600; }
.fatura .total { padding-top: 10px; border-top: 1px solid #EAECF0; margin-bottom: 0; }
.fatura .total span:first-child { font-size: 14px; font-weight: 600; color: #1C1F24; }
.fatura .total span:last-child { font-size: 20px; font-weight: 700; color: #0B3D7B; }
.etapas { display: flex; flex-direction: column; gap: 10px; }
.etapa { display: flex; align-items: flex-start; gap: 12px; }
.etapa i { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; margin-top: 5px; background: #D0D5DD; display: block; }
.etapa.feito i { background: #0B3D7B; }
.etapa.atual i { box-shadow: 0 0 0 4px rgba(11, 61, 123, .14); }
.etapa b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; color: #98A2B3; }
.etapa.feito b { color: #1C1F24; }
.etapa span { display: block; font-size: 13px; color: #667085; line-height: 1.45; }
.anexos-lista { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.anexo { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; padding: 8px 10px; border: 1px solid #EAECF0; border-radius: 6px; }
.anexo small { color: #98A2B3; }
.descricao-box { font-size: 14px; color: #475467; line-height: 1.55; white-space: pre-wrap; }

/* ---------- Novo ticket ---------- */
select.input { appearance: auto; padding: 0 10px; }
.prioridades { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.prioridades button { height: 36px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid #D0D5DD; background: #FFFFFF; color: #475467; }
.prioridades button.ativo { color: #FFFFFF; }
.prioridades button.ativo.pr-baixa { background: #667085; border-color: #667085; }
.prioridades button.ativo.pr-media { background: #0B3D7B; border-color: #0B3D7B; }
.prioridades button.ativo.pr-alta { background: #B4690E; border-color: #B4690E; }
.prioridades button.ativo.pr-critica { background: #B42318; border-color: #B42318; }
.dropzone { border: 1px dashed #D0D5DD; border-radius: 8px; padding: 18px; text-align: center; color: #667085; font-size: 14px; margin-bottom: 20px; background: #FBFCFD; cursor: pointer; }
.dropzone .dz-tipos { display: block; margin-top: 4px; font-size: 12px; color: #98A2B3; }
.dropzone.over { border-color: #00A3E8; background: #F0FAFF; }
.form-acoes { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.card-bege { background: #F0EDE8; border-radius: 10px; padding: 20px; }
.card-bege h2 { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: #0B3D7B; }
.card-bege .g { font-size: 20px; font-weight: 600; color: #1C1F24; margin-bottom: 6px; line-height: 1.25; }
.card-bege p { margin: 0; font-size: 13px; color: #475467; line-height: 1.5; }
.sugestoes { display: flex; flex-direction: column; gap: 10px; }
.sugestoes a { font-size: 14px; line-height: 1.4; cursor: pointer; }

/* ---------- KB ---------- */
.kb-busca { width: 100%; max-width: 520px; height: 44px; padding: 0 14px; margin-bottom: 22px; border: 1px solid #D0D5DD; border-radius: 6px; background: #FFFFFF; }
.grid-kb { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.artigo { display: block; background: #FFFFFF; border: 1px solid #E4E7EC; border-radius: 10px; padding: 20px; text-align: left; cursor: pointer; width: 100%; }
.artigo:hover { border-color: #0B3D7B; }
.artigo .cat { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #00A3E8; font-weight: 700; margin-bottom: 8px; }
.artigo .tit { font-size: 17px; font-weight: 600; color: #1C1F24; margin-bottom: 8px; line-height: 1.3; }
.artigo .res { font-size: 14px; color: #667085; line-height: 1.5; margin-bottom: 12px; }
.artigo .meta { font-size: 12px; color: #98A2B3; }
.artigo-corpo { font-size: 15px; color: #344054; line-height: 1.6; white-space: pre-wrap; max-width: 760px; }

/* ---------- Admin ---------- */
.lista-admin > div { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #F2F4F7; }
.lista-admin .t { flex: 1 1 0; min-width: 0; }
.lista-admin .t b { display: block; font-size: 14px; font-weight: 600; }
.lista-admin .t small { display: block; font-size: 12px; color: #667085; }
.lista-admin .horas { font-size: 13px; color: #475467; }
.lista-admin .sla-r { text-align: right; }
.lista-admin .sla-r b { display: block; font-size: 13px; font-weight: 600; }
.lista-admin .sla-r small { display: block; font-size: 11px; color: #98A2B3; }
.lista-admin .cats { flex: 1 1 0; min-width: 0; font-size: 13px; color: #667085; }
.lista-admin .inativo { opacity: .5; }
.link-mini { background: none; border: 0; padding: 0; color: #0B3D7B; font-size: 12px; font-weight: 600; cursor: pointer; }
.link-mini:hover { text-decoration: underline; }

/* ---------- Modal / toast ---------- */
.modal-fundo { position: fixed; inset: 0; background: rgba(16, 24, 40, .45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal { background: #FFFFFF; border-radius: 12px; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; padding: 24px; }
.modal h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.modal p.sub { margin-bottom: 18px; }
.modal .form-acoes { margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1C1F24; color: #FFFFFF; padding: 12px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(16, 24, 40, .18); z-index: 60; max-width: calc(100vw - 32px); }
.toast.erro { background: #B42318; }
.carregando { padding: 60px; text-align: center; color: #98A2B3; font-size: 14px; }

/* =====================================================================
 * Fase 2, inventário, ativo, empresa, contratos e telas auxiliares
 * =================================================================== */
.kpi .nota.ambar { color: #B4690E; }
.sit-em_uso { background: #E7F6EF; color: #08694A; } .sit-estoque { background: #F2F4F7; color: #475467; }
.sit-manutencao { background: #FEF3E2; color: #8A5300; } .sit-baixado { background: #FEF3F2; color: #B42318; }
.ct-vigente { background: #E7F6EF; color: #08694A; } .ct-vencendo { background: #FEF3E2; color: #8A5300; } .ct-encerrado { background: #F2F4F7; color: #475467; }
.sel-filtro { height: 38px; padding: 0 10px; border: 1px solid #D0D5DD; border-radius: 6px; background: #FFFFFF; color: #344054; font-size: 14px; }
.filtros.rolar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
.rodape-tabela { padding: 12px 16px; font-size: 13px; color: #667085; border-top: 1px solid #F2F4F7; }
table.tb tbody tr.selecionada { background: #F5F8FD; box-shadow: inset 3px 0 0 #0B3D7B; }
.btn-perigo { background: #B42318; } .btn-perigo:hover { background: #912018; }
.btn-linha.perigo { color: #B42318; border-color: #FDA29B; }
.btn-linha.perigo:hover { background: #FEF3F2; color: #B42318; border-color: #B42318; }
a.btn-linha:hover { text-decoration: none; }

/* pares rótulo/valor */
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px 20px; }
.kv-grid small { display: block; font-size: 12px; color: #667085; margin-bottom: 2px; }
.kv-grid b { display: block; font-size: 14px; font-weight: 600; color: #1C1F24; overflow-wrap: anywhere; }

/* linhas compactas (tickets do ativo / empresa, apontamentos mobile) */
.linha-mini { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 20px; border: 0; border-bottom: 1px solid #F2F4F7; background: #FFFFFF; cursor: pointer; }
.linha-mini:hover { background: #FBFCFE; }
.linha-mini .id { font-size: 12px; color: #667085; flex: 0 0 auto; }
.linha-mini .t { flex: 1 1 0; min-width: 0; font-size: 14px; font-weight: 600; color: #1C1F24; }
.linha-mini .t small { display: block; font-size: 12px; font-weight: 400; color: #667085; }

/* anexos com badge de extensão */
.anexo-linha { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F2F4F7; }
.anexo-linha .ext { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 6px; background: #F0EDE8; color: #0B3D7B; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.anexo-linha .t { flex: 1 1 0; min-width: 0; }
.anexo-linha .t b { display: block; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anexo-linha .t small { font-size: 12px; color: #98A2B3; }
.anexo-linha a { font-size: 13px; font-weight: 600; }

/* formulário do ativo */
.form-ativo { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
@media (max-width: 900px) { .form-ativo { grid-template-columns: 1fr; } }
.h3-form, .secao-form h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: #0B3D7B; }
.secao-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid #EAECF0; }
.secao-form .grid-form { margin-bottom: 0; }
.grid-form .largo { grid-column: 1 / -1; }
.tipo-chip { height: 36px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid #D0D5DD; }

/* ativo relacionado no novo ticket */
.ativo-busca { position: relative; margin-bottom: 16px; }
.ativo-busca .input { margin-bottom: 0; }
.ativo-res { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #FFFFFF; border: 1px solid #E4E7EC; border-radius: 8px; box-shadow: 0 8px 24px rgba(16, 24, 40, .12); z-index: 20; overflow: hidden; }
.ativo-res:empty { display: none; }
.ativo-res button { display: flex; align-items: baseline; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #F2F4F7; background: #FFFFFF; text-align: left; cursor: pointer; font-size: 14px; color: #1C1F24; }
.ativo-res button:hover { background: #FBFCFE; }
.ativo-res button .mono { font-size: 12px; color: #0B3D7B; font-weight: 600; flex: 0 0 auto; }
.ativo-res button span:nth-child(2) { flex: 1 1 0; min-width: 0; }
.ativo-res button small { color: #98A2B3; font-size: 12px; }
.ativo-res .nada { padding: 12px; font-size: 13px; color: #667085; }
.chip-ativo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border: 1px solid #0B3D7B; border-radius: 999px; background: #E8F0FB; color: #0B3D7B; font-size: 14px; font-weight: 600; }
.chip-ativo .mono { font-size: 12px; }
.chip-ativo button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #FFFFFF; color: #0B3D7B; font-size: 16px; line-height: 1; cursor: pointer; }

/* empresa */
.abas { display: flex; gap: 4px; border-bottom: 1px solid #E4E7EC; margin-bottom: 18px; overflow-x: auto; }
.abas button { flex: 0 0 auto; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #667085; font-size: 15px; font-weight: 500; cursor: pointer; }
.abas button.ativo { border-bottom-color: #00A3E8; color: #0B3D7B; font-weight: 600; }
.grid-empresa { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .grid-empresa { grid-template-columns: 1fr; } }
.progresso { height: 8px; border-radius: 999px; background: #F0EDE8; overflow: hidden; margin-top: 10px; }
.progresso > div { height: 100%; border-radius: 999px; }
.contato-linhas { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #475467; }
.obs-interna, .caixa-info { margin-top: 16px; padding: 12px; background: #FBFCFD; border: 1px dashed #D0D5DD; border-radius: 8px; font-size: 13px; color: #475467; line-height: 1.5; }
.obs-interna small, .caixa-info small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #98A2B3; font-weight: 600; margin-bottom: 4px; }

/* contratos */
.lista-contratos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.card-contrato { background: #FFFFFF; border: 1px solid #E4E7EC; border-radius: 10px; padding: 18px; }
.card-contrato.sel { border-color: #0B3D7B; box-shadow: 0 0 0 3px rgba(11, 61, 123, .08); }
.card-contrato .l1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-contrato .l1 .mono { font-size: 12px; color: #667085; }
.card-contrato .emp { font-size: 16px; font-weight: 600; }
.card-contrato .tipo { font-size: 13px; color: #667085; margin-bottom: 12px; }
.card-contrato .kvs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.card-contrato .kvs .largo { grid-column: 1 / -1; }
.card-contrato .kvs small { display: block; font-size: 11px; color: #98A2B3; }
.card-contrato .kvs b { font-size: 13px; font-weight: 600; }
.card-contrato .acoes .btn-linha.sm { flex: 0 0 auto; }
.link-pdf { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; }
.linha-exc { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F2F4F7; font-size: 13px; }

/* artigo */
.grid-artigo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; max-width: 1180px; }
@media (max-width: 900px) { .grid-artigo { grid-template-columns: 1fr; } }
.artigo-corpo { white-space: normal; }
.artigo-corpo p { margin: 0 0 14px; }
.artigo-corpo ol { margin: 0 0 16px; padding-left: 22px; }
.artigo-corpo li { margin-bottom: 8px; padding-left: 4px; }
.rel-lista { display: flex; flex-direction: column; gap: 12px; }
.rel-link { display: block; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; }
.rel-link b { display: block; font-size: 14px; font-weight: 600; color: #0B3D7B; line-height: 1.35; }
.rel-link:hover b { text-decoration: underline; }
.rel-link small { font-size: 12px; color: #98A2B3; }

/* interruptor (toggle) dos modais */
.switch { display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 16px; font-size: 14px; color: #344054; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #D0D5DD; transition: background .15s; flex: 0 0 auto; }
.switch span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(16, 24, 40, .2); transition: left .15s; }
.switch input:checked + span { background: #0B3D7B; }
.switch input:checked + span::after { left: 20px; }
.switch input:focus-visible + span { outline: 2px solid #00A3E8; outline-offset: 2px; }

/* aviso (convite sem e-mail) */
.aviso-amarelo { margin: 12px 0 18px; padding: 14px; border: 1px solid #FEC84B; background: #FFFAEB; border-radius: 8px; font-size: 13px; color: #7A4D00; line-height: 1.5; }
.aviso-amarelo b { display: block; margin-bottom: 4px; }
.senha-temp { margin-top: 10px; padding: 10px 12px; background: #FFFFFF; border: 1px solid #FEC84B; border-radius: 6px; font-size: 16px; font-weight: 600; color: #1C1F24; letter-spacing: .04em; }

/* telas de erro */
.tela-erro { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 20px; background: #F6F7F9; text-align: center; }
.tela-erro > div { max-width: 460px; }
.tela-erro img { width: 48px; height: 48px; margin-bottom: 20px; }
.tela-erro .codigo { font-size: 64px; font-weight: 700; color: #0B3D7B; line-height: 1; margin-bottom: 12px; }
.tela-erro h1 { margin: 0 0 10px; font-size: 26px; font-weight: 600; }
.tela-erro p { margin: 0 0 24px; font-size: 15px; color: #667085; line-height: 1.55; }
.login-desktop.redef .lado { justify-content: center; gap: 0; }
.movel .login-desktop .lado { flex: 0 0 auto; padding: 22px 20px; }
.movel .login-desktop .lado img { width: 210px; margin-left: -12px; }
.movel .login-desktop .form-lado { padding: 24px 20px; align-items: flex-start; }

/* modal em tela cheia no celular */
@media (max-width: 759px) {
  .modal-fundo { padding: 0; }
  .modal { max-width: none; height: 100%; max-height: none; border-radius: 0; }
  .card-contrato .acoes .btn-linha.sm { flex: 1 1 0; }
}
table.tb th, table.tb td.dir.mono { white-space: nowrap; }
.dropzone { display: block; }
.barra-filtros input { min-width: 0; }
@media (max-width: 759px) {
  .grid-kpi { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; }
  .kpi .valor { font-size: 24px; }
  .barra-filtros input, .sel-filtro { flex: 1 1 100%; width: 100%; }
}
.demonstrativo .linha-total span:first-child { font-size: 13px; color: #475467; }
.demonstrativo .detalhes span:first-child { font-size: 13px; }

/* v4, feriados, fila de e-mails, expediente */
.lista-admin > .form-feriado { gap: 8px; flex-wrap: wrap; background: #FBFCFD; border-bottom: 0; }
.form-feriado .input { margin: 0; height: 38px; }
.form-feriado input[type=date] { flex: 0 0 150px; }
.form-feriado input:not([type=date]) { flex: 1 1 180px; }
.form-feriado .btn { height: 38px; }
.lista-admin > .resumo-emails { gap: 18px; font-size: 13px; color: #475467; background: #FBFCFD; }
.resumo-emails b { font-size: 15px; margin-right: 4px; }
.dias-uteis { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.dias-uteis label { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid #D0D5DD; border-radius: 999px; font-size: 13px; font-weight: 600; color: #475467; cursor: pointer; }
.dias-uteis label:has(input:checked) { border-color: #0B3D7B; background: #E8F0FB; color: #0B3D7B; }
.dias-uteis input { accent-color: #0B3D7B; }
.aviso-vermelho { margin: 12px 0 18px; padding: 14px; border: 1px solid #FDA29B; background: #FEF3F2; border-radius: 8px; font-size: 13px; color: #912018; line-height: 1.5; }
.aviso-verde { margin: 4px 0 16px; padding: 12px 14px; border: 1px solid #75E0A7; background: #ECFDF3; border-radius: 8px; font-size: 13px; color: #05603A; line-height: 1.5; }
.lista-admin > .form-feriado:has(> .btn-linha:only-child) { padding-bottom: 0; }

/* v6, avaliação */
.estrelas i { font-style: normal; font-size: 20px; color: #D0D5DD; }
.estrelas i.on { color: #B4690E; }
.estrelas.escolher { display: flex; gap: 4px; }
.estrelas.escolher button { border: 0; background: none; padding: 0 2px; font-size: 32px; line-height: 1; color: #D0D5DD; cursor: pointer; transition: transform .1s; }
.estrelas.escolher button.on { color: #B4690E; }
.estrelas.escolher button:hover { transform: scale(1.12); }
.estrelas.escolher button:focus-visible { outline: 2px solid #00A3E8; border-radius: 4px; }
.card-bege.avaliar .area { background: #FFFFFF; }
.caixa-info { border-style: solid; }

/* v7, verificação em duas etapas */
.codigo-2fa { font-size: 22px; letter-spacing: .25em; text-align: center; height: 50px; }
.passos-2fa { margin: 0 0 14px; padding-left: 20px; font-size: 14px; color: #344054; line-height: 1.6; }
.qr-2fa { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; padding: 14px; border: 1px solid #E4E7EC; border-radius: 10px; background: #FFFFFF; }
.qr-2fa .qr { width: 200px; height: 200px; flex: 0 0 auto; }
.qr-2fa .qr svg { width: 100%; height: 100%; display: block; }
.qr-2fa small { display: block; font-size: 12px; color: #667085; margin-bottom: 4px; }
.chave-2fa { font-size: 15px; font-weight: 600; color: #1C1F24; word-break: break-all; line-height: 1.5; }
.codigos-rec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 16px; }
.codigos-rec span { padding: 10px; border: 1px dashed #D0D5DD; border-radius: 6px; text-align: center; font-size: 15px; font-weight: 600; background: #FBFCFD; }

/* v8, integrações */
.integ { background: #FFFFFF; border: 1px solid #E4E7EC; border-left: 4px solid #D0D5DD; border-radius: 10px; padding: 16px 18px; }
.integ.on { border-left-color: #087443; }
.integ.pend { border-left-color: #B4690E; }
.integ-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.integ-cab b { font-size: 15px; font-weight: 600; }
.integ p { margin: 0 0 6px; font-size: 13px; color: #475467; line-height: 1.55; }
.integ-como { margin-top: 10px; padding: 10px 12px; background: #FBFCFD; border: 1px dashed #D0D5DD; border-radius: 8px; font-size: 13px; color: #344054; line-height: 1.55; }
.integ-como small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #98A2B3; font-weight: 600; margin-bottom: 2px; }
.integ .pill { flex: 0 0 auto; }

/* v9, formulário por categoria, relacionados, editor de campos */
.form-categoria { margin: 4px 0 18px; padding: 14px 16px 2px; border: 1px solid #E4E7EC; border-left: 4px solid #00A3E8; border-radius: 10px; background: #FBFDFF; }
.form-categoria-cab { font-size: 13px; color: #475467; margin-bottom: 10px; }
.form-categoria .grid-form { margin-bottom: 0; }
.form-categoria .input, .form-categoria .area { margin-bottom: 14px; }
.rel-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F2F4F7; font-size: 13px; }
.rel-item .mono { flex: 0 0 auto; font-size: 12px; font-weight: 600; }
.rel-item .t { flex: 1 1 0; min-width: 0; color: #1C1F24; }
.rel-item .t small { display: block; color: #98A2B3; }
.cc-linha { display: grid; grid-template-columns: minmax(0, 1fr) 200px auto auto; gap: 8px; align-items: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed #EAECF0; }
.cc-linha .input { margin: 0; height: 38px; }
.cc-linha .cc-opcoes { grid-column: 1 / -1; }
.cc-obr { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #475467; white-space: nowrap; }
@media (max-width: 759px) { .cc-linha { grid-template-columns: 1fr 1fr; } }

/* v11, buscador de categorias por área */
.cat-busca { position: relative; }
.cat-lista { display: none; position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 300px; overflow-y: auto; border: 1px solid #E4E7EC; border-radius: 8px; background: #FFFFFF; box-shadow: 0 10px 24px rgba(16, 24, 40, .12); }
.cat-busca.aberta .cat-lista { display: block; }   /* lista suspensa: só com o campo em foco, por cima do formulário */
.cat-lista button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-bottom: 1px solid #F2F4F7; background: none; font: inherit; font-size: 14px; color: #1C1F24; cursor: pointer; }
.cat-lista button:hover, .cat-lista button:focus-visible { background: #F0F6FD; outline: none; }
.cat-lista .cat-livre { color: #0B3D7B; font-weight: 600; background: #FBFCFD; }
.cat-area { padding: 8px 12px 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #98A2B3; font-weight: 600; background: #FBFCFD; }
.cat-mais { padding: 7px 12px; font-size: 12px; color: #667085; border-bottom: 1px solid #F2F4F7; }
.cat-escolhida { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 42px; padding: 6px 12px; border: 1px solid #0B3D7B; border-radius: 6px; background: #F0F6FD; }
.cat-escolhida b { display: block; font-size: 14px; font-weight: 600; color: #0B3D7B; }
.cat-escolhida small { display: block; font-size: 12px; color: #475467; }

/* v12, editor rico da base de conhecimento */
.editor-rico { position: relative; border: 1px solid #D0D5DD; border-radius: 8px; background: #FFFFFF; }
.editor-rico:focus-within { border-color: #0B3D7B; box-shadow: 0 0 0 3px rgba(11, 61, 123, .12); }
.er-barra { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px; border-bottom: 1px solid #EAECF0; background: #F9FAFB; border-radius: 8px 8px 0 0; }
.er-barra button { min-width: 32px; height: 32px; padding: 0 7px; border: 1px solid transparent; border-radius: 5px; background: none; font: inherit; font-size: 14px; color: #344054; cursor: pointer; }
.er-barra button:hover { background: #EAECF0; }
.er-barra button.ativo { background: #E8F0FB; border-color: #0B3D7B; color: #0B3D7B; }
.er-barra button:disabled, .er-barra select:disabled { opacity: .4; cursor: default; }
.er-barra select { height: 32px; padding: 0 6px; border: 1px solid #D0D5DD; border-radius: 5px; background: #FFFFFF; font: inherit; font-size: 13px; color: #344054; }
.er-sep { width: 1px; height: 22px; margin: 0 4px; background: #D0D5DD; }
.er-cor { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border-radius: 5px; font-weight: 700; color: #C62828; cursor: pointer; }
.er-cor:hover { background: #EAECF0; }
.er-fundo { color: #F9A825; }
.er-cor input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.er-area { min-height: 360px; max-height: 70vh; overflow-y: auto; padding: 16px 18px; outline: none; font-size: 15px; line-height: 1.6; color: #1C1F24; }
.er-area.er-soltar { background: #F0F6FD; outline: 2px dashed #0B3D7B; outline-offset: -8px; }
.er-codigo { display: block; width: 100%; min-height: 360px; padding: 14px; border: 0; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 13px; line-height: 1.5; resize: vertical; outline: none; }
.er-status { min-height: 0; padding: 0 12px; font-size: 12px; color: #667085; }
.er-status:not(:empty) { padding: 6px 12px; border-top: 1px solid #EAECF0; }
.er-img-barra { position: absolute; z-index: 3; display: flex; gap: 2px; padding: 3px; background: #1C1F24; border-radius: 6px; }
.er-img-barra button { height: 26px; padding: 0 8px; border: 0; border-radius: 4px; background: none; color: #FFFFFF; font-size: 12px; cursor: pointer; }
.er-img-barra button:hover { background: #344054; }
.er-area img, .kb-html img { max-width: 100%; height: auto; }
.er-area img { cursor: pointer; }
.er-area table, .kb-html table { border-collapse: collapse; margin: 10px 0; }
.er-area td, .er-area th { min-width: 40px; }
.kb-html { font-size: 15px; line-height: 1.65; color: #1C1F24; overflow-wrap: break-word; }
.kb-html h2, .kb-html h3, .kb-html h4 { margin: 18px 0 8px; color: #0B3D7B; }
.kb-html blockquote { margin: 12px 0; padding: 8px 14px; border-left: 4px solid #D0D5DD; color: #475467; background: #F9FAFB; }
.kb-html pre { padding: 12px; background: #F2F4F7; border-radius: 6px; overflow-x: auto; font-size: 13px; }
.kb-html { overflow-x: auto; }   /* tabela larga rola dentro do artigo, sem deformar */
.kb-html td, .kb-html th { padding: 4px 8px; vertical-align: top; }
.kb-autoria { font-size: 12px !important; color: #667085 !important; margin-top: 20px !important; padding-top: 14px; border-top: 1px solid #EAECF0; line-height: 1.6; }
.kb-autoria b { font-weight: 600; color: #344054; }
.kb-previa { max-height: 50vh; overflow-y: auto; padding: 14px; margin-bottom: 14px; border: 1px solid #E4E7EC; border-radius: 8px; background: #FFFFFF; }
.kb-comparar { margin-bottom: 10px; font-size: 13px; color: #475467; }
.kb-comparar summary { cursor: pointer; margin-bottom: 8px; }
/* empresas atendidas no cadastro do colaborador */
.u-emps-cab { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.u-emps-cab .input { margin: 0; height: 36px; flex: 1 1 auto; }
.u-emps-lista { max-height: 220px; overflow-y: auto; margin-bottom: 16px; border: 1px solid #E4E7EC; border-radius: 8px; }
.u-emps-lista label { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #F2F4F7; font-size: 14px; cursor: pointer; }
.u-emps-lista label:hover { background: #F9FAFB; }
.u-emps-lista label small { margin-left: auto; font-size: 11px; color: #98A2B3; }
.u-emps-lista input { accent-color: #0B3D7B; }
/* v13.1, acesso visível ao "Meu usuário" */
.btn-meu { margin-right: 6px; }
@media (max-width: 759px) { .btn-meu { padding: 0 10px; font-size: 12px; } }

/* v13.2, celular: menu em painel; abas e filtros quebram em linhas (sem rolagem lateral) */
.btn-menu { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid #D0D5DD; border-radius: 8px; background: #FFFFFF; color: #0B3D7B; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hamb, .hamb::before, .hamb::after { display: block; width: 16px; height: 2px; background: #0B3D7B; border-radius: 2px; position: relative; }
.hamb::before, .hamb::after { content: ''; position: absolute; left: 0; }
.hamb::before { top: -5px; } .hamb::after { top: 5px; }
.movel .navwrap { display: none; }                               /* o menu vira o painel */
.movel .topbar .usuario { display: none; }                       /* usuário, Meu usuário e Sair vão para o painel */
.movel .topbar .brand small { display: block; max-width: 52vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #0B3D7B; font-weight: 600; }
.menu-fundo { position: fixed; inset: 0; z-index: 90; background: rgba(16, 24, 40, .45); }
.menu-painel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(86vw, 340px); display: flex; flex-direction: column; background: #FFFFFF; box-shadow: -8px 0 24px rgba(16, 24, 40, .18);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); animation: menuEntra .18s ease-out; }
@keyframes menuEntra { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-topo { display: flex; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid #EAECF0; }
.menu-topo .t { flex: 1 1 auto; min-width: 0; }
.menu-topo b { display: block; font-size: 15px; }
.menu-topo small { display: block; font-size: 12px; color: #667085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-x { width: 36px; height: 36px; border: 0; border-radius: 8px; background: #F2F4F7; font-size: 16px; cursor: pointer; }
.menu-lista { flex: 1 1 auto; overflow-y: auto; padding: 8px; }
.menu-lista button { display: block; width: 100%; text-align: left; padding: 13px 14px; margin-bottom: 2px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 16px; color: #344054; cursor: pointer; }
.menu-lista button.ativo { background: #E8F0FB; color: #0B3D7B; font-weight: 600; }
.menu-rodape { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid #EAECF0; }
.menu-rodape button { flex: 1 1 0; height: 42px; border: 1px solid #D0D5DD; border-radius: 8px; background: #FFFFFF; font: inherit; font-size: 14px; font-weight: 600; color: #344054; cursor: pointer; }
/* abas (Administração, empresa) e filtros: botões que quebram em linhas */
.movel .abas { flex-wrap: wrap; gap: 6px; overflow: visible; border-bottom: 0; }
.movel .abas button { padding: 8px 12px; border: 1px solid #D0D5DD; border-radius: 999px; font-size: 14px; }
.movel .abas button.ativo { border-color: #0B3D7B; background: #E8F0FB; }
.movel .filtros, .movel .cards-movel .filtros, .movel .filtros.rolar { flex-wrap: wrap; overflow: visible; white-space: normal; }

/* listas do admin no celular: e-mails longos quebram e o selo/ações descem para a linha de baixo, sem sobrepor */
.lista-admin .t small, .lista-admin .t b { overflow-wrap: anywhere; }
.movel .lista-admin > div { flex-wrap: wrap; padding: 12px 16px; }
.movel .lista-admin > div .t { flex: 1 1 calc(100% - 56px); }
.movel .lista-admin > div > .pill, .movel .lista-admin > div > .link-mini { margin-left: 48px; }
.movel .lista-admin > div > .pill + .link-mini { margin-left: auto; }
/* comando do cron com o caminho real */
.cron-cmd { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 10px; background: #F2F4F7; border-radius: 6px; }
.cron-cmd code { flex: 1 1 auto; min-width: 0; font-size: 12px; overflow-wrap: anywhere; color: #1C1F24; }

/* lista de categorias agrupada por área: o bloco é uma coluna (a regra das linhas da lista não vale para ele) */
.lista-admin > #adm-cats { display: block; padding: 0; border-bottom: 0; }
#adm-cats > div:not(.cat-area) { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid #F2F4F7; }
#adm-cats > div.inativo { opacity: .55; }
#adm-cats .t { flex: 1 1 0; min-width: 0; }
#adm-cats .t b { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
#adm-cats .t small { display: block; font-size: 12px; color: #667085; }
.movel .lista-admin > #adm-cats { padding: 0; }
.movel #adm-cats > div:not(.cat-area) { padding: 12px 16px; }

/* busca da base de conhecimento: onde achou, trecho e palavras marcadas */
.kb-resumo-busca { grid-column: 1 / -1; font-size: 14px; color: #475467; margin-bottom: -4px; }
.artigo mark, .kb-resumo-busca mark { background: #FFF1B8; color: inherit; padding: 0 2px; border-radius: 3px; }
.artigo .onde { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 10px; letter-spacing: .04em; font-weight: 600; text-transform: none; }
.artigo .onde.titulo { background: #E8F0FB; color: #0B3D7B; }
.artigo .onde.conteudo { background: #F2F4F7; color: #475467; }

/* v15.1: imagens da base de conhecimento, ícone de ampliar e visualizador em tela cheia */
.lb-quadro { position: relative; display: inline-block; max-width: 100%; cursor: zoom-in; vertical-align: top; }
.lb-quadro img { display: block; }
.lb-abrir { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 8px;
  background: rgba(16, 24, 40, .72); color: #FFFFFF; cursor: pointer; opacity: .85; transition: opacity .15s, transform .15s; }
.lb-quadro:hover .lb-abrir, .lb-abrir:focus-visible { opacity: 1; transform: scale(1.06); }
.lb-abrir:focus-visible { outline: 3px solid #7CB7FF; outline-offset: 2px; }
.lb { position: fixed; inset: 0; z-index: 1000; display: none; flex-direction: column; background: #0B0F16; color: #FFFFFF; overscroll-behavior: contain; /* opaco: nada do site aparece por trás */
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.lb.aberto { display: flex; animation: lbEntra .16s ease-out; }
@keyframes lbEntra { from { opacity: 0; } to { opacity: 1; } }
.lb-topo { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.lb-cont { font-size: 13px; font-weight: 600; opacity: .85; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-leg { flex: 1 1 auto; min-width: 0; font-size: 13px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-bts { display: flex; gap: 4px; margin-left: auto; }
.lb-bts button { min-width: 40px; height: 40px; padding: 0 8px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #FFFFFF; font: 600 13px/1 inherit; cursor: pointer; }
.lb-bts button:hover { background: rgba(255, 255, 255, .2); }
.lb-bts .lb-pct { min-width: 58px; font-variant-numeric: tabular-nums; }
.lb-palco { position: relative; flex: 1 1 auto; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.lb.ampliada .lb-palco { cursor: grab; }
.lb.ampliada .lb-palco:active { cursor: grabbing; }
.lb-img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 50% 50%; will-change: transform; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); background: #FFFFFF; }
.lb-img.anim { transition: transform .2s ease-out; }
.lb-carregando { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-size: 14px; opacity: .7; }
.lb.carregando .lb-carregando { display: flex; }
.lb-nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #FFFFFF; cursor: pointer; }
.lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lb-ant { left: 12px; } .lb-prox { right: 12px; }
.lb.uma .lb-nav, .lb.ampliada .lb-nav { display: none; }
.lb-dica { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1);
  font-size: 12px; opacity: .75; white-space: nowrap; pointer-events: none; }
.lb.ampliada .lb-dica { display: none; }
@media (max-width: 759px) {
  .lb-leg { display: none; }
  .lb-bts button { min-width: 38px; height: 38px; }
  .lb-bts [data-lb="menos"], .lb-bts [data-lb="mais"] { display: none; }   /* no celular o zoom é pela pinça e pelo toque duplo */
  .lb-nav { width: 40px; height: 40px; margin-top: -20px; }
  .lb-dica { font-size: 11px; max-width: 92vw; white-space: normal; text-align: center; }
  .lb-abrir { width: 42px; height: 42px; opacity: 1; }
}
/* artigo sem o painel lateral (modo leitura) */
.artigo-barra { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.grid-artigo.leitura { grid-template-columns: minmax(0, 1fr); max-width: 1180px; }

/* novo chamado pela equipe: em nome de qual cliente */
.bloco-sol { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #D6E4F5; border-radius: 8px; background: #F5F9FF; }
.sol-linha { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sol-linha .input { flex: 1 1 220px; min-width: 0; }
.movel .sol-linha { flex-direction: column; align-items: stretch; }
.movel .sol-linha .input { flex: none; }
.bloco-sol .meta { font-size: 12px; color: #475467; line-height: 1.45; }

/* cartão de Tarefas do chamado (estilos que faltavam desde a v8) */
.tarefas { margin: 10px 0 12px; }
.tarefa { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid #F2F4F7; }
.tarefa:last-child { border-bottom: 0; }
.tarefa label { display: flex; align-items: flex-start; gap: 9px; min-width: 0; font-size: 14px; line-height: 1.45; color: #1C1F24; cursor: pointer; }
.tarefa label input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #0B3D7B; cursor: pointer; }
.tarefa label span { overflow-wrap: anywhere; }
.tarefa.feita label span { color: #98A2B3; text-decoration: line-through; }
.tarefa small { grid-column: 1 / -1; order: 3; padding-left: 25px; font-size: 12px; color: #667085; }
.tarefa .link-mini[data-act="tarefa-excluir"] { width: 28px; height: 28px; padding: 0; border-radius: 6px; font-size: 18px; line-height: 1; color: #98A2B3; }
.tarefa .link-mini[data-act="tarefa-excluir"]:hover { background: #FEF3F2; color: #B42318; }
.sel-mini { height: 30px; max-width: 130px; padding: 0 24px 0 8px; border: 1px solid #D0D5DD; border-radius: 6px; background-color: #FFFFFF; font: inherit; font-size: 12px; color: #344054; cursor: pointer; }
.sel-mini:focus { outline: none; border-color: #0B3D7B; box-shadow: 0 0 0 3px rgba(11, 61, 123, .12); }
.nova-tarefa { display: flex; gap: 8px; align-items: center; }
.nova-tarefa .input { flex: 1 1 auto; min-width: 0; height: 38px; margin: 0; }
.nova-tarefa .btn-linha { flex: none; height: 38px; }
.movel .tarefa { grid-template-columns: minmax(0, 1fr) auto auto; }
/* respostas prontas no chamado e ações de acesso no cadastro de usuário */
.respostas-prontas { margin-bottom: 8px; }
.respostas-prontas select { max-width: 100%; }
.acoes-acesso { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.dica-campo { display: block; margin: -10px 0 14px; font-size: 12px; color: #667085; }

/* Detalhes do chamado editáveis pela equipe */
.det-valor { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; text-align: right; }
.det-valor .sel-mini { max-width: 190px; font-size: 13px; height: 32px; }

/* lista de usuários: nome e e-mail com a largura toda; selos numa linha embaixo do nome */
.lista-admin > .linha-usuario { align-items: flex-start; }
.linha-usuario .avatar { flex: none; margin-top: 2px; }
.linha-usuario .t { flex: 1 1 auto; min-width: 0; }
.linha-usuario .t b { display: block; overflow-wrap: anywhere; }
.linha-usuario .t small { display: block; overflow-wrap: anywhere; }
.linha-usuario .selos { display: flex; flex-wrap: wrap; gap: 4px; margin: 5px 0 4px; }
.linha-usuario .selos .pill { margin: 0; }
.pill.mini { padding: 1px 8px; font-size: 11px; }
.linha-usuario .link-mini { flex: none; align-self: center; }
.movel .lista-admin > .linha-usuario { flex-wrap: nowrap; }

/* v19: contador da etapa em andamento, fixo no topo do chamado */
.barra-cron { position: sticky; top: 8px; z-index: 30; display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 0 12px auto;
  padding: 6px 12px; border: 1px solid #D6E4F5; border-radius: 999px; background: #FFFFFF; box-shadow: 0 4px 14px rgba(16, 24, 40, .10); font-size: 13px; color: #344054; }
.barra-cron .ponto { width: 8px; height: 8px; border-radius: 50%; background: #0B3D7B; animation: cronPulso 1.6s ease-in-out infinite; }
.barra-cron.fase-triagem .ponto { background: #00A3E8; } .barra-cron.fase-documentacao .ponto { background: #0E7A4F; }
.barra-cron .rot { color: #667085; }
.barra-cron .mono { font-size: 15px; font-weight: 700; color: #0B3D7B; font-variant-numeric: tabular-nums; }
@keyframes cronPulso { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .barra-cron .ponto { animation: none; } }
.movel .barra-cron { margin-left: 0; top: 4px; } .movel .barra-cron .rot { display: none; }

/* aviso de e-mail a confirmar (conta criada por link de cadastro) */
.aviso-confirmar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 9px 24px; background: #FFF8E6; border-bottom: 1px solid #F5DFA6; font-size: 13px; color: #6B4E00; }
.aviso-confirmar .acoes { display: flex; gap: 14px; }

/* links de cadastro */
.lista-admin > .linha-link { align-items: flex-start; }
.linha-link .t { flex: 1 1 auto; min-width: 0; }
.linha-link .t b, .linha-link .t small { display: block; overflow-wrap: anywhere; }
.linha-link .selos { display: flex; flex-wrap: wrap; gap: 4px; margin: 5px 0 4px; }
.linha-link .selos .pill { margin: 0; }
.acoes-link { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.link-mini.perigo { color: #B42318; }
.movel .lista-admin > .linha-link { flex-direction: column; }
.movel .acoes-link { justify-content: flex-start; }
.opcoes-modo { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 10px; font-size: 14px; }
.opcoes-modo label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.lk-emps-topo { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #667085; margin-bottom: 6px; }
.lk-emps { max-height: 190px; overflow-y: auto; margin-bottom: 16px; border: 1px solid #E4E7EC; border-radius: 8px; }
.lk-emps label { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #F2F4F7; font-size: 14px; cursor: pointer; }
.lk-emps label:last-child { border-bottom: 0; }
#lk-data { margin-top: -6px; }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* atualizar o sistema */
.atu-prog { padding: 8px 0; }
.atu-barra { height: 10px; border-radius: 999px; background: #EEF2F6; overflow: hidden; }
.atu-barra span { display: block; height: 100%; background: #0B3D7B; transition: width .3s ease; }
.atu-prog p { margin: 10px 0 0; font-size: 14px; color: #344054; }
.atu-plano h3 { margin: 0 0 6px; font-size: 16px; }
.atu-nums { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.atu-nums span { padding: 5px 10px; border-radius: 6px; background: #F2F4F7; font-size: 13px; }
.atu-plano details { margin: 6px 0; font-size: 13px; }
.atu-plano summary { cursor: pointer; color: #0B3D7B; }
.atu-plano ul { max-height: 180px; overflow-y: auto; margin: 6px 0; padding-left: 18px; font-size: 12px; color: #475467; }
.check-linha { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: #475467; }
#atu-zona { padding: 34px 16px; text-align: center; cursor: pointer; }
.texto-erro { color: #B42318; }
[hidden] { display: none !important; }
.linha-email { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -4px 0 6px; font-size: 14px; }

/* v20.1: anexos clicáveis e visualizador de vídeo, PDF e documentos */
.anexo.anexo-v { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.anexo.anexo-v:hover, .anexo.anexo-v:focus-visible { background: #F5F9FF; outline: none; }
.anexo.anexo-v .anexo-ico { flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #EEF2F6; font-size: 15px; }
.anexo.anexo-v .t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.anexo.anexo-v .t b { font-weight: 600; overflow-wrap: anywhere; color: #0B3D7B; }
.anexo.anexo-v .t small { color: #667085; font-size: 12px; }
.anexo.anexo-v .link-mini { flex: none; }
.lb-midia { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 12px; }
.lb.tipo-video .lb-midia, .lb.tipo-audio .lb-midia, .lb.tipo-pdf .lb-midia, .lb.tipo-arquivo .lb-midia { display: flex; }
.lb.tipo-video .lb-img, .lb.tipo-audio .lb-img, .lb.tipo-pdf .lb-img, .lb.tipo-arquivo .lb-img { display: none; }
.lb.tipo-video .lb-palco, .lb.tipo-audio .lb-palco, .lb.tipo-pdf .lb-palco, .lb.tipo-arquivo .lb-palco { touch-action: auto; cursor: default; }
.lb.tipo-video .lb-bts [data-lb="menos"], .lb.tipo-video .lb-bts [data-lb="mais"], .lb.tipo-video .lb-bts [data-lb="cem"], .lb.tipo-video .lb-bts [data-lb="ajustar"], .lb.tipo-video .lb-dica,
.lb.tipo-audio .lb-bts [data-lb="menos"], .lb.tipo-audio .lb-bts [data-lb="mais"], .lb.tipo-audio .lb-bts [data-lb="cem"], .lb.tipo-audio .lb-bts [data-lb="ajustar"], .lb.tipo-audio .lb-dica,
.lb.tipo-pdf .lb-bts [data-lb="menos"], .lb.tipo-pdf .lb-bts [data-lb="mais"], .lb.tipo-pdf .lb-bts [data-lb="cem"], .lb.tipo-pdf .lb-bts [data-lb="ajustar"], .lb.tipo-pdf .lb-dica,
.lb.tipo-arquivo .lb-bts [data-lb="menos"], .lb.tipo-arquivo .lb-bts [data-lb="mais"], .lb.tipo-arquivo .lb-bts [data-lb="cem"], .lb.tipo-arquivo .lb-bts [data-lb="ajustar"], .lb.tipo-arquivo .lb-dica { display: none; }
.lb-video { max-width: 100%; max-height: 100%; background: #000; border-radius: 6px; }
.lb-pdf { width: 100%; height: 100%; border: 0; border-radius: 6px; background: #FFFFFF; }
.lb-ficha { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 420px; padding: 28px 24px; border-radius: 12px; background: rgba(255, 255, 255, .06); text-align: center; color: #FFFFFF; }
.lb-ficha svg { width: 44px; height: 44px; opacity: .8; }
.lb-ficha b { font-size: 16px; overflow-wrap: anywhere; }
.lb-ficha small { font-size: 12px; opacity: .7; }
.lb-ficha p { margin: 6px 0 2px; font-size: 13px; line-height: 1.5; opacity: .85; }
.lb-audio { width: min(100%, 360px); margin-top: 8px; }
.lb-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; background: transparent; color: #FFFFFF; font: 600 14px/1 inherit; cursor: pointer; }
.lb-btn.principal { background: #FFFFFF; color: #0B3D7B; border-color: #FFFFFF; }
.lb-bts .lb-baixar { gap: 6px; padding: 0 12px; font-weight: 600; }
.lb-bts .lb-baixar[hidden] { display: none; }
@media (max-width: 759px) { .lb-bts .lb-baixar span { display: none; } .lb-bts .lb-baixar { min-width: 38px; padding: 0; } }

/* v21: e-mails automáticos (Administração › E-mails) */
.modal.larga { max-width: 1040px; }
.modal.media { max-width: 780px; }
small.dica { display: block; margin: -8px 0 12px; font-size: 12px; color: #667085; line-height: 1.45; }
.grid-form small.dica { margin-top: 4px; }
.em-grupo { padding: 10px 20px 6px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #667085; background: #FAFBFC; border-bottom: 1px solid #F2F4F7; }
.lista-admin .em-ass { color: #475467; margin-top: 2px; }
.lista-admin .t .pill.mini { display: inline-block; vertical-align: middle; margin-left: 4px; font-size: 10px; }
.switch.mini { margin: 0; flex: none; }
.switch.mini span { width: 34px; height: 20px; }
.switch.mini span::after { width: 16px; height: 16px; }
.switch.mini input:checked + span::after { left: 16px; }
.em-busca { padding: 0 20px 10px; }
.em-busca .input { max-width: 420px; }
.em-cor { display: flex; gap: 8px; align-items: center; }
.em-cor input[type="color"] { width: 44px; height: 42px; padding: 2px; border: 1px solid #D0D5DD; border-radius: 8px; background: #FFFFFF; cursor: pointer; flex: none; }
.em-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.em-form h2 { margin-top: 0; }
.em-vars { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -6px 0 14px; }
.em-vars span { font-size: 12px; color: #667085; margin-right: 2px; }
.em-var { border: 1px solid #D0D5DD; border-radius: 999px; background: #F8FAFC; padding: 3px 9px; font: 500 12px/1.4 Consolas, monospace; color: #0B3D7B; cursor: pointer; }
.em-var:hover { background: #EAF4FF; border-color: #00A3E8; }
.em-previa { display: flex; flex-direction: column; min-height: 420px; border: 1px solid #E4E7EC; border-radius: 10px; overflow: hidden; background: #F6F7F9; }
.em-previa-cab { padding: 8px 12px; border-bottom: 1px solid #E4E7EC; background: #FFFFFF; font-size: 12px; color: #667085; }
.em-previa-cab .mono { display: block; color: #1C1F24; margin-top: 2px; overflow-wrap: anywhere; }
.em-previa iframe { flex: 1 1 auto; width: 100%; min-height: 420px; border: 0; background: #F6F7F9; }
.em-ver h2 { overflow-wrap: anywhere; }
.em-cab { margin-bottom: 12px; }
.em-abas { margin-bottom: 12px; }
.em-abas button { font-size: 14px; padding: 8px 12px; }
.em-pre { margin: 0; padding: 14px; max-height: 60vh; overflow: auto; background: #F8FAFC; border: 1px solid #E4E7EC; border-radius: 8px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.em-pre.mono { font-size: 12px; }
@media (max-width: 899px) { .em-editor { grid-template-columns: 1fr; } .em-previa { min-height: 360px; } .em-previa iframe { min-height: 360px; } }
/* caixas de texto do editor de e-mails: altura pelo conteúdo (o .input é de uma linha) */
textarea.input { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
#mm-msg { min-height: 150px; }
#em-rodape { min-height: 64px; }
/* v22: artigo da base com "Baixar PDF" ao lado do painel lateral */
.artigo-acoes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.artigo-acoes .btn-linha svg { vertical-align: -3px; margin-right: 6px; }
@media (max-width: 759px) { .artigo-barra { flex-wrap: wrap; } }
/* textos longos sem espaço (links, códigos) quebram dentro do artigo em vez de alargar a tela do celular */
.grid-artigo > * { min-width: 0; }
.kb-html { overflow-wrap: anywhere; }
.kb-html pre { white-space: pre-wrap; }
/* v23: base de conhecimento pública (sem login) e controle no artigo */
.kb-publico { margin-top: 14px; padding: 12px 14px; border: 1px solid #E4E7EC; border-radius: 8px; background: #FAFBFC; font-size: 13px; color: #344054; }
.kb-pub-link { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.kb-pub-link code { flex: 1 1 260px; min-width: 0; padding: 7px 10px; background: #FFFFFF; border: 1px solid #E4E7EC; border-radius: 6px; font-size: 12px; overflow-wrap: anywhere; }
.pub .pub-topo { background: #FFFFFF; border-bottom: 1px solid #E4E7EC; }
.pub .artigo-barra { max-width: 1180px; }
.pub a.artigo { display: block; color: inherit; text-decoration: none; }
.pub a.btn-linha { display: inline-flex; align-items: center; text-decoration: none; }
.pub .rel-link { display: block; text-decoration: none; color: inherit; }
.pub-aviso { max-width: 640px; }
.login-kb { margin: 18px 0 0; font-size: 13px; color: #667085; text-align: center; }
.grid-kb .artigo .res, .grid-kb .artigo .tit { overflow-wrap: anywhere; }
/* v24: Acompanhamento (administrador e coordenador) e filtro por responsável na fila */
.acomp-filtros { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.acomp-filtros select { width: auto; min-width: 190px; margin: 0; }
.acomp-tb { min-width: 860px; }
.acomp-tb td { vertical-align: middle; }
.acomp-tb .meta { font-size: 12px; color: #667085; margin-top: 2px; }
.acomp-tb small { color: #98A2B3; }
.acomp-tb .link-mini { white-space: nowrap; }
.acomp-tb td:first-child { min-width: 180px; }
table.tb.acomp-tb th, table.tb.acomp-tb td { padding-left: 11px; padding-right: 11px; }
table.tb.acomp-tb th:first-child, table.tb.acomp-tb td:first-child { padding-left: 16px; }
table.tb.acomp-tb th:last-child, table.tb.acomp-tb td:last-child { padding-right: 16px; }
h2.sec.acomp-sec { margin: 26px 0 12px; }
.grid-kpi.acomp-kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-kpi.acomp-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card.clip + .card.clip, .acomp-atencao + .card.clip { margin-top: 18px; }
.filtros .fila-tec { width: auto; min-width: 210px; margin: 0 0 0 4px; }
@media (max-width: 759px) { .acomp-filtros { width: 100%; } .acomp-filtros select { flex: 1 1 160px; min-width: 0; } .filtros .fila-tec { width: 100%; margin: 6px 0 0; } }

/* v25: convite com "Ativar agora, sem e-mail de confirmação" (só administrador) */
.switch.u-ativar { margin: -4px 0 12px; }
.u-ativar-bloco { margin: 0 0 16px; }
.u-ativar-bloco .campo { margin-top: 10px; }
.u-ativar-bloco .input { margin-bottom: 0; background: #fff; }
.linha-usuario .selos .link-mini { font-size: 12px; padding: 0 2px; line-height: 20px; }

/* v28: pastas por empresa na base de conhecimento */
h2.sec.kb-sec { margin: 22px 0 10px; }
.kb-pastas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.kb-pasta { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #E4E7EC; border-radius: 12px; text-align: left; cursor: pointer; color: #0B3D7B; font: inherit; min-width: 0; }
.kb-pasta:hover, .kb-pasta:focus-visible { border-color: #0B3D7B; background: #F5F9FF; outline: none; }
.kb-pasta svg { flex: 0 0 auto; }
.kb-pasta .t { display: flex; flex-direction: column; min-width: 0; }
.kb-pasta b { color: #1C1F24; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.kb-pasta small { color: #667085; font-size: 12px; margin-top: 2px; }
.kb-pasta.nova { border-style: dashed; background: transparent; }
.kb-pasta.nova b { color: #0B3D7B; }
.kb-titulo-pasta { display: flex; align-items: center; gap: 10px; color: #1C1F24; }
.kb-titulo-pasta svg { color: #0B3D7B; width: 28px; height: 28px; }

/* v30: contas sem uso (Clientes › Desativados por falta de uso), papéis e histórico da base de conhecimento */
.cab-acoes { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cab-acoes .pill { margin-left: 6px; }
.lista-desativados { max-height: 52vh; overflow: auto; border: 1px solid #E4E7EC; border-radius: 8px; margin: 14px 0 4px; }
.linha-desativado { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #EEF0F3; }
.linha-desativado:last-child { border-bottom: 0; }
.linha-desativado .t { flex: 1; min-width: 0; }
.linha-desativado .t b { display: block; font-weight: 600; font-size: 14px; }
.linha-desativado .t small { display: block; font-size: 12px; color: #667085; margin-top: 2px; overflow-wrap: anywhere; }
.lista-desativados .vazio { padding: 24px 12px; font-size: 14px; }
.grid-papeis { display: grid; grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .grid-papeis { grid-template-columns: minmax(0, 1fr); } }
.tb-papeis td, .tb-papeis th { vertical-align: middle; }
.tb-papeis .nivel { width: 96px; text-align: right; }
.tb-papeis input.nivel { padding: 6px 8px; }
.tb-papeis tr.fixo td { background: #F9FAFB; }
.escada-niveis { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; }
.escada-niveis > div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: baseline; font-size: 13px; }
.escada-niveis b.mono { text-align: right; color: #0B3D7B; }
.escada-niveis .livre { color: #98A2B3; font-style: italic; }
.kb-hist { margin-top: 18px; }
.kb-hist .item { padding: 12px 0; border-top: 1px solid #EEF0F3; }
.kb-hist .item:first-of-type { border-top: 0; }
.kb-hist .quem { font-size: 13px; color: #344054; }
.kb-hist .quem small { display: block; color: #667085; font-size: 12px; margin-top: 2px; }
.kb-hist ul.mud { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kb-hist ul.mud li, .kb-mudancas ul li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 10px; font-size: 13px; line-height: 1.6; }
.kb-hist ul.mud .rot, .kb-mudancas ul .rot { color: #667085; }
.mud-de, .mud-para { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mud-de { background: #FEF3F2; color: #912018; text-decoration: line-through; text-decoration-color: rgba(145, 32, 24, .45); padding: 1px 4px; border-radius: 4px; overflow-wrap: anywhere; }
.mud-para { background: #ECFDF3; color: #05603A; padding: 1px 4px; border-radius: 4px; overflow-wrap: anywhere; }
.mud-seta { color: #98A2B3; margin: 0 4px; }
.kb-hist .mais { margin-top: 10px; }
.kb-diff { border: 1px solid #E4E7EC; border-radius: 8px; padding: 6px 0; max-height: 60vh; overflow: auto; background: #fff; }
.kb-diff .bl { padding: 6px 14px; font-size: 14px; line-height: 1.55; border-left: 3px solid transparent; overflow-wrap: anywhere; }
.kb-diff .bl.igual { color: #667085; }
.kb-diff .bl.tira { background: #FEF3F2; border-left-color: #F04438; color: #912018; text-decoration: line-through; text-decoration-color: rgba(145, 32, 24, .4); }
.kb-diff .bl.poe { background: #ECFDF3; border-left-color: #12B76A; color: #05603A; }
.kb-diff .bl.troca { border-left-color: #F79009; background: #FFFCF5; }
.kb-diff .bl .tag-bl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #98A2B3; margin-right: 6px; text-decoration: none; display: inline-block; }
.kb-diff del { background: #FEE4E2; color: #912018; text-decoration-color: rgba(145, 32, 24, .5); border-radius: 3px; padding: 0 2px; }
.kb-diff ins { background: #D1FADF; color: #05603A; text-decoration: none; border-radius: 3px; padding: 0 2px; }
.kb-diff .bl img { max-width: 220px; max-height: 140px; border: 1px solid #E4E7EC; border-radius: 4px; vertical-align: middle; }
.kb-diff .pulo { padding: 4px 14px; font-size: 12px; color: #98A2B3; }
.kb-diff-leg { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #667085; margin: 0 0 10px; }
.kb-diff-leg span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.kb-diff-leg .l-tira::before { background: #FEE4E2; border: 1px solid #F04438; }
.kb-diff-leg .l-poe::before { background: #D1FADF; border: 1px solid #12B76A; }
.kb-diff-abas { display: flex; gap: 6px; margin: 0 0 10px; flex-wrap: wrap; }
.kb-diff-abas button { border: 1px solid #D0D5DD; background: #fff; border-radius: 6px; padding: 6px 10px; font-size: 13px; cursor: pointer; }
.kb-diff-abas button.ativo { background: #0B3D7B; border-color: #0B3D7B; color: #fff; }
.kb-mudancas { margin: 12px 0 14px; padding: 12px 14px; border: 1px solid #E4E7EC; border-radius: 8px; background: #F9FAFB; }
.kb-mudancas h3 { margin: 0 0 8px; font-size: 14px; }
.kb-mudancas ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
@media (max-width: 640px) {
  .kb-hist ul.mud li, .kb-mudancas ul li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .linha-desativado { flex-wrap: wrap; }
}

/* v31: aviso de privacidade (LGPD), segurança do acesso e países permitidos */
.tela-lgpd { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: #F6F7F9; }
.lgpd-card { width: 100%; max-width: 780px; padding: 28px; }
.lgpd-card h1 { font-size: 22px; margin: 0 0 6px; }
.lgpd-card > .sub { line-height: 1.5; margin-bottom: 14px; }
.lgpd-texto { max-height: 52vh; overflow-y: auto; border: 1px solid #E4E7EC; border-radius: 8px; padding: 6px 18px 14px; background: #FFFFFF; font-size: 14px; line-height: 1.6; }
.lgpd-texto h3 { font-size: 15px; margin: 16px 0 6px; color: #0B3D7B; }
.lgpd-texto:focus { outline: 2px solid #9EC5FE; outline-offset: 2px; }
.lgpd-dica { font-size: 12px; color: #B4690E; margin: 8px 0 0; }
.lgpd-li { display: flex; gap: 8px; align-items: center; margin: 14px 0 4px; font-size: 14px; font-weight: 500; }
.lgpd-li input { width: 18px; height: 18px; }
.lgpd-rodape { font-size: 12px; color: #667085; line-height: 1.5; margin: 12px 0 0; }
@media (max-width: 640px) { .lgpd-card { padding: 18px; } .lgpd-texto { max-height: 48vh; padding: 4px 12px 12px; } .lgpd-card .form-acoes { flex-direction: column-reverse; } .lgpd-card .form-acoes .btn, .lgpd-card .form-acoes .btn-linha { width: 100%; } }
.chips-paises { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.chip-pais { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border: 1px solid #B2CCFF; background: #EFF4FF; border-radius: 999px; font-size: 13px; color: #1D2939; }
.chip-pais small { color: #667085; }
.chip-pais button { border: 0; background: transparent; cursor: pointer; font-size: 16px; line-height: 1; color: #475467; padding: 0 4px; border-radius: 50%; }
.chip-pais button:hover { background: #D1E0FF; }
.busca-pais { position: relative; margin-bottom: 12px; }
.busca-pais .input { margin: 0; }
.opcoes-pais { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: #FFFFFF; border: 1px solid #D0D5DD; border-radius: 8px; box-shadow: 0 8px 24px rgba(16, 24, 40, .12); z-index: 5; padding: 4px; max-height: 260px; overflow: auto; }
.opc-pais { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.opc-pais:hover, .opc-pais:focus { background: #F2F4F7; }
.opc-pais small { color: #667085; margin-left: 4px; }
.seg-bloco { border: 1px solid #EAECF0; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.seg-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 14px; }
.seg-linha { display: flex; flex-direction: column; padding: 6px 0; border-top: 1px solid #F2F4F7; font-size: 13px; }
.seg-linha:first-of-type { border-top: 0; }
.seg-linha small { color: #667085; font-size: 12px; overflow-wrap: anywhere; }
.lgpd-adm .editor-rico, .lgpd-adm #lgpd-editor { margin-bottom: 0; }
.lgpd-adm .er-area, .lgpd-adm .er-codigo { min-height: 240px; max-height: 420px; font-size: 14px; }
select.input.sm { padding: 6px 10px; font-size: 13px; height: auto; }

/* ---------- v32: revendas (filiais) das empresas ---------- */
label.campo .obrig { font-weight: 500; font-size: 11px; color: #B42318; margin-left: 4px; }
select.input.sem-escolha { color: #667085; }
.revenda-nome { font-weight: 600; color: #344054; }
.sem-revenda { color: #B4690E; font-weight: 600; }
.bloco-revendas { margin: 2px 0 18px; padding-top: 14px; border-top: 1px solid #EAECF0; }
#e-revs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
#e-revs:empty { display: none; }
.rev-linha { display: grid; grid-template-columns: minmax(0, 1fr) auto 76px; gap: 12px; align-items: center; }
.rev-linha .input { margin: 0; height: 38px; font-size: 14px; }
.rev-linha .switch { margin: 0; font-size: 13px; gap: 8px; }
.rev-linha .switch em { font-style: normal; }
.rev-fim { text-align: right; }
.rev-uso { color: #667085; font-size: 12px; white-space: nowrap; }
.rev-incluir { display: flex; gap: 10px; align-items: flex-start; }
.rev-incluir textarea.area { margin: 0; min-height: 42px; height: 42px; flex: 1; }
.rev-incluir .btn-linha { height: 42px; flex: none; }
.lista-revendas { list-style: none; margin: 2px 0 0; padding: 0; }
.lista-revendas li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; border-bottom: 1px dashed #EAECF0; }
.lista-revendas li:last-child { border-bottom: 0; padding-bottom: 0; }
.caixa-info .lista-revendas li small { display: inline; margin: 0; font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #667085; white-space: nowrap; }
.lista-revendas li.inativa span { color: #98A2B3; }
.lista-revendas li i { font-style: normal; font-size: 11px; color: #98A2B3; }
@media (max-width: 640px) {
  .rev-linha { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .rev-linha .switch em { display: none; }
  .rev-incluir { flex-direction: column; align-items: stretch; }
}

/* ---------- v33: anexos na resposta (colar, arrastar, anexar) e no histórico ---------- */
.resp-caixa { border: 1px solid #D0D5DD; border-radius: 6px; background: #FFFFFF; transition: border-color .15s, box-shadow .15s, background .15s; }
.resp-caixa:focus-within { border-color: #00A3E8; box-shadow: 0 0 0 3px rgba(0, 163, 232, .15); }
.resp-caixa.over { border-color: #0B3D7B; border-style: dashed; background: #F5F9FF; }
.responder .resp-caixa textarea { display: block; border: 0; border-radius: 6px 6px 0 0; outline: none; background: transparent; }
.resp-arqs { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 10px 10px; }
.resp-arqs[hidden] { display: none; }
.resp-arq { display: inline-flex; align-items: center; max-width: 280px; border: 1px solid #EAECF0; border-radius: 8px; background: #F9FAFB; }
.resp-arq .ver { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 4px 4px 4px; border: 0; background: none; cursor: zoom-in; text-align: left; }
.resp-arq img, .resp-arq .ico { width: 44px; height: 44px; flex: none; border-radius: 5px; }
.resp-arq img { object-fit: cover; display: block; background: #EEF2F6; }
.resp-arq .ico { display: flex; align-items: center; justify-content: center; font-size: 18px; background: #EEF2F6; }
.resp-arq .t { display: flex; flex-direction: column; min-width: 0; }
.resp-arq .t b { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: #344054; }
.resp-arq .t small { font-size: 11px; color: #667085; }
.resp-arq .tirar { flex: none; padding: 4px 9px; border: 0; background: none; font-size: 18px; line-height: 1; color: #98A2B3; cursor: pointer; }
.resp-arq .tirar:hover, .resp-arq .tirar:focus-visible { color: #B42318; }
.resp-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 5px 8px; border-top: 1px solid #EAECF0; border-radius: 0 0 6px 6px; background: #FBFCFD; }
.resp-anexar { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #0B3D7B; cursor: pointer; }
.resp-anexar:hover, .resp-anexar:focus-within { background: #EEF4FB; }
.resp-dica { font-size: 12px; color: #667085; }
.resp-dica kbd { padding: 0 5px; border: 1px solid #D0D5DD; border-bottom-width: 2px; border-radius: 4px; background: #FFFFFF; font: inherit; font-size: 11px; color: #344054; }
.hist-anexos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hist-ax { display: inline-flex; align-items: center; gap: 8px; max-width: 260px; padding: 4px 10px 4px 4px; border: 1px solid #EAECF0; border-radius: 8px; background: #FFFFFF; font-size: 12px; font-weight: 600; color: #0B3D7B; text-align: left; cursor: zoom-in; }
.hist-ax:hover, .hist-ax:focus-visible { border-color: #84ADEB; background: #F5F9FF; outline: none; }
.hist-ax .ico { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 6px; background: #EEF2F6; font-size: 15px; }
.hist-ax .nome { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-ax.img { flex-direction: column; align-items: stretch; gap: 4px; width: 152px; padding: 4px; }
.hist-ax.img img { display: block; width: 100%; height: 100px; object-fit: cover; border-radius: 5px; background: #EEF2F6; }
.hist-ax.img .nome { padding: 0 2px 1px; font-size: 11px; font-weight: 500; color: #475467; }
.hist-ax.img.falhou img { visibility: hidden; }
@media (max-width: 640px) {
  .hist-ax.img { width: calc(50% - 4px); }
  .resp-dica { display: none; }
  .resp-arq { max-width: 100%; }
}
.anexo.anexo-v .t small .pill { margin-left: 6px; }

/* ---------- v34: Contrato Atende (computadores conectados e instalador) ---------- */
.app-pc { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #F2F4F7; font-size: 13px; }
.app-pc:last-child { border-bottom: 0; }
.app-pc .t { min-width: 0; line-height: 1.45; }
.app-pc .pc-nome { font-weight: 600; color: #1C1F24; }
.app-pc .pc-nome small, .app-pc .t > small { font-weight: 400; color: #667085; }
.app-pc .pc-info { display: block; font-size: 12px; color: #667085; }
.app-pc.desligado .pc-nome { color: #98A2B3; }
.app-pc .link-mini { flex: none; }
.app-baixar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.app-baixar small { color: #667085; font-size: 12px; }
.app-baixar small + small { flex-basis: 100%; line-height: 1.45; }
.app-pub { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 12px; background: #F6FEF9; border: 1px solid #ABEFC6; border-radius: 8px; font-size: 13px; }
.app-pub small { color: #667085; }
.app-form { margin-bottom: 14px; }
.app-form-l { display: flex; gap: 8px; align-items: center; }
.app-form-l .input { margin: 0; }
.app-form-l #app-ver { width: 110px; flex: none; }
.app-form-l .btn-linha { flex: none; height: 44px; display: inline-flex; align-items: center; }
.app-form-l .app-arq-l { cursor: pointer; }
.app-arq-nomes { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.app-arq-nomes .app-arq-nome { min-width: 0; max-width: 100%; font-size: 13px; color: #667085; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .app-form-l { flex-wrap: wrap; } .app-form-l #app-ver { width: 100%; } }
.app-form .dica-campo { display: block; margin-top: 6px; }

/* v35: conectar o Contrato Atende com um código gerado no site */
.app-cod-l { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; }
.app-cod-l .btn-linha { flex: none; }
.app-cod-l small { color: #667085; font-size: 12px; line-height: 1.45; }
.app-cod { border: 1px dashed #0e52a5; background: #f3f8fe; border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.app-cod .mono { font-size: 26px; letter-spacing: 4px; font-weight: 700; color: #094488; }
.app-cod small { color: #505053; font-size: 12px; line-height: 1.5; }
.app-cod.ok { border: 1px solid #b7e2c8; background: #e7f6ee; }
.app-cod.ok b { color: #087443; }
.app-cod.venceu { border-style: solid; border-color: #e4e7ec; background: #f6f7f9; flex-direction: row; align-items: center; }
@media (max-width: 640px) { .app-cod-l { flex-direction: column; align-items: flex-start; } }

/* Administração › Armazenamento */
.arm-corpo { padding: 8px 20px 16px; }
.arm-linha { display: grid; grid-template-columns: minmax(0, 1fr) 110px 84px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F2F4F7; }
.arm-linha:last-of-type { border-bottom: 0; }
.arm-linha .t, .arm-arq .t { min-width: 0; }
.arm-linha .t b, .arm-arq .t b { display: block; font-size: 14px; font-weight: 600; color: #1C1F24; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arm-linha .t small, .arm-arq .t small { display: block; font-size: 12px; color: #667085; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arm-linha .v, .arm-arq .v { text-align: right; font-size: 13px; color: #1C1F24; }
.arm-linha.zero .t b, .arm-linha.zero .v { color: #98A2B3; font-weight: 500; }
.arm-mini { height: 6px; border-radius: 3px; background: #F2F4F7; overflow: hidden; }
.arm-mini span { display: block; height: 100%; border-radius: 3px; background: #0B3D7B; }
.arm-mini.fino { height: 4px; margin-top: 6px; width: 90px; margin-left: auto; }
.arm-plano { margin: 6px 0 10px; }
.arm-trilho { height: 10px; border-radius: 5px; background: #EAECF0; overflow: hidden; }
.arm-trilho span { display: block; height: 100%; border-radius: 5px; }
.arm-plano small { display: block; margin-top: 6px; font-size: 12px; color: #667085; }
.arm-nota { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #667085; }
.arm-sub { margin: 16px 0 8px; font-size: 13px; font-weight: 600; color: #344054; }
.arm-meses { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 96px; }
.arm-meses .m { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; height: 100%; }
.arm-meses .b { background: #2C64C4; border-radius: 3px 3px 0 0; }
.arm-meses small { margin-top: 4px; font-size: 11px; color: #667085; text-align: center; }
.arm-arq { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F2F4F7; }
.arm-arq:last-child { border-bottom: 0; }
.arm-tb td { vertical-align: middle; }
.arm-tb .arm-nome { color: #1C1F24; }
.seg-mini { display: inline-flex; border: 1px solid #D0D5DD; border-radius: 8px; overflow: hidden; }
.seg-mini button { background: #FFFFFF; border: 0; padding: 6px 14px; font-size: 13px; font-weight: 600; color: #475467; cursor: pointer; }
.seg-mini button + button { border-left: 1px solid #D0D5DD; }
.seg-mini button.ativo { background: #EBF1FB; color: #0B3D7B; }
.arm-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 24px; }
.arm-grupos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px; }
.arm-grupo { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #E4E7EC; border-radius: 8px; cursor: pointer; }
.arm-grupo input { margin-top: 3px; }
.arm-grupo b { display: block; font-size: 13px; color: #1C1F24; }
.arm-grupo small { display: block; font-size: 12px; color: #667085; line-height: 1.4; }
@media (max-width: 759px) {
  .arm-linha { grid-template-columns: minmax(0, 1fr) 70px 76px; gap: 8px; }
  .arm-meses { gap: 3px; }
  .arm-meses small { font-size: 10px; }
}
.app-cert { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 10px 12px; margin-bottom: 6px; background: #F8F9FC; border: 1px solid #E4E7EC; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.app-cert small { color: #667085; }
.app-cert .mono { word-break: break-all; }
.app-cert > span { flex: none; display: flex; gap: 10px; }

/* Novo chamado: "Como será tratado" na cor da prioridade escolhida (40.0.0) */
.card-prio { --prio: #0B3D7B; --prio-fundo: #F2F7FD; --prio-borda: #D6E4F5; border-radius: 10px; padding: 20px; border: 1px solid var(--prio-borda); border-left: 5px solid var(--prio); background: var(--prio-fundo); transition: background-color .2s, border-color .2s; }
.card-prio.prio-baixa { --prio: #667085; --prio-fundo: #F6F7F9; --prio-borda: #E4E7EC; }
.card-prio.prio-media { --prio: #0B3D7B; --prio-fundo: #F2F7FD; --prio-borda: #D6E4F5; }
.card-prio.prio-alta { --prio: #B4690E; --prio-fundo: #FFF8EE; --prio-borda: #F5D9B0; }
.card-prio.prio-critica { --prio: #B42318; --prio-fundo: #FEF3F2; --prio-borda: #F9CFCB; }
/* recolhido: uma linha com a prioridade, os prazos e "o que significa?"; aberto: os detalhes (41.1.0) */
.card-prio { padding: 0; }
/* cabeçalho em grade: rótulo e "o que significa?" na mesma linha, a prioridade e os prazos embaixo (cabe no celular) */
.card-prio .prio-cab { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; width: 100%; padding: 14px 18px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; border-radius: 10px; }
.card-prio .prio-cab:hover .prio-link { text-decoration: underline; }
.card-prio .prio-cab:focus-visible { outline: 2px solid var(--prio); outline-offset: -2px; }
.card-prio .prio-cab .t { display: contents; }
.card-prio .prio-ponto { grid-column: 1; grid-row: 2; }
.card-prio .prio-rot { grid-column: 2; grid-row: 1; }
.card-prio .prio-cab b { grid-column: 2 / 4; grid-row: 2; }
.card-prio .prio-link { grid-column: 3; grid-row: 1; }
.card-prio .prio-curto { grid-column: 2 / 4; grid-row: 3; }
.movel .card-prio .prio-cab { padding: 12px 14px; }
.movel .card-prio .prio-rot { grid-column: 1 / 3; letter-spacing: .04em; }
.movel .card-prio .prio-link { font-size: 12px; }   /* celular: o rótulo usa também a largura da bolinha e cabe numa linha */
.card-prio .prio-rot { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--prio); }
.card-prio .prio-cab b { font-size: 16px; font-weight: 600; color: #1C1F24; line-height: 1.3; }
.card-prio .prio-cab b em { font-style: normal; font-size: 12px; font-weight: 500; color: #667085; margin-left: 4px; }
.card-prio .prio-curto { font-size: 13px; font-weight: 600; color: var(--prio); line-height: 1.4; }
.card-prio .prio-link { flex: none; font-size: 12.5px; font-weight: 600; color: #0B3D7B; white-space: nowrap; }
.card-prio #prio-det { padding: 0 18px 16px; }
.card-prio .prio-ponto { width: 10px; height: 10px; border-radius: 50%; background: var(--prio); flex: none; }
.card-prio p { margin: 0 0 10px; font-size: 13px; color: #475467; line-height: 1.5; }
.card-prio .prio-uso { font-size: 14px; color: #344054; }
.card-prio .prio-ex b { color: #344054; font-weight: 600; }
.card-prio .prio-prazos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 14px 0 6px; }
.card-prio .prio-prazos div { background: #FFFFFF; border: 1px solid var(--prio-borda); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.card-prio .prio-prazos small { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: #667085; font-weight: 600; margin-bottom: 2px; }
.card-prio .prio-prazos b { display: block; font-size: 16px; color: var(--prio); font-weight: 700; line-height: 1.3; }
.card-prio .prio-exped { font-size: 12px; color: #667085; }
.card-prio .prio-passos { margin: 4px 0 12px; padding-left: 18px; font-size: 13px; color: #475467; line-height: 1.5; }
.card-prio .prio-passos li { margin-bottom: 4px; }
.card-prio .prio-passos li::marker { color: var(--prio); }
.card-prio .prio-rodape { margin: 0; padding-top: 10px; border-top: 1px solid var(--prio-borda); font-size: 12px; color: #667085; }
#prio-slot .card-prio { margin: -4px 0 18px; }   /* uma coluna: logo abaixo dos botões da prioridade */

/* Cadastro de cliente: liberar o acesso agora ou depois (40.0.0) */
.opcoes-acesso { display: grid; gap: 8px; margin: 4px 0 6px; }
.opcoes-acesso .opc { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #D0D5DD; border-radius: 8px; cursor: pointer; background: #FFFFFF; }
.opcoes-acesso .opc:has(input:checked) { border-color: #0B3D7B; background: #F5F9FF; }
.opcoes-acesso .opc input { margin: 3px 0 0; accent-color: #0B3D7B; }
.opcoes-acesso .opc b { display: block; font-size: 14px; font-weight: 600; color: #1C1F24; }
.opcoes-acesso .opc small { display: block; font-size: 12px; color: #667085; line-height: 1.45; margin-top: 2px; }
.acoes-cli { white-space: nowrap; }
.acoes-cli .link-mini + .link-mini { margin-left: 12px; }

/* Recomendação de instalar o Contrato Atende (40.0.0) */
.aviso-app { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 10px 24px; background: #EEF4FC; border-bottom: 1px solid #D6E4F5; color: #1C1F24; }
.aviso-app-ico { width: 32px; height: 32px; border-radius: 7px; background: #FFFFFF; padding: 3px; flex: none; }
.aviso-app .t { flex: 1 1 320px; min-width: 0; font-size: 13px; line-height: 1.45; }
.aviso-app .t b { display: block; font-size: 14px; font-weight: 600; color: #0B3D7B; }
.aviso-app .t small { display: block; font-size: 12.5px; color: #475467; }
.aviso-app .acoes { display: flex; align-items: center; gap: 14px; }
.aviso-app .btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.passos-app { margin: 4px 0 14px; padding-left: 20px; font-size: 14px; color: #344054; line-height: 1.55; }
.passos-app li { margin-bottom: 6px; }
@media (max-width: 640px) { .aviso-app { padding: 10px 16px; } }

/* Avaliação: o nome da nota ao lado das estrelas e a prévia ao passar o mouse (40.0.0) */
.aval-linha { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.estrelas.escolher:hover button { color: #F5A524; }
.estrelas.escolher button:hover ~ button { color: #D0D5DD; }
.aval-rotulo { font-size: 15px; font-weight: 600; min-height: 1em; }
.aval-rotulo.n1, .aval-rotulo.n2 { color: #B42318; } .aval-rotulo.n3 { color: #8A5300; } .aval-rotulo.n4, .aval-rotulo.n5 { color: #08694A; }

/* Chamado aberto a partir de um encerrado (41.0.0) */
.card-situacao .continuar { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(16, 24, 40, .08); }
.card-situacao .continuar p { margin: 0 0 10px; }
.cont-faixa { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid #D6E4F5; border-left: 4px solid #0B3D7B; border-radius: 8px; background: #F5F9FF; }
.cont-faixa b { display: block; font-size: 14px; font-weight: 600; color: #0B3D7B; }
.cont-faixa small { display: block; font-size: 12.5px; color: #475467; line-height: 1.45; }

/* Rotinas e Agenda (45.0.0): obrigações dos clientes por competência, agenda da equipe, catálogo e relatório */
.rot-kpis { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.rot-kpi { display: flex; align-items: baseline; gap: 8px; min-width: 150px; padding: 10px 14px; border: 1px solid #E4E7EC; border-radius: 10px; background: #FFFFFF; color: #475467; font-size: 13px; text-align: left; cursor: pointer; }
.rot-kpi b { font-size: 22px; font-weight: 600; color: #1C1F24; }
.rot-kpi.verm b { color: #B42318; } .rot-kpi.ambar b { color: #B4690E; } .rot-kpi.azul b { color: #0B3D7B; }
.rot-kpi:hover { border-color: #0B3D7B; }
.rot-kpi.ativo { border-color: #0B3D7B; box-shadow: inset 0 0 0 1px #0B3D7B; background: #F5F9FF; }
.rot-kpi.plano { cursor: default; } .rot-kpi.plano:hover { border-color: #E4E7EC; }
.rot-filtros { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.rot-filtros .input { width: auto; min-width: 190px; max-width: 300px; margin: 0; flex: 1 1 190px; }
.rot-filtros .rot-busca { flex: 1 1 220px; }
.rot-lote { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding: 10px 14px; border: 1px solid #D6E4F5; border-radius: 8px; background: #F5F9FF; font-size: 14px; }
.rot-tb th, .rot-tb td { padding-left: 12px; padding-right: 12px; }
.rot-tb td { vertical-align: middle; }
.rot-tb .rot-chk { width: 36px; padding-right: 0; }
.rot-tb .rot-chk input { width: 16px; height: 16px; accent-color: #0B3D7B; cursor: pointer; }
.rot-tb tr.rot-fechada td .assunto { color: #667085; }
.rot-sem { color: #B4690E; font-size: 13px; }
.rot-verm { color: #B42318; font-weight: 600; }
.rot-aviso { color: #8A5300; font-weight: 600; }
.rot-flags .pill { margin-right: 4px; }
.rot-acoes-td .link-mini + .link-mini { margin-left: 12px; }
.rot-card .assunto { font-size: 16px; }
/* detalhe */
.modal.larga { max-width: 760px; }
.rot-det-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.rot-det-topo h2 { margin: 2px 0 4px; }
.rot-det-topo .meta { font-size: 12px; color: #667085; }
.rot-aviso-caixa { margin: 0 0 14px; padding: 10px 14px; border: 1px solid #FEC84B; border-radius: 8px; background: #FFFAEB; font-size: 14px; color: #7A4D00; }
.rot-aviso-caixa.ok { border-color: #A6E3C4; background: #E7F6EF; color: #08694A; }
.rot-grid .input { margin-bottom: 0; }
.rot-salvar-datas { display: flex; gap: 12px; align-items: center; margin: 6px 0 14px; font-size: 12px; color: #667085; }
.rot-orienta { margin: 0 0 12px; padding: 10px 14px; border-radius: 8px; background: #F6F7F9; font-size: 14px; line-height: 1.5; }
.rot-orienta b { display: block; font-size: 12px; color: #667085; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em; }
.rot-orienta p { margin: 0; }
.rot-acoes { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
.rot-motivo { margin: 8px 0 14px; padding: 12px 14px; border: 1px solid #E4E7EC; border-radius: 8px; background: #FBFCFD; }
.rot-motivo .area { margin-bottom: 10px; }
.rot-chamado, .rot-nota { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.rot-chamado .input, .rot-nota .input { margin: 0; flex: 1 1 200px; }
.rot-linha { margin: 0 0 10px; font-size: 14px; }
.rot-linha .link-mini { margin-left: 8px; }
.rot-hist { max-height: 260px; overflow: auto; border: 1px solid #F2F4F7; border-radius: 8px; }
.rot-ev { display: grid; grid-template-columns: 92px 130px 1fr; gap: 4px 10px; padding: 8px 12px; border-bottom: 1px solid #F2F4F7; font-size: 13px; color: #475467; }
.rot-ev:last-child { border-bottom: 0; }
.rot-ev .mono { font-size: 12px; color: #98A2B3; }
.rot-ev b { font-weight: 600; color: #344054; overflow-wrap: anywhere; }
.rot-ev span:last-child { overflow-wrap: anywhere; }
/* agenda */
.rot-agenda-barra { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 12px; }
.rot-mes-nav { display: flex; align-items: center; gap: 6px; }
.rot-mes-nav h2 { margin: 0 6px; font-size: 20px; font-weight: 600; min-width: 190px; text-align: center; }
.rot-legenda { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: #667085; }
.rot-legenda span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: #98A2B3; }
.rot-legenda .sit-verm::before { background: #B42318; } .rot-legenda .sit-ambar::before { background: #F59E0B; } .rot-legenda .sit-azul::before { background: #0B3D7B; }
.rot-legenda .sit-cinza::before { background: #98A2B3; } .rot-legenda .sit-verde::before { background: #087443; } .rot-legenda .chamado::before { background: #00A3E8; }
.rot-legenda .ev-ferias::before { background: #7A5AF8; } .rot-legenda .ev-reuniao::before { background: #D946EF; }
.rot-cal-cab { display: grid; grid-template-columns: repeat(7, 1fr); background: #FBFCFD; border-bottom: 1px solid #E4E7EC; }
.rot-cal-cab div { padding: 8px 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #667085; font-weight: 600; }
.rot-cal-grade { display: grid; grid-template-columns: repeat(7, 1fr); }
.rot-dia { min-height: 118px; padding: 6px 6px 8px; border-right: 1px solid #F2F4F7; border-bottom: 1px solid #F2F4F7; cursor: pointer; background: #FFFFFF; min-width: 0; }
.rot-dia:nth-child(7n) { border-right: 0; }
.rot-dia:hover { background: #FBFCFE; }
.rot-dia.fora { background: #FAFAFB; } .rot-dia.fora .n b { color: #C0C5CE; }
.rot-dia.fds .n b { color: #98A2B3; }
.rot-dia.feriado { background: #FCFBF7; }
.rot-dia.hoje .n b { background: #0B3D7B; color: #FFFFFF; border-radius: 50%; }
.rot-dia .n { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; min-width: 0; }
.rot-dia .n b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; font-size: 13px; font-weight: 600; color: #344054; flex: none; }
.rot-dia .n small { font-size: 10.5px; color: #8A5300; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rot-dia .mais { font-size: 11px; color: #667085; padding: 2px 4px; }
.rot-it { display: block; margin: 2px 0; padding: 2px 6px; border-radius: 4px; border-left: 3px solid #98A2B3; background: #F2F4F7; font-size: 11.5px; color: #344054; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.rot-it b { font-weight: 600; }
.rot-it:hover { filter: brightness(.96); }
.rot-it.sit-verm { border-color: #B42318; background: #FEF3F2; color: #912018; }
.rot-it.sit-ambar { border-color: #F59E0B; background: #FFFAEB; color: #7A4D00; }
.rot-it.sit-azul { border-color: #0B3D7B; background: #E8F0FB; color: #0B3D7B; }
.rot-it.sit-verde, .rot-it.feita { border-color: #087443; background: #E7F6EF; color: #08694A; text-decoration: line-through; }
.rot-it.chamado { border-color: #00A3E8; background: #E6F6FD; color: #0B5C83; }
.rot-it.ev-ferias, .rot-it.ev-ausencia { border-color: #7A5AF8; background: #F0EDFF; color: #4A2FBF; }
.rot-it.ev-feriado_local { border-color: #8A5300; background: #FEF3E2; color: #8A5300; }
.rot-it.ev-reuniao, .rot-it.ev-prazo, .rot-it.ev-outro { border-color: #D946EF; background: #FBEAFE; color: #86198F; }
.modal .rot-it { white-space: normal; padding: 6px 8px; font-size: 13px; margin: 4px 0; }
.rot-lista-dias { display: flex; flex-direction: column; gap: 10px; }
.rot-dia-card { padding: 12px 14px; }
.rot-dia-card.hoje { border-color: #0B3D7B; }
.rot-dia-cab { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; cursor: pointer; }
.rot-dia-cab b { font-size: 16px; } .rot-dia-cab span { font-size: 12px; color: #667085; }
/* clientes e catálogo */
.rot-switches { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 4px; }
.rot-switches .switch { margin: 2px 0 10px; }
.rot-check { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; color: #344054; cursor: pointer; }
.rot-check input { width: 16px; height: 16px; accent-color: #0B3D7B; }
.rot-check small { color: #98A2B3; font-size: 12px; margin-left: auto; }
.rot-check.feito { color: #98A2B3; }
.rot-emp-lista { max-height: 300px; overflow: auto; border: 1px solid #F2F4F7; border-radius: 8px; padding: 4px 12px; }
.rot-sug { margin: 6px 0 14px; padding: 12px 14px; border: 1px solid #FEC84B; border-radius: 8px; background: #FFFAEB; }
.rot-sug-item { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.rot-sug-item input { width: 16px; height: 16px; margin-top: 3px; accent-color: #0B3D7B; flex: none; }
.rot-sug-item b { display: block; font-size: 14px; color: #1C1F24; } .rot-sug-item small { display: block; font-size: 12px; color: #667085; line-height: 1.4; }
.rot-sug-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.rot-sug-acoes .input { width: auto; margin: 0; flex: 1 1 180px; }
.rot-vinc td { padding-top: 8px; padding-bottom: 8px; }
.rot-sel-mini { height: 36px !important; margin: 0 !important; min-width: 150px; font-size: 13px; }
@media (max-width: 759px) {
  .rot-filtros .input { max-width: none; flex: 1 1 100%; }
  .rot-kpi { min-width: 0; flex: 1 1 44%; }
  .rot-mes-nav h2 { min-width: 0; font-size: 17px; }
  .rot-ev { grid-template-columns: 1fr; gap: 2px; }
  .modal .grid-form { grid-template-columns: 1fr; }
}
/* ---------- v46: página da rotina, documentos do cliente, processos e cronômetro das rotinas ---------- */
.nav-n { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: #00A3E8; color: #FFFFFF; font-size: 11.5px; font-weight: 700; vertical-align: 1px; }
.barra-timer-rot { background: #EAF3FF; border-bottom-color: #C7DBF7; color: #0B3D7B; }
.rot-pag-topo { margin-bottom: 6px; }
.rot-pag-cab { align-items: flex-start; margin-bottom: 16px; }
.rot-pag-cab .meta { font-size: 12px; color: #667085; margin-bottom: 2px; }
.rot-pag-cab-dir { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rot-pag { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.rot-pag-main, .rot-pag-lado { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rot-sec { padding: 16px 18px; }
.rot-sec h2.sec { margin-bottom: 10px; }
.rot-sec-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rot-sec-cab h2.sec { margin: 0; }
.rot-sec-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.rot-sec .rot-acoes { margin-top: 0; }
.rot-sec .dropzone { margin-bottom: 10px; padding: 14px; }
.rot-sec .resp-arqs { padding: 0 0 10px; }
.rot-cont { font-size: 12px; font-weight: 500; color: #667085; margin-left: 6px; }
.rot-timer-btn { white-space: nowrap; }
.rot-timer-btn .mono { margin-left: 4px; }
.rot-tempo-total { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.rot-tempo-total b { font-size: 24px; font-weight: 600; color: #1C1F24; }
.rot-tempo-total span { font-size: 13px; color: #667085; }
.rot-tempo-pessoas { border-top: 1px solid #F2F4F7; margin-top: 6px; padding-top: 6px; }
.rot-tempo-pessoas div { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; font-size: 13.5px; color: #344054; }
.rot-nota-fina { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: #667085; }
.rot-vazio { margin: 0 0 6px; font-size: 14px; color: #667085; }
.rot-proc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border: 1px solid #D6E4F5; border-radius: 10px; background: #F5F9FF; font-size: 14px; color: #0B3D7B; }
.rot-docs-pend { color: #8A5300; font-weight: 600; }
.rot-docs-ok { color: #08694A; }
.rot-docs-us { border: 1px solid #F2F4F7; border-radius: 8px; padding: 2px 12px; margin-bottom: 12px; }
.doc-pedir { margin-top: 0; }
.doc-peds { display: flex; flex-direction: column; border: 1px solid #F2F4F7; border-radius: 10px; }
.doc-ped { padding: 12px 14px; border-bottom: 1px solid #F2F4F7; }
.doc-ped:last-child { border-bottom: 0; }
.doc-ped.feito .doc-ped-l1 b { color: #475467; }
.doc-ped-l1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.doc-ped-l1 b { font-size: 15px; font-weight: 600; color: #1C1F24; overflow-wrap: anywhere; }
.doc-ped-meta { margin-top: 3px; font-size: 12.5px; color: #667085; }
.doc-ped-det { margin-top: 6px; font-size: 13.5px; color: #344054; }
.doc-ped-msg { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #F6F7F9; font-size: 13.5px; color: #344054; overflow-wrap: anywhere; }
.doc-ped-acoes { display: flex; gap: 14px; margin-top: 8px; }
.doc-arqs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.doc-arq { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-width: 0; padding: 6px 10px; border: 1px solid #E4E7EC; border-radius: 8px; background: #FFFFFF; color: #0B3D7B; font-size: 13.5px; cursor: pointer; text-align: left; }
.doc-arq:hover { border-color: #0B3D7B; background: #F5F9FF; }
.doc-arq .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.doc-arq small { color: #98A2B3; font-size: 11.5px; flex: none; }
.doc-arq-lista { display: flex; flex-direction: column; }
.doc-arq-linha { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid #F2F4F7; flex-wrap: wrap; }
.doc-arq-linha:first-child { border-top: 0; }
.doc-arq-linha .doc-arq { flex: 0 1 auto; }
.doc-arq-info { display: flex; flex-direction: column; gap: 3px; flex: 1 1 200px; min-width: 0; font-size: 12.5px; color: #667085; }
.doc-arq-info .pill { align-self: flex-start; }
.doc-arq-linha > .link-mini { margin-left: auto; align-self: center; }
.doc-visto { color: #08694A; } .doc-visto.nao { color: #8A5300; }
.doc-arq-msg { color: #344054; overflow-wrap: anywhere; }
.doc-rec { padding: 6px 18px; }
.doc-rec .doc-arq-linha.novo .doc-arq { border-color: #0B3D7B; }
.doc-cli-lista { display: flex; flex-direction: column; gap: 12px; }
.doc-cli { padding: 16px 18px; }
.doc-cli.feito { background: #FCFCFD; }
.doc-cli-acoes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.proc-barra { display: inline-block; width: 90px; height: 8px; border-radius: 999px; background: #EEF2F6; overflow: hidden; vertical-align: middle; }
.proc-barra span { display: block; height: 100%; background: #0B3D7B; border-radius: 999px; }
.proc-barra-l { white-space: nowrap; }
.proc-barra-l small { margin-left: 6px; font-size: 12px; color: #667085; }
.proc-atual { font-size: 13.5px; padding: 1px 0; }
.proc-atual .meta { font-size: 12px; color: #667085; }
.proc-etapas { display: flex; flex-direction: column; margin: 4px 0 8px; }
.proc-et { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F2F4F7; }
.proc-et:last-child { border-bottom: 0; }
.proc-et .btn-linha { margin-left: auto; flex: none; }
.proc-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 2px solid #D0D5DD; background: #FFFFFF; color: #667085; font-size: 13px; font-weight: 700; }
.proc-et.atual .proc-n { border-color: #0B3D7B; color: #0B3D7B; background: #E8F0FB; }
.proc-et.feita .proc-n { border-color: #087443; background: #087443; color: #FFFFFF; }
.proc-et.pulada .proc-n { border-style: dashed; }
.proc-et.futura .proc-et-t b { color: #667085; font-weight: 500; }
.proc-et-t { min-width: 0; flex: 1 1 auto; }
.proc-et-t b { font-size: 14.5px; color: #1C1F24; }
.proc-et-t .meta { font-size: 12.5px; color: #667085; margin-top: 2px; }
.pn-etapas { display: flex; flex-direction: column; border: 1px solid #F2F4F7; border-radius: 8px; padding: 4px 12px; margin-bottom: 8px; }
.pn-et { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F2F4F7; flex-wrap: wrap; }
.pn-et:last-child { border-bottom: 0; }
.pn-et .t { flex: 1 1 200px; min-width: 0; }
.pn-et .t b { display: block; font-size: 14px; } .pn-et .t small { font-size: 12px; color: #667085; }
.pn-et .input { flex: 0 1 230px; }
.fluxo-lista { display: flex; flex-direction: column; border: 1px solid #F2F4F7; border-radius: 10px; margin-bottom: 8px; }
.fluxo-it { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #F2F4F7; }
.fluxo-it:last-child { border-bottom: 0; }
.fluxo-it .t { flex: 1 1 auto; min-width: 0; }
.fluxo-it .t b { display: block; font-size: 15px; } .fluxo-it .t small { display: block; font-size: 12.5px; color: #667085; margin-top: 2px; }
.fluxo-it.inativo .t b { color: #98A2B3; }
.fx-etapas { display: flex; flex-direction: column; gap: 10px; }
.fx-et { padding: 12px 14px; border: 1px solid #E4E7EC; border-radius: 10px; background: #FBFCFD; }
.fx-et-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.fx-et-cab .input { margin: 0; flex: 1 1 auto; font-weight: 600; }
.fx-mover { display: flex; gap: 4px; flex: none; }
.fx-mover .link-mini { font-size: 16px; padding: 0 6px; }
.fx-mover .link-mini:disabled { opacity: .3; cursor: default; }
@media (max-width: 1100px) { .rot-pag { grid-template-columns: 1fr; } }
@media (max-width: 759px) {
  .rot-sec { padding: 14px; }
  .rot-pag-cab-dir { width: 100%; justify-content: space-between; }
  .proc-et { flex-wrap: wrap; }
  .proc-et .btn-linha { margin-left: 40px; }
  .doc-arq-linha > .link-mini { margin-left: 0; }
  .pn-et .input { flex: 1 1 100%; }
}
.rot-sec .resp-arq .ver, #doc-arqs .resp-arq .ver { cursor: default; }
.rot-pag-lado .rot-hist { max-height: 420px; }
.rot-pag-lado .rot-ev { grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; }
.rot-pag-lado .rot-ev b { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rot-pag-lado .rot-ev span:last-child { grid-column: 1 / -1; color: #344054; }

/* ---------- v47: circulares (equipe) e comunicados (quem recebe) ---------- */
.circ-pag { grid-template-columns: minmax(0, 1fr) 380px; }
.circ-pag .editor-rico .er-area { min-height: 300px; }
.circ-seg { display: inline-flex; padding: 3px; margin-bottom: 4px; border: 1px solid #D0D5DD; border-radius: 9px; background: #F9FAFB; }
.circ-seg button { height: 32px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: #475467; font-size: 14px; font-weight: 600; cursor: pointer; }
.circ-seg button.ativo { background: #FFFFFF; color: #0B3D7B; box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.circ-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.circ-chips .chip { height: 30px; padding: 0 11px; font-size: 12.5px; }
.circ-checks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.circ-check { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; font-size: 13.5px; line-height: 1.4; color: #344054; cursor: pointer; }
.circ-checks .circ-check { margin: 0; }
.circ-check input { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: #0B3D7B; cursor: pointer; }
#circ-quem .campo small, .circ-pag .campo small { font-weight: 400; color: #667085; }
#circ-quem .input { margin-bottom: 4px; }
.circ-emp-busca { margin-top: 6px; }
.circ-emps { display: flex; flex-direction: column; max-height: 220px; overflow-y: auto; border: 1px solid #E4E7EC; border-radius: 8px; padding: 4px 0; }
.circ-emps label { display: flex; align-items: center; gap: 8px; padding: 5px 12px; font-size: 13.5px; color: #344054; cursor: pointer; }
.circ-emps label:hover { background: #F5F9FF; }
.circ-emps label[hidden] { display: none; }
.circ-emps input { width: 16px; height: 16px; accent-color: #0B3D7B; flex: none; }
.circ-previa { display: flex; flex-direction: column; gap: 3px; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #F5F9FF; border: 1px solid #D6E4F5; font-size: 13.5px; color: #344054; }
.circ-previa b { font-size: 15px; color: #0B3D7B; }
.circ-previa.vazio { background: #FFFAEB; border-color: #FEC84B; color: #7A4D00; }
.circ-previa.vazio b { color: #7A4D00; }
.circ-previa .link-mini { align-self: flex-start; margin-top: 2px; }
.circ-previa-n { color: #8A5300; }
.circ-envio { display: flex; flex-direction: column; gap: 8px; }
.circ-envio .btn, .circ-envio .btn-linha { width: 100%; justify-content: center; }
.circ-agendar { padding: 10px 12px; border: 1px solid #E4E7EC; border-radius: 10px; background: #FBFCFD; }
.circ-agendar .campo { margin-top: 0; }
.circ-agendar .input { margin: 0 0 8px; width: 100%; }
.circ-agendar-b { display: flex; align-items: center; gap: 12px; }
.circ-arq { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
#dz-circ { margin-bottom: 10px; padding: 14px; }
.circ-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 16px; }
.circ-kpi { flex-wrap: wrap; }
.circ-kpi small { flex: 1 1 100%; font-size: 12px; color: #667085; }
.circ-tb td { vertical-align: top; }
.circ-em { font-size: 13px; font-weight: 600; color: #475467; }
.circ-em-enviado { color: #08694A; }
.circ-em-falhou { color: #B42318; }
.circ-em-na_fila, .circ-em-aguardando { color: #0B3D7B; }
.circ-em-descadastrado, .circ-em-sem_email, .circ-em-cancelado, .circ-em-desligado { color: #8A5300; }
.circ-ok { color: #08694A; font-weight: 600; }
.circ-dest-lista { display: flex; flex-direction: column; }
.circ-dest-it { padding: 10px 0; border-top: 1px solid #F2F4F7; font-size: 13.5px; }
.circ-dest-it:first-child { border-top: 0; }
.circ-dest-l { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; color: #667085; font-size: 12.5px; }
.circ-enviado { max-height: 520px; overflow-y: auto; padding: 12px 14px; border: 1px solid #F2F4F7; border-radius: 8px; font-size: 14px; }
.circ-enviado img { max-width: 100%; height: auto; }
.circ-lista-modal { max-height: 60vh; }
.barra-com { background: #EAF3FF; border-bottom-color: #C7DBF7; color: #0B3D7B; }
.com-lista { display: flex; flex-direction: column; gap: 12px; }
.com-card { padding: 16px 18px; cursor: pointer; }
.com-card:hover { border-color: #0B3D7B; }
.com-card.novo { border-left: 4px solid #00A3E8; }
.com-l1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.com-l1 b { font-size: 16px; font-weight: 600; color: #1C1F24; overflow-wrap: anywhere; }
.com-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.com-meta { margin-top: 3px; font-size: 12.5px; color: #667085; }
.com-resumo { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #475467; }
.com-det { max-width: 860px; padding: 24px 28px; }
.com-det .meta { font-size: 12.5px; color: #667085; }
.com-det h1 { margin: 4px 0 16px; font-size: 24px; line-height: 1.3; }
.com-html img { max-width: 100%; height: auto; }
.com-arqs { margin-top: 20px; padding-top: 14px; border-top: 1px solid #F2F4F7; }
.com-ciencia { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 14px 16px; border: 1px solid #FEC84B; border-radius: 10px; background: #FFFAEB; font-size: 14px; color: #7A4D00; }
.com-ciencia.ok { border-color: #A6E3C4; background: #E7F6EF; color: #08694A; }
@media (max-width: 1100px) { .circ-pag { grid-template-columns: 1fr; } }
@media (max-width: 759px) {
  .com-det { padding: 18px 16px; }
  .com-det h1 { font-size: 20px; }
  .com-ciencia .btn { width: 100%; justify-content: center; }
  .circ-acoes .btn-linha { flex: 1 1 auto; }
}
.circ-lembrete-nota { margin: -10px 0 14px; }
.circ-tb td:not(:first-child) { white-space: nowrap; font-size: 13.5px; }
.circ-tb td:first-child { min-width: 220px; }

/* ===================== v48: vencimentos dos clientes ===================== */
.venc-cli { color: #0B5F57; font-weight: 600; }
.venc-tb td:nth-child(3) { white-space: nowrap; }
.venc-tb td:first-child { min-width: 240px; }
.venc-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; padding: 10px 12px; border: 1px solid #E4E7EC; border-radius: 8px; background: #F9FAFB; font-size: 14px; line-height: 1.45; }
.venc-acoes { flex-wrap: wrap; gap: 8px; }
.venc-acoes .venc-esp { flex: 1 1 auto; }
.venc-hist { max-height: 220px; overflow-y: auto; }
.venc-rots { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.venc-mini { display: flex; flex-direction: column; gap: 4px; }
.venc-mini-l { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid #E4E7EC; border-radius: 8px; background: #FFFFFF; font: inherit; font-size: 13.5px; color: #1C1F24; text-align: left; cursor: pointer; }
.venc-mini-l:hover { background: #F9FAFB; }
.venc-mini-l .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.venc-card .venc-topo { margin-bottom: 10px; }
.venc-ren-l { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.venc-ren-l input[type=date] { max-width: 170px; }
.venc-ren-l input:not([type]) { flex: 1 1 200px; }
.venc-cli-lista { display: flex; flex-direction: column; }
.venc-cli-l { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #EAECF0; }
.venc-cli-l:last-child { border-bottom: 0; }
.venc-cli-l .meta { font-size: 13px; color: #667085; margin-top: 2px; }
.venc-cli-d { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.venc-cli-d small { font-size: 12px; color: #667085; }
.rot-it.venc { border-left-style: dashed; border-color: #0E9384; background: #E6F7F5; color: #0B5F57; text-decoration: none; }
.rot-it.venc.sit-verde, .rot-it.venc.sit-cinza { border-color: #0E9384; background: #E6F7F5; color: #0B5F57; text-decoration: none; }
.rot-it.venc.sit-verm { border-color: #B42318; background: #FEF3F2; color: #912018; }
.rot-it.venc.sit-ambar { border-color: #F59E0B; background: #FFFAEB; color: #7A4D00; }
.rot-legenda .venc::before { background: #0E9384; }
@media (max-width: 760px) {
  .venc-mini-l { grid-template-columns: 1fr auto; }
  .venc-mini-l .mono { display: none; }
  .venc-cli-l { flex-direction: column; align-items: flex-start; }
  .venc-cli-d { align-items: flex-start; text-align: left; }
  .venc-acoes .venc-esp { display: none; }
}

/* ===== v49: indicadores dos clientes (preenchimento mensal) e conexões de dados ===== */
.ind-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.ind-barra .input { margin: 0; width: auto; }
.ind-sel-modelo { min-width: 260px; max-width: 100%; }
.ind-mes { display: inline-flex; align-items: center; gap: 6px; }
.ind-mes-nome { min-width: 150px; text-align: center; font-size: 15px; font-weight: 600; color: #1C1F24; }
.ind-mes .input.ind-mes-ir { width: 44px; padding: 0 8px; color: transparent; cursor: pointer; }
.ind-mes .input.ind-mes-ir::-webkit-datetime-edit { display: none; }
.ind-nw { white-space: nowrap; }
.ind-mes b { min-width: 52px; text-align: center; font-size: 16px; }
.ind-mes .btn-linha.sm { min-width: 34px; font-size: 16px; }
.ind-salvo { font-size: 12.5px; color: #667085; }
.ind-salvo.ok { color: #08694A; }
.ind-salvo.erro { color: #B42318; font-weight: 600; }
.ind-acoes-adm { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.ind-barra > .btn-linha.sm:last-child { margin-left: auto; }
.ind-info { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: #475467; }
.ind-conta { color: #667085; }
.ind-sec { margin-bottom: 16px; overflow: hidden; }
.ind-sec-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 16px 6px; }
.ind-sec-cab h2 { margin: 0; font-size: 16px; font-weight: 600; color: #1C1F24; }
.ind-sec-n { font-size: 12px; color: #667085; white-space: nowrap; }
.ind-sec-ajuda { margin: 0 16px 8px; font-size: 12.5px; color: #667085; line-height: 1.45; }
table.ind-tb { border-collapse: collapse; width: 100%; font-size: 13.5px; table-layout: fixed; }
table.ind-tb th.ind-rot { width: 22%; }
table.ind-tb.poucas { max-width: 900px; }
table.ind-tb.poucas th.ind-rot { width: 50%; }
td.ind-c.ant, th.ind-c.ant { background: #FAFAFB; color: #98A2B3; }
table.ind-tb th.ind-c { white-space: normal; vertical-align: bottom; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
.ind-colnome { display: inline-block; text-align: right; overflow-wrap: anywhere; }
.ind-colnome small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .05em; color: #98A2B3; }
.ind-colnome b { display: block; font-weight: 700; color: #475467; }
.ind-topo { position: sticky; top: 0; z-index: 6; margin: 0 -24px 6px; padding: 10px 24px 2px; background: #F6F7F9; border-bottom: 1px solid #E4E7EC; }
.ind-topo .ind-barra { margin-bottom: 8px; }
.ind-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.ind-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid #D0D5DD; border-radius: 999px; background: #FFFFFF; color: #344054; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ind-chip:hover { border-color: #0B3D7B; }
.ind-chip .n { font-size: 11.5px; font-weight: 600; color: #98A2B3; font-family: "IBM Plex Mono", monospace; }
.ind-chip.parcial .n { color: #B54708; }
.ind-chip.ok .n { color: #08694A; font-family: inherit; font-size: 13px; }
.ind-chip.ativo { background: #0B3D7B; border-color: #0B3D7B; color: #FFFFFF; }
.ind-chip.ativo .n { color: #C7D7F0; }
.ind-chip.todas { border-style: dashed; color: #475467; }
.ind-chip.todas.ativo { border-style: solid; color: #FFFFFF; }
.ind-rev { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; font-size: 13px; font-weight: 600; color: #475467; }
.ind-rev .input { margin: 0; width: auto; max-width: 260px; height: 36px; }
.ind-pag { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 24px; }
.ind-pag-n { font-size: 13px; color: #667085; }
table.ind-ano th.ind-rot { width: 300px; }
table.ind-tb th { padding: 8px 10px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #667085; font-weight: 600; background: #FBFCFD; border-top: 1px solid #EAECF0; border-bottom: 1px solid #E4E7EC; white-space: nowrap; }
table.ind-tb td { padding: 3px 6px; border-bottom: 1px solid #F2F4F7; vertical-align: middle; }
table.ind-tb .ind-rot { text-align: left; min-width: 260px; max-width: 420px; padding-left: 16px; color: #344054; position: sticky; left: 0; background: #FFFFFF; z-index: 1; }
table.ind-tb thead .ind-rot { background: #FBFCFD; }
.ind-rot .t { line-height: 1.35; }
.ind-unid, .ind-calc-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; font-size: 10.5px; font-weight: 600; background: #F2F4F7; color: #475467; vertical-align: 1px; }
.ind-calc-tag { background: #EBF1FB; color: #0B3D7B; font-weight: 500; }
.ind-ajuda { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; background: #EAECF0; color: #475467; font-size: 10.5px; font-weight: 700; cursor: help; vertical-align: 1px; }
table.ind-tb th.ind-c, table.ind-tb td.ind-c { text-align: right; min-width: 120px; }
td.ind-c.ro, td.ind-c.calc, td.ind-c.tot { padding: 8px 12px; font-family: "IBM Plex Mono", monospace; font-size: 13px; color: #344054; }
td.ind-c.calc { background: #F8FAFF; color: #0B3D7B; }
td.ind-c.tot, th.ind-c.tot { background: #F9FAFB; font-weight: 600; }
th.ind-c.fora, table.ind-ano td.ind-c.fora { color: #C0C5CF; }
.ind-in { width: 100%; height: 34px; padding: 0 8px; border: 1px solid #E4E7EC; border-radius: 4px; background: #FFFFFF; font: 13px "IBM Plex Mono", monospace; color: #1C1F24; text-align: right; }
.ind-in.txt { text-align: left; font-family: inherit; }
.ind-in:hover { border-color: #98A2B3; }
.ind-in:focus { outline: none; border-color: #0B3D7B; box-shadow: 0 0 0 3px rgba(11,61,123,.12); }
.ind-in::placeholder { color: #B5BBC6; }
.ind-in.erro { border-color: #F04438; background: #FEF3F2; }
table.ind-ano td.ind-c, table.ind-ano th.ind-c { min-width: 86px; }
tr.ind-sec-l td { padding: 10px 16px 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #0B3D7B; background: #FBFCFE; position: sticky; left: 0; }
tr.ind-sec-l small { text-transform: none; font-weight: 500; color: #667085; letter-spacing: 0; }
.ind-m-nome { color: #1C1F24; }
small.ind-m-desc { display: block; margin-top: 2px; font-size: 12px; color: #667085; }
.ind-hist small { display: block; font-size: 11.5px; color: #98A2B3; }
.ind-base { display: grid; gap: 8px; margin-bottom: 16px; }
.ind-base-op { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #E4E7EC; border-radius: 8px; cursor: pointer; }
.ind-base-op:has(input:checked) { border-color: #0B3D7B; background: #F5F8FD; }
.ind-base-op input { margin-top: 3px; }
.ind-base-op span { flex: 1; min-width: 0; }
.ind-base-op small { display: block; margin-top: 2px; font-size: 12.5px; color: #667085; line-height: 1.4; }
/* v64.1: apagar agendamento do Apollo (só os resultados ou o agendamento inteiro) */
.apo-apagar-ops { display: grid; gap: 8px; margin: 14px 0 6px; }
.apo-apagar-perigo:has(input:checked) { border-color: #B42318; background: #FEF3F2; }
#apo-apagar-conf { margin-top: 10px; }
#apo-apagar-conf .campo b { font-weight: 700; color: #B42318; }
.ind-ed-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ind-ed-cab h2 { margin: 0 0 2px; font-size: 20px; font-weight: 600; }
.ind-ed-dados { padding: 18px 18px 4px; margin-bottom: 14px; }
.ind-ed-sw { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.ind-ed-dica { margin: 0 0 14px; font-size: 13px; color: #475467; }
.ind-ed-dica summary { cursor: pointer; font-weight: 600; color: #0B3D7B; }
.ind-ed-dica ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.55; }
.ind-ed-sec { padding: 14px 14px 12px; margin-bottom: 14px; }
.ind-ed-sec-cab { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.ind-ed-sec-cab .input { margin: 0; }
.ind-ed-sec-nome { flex: 1 1 260px; font-weight: 600; }
.ind-ed-sec-cab select { width: auto; flex: 0 0 auto; }
.ind-ed-sec > .input.h36 { margin-bottom: 10px; }
.input.h36 { height: 36px; padding: 0 9px; font-size: 13.5px; }
table.ind-ed-tb { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
table.ind-ed-tb th { padding: 4px 6px; text-align: left; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #667085; font-weight: 600; white-space: nowrap; }
table.ind-ed-tb td { padding: 3px 4px; vertical-align: middle; }
table.ind-ed-tb .input { margin: 0; }
table.ind-ed-tb td:nth-child(1) { min-width: 300px; }
table.ind-ed-tb td:nth-child(2) { min-width: 170px; }
table.ind-ed-tb td:nth-child(3) { min-width: 150px; }
table.ind-ed-tb td:nth-child(4) { width: 70px; }
table.ind-ed-tb td:nth-child(5) { min-width: 200px; }
table.ind-ed-tb td:nth-child(6) { min-width: 110px; }
table.ind-ed-tb td:nth-child(7) { min-width: 140px; }
.ind-ed-ac { white-space: nowrap; }
.ind-ed-ac .link-mini { margin: 0 3px; font-size: 13px; }
.ind-ed-ac .link-mini[disabled] { color: #D0D5DD; cursor: default; }
.ind-ed-ac .pill { margin-left: 4px; }
.ind-ed-rodape { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, #F5F7FA 30%); z-index: 2; }
.ind-esp { flex: 1; }
.ind-ed-con-acao { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.ind-marcas { margin-bottom: 14px; font-size: 14px; }
.ind-todas { display: inline-flex; gap: 6px; align-items: center; margin-right: 18px; cursor: pointer; }
.ind-marcas-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 12px; margin-top: 8px; padding: 10px 12px; border: 1px solid #EAECF0; border-radius: 8px; }
.ind-marcas-l label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.ind-con-ac { white-space: nowrap; }
.ind-url-l { margin-bottom: 10px; }
.ind-url-l label small { font-weight: 400; color: #667085; }
.ind-url { display: flex; gap: 8px; }
.ind-url .input { margin: 0; font-size: 12.5px; }
.ind-det { margin: 8px 0 12px; font-size: 13.5px; }
.ind-det summary { cursor: pointer; font-weight: 600; color: #0B3D7B; margin-bottom: 8px; }
.ind-h3 { margin: 16px 0 6px; font-size: 15px; }
.ind-passos { margin: 0 0 10px; padding-left: 20px; font-size: 13.5px; line-height: 1.55; color: #344054; }
.ind-pre { margin: 6px 0; padding: 10px 12px; background: #F2F4F7; border-radius: 6px; font: 12px "IBM Plex Mono", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .ind-sel-modelo { min-width: 0; width: 100% !important; }
  .ind-acoes-adm { margin-left: 0; }
  table.ind-tb .ind-rot { padding-left: 10px; font-size: 12.5px; }
  table.ind-tb th.ind-rot, table.ind-ano th.ind-rot { width: 180px; }
  table.ind-tb.poucas th.ind-rot { width: 44%; }
  .ind-topo { position: static; margin: 0 0 6px; padding: 0; border: 0; background: none; }
  .ind-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .ind-rev { width: 100%; }
  .ind-rev .input { max-width: none; flex: 1; }
  .ind-pag .btn, .ind-pag .btn-linha { max-width: 45%; overflow: hidden; text-overflow: ellipsis; }
  table.ind-tb th.ind-c, table.ind-tb td.ind-c { min-width: 100px; }
  .ind-url { flex-direction: column; }
}

/* v51: importar números dos indicadores (administrador) */
.ind-imp-txt { font-size: 13.5px; line-height: 1.55; color: #344054; margin: 0 0 10px; }
.ind-imp-txt code, .ind-imp-res code { font-size: 12px; background: #F2F4F7; padding: 1px 5px; border-radius: 4px; }
.ind-imp-esc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 4px; }
.ind-imp-arq { font-size: 13.5px; font-weight: 600; color: #101828; overflow-wrap: anywhere; }
.ind-imp-arq.vazio-txt { font-weight: 400; color: #667085; }
.ind-imp-res { margin-top: 16px; padding-top: 14px; border-top: 1px solid #EAECF0; }
.ind-imp-ok { font-size: 14px; line-height: 1.55; color: #05603A; background: #ECFDF3; border: 1px solid #ABEFC6; border-radius: 8px; padding: 12px 14px; margin: 0 0 12px; }
.ind-imp-bloco { margin: 6px 0 14px; }
.ind-imp-bloco .h3-form { margin: 0 0 4px; }
.ind-imp-rev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid #F2F4F7; }
.ind-imp-rev small { color: #667085; font-size: 12px; margin-left: 4px; }
.ind-imp-tab { margin: 4px 0 12px; max-height: 230px; overflow: auto; }
.ind-imp-tab .tb, .ind-imp-lista .tb { min-width: 0; width: 100%; font-size: 13px; }
.ind-imp-tab .tb th, .ind-imp-tab .tb td, .ind-imp-lista .tb th, .ind-imp-lista .tb td { padding: 6px 10px; }
.ind-imp-tab .num, .ind-imp-lista .num { text-align: right; }
.ind-imp-lista { max-height: 240px; overflow: auto; margin-top: 8px; }
@media (max-width: 640px) { .ind-imp-rev { grid-template-columns: 1fr; gap: 4px; } }

/* v52: conexão com todas as linhas (mesmo sem número) */
.ind-con-nota { font-size: 12.5px; line-height: 1.5; color: #667085; margin: 6px 0 4px; }

/* ---------- Consultas do Apollo (v54) ---------- */
.apo-console .apo-linha1 { grid-template-columns: minmax(0, 3fr) minmax(210px, 1fr); }
.apo-sql { width: 100%; min-height: 200px; padding: 10px 12px; font-size: 13px; line-height: 1.5; resize: vertical; tab-size: 4; }
.apo-conf { font-size: 12px; color: #667085; margin: 6px 0 2px; line-height: 1.45; }
.apo-conf.erro { color: #B42318; font-weight: 600; }
.apo-estado { font-size: 12.5px; color: #475467; margin: 2px 0 12px; line-height: 1.5; }
.apo-ponto { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: #98A2B3; vertical-align: 1px; }
.apo-ponto.ok { background: #12B76A; } .apo-ponto.off { background: #F04438; }
.apo-ex { margin-top: 16px; }
.apo-ex-cab { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.apo-ex-quem { font-size: 13px; color: #344054; }
.apo-ex-cab small { margin-left: auto; color: #98A2B3; font-size: 11px; }
.apo-andamento { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; font-size: 13px; color: #0B3D7B; background: #F2F7FD; border: 1px solid #D6E4F5; border-radius: 8px; }
.apo-giro { flex: none; width: 14px; height: 14px; border: 2px solid #D6E4F5; border-top-color: #0B3D7B; border-radius: 50%; animation: apo-giro .9s linear infinite; }
@keyframes apo-giro { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .apo-giro { animation: none; } }
.apo-ex .aviso-vermelho, .apo-ex .aviso-amarelo { margin: 12px 0 0; }
.apo-ex-acoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.apo-meta { font-size: 13px; color: #475467; }
.apo-bts { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.apo-tab { margin-top: 12px; max-height: 520px; overflow: auto; border: 1px solid #EAECF0; border-radius: 8px; }
.apo-tab table { font-size: 12.5px; }
.apo-tab th { position: sticky; top: 0; z-index: 1; background: #F9FAFB; white-space: nowrap; }
.apo-tab td { white-space: nowrap; max-width: 380px; overflow: hidden; text-overflow: ellipsis; }
.apo-n { color: #98A2B3; text-align: right; font-variant-numeric: tabular-nums; }
.apo-num { display: block; text-align: right; font-variant-numeric: tabular-nums; }
.apo-pag { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; color: #475467; }
.apo-dias { display: flex; flex-wrap: wrap; gap: 6px; }
.apo-dia { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid #D0D5DD; border-radius: 6px; font-size: 13px; color: #344054; cursor: pointer; }
.apo-dia input { margin: 0; }
.apo-ag-bancos { max-height: 190px; overflow: auto; padding: 4px 10px 10px; border: 1px solid #EAECF0; border-radius: 8px; }
.apo-res-l { cursor: pointer; }
.apo-res-l:hover td { background: #F9FAFB; }
.apo-acoes-td { white-space: nowrap; text-align: right; }
.apo-sql-det { margin-top: 12px; font-size: 13px; color: #475467; }
.apo-sql-det pre { margin: 8px 0 0; padding: 10px; white-space: pre-wrap; font-size: 12px; background: #F9FAFB; border: 1px solid #EAECF0; border-radius: 8px; }
.cp-adm .tb td { vertical-align: top; }
.cp-adm .sel-mini { max-width: 230px; }
@media (max-width: 720px) {
  .apo-console .apo-linha1 { grid-template-columns: 1fr; }
  .apo-bts { margin-left: 0; }
  .apo-ex-cab small { margin-left: 0; }
}
.cp-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.cp-quem { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 6px; } .cp-quem .check-linha { margin: 0; }
.cp-adm { margin-top: 18px; }

/* v55.0.1: marcadores do mês nas Consultas do Apollo (um clique põe no SQL) */
.apo-marc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 4px; }
.apo-marc-r { font-size: 12px; font-weight: 700; color: #344054; margin-right: 2px; }
.apo-marc-b { height: 26px; padding: 0 9px; border: 1px solid #D0D5DD; border-radius: 6px; background: #FFFFFF; color: #0B3D7B; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; cursor: pointer; }
.apo-marc-b:hover { border-color: #0B3D7B; background: #F2F7FD; }
.apo-marc-d { flex-basis: 100%; font-size: 12px; color: #667085; line-height: 1.45; }

/* v56: coleta do ano na lista dos agendamentos */
.apo-ano { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.apo-ano .apo-giro { width: 10px; height: 10px; border-width: 2px; }

/* v57.1: relatórios MicroWork (aba das Consultas e relatórios) */
.mw-lista { padding-top: 4px; padding-bottom: 4px; }
.mw-item { padding: 12px 0; border-bottom: 1px solid #F2F4F7; }
.mw-item:last-child { border-bottom: 0; }
.mw-item.sel { margin: 0 -12px; padding: 12px; background: #F8FAFD; border: 1px solid #D6E4F5; border-radius: 8px; }
.mw-item.sel + .mw-item { border-top: 0; }
.mw-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mw-t { min-width: 0; font-size: 14px; line-height: 1.45; color: #1C1F24; }
.mw-t small { font-size: 11.5px; color: #98A2B3; }
.mw-d { display: block; font-size: 13px; color: #475467; }
.mw-m { display: block; font-size: 12px; color: #667085; }
.mw-bts { display: flex; gap: 8px; flex: none; }
.mw-bts .btn.sm { height: 32px; padding: 0 14px; font-size: 13px; }
.mw-form { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #D6E4F5; }
.mw-per { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #344054; }
.mw-per span { margin-right: 4px; }
@media (max-width: 640px) {
  .mw-cab { flex-direction: column; }
  .mw-item.sel { margin: 0 -8px; padding: 10px 8px; }
}
/* v58: as duas partes da aba MicroWork (relatórios publicados e corpo do F12) e o resumo do corpo colado */
.mw-modo { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; padding: 3px; border: 1px solid #E4E7EC; border-radius: 10px; background: #F9FAFB; }
.mw-modo button { padding: 7px 14px; border: 0; border-radius: 7px; background: transparent; color: #475467; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.mw-modo button.ativo { background: #FFFFFF; color: #0B3D7B; font-weight: 600; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.mw-res { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #F4F8FD; font-size: 13px; line-height: 1.5; color: #344054; }
.mw-enc .aviso-amarelo { margin-top: 0; }
/* v58: Rodar agora com espera (usuários da equipe) */
.rd-lista { padding-top: 4px; padding-bottom: 4px; }
.rd-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid #F2F4F7; }
.rd-item:last-child { border-bottom: 0; }
.rd-t { min-width: 0; font-size: 14px; line-height: 1.5; color: #1C1F24; }
.rd-t small { display: block; font-size: 12.5px; color: #667085; }
.rd-b { flex: none; text-align: right; }
.rd-espera { display: block; margin-top: 4px; font-size: 12px; color: #667085; }
.rd-espera b { font-variant-numeric: tabular-nums; color: #344054; }
@media (max-width: 640px) {
  .rd-item { flex-direction: column; align-items: stretch; }
  .rd-b { text-align: left; }
}

/* v57: formulário com tabela (várias linhas) */
.tab-form { margin: 0 0 14px; }
.tab-form .rolagem { border: 1px solid #E4E7EC; border-radius: 8px; background: #FFFFFF; }
table.tab-grade { width: 100%; border-collapse: collapse; min-width: 640px; }
table.tab-grade th { text-align: left; padding: 8px 6px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #667085; font-weight: 600; background: #FBFCFD; border-bottom: 1px solid #E4E7EC; white-space: nowrap; }
table.tab-grade td { padding: 4px 3px; border-bottom: 1px solid #F2F4F7; vertical-align: middle; }
table.tab-grade tr:last-child td { border-bottom: 0; }
.form-categoria table.tab-grade .input, table.tab-grade .input { height: 34px; margin: 0; padding: 0 8px; font-size: 13px; border-color: #E4E7EC; min-width: 90px; }
table.tab-grade .input:focus { border-color: #00A3E8; }
table.tab-grade .tab-texto { min-width: 140px; }
table.tab-grade .tab-lista { min-width: 200px; padding-right: 4px; }
table.tab-grade .tab-moeda, table.tab-grade .tab-numero { min-width: 100px; text-align: right; font-variant-numeric: tabular-nums; }
table.tab-grade .tab-percentual { min-width: 70px; text-align: right; font-variant-numeric: tabular-nums; }
table.tab-grade .tab-data { min-width: 104px; }
table.tab-grade .input.tab-ruim { border-color: #F04438; background: #FEF3F2; }
.tab-n { width: 30px; text-align: center; color: #98A2B3; font-size: 12px; }
.tab-acoes { white-space: nowrap; padding-right: 8px !important; }
.tab-acoes .link-mini { margin-left: 8px; }
.tab-acoes .link-mini.perigo { color: #B42318; font-size: 16px; line-height: 1; }
.tab-rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; font-size: 12px; color: #667085; }
.tab-dica { flex: 1 1 260px; }
.tab-resumo { color: #344054; }
.tab-aviso { display: block; margin-top: 4px; padding: 6px 10px; border: 1px solid #FEC84B; background: #FFFAEB; border-radius: 6px; color: #7A4D00; }
.tab-ver-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.tab-ver-n { font-size: 12px; font-weight: 500; color: #667085; margin-left: 6px; }
.tab-ver-ac { display: inline-flex; gap: 8px; }
table.tab-tb th { padding: 8px 10px; font-size: 11px; }
table.tab-tb td { padding: 8px 10px; font-size: 13px; white-space: nowrap; }
table.tab-tb tfoot td { border-top: 1px solid #E4E7EC; color: #1C1F24; }
.tab-aviso-ver { margin: 12px 0 0; }
.tab-ver { margin-bottom: 18px; }
.cc-tab { grid-column: 1 / -1; margin: 2px 0 0 14px; padding: 10px 12px; border-left: 3px solid #B2DDFF; background: #F8FBFF; border-radius: 0 8px 8px 0; }
.cc-tab-cab { font-size: 13px; font-weight: 600; color: #344054; margin-bottom: 8px; }
.cc-tab-cab small { font-weight: 400; color: #667085; margin-left: 6px; }
.cc-col { display: grid; grid-template-columns: 18px minmax(0, 1fr) 140px auto auto; gap: 6px; align-items: center; margin-bottom: 8px; }
.cc-col .input { margin: 0; height: 34px; font-size: 13px; }
.cc-col .cc-opcoes { grid-column: 2 / -1; }
.cc-col-n { font-size: 12px; color: #98A2B3; text-align: center; }
.cc-col-ac { display: inline-flex; gap: 8px; }
.cc-col-ac .link-mini[disabled] { color: #D0D5DD; cursor: default; text-decoration: none; }
.cc-regra { display: flex; margin-top: 10px; white-space: normal; }
.cc-grupo { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0 22px; font-size: 13px; color: #475467; }
.cc-grupo small { flex-basis: 100%; color: #667085; }
.cc-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 759px) { .cc-col { grid-template-columns: 18px 1fr 1fr; } .cc-col .cc-obr, .cc-col-ac { grid-column: 2 / -1; } .cc-tab { margin-left: 0; } }
.grid-novo.com-tabela { grid-template-columns: minmax(0, 1fr); }   /* v57: formulário com tabela na largura toda; o quadro da prioridade vem embaixo */

/* v61: Consultas e relatórios › Uso */
.uso-tit { font-size: 15px; margin: 22px 0 10px; }
.uso-barra { display: inline-block; height: 8px; min-width: 2px; background: #0B3D7B; opacity: .35; border-radius: 4px; vertical-align: middle; margin-right: 8px; }
.uso-zero td { color: #98A2B3; }
.tag-mini { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 6px; background: #FEF0C7; color: #93370D; vertical-align: 1px; }

/* v62: importar relatórios e layouts de relatório */
.modal.ind-rel-modal { max-width: 1060px; }
.ind-rel-arqs { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; gap: 4px; }
.ind-rel-arqs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 10px; background: #F9FAFB; border: 1px solid #EAECF0; border-radius: 8px; font-size: 13px; overflow-wrap: anywhere; }
.ind-rel-arqs small { color: #667085; margin-left: 6px; }
.ind-rel-arqs li > span { min-width: 0; }
.ind-rel-arqs li .link-mini { flex: none; white-space: nowrap; }
.ind-rel-lei { margin: 12px 0; padding: 12px 14px; border: 1px solid #EAECF0; border-radius: 10px; background: #fff; }
.ind-rel-lei.ignorada { opacity: .6; background: #F9FAFB; }
.ind-rel-lei.ind-rel-nao { border-color: #FEC84B; background: #FFFAEB; }
.ind-rel-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ind-rel-cab b { font-size: 14.5px; color: #101828; }
.sub-mini { display: block; margin-top: 2px; font-size: 12px; color: #667085; overflow-wrap: anywhere; }
.ind-rel-ign { margin-top: 0; white-space: nowrap; }
.ind-rel-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 14px; margin: 10px 0 6px; }
.ind-rel-campos label { display: grid; gap: 4px; font-size: 12px; color: #475467; min-width: 0; }
.ind-rel-campos label > span { font-weight: 600; }
.ind-rel-campos small { font-size: 11.5px; color: #667085; overflow-wrap: anywhere; }
.ind-rel-campos small.ind-rel-falta { color: #B42318; font-weight: 600; }
.ind-rel-aguarde { margin: 14px 0 0; padding: 8px 12px; background: #EFF8FF; border: 1px solid #B2DDFF; border-radius: 8px; color: #175CD3; font-weight: 600; }
.ind-rel-resumo { margin: 6px 0 4px; font-size: 13px; color: #344054; }
.ind-rel-resumo .pill { margin-left: 4px; }
.ind-rel-aviso { color: #7A4D00; background: #FFFAEB; border-radius: 6px; padding: 6px 10px; }
.ind-rel-lista { max-height: 360px; }
.ind-rel-tab td small { display: block; font-size: 11.5px; color: #667085; }
.ind-rel-tab small.ind-rel-como { max-width: 560px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #98A2B3; }
.ind-rel-tab tr.ind-rel-aprox td { background: #FFFAEB; }
.ind-rel-tab tr.ind-rel-aprox small.ind-rel-como { color: #93370D; }
.ind-rel-vale .mono { font-weight: 700; }
.ind-rel-faltou { margin: 0; padding-left: 18px; font-size: 12.5px; color: #475467; }
.ind-rel-faltou small { color: #98A2B3; }
.ind-rel-criar { align-items: flex-start; }
.ind-rel-criar input { margin-top: 3px; }
.ind-lay-json { width: 100%; min-height: 360px; font-size: 12px; line-height: 1.45; white-space: pre; tab-size: 4; resize: vertical; }
.ind-lay-teste { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 10px 0 4px; }
.ind-lay-teste label { display: grid; gap: 4px; font-size: 12px; color: #475467; min-width: 240px; flex: 1 1 260px; }
.ind-lay-intro { padding: 16px 20px 6px; margin: 0; }
.ind-lay-acoes { white-space: nowrap; }
.ind-lay-acoes .link-mini + .link-mini { margin-left: 12px; }
.ind-lay-cat { max-height: 240px; }
.ind-lay-cat code { display: inline-block; margin: 0 4px 4px 0; }
.ind-lay-ajuda ul { margin: 0; padding-left: 18px; }
.ind-lay-ajuda li { margin-bottom: 6px; }
.ind-lay-erro { white-space: pre-wrap; }
@media (max-width: 640px) {
  .ind-rel-cab { flex-direction: column; }
  .ind-lay-acoes { white-space: normal; }
  .ind-lay-acoes .link-mini { display: inline-block; margin: 0 12px 6px 0; }
  .ind-lay-acoes .link-mini + .link-mini { margin-left: 0; }
}

/* v63: separar os relatórios do modelo do cliente */
.ind-separar { margin: 10px 0 12px; }
.ind-separar b:not(.t) { display: inline; margin: 0; }
.ind-separar-ac { margin-top: 10px; }
.ind-sep-lista { list-style: none; margin: 8px 0 14px; padding: 0; border: 1px solid #E4E7EC; border-radius: 8px; }
.ind-sep-lista li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; font-size: 13px; line-height: 1.4; border-top: 1px solid #F2F4F7; }
.ind-sep-lista li:first-child { border-top: 0; }
.ind-sep-lista li .mono { white-space: nowrap; color: #475467; }
.ind-sep-nota { margin: 12px 0 0; font-size: 12.5px; color: #475467; line-height: 1.5; }
