/* Bancos · vista en columnas por empresa (maqueta épica) */
html body .ct-epic-banks .ct-epic.epx-h .ct-kpi.total{height:auto!important;min-height:0!important}
html body .ct-epic-banks .ct-epic.epx-h .ct-kpi.total{grid-template-rows:auto auto auto auto!important;align-content:start!important}
html body div.fiscal-banks .ct-epic.epx-h .ct-kpi.total div.k-v{height:56px!important;min-height:56px!important;max-height:none!important;margin:10px 0 10px!important;line-height:56px!important}
html body .fiscal-banks[data-bv=col] .ct-epic.epx-h .ct-cos{display:none!important}
html body .ct-epic-banks .ct-epic.epx-h .ct-kpi.total .k-s{position:static!important;margin-top:0!important}
html body .ct-cols .bvc-btn{white-space:nowrap}
html body .fiscal-banks[data-bv=col] .ct-cols button[aria-pressed=true]:not(.bvc-btn){background:transparent!important;color:#5B6B80!important;font-weight:500!important;box-shadow:none!important}
html body .fiscal-banks .ct-cols .bvc-btn[aria-pressed=true]{background:#193651!important;color:#fff!important}
/* rejilla de 3 columnas */
html body .fiscal-banks[data-bv=col]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px;align-items:start}
html body .fiscal-banks[data-bv=col]>*{grid-column:1/-1;margin:0!important}
html body .fiscal-banks[data-bv=col]>section{grid-column:auto;background:#fff;border:1px solid #E1E7EF;border-top:3px solid var(--bv-c,#8A97A8);border-radius:14px;box-shadow:0 1px 2px rgba(16,32,56,.05),0 8px 24px -16px rgba(16,32,56,.25);overflow:hidden;min-width:0}
html body .fiscal-banks[data-bv=col]>section:only-of-type{grid-column:1/-1}
html body .fiscal-banks[data-bv=col]>section[data-bv-co=nm]{--bv-c:#2F6596;order:11}
html body .fiscal-banks[data-bv=col]>section[data-bv-co=op]{--bv-c:#E0571B;order:12}
html body .fiscal-banks[data-bv=col]>section[data-bv-co=pe]{--bv-c:#8A97A8;order:13}
html body .fiscal-banks[data-bv=col]>section:not([data-bv-co]){order:14}
html body .fiscal-banks[data-bv=col]>*:not(section){order:0}
html body .fiscal-banks[data-bv=col]>section .bank-company-heading{display:flex!important;flex-direction:row!important;text-align:left!important;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px!important;margin:0!important;border:0!important;border-bottom:1px solid #E9EEF4!important;background:#fff!important;min-height:0!important}
html body .fiscal-banks[data-bv=col]>section .bank-company-heading::before,html body .fiscal-banks[data-bv=col]>section .bank-company-heading::after{display:none!important}
html body .fiscal-banks[data-bv=col]>section .ct-g-id{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;align-items:center;gap:8px;min-width:0}
html body .fiscal-banks[data-bv=col]>section .ct-g-mark{width:8px!important;height:8px!important;border-radius:50%!important;background:var(--bv-c)!important;flex:none;min-height:0!important}
html body .fiscal-banks[data-bv=col]>section .ct-g-name{font-size:15px!important;font-weight:700!important;color:#102038!important;margin:0!important;line-height:1.2!important}
html body .fiscal-banks[data-bv=col]>section .ct-g-count{font-size:11.5px!important;color:#6B7A8F!important;margin:1px 0 0!important}
html body .fiscal-banks[data-bv=col]>section .bank-company-totals{display:block!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
html body .fiscal-banks[data-bv=col]>section .bank-company-totals>span:not(.ct-g-eq){display:none!important}
html body .fiscal-banks[data-bv=col]>section .bank-company-totals .ct-g-eq{display:flex!important;flex-direction:column;align-items:flex-end;font-size:10px!important;letter-spacing:.08em;text-transform:uppercase;color:#6B7A8F!important;padding:0!important;border:0!important;background:none!important}
html body .fiscal-banks[data-bv=col]>section .bank-company-totals .ct-g-eq strong{font-size:16px!important;letter-spacing:-.01em;text-transform:none;color:#102038!important;font-family:var(--epx-disp,inherit)}
html body .fiscal-banks[data-bv=col]>section>.space-y-4{margin:0!important}
html body .fiscal-banks[data-bv=col] .bank-account-list{display:flex!important;flex-direction:column!important;gap:0!important;grid-template-columns:none!important;padding:0!important;margin:0!important}
/* fila compacta */
html body .fiscal-banks[data-bv=col] .bank-account-row{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center;column-gap:12px;padding:10px 16px!important;margin:0!important;min-height:0!important;height:auto!important;border:0!important;border-bottom:1px solid #EEF2F6!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;cursor:pointer;transform:none!important;position:relative}
html body .fiscal-banks[data-bv=col] .bank-account-row::before,html body .fiscal-banks[data-bv=col] .bank-account-row::after{display:none!important}
html body .fiscal-banks[data-bv=col] .bank-account-row:hover{background:#F4F8FC!important}
html body .fiscal-banks[data-bv=col] .bank-account-row:last-child{border-bottom:0!important}
html body .fiscal-banks[data-bv=col] .bank-account-row[data-zero="1"]{display:none!important}
html body .fiscal-banks[data-bv=col] section.bv-open .bank-account-row[data-zero="1"]{display:grid!important}
html body .fiscal-banks[data-bv=col] .bank-account-identity{display:contents!important}
html body .fiscal-banks[data-bv=col] .bank-account-identity>.font-medium{grid-column:1/3;grid-row:1;display:grid!important;grid-template-columns:44px minmax(0,1fr);column-gap:12px;align-items:center;margin:0!important;padding:0!important;align-self:start;margin-top:1px!important}
html body .fiscal-banks[data-bv=col] .bank-account-identity>.font-medium>svg{display:none!important}
html body .fiscal-banks[data-bv=col] .bank-account-identity .ct-cur{grid-column:1;width:40px!important;height:22px!important;min-width:0!important;border-radius:6px!important;background:#EEF2F7!important;color:#4A5B70!important;font-size:0!important;display:inline-flex!important;align-items:center;justify-content:center;box-shadow:none!important;border:0!important}
html body .fiscal-banks[data-bv=col] .bank-account-identity .ct-cur::before{content:attr(data-cur);font-size:10px;font-weight:700;letter-spacing:.06em}
html body .fiscal-banks[data-bv=col] .bank-account-identity .ct-cur[data-cur=USD]{background:#E3F4FB!important;color:#0A6E96!important}
html body .fiscal-banks[data-bv=col] .bank-account-identity .font-medium>a{grid-column:2;font-size:13.5px!important;font-weight:650!important;color:#102038!important;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
html body .fiscal-banks[data-bv=col] .bank-state-chips{grid-column:2!important;grid-row:1!important;align-self:end;margin:22px 0 0!important;height:auto!important;display:block!important;overflow:hidden}
html body .fiscal-banks[data-bv=col] .bank-state-chips>*{display:block!important;height:auto!important;padding:0!important;background:none!important;font-size:11.5px!important;color:#6B7A8F!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none!important}
html body .fiscal-banks[data-bv=col] .bank-state-chips>*::before{display:none!important}
html body .fiscal-banks[data-bv=col] .bank-state-chips [data-bank-status=confirmed]{color:#0A6E96!important}
html body .fiscal-banks[data-bv=col] .bank-state-chips [data-bank-status=error]{color:#B4233A!important}
html body .fiscal-banks[data-bv=col] .bank-card-options,html body .fiscal-banks[data-bv=col] .bank-owner-tag,html body .fiscal-banks[data-bv=col] .bank-account-identity>.bank-account-meta,html body .fiscal-banks[data-bv=col] .account-mode,html body .fiscal-banks[data-bv=col] .bank-account-reading,html body .fiscal-banks[data-bv=col] .bank-account-operations,html body .fiscal-banks[data-bv=col] .bank-value-label,html body .fiscal-banks[data-bv=col] .bank-equivalents-columns,html body .fiscal-banks[data-bv=col] .bank-account-balance>.bank-account-meta{display:none!important}
html body .fiscal-banks[data-bv=col] .bank-account-balance{grid-column:3!important;grid-row:1!important;margin:0!important;padding:0!important;border:0!important;background:none!important;text-align:right;min-width:0}
html body .fiscal-banks[data-bv=col] .bank-account-balance>div{display:block!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
html body .fiscal-banks[data-bv=col] .bank-native-cell{display:block!important;padding:0!important;margin:0!important;background:none!important;border:0!important}
html body .fiscal-banks[data-bv=col] .bank-native-amount{font-size:14.5px!important;font-weight:700!important;color:#102038!important;font-family:var(--epx-disp,inherit)!important;letter-spacing:-.01em;line-height:1.2!important;white-space:nowrap;margin:0!important}
html body .fiscal-banks[data-bv=col] .bank-account-row[data-neg="1"] .bank-native-amount{color:#B4233A!important}
/* pie: cuentas en cero */
html body .fiscal-banks .bv-zero{display:none}
html body .fiscal-banks[data-bv=col] .bv-zero{display:block;width:100%;text-align:left;padding:10px 16px 12px;background:#F7F9FC;border:0;border-top:1px solid #E9EEF4;font:inherit;font-size:11.5px;line-height:1.5;color:#6B7A8F;cursor:pointer}
html body .fiscal-banks[data-bv=col] .bv-zero:hover{color:#193651;background:#EEF3F9}
html body .fiscal-banks[data-bv=col] .bv-zero b{color:#193651;font-weight:650}
@media (max-width:1180px){html body .fiscal-banks[data-bv=col]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){html body .fiscal-banks[data-bv=col]{grid-template-columns:minmax(0,1fr)}html body .fiscal-banks[data-bv=col]>section{grid-column:1/-1}}
html body .fiscal-banks[data-bv=col] .bank-account-row .bank-account-balance *{display:none!important}
html body .fiscal-banks[data-bv=col] .bank-account-row .bank-account-balance .bank-balance-single,html body .fiscal-banks[data-bv=col] .bank-account-row .bank-account-balance .bank-balance-metrics,html body .fiscal-banks[data-bv=col] .bank-account-row .bank-account-balance .bank-native-cell,html body .fiscal-banks[data-bv=col] .bank-account-row .bank-account-balance .bank-native-amount{display:block!important}
@media (min-width:1100px){html body .fiscal-banks[data-bv=col]>section:only-of-type .bank-account-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body .fiscal-banks[data-bv=col]>section:only-of-type .bank-account-row:nth-child(odd){border-right:1px solid #EEF2F6!important}}
/* Resumen en teléfono: tarjetas apiladas, sin montarse */
@media (max-width:820px){
html body .fiscal-banks .ct-epic.epx-h .ct-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
html body .fiscal-banks .ct-epic.epx-h .ct-kpis>.ct-kpi{grid-column:auto!important;min-width:0!important;position:relative!important;inset:auto!important;transform:none!important}
html body .fiscal-banks .ct-epic.epx-h .ct-kpis>.ct-kpi.total{grid-column:1/-1!important}
html body .fiscal-banks .ct-epic.epx-h .ct-kpi.total div.k-v{font-size:38px!important;height:44px!important;min-height:44px!important;line-height:44px!important}
html body .fiscal-banks .ct-epic.epx-h .ct-kpis>.ct-kpi:not(.total) .k-v{font-size:19px!important}
html body .fiscal-banks .ct-epic.epx-h .ct-kpis>.ct-kpi:not(.total) .k-h,html body .fiscal-banks .ct-epic.epx-h .ct-kpis>.ct-kpi .k-s{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .fiscal-banks .ct-epic.epx-h .ct-kpis>.ct-kpi:not(.total):last-child{grid-column:1/-1!important}
}
