    .stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
    .fin-stat{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;box-shadow:var(--shadow);animation:fadeUp .4s ease both}
    .fin-stat-label{font-size:12px;color:var(--text-muted);font-weight:500;margin-bottom:6px}
    .fin-stat-value{font-size:26px;font-weight:800}
    .fin-stat-sub{font-size:11px;color:var(--text-muted);margin-top:4px}
    .fin-stat-badge{display:inline-flex;align-items:center;font-size:11px;font-weight:700;padding:2px 8px;border-radius:50px;margin-top:6px}
    .fin-stat-badge.up{background:rgba(39,174,96,.12);color:#1a7a3f}
    .fin-stat-badge.down{background:rgba(231,76,60,.12);color:#c0392b}
    .two-col{display:grid;grid-template-columns:2fr 1fr;gap:20px}
    .fin-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;animation:fadeUp .4s ease both}
    .fin-card-header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid var(--border)}
    .fin-card-header h3{font-size:15px;font-weight:700}
    .period-select{border:1px solid var(--border);background:#fff;padding:6px 12px;border-radius:8px;font-size:12px;font-family:'Inter',sans-serif;outline:none;cursor:pointer}
    /* Chart bars */
    .chart-area{padding:20px 22px}
    .chart-bars{display:flex;align-items:flex-end;gap:8px;height:160px}
    .bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}
    .bar{width:100%;border-radius:6px 6px 0 0;transition:height .8s ease;background:linear-gradient(to top,var(--primary),var(--primary-light));cursor:pointer;min-height:4px;position:relative}
    .bar:hover{opacity:.85}
    .bar-tooltip{position:absolute;top:-32px;left:50%;transform:translateX(-50%);background:#1a1a1a;color:#fff;font-size:11px;font-weight:600;padding:3px 8px;border-radius:6px;white-space:nowrap;display:none}
    .bar:hover .bar-tooltip{display:block}
    .bar-label{font-size:10px;color:var(--text-muted);font-weight:500}
    /* Transactions table */
    table{width:100%;border-collapse:collapse}
    thead th{padding:10px 18px;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);font-weight:700;text-align:left;background:var(--bg);border-bottom:1px solid var(--border)}
    tbody tr{border-bottom:1px solid var(--border);transition:background .15s}
    tbody tr:last-child{border-bottom:none}
    tbody tr:hover{background:#faf9f8}
    td{padding:12px 18px;font-size:13px}
    .tx-type{display:flex;align-items:center;gap:10px}
    .tx-icon{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
    .tx-name{font-size:13px;font-weight:600}
    .tx-date{font-size:11px;color:var(--text-muted)}
    .tx-amount-in{font-weight:700;color:var(--green)}
    .tx-amount-out{font-weight:700;color:#e74c3c}
    /* Compte tampon */
    .compte-card{padding:20px}
    .compte-balance{font-size:32px;font-weight:800;color:var(--primary);margin:8px 0}
    .compte-meta{font-size:12px;color:var(--text-muted)}
    .compte-bar{height:8px;background:var(--bg);border-radius:50px;overflow:hidden;margin:12px 0}
    .compte-bar-fill{height:100%;background:linear-gradient(90deg,var(--primary),var(--primary-light));border-radius:50px;transition:width .8s ease}
    @media(max-width:1100px){.stats-row{grid-template-columns:repeat(2,1fr)}}
    @media(max-width:900px){.two-col{grid-template-columns:1fr}}
    @media(max-width:600px){.stats-row{grid-template-columns:1fr}}