@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--bg:#f3f7f2;--surface:#fff;--text:#1d3529;--muted:#738177;--quiet:#98a49b;--line:#e6ece5;--line-strong:#d6e1d7;--green:#267c58;--green-dark:#1d6748;--green-soft:#e8f3e9;--coral:#ce725d;--coral-soft:#fff0e9;--shadow:0 16px 42px #214a3010;font-family:'DM Sans',system-ui,sans-serif;background:var(--bg);color:var(--text);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 76% -8%,#dfefe1 0%,transparent 34%),var(--bg);line-height:1.5}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{color:inherit}.topbar{height:76px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 max(26px,calc((100vw - 1180px)/2));border-bottom:1px solid #dfe8df;background:#f8fbf7e8;backdrop-filter:blur(14px)}.brand{justify-self:start;display:flex;align-items:center;gap:10px}.brand-logo{width:38px;height:38px;flex:none;filter:drop-shadow(0 4px 8px #21734f24)}.brand>span{font:800 12px 'Manrope',sans-serif;letter-spacing:.15em}.brand small{display:block;margin-top:3px;color:var(--muted);font:8px 'DM Sans',sans-serif;letter-spacing:.15em}.top-nav{display:flex;gap:8px}.nav-link{padding:9px 14px;border-radius:99px;color:var(--muted);font-size:12px;font-weight:600}.nav-link:hover,.nav-link.active{background:#e9f1e9;color:var(--green-dark)}.back-link{justify-self:end;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}.page{width:min(1180px,calc(100% - 48px));margin:auto;padding:50px 0 28px}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:28px}.eyebrow{display:block;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.status-dot{display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#67ad72;box-shadow:0 0 0 4px #67ad721b}.welcome-copy h1{margin:14px 0 8px;font:800 clamp(38px,5vw,58px)/1.02 'Manrope',sans-serif;letter-spacing:-.06em}.welcome-copy h1 span{color:var(--green)}.welcome-copy p{margin:0;color:var(--muted);font-size:14px}.month-control{width:226px;flex:none;padding:15px 17px;border:1px solid var(--line);border-radius:16px;background:#ffffffc7;box-shadow:var(--shadow)}.month-field{display:flex;align-items:center;gap:9px;margin-top:10px}.calendar-icon{color:var(--green);font-size:19px}.month-field input{width:100%;border:0;background:transparent;color:var(--text);color-scheme:light;font:700 14px 'Manrope',sans-serif;outline:none}.month-control small{display:block;margin-top:6px;color:var(--quiet);font-size:10px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.summary-card{position:relative;min-height:140px;padding:19px 20px;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:var(--shadow)}.summary-card:after{position:absolute;right:-24px;bottom:-49px;width:112px;height:112px;border:1px solid #287c5811;border-radius:50%;content:''}.summary-top{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:600}.summary-icon{display:grid;width:29px;height:29px;place-items:center;border-radius:10px;background:var(--green-soft);color:var(--green);font-size:17px}.spending-card .summary-icon{background:var(--coral-soft);color:var(--coral)}.balance-card .summary-icon{background:#f1f0fb;color:#7770a1}.budget-summary-card .summary-icon{background:#fff5dc;color:#b48735}.summary-card strong{display:block;margin-top:13px;font:800 clamp(19px,2vw,25px)/1.15 'Manrope',sans-serif;letter-spacing:-.04em}.income-card strong{color:var(--green)}.spending-card strong{color:var(--coral)}.summary-card small{display:block;margin-top:5px;color:var(--quiet);font-size:10px}.dashboard-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:16px;margin-bottom:16px}.panel{border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow)}.budget-panel,.entry-panel,.category-panel,.transactions-panel{padding:22px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.panel-heading h2{margin:5px 0 0;font:800 19px 'Manrope',sans-serif;letter-spacing:-.04em}.heading-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;font-size:19px}.budget-icon{background:#fff3da;color:#bd8b31}.entry-icon{background:var(--green-soft);color:var(--green)}.chart-icon{background:#f0f1fb;color:#7974a6}.panel-intro{margin:11px 0 18px;color:var(--muted);font-size:12px}.budget-panel label,.field{display:block;color:var(--text);font-size:11px;font-weight:700}.budget-panel label small,.field small{color:var(--quiet);font-weight:500}.input-action-row{display:flex;gap:8px;margin-top:7px}.input-action-row input,.field input,.field select{width:100%;height:42px;padding:0 12px;border:1px solid var(--line-strong);border-radius:10px;background:#fbfcfa;color:var(--text);outline:none;font-size:12px}.input-action-row input:focus,.field input:focus,.field select:focus,.search-box:focus-within{border-color:#68a782;box-shadow:0 0 0 3px #68a7821c}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px;border:1px solid var(--line-strong);border-radius:10px;background:#f7faf6;color:var(--text);font-size:11px;font-weight:700;cursor:pointer}.button:hover{border-color:#b8cdbb;background:#edf5ec}.button.primary{width:100%;height:43px;margin-top:17px;border-color:var(--green);background:var(--green);color:#fff}.button.primary:hover{background:var(--green-dark)}.button.secondary{flex:none;min-width:91px;background:var(--green-soft);border-color:#d7e9d8;color:var(--green-dark)}.budget-progress-copy{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-top:23px}.budget-progress-copy .eyebrow{font-size:8px}.budget-progress-copy strong{display:block;margin-top:5px;font:800 18px 'Manrope',sans-serif}.budget-percent{padding:5px 9px;border-radius:99px;background:#f2f6f0;color:var(--muted);font-size:10px;font-weight:700}.progress-track{height:8px;margin-top:12px;overflow:hidden;border-radius:99px;background:#edf1eb}.progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#83c582,#267c58);transition:width .35s}.progress-track span.over-budget{background:linear-gradient(90deg,#eca67b,#ce725d)}.budget-hint{margin:10px 0 0;color:var(--muted);font-size:10px}.transaction-form{margin-top:17px}.field input,.field select{display:block;margin-top:7px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px}.form-note{margin:10px 0 0;color:var(--quiet);font-size:9px}.insights-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:16px}.category-breakdown{display:grid;gap:15px;margin-top:23px}.category-row{display:grid;grid-template-columns:minmax(72px,.45fr) 1fr auto;align-items:center;gap:10px}.category-name{overflow:hidden;color:var(--muted);font-size:10px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.category-track{height:7px;overflow:hidden;border-radius:99px;background:#edf2ec}.category-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#96cf88,#31815a)}.category-amount{font-size:10px;font-weight:700;white-space:nowrap}.chart-empty{margin:24px 0 4px;color:var(--quiet);font-size:11px;line-height:1.7}.transactions-heading{align-items:center}.export-button{min-height:34px;background:#f8faf7;color:var(--green-dark);font-size:10px}.transaction-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px}.search-box{display:flex;align-items:center;gap:7px;width:min(230px,50%);height:35px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fbfcfa;color:var(--quiet)}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:10px}.filters{display:flex;gap:3px;padding:3px;border-radius:99px;background:#f3f6f1}.filter{padding:6px 9px;border:0;border-radius:99px;background:transparent;color:var(--muted);font-size:9px;font-weight:700;cursor:pointer}.filter.active{background:#fff;color:var(--green-dark);box-shadow:0 1px 4px #1e452011}.list-caption{display:flex;justify-content:space-between;margin-top:17px;padding-bottom:8px;border-bottom:1px solid var(--line);color:var(--quiet);font-size:9px}.transaction-list{margin:0;padding:0;list-style:none}.transaction-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:61px;border-bottom:1px solid #eef1ed}.category-glyph{display:grid;width:34px;height:34px;place-items:center;border-radius:12px;background:var(--green-soft);color:var(--green);font-size:15px}.category-glyph.expense{background:var(--coral-soft);color:var(--coral)}.transaction-main{min-width:0}.transaction-title{display:block;overflow:hidden;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.transaction-meta{display:block;margin-top:3px;color:var(--quiet);font-size:9px}.transaction-amount{font-size:11px;font-weight:800;white-space:nowrap}.transaction-amount.income{color:var(--green)}.transaction-amount.expense{color:var(--coral)}.transaction-actions{display:flex;gap:3px}.row-action{display:grid;width:27px;height:27px;place-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#95a098;font-size:13px;cursor:pointer}.row-action:hover{border-color:var(--line);background:#f7faf6;color:var(--green-dark)}.row-action.delete:hover{background:var(--coral-soft);color:var(--coral)}.empty-state{margin:0;padding:25px 0;color:var(--quiet);font-size:11px;text-align:center}.app-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 2px 0;color:var(--quiet);font-size:9px}.footer-brand{display:flex;align-items:center;gap:8px;color:var(--muted);font-weight:700}.app-footer p{margin:0}.app-footer b{color:#70a97b}.toast{position:fixed;right:22px;bottom:22px;z-index:5;max-width:min(370px,calc(100vw - 36px));padding:12px 16px;border:1px solid #dce8dc;border-radius:12px;background:#fff;color:var(--text);font-size:11px;font-weight:600;box-shadow:0 12px 34px #213f2a1c;opacity:0;transform:translateY(9px);pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translateY(0)}:focus-visible{outline:2px solid #4e9972;outline-offset:3px}
@media(max-width:900px){.topbar{padding:0 22px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-grid{grid-template-columns:1fr}}
@media(max-width:650px){.topbar{height:68px;grid-template-columns:1fr auto;padding:0 17px}.top-nav{display:none}.back-link{font-size:9px}.page{width:calc(100% - 32px);padding:34px 0 22px}.welcome-row{align-items:flex-start;flex-direction:column;gap:20px}.welcome-copy h1{font-size:43px}.month-control{width:100%;padding:12px 14px}.dashboard-grid{grid-template-columns:1fr}.summary-grid{gap:9px}.summary-card{min-height:126px;padding:15px}.summary-card strong{font-size:19px}.summary-card small{font-size:9px}.budget-panel,.entry-panel,.category-panel,.transactions-panel{padding:18px}.transaction-tools{align-items:flex-start;flex-direction:column}.search-box{width:100%}.filters{width:100%;justify-content:space-between}.filter{flex:1}.transaction-row{grid-template-columns:32px minmax(0,1fr) auto auto;gap:7px}.category-glyph{width:30px;height:30px}.transaction-amount{font-size:10px}.row-action{width:25px;height:25px}.app-footer{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:380px){.summary-card{padding:13px 11px}.summary-card strong{font-size:17px}.summary-top{font-size:10px}.transaction-row{grid-template-columns:28px minmax(0,1fr) auto}.transaction-actions{grid-column:2/-1;justify-self:end;margin-top:-5px;margin-bottom:6px}.form-row{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
.topbar{position:sticky;top:0;z-index:20;box-shadow:0 5px 18px #1d35290b}.page [id]{scroll-margin-top:92px}
@media(max-width:650px){.topbar{height:auto;min-height:0;grid-template-rows:62px 43px;padding:0 17px 3px}.top-nav{display:flex;grid-column:1/-1;grid-row:2;justify-content:center;gap:5px;border-top:1px solid var(--line)}.nav-link{padding:6px 12px;font-size:10px}.page [id]{scroll-margin-top:116px}}
.nav-link.active{background:var(--green);color:#fff;box-shadow:0 4px 12px #267c5833}

/* App-style sidebar inspired by the supplied reference */
.topbar{position:fixed;inset:0 auto 0 0;width:238px;height:100vh;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:34px;padding:27px 16px;border:0;border-right:1px solid var(--line);background:#f8fbf7f2;backdrop-filter:blur(16px);box-shadow:8px 0 28px #214a3008}.brand{gap:11px;padding:0 8px}.brand-name{font:800 14px Manrope,sans-serif;letter-spacing:-.03em;white-space:nowrap}.brand-name small{display:block;margin-top:3px;color:var(--muted);font:700 8px "DM Sans",sans-serif;letter-spacing:.13em}.top-nav{display:grid;gap:6px;align-items:stretch}.nav-link{display:flex;align-items:center;gap:12px;min-height:43px;padding:0 12px;border:1px solid transparent;border-radius:11px;color:var(--muted);font-size:12px;font-weight:600}.nav-icon{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:#eef4ed;color:#728b78;font-size:15px}.nav-link:hover{background:#edf4ec;color:var(--green-dark)}.nav-link.active{background:var(--green);color:#fff;box-shadow:0 5px 14px #267c5830}.nav-link.active .nav-icon{background:#ffffff2c;color:#fff}.sidebar-note{display:flex;align-items:flex-start;gap:10px;margin-top:auto;padding:13px 11px;border:1px solid #e3ece1;border-radius:13px;background:#f0f6ef}.sidebar-note-icon{display:grid;width:25px;height:25px;flex:none;place-items:center;border-radius:8px;background:#dcecdc;color:var(--green);font-size:13px}.sidebar-note strong,.sidebar-note small{display:block}.sidebar-note strong{color:var(--text);font-size:10px}.sidebar-note small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.45}.page{width:auto;max-width:1180px;margin:0 34px 0 272px;padding-top:42px;padding-bottom:28px}.page [id]{scroll-margin-top:28px}
@media(max-width:900px) and (min-width:651px){.topbar{width:200px;padding:24px 13px}.page{margin-left:226px;margin-right:22px}.brand-name{font-size:12px}}
@media(max-width:650px){.topbar{position:sticky;inset:auto;width:100%;height:auto;min-height:0;display:flex;flex-direction:column;gap:10px;padding:11px 16px 8px;border:0;border-bottom:1px solid var(--line);box-shadow:0 5px 18px #1d35290b}.brand{padding:0}.brand-logo{width:34px;height:34px}.brand-name{font-size:13px}.top-nav{display:flex;gap:5px;overflow-x:auto;padding:7px 0 0;border-top:1px solid var(--line);scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}.nav-link{flex:none;min-height:36px;padding:0 11px;font-size:10px}.nav-icon{width:21px;height:21px;font-size:13px}.sidebar-note{display:none}.page{width:calc(100% - 32px);max-width:none;margin:0 auto;padding:28px 0 22px}.page [id]{scroll-margin-top:108px}}
/* Dashboard and account views */
.top-nav .nav-link{width:100%;text-align:left;cursor:pointer;font-family:inherit}.app-view[hidden]{display:none!important}.subpage{min-height:calc(100vh - 88px)}.subpage-heading{margin:5px 0 25px}.subpage-heading h1{margin:10px 0 7px;font:800 clamp(32px,4vw,46px)/1.05 Manrope,sans-serif;letter-spacing:-.055em}.subpage-heading p{margin:0;color:var(--muted);font-size:13px}.history-panel{padding:22px}.history-controls{display:flex;justify-content:space-between;align-items:center;gap:14px}.history-controls .search-box{width:min(360px,60%)}.period-control{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px;font-weight:700}.period-control select{height:36px;padding:0 10px;border:1px solid var(--line-strong);border-radius:9px;background:#fbfcfa;color:var(--text);font:600 10px 'DM Sans',sans-serif}.history-filters{display:flex;gap:5px;margin-top:16px;padding:4px;width:max-content;border-radius:99px;background:#f3f6f1}.history-filters .filter{padding:7px 12px}.history-summary{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding:0 0 10px;border-bottom:1px solid var(--line);color:var(--quiet);font-size:10px}.history-list{max-height:calc(100vh - 390px);min-height:130px;overflow:auto}.history-list .transaction-row{min-height:66px}.profile-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:16px}.profile-card,.profile-form-card,.settings-card{padding:23px}.profile-card{text-align:center}.profile-avatar{display:grid;width:74px;height:74px;margin:4px auto 16px;place-items:center;border-radius:25px;background:linear-gradient(145deg,#dcefe0,#b9debf);color:var(--green-dark);font:800 29px Manrope,sans-serif}.profile-card h2{margin:7px 0;font:800 20px Manrope,sans-serif}.profile-card p{max-width:280px;margin:0 auto;color:var(--muted);font-size:11px;line-height:1.7}.profile-form-card form{margin-top:22px}.profile-form-card .button.primary{margin-top:18px}.privacy-card{display:flex;gap:13px;align-items:flex-start;margin-top:16px;padding:17px 19px;background:#f5faf3}.privacy-check{display:grid;width:29px;height:29px;flex:none;place-items:center;border-radius:10px;background:#e2f0df;color:var(--green)}.privacy-card strong{font-size:12px}.privacy-card p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.65}.settings-card{margin-bottom:15px}.settings-card>.panel-heading{margin-bottom:12px}.settings-copy{max-width:650px;margin:12px 0 17px;color:var(--muted);font-size:11px;line-height:1.7}.settings-actions{display:flex;gap:9px;flex-wrap:wrap}.file-button{cursor:pointer}.settings-note{margin:12px 0 0;color:var(--quiet);font-size:9px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid var(--line)}.setting-row strong,.setting-row small{display:block}.setting-row strong{font-size:11px}.setting-row small{margin-top:4px;color:var(--muted);font-size:9px}.setting-status{padding:6px 10px;border-radius:99px;background:var(--green-soft);color:var(--green-dark);font-size:9px;font-weight:800}.danger-card{display:flex;align-items:center;justify-content:space-between;gap:20px;border-color:#f0ddd5}.danger-card h2{margin:5px 0 0;font:800 17px Manrope,sans-serif}.danger-card .settings-copy{margin-bottom:0}.danger-button{flex:none;border-color:#f0d2c9;background:#fff5f0;color:#a44f3d}.danger-button:hover{border-color:#e6a998;background:#ffede6}
@media(max-width:900px) and (min-width:651px){.profile-layout{grid-template-columns:1fr}.top-nav .nav-link{font-size:11px}}
@media(max-width:650px){.top-nav .nav-link{width:auto}.history-controls{align-items:stretch;flex-direction:column}.history-controls .search-box{width:100%}.period-control{justify-content:space-between}.history-panel,.profile-card,.profile-form-card,.settings-card{padding:17px}.history-list{max-height:none}.profile-layout{grid-template-columns:1fr}.danger-card{align-items:flex-start;flex-direction:column}.settings-actions>*{flex:1}.history-summary{gap:10px}.history-summary .button{font-size:9px;padding:0 9px}}

/* Dedicated app views and quick navigation */
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 17px}.quick-link{display:flex;align-items:center;gap:12px;min-height:72px;padding:13px 15px;border:1px solid var(--line);border-radius:15px;background:#ffffffd9;text-align:left;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}.quick-link:hover{transform:translateY(-2px);border-color:#c8ddc8;box-shadow:0 10px 24px #214a3010}.quick-link-icon{display:grid;width:37px;height:37px;flex:none;place-items:center;border-radius:12px;background:#fff3da;color:#bd8b31;font-size:19px}.activity-quick-icon{background:var(--green-soft);color:var(--green)}.quick-link>span:nth-child(2){min-width:0;flex:1}.quick-link strong,.quick-link small{display:block}.quick-link strong{font-size:11px}.quick-link small{margin-top:3px;color:var(--muted);font-size:9px}.quick-link>b{color:var(--green);font-size:16px}.dashboard-grid{grid-template-columns:1fr;max-width:720px}.budget-layout{display:grid;gap:14px;max-width:760px}.budget-guidance{display:flex;align-items:flex-start;gap:13px;padding:17px 19px}.budget-guidance strong{font-size:11px}.budget-guidance p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.7}.app-view.subpage{animation:view-enter .2s ease-out}@keyframes view-enter{from{opacity:.68;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.dashboard-shortcuts{grid-template-columns:1fr;gap:8px}.quick-link{min-height:64px;padding:10px 12px}.budget-guidance{padding:15px}}

/* Personal dashboard greeting and cashflow snapshot */
.welcome-copy h1{max-width:100%;overflow-wrap:anywhere}.cashflow-panel{margin:0 0 17px;padding:23px 25px;background:linear-gradient(125deg,#fff 0%,#fbfdf9 55%,#f0f7ef 100%)}.cashflow-heading{align-items:center}.cashflow-heading h2{margin:5px 0 0;font:800 20px Manrope,sans-serif;letter-spacing:-.04em}.cashflow-heading p{margin:5px 0 0;color:var(--muted);font-size:11px}.cashflow-icon{background:#e9f3e8;color:var(--green)}.cashflow-content{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);align-items:center;gap:30px;max-width:760px;margin:12px auto 0}.cashflow-ring-wrap{display:grid;place-items:center;padding:8px}.cashflow-ring{position:relative;display:grid;width:min(210px,100%);height:auto;aspect-ratio:1;place-items:center;border-radius:50%;background:conic-gradient(from -90deg,var(--green) 0 var(--income-share,50%),var(--coral) var(--income-share,50%) 100%);filter:drop-shadow(0 8px 15px #267c5812)}.cashflow-ring.empty{background:conic-gradient(var(--line) 0 100%);filter:none}.cashflow-ring:before{position:absolute;inset:14px;border:1px solid #e8eee6;border-radius:50%;background:#fff;content:""}.cashflow-ring-center{position:relative;display:grid;justify-items:center;gap:3px;max-width:160px;padding:10px;text-align:center}.cashflow-ring-center span{color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.15em}.cashflow-ring-center strong{max-width:100%;overflow-wrap:anywhere;color:var(--text);font:800 20px/1.15 Manrope,sans-serif;letter-spacing:-.035em}.cashflow-ring-center strong.negative{color:var(--coral)}.cashflow-ring-center small{color:var(--quiet);font-size:9px}.cashflow-breakdown{display:grid;gap:13px}.cashflow-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border:1px solid var(--line);border-radius:13px;background:#ffffffbf}.cashflow-stat>div{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;font-weight:600}.cashflow-stat i{width:9px;height:9px;border-radius:50%;background:var(--green)}.cashflow-stat.spending i{background:var(--coral)}.cashflow-stat strong{font:800 14px Manrope,sans-serif;white-space:nowrap}.cashflow-stat.income strong{color:var(--green-dark)}.cashflow-stat.spending strong{color:var(--coral)}.cashflow-note{margin:0;color:var(--muted);font-size:10px;line-height:1.6}.cashflow-link{justify-self:start;background:var(--green-soft);border-color:#d7e9d8;color:var(--green-dark)}.cashflow-link span{font-size:14px}.cashflow-link:hover{border-color:#b8d5b9;background:#e2f0e2}
@media(max-width:650px){.cashflow-panel{padding:18px}.cashflow-content{grid-template-columns:1fr;gap:8px;margin-top:8px}.cashflow-ring{width:184px;height:184px}.cashflow-breakdown{gap:9px}.cashflow-stat{padding:12px}.cashflow-ring-center strong{font-size:18px}}
@media(max-width:380px){.cashflow-ring{width:168px;height:168px}.cashflow-stat strong{font-size:12px}}

/* Top navigation and side-by-side dashboard tools */
.topbar{position:sticky;inset:0 0 auto;z-index:30;width:100%;height:auto;min-height:76px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding:12px max(26px,calc((100vw - 1180px)/2));border:0;border-bottom:1px solid var(--line);background:#f8fbf7ed;backdrop-filter:blur(14px);box-shadow:0 5px 18px #1d35290b}.topbar .brand{flex:none;justify-self:auto}.top-nav{display:flex;grid-template-columns:none;align-items:center;justify-content:flex-end;gap:4px;min-width:0}.top-nav .nav-link{width:auto;flex:none;min-height:38px;padding:7px 10px;border-radius:10px;font-size:11px;white-space:nowrap}.topbar .sidebar-note{display:none}.page{width:min(1180px,calc(100% - 48px));max-width:1180px;margin:0 auto;padding:38px 0 28px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1180px;align-items:stretch}.dashboard-grid>.budget-panel,.dashboard-grid>.entry-panel{height:100%}
@media(max-width:900px) and (min-width:651px){.topbar{width:100%;padding:11px 22px}.page{width:calc(100% - 44px);max-width:1180px;margin:0 auto;padding-top:32px}.topbar .brand-name{font-size:12px}.top-nav .nav-link{padding:7px 8px;font-size:10px}}
@media(max-width:760px){.dashboard-grid{grid-template-columns:1fr;max-width:720px}}
@media(max-width:650px){.topbar{position:sticky;inset:0 0 auto;width:100%;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px 16px 7px}.topbar .brand{padding:0}.topbar .brand-logo{width:34px;height:34px}.topbar .brand-name{font-size:13px}.top-nav{display:flex;grid-column:auto;grid-row:auto;justify-content:flex-start;gap:4px;width:100%;overflow-x:auto;padding:7px 0 0;border-top:1px solid var(--line);scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}.top-nav .nav-link{width:auto;flex:0 0 auto;min-height:34px;padding:0 10px;font-size:10px}.page{width:calc(100% - 32px);max-width:none;margin:0 auto;padding:26px 0 22px}.dashboard-grid{grid-template-columns:1fr;gap:12px}.app-footer{align-items:flex-start;flex-direction:column;gap:8px}}
