/* Budgetingwise V6: all-page legibility, side navigation and responsive layout. */
#dashboardView{--bw-page-text:#1b2859;--bw-page-sub:#52628a;--bw-page-card:#fff;--bw-page-border:#dfe5f6}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading{background:linear-gradient(110deg,#ffffff 0%,#f5f2ff 65%,#ece8ff 100%)!important;border:1px solid #dcdff5!important;border-radius:19px!important;padding:21px 23px!important;margin-bottom:18px!important;box-shadow:0 8px 22px #384b8510!important;min-height:0!important}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading h2{font-size:clamp(23px,2.6vw,30px)!important;line-height:1.15!important;letter-spacing:-.045em!important;margin:6px 0!important;color:#1c285d!important}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading h2 .bw-semantic-icon{color:var(--bw-brand-chart,#7144f6)!important}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading .eyebrow{color:#6550b9!important;font-size:10px!important;letter-spacing:.14em!important}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading p.muted{color:#53618b!important;font-size:12px!important;line-height:1.6!important}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading .insight-pill{background:#fff!important;color:#583ab4!important;border:1px solid #ddd7f7!important}
#dashboardView[data-display-mode=light] .page:not(.bw-v2-dashboard) .insight-cards article{background:#fff!important;border:1px solid #e0e5f4!important;box-shadow:0 7px 22px #364b8a0c!important}
#dashboardView[data-display-mode=light] .page:not(.bw-v2-dashboard) .insight-cards article span,#dashboardView[data-display-mode=light] .page:not(.bw-v2-dashboard) .insight-cards article small{color:#59688f!important}
#dashboardView[data-display-mode=light] .page:not(.bw-v2-dashboard) .insight-cards article strong{color:#19275a!important;font-size:clamp(23px,2.4vw,31px)!important;opacity:1!important;visibility:visible!important}
#dashboardView[data-display-mode=light] #page-transactions .tx-summary-card,#dashboardView[data-display-mode=light] #page-transactions .tx-stat-card,#dashboardView[data-display-mode=light] #page-transactions .tx-stat{background:#fff!important;color:#1a285b!important;border:1px solid #dfe5f5!important}
#dashboardView[data-display-mode=light] #page-transactions .tx-summary-card *,#dashboardView[data-display-mode=light] #page-transactions .tx-stat-card *,#dashboardView[data-display-mode=light] #page-transactions .tx-stat *{color:#243364!important}
#dashboardView[data-display-mode=light] #page-transactions .tx-summary-card strong,#dashboardView[data-display-mode=light] #page-transactions .tx-stat-card strong,#dashboardView[data-display-mode=light] #page-transactions .tx-stat strong{color:#152456!important}
#dashboardView[data-display-mode=light] #page-transactions .tx-toolbar,#dashboardView[data-display-mode=light] #page-transactions .transaction-toolbar{background:#f6f7ff!important;border:1px solid #dfe4f5!important;color:#273467!important}
#dashboardView[data-display-mode=light] #page-savings .goals-banner{background:linear-gradient(115deg,#ece6ff,#dedfff 65%,#e9f3ff)!important;color:#1c2860!important;border:1px solid #dcd8f8!important}
#dashboardView[data-display-mode=light] #page-savings .goals-banner h3,#dashboardView[data-display-mode=light] #page-savings .goals-banner p,#dashboardView[data-display-mode=light] #page-savings .goals-banner strong{color:#1b2860!important}
#dashboardView[data-display-mode=light] #page-insights .bw-intelligence-banner{background:linear-gradient(115deg,#e8e1ff,#f5f2ff 62%,#e7efff)!important}
#dashboardView[data-display-mode=light] #page-insights .bw-intelligence-banner h3,#dashboardView[data-display-mode=light] #page-insights .bw-intelligence-banner span,#dashboardView[data-display-mode=light] #page-insights .bw-intelligence-banner p{color:#1a285d!important;text-shadow:none!important}
#dashboardView[data-display-mode=light] .page:not(.bw-v2-dashboard) .premium-panel-head h3{color:#1c295d!important}
#dashboardView[data-display-mode=light] .page:not(.bw-v2-dashboard) .premium-panel .muted,#dashboardView[data-display-mode=light] .page:not(.bw-v2-dashboard) .premium-panel p{color:#53648c!important}
#dashboardView[data-display-mode=light] #page-transactions .tx-empty,#dashboardView[data-display-mode=light] #page-transactions .tx-empty *,#dashboardView[data-display-mode=light] #page-analytics .analytics-category-list .muted{color:#56658c!important;opacity:1!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .section-heading{background:linear-gradient(110deg,#292d4d,#322c5a)!important;border-color:#55547a!important;box-shadow:0 9px 24px #070a241e!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .section-heading h2,#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .section-heading h2 .bw-semantic-icon{color:#f7f4ff!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .section-heading .eyebrow{color:#c6b2ff!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .section-heading p.muted{color:#d1d2ed!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .section-heading .insight-pill{background:#3c3c68!important;border-color:#66658d!important;color:#f6f2ff!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .insight-cards article{background:#252a49!important;border:1px solid #4b5075!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .insight-cards article strong{color:#fff!important;opacity:1!important;visibility:visible!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .insight-cards article span,#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .insight-cards article small{color:#cbd0eb!important}
#dashboardView[data-display-mode=dark] #page-transactions .tx-summary-card,#dashboardView[data-display-mode=dark] #page-transactions .tx-stat-card,#dashboardView[data-display-mode=dark] #page-transactions .tx-stat{background:#252a49!important;border:1px solid #4d5179!important}
#dashboardView[data-display-mode=dark] #page-transactions .tx-summary-card *,#dashboardView[data-display-mode=dark] #page-transactions .tx-stat-card *,#dashboardView[data-display-mode=dark] #page-transactions .tx-stat *{color:#f1f0ff!important}
#dashboardView[data-display-mode=dark] #page-savings .goals-banner{background:linear-gradient(115deg,#342d66,#453484)!important;border:1px solid #6154a0!important}
#dashboardView[data-display-mode=dark] #page-savings .goals-banner h3,#dashboardView[data-display-mode=dark] #page-savings .goals-banner p{color:#f8f6ff!important}
#dashboardView[data-display-mode=dark] #page-insights .bw-intelligence-banner{background:linear-gradient(115deg,#302d5d,#353258)!important}
#dashboardView[data-display-mode=dark] #page-insights .bw-intelligence-banner h3,#dashboardView[data-display-mode=dark] #page-insights .bw-intelligence-banner p,#dashboardView[data-display-mode=dark] #page-insights .bw-intelligence-banner span{color:#f8f6ff!important}
#dashboardView[data-display-mode=dark] .page:not(.bw-v2-dashboard) .premium-panel-head h3{color:#f8f7ff!important}
#dashboardView .premium-sidebar{position:sticky!important;top:0;align-self:flex-start;height:100vh!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:#b2a2eb transparent}
#dashboardView .premium-main{min-width:0!important}
#dashboardView .page{min-width:0}
#dashboardView .premium-panel,#dashboardView .insight-layout>*{min-width:0}
#dashboardView .page:not(.bw-v2-dashboard) .premium-panel{overflow-wrap:anywhere}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading{flex-wrap:wrap}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading>button,#dashboardView .page:not(.bw-v2-dashboard) .section-heading>.insight-pill{flex-shrink:0}
#dashboardView .mobile-nav-toggle,#dashboardView .mobile-nav-backdrop{display:none}
@media(max-width:1100px){#dashboardView .insight-layout{grid-template-columns:minmax(0,1fr)!important}#dashboardView .premium-content{padding:16px!important}#dashboardView .page:not(.bw-v2-dashboard) .section-heading{padding:18px!important}}
@media(max-width:760px){
#dashboardView .premium-shell{display:block!important}
#dashboardView .premium-main{width:100%!important;margin:0!important}
#dashboardView .premium-sidebar{position:fixed!important;z-index:1100!important;top:0!important;left:0!important;bottom:0!important;width:min(82vw,290px)!important;min-width:0!important;height:100dvh!important;max-height:100dvh!important;transform:translateX(-105%);transition:transform .24s ease!important;border-radius:0 20px 20px 0!important;padding:18px 13px!important;display:flex!important;flex-direction:column!important;box-shadow:12px 0 35px #10143730!important}
#dashboardView.bw-mobile-nav-open .premium-sidebar{transform:translateX(0)}
#dashboardView .premium-sidebar .sidebar-logo strong{font-size:13px!important}
#dashboardView .premium-sidebar .sidebar-logo small{font-size:8px!important}
#dashboardView .premium-sidebar .sidebar-nav{display:grid!important;overflow:visible!important;padding:0 5px!important;gap:4px!important}
#dashboardView .premium-sidebar .sidebar-nav .nav-btn{display:flex!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;font-size:13px!important;white-space:normal!important;padding:12px!important}
#dashboardView .premium-sidebar .sidebar-nav .nav-btn>span{font-size:20px!important}
#dashboardView .premium-sidebar .bw-sidebar-workspace{display:block!important}
#dashboardView .premium-sidebar .sidebar-bottom{display:block!important}
#dashboardView .premium-sidebar .bw-premium-box{display:none!important}
#dashboardView .premium-sidebar .sidebar-profile{display:flex!important}
#dashboardView .mobile-nav-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;border:1px solid #dddff5;background:#fff;color:#5234ba;cursor:pointer}
#dashboardView .mobile-nav-toggle svg{width:22px;height:22px}
#dashboardView .mobile-nav-backdrop{display:block!important;position:fixed;inset:0;background:#12162b9c;z-index:1090;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
#dashboardView.bw-mobile-nav-open .mobile-nav-backdrop{opacity:1;visibility:visible;pointer-events:auto}
#dashboardView .premium-topbar{padding:12px!important;gap:9px!important;display:flex!important}
#dashboardView .premium-search{flex:1;min-width:0;width:auto!important}
#dashboardView .premium-search input{min-width:0;width:100%}
#dashboardView .topbar-right{gap:7px!important}
#dashboardView .topbar-profile{display:none!important}
#dashboardView .premium-content{padding:13px!important}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading{padding:16px!important;gap:12px!important}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading h2{font-size:24px!important}
#dashboardView .insight-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#dashboardView .insight-layout{grid-template-columns:1fr!important}
#dashboardView .premium-chart-grid,#dashboardView .premium-bottom-grid,#dashboardView .bw-v2-dashboard,#dashboardView .bw-v2-lower{grid-template-columns:1fr!important}
#dashboardView .bw-v2-right-rail{grid-template-columns:1fr!important}
#dashboardView .bw-v2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#dashboardView .transaction-toolbar,#dashboardView .analytics-filterbar{flex-wrap:wrap!important;gap:9px!important}
#dashboardView .transaction-toolbar input,#dashboardView .transaction-toolbar select{min-width:0;max-width:100%}
#dashboardView .premium-panel{min-width:0}
#dashboardView .premium-tx-table{display:block;overflow-x:auto;max-width:100%}
#dashboardView .page:not(.bw-v2-dashboard) .goals-banner{padding:20px!important;gap:12px!important}
#dashboardView .page:not(.bw-v2-dashboard) .bw-intelligence-banner{padding:19px!important}
}
@media(max-width:460px){
#dashboardView .premium-content{padding:10px!important}
#dashboardView .premium-topbar{padding:10px!important}
#dashboardView .topbar-right .bw-topbar-help{display:none}
#dashboardView .insight-cards{grid-template-columns:1fr!important}
#dashboardView .bw-v2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#dashboardView .bw-v2-metrics .premium-metric{padding:12px!important;min-height:110px!important}
#dashboardView .bw-v2-metrics .premium-metric strong{font-size:20px!important}
#dashboardView .bw-v2-right-rail{grid-template-columns:1fr!important}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading>button{width:100%}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading>.insight-pill{max-width:100%;white-space:normal}
#dashboardView .page:not(.bw-v2-dashboard) .section-heading h2{font-size:22px!important}
#dashboardView .bw-intelligence-grid{grid-template-columns:1fr!important}
#dashboardView .bw-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){#dashboardView .premium-sidebar,#dashboardView .mobile-nav-backdrop{transition:none!important}}
