@charset "UTF-8";:root{--bg: #f3f4f1;--surface: #ffffff;--surface-alt: #f3f4f1;--surface-muted: #eef0ec;--track: #e6e8e3;--track-soft: #f0f1ee;--border: #e2e4df;--divider: #edeeea;--text: #15181c;--text-soft: #3e4448;--text-muted: #5a6068;--accent: #1e5b4c;--accent-hover: #14443a;--accent-soft: #e7f0ec;--row-selected: #eef5f2;--success: #1c7344;--danger: #b42318;--danger-soft: #fdecea;--warning: #9a3412;--warning-strong: #b45309;--chip-ok-bg: #e6f0ea;--chip-ok-fg: #14532d;--chip-warn-bg: #fff3e3;--chip-warn-fg: #7a3e06;--chip-alert-bg: #fde2d0;--chip-alert-fg: #7a2e0a;--chip-neutral-bg: #eef0ec;--chip-neutral-fg: #3e4448;--backdrop: rgb(21 24 28 / 45%);--shadow-overlay: 0 24px 48px -12px rgb(21 24 28 / 30%);--shadow-popover: 0 12px 28px -8px rgb(21 24 28 / 22%);--chart-1: #1e5b4c;--chart-2: #e08a2e;--chart-3: #7fa7c9;--chart-4: #8c7ab8;--chart-other: #bfbfbf;--chart-baseline: #d5d8d2;--nw-investments: #1e5b4c;--nw-pension: #8c7ab8;--nw-crypto: #d9b44a;--nw-cash: #7fa7c9;--nw-other: #a3a07a;--nw-debt: #c98b4e;--radius-card: 20px;--radius-tile: 18px;--radius-control: 12px;--radius-field: 10px}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:var(--bg);color:var(--text);font-family:Manrope,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;font-variant-numeric:tabular-nums;line-height:1.45;-webkit-font-smoothing:antialiased}h1{margin:0;font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.15}h2{margin:0;font-size:17px;font-weight:700}h3{margin:0;font-size:15px;font-weight:700}a{color:var(--accent);font-weight:700;text-decoration:none}a:hover{color:var(--accent-hover)}p{margin:0}kbd{padding:1px 6px;border:1px solid var(--border);border-radius:6px;color:var(--text-muted);font-family:inherit;font-size:11px;font-weight:700}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.muted{color:var(--text-muted);font-size:13px}.eyebrow{color:var(--text-muted);font-size:13px;font-weight:600}.right{text-align:right}.income{color:var(--success)}.expense,.negative{color:var(--danger)}.withdrawal{color:var(--text-muted, inherit)}.warning{color:var(--warning)}.strong{font-weight:700}.nowrap{white-space:nowrap}.error{margin:0;color:var(--danger);font-size:12px;font-weight:600}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.page{display:flex;flex-direction:column;gap:20px}.page-header{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between}.page-header__title{display:flex;flex-direction:column;gap:2px}.page-header__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.split{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}.split>.split__main{flex:2 1 480px;min-width:0}.split>.split__side{flex:1 1 300px;min-width:0}.split--stretch{align-items:stretch}.stack{display:flex;flex-direction:column;gap:20px}.card{display:flex;flex-direction:column;gap:14px;padding:20px 22px;background:var(--surface);border-radius:var(--radius-card);min-width:0}.card--flush{gap:0;padding:8px 18px 14px}.card--tight{gap:10px}.card__head{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline;justify-content:space-between}.card__head .muted{font-size:13px}.tile{display:flex;flex-direction:column;gap:4px;padding:12px 14px;background:var(--surface-alt);border-radius:14px}.tile__label{color:var(--text-muted);font-size:12px;font-weight:600}.tile__value{font-size:16px;font-weight:700}.notice{padding:12px 16px;background:var(--surface);border-radius:14px;color:var(--text-soft);font-size:13px;line-height:1.5}.notice--warn{background:var(--chip-warn-bg);color:var(--chip-warn-fg)}.notice--alert{background:var(--danger-soft);color:#7a1d12}.notice--ok{background:var(--chip-ok-bg);color:var(--chip-ok-fg)}@media(max-width:600px){.notice{padding:8px 12px;border-radius:12px;font-size:12px;line-height:1.4}.notice__detail{display:none}}.kpis,.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.kpis--compact{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}@media(max-width:600px){.kpis,.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;height:42px;padding:0 16px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);font:inherit;font-size:14px;font-weight:700;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}.btn:hover:not(:disabled){background:var(--surface-alt);color:var(--text)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn svg{width:18px;height:18px;flex:none}.btn kbd{border-color:var(--border)}.btn--primary{border-color:var(--accent);background:var(--accent);color:#fff}.btn--primary:hover:not(:disabled){border-color:var(--accent-hover);background:var(--accent-hover);color:#fff}.btn--primary kbd{border-color:#ffffff73;color:#fff}.btn--ghost{border-color:transparent;background:transparent;color:var(--text-soft)}.btn--danger{border-color:transparent;background:#f4c7c0;color:#7a1d12}.btn--danger:hover:not(:disabled){background:#efb3aa;color:#7a1d12}.btn--link{height:auto;padding:6px 0;border:0;background:transparent;color:var(--accent)}.btn--link:hover:not(:disabled){background:transparent;color:var(--accent-hover)}.btn--sm{height:34px;padding:0 12px;border-radius:9px;font-size:13px}.icon-btn{display:inline-grid;flex:none;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);cursor:pointer}.icon-btn:hover:not(:disabled){background:var(--surface-alt)}.icon-btn:disabled{opacity:.45;cursor:not-allowed}.icon-btn svg{width:18px;height:18px}.icon-btn--sm{width:32px;height:32px}.icon-btn--sm svg{width:16px;height:16px}.icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.seg{display:inline-flex;gap:2px;padding:3px;background:var(--track);border-radius:var(--radius-field)}.seg button{min-height:34px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--text-muted);font:inherit;font-size:13px;font-weight:700;cursor:pointer}.seg button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #15181c14}.seg--lg{padding:4px;border-radius:var(--radius-control)}.seg--lg button{min-height:36px;padding:0 14px;border-radius:9px}label{display:flex;flex-direction:column;gap:5px;color:var(--text-muted);font-size:12px;font-weight:700}input,select,textarea{width:100%;min-height:40px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-field);background:var(--surface);color:var(--text);font:inherit;font-size:14px;font-weight:500}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}input::placeholder,select::placeholder,textarea::placeholder{color:#8a9098}input:disabled,select:disabled,textarea:disabled{background:var(--surface-alt);color:var(--text-muted)}textarea{padding:10px 12px;resize:vertical}input[type=checkbox],input[type=radio]{width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--accent);cursor:pointer}input[type=color]{padding:3px}.input-amount{font-weight:700;text-align:right}.check{flex-direction:row;gap:10px;align-items:center;color:var(--text);font-size:14px;font-weight:500;cursor:pointer}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;align-items:start}.form-stack{display:flex;flex-direction:column;gap:14px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.form-actions--end{justify-content:flex-end;padding-top:14px;border-top:1px solid var(--divider)}.full-row{grid-column:1/-1}.regions{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px;align-items:start}.field-hint{color:var(--text-muted);font-size:12px;font-weight:500}.table-scroll{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:14px}.table th,.table td{padding:11px 8px;border-top:1px solid var(--divider);text-align:left;vertical-align:middle}.table th:first-child,.table td:first-child{padding-left:0}.table th:last-child,.table td:last-child{padding-right:0}.table thead th{padding-top:12px;padding-bottom:8px;border-top:0;color:var(--text-muted);font-size:12px;font-weight:700;white-space:nowrap}.table .right{text-align:right}.table .table__total th,.table .table__total td,.table tfoot th,.table tfoot td{border-top:2px solid var(--border);color:var(--text);font-weight:700}.table .amount{font-weight:700;white-space:nowrap;text-align:right}.table tr.is-selected td{background:var(--row-selected)}.table .row-actions{display:flex;gap:4px;justify-content:flex-end}.cell-stack{display:flex;flex-direction:column;gap:1px}.cell-stack>:first-child{font-weight:600}.cell-stack>:last-child:not(:first-child){color:var(--text-muted);font-size:12px}.dot{display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:var(--chart-other)}.dot--lg{width:10px;height:10px}.with-dot{display:inline-flex;gap:8px;align-items:center}.chip{display:inline-flex;gap:6px;align-items:center;height:22px;padding:0 9px;border-radius:11px;background:var(--chip-neutral-bg);color:var(--chip-neutral-fg);font-size:12px;font-weight:700;white-space:nowrap}.chip--ok{background:var(--chip-ok-bg);color:var(--chip-ok-fg)}.chip--warn{background:var(--chip-warn-bg);color:var(--chip-warn-fg)}.chip--alert{background:var(--chip-alert-bg);color:var(--chip-alert-fg)}.chip--accent{background:var(--accent-soft);color:var(--accent)}.bar{position:relative;height:8px;border-radius:4px;background:var(--track)}.bar__fill{height:100%;max-width:100%;border-radius:inherit;background:var(--accent)}.bar--soft{height:10px;border-radius:5px;background:var(--track-soft)}.stacked-bar{display:flex;gap:2px;height:14px;overflow:hidden;border-radius:7px}.stacked-bar>span{min-width:2px}.bar-row{display:flex;gap:14px;align-items:center;min-height:34px}.bar-row__name{display:flex;gap:8px;align-items:center;width:160px;flex:none;overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.bar-row .bar{flex:1}.bar-row__value{width:96px;flex:none;font-size:14px;font-weight:700;text-align:right;white-space:nowrap}.bar-row__delta{width:58px;flex:none;color:var(--text-muted);font-size:12px;font-weight:700;text-align:right}.list{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}.list>li{display:flex;gap:12px;align-items:center;min-height:40px;border-top:1px solid var(--divider)}.list>li:first-child{border-top:0}.list__main{flex:1;min-width:0;font-weight:600}.list__meta{color:var(--text-muted);font-size:12px;font-weight:700}.list__value{font-weight:700;white-space:nowrap}.empty{padding:18px 0;color:var(--text-muted);font-size:13px;text-align:center}.rows{display:grid;gap:14px;margin:0;padding:0;list-style:none}.period-modes{display:flex;gap:.5rem}@media(max-width:600px){h1{font-size:24px}.card{padding:16px;border-radius:18px}.form-row{grid-template-columns:1fr}.bar-row__name{width:110px}}.header-buttons{display:flex;gap:10px;align-items:center}@media(max-width:600px){.header-action{width:42px;padding:0}.header-action__label{display:none}}.m-page{display:flex;flex-direction:column;gap:16px;padding:4px 20px 24px;max-width:480px;margin:0 auto;color:var(--text);font-family:Manrope,system-ui,sans-serif}.m-page__header{display:flex;justify-content:space-between;align-items:center;gap:12px}.m-page__title{display:flex;flex-direction:column;gap:2px;min-width:0}.m-page__eyebrow{font-size:13px;font-weight:600;color:var(--text-muted)}.m-page__heading{margin:0;font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.15}.m-month-nav{display:flex;gap:8px}.m-icon-btn{width:44px;height:44px;border-radius:22px;border:1px solid var(--border);background:var(--surface);color:var(--text);display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.m-icon-btn:disabled{opacity:.5;cursor:default}.m-card{background:var(--surface);border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:14px}.m-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.m-stat-tile{background:var(--surface-alt);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}.m-stat-tile__label{font-size:13px;font-weight:600;color:var(--text-muted)}.m-stat-tile__value{font-size:19px;font-weight:700}.m-stat-tile__value--income{color:var(--success)}.m-stat-tile__value--expense{color:var(--text)}.m-balance{display:flex;flex-direction:column;gap:4px}.m-balance__amount{font-size:38px;font-weight:800;letter-spacing:-.03em;line-height:1.1}.m-balance__amount--positive{color:var(--success)}.m-balance__amount--negative{color:var(--danger)}.m-balance__hint{font-size:13px;color:var(--text-muted)}.m-bar{display:flex;gap:2px;height:12px;border-radius:6px;overflow:hidden}.m-bar__slice{flex:1 1 0}.m-category-row{display:flex;align-items:center;gap:12px;height:36px}.m-category-row__dot{width:10px;height:10px;border-radius:5px;flex:none}.m-category-row__name{flex:1;font-size:15px;font-weight:500}.m-category-row__pct{width:42px;text-align:right;font-size:13px;color:var(--text-muted)}.m-category-row__amount{width:90px;text-align:right;font-size:15px;font-weight:600}.m-section-head{display:flex;justify-content:space-between;align-items:baseline}.m-link{font-size:14px;font-weight:700;color:var(--accent);text-decoration:none;padding:10px 0}.m-segment{display:grid;gap:4px;background:var(--track);border-radius:14px;padding:4px}.m-segment--3{grid-template-columns:repeat(3,minmax(0,1fr))}.m-segment--2{grid-template-columns:repeat(2,minmax(0,1fr))}.m-segment__opt{height:40px;border:none;border-radius:10px;background:transparent;color:var(--text-muted);font:inherit;font-size:14px;font-weight:700;cursor:pointer}.m-segment__opt.is-active{background:var(--surface);color:var(--text)}.m-search{display:flex;flex-direction:row;align-items:center;gap:10px;height:48px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:0 14px;color:var(--text-muted)}.m-search input{flex:1;min-width:0;min-height:0;height:100%;padding:0;border:none;border-radius:0;outline:none;box-shadow:none;background:transparent;-webkit-appearance:none;appearance:none;font:inherit;font-size:16px;font-weight:500;color:var(--text)}.m-search input:focus-visible{box-shadow:none}.m-search:focus-within{border-color:var(--accent)}.m-group{display:flex;flex-direction:column;gap:8px}.m-group__label{padding:4px 4px 0;font-size:13px;font-weight:700;color:var(--text-muted)}.m-list{background:var(--surface);border-radius:18px;overflow:hidden}.m-list__row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--divider)}.m-list__row:first-child{border-top:none}.m-list__row--link{color:inherit;text-decoration:none;cursor:pointer}.m-list__row--link:active{background:var(--surface-alt)}.m-list__avatar{width:40px;height:40px;border-radius:20px;flex:none;display:flex;align-items:center;justify-content:center}.m-list__avatar--square{width:34px;height:34px;border-radius:10px;background:var(--surface-muted);color:var(--text-soft)}.m-list__avatar-dot{width:12px;height:12px;border-radius:6px}.m-list__main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.m-list__desc{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-list__sub{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--text-muted)}.m-list__amount{font-size:15px;font-weight:700;white-space:nowrap}.m-list__amount--income{color:var(--success)}.m-chip{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 8px;border-radius:10px;background:var(--surface-alt);font-size:12px;font-weight:600}.m-field{display:flex;flex-direction:column;gap:6px}.m-field__label{font-size:13px;font-weight:600;color:var(--text-muted)}.m-field__input{height:48px;box-sizing:border-box;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:0 14px;font:inherit;font-size:15px;color:var(--text);outline:none}.m-field__amount{display:flex;align-items:baseline;gap:8px;border-bottom:2px solid var(--text);padding-bottom:4px}.m-field__amount input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:46px;font-weight:800;letter-spacing:-.03em;color:var(--text);padding:0}.m-field__amount span{font-size:28px;font-weight:700;color:var(--text-muted)}.m-chips{display:flex;flex-wrap:wrap;gap:8px}.m-chip-select{height:36px;padding:0 12px;border-radius:18px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px;cursor:pointer}.m-chip-select.is-active{background:var(--text);color:var(--surface);border-color:var(--text)}.m-chip-select__dot{width:8px;height:8px;border-radius:4px}.m-primary-btn{width:100%;height:56px;border:none;border-radius:18px;background:var(--accent);color:var(--surface);font:inherit;font-size:16px;font-weight:700;cursor:pointer}.m-primary-btn:disabled{background:#c9d1cd;color:var(--text-soft);cursor:default}.m-notice{background:var(--surface);border:1px dashed #9aa19b;border-radius:16px;padding:14px 16px;display:flex;align-items:center;gap:12px}.m-notice__text{flex:1;font-size:14px;color:var(--text-muted)}.m-empty{background:var(--surface);border-radius:18px;padding:24px;text-align:center;font-size:14px;color:var(--text-muted)}.m-error{background:var(--danger-soft);color:var(--danger);border-radius:14px;padding:12px 14px;font-size:14px;font-weight:600}.m-budget-row{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-top:1px solid var(--divider)}.m-section-head+.m-budget-row{border-top:0;padding-top:0}.m-budget-row__head{display:flex;align-items:center;gap:10px}.m-budget-row__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600}.m-budget-row__meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--text-muted)}.m-budget-row__over{color:var(--danger);font-weight:600}.m-budget-note{margin:0;font-size:12px;color:var(--text-muted)}
