.bank-investments {margin-top:18px;border:1px solid #dce5ef;border-radius:10px;background:#fff;padding:13px 15px;color:#3d5772;}
.bank-investments > summary {cursor:pointer;font-size:13px;font-weight:600;}
.bank-investments-rule {font-size:12px;line-height:1.7;margin:12px 0;}
.bank-investments-bank {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:1px solid #e2e9f1;border-radius:8px;padding:12px;margin:12px 0;min-width:0;}
.bank-investments-bank legend {font-size:12px;font-weight:600;padding:0 5px;}
.bank-investments-bank label {font-size:11px;line-height:1.5;display:block;min-width:0;}
.bank-investments-bank input {box-sizing:border-box;width:100%;padding:8px 9px;margin-top:5px;border:1px solid #ccd9e7;border-radius:6px;font:inherit;color:#334f6a;background:#fff;}
.bank-investments-bank input:read-only {background:#f3f6fa;color:#5b7187;}
.bank-investments-note {display:block;font-size:11px;line-height:1.6;color:#677d92;margin:10px 0;}
.bank-investments .bank-investments-download {width:auto;margin:4px 0 0;padding:9px 13px;font-size:12px;border:0;border-radius:7px;background:#345f8d;color:#fff;cursor:pointer;}
.bank-investments-download:disabled {opacity:.6;cursor:wait;}
.bank-investments-message {font-size:12px;line-height:1.6;margin:9px 0 0;}
.bank-investments input:focus-visible,.bank-investments button:focus-visible {outline:2px solid #7097c1;outline-offset:2px;}
@media(max-width:700px) {.bank-investments-bank {grid-template-columns:1fr;gap:9px;}}
.bank-investments .bank-investments-preview-button {width:auto;margin:4px 8px 0 0;padding:9px 13px;font-size:12px;border:1px solid #bfcee0;border-radius:7px;background:#f5f8fc;color:#345f8d;cursor:pointer;}
.bank-investments-preview {margin-top:17px;border-top:1px solid #e0e8f1;padding-top:14px;}
.bank-investments-preview h4 {font-size:13px;margin:0 0 7px;color:#375b7d;}
.bank-investments-preview-totals {font-size:12px;line-height:1.7;margin:0 0 10px;color:#526c86;}
.bank-investments-preview-scroll {overflow:auto;max-height:390px;border:1px solid #e0e8f1;border-radius:8px;}
.bank-investments-preview table {width:100%;min-width:1100px;border-collapse:collapse;font-size:11px;}
.bank-investments-preview th {position:sticky;top:0;background:#f0f5fa;color:#426380;font-weight:600;text-align:left;white-space:nowrap;z-index:1;}
.bank-investments-preview td,.bank-investments-preview th {padding:9px 10px;border-bottom:1px solid #e6edf4;vertical-align:top;line-height:1.6;}
.bank-investments-preview td.is-money {white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;}
.bank-investments-preview td.is-history {min-width:230px;overflow-wrap:anywhere;}
.bank-investments-caption {text-align:left;padding:8px 10px;font-size:10px;line-height:1.6;color:#6b8094;background:#fff;}
.bank-investments-pagination {display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:10px;font-size:11px;}
.bank-investments .bank-investments-pagination button {width:auto;padding:5px 9px;font-size:11px;border:1px solid #d5e0ec;border-radius:6px;background:#fff;color:#42678e;cursor:pointer;}
.bank-investments-pagination button:disabled,.bank-investments-preview-button:disabled {opacity:.5;cursor:default;}
.bank-investments-status {font-size:12px;line-height:1.6;margin:10px 0;color:#385d81;}
.bank-investments-selector {display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:600;max-width:420px;margin:12px 0;}
.bank-investments-bank-select {width:100%;min-height:40px;padding:9px 11px;border:1px solid #cbd9e9;border-radius:8px;background:#f7faff;color:#365b7e;font:inherit;font-size:12px;}
.bank-investments-bank-select:focus-visible {outline:2px solid #7097c1;outline-offset:2px;}
.bank-investments input:disabled {opacity:.65;}
/* Configuração alinhada, isolada dos estilos gerais dos formulários. */
#reconcileResult .bank-investments {margin:12px 0 18px;padding:12px 14px;border-color:#dce6f0;border-radius:12px;box-shadow:0 2px 8px #253f5904;}
#reconcileResult .bank-investments > summary {font-size:12px;font-weight:650;color:#314f70;line-height:1.6;}
#reconcileResult .bank-investments > summary::marker {color:#7f98b3;}
#reconcileResult .bank-investments-status {font-size:11px;line-height:1.5;margin:5px 0 12px;color:#5b7390;}
#reconcileResult .bank-investments > .bank-investments-note {font-size:11px;line-height:1.5;margin:0 0 14px;padding:8px 10px;background:#f5f8fc;border:1px solid #e8eef5;border-radius:7px;color:#698097;}
#reconcileResult .bank-investments-form {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch;}
#reconcileResult .bank-investments-selector {max-width:none;}
#reconcileResult .bank-investments-bank {grid-column:span 3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0;align-items:stretch;}
#reconcileResult .bank-investments-bank legend {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#reconcileResult .bank-investments-form label {display:flex;flex-direction:column;justify-content:space-between;gap:6px;margin:0;font-size:11px!important;font-weight:600;line-height:18px;color:#57708d!important;min-width:0;}
#reconcileResult .bank-investments input,
#reconcileResult .bank-investments select {box-sizing:border-box;width:100%;height:40px;min-height:40px;margin:0;padding:8px 10px!important;border-radius:8px!important;background:#fff!important;font-size:12px!important;line-height:20px;color:#29445f!important;font-variant-numeric:tabular-nums;}
#reconcileResult .bank-investments input:read-only {background:#f3f6fa!important;color:#72859b!important;}
#reconcileResult .bank-investments select {cursor:pointer;background:#f9fbfe!important;}
#reconcileResult .bank-investments .bank-investments-preview-button {grid-column:1;justify-self:start;align-self:center;min-height:36px;margin:0;padding:8px 13px;font-size:11px;font-weight:600;border-color:#c9d8e9;background:#edf3fb;color:#355b85;border-radius:8px;}
#reconcileResult .bank-investments .bank-investments-preview-button:hover:not(:disabled) {background:#e3edf9;border-color:#a9c0dc;}
#reconcileResult .bank-investments-message {grid-column:2/-1;align-self:center;font-size:11px;line-height:1.5;margin:0;}
.bank-investments-message:empty {display:none;}
#reconcileResult .bank-investments-help {margin-top:10px;padding-top:8px;border-top:1px solid #edf1f6;}
#reconcileResult .bank-investments-help > summary {cursor:pointer;color:#72869c;font-size:10px;line-height:1.6;}
.bank-investments-rule,.bank-investments-note {font-size:11px;line-height:1.5;margin:7px 0;}
.bank-investments-preview {margin-top:12px;padding-top:10px;}
.bank-investments-preview-scroll {max-height:280px;}
.bank-investments-preview-totals {font-size:11px;line-height:1.5;margin-bottom:7px;}
.bank-investments .bank-investments-download {padding:7px 11px;font-size:11px;}
@media(max-width:850px) {
 #reconcileResult .bank-investments-form {grid-template-columns:repeat(2,minmax(0,1fr));}
 #reconcileResult .bank-investments-selector,#reconcileResult .bank-investments-bank {grid-column:1/-1;}
 #reconcileResult .bank-investments-message {grid-column:2;}
}
@media(max-width:560px) {
 #reconcileResult .bank-investments {padding:12px;}
 #reconcileResult .bank-investments-bank {grid-template-columns:repeat(2,minmax(0,1fr));}
 #reconcileResult .bank-investments-bank label:last-child {grid-column:1/-1;}
 #reconcileResult .bank-investments-message {grid-column:1/-1;}
 #reconcileResult .bank-investments input,#reconcileResult .bank-investments select,#reconcileResult .bank-investments .bank-investments-preview-button,.bank-investments .bank-investments-download {min-height:44px;}
}
