/* Controladoria: checklist diário e compras (mesmo visual Tiflux do portal) */
.ct-card{border-radius:6px!important;box-shadow:none!important;border:1px solid #e4e7ec!important;margin-bottom:16px}
.ct-card-h{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #eef0f3}
.ct-card-h h3{margin:0;font-size:16px;font-weight:600;color:#1f2937}
.ct-erro{color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:4px;padding:9px 12px;margin:0;font-size:14px}
.ct-banner{background:#ecfdf3;border:1px solid #abefc6;color:#067647;border-radius:4px;padding:9px 12px;font-size:14px;margin:0 18px 14px}
.tf-dr-body .ct-banner{margin:0}
.ct-banner.red{background:#fef3f2;border-color:#fecdca;color:#b42318}

/* dias */
.ct-dias{display:flex;gap:8px;margin-bottom:14px;overflow-x:auto;padding-bottom:2px}
.ct-dia{display:grid;gap:1px;justify-items:center;min-width:92px;padding:8px 10px;border:1px solid #e4e7ec;border-radius:6px;background:#fff;cursor:pointer;font:inherit;color:#2b3442}
.ct-dia small{font-size:12px;color:#667085;text-transform:capitalize}
.ct-dia b{font-size:15px;font-weight:600}
.ct-dia i{font-style:normal;font-size:11.5px;color:#c2410c}
.ct-dia.ok i{color:#16a34a}
.ct-dia.on{border-color:var(--teal);box-shadow:inset 0 0 0 1px var(--teal);background:#f0fbfa}

/* passos */
.ct-steps{display:flex;border-bottom:1px solid #eef0f3;padding:0 10px;overflow-x:auto}
.ct-step{display:flex;align-items:center;gap:8px;padding:14px 12px;border:0;background:none;font:inherit;font-size:14.5px;color:#667085;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.ct-step span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f2f4f7;color:#475467;font-size:12px;font-weight:600}
.ct-step span svg{width:13px;height:13px}
.ct-step.on{color:var(--teal);border-bottom-color:var(--teal)}
.ct-step.on span{background:var(--teal);color:#fff}
.ct-step.done span{background:#dcfae6;color:#16a34a}
.ct-corpo{padding:20px 22px;display:grid;gap:22px}
.ct-semmov{justify-self:start;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:4px;border:1px dashed #98a2b3;background:#f9fafb;color:#344054;font:inherit;font-size:14px;cursor:pointer}
.ct-semmov svg{width:15px;height:15px}
.ct-semmov:hover{border-color:var(--teal);color:var(--teal)}
.ct-q h3{margin:0 0 12px;font-size:17px;font-weight:500;color:#1f2937}
.ct-sn{display:grid;grid-template-columns:repeat(2,minmax(0,180px));gap:12px}
.ct-sn-b{display:flex;align-items:center;justify-content:center;gap:8px;height:58px;border:1.5px solid #d0d5dd;border-radius:6px;background:#fff;font:inherit;font-size:16px;font-weight:500;color:#344054;cursor:pointer}
.ct-sn-b svg{width:18px;height:18px}
.ct-sn-b:hover{border-color:#98a2b3}
.ct-sn-b.nao.on{border-color:#475467;background:#f2f4f7;color:#1f2937}
.ct-sn-b.sim.on{border-color:var(--teal);background:#f0fbfa;color:var(--teal-d)}
.ct-itens{display:grid;gap:12px;margin-top:14px}
.ct-item{border:1px solid #e4e7ec;border-radius:6px;padding:12px 14px;background:#fcfcfd}
.ct-item-h{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.ct-item-h b{font-size:13.5px;font-weight:600;color:#475467}
.ct-dur{font-size:13px;color:var(--teal-d);background:#f0fbfa;border-radius:4px;padding:1px 7px}
.ct-rm{margin-left:auto;border:0;background:none;color:#98a2b3;cursor:pointer;padding:2px}
.ct-rm:hover{color:#d92d20}.ct-rm svg{width:16px;height:16px}
.ct-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.ct-f{display:grid;gap:5px;font-size:13.5px;color:#344054;font-weight:500;align-content:start}
.ct-f.wide{grid-column:1/-1}
.ct-grid .ct-f.wide{grid-column:span 2}
.ct-f i{color:#d92d20;font-style:normal}
.ct-f input,.ct-f select,.ct-f textarea{height:34px;border:1px solid #d0d5dd;border-radius:4px;padding:0 10px;font:inherit;font-size:14.5px;font-weight:400;color:#2b3442;background:#fff;width:100%;box-sizing:border-box}
.ct-f textarea{height:auto;padding:8px 10px;resize:vertical}
.ct-f input:focus,.ct-f select:focus,.ct-f textarea:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 3px rgba(15,157,154,.15)}
.ct-metros{display:flex;gap:4px}
.ct-metros input{flex:1;min-width:60px}
.ct-metros button{height:34px;padding:0 8px;border:1px solid #d0d5dd;border-radius:4px;background:#fff;font:inherit;font-size:13px;color:#344054;cursor:pointer}
.ct-metros button:hover{border-color:var(--teal);color:var(--teal)}
.ct-add{justify-self:start;display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:var(--teal);font:inherit;font-size:14px;cursor:pointer;padding:4px 0}
.ct-add svg{width:15px;height:15px}
.ct-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 22px;border-top:1px solid #eef0f3;background:#fcfcfd}
.ct-foot .tf-btn-teal[disabled]{opacity:.6;cursor:default}
.ct-rev-t{margin:0;font-size:17px;font-weight:500;color:#1f2937}

/* resumo */
.ct-resumo{display:grid;gap:10px;padding:0 18px 16px}
.ct-corpo .ct-resumo,.tf-dr-body .ct-resumo{padding:0}
.ct-resumo section{border:1px solid #eef0f3;border-radius:6px;padding:10px 14px}
.ct-resumo header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ct-resumo h4{margin:0;font-size:14.5px;font-weight:600;color:#1f2937}
.ct-resumo ul{margin:8px 0 0;padding-left:18px;display:grid;gap:4px;font-size:14px;color:#2b3442}
.ct-resumo li b{font-weight:500}
.ct-resumo li em{font-style:normal;color:#667085;margin-left:4px}
.ct-resumo li em::before{content:"· "}
.ct-ok-head{display:flex;align-items:center;gap:14px;padding:18px}
.ct-ok-ic{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#dcfae6;color:#16a34a;flex:none}
.ct-ok-ic svg{width:20px;height:20px}
.ct-ok-head h3{margin:0;font-size:17px;font-weight:500;color:#1f2937}
.ct-ok-head p{margin:2px 0 0;font-size:13.5px;color:#667085}
.ct-log{margin:0 18px 16px;font-size:13.5px;color:#475467}
.ct-log summary{cursor:pointer;color:var(--teal)}
.ct-log div{padding:4px 0;border-bottom:1px dashed #eef0f3}
.ct-log.open{margin:0;display:grid;gap:2px}

/* painel e compras */
.ct-tabs{display:flex;gap:4px;border-bottom:1px solid #e4e7ec;margin-bottom:14px;overflow-x:auto}
.ct-tabs button{border:0;background:none;padding:10px 14px;font:inherit;font-size:14.5px;color:#2b3442;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.ct-tabs button.on{color:var(--teal);border-bottom-color:var(--teal)}
.ct-tabs em{font-style:normal;font-size:12px;background:#f2f4f7;color:#475467;border-radius:99px;padding:1px 7px;margin-left:4px}
.ct-tabs button.on em{background:#e6f6f5;color:var(--teal-d)}
.ct-filtros{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.ct-rapidos{display:flex;gap:6px;padding-bottom:3px}
.ct-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.ct-kpi{background:#fff;border:1px solid #e4e7ec;border-radius:6px;padding:12px 14px;display:grid;gap:2px}
.ct-kpi b{font-size:22px;font-weight:400;color:#1f2937}
.ct-kpi b small{font-size:14px;color:#667085}
.ct-kpi span{font-size:13px;color:#667085}
.ct-kpi.warn b{color:#c2410c}
.ct-dia-bloco>header{display:flex;align-items:baseline;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #eef0f3}
.ct-dia-bloco h3{margin:0;font-size:15px!important;text-transform:capitalize}
.ct-tab{width:100%;border-collapse:collapse;font-size:14px}
.ct-tab th{text-align:left;font-weight:600;color:#1f2937;font-size:13.5px;padding:10px 14px;border-bottom:1px solid #e4e7ec;background:#fafbfc;white-space:nowrap}
.ct-tab td{padding:10px 14px;border-bottom:1px solid #f0f2f5;color:#2b3442;vertical-align:top}
.ct-tab td b{font-weight:500}
.ct-tab tr.project-row{cursor:pointer}
.ct-tab tr.project-row:hover td{background:#f7fbfb}
.ct-tab .nw{white-space:nowrap}
.ct-pend td{background:#fffcf5}
.ct-just{font-size:13px;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-cmp-grid{display:grid;grid-template-columns:minmax(320px,420px) minmax(0,1fr);gap:16px;align-items:start}
.ct-form-b{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px 18px}
.ct-form-b .wide{grid-column:1/-1}
.ct-seg{display:flex;border:1px solid #d0d5dd;border-radius:4px;overflow:hidden;width:max-content;max-width:100%}
.ct-seg button{border:0;border-right:1px solid #d0d5dd;background:#fff;padding:0 14px;height:34px;font:inherit;font-size:14px;color:#344054;cursor:pointer}
.ct-seg button:last-child{border-right:0}
.ct-seg button.on{background:var(--teal);color:#fff}
.ct-seg button.u-critica.on{background:#d92d20}
.ct-seg button.u-alta.on{background:#ea580c}
.ct-infos{display:grid;gap:10px}
.ct-info{display:grid;grid-template-columns:150px 1fr;gap:10px;font-size:14px}
.ct-info span{color:#667085}
.ct-info b{font-weight:400;color:#1f2937}
.ct-acoes{display:flex;gap:10px;flex-wrap:wrap}
.ct-req{color:#d92d20;font-style:normal}
.ct-tl{display:grid;gap:10px;border-top:1px solid #eef0f3;padding-top:14px}
.ct-tl>b{font-size:14.5px;font-weight:600;color:#1f2937}
.ct-tl-i{display:flex;gap:10px;font-size:14px;color:#2b3442}
.ct-tl-i>i{width:10px;height:10px;border-radius:50%;margin-top:5px;flex:none;background:#98a2b3}
.ct-tl-i>i.st-orange{background:#f97316}.ct-tl-i>i.st-blue{background:#2563eb}.ct-tl-i>i.st-purple{background:#7c3aed}.ct-tl-i>i.st-green{background:#16a34a}.ct-tl-i>i.st-red{background:#dc2626}
.ct-tl-i small{display:block;color:#98a2b3;font-size:12.5px}
.ct-cad-card{padding:6px 0 0}
.ct-cad{padding:12px 18px 16px;border-bottom:1px solid #eef0f3}
.ct-cad h4{margin:0;font-size:15px;font-weight:600;color:#1f2937}
.ct-cad p{margin:2px 0 10px;font-size:13.5px}
.ct-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.ct-chip{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 4px 0 10px;border:1px solid #d0d5dd;border-radius:99px;font-size:13.5px;color:#2b3442;background:#fff}
.ct-chip button{border:0;background:none;padding:2px;color:#98a2b3;cursor:pointer;display:grid}
.ct-chip button:hover{color:#d92d20}.ct-chip svg{width:13px;height:13px}
.ct-cad-add{display:flex;gap:8px;max-width:420px}
.ct-cad-add input{flex:1;height:34px;border:1px solid #d0d5dd;border-radius:4px;padding:0 10px;font:inherit;font-size:14.5px}
@media (max-width:900px){.ct-cmp-grid{grid-template-columns:1fr}.ct-sn{grid-template-columns:1fr 1fr}.ct-grid .ct-f.wide{grid-column:1/-1}.ct-info{grid-template-columns:1fr}}
.ct-cmp-grid .ct-tab td,.ct-cmp-grid .ct-tab th{padding:10px 10px}
.ct-cmp-grid .ct-just{max-width:260px}
.ct-dia i{min-height:14px}
.ct-fila-top{display:flex;align-items:flex-end;gap:12px;border-bottom:1px solid #e4e7ec;margin-bottom:14px}
.ct-fila-top .ct-tabs{border-bottom:0;margin-bottom:0;flex:1;min-width:0}
.ct-fila-top .tf-btn-teal{margin-bottom:6px;flex:none}
.ct-dr-novo .tf-dr-body{padding:0}
.ct-dr-novo .ct-form{border:0!important;margin:0}
.ct-dr-novo .ct-form .ct-card-h{display:none}
.ct-form-dr{display:flex;flex-direction:column;min-height:100%}
.ct-form-dr .ct-form-b{padding:16px 20px}
.ct-form-dr .ct-foot{margin-top:auto}
.ct-form-dr .ct-f{display:grid!important;font-size:13.5px!important;font-weight:500!important}

/* ---------- centro de comando ---------- */
.cc-topo{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px}
.cc-topo h3{margin:0 0 8px;font-size:18px;font-weight:500;color:#1f2937}
.cc-chips{display:flex;gap:6px;flex-wrap:wrap}
.cc-atalhos{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-bottom:16px}
.cc-atalhos button{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid #e4e7ec;border-radius:6px;padding:12px 16px;font:inherit;cursor:pointer;color:#475467}
.cc-atalhos button:hover{border-color:var(--teal)}
.cc-atalhos b{font-size:24px;font-weight:400;color:#1f2937;min-width:28px}
.cc-atalhos span{font-size:13.5px}
.cc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.cc-grid .ct-card{margin-bottom:0}
.cc-2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.cc-n{font-style:normal;font-size:12px;background:#fee4e2;color:#b42318;border-radius:99px;padding:1px 8px;margin-left:6px;vertical-align:2px}
.cc-body{display:grid;gap:8px;padding:12px 16px 16px}
.cc-ok{display:flex;align-items:center;gap:8px;margin:0;color:#067647;font-size:14px}
.cc-ok svg{width:16px;height:16px}
.cc-vazio{margin:4px 0;font-size:14px}
.cc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #eef0f3;border-radius:6px;padding:8px 10px}
.cc-row b{font-weight:500;font-size:14px;color:#1f2937}
.cc-row .tf-btn-o svg{width:14px;height:14px}
.cc-conta,.cc-pes,.cc-data{border:1px solid #eef0f3;border-radius:6px;padding:10px 12px;display:grid;gap:8px}
.cc-conta.atrasado{background:#fffbfa;border-color:#fecdca}.cc-conta.cobrar{background:#fffcf5;border-color:#fedf89}.cc-conta.lancar{background:#f5faff;border-color:#d1e9ff}
.cc-conta.inativa,.cc-pes.inativa{opacity:.6}
.cc-pes.perto{background:#faf5ff;border-color:#e9d7fe}
.cc-conta-h{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.cc-conta-h b,.cc-data b{font-weight:500;font-size:14.5px;color:#1f2937}
.cc-conta-h small,.cc-data small{display:block;font-size:12.5px;color:#667085;margin-top:2px}
.cc-conta-h small em,.cc-rot small em{font-style:normal;color:#b42318}
.cc-data small{display:inline;margin-left:6px}.cc-data small.cc-obs{display:block;margin:2px 0 0}
.cc-acts{display:flex;gap:6px;flex:none}
.cc-acts .tf-btn-o svg{width:14px;height:14px;margin:0}
.cc-step{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cc-step button{height:26px;padding:0 10px;border:1px solid #d0d5dd;background:#fff;border-radius:99px;font:inherit;font-size:12.5px;color:#667085;cursor:pointer}
.cc-step button.on.aguardando{background:#f2f4f7;color:#344054;border-color:#98a2b3}
.cc-step button.on.recebido{background:#eff8ff;color:#175cd3;border-color:#84caff}
.cc-step button.on.lancado{background:#ecfdf3;color:#067647;border-color:#75e0a7}
.cc-step .muted{font-size:12px}
.cc-rot{display:flex;align-items:flex-start;gap:10px;cursor:pointer;flex:1;min-width:0}
.cc-rot input{width:16px;height:16px;margin-top:3px;accent-color:var(--teal)}
.cc-rot b{display:block;font-weight:500;font-size:14.5px;color:#1f2937}
.cc-rot small{display:block;font-size:12.5px;color:#667085}
.cc-rot.feita b{text-decoration:line-through;color:#98a2b3}
.cc-rot-l{display:flex;align-items:center;gap:10px;border:1px solid #eef0f3;border-radius:6px;padding:10px 12px}
.cc-rot-l .tf-btn-o svg{width:14px;height:14px}
.cc-checks{display:flex;gap:6px;flex-wrap:wrap}
.cc-checks label{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid #d0d5dd;border-radius:99px;font-size:12.5px;color:#475467;cursor:pointer;background:#fff}
.cc-checks label.on{background:#ecfdf3;border-color:#75e0a7;color:#067647}
.cc-checks input{accent-color:var(--teal);margin:0}
.cc-erp-bar{display:flex;align-items:center;gap:16px;margin:-4px 0 12px;font-size:14px;color:#344054;flex-wrap:wrap}
.cc-erp-bar label{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.cc-erp-bar input{accent-color:var(--teal);width:16px;height:16px}
.cc-erp-td label{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#b54708;cursor:pointer}
.cc-erp-td label.on{color:#067647}
.cc-erp-td input{accent-color:#16a34a;width:15px;height:15px;margin:0}
.cc-ativo{display:flex!important;align-items:center;gap:8px;grid-template-columns:none!important;font-weight:400!important}
.cc-ativo input{width:16px!important;height:16px!important}
.cc-del{color:#b42318!important}
.cc-conf{display:flex;align-items:center;gap:8px;font-size:14px;color:#b42318}
@media (max-width:1100px){.cc-grid,.cc-2col{grid-template-columns:1fr}}
/* dashboard da controladoria */
.ccd-ad{display:grid;gap:6px;padding:14px 20px 18px;flex:1}
.ccd-ad-tot{display:flex;align-items:baseline;gap:10px;margin-bottom:6px}
.ccd-ad-tot b{font-size:28px;font-weight:400;color:#1f2937}
.ccd-ad-tot span{font-size:13px;color:#667085}
.ccd-ad-row{display:grid;grid-template-columns:30px minmax(0,1.1fr) minmax(0,1fr) 44px;align-items:center;gap:10px;border:0;background:none;padding:4px 0;font:inherit;text-align:left;cursor:pointer;color:#2b3442}
.ccd-ad-row:hover strong{color:var(--teal)}
.ccd-ad-row .and-av,.ccd-h-row .and-av,.tk-dash .client-cell .and-av{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:600;object-fit:cover;flex:none}
.ccd-ad-row strong{font-weight:400;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccd-ad-row i{height:8px;background:#f2f4f7;border-radius:99px;overflow:hidden}
.ccd-ad-row u{display:block;height:100%;border-radius:99px}
.ccd-ad-row em{font-style:normal;font-size:13px;color:#667085;text-align:right}
.ccd-hoje{display:grid;gap:4px;padding:10px 20px 14px;flex:1}
.ccd-h-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:5px 0;border-bottom:1px solid #f2f4f7}
.ccd-h-row:last-child{border-bottom:0}
.ccd-h-row strong{font-weight:400;font-size:14px;color:#2b3442;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccd-h-row small{font-size:12px;color:#98a2b3}
.ccd-h-row .tf-btn-o svg{width:13px;height:13px}
.tk-dash .client-cell{display:flex;align-items:center;gap:8px}
.tk-dash .cc-ok{padding:4px 0}
.tk-dash .table-card .tk-table table.ccd-t,.tk-dash .table-card .tk-table table{min-width:0}
.tk-dash .table-card .project-name small .tf-st{height:18px;font-size:11.5px;margin-right:4px}
.tk-dash .table-card .tk-table table.ccd-t th:nth-child(3),.tk-dash .table-card .tk-table table.ccd-t td:nth-child(3){display:table-cell;white-space:normal;font-size:inherit}

/* ---------- base de conhecimento ---------- */
.kb-coll summary{display:flex;align-items:center;gap:8px}
.kb-coll summary>svg:first-child{width:16px;height:16px;color:var(--teal)}
.kb-coll.tem{border-color:#99e0dd!important;box-shadow:0 0 0 1px #c9efed!important}
.kb-n{font-style:normal;font-size:12px;background:var(--teal);color:#fff;border-radius:99px;padding:0 7px}
.kb-sug{display:grid;gap:6px;padding:4px 16px 14px}
.kb-dica{margin:0;font-size:13px;color:#067647}
.kb-usado{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;color:#067647}.kb-usado svg{width:14px;height:14px}
.kb-sug-i{display:grid;gap:2px;text-align:left;border:1px solid #d5f0ee;background:#f3fbfa;border-radius:6px;padding:8px 10px;font:inherit;cursor:pointer}
.kb-sug-i:hover{border-color:var(--teal)}
.kb-sug-i b{font-weight:500;font-size:14px;color:#1f2937}
.kb-sug-i small{font-size:12.5px;color:#667085}
.kb-link{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:13.5px}.kb-link svg{width:15px;height:15px}
.kb-bar{display:flex;align-items:center;gap:10px;padding:12px 14px;margin-bottom:14px;flex-wrap:wrap;border-radius:6px!important;box-shadow:none!important;border:1px solid #e4e7ec!important}
.kb-busca{flex:1;min-width:260px;display:flex;align-items:center;gap:8px;height:36px;border:1px solid #d0d5dd;border-radius:4px;padding:0 10px;background:#fff}
.kb-busca svg{width:16px;height:16px;color:#98a2b3}
.kb-busca input{border:0;outline:0;flex:1;font:inherit;font-size:14.5px;background:none}
.kb-busca:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px rgba(15,157,154,.15)}
.kb-bar select{height:36px;border:1px solid #d0d5dd;border-radius:4px;padding:0 8px;font:inherit;font-size:14px;background:#fff}
.kb-vazio{display:grid;justify-items:center;text-align:center;padding:36px 24px;gap:6px}
.kb-vazio>span svg{width:36px;height:36px;color:var(--teal)}
.kb-vazio h3{margin:6px 0 0;font-size:18px;font-weight:500}
.kb-vazio p{max-width:560px;color:#475467;font-size:14.5px;line-height:1.55;margin:4px 0 12px}
.kb-tab td b{font-weight:500}
.kb-dr{width:min(620px,96vw)!important}
.kb-chips{display:flex;flex-wrap:wrap;gap:6px}
.kb-sec h4{margin:0 0 6px;font-size:13px;font-weight:600;color:#475467;text-transform:none}
.kb-txt{white-space:pre-wrap;font-size:14.5px;line-height:1.55;color:#1f2937}
.kb-passo{background:#f9fafb;border:1px solid #eef0f3;border-radius:6px;padding:12px 14px}
.kb-dados{width:100%;border-collapse:collapse;font-size:14px}
.kb-dados th{text-align:left;font-weight:500;color:#667085;width:34%;padding:7px 10px;border-bottom:1px solid #f0f2f5;vertical-align:top}
.kb-dados td{padding:7px 10px;border-bottom:1px solid #f0f2f5;font-family:ui-monospace,Consolas,monospace;font-size:13.5px;color:#1f2937;word-break:break-all}
.kb-copy{border:0;background:none;color:#98a2b3;cursor:pointer;padding:2px}.kb-copy:hover{color:var(--teal)}.kb-copy svg{width:14px;height:14px}
.kb-meta{font-size:12.5px;color:#667085;margin:0}
.kb-dados-ed{display:grid;gap:6px}.kb-dados-ed h4{margin:0;font-size:13.5px;font-weight:500;color:#344054}
.kb-dl{display:grid;grid-template-columns:150px 1fr 30px;gap:6px}
.kb-dl input{height:34px;border:1px solid #d0d5dd;border-radius:4px;padding:0 10px;font:inherit;font-size:14px}
.kb-dl button{border:0;background:none;color:#98a2b3;cursor:pointer}.kb-dl button svg{width:15px;height:15px}
.kb-aviso{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:#b54708;background:#fffaeb;border:1px solid #fedf89;border-radius:4px;padding:7px 10px}
.kb-aviso svg{width:15px;height:15px;flex:none}
.fz-kb{border:1px solid #d5f0ee;background:#f6fcfb;border-radius:8px;padding:10px 14px}
.fz-kb small{color:#667085;font-weight:400}
.fz-kb-box{margin-top:10px;display:grid;gap:8px}
.fz-kb-box .form-grid{margin:0}
.kb-dados th,.kb-dados td{background:none!important}
.kb-busca input{box-shadow:none!important;height:auto!important;border:0!important;padding:0!important;outline:0!important}

/* ---------- automações ---------- */
.bell i.au-n{display:grid!important;place-items:center;position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#ef4444;color:#fff;font-style:normal;font-size:11px;font-weight:700;box-shadow:0 0 0 2px #fff}
.bell{position:relative}
.au-painel{position:fixed;z-index:120;width:min(420px,92vw);max-height:70vh;display:flex;flex-direction:column;background:#fff;border:1px solid #e4e7ec;border-radius:10px;box-shadow:0 18px 40px rgba(15,23,42,.18);overflow:hidden}
.au-painel header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #eef0f3}
.au-painel header b{font-size:15px;font-weight:600}
.au-painel header button{border:0;background:none;color:var(--teal);font:inherit;font-size:13px;cursor:pointer}
.au-lista{overflow:auto}
.au-item{display:flex;gap:10px;width:100%;text-align:left;border:0;border-bottom:1px solid #f2f4f7;background:#fff;padding:10px 14px;font:inherit;cursor:pointer}
.au-item:hover{background:#f9fafb}
.au-item.nova{background:#f3fbfa}
.au-item b{display:block;font-weight:400;font-size:13.5px;color:#1f2937;line-height:1.4}
.au-item.nova b{font-weight:500}
.au-item small{font-size:12px;color:#98a2b3}
.au-ic{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:none;background:#f2f4f7;color:#475467}
.au-ic svg{width:15px;height:15px}
.au-item.critico .au-ic,.au-toast.critico b svg{color:#dc2626}.au-item.critico .au-ic{background:#fee2e2}
.au-item.cyber .au-ic{background:#ede9fe;color:#7c3aed}.au-item.urgente .au-ic{background:#ffedd5;color:#ea580c}.au-item.alerta .au-ic{background:#e0f2fe;color:#0369a1}
.au-toast{position:fixed;right:20px;bottom:20px;z-index:130;width:min(380px,92vw);display:grid;gap:6px;background:#fff;border:1px solid #e4e7ec;border-left:4px solid var(--teal);border-radius:8px;padding:12px 36px 12px 14px;box-shadow:0 14px 34px rgba(15,23,42,.2);transform:translateY(20px);opacity:0;transition:.3s}
.au-toast.on{transform:none;opacity:1}
.au-toast.critico{border-left-color:#dc2626}.au-toast.cyber{border-left-color:#7c3aed}.au-toast.urgente{border-left-color:#ea580c}
.au-toast b{display:flex;align-items:center;gap:6px;font-size:14px}.au-toast b svg{width:16px;height:16px}
.au-toast span{font-size:13.5px;color:#344054;line-height:1.45}
.au-toast button{justify-self:start;border:1px solid #d0d5dd;background:#fff;border-radius:4px;height:28px;padding:0 10px;font:inherit;font-size:13px;cursor:pointer}
.au-toast .au-x{position:absolute;top:8px;right:8px;border:0;padding:2px;height:auto;color:#98a2b3}.au-toast .au-x svg{width:14px;height:14px}
.au-banner{display:flex;align-items:flex-start;gap:14px;background:#fff7ed;border:1px solid #fdba74;border-radius:8px;padding:14px 16px;margin-bottom:16px}
.au-b-ic{width:36px;height:36px;border-radius:50%;background:#ffedd5;color:#ea580c;display:grid;place-items:center;flex:none}.au-b-ic svg{width:18px;height:18px}
.au-b-txt{flex:1;display:grid;gap:4px;min-width:0}
.au-b-txt>b{font-size:15.5px;font-weight:600;color:#9a3412}
.au-b-txt>span{font-size:13.5px;color:#9a3412}
.au-b-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.au-b-list button{border:1px solid #fed7aa;background:#fff;border-radius:99px;padding:4px 10px;font:inherit;font-size:12.5px;color:#7c2d12;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.au-b-list button:hover{border-color:#ea580c}
.au-b-list em{font-style:normal;color:#c2410c;opacity:.8}
.au-dot{width:8px;height:8px;border-radius:50%;background:#dc2626;display:inline-block}
.au-crit{display:flex;align-items:center;gap:8px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:8px;padding:10px 14px;margin-bottom:14px;font-size:14px}
.au-crit svg{width:17px;height:17px}
.fz-modelo{border:1px solid #c7d7fe;background:#f5f8ff;border-radius:8px;padding:12px 14px}
.fz-mod-h{display:grid;gap:2px;margin-bottom:10px}
.fz-mod-h b{display:flex;align-items:center;gap:6px;font-size:14.5px;color:#1e3a8a}.fz-mod-h b svg{width:15px;height:15px}
.fz-mod-h span{font-size:13px;color:#475467}
.fz-mod-g{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fz-mod-g label{display:grid;gap:4px;font-size:13.5px;font-weight:500;color:#344054}
.fz-mod-g input{height:36px;border:1px solid #d0d5dd;border-radius:6px;padding:0 10px;font:inherit;font-size:14.5px;font-weight:400}
.fz-base{font-size:12px;color:#067647;font-weight:400}
.fz-gerar{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:13.5px}.fz-gerar svg{width:14px;height:14px}
.au-teste{display:grid;grid-template-columns:auto 1fr 200px;gap:10px;align-items:center;padding:12px 14px;margin-bottom:14px;border-radius:6px!important;box-shadow:none!important;border:1px solid #e4e7ec!important}
.au-teste input,.au-teste select{height:36px;border:1px solid #d0d5dd;border-radius:4px;padding:0 10px;font:inherit;font-size:14px}
#auTesteRes{grid-column:1/-1;display:grid;gap:4px;font-size:13.5px}
.au-res{display:flex;align-items:center;gap:6px;color:#067647}.au-res svg{width:14px;height:14px}
.au-body{display:grid;gap:12px;padding:14px 18px 18px}
.au-card{border:1px solid #e4e7ec;border-radius:8px;padding:12px 14px;display:grid;gap:10px;background:#fcfcfd}
.au-card.off{opacity:.6}
.au-card header{display:flex;align-items:center;gap:10px}
.au-nome{flex:1;height:34px;border:1px solid transparent;border-radius:4px;padding:0 8px;font:inherit;font-size:15px;font-weight:600;color:#1f2937;background:transparent}
.au-nome:hover,.au-nome:focus{border-color:#d0d5dd;background:#fff;outline:0}
.au-sw{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#475467;white-space:nowrap}
.au-card label:not(.au-sw),.au-body>label,.au-2 label{display:grid;gap:4px;font-size:13px;font-weight:500;color:#344054}
.au-card label small{font-weight:400;color:#98a2b3}
.au-card textarea,.au-card input:not([type=checkbox]):not(.au-nome),.au-card select,.au-2 input,.au-2 select{border:1px solid #d0d5dd;border-radius:4px;padding:7px 10px;font:inherit;font-size:14px;background:#fff;font-weight:400}
.au-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.au-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.au-campos{display:grid;gap:6px}.au-campos>small{font-size:13px;font-weight:500;color:#344054}
.au-campo{display:grid;grid-template-columns:1fr auto 30px;gap:8px;align-items:center}
.au-salvar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;background:rgba(248,250,252,.96);border-top:1px solid #e4e7ec;padding:12px 0;margin-top:4px}
.au-salvar>span{margin-right:auto}
@media (max-width:1100px){.au-4{grid-template-columns:1fr 1fr}.fz-mod-g,.au-2{grid-template-columns:1fr}}
/* card Atenção no dashboard */
.au-dcard.alerta{border:1.5px solid #fca5a5!important;box-shadow:0 0 0 4px rgba(239,68,68,.08)!important}
.au-dcard h3{display:flex;align-items:center;gap:8px}
.au-pulse{width:10px;height:10px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 0 rgba(239,68,68,.6);animation:auPulse 1.6s infinite}
@keyframes auPulse{0%{box-shadow:0 0 0 0 rgba(239,68,68,.55)}70%{box-shadow:0 0 0 10px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}
.au-tabs b{font-size:11.5px;background:#f2f4f7;color:#475467;border-radius:99px;padding:1px 7px;margin-left:4px;font-weight:600}
.au-tabs b.r{background:#ef4444;color:#fff}
.au-flist,.au-nlist{display:grid;gap:8px;padding:12px 20px 16px;flex:1;align-content:start}
.au-nlist .alerts-list{padding:0;display:contents}
.au-f{display:flex;gap:10px;border:1px solid #eef0f3;border-radius:8px;padding:9px 10px;cursor:pointer;background:#fff}
.au-f:hover{border-color:#fca5a5}
.au-f.sem{background:#fff8f7;border-color:#fecaca}
.au-f-ic{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#ffedd5;color:#ea580c;flex:none}
.au-f-ic.crit{background:#fee2e2;color:#dc2626}.au-f-ic svg{width:15px;height:15px}
.au-f strong{display:block;font-size:13.5px;font-weight:600;color:#1f2937}
.au-f small{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;color:#475467}
.au-f-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.au-f-tags em{font-style:normal;font-size:11.5px;border-radius:99px;padding:1px 7px;background:#f2f4f7;color:#475467}
.au-f-tags em.cr{background:#dc2626;color:#fff}.au-f-tags em.sr{background:#fee2e2;color:#b91c1c}.au-f-tags em.pr{background:#ffedd5;color:#c2410c}.au-f-tags em.ok{background:#ecfdf3;color:#067647}
/* chamar atenção */
@keyframes auShake{0%,100%{transform:translate(0,0)}10%{transform:translate(-10px,-4px)}20%{transform:translate(9px,5px)}30%{transform:translate(-8px,3px)}40%{transform:translate(8px,-5px)}50%{transform:translate(-6px,4px)}60%{transform:translate(6px,-3px)}70%{transform:translate(-4px,2px)}80%{transform:translate(4px,-2px)}90%{transform:translate(-2px,1px)}}
body.au-shake{animation:auShake .7s ease-in-out}
@media (prefers-reduced-motion:reduce){body.au-shake{animation:none}}
.au-nudge{position:fixed;inset:0;z-index:200;display:grid;place-items:center;background:rgba(15,23,42,.45);animation:auFade .2s}
@keyframes auFade{from{opacity:0}}
.au-nudge-box{width:min(460px,92vw);background:#fff;border-radius:14px;padding:26px 26px 22px;text-align:center;box-shadow:0 30px 70px rgba(0,0,0,.35);border-top:6px solid #dc2626;animation:auPop .35s cubic-bezier(.2,1.4,.4,1)}
.au-nudge.cyber .au-nudge-box{border-top-color:#7c3aed}.au-nudge.alerta .au-nudge-box{border-top-color:#0369a1}
@keyframes auPop{from{transform:scale(.8);opacity:0}}
.au-nudge-ic{width:58px;height:58px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:#fee2e2;color:#dc2626;animation:auPulse 1.6s infinite}
.au-nudge.cyber .au-nudge-ic{background:#ede9fe;color:#7c3aed}.au-nudge.alerta .au-nudge-ic{background:#e0f2fe;color:#0369a1}
.au-nudge-ic svg{width:28px;height:28px}
.au-nudge h2{margin:0 0 8px;font-size:21px;color:#1f2937}
.au-nudge p{margin:0 0 8px;font-size:14.5px;color:#475467;line-height:1.5}
.au-nudge-tk{background:#f9fafb;border:1px solid #eef0f3;border-radius:8px;padding:10px 12px;color:#1f2937!important}
.au-nudge-bt{display:flex;justify-content:center;gap:10px;margin-top:14px;flex-wrap:wrap}
/* tarjas coloridas: crítico vermelho, alto laranja */
.au-faixa{display:flex;gap:0;margin:-1px -1px 0;border-radius:8px 8px 0 0;overflow:hidden}
.au-faixa span{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:34px;font-size:13.5px;font-weight:700;color:#fff;letter-spacing:.02em}
.au-faixa span svg{width:15px;height:15px}
.au-faixa .fc{background:#dc2626;animation:auBlink 1.2s steps(2,start) infinite}
.au-faixa .fa{background:#f97316}
.au-faixa .fs{background:#7f1d1d}
@keyframes auBlink{50%{background:#991b1b}}
.au-dcard.tem-crit{border:2px solid #dc2626!important;box-shadow:0 0 0 4px rgba(220,38,38,.12)!important;animation:auGlow 2s infinite}
@keyframes auGlow{50%{box-shadow:0 0 0 7px rgba(220,38,38,.2)}}
.au-f{position:relative;padding-left:0!important;overflow:hidden;border-width:1.5px!important}
.au-tarja{writing-mode:vertical-rl;transform:rotate(180deg);display:grid;place-items:center;width:24px;flex:none;align-self:stretch;font-size:10.5px;font-weight:800;letter-spacing:.12em;color:#fff;margin:-9px 0 -9px 0}
.au-f.crit{background:#fef2f2!important;border-color:#f87171!important}
.au-f.crit .au-tarja{background:#dc2626}
.au-f.crit .au-f-ic{background:#dc2626;color:#fff}
.au-f.alta{background:#fff7ed!important;border-color:#fb923c!important}
.au-f.alta .au-tarja{background:#f97316}
.au-f.alta .au-f-ic{background:#f97316;color:#fff}
.au-f.crit.sem{animation:auPisca 1.4s infinite}
@keyframes auPisca{50%{background:#fee2e2;border-color:#dc2626}}
.au-f-tags em.pr{background:#f97316;color:#fff;font-weight:600}
.au-f-tags em.pr.c,.au-f-tags em.cr{background:#dc2626;color:#fff;font-weight:600}
.au-f-tags em.sr{background:#7f1d1d;color:#fff;font-weight:600}
@media (prefers-reduced-motion:reduce){.au-faixa .fc,.au-dcard.tem-crit,.au-f.crit.sem{animation:none}}
.au-pm h3{display:flex;align-items:center;gap:8px;color:#b91c1c!important}
.au-pm h3 svg{width:17px;height:17px;color:#dc2626}
.au-pm p{margin:2px 0 0;font-size:13px;color:#7f1d1d;font-weight:500}
.au-pm-bt{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.au-pm-bt .link{white-space:nowrap;font-size:13px}.au-pm{align-items:flex-start!important}
/* 🔥 */
.au-fogo{font-size:20px;line-height:1;display:inline-block;animation:auChama 1s ease-in-out infinite;transform-origin:50% 90%}
.au-fogo-s{display:inline-block;margin-right:4px;animation:auChama 1s ease-in-out infinite;transform-origin:50% 90%}
.au-nudge-fogo{font-size:64px;line-height:1;margin:0 auto 6px;animation:auChama .8s ease-in-out infinite;transform-origin:50% 90%;filter:drop-shadow(0 6px 14px rgba(234,88,12,.45))}
@keyframes auChama{0%,100%{transform:scale(1) rotate(-4deg)}50%{transform:scale(1.15) rotate(4deg)}}
@media (prefers-reduced-motion:reduce){.au-fogo,.au-fogo-s,.au-nudge-fogo{animation:none}}
/* tela pegando fogo */
#auFogo{position:fixed;inset:0;z-index:199;pointer-events:none;overflow:hidden}
#auFogo .au-brilho{position:absolute;inset:0;box-shadow:inset 0 0 120px 30px rgba(239,68,68,.55),inset 0 -80px 120px -20px rgba(249,115,22,.6);animation:auBrilho 1.2s ease-in-out infinite}
@keyframes auBrilho{50%{box-shadow:inset 0 0 160px 50px rgba(239,68,68,.75),inset 0 -110px 140px -10px rgba(249,115,22,.8)}}
#auFogo .au-chamas{position:absolute;left:0;right:0;bottom:-14px;height:140px}
.au-ch{position:absolute;bottom:0;width:auto;transform-origin:50% 100%;animation:auLabareda .55s ease-in-out infinite alternate;filter:drop-shadow(0 0 10px rgba(249,115,22,.7))}
@keyframes auLabareda{0%{transform:scaleY(.85) scaleX(1.05) skewX(-4deg)}100%{transform:scaleY(1.12) scaleX(.92) skewX(5deg)}}
#auFogo .au-corre{position:absolute;bottom:70px;left:-160px;width:120px;animation:auCorre 3.4s linear infinite}
#auFogo .au-corre.b{animation-delay:1.7s;bottom:110px;width:90px;transform:scaleX(-1)}
#auFogo .au-corre.b{animation-name:auCorreVolta}
@keyframes auCorre{to{left:calc(100vw + 40px)}}
@keyframes auCorreVolta{from{left:calc(100vw + 40px)}to{left:-160px}}
.au-boneco{width:100%;height:auto;display:block;animation:auPulo .34s ease-in-out infinite alternate}
@keyframes auPulo{to{transform:translateY(-8px)}}
.au-boneco g{transform-box:fill-box}
.au-perna{transform-origin:50% 0}
.au-perna.a{animation:auPernaA .34s ease-in-out infinite alternate}.au-perna.b{animation:auPernaB .34s ease-in-out infinite alternate}
@keyframes auPernaA{from{transform:rotate(-28deg)}to{transform:rotate(30deg)}}
@keyframes auPernaB{from{transform:rotate(30deg)}to{transform:rotate(-28deg)}}
.au-braco{transform-origin:100% 50%}.au-braco.b{transform-origin:0 50%}
.au-braco.a{animation:auBracoA .2s ease-in-out infinite alternate}.au-braco.b{animation:auBracoB .2s ease-in-out infinite alternate}
@keyframes auBracoA{from{transform:rotate(-25deg)}to{transform:rotate(25deg)}}
@keyframes auBracoB{from{transform:rotate(25deg)}to{transform:rotate(-25deg)}}
.au-cabeca-fogo{transform-origin:50% 100%;animation:auLabareda .3s ease-in-out infinite alternate}
.au-suor{animation:auSuor .5s ease-in infinite}
@keyframes auSuor{from{transform:translate(0,0);opacity:1}to{transform:translate(10px,10px);opacity:0}}
@media (prefers-reduced-motion:reduce){#auFogo *{animation:none!important}#auFogo .au-corre{left:40px}}
#auFogo .au-ch,#auFogo .au-ch path,#auFogo .au-cabeca-fogo path,#auFogo .au-suor{stroke:none!important}
#auFogo .au-boneco line{stroke:#1f2937!important;stroke-width:6px!important;fill:none}
#auFogo .au-boneco circle:first-of-type{fill:#fff!important;stroke:#1f2937!important;stroke-width:5px!important}
#auFogo .au-boneco circle:not(:first-of-type),#auFogo .au-boneco ellipse{fill:#1f2937!important;stroke:none!important}
#auFogo svg{width:auto}
#auFogo .au-boneco{width:100%!important;height:auto!important}
.au-pfoot{border-top:1px solid #eef0f3;padding:8px 10px}
.au-pfoot button{display:flex;align-items:center;gap:8px;width:100%;border:0;background:#fef2f2;color:#b91c1c;border-radius:6px;padding:8px 10px;font:inherit;font-size:13.5px;font-weight:500;cursor:pointer}
.au-pfoot button svg{width:15px;height:15px}
.au-passos{margin:0;padding-left:20px;display:grid;gap:6px;font-size:14px;color:#344054}
.au-maqs{display:grid;gap:8px;border-top:1px solid #eef0f3;padding-top:12px}
.au-maqs h4{margin:0;font-size:14px;font-weight:600}
.au-maq{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #eef0f3;border-radius:6px;padding:8px 10px}
.au-maq span{display:grid;grid-template-columns:18px 1fr;column-gap:6px;font-size:14px}
.au-maq span svg{width:15px;height:15px;color:#16a34a;grid-row:span 2;margin-top:2px}
.au-maq small{font-size:12px;color:#667085}
