/* 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}
