body.finance-preview { display:grid; grid-template-columns:155px minmax(0,1fr); background:#ecf1f7; color:#1a3554; font:400 13px/1.45 var(--aven-site-font,system-ui,sans-serif); }
.finance-preview .finance-side { position:relative; inset:auto; width:auto; display:flex; flex-direction:column; gap:9px; padding:14px 9px; background:#111f34; color:#f0f6ff; }
.finance-side img { display:block; width:100%; height:auto; padding:8px; background:#f7faff; border-radius:7px; }
.finance-side p { margin:2px 0 5px; font-size:11px; color:#c8dcf4; }
.finance-side ul { list-style:none; padding:0; margin:0; }
.finance-side li { padding:6px 7px; border-radius:5px; }
.finance-side li[aria-current] { background:#263f60; font-weight:700; }
.finance-side small { color:#c8dcf4; margin-top:auto; }
.finance-preview .finance-main { margin:0; min-width:0; padding:0; }
.finance-preview .finance-main .finance-top { position:static; height:auto; min-height:40px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 10px; padding:9px 14px; background:#fff; color:#213950; border-bottom:1px solid #d3deeb; }
.finance-content { padding:clamp(9px,2vw,22px); }
.finance-preview .dash-intro { padding:clamp(12px,2vw,22px); margin:0 0 12px; }
.finance-preview .dash-intro h1 { font-family:inherit; font-weight:800; }
.finance-preview form,.finance-preview label { margin:0; }
.finance-today { display:flex; flex-wrap:wrap; gap:6px; }
.finance-today div { padding:7px 9px; border-radius:6px; color:#213e62; background:#f5f9ff; }
.finance-today span { display:block; }
.finance-preview .dash-notice { justify-content:space-between; gap:8px; margin-bottom:12px; }
.finance-preview .dash-notice a,.finance-entry { color:#193f69; text-decoration:underline; }
.finance-preview .dash-cards { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:12px; gap:8px; }
.finance-preview .dash-stat { min-height:68px; padding:9px; }
.finance-preview .dash-stat strong { font-size:clamp(13px,2vw,23px); }
.finance-preview .analytics-heading { gap:6px; flex-wrap:wrap; }
.finance-preview .analytics-heading form { display:flex; align-items:center; flex-wrap:wrap; gap:5px; }
.finance-preview .analytics-heading label { display:flex; align-items:center; gap:6px; }
.finance-preview .analytics-heading select,.finance-preview .analytics-heading button { font:inherit; width:auto; padding:5px; }
.finance-preview .dash-graph { min-width:0; }
.finance-entry { display:inline-block; margin-top:14px; font-weight:700; }
@media(max-width:620px) { body.finance-preview { grid-template-columns:minmax(0,1fr); } .finance-preview .finance-side { display:none; } }
@media(max-width:390px) { .finance-preview .dash-cards { grid-template-columns:1fr; } .finance-preview .dash-stat { min-height:0; } }
.finance-side nav { display:grid; gap:4px; }
.finance-side nav a { color:#edf5ff; text-decoration:none; padding:7px; border-radius:6px; }
.finance-side nav a:hover,.finance-side nav a[aria-current] { background:#263f60; font-weight:700; }
.finance-bottom { display:none; }
.finance-content .finance-view-title { margin:0 0 14px; color:#193958; font-family:inherit; font-size:clamp(23px,3vw,34px); font-weight:800; }
.finance-report-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr)); gap:9px; }
.finance-report-grid a,.finance-view-card { border:1px solid #d0deec; border-radius:9px; background:#fff; color:#1c4267; padding:12px; }
.finance-report-grid a { display:grid; gap:5px; text-decoration:none; }
.finance-report-grid a:hover { background:#f4f8fd; border-color:#92afd1; }
.finance-report-grid span { color:#4c6581; font-size:12px; }
.finance-view-card { margin:12px 0; }
.finance-view-card h2 { margin:0 0 10px; font-size:17px; }
.finance-criteria summary { cursor:pointer; font-weight:750; background:#e9f1fa; padding:8px; border-radius:5px; }
.finance-preview .finance-view-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr)); align-items:end; gap:8px; margin:12px 0; }
.finance-view-filters label { display:grid; gap:4px; min-width:0; }
.finance-view-filters input,.finance-view-filters select { width:100%; min-width:0; min-height:42px; font:inherit; }
.finance-view-filters button { justify-self:start; min-height:42px; background:#254e7e; color:white; font-weight:700; }
.finance-mobile-table { width:100%; }
.finance-mobile-table th,.finance-mobile-table td { padding:7px; font-size:13px; }
.finance-mobile-table th small { display:block; font-weight:400; color:#4b6681; }

@media(max-width:620px) {
    .finance-preview .finance-main { min-height:100dvh; padding-bottom:calc(66px + env(safe-area-inset-bottom)); }
    .finance-preview .finance-main .finance-top { position:sticky; inset:0 0 auto; z-index:2; padding:8px 12px; }
    .finance-preview .finance-bottom {
        display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; position:fixed; z-index:5;
        inset:auto 0 0; padding:5px 4px calc(5px + env(safe-area-inset-bottom));
        background:#fff; border-top:1px solid #d0deec; box-shadow:0 -4px 18px #193f6918;
    }
    .finance-bottom a { display:grid; place-content:center; justify-items:center; gap:1px; min-height:47px; border-radius:8px; color:#1a4268; text-decoration:none; font-size:11px; font-weight:700; }
    .finance-bottom span { font-size:17px; line-height:1; }
    .finance-bottom a[aria-current] { background:#dceafd; color:#092c51; }
    .finance-mobile-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
    .finance-mobile-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px 5px; padding:8px; border:1px solid #d3e0ec; border-radius:7px; margin-bottom:6px; }
    .finance-mobile-table th[scope=row] { grid-column:1/-1; }
    .finance-mobile-table td::before { content:attr(data-label); display:block; color:#4b6681; font-size:10px; }
}
