:root { color-scheme: light; --ink: #27283b; --muted: #77798c; --accent: #7765d9; --accent-dark: #6452c4; --canvas: #f5f5f7; --line: #ececf2; --cash: #63a991; --investments: #7765d9; --retirement: #e9af72; --property: #6f9dcc; --other: #ba88b6; --debt: #d77c82; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.5; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #b7a8f0; outline-offset: 3px; }
input, select { width: 100%; min-height: 48px; padding: 11px 14px; color: var(--ink); border: 1px solid #dedee8; border-radius: 10px; background: #fff; }
input::placeholder { color: #9394a5; }
label { display: block; font-size: .875rem; font-weight: 600; margin: 18px 0 7px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 2rem; letter-spacing: -.9px; line-height: 1.2; }
h2 { font-size: 1.125rem; letter-spacing: -.25px; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 650; }
.icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: 1.8px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.65rem; font-weight: 650; letter-spacing: -.7px; text-decoration: none; }
.brand > .icon { width: 34px; height: 34px; color: var(--accent); }
.brand-light, .brand-light > .icon { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 17px; min-height: 44px; border-radius: 10px; border: 1px solid transparent; font-size: .875rem; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background .15s, transform .15s; }
.button .icon { width: 18px; height: 18px; }
.button:hover { transform: translateY(-1px); }
.primary { color: #fff; background: var(--accent); box-shadow: 0 3px 8px #7765d91b; }
.primary:hover { background: var(--accent-dark); }
.secondary { background: #fff; border-color: #e2e2eb; color: #4e4f65; }
.secondary:hover { background: #f9f8fd; border-color: #cbc5e4; }
.text-button { background: transparent; padding: 8px 5px; color: var(--accent); }
.danger { background: #b44550; color: #fff; }
.danger-text { color: #b44550; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #77798c; }
.icon-button:hover { background: #efedf7; color: var(--accent); }
.boot { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); }
.login-page { display: grid; grid-template-columns: 47% 53%; min-height: 100dvh; }
.login-art { background: #292a3e; color: #fff; padding: 42px 54px 30px; display: flex; flex-direction: column; overflow: hidden; }
.login-art-center { margin: auto 0; padding: 70px 0; }
.login-art h1 { font-size: clamp(2.5rem, 3.5vw, 3.6rem); font-weight: 550; letter-spacing: -1.8px; }
.login-art-center > p { color: #bbb9cf; margin-top: 22px; font-size: 1.0625rem; line-height: 1.7; }
.login-art-foot { display: flex; gap: 9px; align-items: center; color: #b7b6cb; font-size: .8125rem; }
.login-art-foot .icon { width: 16px; height: 16px; }
.art-stack { position: relative; height: 205px; width: 290px; margin: 0 0 55px 20px; }
.art-card { position: absolute; width: 250px; height: 175px; border: 1px solid #ffffff18; border-radius: 19px; background: #444255; }
.art-card.back { transform: rotate(-12deg); top: -10px; left: -12px; background: #343546; }
.art-card.middle { transform: rotate(8deg); top: 6px; left: 12px; background: #514865; }
.art-card.front { top: 18px; background: #7765d9; padding: 23px; box-shadow: 0 22px 50px #11112233; }
.art-card.front > .icon { width: 23px; height: 23px; }
.art-card.front > span { font-size: .75rem; letter-spacing: 1.5px; margin-left: 8px; opacity: .8; }
.art-line { width: 56px; height: 7px; margin-top: 10px; background: #c9bff1; border-radius: 5px; }
.art-line.wide { width: 121px; height: 14px; margin-top: 20px; background: #fff; }
.art-bars { display: flex; position: absolute; right: 24px; bottom: 28px; align-items: end; gap: 6px; height: 50px; }
.art-bars i { display: block; width: 10px; background: #ffffff55; height: 15px; border-radius: 3px; }
.art-bars i:nth-child(2) { height: 25px; }.art-bars i:nth-child(3) { height: 22px; }.art-bars i:nth-child(4) { height: 36px; }.art-bars i:nth-child(5) { height: 49px; background: #fff; }
.login-content { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 50px; background: #fff; }
.login-form-wrap { width: 100%; max-width: 390px; margin: auto; padding: 60px 0; }
.login-form-wrap h2 { font-size: 1.875rem; line-height: 1.3; letter-spacing: -.9px; margin-top: 13px; }
.login-intro { margin: 13px 0 32px; font-size: .9375rem; }
.key-field { display: flex; align-items: center; gap: 10px; border: 1px solid #dedee8; border-radius: 10px; padding-left: 13px; }
.key-field > .icon { color: #8c8c9f; width: 18px; }
.key-field input { border: none; background: transparent; }
.key-field:focus-within { border-color: var(--accent); outline: 2px solid #7765d915; }
.key-field input:focus-visible { outline: none; }
.field-help { margin-top: 8px; color: var(--muted); font-size: .8125rem; }
.login-submit { width: 100%; margin-top: 25px; min-height: 48px; }
.login-divider { display: flex; align-items: center; gap: 16px; margin: 30px 0 18px; font-size: .8125rem; color: #9292a3; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.demo-button { width: 100%; }
.login-note { display: flex; gap: 9px; align-items: flex-start; margin: 30px 0 0; color: #9797a7; font-size: .75rem; line-height: 1.65; }
.login-note .icon { width: 15px; height: 15px; margin-top: 2px; }
.login-footer { font-size: .75rem; color: #aaa9b7; }
.mobile-brand { display: none; }
.app-shell { min-height: 100dvh; }
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: 232px; padding: 35px 20px 20px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 20; }
.sidebar > .brand { padding: 0 15px; }
.workspace-label { margin: 49px 16px 13px; font-size: .75rem; font-weight: 650; letter-spacing: 1.5px; color: #a0a0af; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; padding: 14px 15px; margin: 4px 0; border: 0; border-radius: 10px; color: #77788d; font-size: .875rem; font-weight: 500; background: transparent; text-align: left; }
.nav-item.active { color: var(--accent); background: #f0edf9; font-weight: 650; }
.nav-item:hover { background: #f5f3fb; }
.nav-count { margin-left: auto; padding: 0 7px; border-radius: 5px; background: #e5def6; color: var(--accent); font-size: .75rem; line-height: 22px; }
.sidebar-bottom { margin-top: auto; }
.workspace-card { border-top: 1px solid var(--line); padding: 22px 7px 10px; display: flex; align-items: center; gap: 10px; }
.workspace-card strong, .workspace-card span:not(.workspace-avatar) { display: block; font-size: .8125rem; }
.workspace-card strong { font-weight: 600; }.workspace-card div > span { color: #9494a4; margin-top: 3px; font-size: .75rem; }
.workspace-avatar { width: 34px; height: 34px; border-radius: 10px; background: #eeebf6; color: #9989c8; display: flex; align-items: center; justify-content: center; }.workspace-avatar .icon { width: 17px; height: 17px; }
.logout { font-size: .8125rem; padding-left: 10px; }.logout > .icon { width: 18px; }
.main-content { margin-left: 232px; padding: 36px 42px 22px; max-width: 1660px; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.page-crumb { font-size: .75rem; color: #9796a8; margin-bottom: 18px; }.page-crumb span { padding: 0 9px; color: #bebccb; }
.page-header p { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.header-controls { display: flex; gap: 18px; align-items: center; }
.environment-pill { padding: 6px 12px; border: 1px solid #e4dfef; background: #eeebf5; border-radius: 8px; color: #8578a6; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.demo-pill { color: var(--accent); background: #ece7fc; }
.notice { display: flex; gap: 10px; align-items: center; padding: 13px 16px; border-radius: 10px; background: #eeebf7; color: #76698f; font-size: .8125rem; margin: 16px 0; }
.notice > .icon { width: 18px; height: 18px; }.notice > span { flex: 1; }.notice > button:not(.icon-button) { border: 0; background: transparent; color: inherit; font-weight: 600; text-decoration: underline; font-size: .8125rem; }
.notice.error { background: #fbebee; color: #ac3b4b; }.notice.warning { background: #fff3e3; color: #956326; }.sandbox-notice { padding: 10px 14px; background: #eeedf3; color: #858195; margin-bottom: 16px; }
.overview-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 15px; }.updated { display: flex; align-items: center; gap: 8px; color: #9997aa; font-size: .75rem; }.updated .icon { width: 14px; height: 14px; }
.metrics { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.total-card { padding: 24px 25px 20px; color: #fff; background: linear-gradient(125deg, #292a3e, #49415f); border-radius: 16px; overflow: hidden; }
.total-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #c5c1d4; font-size: .875rem; }.total-card-top > span:first-child { display: flex; gap: 8px; align-items: center; }.total-card-top .icon { width: 17px; height: 17px; }
.currency-chip { font-size: .75rem; background: #ffffff12; color: #c8c0d9; padding: 4px 9px; border-radius: 6px; font-weight: 600; }
.total-amount { font-size: clamp(2rem, 3.15vw, 3rem); font-weight: 550; letter-spacing: -1.4px; margin: 17px 0 22px; line-height: 1.15; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.total-card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; border-top: 1px solid #ffffff1a; padding-top: 14px; color: #b2aac5; font-size: .75rem; }.total-card-bottom > span:last-child { display: flex; align-items: center; gap: 5px; }.total-card-bottom .icon { width: 12px; height: 12px; }
.metric-card { display: flex; flex-direction: column; align-items: start; background: #fff; padding: 20px 23px; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.metric-icon { display: flex; justify-content: center; align-items: center; border-radius: 9px; height: 32px; width: 32px; margin-bottom: 12px; background: #eaf3ee; color: #70a38a; }.metric-icon .icon { width: 17px; }.metric-icon.debt { background: #faedf0; color: #cf8997; }
.metric-title { font-size: .8125rem; color: #9691a5; }.metric-card > strong { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 600; letter-spacing: -.7px; margin-top: 4px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }.metric-card > p { font-size: .75rem; color: #a8a3b1; margin-top: 7px; }
.overview-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; margin-bottom: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 16px; gap: 14px; }.panel-heading p { color: #9591a4; font-size: .75rem; margin-top: 5px; }
.subtle-label { color: #aaa5b5; font-size: .75rem; white-space: nowrap; }
.allocation-content { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 24px 0; }
.donut { width: 174px; height: 174px; flex-shrink: 0; position: relative; }.donut > svg { display: block; width: 100%; height: 100%; }
.donut-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }.donut-label > span { font-size: .75rem; color: #aea8bb; letter-spacing: 1.5px; }.donut-label strong { font-size: 1.875rem; font-weight: 600; line-height: 1.3; margin-top: 3px; }.donut-label small { font-size: .75rem; color: #aba5b8; }
.allocation-legend { flex: 1; max-width: 195px; min-width: 110px; }.allocation-legend p { font-size: .8125rem; }.legend-row { display: flex; align-items: center; gap: 8px; font-size: .75rem; margin: 13px 0; color: #827b95; }.legend-row strong { margin-left: auto; font-size: .75rem; color: #565066; font-weight: 600; }
.category-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }.category-dot.cash { background: var(--cash); }.category-dot.investments { background: var(--investments); }.category-dot.retirement { background: var(--retirement); }.category-dot.property { background: var(--property); }.category-dot.other { background: var(--other); }
.panel-note { font-size: .75rem; color: #aaa4b5; margin: 17px 24px 20px; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 16px; padding: 11px 24px 24px; }
.category-card { display: flex; gap: 11px; align-items: center; padding: 12px 10px; border: 1px solid transparent; border-radius: 12px; background: #faf9fc; text-align: left; color: var(--ink); min-width: 0; }.category-card:hover { border-color: #e5def4; background: #f6f3fc; }.category-card-info { min-width: 0; }.category-card-info > span { display: block; color: #938ca2; font-size: .75rem; }.category-card-info > strong { display: block; font-size: .9375rem; margin-top: 4px; font-weight: 600; overflow-wrap: anywhere; }
.category-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; flex-shrink: 0; }.category-icon .icon { width: 20px; height: 20px; }.cash { color: var(--cash); }.investments { color: var(--investments); }.retirement { color: #cd934f; }.property { color: var(--property); }.other { color: var(--other); }.debt { color: var(--debt); }
.category-icon.cash { background: #63a99115; }.category-icon.investments { background: #7765d913; }.category-icon.retirement { background: #e9af721c; }.category-icon.property { background: #6f9dcc16; }.category-icon.other { background: #ba88b615; }.category-icon.debt { background: #d77c8215; }
.category-icon.large { width: 54px; height: 54px; border-radius: 15px; margin-bottom: 20px; }.category-icon.large .icon { width: 26px; height: 26px; }
.accounts-panel .panel-heading { padding-bottom: 22px; }
.account-table-wrap { overflow-x: auto; }.account-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }.account-table th { text-align: left; color: #9992a6; background: #faf9fc; font-size: .75rem; font-weight: 500; padding: 11px 12px; border-top: 1px solid #f1eef5; border-bottom: 1px solid #f1eef5; }.account-table th:first-child { padding-left: 24px; }.account-table th.amount-column { text-align: right; }.account-table th:last-child { width: 40px; }
.account-table td { padding: 15px 12px; border-bottom: 1px solid #f1eef5; }.account-table td:first-child { padding-left: 24px; }.account-table tr:last-child td { border-bottom: 0; }.account-table tbody tr:hover { background: #fcfbfe; }.account-table td:last-child { padding-left: 0; padding-right: 16px; }.account-table td .icon-button { width: 29px; height: 32px; }.account-table td .icon-button .icon { width: 16px; height: 16px; }
.account-name-button { display: flex; gap: 12px; align-items: center; background: transparent; border: none; text-align: left; padding: 0; color: var(--ink); }.account-name-button strong { display: block; font-size: .8125rem; font-weight: 600; max-width: 250px; overflow-wrap: anywhere; }.account-name-button small { display: block; font-size: .75rem; color: #a09aad; margin-top: 3px; }
.category-tag { display: inline-block; background: #f7f5fb; padding: 4px 9px; border-radius: 6px; font-size: .75rem; white-space: nowrap; }.category-tag.cash { background: #edf5f1; }.category-tag.retirement { background: #fbf1e5; }.category-tag.debt { background: #f9ecef; }.category-tag.property { background: #edf3f9; }
.date-column { color: #a39aae; font-size: .75rem; white-space: nowrap; }.balance-cell { font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }.balance-cell small { display: block; margin-top: 4px; color: #b09460; font-size: .75rem; font-weight: 400; }
.panel-footer { border-top: 1px solid var(--line); padding: 17px 24px; }.action-buttons { display: flex; gap: 10px; flex-wrap: wrap; }.panel-footer .action-buttons { justify-content: end; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 38px 24px 45px; }.empty-icon { width: 64px; height: 64px; border-radius: 20px; background: #f0edf9; color: #aa9cdb; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }.empty-icon .icon { width: 29px; height: 29px; }.empty-state h3 { font-size: 1.125rem; }.empty-state > p { font-size: .875rem; color: #9c94aa; margin: 10px 0 23px; line-height: 1.7; }.empty-state.compact { padding: 30px; }.empty-state .action-buttons { justify-content: center; }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 22px; }.section-toolbar > .muted { font-size: .875rem; }.search-field { position: relative; max-width: 350px; width: 100%; }.search-field > .icon { position: absolute; top: 14px; left: 14px; color: #aaa1b5; width: 18px; height: 18px; }.search-field input { min-height: 44px; padding-left: 42px; font-size: .8125rem; border-color: #e6e2ed; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }.filter-tab { border: 1px solid transparent; border-radius: 8px; background: transparent; color: #8d839e; padding: 7px 13px; font-size: .8125rem; }.filter-tab.active { background: #eae5f6; color: var(--accent); font-weight: 600; }.filter-tab:hover { background: #eeebf5; }.heading-count { display: inline-block; background: #f0edf8; color: #a393c0; font-size: .75rem; padding: 1px 7px; border-radius: 5px; margin-left: 7px; }
.connection-list { display: grid; gap: 16px; }.connection-card { display: flex; align-items: center; gap: 18px; padding: 25px; }.connection-icon { display: flex; justify-content: center; align-items: center; width: 54px; height: 54px; border-radius: 14px; color: var(--accent); background: #f0ecf9; flex-shrink: 0; }.connection-icon > .icon { width: 25px; }.connection-info { flex: 1; }.connection-info p { font-size: .8125rem; color: var(--muted); margin: 6px 0; }.status-badge { display: inline-block; font-size: .75rem; border-radius: 5px; padding: 3px 7px; background: #ecf5ef; color: #6a9779; }.status-badge.needs-attention { background: #fff0d8; color: #a9792e; }.connection-actions { display: flex; align-items: center; gap: 14px; }
.privacy-note { display: flex; align-items: flex-start; gap: 10px; color: #a199b0; font-size: .75rem; line-height: 1.7; margin: 22px 0; }.privacy-note > .icon { width: 17px; height: 17px; margin-top: 2px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; align-items: start; }.settings-panel > .panel-heading { border-bottom: 1px solid var(--line); padding-bottom: 21px; }.settings-panel .panel-heading > .icon { color: #b4a8ca; }.setting-row { padding: 24px; display: flex; align-items: center; gap: 25px; justify-content: space-between; border-bottom: 1px solid var(--line); }.setting-row:last-child { border-bottom: 0; }.setting-row h3 { font-size: .875rem; }.setting-row p { color: #9a90a8; font-size: .8125rem; margin-top: 7px; }.setting-row select { width: 90px; min-height: 40px; padding: 8px 10px; font-size: .8125rem; flex-shrink: 0; }.switch { width: 44px; height: 26px; border-radius: 20px; padding: 3px; background: #ded9e6; border: 0; flex-shrink: 0; }.switch > span { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0002; }.switch.on { background: var(--accent); }.switch.on > span { margin-left: 18px; }
.browser-note { display: flex; gap: 18px; align-items: center; padding: 24px; grid-column: 1 / -1; }.browser-note h3 { font-size: .875rem; }.browser-note p { color: #9a90a8; font-size: .8125rem; margin-top: 6px; }
.page-footer { display: flex; justify-content: space-between; gap: 10px; color: #b0a8bd; font-size: .75rem; margin-top: 30px; padding-top: 18px; }.page-footer > span:last-child { display: flex; align-items: center; gap: 6px; }.page-footer .icon { width: 12px; height: 12px; }
dialog { width: min(490px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid #e8e1f0; border-radius: 20px; padding: 33px; color: var(--ink); background: #fff; box-shadow: 0 20px 90px #1f183044; }
dialog::backdrop { background: #25203877; backdrop-filter: blur(4px); }.modal-close { position: absolute; top: 12px; right: 12px; }.modal-close .icon { width: 18px; height: 18px; }
dialog h2 { font-size: 1.5rem; letter-spacing: -.5px; margin: 10px 0; padding-right: 14px; }dialog > .muted { font-size: .875rem; line-height: 1.65; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.modal-footer { display: flex; justify-content: end; gap: 10px; margin-top: 27px; }.modal-footer > .danger-text:first-child { margin-right: auto; }
.connect-options { display: grid; gap: 13px; margin: 25px 0; }.connect-options > button { display: flex; align-items: center; gap: 14px; padding: 18px 13px; border: 1px solid #e8e2f0; border-radius: 12px; background: #fff; color: var(--ink); text-align: left; }.connect-options > button:hover { background: #f9f7fd; border-color: #bdade3; }.connect-options > button > span:nth-child(2) { flex: 1; }.connect-options strong { display: block; font-size: .9375rem; }.connect-options small { display: block; font-size: .75rem; color: #a195b0; margin-top: 4px; }.connect-options > button > .icon { width: 17px; color: #b8a9cb; }
.detail-balance { font-size: 2.3rem; margin: 23px 0; font-weight: 600; letter-spacing: -1px; overflow-wrap: anywhere; }.details-list { margin: 0; }.details-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .8125rem; }.details-list dt { color: var(--muted); }.details-list dd { margin: 0; text-align: right; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: #292a3e; color: #fff; border-radius: 11px; padding: 13px 21px; font-size: .875rem; box-shadow: 0 6px 28px #24203033; z-index: 100; max-width: calc(100vw - 32px); width: max-content; }
[hidden] { display: none !important; }.spinner { width: 17px; height: 17px; border: 2px solid #ffffff66; border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }.spinning { animation: spin 1.5s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1800px) { .main-content { margin-right: auto; } }
@media (max-width: 1200px) { .main-content { padding: 30px 28px 20px; }.sidebar { width: 210px; padding-left: 15px; padding-right: 15px; }.main-content { margin-left: 210px; }.metrics { gap: 14px; }.metric-card { padding: 20px 18px; }.total-card { padding: 23px 20px 18px; }.overview-grid { gap: 18px; grid-template-columns: 1fr 1.25fr; }.allocation-content { gap: 12px; padding-left: 18px; padding-right: 18px; }.donut { width: 145px; height: 145px; }.category-grid { gap: 10px; padding: 8px 18px 22px; }.category-card { gap: 8px; padding: 11px 8px; }.category-icon { width: 35px; height: 35px; }.category-card-info > strong { font-size: .875rem; }.date-column { display: none; }.account-table th:nth-child(3) { display: none; } }
@media (max-width: 1000px) { .overview-grid { grid-template-columns: 1fr; }.allocation-content { justify-content: start; gap: 30px; }.allocation-legend { max-width: 230px; }.donut { width: 174px; height: 174px; }.category-grid { grid-template-columns: repeat(3, 1fr); }.category-card { flex-direction: column; align-items: start; gap: 9px; padding: 16px; }.metrics { grid-template-columns: 1fr 1fr; }.total-card { grid-column: 1 / -1; }.total-amount { font-size: 2.75rem; margin-bottom: 20px; }.metric-card { padding: 19px; }.metric-icon { margin-bottom: 8px; }.metric-card > strong { font-size: 1.7rem; }.section-toolbar { flex-wrap: wrap; }.search-field { max-width: none; }.settings-grid { grid-template-columns: 1fr; }.connection-card { flex-wrap: wrap; }.connection-actions { width: 100%; margin-left: 72px; }.login-art { padding: 35px; }.login-content { padding: 35px; } }
@media (max-width: 700px) { .login-page { grid-template-columns: 1fr; }.login-art { display: none; }.login-content { min-height: 100dvh; padding: 24px; }.login-form-wrap { max-width: 390px; padding: 35px 0; }.mobile-brand { display: flex; margin-bottom: 50px; }.login-form-wrap h2 { font-size: 1.7rem; }.login-footer { margin-bottom: 10px; }.sidebar { top: auto; bottom: 0; width: 100%; height: calc(76px + env(safe-area-inset-bottom)); padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); border: none; border-top: 1px solid var(--line); background: #ffffffef; backdrop-filter: blur(16px); }.sidebar > .brand, .workspace-label, .sidebar-bottom { display: none; }.sidebar > nav { display: grid; grid-template-columns: repeat(4, 1fr); }.nav-item { margin: 0; padding: 8px 3px; gap: 5px; flex-direction: column; justify-content: center; font-size: .75rem; border-radius: 10px; }.nav-count { display: none; }.nav-item .icon { width: 22px; height: 22px; }.main-content { margin-left: 0; padding: 26px 18px calc(100px + env(safe-area-inset-bottom)); }.page-header { margin-bottom: 20px; align-items: start; gap: 10px; }.page-header h1 { font-size: 1.75rem; }.page-header p { font-size: .8125rem; max-width: 260px; }.page-crumb { margin-bottom: 13px; font-size: .75rem; }.header-controls { gap: 4px; padding-top: 3px; }.environment-pill { font-size: .75rem; padding: 4px 7px; }.header-controls .icon-button { width: 33px; height: 33px; }.notice { font-size: .75rem; padding: 12px; gap: 8px; align-items: start; }.notice > .icon { margin-top: 1px; }.demo-notice { flex-wrap: wrap; }.demo-notice > button { margin-left: 24px; }.overview-toolbar { margin-top: 20px; gap: 8px; }.overview-toolbar > .text-button { font-size: .75rem; }.updated { font-size: .75rem; }.metrics { gap: 12px; margin-bottom: 18px; }.total-card { padding: 23px 22px 19px; border-radius: 14px; }.total-amount { font-size: 2.6rem; }.total-card-bottom { font-size: .75rem; }.metric-card { padding: 18px; border-radius: 14px; }.metric-card > strong { font-size: 1.45rem; }.metric-title { font-size: .75rem; }.metric-card > p { font-size: .75rem; }.overview-grid { margin-bottom: 18px; gap: 18px; }.panel { border-radius: 14px; }.panel-heading { padding: 20px 19px 15px; }.panel-heading h2 { font-size: 1rem; }.panel-heading > .text-button { font-size: .75rem; }.allocation-content { gap: 26px; padding: 7px 20px 0; }.allocation-legend { max-width: none; }.category-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 18px 20px; }.category-card { flex-direction: row; gap: 10px; padding: 12px; }.category-card-info > strong { font-size: .875rem; }.category-card-info > span { font-size: .75rem; }.category-icon { width: 34px; height: 34px; border-radius: 9px; }.category-icon .icon { width: 18px; height: 18px; }.account-table th:nth-child(2), .account-table td:nth-child(2) { display: none; }.account-table th:first-child { padding-left: 18px; }.account-table td { padding: 15px 7px; }.account-table td:first-child { padding-left: 18px; }.account-table td:last-child { padding-right: 8px; }.account-name-button { gap: 9px; }.account-name-button strong { font-size: .75rem; max-width: 156px; }.account-name-button small { font-size: .75rem; }.account-name-button small > span { display: none; }.balance-cell { font-size: .8125rem; }.panel-footer { padding: 16px 18px; }.panel-footer .action-buttons { flex-direction: column-reverse; }.empty-state { padding: 35px 18px; }.empty-state > p { font-size: .8125rem; }.empty-state br { display: none; }.empty-state .action-buttons { flex-direction: column-reverse; width: 100%; max-width: 280px; }.section-toolbar { margin: 23px 0 20px; }.section-toolbar .action-buttons { width: 100%; }.section-toolbar .action-buttons > .button { flex: 1; padding-left: 10px; padding-right: 10px; font-size: .75rem; }.filter-tabs { gap: 5px; margin-bottom: 20px; }.filter-tab { font-size: .75rem; padding: 7px 10px; }.connection-card { gap: 13px; padding: 20px; }.connection-info h2 { font-size: 1rem; }.connection-info p { font-size: .75rem; }.connection-actions { margin-left: 0; justify-content: space-between; gap: 10px; }.connection-icon { width: 45px; height: 45px; }.settings-grid { gap: 20px; margin-top: 24px; }.setting-row { padding: 21px 19px; gap: 15px; }.setting-row br { display: none; }.browser-note { padding: 20px; }.page-footer { font-size: .75rem; flex-wrap: wrap; margin-top: 22px; }.toast { bottom: calc(90px + env(safe-area-inset-bottom)); font-size: .8125rem; }dialog { padding: 29px 23px; }.connect-options > button { padding: 15px 11px; gap: 11px; }.connect-options strong { font-size: .8125rem; }.connect-options small { font-size: .75rem; }.form-grid { gap: 12px; } }
@media (max-width: 370px) { .main-content { padding-left: 13px; padding-right: 13px; }.category-card { padding: 11px 8px; gap: 7px; }.category-icon { width: 29px; height: 29px; }.account-name-button strong { max-width: 123px; }.balance-cell { font-size: .75rem; }.allocation-content { gap: 14px; padding-left: 14px; padding-right: 14px; }.donut { width: 150px; height: 150px; }.page-header p { max-width: 210px; }.environment-pill { display: none; }.metric-card { padding: 17px 14px; }.metric-card > strong { font-size: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Keep frequently read controls and account names legible on every screen. */
.account-name-button strong, .category-card-info > span, .legend-row, .legend-row strong, .filter-tab, .category-tag, .metric-title, .connection-info p { font-size: .875rem; }
@media (max-width: 700px) { .nav-item { font-size: .75rem; } .account-name-button strong { font-size: .875rem; } }
@media (max-width: 700px) {
  .metric-card > strong { font-size: clamp(1rem, 5vw, 1.35rem); }
  .category-card { flex-direction: column; align-items: flex-start; gap: 9px; padding: 13px; }
  .demo-notice { display: grid; grid-template-columns: 18px 1fr; }
  .demo-notice > button { grid-column: 2; margin-left: 0 !important; justify-self: start; }
}

.google-login { margin-top: 28px; }
#google-sign-in { min-height: 44px; width: 100%; }
.google-login .field-help { margin-top: 12px; }
