#reportsTab { min-width: 0; }
#reportsTab .reports-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; background: #edf0f4; border: 1px solid #e0e5eb; border-radius: 8px; margin-bottom: 20px; }
#reportsTab .r-tab-btn { flex: 0 0 auto; min-height: 42px; padding: 9px 13px; border: 0; border-radius: 6px; font-size: 13px; color: #536174; background: transparent; white-space: nowrap; }
#reportsTab .r-tab-btn.active { background: #fff; color: #25344a; box-shadow: 0 1px 3px #18212f18; }
.overview-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.overview-heading h2 { font-size: 20px; font-weight: 700; margin: 0; }
.overview-heading span { font-size: 13px; color: #607084; font-variant-numeric: tabular-nums; }
#reports-data .stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid #e0e5eb; border-radius: 8px; background: #fff; margin-bottom: 20px; overflow: hidden; }
#reports-data .stat-card { min-width: 0; background: none; box-shadow: none; border: 0; border-right: 1px solid #e0e5eb; border-radius: 0; padding: 16px; text-align: left; }
#reports-data .stat-card:last-child { border-right: 0; }
#reports-data .stat-card > i { color: #167c79; font-size: 16px; margin-bottom: 8px; }
#reports-data .stat-card p { color: #607084; font-size: 12px; margin-bottom: 6px; }
#reports-data .stat-card h3 { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; color: #18212f; }
#reports-data > .grid-2 { gap: 20px; }
#reports-data > .grid-2 > .card { background: #fff; box-shadow: none; border: 0; border-bottom: 1px solid #dfe5ec; border-radius: 0; padding: 16px 0; margin: 0; min-width: 0; }
#reports-data .card-title { font-size: 16px; line-height: 1.4; }
#reports-data .chart-wrapper { height: 260px; min-height: 260px; max-width: 100%; }
#reports-data #categoryList > div { gap: 10px; }
#reports-data #categoryList span { overflow-wrap: anywhere; }
#reports-data #topExpensesList .tx-item { box-shadow: none; border-radius: 0; }
#reports-data #topExpensesList .tx-info { min-width: 0; }
#reports-data #topExpensesList h4 { overflow-wrap: anywhere; }
#reports-advanced-overview { border-top: 1px solid #dfe5ec; margin-top: 20px; padding: 20px 0; border-radius: 0; box-shadow: none; background: none; }
.advanced-report-header h3 { font-size: 17px; }
.report-metric { min-width: 0; box-shadow: none; border-radius: 6px; }
.report-metric strong { font-size: 17px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#s-security.security-settings { min-width: 0; flex-direction: column; align-items: stretch; gap: 0; }
.security-section { padding: 24px 0; border-bottom: 1px solid #dfe5ec; min-width: 0; width: 100%; flex: none; }
.security-section:first-child { padding-top: 0; }
.security-section:last-child { border-bottom: 0; padding-bottom: 0; }
.security-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.security-heading > i { color: #167c79; width: 20px; text-align: center; flex: none; }
.security-heading h3 { font-size: 17px; font-weight: 700; margin: 0; }
.security-account-state { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; overflow-wrap: anywhere; }
.security-account-state span, .security-section > p { color: #607084; font-size: 13px; line-height: 1.5; }
.security-section > p { margin-bottom: 14px; }
.security-actions, .security-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; margin-top: 14px; }
.security-field-row { margin-bottom: 14px; }
.security-section label { font-size: 13px; font-weight: 600; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.security-section input.input-box { margin: 0; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border-radius: 6px; }
.security-section .btn-primary, .security-section .btn-outline { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 14px; min-height: 46px; height: auto; width: 100%; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: normal; box-shadow: none; }
.security-section button span { overflow-wrap: anywhere; }
.security-section button i { flex: none; }
.security-section .btn-primary { background: #2865ac; color: #fff; }
.security-section .btn-outline { background: #fff; border: 1px solid #ccd5e0; color: #283b50; }
.security-danger .security-heading > i, .security-danger .btn-outline, .security-section .security-sign-out { color: #b42335; }
.security-danger .btn-outline { border-color: #ecc4cb; background: #fffafa; }
#s-security [hidden] { display: none !important; }
#transactionEntryHost { margin-bottom: 20px; }
.settings-page-title { font-family: inherit; }
.settings-page-title > i { font-size: 18px; color: #607084; }
#settingsTab > div:last-child { box-shadow: none !important; border-radius: 0 !important; border: 0 !important; background: transparent !important; padding: 16px 0 !important; }
#reports-data .stats-grid { gap: 0 !important; }
#reports-data .stat-card p { font-size: 12px !important; letter-spacing: 0 !important; }
#reports-data .stat-card h3 { font-size: 18px !important; letter-spacing: 0 !important; }
#reports-data > .grid-2 > .card { border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
@media (max-width: 768px) {
    #reports-data .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #reports-data .stat-card { border-bottom: 1px solid #e0e5eb; }
    #reports-data .stat-card:nth-child(2) { border-right: 0; }
    #reports-data .stat-card:nth-child(n+3) { border-bottom: 0; }
    #reports-data > .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) { .security-actions, .security-field-row { grid-template-columns: minmax(0, 1fr); } }
