/* V1479 — Cadastros Financeiros (Origens, Plano, Contas contábeis, Centros de custo): sem rolagem lateral */
.fcad-wrap { overflow-x: hidden !important; }
.fcad-tab { table-layout: fixed; width: 100%; min-width: 0 !important; }
.fcad-tab th, .fcad-tab td { overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.fcad-tab th { white-space: normal; line-height: 1.25; }
.fcad-tab td:last-child { overflow: visible; text-align: right; }
.fcad-tab .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.fcad-nome { display: block; color: #12315e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcad-cod { display: block; margin-top: 2px; font-size: 10.5px; color: #8a9bb0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }
.fcad-txt { display: block; font-size: 12.5px; color: #33475f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcad-sub { display: block; margin-top: 2px; font-size: 11px; color: #6b7a8f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcad-selo { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 11.5px; font-weight: 600; color: #4f5b6d; background: #eef1f5; white-space: nowrap; }
.fcad-selo--custo { color: #a94f00; background: #fff1e2; }
.fcad-inativa td { opacity: .6; }
.fcad-inativa td:last-child { opacity: 1; }
@media (max-width: 760px) { .fcad-wrap { overflow-x: auto !important; } .fcad-tab { min-width: 640px !important; } }
/* abas no padrão do sistema (mesmo estilo das subabas da Tesouraria) */
.fcad-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid #edf1f5; }
#main .fcad-topo .fin-subabas-conteudo { margin: 0; flex: 1 1 auto; }
.fcad-qtd { display: inline-block; margin-left: 6px; min-width: 18px; padding: 1px 6px; border-radius: 9px; font-size: 11px; font-weight: 700; text-align: center; background: #eef2f8; color: #47607c; }
#main .fin-subaba.active .fcad-qtd { background: rgba(255,255,255,.25); color: #fff; }
.fcad-topo #finCadBusca { margin-left: auto; width: 260px; max-width: 100%; }
@media (max-width: 760px) { .fcad-topo #finCadBusca { width: 100%; } }
