/* Cargar estado de cuenta · misma línea visual (navy, azul positivo, rojo negativo, grises) */
.ct-stmt{color:#1F2A37}
.ct-stmt .ct-stmt-intro{font-size:14px;line-height:1.5;color:#1F2A37;margin:0}
.ct-stmt .ct-stmt-hint{font-size:12px;color:#5B6B7E;margin:0}
.ct-stmt .ct-stmt-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ct-stmt .ct-stmt-field{display:flex;flex-direction:column;gap:6px}
.ct-stmt .ct-stmt-field>span{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5B6B7E}
.ct-stmt .ct-stmt-field>small{font-size:12px;color:#8A97A8;overflow-wrap:anywhere}
.ct-stmt .ct-stmt-field input[type=date]{height:38px;border:1px solid #D5DCE4;border-radius:8px;padding:0 10px;font-size:14px;color:#1F2A37;background:#fff}
.ct-stmt .ct-stmt-file input[type=file]{font-size:13px;color:#1F2A37}
.ct-stmt .ct-stmt-file input[type=file]::file-selector-button{height:34px;margin-right:10px;border:1px solid #193651;border-radius:8px;background:#fff;color:#193651;font-weight:600;padding:0 12px;cursor:pointer}
.ct-stmt .ct-stmt-file input[type=file]::file-selector-button:hover{background:#F2F5F8;border-color:#244F78;color:#244F78}
.ct-stmt .ct-stmt-pv{display:flex;flex-direction:column;gap:12px;border-top:1px solid #E6EBF0;padding-top:12px}
.ct-stmt .ct-stmt-src{font-size:12px;color:#5B6B7E;margin:0}
.ct-stmt .ct-stmt-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ct-stmt .ct-stmt-kpi{border:1px solid #E6EBF0;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;background:#fff;min-width:0}
.ct-stmt .ct-stmt-kl{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5B6B7E}
.ct-stmt .ct-stmt-kpi strong{font-size:20px;line-height:1.2;color:#1F2A37;font-weight:700;overflow-wrap:anywhere}
.ct-stmt .ct-stmt-kpi small{font-size:12px;color:#5B6B7E}
.ct-stmt .ct-stmt-kpi.is-ok small{color:#0A6E96;font-weight:600}
.ct-stmt .ct-stmt-kpi.is-bad small{color:#B4233A;font-weight:600}
.ct-stmt .ct-stmt-tw{max-height:320px;overflow:auto;border:1px solid #E6EBF0;border-radius:10px}
.ct-stmt .ct-stmt-t{width:100%;border-collapse:collapse;font-size:13px}
.ct-stmt .ct-stmt-t th{position:sticky;top:0;background:#F5F7FA;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#5B6B7E;text-align:left;padding:8px 10px;border-bottom:1px solid #E6EBF0;white-space:nowrap}
.ct-stmt .ct-stmt-t td{padding:7px 10px;border-bottom:1px solid #EEF2F5;vertical-align:top}
.ct-stmt .ct-stmt-t td:first-child{white-space:nowrap}
.ct-stmt .ct-stmt-t .num{text-align:right;white-space:nowrap}
.ct-stmt .ct-stmt-t .pos{color:#0A6E96}
.ct-stmt .ct-stmt-t .neg{color:#B4233A}
.ct-stmt .ct-stmt-ref{color:#5B6B7E;font-size:12px}
.ct-stmt .ct-stmt-ok{display:flex;gap:8px;align-items:flex-start;font-size:13px;cursor:pointer}
.ct-stmt .ct-stmt-ok input{margin-top:3px;accent-color:#193651}
.ct-stmt .ct-stmt-err{border:1px solid rgba(180,35,58,.3);background:rgba(180,35,58,.06);color:#B4233A;border-radius:8px;padding:10px 12px;font-size:13px;margin:0}
.ct-stmt [data-testid=bank-statement-save]:not(:disabled){background:#193651;color:#fff}
.ct-stmt [data-testid=bank-statement-save]:not(:disabled):hover{background:#244F78}
@media (max-width:640px){.ct-stmt .ct-stmt-kpis{grid-template-columns:1fr}.ct-stmt .ct-stmt-t{font-size:12px}}
.ct-stmt{overflow-x:hidden}
.ct-stmt>*,.ct-stmt .ct-stmt-pv>*,.ct-stmt .ct-stmt-form>*{min-width:0}
.ct-stmt .ct-stmt-intro,.ct-stmt .ct-stmt-hint,.ct-stmt .ct-stmt-src{overflow-wrap:anywhere}
.ct-stmt .ct-stmt-t td:nth-child(3){overflow-wrap:anywhere}
@media (max-width:640px){.ct-stmt .ct-stmt-form{grid-template-columns:1fr}.ct-stmt .ct-stmt-t th:nth-child(2),.ct-stmt .ct-stmt-t td:nth-child(2){display:none}.ct-stmt .ct-stmt-t td,.ct-stmt .ct-stmt-t th{padding:6px 8px}.ct-stmt .ct-stmt-kpi strong{font-size:18px}}
@media (max-width:640px){.ct-stmt .ct-stmt-t{font-size:12px}.ct-stmt .ct-stmt-t td:nth-child(3){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-width:120px}.ct-stmt .ct-stmt-t td:first-child{white-space:nowrap}}
@media (max-width:640px){.ct-stmt .ct-stmt-t td:nth-child(3){display:table-cell;-webkit-line-clamp:unset;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:96px}.ct-stmt .ct-stmt-t td,.ct-stmt .ct-stmt-t th{padding:6px 6px}}
