.conta-corrente-module { min-width: 0; }
.conta-corrente-module .cc-subnav { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: .25rem 0 .75rem; border-bottom: 1px solid var(--color-border); margin-bottom: 1.25rem; }
.conta-corrente-module .cc-subnav-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .65rem 1rem; border-radius: var(--radius-md); border: 1px solid transparent; background: transparent; color: var(--color-text-muted); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); }
.conta-corrente-module .cc-subnav-btn.active { background: var(--color-primary-subtle); border-color: var(--color-border); color: var(--color-text-main); box-shadow: inset 0 -2px 0 var(--color-primary); }
.conta-corrente-module .cc-import-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .75rem 1rem; }
.conta-corrente-module .cc-import-controls > :is(label, .form-hint, .alert) { grid-column: 1 / -1; }
.conta-corrente-module .cc-import-controls > select,
.conta-corrente-module .cc-import-controls > input[type="file"] { min-width: 0; }
.conta-corrente-module .cc-import-controls > button { min-width: 12rem; }
.conta-corrente-module .cc-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.conta-corrente-module .cc-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.conta-corrente-module .cc-snapshot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
.conta-corrente-module .card-body > .form-label { margin-top: .75rem; }
@media (max-width: 600px) { .conta-corrente-module .cc-filters { grid-template-columns: 1fr; } }
.conta-corrente-module .account-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem 2rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
.conta-corrente-module .account-flow-balance { display: flex; flex-direction: column; gap: .5rem; }
.conta-corrente-module .account-flow-balance strong { font-size: clamp(1.6rem, 4vw, 2.25rem); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.conta-corrente-module .account-flow-balance p { font-size: .875rem; margin: 0; }
.conta-corrente-module .account-flow .visual-details { grid-column: 1 / -1; }
@media (max-width: 600px) { .conta-corrente-module .account-flow { grid-template-columns: minmax(0, 1fr); gap: .5rem; } }

.conta-corrente-module .cc-subnav-btn:hover { background: var(--color-surface-hover); color: var(--color-text-main); }
.conta-corrente-module .card-header { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.conta-corrente-module .card-header :is(h2, h3) { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.conta-corrente-module .card-footer { flex-wrap: wrap; gap: 8px; }
.conta-corrente-module .cc-snapshot { flex-wrap: wrap; padding-block: 1rem; }

.conta-corrente-module .cc-subnav-btn:focus-visible,
.conta-corrente-module :is(input, select, button):focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.conta-corrente-module .cc-filters {
  padding: 1rem;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-surface-hover);
}
.conta-corrente-module .cc-filters label { display: grid; gap: .375rem; min-width: 0; color: var(--color-text-main); font-size: .875rem; font-weight: 600; }
.conta-corrente-module .cc-filters .form-input { background: var(--color-surface); }
.conta-corrente-module .cc-empty-state { padding: 1.5rem; text-align: center; color: var(--color-text-muted); line-height: 1.6; }
.conta-corrente-module .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.conta-corrente-module .cc-empty-state strong,
.conta-corrente-module .cc-empty-state span { display: block; }
.conta-corrente-module .cc-empty-state strong { color: var(--color-text-main); margin-bottom: .375rem; }
.conta-corrente-module .data-table caption { text-align: left; }
.conta-corrente-module .table-responsive-wrapper { min-width: 0; }
@media (max-width: 600px) {
  .conta-corrente-module .cc-import-controls { grid-template-columns: minmax(0, 1fr); }
  .conta-corrente-module .cc-import-controls > :is(label, .form-hint, .alert) { grid-column: auto; }
  .conta-corrente-module .cc-import-controls > button { width: 100%; min-width: 0; }
  .conta-corrente-module .cc-filters { padding: .75rem; }
}
