:root {
  color-scheme: dark;
  --bg: #11111d;
  --sidebar: #141420;
  --panel: #191a29;
  --panel-soft: #1d1f30;
  --line: rgba(202, 205, 231, .09);
  --text: #f2f1f7;
  --muted: #85879f;
  --quiet: #595c76;
  --green: #7bd3a5;
  --green-dim: #203b39;
  --red: #f07f8f;
  --red-dim: #3c2737;
  --lilac: #aaa6e6;
  --font: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); }
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }

.app-shell { min-height: 100vh; }
.sidebar { width: 232px; height: 100vh; min-height: 670px; position: fixed; z-index: 4; inset: 0 auto 0 0; display: flex; flex-direction: column; padding: 29px 16px 17px; background: var(--sidebar); border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px; color: #f8f7fc; font: 800 23px var(--display); letter-spacing: -1.5px; }
.brand-period { color: var(--green); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 7px); grid-template-rows: repeat(2, 7px); gap: 3px; transform: rotate(-9deg); }
.brand-mark span { background: var(--green); border-radius: 2px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { opacity: .56; }
.side-label { margin: 43px 12px 12px; color: #6f728d; font-size: 9px; font-weight: 700; letter-spacing: 1.35px; }
.side-nav { display: grid; gap: 5px; }
.nav-link { min-height: 44px; position: relative; display: flex; align-items: center; gap: 13px; padding: 0 12px; border-radius: 9px; color: #9698af; font-size: 12px; font-weight: 600; transition: color .18s, background .18s; }
.nav-link svg { width: 17px; height: 17px; color: #777a95; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.035); }
.nav-link.active { color: #eae9f3; background: #222333; }
.nav-link.active svg { color: var(--green); }
.nav-dot { width: 4px; height: 4px; margin-left: auto; border-radius: 50%; background: var(--green); }
.side-bottom { margin-top: auto; }
.side-bottom .side-label { margin: 0 12px 12px; }
.side-note { margin: 0 3px 24px; padding: 15px 14px 13px; border: 1px solid rgba(183,180,225,.1); border-radius: 12px; background: linear-gradient(145deg, rgba(168,164,221,.09), rgba(123,211,165,.025)); }
.note-icon { width: 27px; height: 27px; display: grid; place-items: center; color: var(--green); background: rgba(123,211,165,.11); border-radius: 8px; font-size: 15px; }
.side-note p { margin: 12px 0 9px; color: #d1d0de; font: 600 11px/1.55 var(--display); }
.side-note > span { color: var(--quiet); font-size: 9px; }
.settings-link { margin-bottom: 12px; }
.profile { min-height: 55px; display: flex; align-items: center; gap: 10px; padding: 10px 7px 0; border-top: 1px solid var(--line); }
.avatar, .top-avatar { display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(219,214,237,.13); border-radius: 50%; color: #d9d5ed; background: #2e2d42; font-family: var(--display); font-weight: 700; }
.avatar { width: 31px; height: 31px; font-size: 12px; }
.profile-copy { display: grid; gap: 1px; }
.profile-copy strong { font-size: 10px; font-weight: 600; }
.profile-copy span { color: var(--quiet); font-size: 9px; }
.icon-button { display: grid; place-items: center; flex: 0 0 auto; padding: 0; border: 0; color: #898ba4; background: transparent; cursor: pointer; transition: color .18s, background .18s; }
.icon-button:hover { color: var(--text); }
.icon-button svg { width: 18px; height: 18px; }
.profile-more { width: 28px; height: 28px; margin-left: auto; }

.main-content { max-width: 1600px; min-height: 100vh; margin-left: 232px; padding: 0 48px 20px; }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.breadcrumb { color: #777990; font-size: 11px; }
.breadcrumb span { padding: 0 8px; color: #4e5067; }
.breadcrumb strong { color: #c6c5d3; font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.sync-indicator { display: flex; align-items: center; gap: 7px; color: #797b93; font-size: 10px; }
.sync-indicator i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(123,211,165,.4); }
.currency-control { display: grid; justify-items: end; gap: 1px; }
.currency-toggle { min-height: 29px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid rgba(170,166,230,.17); border-radius: 7px; color: #d8d7e4; background: #1b1c2a; cursor: pointer; font-size: 10px; font-weight: 700; transition: background .18s, border-color .18s; }
.currency-toggle:hover { border-color: rgba(170,166,230,.38); background: #242536; }
.currency-switch-icon { color: var(--green); font-size: 13px; }
.currency-rate { color: #76788f; font-size: 8px; }
.top-avatar { width: 30px; height: 30px; font-size: 11px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 36px 0 28px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #898aa4; font-size: 9px; font-weight: 700; letter-spacing: 1.35px; }
.eyebrow-line { width: 17px; height: 1px; display: inline-block; background: var(--green); }
h1 { margin: 12px 0 8px; font: 700 clamp(30px,3.1vw,40px)/1.17 var(--display); letter-spacing: -1.8px; }
h1 > span { color: #aaa7ce; }
.mobile-break { display: none; }
.heading-subtitle { margin: 0; color: #85869c; font-size: 12px; }
.primary-button { height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; padding: 0 16px; border: 1px solid rgba(174,220,193,.25); border-radius: 8px; background: #88d7aa; color: #15251f; cursor: pointer; font-size: 11px; font-weight: 700; box-shadow: 0 5px 16px rgba(123,211,165,.1); transition: transform .18s, background .18s; }
.primary-button:hover { transform: translateY(-2px); background: #9ae3b9; }
.primary-button svg { width: 16px; height: 16px; stroke-width: 2; }

.overview-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 13px; }
.balance-card, .metric-card, .chart-card, .calendar-card, .activity-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.balance-card { min-height: 156px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px 20px 15px; overflow: hidden; background: radial-gradient(ellipse at 80% 5%, rgba(104,159,133,.11), transparent 58%), #1a1c2a; }
.balance-top, .metric-head { display: flex; align-items: center; justify-content: space-between; }
.card-kicker, .metric-head > span:first-child { color: #9294aa; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.balance-tag { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid rgba(123,211,165,.13); border-radius: 20px; color: #9da69f; font-size: 9px; }
.balance-tag span { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.balance-value { margin-top: 7px; font: 700 clamp(27px,3vw,36px)/1.1 var(--display); letter-spacing: -1.5px; }
.balance-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.balance-trend { display: flex; align-items: center; gap: 5px; color: #77798e; font-size: 9px; white-space: nowrap; }
.balance-trend strong { color: var(--green); font-weight: 700; }
.trend-arrow { color: var(--green); font-size: 13px; }
.balance-sparkline { width: 34%; max-width: 125px; height: 39px; overflow: visible; }
.spark-area { fill: url(#spark-fill); }
.spark-line { fill: none; stroke: #83d2a8; stroke-width: 2; vector-effect: non-scaling-stroke; }
.metric-card { min-height: 156px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px 18px 15px; }
.metric-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; }
.metric-icon svg { width: 15px; height: 15px; }
.income-icon { color: var(--green); background: rgba(123,211,165,.1); }
.expense-icon { color: var(--red); background: rgba(240,127,143,.1); }
.metric-value { font: 700 27px/1 var(--display); letter-spacing: -1.2px; }
.metric-detail { display: flex; align-items: center; gap: 7px; color: #9293a6; font-size: 9px; }
.detail-dot { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; }
.income-dot { background: var(--green); }
.expense-dot { background: var(--red); }
.metric-period { margin-left: auto; color: #62647d; font-size: 9px; }

.chart-card { margin-top: 13px; padding: 18px 20px 13px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title { color: #eeedf4; font: 700 13px var(--display); letter-spacing: -.15px; }
.section-caption { margin-top: 3px; color: #77798f; font-size: 9px; }
.tiny-spark { margin-left: 4px; color: var(--green); font: 500 12px var(--font); }
.chart-legend { display: flex; align-items: center; gap: 15px; color: #85879c; font-size: 9px; }
.chart-legend > span, .calendar-footer > span:not(.streak-note) { display: flex; align-items: center; gap: 6px; }
.chart-legend i, .calendar-footer i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; }
.legend-income { background: var(--green); }
.legend-expense { background: #d67889; }
.chart-area { height: 118px; display: flex; align-items: flex-end; justify-content: space-around; gap: clamp(15px,7vw,94px); margin: 15px 18px 0; padding: 0 18px; border-bottom: 1px solid rgba(202,205,231,.1); background: repeating-linear-gradient(to bottom, transparent, transparent 38px, rgba(202,205,231,.055) 39px, transparent 40px); }
.week-bars { height: 100%; flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 5px; }
.bar { width: min(20px, 34%); min-height: 2px; position: relative; border-radius: 4px 4px 1px 1px; transition: height .35s ease; }
.bar.income-bar { background: linear-gradient(180deg,#8edcb4,#529979); }
.bar.expense-bar { background: linear-gradient(180deg,#d77c8d,#995364); }
.bar:hover::after { content: attr(data-value); position: absolute; bottom: calc(100% + 5px); left: 50%; z-index: 2; padding: 4px 6px; transform: translateX(-50%); border-radius: 4px; background: #303144; color: #fff; font-size: 9px; white-space: nowrap; }
.chart-axis { display: flex; justify-content: space-around; margin: 8px 17px 0; color: #65677e; font-size: 8px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(270px, .92fr); align-items: stretch; gap: 13px; margin-top: 13px; }
.calendar-card, .activity-card { padding: 18px 19px 14px; }
.calendar-heading { align-items: flex-start; margin-bottom: 16px; }
.month-control { min-height: 29px; display: flex; align-items: center; gap: 12px; padding: 0 5px; border: 1px solid rgba(202,205,231,.09); border-radius: 7px; color: #d8d7e4; font-size: 10px; white-space: nowrap; }
.month-arrow { width: 19px; height: 25px; color: #9294ad; }
.month-arrow svg { width: 13px; height: 13px; }
.rotate-left { transform: rotate(180deg); }
.calendar-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.summary-label { display: block; margin-bottom: 3px; color: #81839a; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.calendar-summary > div:first-child strong { color: var(--green); font: 700 23px/1.2 var(--display); letter-spacing: -.8px; }
.summary-counts { display: flex; gap: 13px; padding-bottom: 3px; }
.summary-counts > span { display: grid; gap: 2px; color: #73758c; font-size: 7px; font-weight: 700; letter-spacing: .6px; }
.summary-counts strong { color: #d4d3e0; font-size: 10px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.summary-counts > span:last-child strong { color: var(--red); }
.net-track { height: 4px; display: flex; overflow: hidden; gap: 2px; margin-bottom: 15px; border-radius: 4px; background: #343044; }
.net-track span { display: block; height: 100%; transition: width .35s ease; }
.net-track span:first-child { background: #75cfa0; }
.net-track span:last-child { background: #a95d71; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 5px; }
.weekdays { margin-bottom: 5px; }
.weekdays span { padding: 0 3px 3px; color: #696b85; font-size: 8px; font-weight: 700; text-align: center; letter-spacing: .35px; }
.calendar-day { min-width: 0; height: 55px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 7px 7px 6px; border: 1px solid transparent; border-radius: 7px; background: #202232; transition: transform .14s, border-color .14s; cursor: pointer; }
.calendar-day:hover { z-index: 1; transform: translateY(-2px); border-color: rgba(210,211,239,.2); }
.calendar-day.empty { background: transparent; cursor: default; }
.calendar-day.empty:hover { transform: none; border-color: transparent; }
.calendar-day.positive { background: #203b39; }
.calendar-day.negative { background: #392536; }
.calendar-day.mixed { background: #28313a; }
.calendar-day.today { border-color: #8681cb; box-shadow: 0 0 0 1px rgba(134,129,203,.15); }
.day-top { display: flex; justify-content: space-between; gap: 3px; color: #9a9bb0; font-size: 8px; line-height: 1; }
.day-count { color: #8b8da2; }
.day-total { overflow: hidden; color: #6bc793; font: 700 9px/1 var(--display); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.negative .day-total { color: #ee8393; }
.empty .day-top, .empty .day-total { display: none; }
.calendar-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: #7b7d92; font-size: 8px; }
.calendar-footer i { width: 5px; height: 5px; }
.streak-note { margin-left: auto; color: #707287; }
.streak-note strong { color: #aaa8c4; font-weight: 500; }

.activity-card { display: flex; flex-direction: column; }
.activity-heading { margin-bottom: 15px; }
.activity-heading .icon-button { width: 25px; height: 25px; }
.activity-heading .icon-button svg { width: 17px; }
.filter-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 7px; background: #141521; }
.filter-tab { flex: 1; padding: 6px 5px; border: 0; border-radius: 5px; background: transparent; color: #85879a; cursor: pointer; font-size: 9px; transition: color .15s, background .15s; }
.filter-tab:hover { color: #dedde9; }
.filter-tab.selected { background: #28293b; color: #e7e6f0; }
.transaction-list { min-height: 245px; flex: 1; }
.transaction-row { display: flex; align-items: center; gap: 10px; padding: 12px 1px; border-bottom: 1px solid rgba(202,205,231,.07); animation: row-in .3s ease both; }
@keyframes row-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.transaction-icon { width: 32px; height: 32px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #a9a7d9; background: rgba(170,166,230,.1); }
.transaction-icon.income { color: var(--green); background: rgba(123,211,165,.1); }
.transaction-icon.expense { color: #d8a4af; background: rgba(216,125,143,.09); }
.transaction-icon svg { width: 16px; height: 16px; }
.transaction-copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.transaction-copy strong { overflow: hidden; color: #dfdee8; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.transaction-copy span { color: #72748a; font-size: 8px; }
.transaction-amount { align-self: flex-start; padding-top: 2px; color: #e9e8f0; font: 700 10px var(--display); white-space: nowrap; }
.transaction-amount.income { color: var(--green); }
.transaction-amount.expense { color: #df8998; }
.delete-transaction { width: 25px; height: 27px; display: grid; flex: 0 0 25px; place-items: center; margin: -2px -3px 0 0; border: 0; border-radius: 6px; color: #77798e; background: transparent; opacity: .72; cursor: pointer; transition: color .15s, background .15s, opacity .15s; }
.delete-transaction svg { width: 14px; height: 14px; }
.delete-transaction:hover { color: #f08a99; background: rgba(240,127,143,.1); opacity: 1; }
.delete-transaction:focus-visible { color: #f08a99; opacity: 1; }
.empty-state { display: grid; place-items: center; min-height: 200px; padding: 20px; color: #81839a; text-align: center; font-size: 10px; }
.empty-state strong { display: block; margin-bottom: 3px; color: #cccad9; font-size: 11px; }
.view-all { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: auto; padding: 10px 0 2px; border: 0; color: #a8a6c9; background: transparent; cursor: pointer; font-size: 9px; transition: color .15s; }
.view-all:hover { color: #d2d0f1; }
.view-all svg { width: 13px; height: 13px; }
.view-all.expanded svg { transform: rotate(-90deg); }
.page-footer { display: flex; justify-content: space-between; gap: 12px; padding: 18px 3px 0; color: #5b5d72; font-size: 8px; }
.page-footer a { color: #777990; text-decoration: underline; text-decoration-color: rgba(119,121,144,.35); text-underline-offset: 2px; }
.page-footer a:hover { color: #aaa8c4; }
.footer-heart { color: #bc7685; }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7,7,14,.72); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { width: min(100%, 420px); padding: 25px; border: 1px solid rgba(202,205,231,.13); border-radius: 15px; background: #1b1c2a; box-shadow: 0 24px 90px rgba(0,0,0,.4); transform: translateY(10px) scale(.99); transition: transform .2s; }
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 21px; }
.modal-heading .eyebrow { font-size: 8px; }
.modal-heading h2 { margin: 8px 0 0; font: 700 23px var(--display); letter-spacing: -.7px; }
.modal-close { width: 29px; height: 29px; border-radius: 7px; background: rgba(255,255,255,.035); }
.modal-close svg { width: 15px; height: 15px; }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; margin-bottom: 19px; border-radius: 8px; background: #13141f; }
.type-option { padding: 8px; border: 0; border-radius: 6px; color: #898a9e; background: transparent; cursor: pointer; font-size: 11px; }
.type-option.selected { color: #e9e8f0; background: #2a2b3c; }
.type-option[data-type="expense"].selected { color: var(--red); }
.type-option[data-type="income"].selected { color: var(--green); }
.field-label { display: block; margin: 13px 0 7px; color: #a1a1b2; font-size: 10px; font-weight: 600; }
.optional-label { margin-left: 4px; color: #686a80; font-size: 9px; font-weight: 400; }
.amount-input-wrap { display: flex; align-items: center; gap: 11px; padding: 4px 12px; border: 1px solid rgba(202,205,231,.12); border-radius: 8px; color: #88899e; background: #151621; }
.amount-input-wrap:focus-within { border-color: rgba(170,166,230,.5); }
.amount-input-wrap > span { font-size: 17px; }
.amount-input-wrap input { width: 100%; padding: 8px 0; border: 0; outline: 0; color: #f0eff6; background: transparent; font: 600 24px var(--display); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field select, .form-field input, .text-input { width: 100%; height: 39px; padding: 0 10px; border: 1px solid rgba(202,205,231,.12); border-radius: 7px; outline: 0; color: #dedde7; background: #151621; font-size: 10px; }
.form-field select { cursor: pointer; }
.form-field input::-webkit-calendar-picker-indicator { opacity: .65; cursor: pointer; }
.text-input { height: 39px; }
.form-field select:focus, .form-field input:focus, .text-input:focus { border-color: rgba(170,166,230,.5); }
.submit-button { width: 100%; height: 43px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 23px; border: 0; border-radius: 8px; color: #17251f; background: #88d7aa; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .15s, transform .15s; }
.submit-button:hover { transform: translateY(-1px); background: #9ae3b9; }
.submit-button svg { width: 16px; height: 16px; }
.toast { position: fixed; z-index: 20; right: 25px; bottom: 25px; display: flex; align-items: center; gap: 9px; padding: 12px 16px; border: 1px solid rgba(123,211,165,.15); border-radius: 9px; background: #202c29; color: #d8e9de; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 11px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast-check { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #183025; background: var(--green); font-size: 12px; font-weight: 700; }

@media (min-width: 1450px) {
  .main-content { margin-right: auto; padding-right: 64px; padding-left: 64px; }
  .calendar-day { height: 61px; }
}
@media (max-width: 1100px) {
  .sidebar { width: 205px; }
  .main-content { margin-left: 205px; padding-right: 28px; padding-left: 28px; }
  .content-grid { grid-template-columns: minmax(0,1.45fr) minmax(255px,.9fr); }
  .calendar-card, .activity-card { padding-right: 14px; padding-left: 14px; }
  .calendar-day { height: 49px; padding: 6px 5px; }
  .day-total { font-size: 8px; }
  .calendar-footer { gap: 8px; }
  .streak-note { width: 100%; margin-left: 0; }
}
@media (max-width: 820px) {
  .sidebar { width: 66px; align-items: center; padding-right: 8px; padding-left: 8px; }
  .brand { justify-content: center; padding: 0; }
  .brand > span:last-child, .side-label, .nav-link > span:not(.nav-dot), .nav-link .nav-dot, .side-note, .profile-copy, .profile-more { display: none; }
  .side-nav { width: 100%; margin-top: 36px; }
  .nav-link { justify-content: center; padding: 0; }
  .nav-link svg { width: 19px; height: 19px; }
  .side-bottom { width: 100%; }
  .settings-link { justify-content: center; margin-bottom: 15px; }
  .profile { justify-content: center; padding: 12px 0 0; }
  .main-content { margin-left: 66px; padding-right: 22px; padding-left: 22px; }
  .content-grid { grid-template-columns: 1fr; }
  .activity-card { min-height: 350px; }
  .transaction-list { min-height: 230px; }
  .streak-note { width: auto; margin-left: auto; }
}
@media (max-width: 580px) {
  .sidebar { width: 52px; padding: 20px 5px 12px; }
  .brand-mark { transform: scale(.9) rotate(-9deg); }
  .side-nav { gap: 4px; margin-top: 28px; }
  .nav-link { min-height: 42px; }
  .main-content { margin-left: 52px; padding: 0 13px 17px; }
  .topbar { height: 54px; }
  .breadcrumb { font-size: 10px; }
  .topbar-actions { gap: 9px; }
  .sync-indicator { font-size: 0; }
  .sync-indicator i { width: 7px; height: 7px; }
  .currency-control { gap: 0; }
  .currency-toggle { min-height: 27px; padding: 0 7px; font-size: 9px; }
  .currency-rate { font-size: 7px; }
  .top-avatar { width: 27px; height: 27px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin: 26px 0 19px; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; }
  h1 { margin-top: 10px; font-size: 28px; letter-spacing: -1px; }
  .mobile-break { display: initial; }
  .heading-subtitle { font-size: 10px; }
  .primary-button { height: 38px; }
  .overview-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .balance-card { min-height: 135px; grid-column: 1 / -1; padding: 14px 15px 12px; }
  .balance-value { font-size: 31px; }
  .metric-card { min-height: 121px; padding: 13px 12px; }
  .metric-value { font-size: 23px; }
  .metric-detail { gap: 5px; font-size: 8px; }
  .metric-period { font-size: 8px; }
  .chart-card { padding: 15px 12px 12px; }
  .chart-area { height: 95px; gap: 16px; margin-right: 5px; margin-left: 5px; padding: 0 4px; }
  .chart-legend { gap: 8px; font-size: 8px; }
  .chart-axis { margin-right: 5px; margin-left: 5px; }
  .content-grid { gap: 10px; margin-top: 10px; }
  .calendar-card, .activity-card { padding: 14px 11px 12px; }
  .calendar-heading { flex-direction: column; gap: 10px; margin-bottom: 12px; }
  .calendar-heading .month-control { align-self: flex-end; }
  .calendar-day { height: clamp(42px, 13vw, 53px); padding: 5px 4px; border-radius: 6px; }
  .weekdays, .calendar-grid { gap: 3px; }
  .weekdays span { font-size: 7px; }
  .day-top { font-size: 7px; }
  .day-count { font-size: 7px; }
  .day-total { font-size: clamp(6px, 2vw, 8px); }
  .summary-counts { gap: 8px; }
  .calendar-summary > div:first-child strong { font-size: 20px; }
  .summary-counts > span { font-size: 6px; }
  .summary-counts strong { font-size: 9px; }
  .calendar-footer { gap: 8px; font-size: 7px; }
  .streak-note { width: 100%; margin-left: 0; }
  .page-footer { flex-direction: column; gap: 5px; font-size: 7px; }
}
