:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font:"Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--bg:#f5f7fa;--surface:#fff;--surface-muted:#eef1f5;--border:#e2e6ec;--border-strong:#cfd6e0;--text:#161a20;--text-muted:#5b6472;--text-subtle:#7a8290;--primary:#18181b;--primary-hover:#333338;--on-primary:#fff;--primary-soft:#e9e9eb;--accent:#b8860b;--accent-soft:#fdf0c8;--negative:#c2311f;--negative-soft:#fdecea;--negative-border:#f3c6bd;--positive:#1a8a4a;--positive-soft:#e5f6ea;--radius:16px;--radius-sm:12px;--shadow:0 1px 2px #0000000d;--focus-ring:#18181b2e;--chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");--ink:#1a1d22;--ink-text:#fff;--ink-muted:#ffffffad;--ink-border:#2c3038;--hero-from:#2b303b;--hero-to:#0f1115;--hero-up:#5fd38d;--hero-down:#ff8d80;--grid:#eef1f5;--series-main:#439f6b;--series-accent:#cd5647;--cat-1:#d2a51e;--cat-2:#e45944;--cat-3:#5494de;--cat-4:#30a675;--cat-5:#c1aa33;--cat-6:#d671ac;--tone-orange:#dd6b12;--tone-amber:#b7791f;--tone-green:#1f9254;--tone-teal:#0f8a80;--tone-cyan:#0a83a3;--tone-blue:#2f6bd6;--tone-indigo:#5553d4;--tone-violet:#8350e8;--tone-pink:#d03f86;--tone-rose:#d93b53;--tone-slate:#5f6b7d;--scrim:#0f12186b;--popup-shadow:0 24px 64px #0f12183d,0 2px 6px #0f12181a;font-family:var(--font);color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;font-size:16px;line-height:1.55}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c0e12;--surface:#15181e;--surface-muted:#1c2027;--border:#282d36;--border-strong:#3a4049;--text:#eef1f5;--text-muted:#a4acb8;--text-subtle:#868f9c;--primary:#f4f4f5;--primary-hover:#d4d4d8;--on-primary:#0c0e12;--primary-soft:#ffffff1a;--accent:#e0b83a;--accent-soft:#e0b83a29;--negative:#e2564a;--negative-soft:#e2564a24;--negative-border:#e2564a59;--positive:#3fb673;--positive-soft:#3fb67329;--shadow:none;--focus-ring:#ffffff3d;--ink:#000;--ink-text:#fff;--ink-muted:#ffffffad;--ink-border:#22262d;--hero-from:#252a34;--hero-to:#090a0d;--grid:#20242c;--series-main:#39a468;--series-accent:#cb4d43;--cat-1:#3987e5;--cat-2:#d95926;--cat-3:#199e70;--cat-4:#c98500;--cat-5:#d55181;--cat-6:#008300;--tone-orange:#f59e4b;--tone-amber:#e3b341;--tone-green:#4cc47f;--tone-teal:#3cc4b4;--tone-cyan:#43bddf;--tone-blue:#6b9cf0;--tone-indigo:#8f8ef2;--tone-violet:#b08cf6;--tone-pink:#ec7ab3;--tone-rose:#f07384;--tone-slate:#9aa6b8;--scrim:#0000009e;--popup-shadow:0 24px 64px #0009}*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--bg)}body{background:var(--bg);-webkit-tap-highlight-color:transparent;min-width:320px;margin:0;overflow-x:hidden}button,select,input{font:inherit;color:inherit}a{color:inherit;text-decoration:none}h1,h2,h3{letter-spacing:-.015em;text-wrap:balance}td,.transaction-amount,.bar-list-top span,.chart-scale{font-variant-numeric:tabular-nums}:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.icon{flex:none;width:18px;height:18px}.tone{color:var(--tone)!important;background:color-mix(in srgb,var(--tone) 14%,var(--surface))!important}.tone-icon{color:var(--tone)}.tone-orange{--tone:var(--tone-orange)}.tone-amber{--tone:var(--tone-amber)}.tone-green{--tone:var(--tone-green)}.tone-teal{--tone:var(--tone-teal)}.tone-cyan{--tone:var(--tone-cyan)}.tone-blue{--tone:var(--tone-blue)}.tone-indigo{--tone:var(--tone-indigo)}.tone-violet{--tone:var(--tone-violet)}.tone-pink{--tone:var(--tone-pink)}.tone-rose{--tone:var(--tone-rose)}.tone-slate{--tone:var(--tone-slate)}.loading-screen{min-height:100dvh;color:var(--text-muted);place-items:center;padding:16px;display:grid}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}.error-screen{text-align:center;max-width:480px;margin:12vh auto;padding:24px 16px}.error-screen h2{margin:0 0 8px;font-size:20px;font-weight:600}.error-screen p{color:var(--text-muted);margin:0 0 20px}.error-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.error-actions a{align-items:center;display:inline-flex}select{appearance:none;background-image:var(--chevron);cursor:pointer;background-position:right 12px center;background-repeat:no-repeat;padding-right:36px!important}.theme-toggle{border:1px solid var(--border);background:var(--surface);width:40px;height:40px;color:var(--text);cursor:pointer;border-radius:50%;flex:none;place-items:center;transition:background .15s;display:grid}.theme-toggle:hover{background:var(--surface-muted)}.panel,.summary-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.panel{min-width:0;padding:18px 16px}.panel h3{margin:0 0 14px;font-size:16px;font-weight:600}.panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin-bottom:14px;display:flex}.panel-heading h3{margin:0}.panel-heading>span,.panel-heading>a{color:var(--text-muted);font-size:13px}.panel-heading>a{color:var(--primary);font-weight:600}.panel-heading strong{color:var(--text);font-weight:600}.section{margin-top:24px}.section-heading{align-items:baseline;gap:8px;margin-bottom:12px;display:flex}.section-heading h2{margin:0;font-size:18px;font-weight:600}.section-heading span{letter-spacing:.06em;color:var(--text-subtle);font-size:12px;font-weight:600}.page-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.page-toolbar .section-tabs{flex:1;min-width:0;margin-bottom:0}.page-toolbar{margin-bottom:20px}.page-toolbar.end{justify-content:flex-end}.summary-card{flex-direction:column;gap:6px;min-width:0;padding:16px;display:flex}.summary-card>span{color:var(--text-muted);font-size:13px}.summary-card strong{letter-spacing:-.02em;overflow-wrap:anywhere;font-size:20px;font-weight:600;line-height:1.25}.summary-card small{color:var(--text-muted);font-size:12px}.work-grid,.report-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;display:grid}.empty-state{color:var(--text-muted);margin:12px 0;font-size:15px}.skeleton{border-radius:var(--radius-sm);background:linear-gradient(90deg,var(--surface-muted) 25%,var(--border) 37%,var(--surface-muted) 63%);background-size:400% 100%;width:100%;height:180px;animation:1.4s infinite skeleton-shimmer;display:block}@keyframes skeleton-shimmer{0%{background-position:100%}to{background-position:0}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.form-error,.form-notice{border-radius:var(--radius-sm);margin:0 0 12px;padding:10px 12px;font-size:14px}.form-error{background:var(--negative-soft);border:1px solid var(--negative-border);color:var(--negative)}.form-notice{background:var(--surface-muted);border:1px solid var(--border);color:var(--text-muted)}.hint{color:var(--text-muted);font-size:13px}.hint-error{color:var(--negative)}.badge{color:var(--text-muted);background:var(--surface-muted);border:1px solid var(--border);vertical-align:middle;border-radius:99px;margin-left:6px;padding:1px 8px;font-size:12px;font-weight:500;display:inline-block}.field{color:var(--text);flex-direction:column;gap:6px;min-width:0;margin:0 0 14px;font-size:14px;font-weight:500;display:flex}.field input,.field select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);outline:none;width:100%;min-height:48px;padding:10px 14px;font-size:16px;font-weight:400;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus{border-color:var(--text);box-shadow:0 0 0 3px var(--focus-ring)}.field input[aria-invalid]{border-color:var(--negative)}.form-pair{grid-template-columns:minmax(0,1fr);column-gap:12px;display:grid}.form-panel .primary-button{width:100%;margin-top:4px}.inline-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:16px;display:grid}.inline-form .field{margin-bottom:0}.inline-form .primary-button{width:auto;min-height:48px;padding:0 18px}.password-field{display:block;position:relative}.password-field input{width:100%;padding-right:48px}.password-toggle{width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;display:grid;position:absolute;top:50%;right:2px;transform:translateY(-50%)}.password-toggle:hover{color:var(--text)}.password-toggle svg{width:18px;height:18px}.primary-button,.small-button{border-radius:var(--radius-sm);cursor:pointer;justify-content:center;align-items:center;gap:6px;min-height:48px;font-size:15px;font-weight:600;transition:background .15s,border-color .15s,transform .1s;display:inline-flex}.primary-button:not(:disabled):active,.small-button:not(:disabled):active{transform:scale(.98)}.primary-button{border:1px solid var(--primary);background:var(--primary);color:var(--on-primary);padding:10px 18px}.primary-button:not(:disabled):hover{background:var(--primary-hover);border-color:var(--primary-hover)}.small-button{border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--text);padding:6px 14px;font-size:14px}.small-button:hover{background:var(--surface-muted)}.small-button.primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.small-button.primary:hover{background:var(--primary-hover)}.small-button.danger{color:var(--negative)}.small-button.danger:hover{background:var(--negative-soft);border-color:var(--negative-border)}.primary-button:disabled,.small-button:disabled{opacity:.5;cursor:not-allowed}.text-button{min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;margin:8px auto 0;font-size:14px;display:block}.text-button:hover{color:var(--text)}.link-button{min-height:44px;color:var(--text-muted);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;padding:6px 0;font-size:13px;text-decoration:underline}.link-button:hover{color:var(--text)}.link-button:disabled{opacity:.45;cursor:default;text-decoration:none}@media (width>=760px){.panel{padding:22px}.summary-card{padding:18px 20px}.summary-card strong{font-size:22px}.section{margin-top:32px}.work-grid,.report-grid{gap:18px}.form-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (width>=1100px){.work-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr)}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=1024px) and (pointer:fine){.field input,.field select,.field .date-trigger{height:42px;min-height:42px;font-size:15px}.primary-button{min-height:40px;padding:8px 16px;font-size:14px}.inline-form .primary-button{height:42px;min-height:42px}.small-button{min-height:34px;padding:4px 12px;font-size:14px}.link-button,.text-button{min-height:0}.password-toggle{width:34px;height:34px;right:4px}.password-field input{padding-right:42px}}.desktop-only{display:none}.sheet .panel-heading{align-items:center}.sheet-close{align-items:center;display:inline-flex}@media (width>=1024px){.desktop-only{display:block}.sheet{max-width:560px}}.form-dialog{color:inherit;background:0 0;border:0;max-width:100%;margin:0;padding:0}.form-dialog:not([open]),.form-dialog::backdrop{display:none}.dialog-header{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.dialog-title{margin:0;font-size:16px;font-weight:600}.dialog-close{width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;margin-right:-10px;display:grid}.dialog-close svg{width:20px;height:20px}.dialog-close:hover{background:var(--surface-muted);color:var(--text)}.form-dialog[open]{border-radius:var(--radius);background:var(--surface);width:min(720px,92vw);max-height:88vh;color:var(--text);border:1px solid var(--border);box-shadow:var(--popup-shadow);flex-direction:column;margin:auto;padding:16px 16px 20px;display:flex}.form-dialog[open]::backdrop,.confirm-dialog::backdrop{background:var(--scrim);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:block}.form-dialog[open] .dialog-body{min-height:0;overflow:auto}.form-dialog[open] .panel{box-shadow:none;background:0 0;border:0;padding:0}.form-dialog[open] .panel-heading{display:none}.form-dialog[open] .dialog-header{margin-bottom:12px}@media (width>=1024px){.form-dialog[open]{padding:24px}}@media (width<=1023px){.small-button.dialog-control{gap:0;width:44px;padding:0;font-size:0}.small-button.dialog-control svg{width:20px;height:20px}}.form-dialog.phone-hidden,.dialog-control.phone-hidden{display:none}@media (width>=1024px){.form-dialog.phone-hidden[open]{display:flex}.dialog-control.phone-hidden{display:inline-flex}}.choice{border:0;min-width:0;margin:0 0 16px;padding:0}.choice legend{color:var(--text);margin-bottom:8px;padding:0;font-size:14px;font-weight:500}.choice-options{gap:8px;display:grid}.choice-option{cursor:pointer;min-width:0;display:block;position:relative}.choice-option input{opacity:0;width:1px;height:1px;position:absolute}.choice-face{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:0;height:100%;color:var(--text-muted);align-items:center;gap:8px;font-size:14px;font-weight:500;transition:border-color .15s,background .15s,color .15s;display:flex}.choice-face svg{flex:none;width:18px;height:18px}.choice-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.choice-face small{color:var(--text-subtle);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:400;overflow:hidden}.choice-option:hover .choice-face{border-color:var(--border-strong)}.choice-option input:checked+.choice-face{border-color:var(--text);background:var(--surface-muted);color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}.choice-option input:focus-visible+.choice-face{outline:2px solid var(--text);outline-offset:2px}.choice.segment .choice-options{background:var(--surface-muted);border-radius:14px;grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;padding:4px}.choice.segment .choice-face{background:0 0;border-color:#0000;justify-content:center;gap:5px;min-height:42px;padding:0 4px;font-size:13px}.choice.segment .choice-face svg{width:16px;height:16px}.choice.segment .choice-option input:checked+.choice-face{background:var(--surface);border-color:var(--border);box-shadow:0 1px 2px #00000014}.choice.cards .choice-options{grid-template-columns:repeat(2,minmax(0,1fr))}.choice.cards .choice-face{grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);column-gap:10px;min-height:56px;padding:10px 12px;display:grid}.choice.cards .choice-face svg{grid-row:span 2;width:20px;height:20px}.choice.cards .choice-label{color:var(--text);white-space:normal;-webkit-line-clamp:2;overflow-wrap:break-word;-webkit-box-orient:vertical;line-height:1.3;display:-webkit-box}.choice.cards .choice-face small{white-space:normal;text-overflow:clip;color:var(--text);font-variant-numeric:tabular-nums;font-size:14px;font-weight:600;overflow:visible}@media (width<=419px){.choice.cards .choice-face{grid-template-columns:minmax(0,1fr);row-gap:2px}.choice.cards .choice-face svg{grid-row:auto;width:18px;height:18px}}.choice.tiles .choice-options{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=399px){.choice.segment .choice-face{flex-direction:column;gap:2px;min-height:50px;font-size:12px}}.choice.tiles .choice-face{text-align:center;flex-direction:column;justify-content:center;gap:6px;min-height:72px;padding:10px 4px;font-size:12px}.choice.tiles .choice-face svg{width:22px;height:22px}.choice.tiles .choice-label{white-space:normal;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;max-width:100%;line-height:1.25;display:-webkit-box}@media (width>=480px){.choice.cards .choice-options{grid-template-columns:repeat(3,minmax(0,1fr))}.choice.tiles .choice-options{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}}.choice-current{cursor:pointer;text-align:left;border-color:var(--text);background:var(--surface-muted);width:100%;color:var(--text);box-shadow:inset 0 0 0 1px var(--text);font-family:inherit}.choice-current:focus-visible{outline:2px solid var(--text);outline-offset:2px}.choice.cards .choice-current,.choice.tiles .choice-current{text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;min-height:52px;padding:10px 12px;font-size:14px;display:flex}.choice.cards .choice-current svg,.choice.tiles .choice-current svg{width:20px;height:20px}.choice.cards .choice-current small{flex:none;margin-left:auto}.choice.cards .choice-current .choice-chevron,.choice.tiles .choice-current .choice-chevron{width:18px;height:18px;color:var(--text-muted);flex:none;margin-left:auto}.choice.tiles .choice-current small{color:var(--text-subtle);flex:none;margin-left:auto;font-size:12px}.choice.cards .choice-current small+.choice-chevron,.choice.tiles .choice-current small+.choice-chevron{margin-left:0}.choice-section+.choice-section{margin-top:10px}.choice-section-title{color:var(--text-muted);margin:0 0 6px;font-size:12px;font-weight:600}.amount-field input{letter-spacing:-.01em;min-height:56px;font-size:24px;font-weight:600}@media (width>=1024px) and (pointer:fine){.amount-field input{height:52px;min-height:52px;font-size:22px}}.switch-row{width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;font-size:15px;font-weight:500;display:flex}.switch-row>svg{width:19px;height:19px;color:var(--text-muted);flex:none}.switch-row>span:first-of-type{flex:1;min-width:0}.switch{background:var(--border-strong);border-radius:99px;flex:none;width:44px;height:26px;transition:background .15s;position:relative}.switch:after{content:"";background:var(--surface);border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0003}.switch-row[aria-checked=true] .switch{background:var(--primary)}.switch-row[aria-checked=true] .switch:after{background:var(--on-primary);transform:translate(18px)}.action-panel{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);min-width:0;margin:4px 0 8px;padding:14px 12px}.action-panel .primary-button{width:100%}.action-panel-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.action-panel-heading strong{font-size:15px;font-weight:600}.action-facts{color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;gap:4px 10px;margin:0 0 12px;font-size:14px;display:flex}.action-facts strong{color:var(--text);font-weight:600}.action-panel .choice.segment .choice-options{background:var(--surface)}.action-panel .choice.segment .choice-option input:checked+.choice-face{background:var(--surface-muted)}@media (width>=760px){.action-panel{padding:16px}}@media (width>=1024px) and (pointer:fine){.action-panel .primary-button{width:auto}}.card-list{gap:12px;display:grid}.item-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:0;padding:14px}.card-head{align-items:center;gap:12px;min-width:0;display:flex}.card-head>div{flex:1;min-width:0}.card-head strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;display:block;overflow:hidden}.card-head small{color:var(--text-muted);margin-top:2px;font-size:12px;display:block}.card-head .badge{flex:none;margin:0}.card-icon,.item-card .account-symbol{background:var(--surface-muted);width:40px;height:40px;color:var(--text);border-radius:12px;flex:none;place-items:center;display:grid}.item-card .account-symbol svg{width:19px;height:19px}.card-facts{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:0;padding:12px 0 0;display:grid}.card-facts div{min-width:0}.card-facts dt{color:var(--text-muted);font-size:12px}.card-facts dd{overflow-wrap:anywhere;margin:2px 0 0;font-size:14px;font-weight:600}.card-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.card-actions .small-button{flex:auto}.item-card .action-panel{margin:12px 0 0}.check-row{cursor:pointer;align-items:center;gap:10px;min-height:44px;margin:0 0 12px;font-size:15px;font-weight:500;display:flex}.check-row input{width:20px;height:20px;accent-color:var(--primary);margin:0}.hero-icon{background:var(--primary-soft);width:32px;height:32px;color:var(--primary);border-radius:10px;flex:none;place-items:center;display:grid}@media (width>=760px){.item-card{padding:18px}.card-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.card-actions .small-button{flex:none}}.confirm-dialog{border:1px solid var(--border);box-shadow:var(--popup-shadow);padding:20px 16px calc(16px + env(safe-area-inset-bottom));border-radius:var(--radius) var(--radius) 0 0;background:var(--surface);width:100%;max-width:100%;color:var(--text);margin:auto 0 0}.confirm-dialog .dialog-header{margin-bottom:8px}.confirm-dialog p{overflow-wrap:anywhere;margin:0 0 20px;font-size:16px;line-height:1.5}.confirm-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.confirm-actions .confirm-danger{background:var(--negative);border-color:var(--negative);color:#fff}.confirm-actions .confirm-danger:hover{background:var(--negative);filter:brightness(.92)}@media (width>=640px){.confirm-dialog{border-radius:var(--radius);width:min(440px,92vw);margin:auto;padding:24px}.confirm-actions{justify-content:flex-end;display:flex}}.info-tip{width:24px;height:24px;color:var(--text-subtle);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:inline-grid}.info-tip svg{width:15px;height:15px}.info-tip:hover,.info-tip[aria-expanded=true]{color:var(--text);background:var(--surface-muted)}.info-tip:focus-visible{outline:2px solid var(--text);outline-offset:1px}.info-tip-text{color:var(--text-muted);flex-basis:100%;font-size:12px;font-weight:400;line-height:1.45}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.auth-page{background:var(--bg);min-height:100dvh;padding-bottom:env(safe-area-inset-bottom)}.auth-hero{color:var(--ink-text);background:var(--ink);padding:0 16px 72px;position:relative}.auth-top{min-height:68px;padding-top:max(8px,env(safe-area-inset-top));justify-content:space-between;align-items:center;gap:12px;display:flex}.auth-hero .brand{color:var(--ink-text)}.auth-hero .brand small{color:var(--ink-muted)}@media (width<=419px){.auth-hero .brand small{display:none}}.auth-controls{align-items:center;gap:8px;display:flex}.language-switch select{border:1px solid var(--ink-border);min-height:40px;color:var(--ink-text);background:#ffffff1f;border-radius:10px;padding:6px 8px;font-size:16px}.auth-hero .theme-toggle{border-color:var(--ink-border);color:var(--ink-text);background:#ffffff1f}.auth-intro{padding:20px 0 0}.auth-intro h1{letter-spacing:-.04em;color:var(--ink-text);max-width:560px;margin:0 0 12px;font-size:34px;font-weight:700;line-height:1.12}.auth-intro p{color:var(--ink-muted);max-width:460px;margin:0;font-size:16px;line-height:1.6}.auth-content{margin-top:-48px;padding:0 16px 32px;position:relative}.auth-card{background:var(--surface);border:1px solid var(--border);max-width:440px;box-shadow:var(--shadow);border-radius:22px;margin:0 auto;padding:24px 20px}.auth-card h2{letter-spacing:-.03em;margin:2px 0 20px;font-size:24px;font-weight:700}.auth-card .primary-button{width:100%;margin-top:16px}@media (width>=900px){.auth-page{grid-template-columns:minmax(0,1.1fr) minmax(420px,1fr);display:grid}.auth-hero{flex-direction:column;min-height:100vh;padding:0 clamp(32px,5vw,72px) 48px;display:flex}.auth-top{min-height:88px}.auth-intro{margin:auto 0;padding:0}.auth-intro h1{font-size:clamp(44px,4.6vw,64px)}.auth-intro p{font-size:18px}.auth-content{place-items:center;margin:0;padding:32px;display:grid}.auth-card{width:100%;box-shadow:none;background:0 0;border:0;padding:36px}}@media (width>=1024px) and (pointer:fine){.language-switch select{min-height:38px;font-size:14px}}.fx-note{background:var(--surface-muted);border:1px solid var(--border);color:var(--text-muted);border-radius:8px;margin:0 0 20px;padding:10px 12px;font-size:14px;line-height:1.5}.fx-note.warn{background:var(--surface-muted);border-color:var(--border);color:var(--text-muted)}.profile-panel{margin-bottom:20px}.settings-panels{gap:16px;display:grid}.profile-avatar-row{align-items:center;gap:16px;margin:20px 0 24px;display:flex}.profile-avatar{background:var(--surface-muted);width:64px;height:64px;color:var(--text);border-radius:50%;flex:none;place-items:center;font-size:26px;font-weight:600;display:grid;overflow:hidden}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-avatar-actions{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.profile-avatar-actions .hint{color:var(--text-muted);flex-basis:100%}.profile-upload{border:1px solid var(--border);min-height:44px;color:var(--text);cursor:pointer;border-radius:8px;align-items:center;padding:9px 14px;font-weight:600;display:inline-flex;position:relative}.profile-upload:focus-within{outline:2px solid var(--primary);outline-offset:2px}.profile-upload input{opacity:0;width:1px;height:1px;position:absolute}.profile-form{gap:16px;max-width:480px;display:grid}.profile-form input[readonly]{background:var(--surface-muted);color:var(--text-muted)}.profile-save{align-items:center;gap:14px;display:flex}.profile-save [role=status]{color:var(--text-muted);font-size:14px}.export-save{gap:8px;display:grid}.export-save [role=status]{color:var(--text-muted);font-size:14px}@media (width>=640px){.export-save{align-items:center;gap:14px;display:flex}.form-panel .export-save .primary-button{width:auto}.export-save [role=status]{white-space:nowrap}}.date-trigger{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;font-size:16px;font-weight:400;transition:border-color .15s,box-shadow .15s;display:flex}.date-trigger:focus-visible,.date-trigger[aria-expanded=true]{border-color:var(--text);box-shadow:0 0 0 3px var(--focus-ring);outline:none}.date-trigger svg{color:var(--text-muted);flex:none}.date-placeholder{color:var(--text-subtle)}.field .date-mirror{opacity:0;pointer-events:none;border:0;width:1px;height:1px;min-height:0;padding:0;position:absolute}.field{position:relative}.date-pop{background:var(--surface);width:100%;max-width:100%;color:var(--text);padding:16px 12px calc(12px + env(safe-area-inset-bottom));border:0;border-radius:16px 16px 0 0;margin:0;font-size:14px;font-weight:400;position:fixed;inset:auto 0 0;box-shadow:0 -4px 24px #0000002e}.date-pop::backdrop{background:#140e0c73}.date-head{justify-content:space-between;align-items:center;gap:4px;margin-bottom:8px;display:flex}.date-title{text-align:center;color:var(--text);flex:1;font-size:16px;font-weight:600}.date-title-button{border-radius:var(--radius-sm);cursor:pointer;background:0 0;border:0;min-height:44px;font-family:inherit}.date-title-button:hover,.date-nav:hover{background:var(--surface-muted)}.date-nav{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:grid}.date-nav:disabled{opacity:.35;cursor:default;background:0 0}.date-week{grid-template-columns:repeat(7,minmax(0,1fr));justify-items:center;display:grid}.date-weekday{color:var(--text-muted);padding:4px 0;font-size:12px;font-weight:600}.date-day,.date-month{width:44px;height:44px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:50%;place-items:center;font-size:15px;display:grid}.date-day:hover:not(:disabled),.date-month:hover:not(:disabled){background:var(--surface-muted)}.date-day[data-outside]{color:var(--text-subtle);opacity:.6}.date-day[data-today],.date-month[data-current]{border-color:var(--text)}.date-day[data-selected],.date-month[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary);opacity:1}.date-day:disabled,.date-month:disabled{opacity:.3;cursor:default}.date-day:focus-visible,.date-month:focus-visible,.date-nav:focus-visible,.date-title-button:focus-visible,.date-link:focus-visible{outline:2px solid var(--text);outline-offset:2px}.date-months{grid-template-columns:repeat(3,minmax(0,1fr));justify-items:center;gap:8px;display:grid}.date-month{border-radius:var(--radius-sm);width:100%}.date-foot{border-top:1px solid var(--border);justify-content:space-between;margin-top:8px;padding-top:8px;display:flex}.date-link{min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:0;padding:0 12px;font-weight:600}.date-link:disabled{opacity:.35;cursor:default}.date-link:hover:not(:disabled){background:var(--surface-muted)}@media (width>=640px){.date-pop{border:1px solid var(--border);border-radius:var(--radius);width:320px;padding:12px;inset:auto;box-shadow:0 8px 28px #00000029}.date-pop::backdrop{background:0 0}.date-day,.date-month{width:38px;height:38px;font-size:14px}.date-month{width:100%}.date-nav,.date-title-button{height:38px;min-height:38px}.date-nav{width:38px}.date-link{min-height:38px}}.chat-fab{z-index:19;right:max(16px,env(safe-area-inset-right));bottom:calc(92px + env(safe-area-inset-bottom));background:var(--primary);width:52px;height:52px;color:var(--on-primary);cursor:pointer;border:0;border-radius:50%;place-items:center;transition:transform .15s;display:grid;position:fixed;box-shadow:0 8px 24px #00000038}.chat-fab:active{transform:scale(.95)}.chat-fab:focus-visible{outline:2px solid var(--text);outline-offset:3px}.chat-fab svg{width:23px;height:23px}.chat-panel{background:var(--bg);width:100%;max-width:none;height:100%;max-height:none;color:var(--text);border:0;margin:0;padding:0;inset:0;overflow:hidden}.chat-panel:popover-open{display:flex}.chat-panel::backdrop{background:#00000052}.chat{flex-direction:column;flex:1;min-width:0;height:100%;display:flex}.chat-head{padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));border-bottom:1px solid var(--border);background:var(--surface);align-items:center;gap:10px;display:flex}.chat-head>div{flex:1;min-width:0}.chat-head strong{font-size:16px;font-weight:600;display:block}.chat-head small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.chat-mark{background:var(--primary);width:36px;height:36px;color:var(--on-primary);border-radius:12px;flex:none;place-items:center;display:grid}.chat-mark svg{width:18px;height:18px}.chat-log{overscroll-behavior:contain;min-height:0;padding:14px max(12px,env(safe-area-inset-right)) 14px max(12px,env(safe-area-inset-left));flex-direction:column;flex:1;gap:10px;display:flex;overflow-y:auto}.bubble{white-space:pre-line;overflow-wrap:anywhere;border-radius:16px;max-width:88%;margin:0;padding:10px 13px;font-size:15px;line-height:1.45}.bubble.user{background:var(--primary);color:var(--on-primary);border-bottom-right-radius:6px;align-self:flex-end}.bubble.bot{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:6px;align-self:flex-start}.bubble.muted{color:var(--text-muted)}.bubble.success{border-color:var(--text)}.bubble.error{color:var(--negative);background:var(--negative-soft);border-color:var(--negative-border)}.chat-examples{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.chip{border:1px solid var(--border-strong);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;border-radius:99px;padding:0 12px;font-size:14px}.chip:hover{background:var(--surface-muted)}.batch{gap:8px;min-width:0;display:grid}.batch-note{color:var(--text-subtle);margin:0;font-size:12px}.batch .form-error{margin:0}.batch-actions{gap:8px;display:flex}.batch-actions .primary-button{flex:1}.draft-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;min-width:0;padding:10px 12px}.draft-card.invalid{border-color:var(--negative)}.draft-card.posted{background:var(--surface-muted)}.draft-summary{align-items:center;gap:10px;min-width:0;display:flex}.draft-summary>div{flex:1;min-width:0}.draft-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;display:block;overflow:hidden}.draft-summary small{color:var(--text-muted);font-size:12px;line-height:1.4;display:block}.draft-icon{background:var(--surface-muted);width:36px;height:36px;color:var(--text);border-radius:11px;flex:none;place-items:center;display:grid}.draft-icon.out{background:var(--negative-soft);color:var(--negative)}.draft-icon.in{background:var(--positive-soft);color:var(--positive)}.draft-icon svg{width:18px;height:18px}.draft-amount{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.draft-amount.out{color:var(--negative)}.draft-amount.in{color:var(--positive)}.draft-amount.neutral{color:var(--text-muted)}.draft-error{margin:6px 0 0}.draft-tools{justify-content:flex-end;gap:6px;margin-top:8px;display:flex}.draft-tools .icon-only{width:44px;padding:0}.draft-tools svg{width:18px;height:18px}.draft-fields{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.chat-compose{padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid var(--border);background:var(--surface);align-items:flex-end;gap:8px;display:flex}.chat-compose textarea{field-sizing:content;resize:none;border:1px solid var(--border-strong);background:var(--surface);min-width:0;min-height:48px;max-height:140px;color:var(--text);font:inherit;border-radius:14px;outline:none;flex:1;padding:12px 14px;font-size:16px;line-height:1.4}.chat-compose textarea:focus{border-color:var(--text);box-shadow:0 0 0 3px var(--focus-ring)}.chat-compose .icon-button{border:1px solid var(--border);background:var(--surface);width:48px;height:48px;color:var(--text);cursor:pointer;border-radius:14px;flex:none;place-items:center;padding:0;display:grid}.chat-compose .icon-button svg{width:20px;height:20px}.chat-compose .icon-button.send{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.chat-compose .icon-button:disabled{opacity:.45;cursor:not-allowed}.chat-compose .icon-button.mic[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary);animation:1.4s ease-out infinite mic-ripple}.mic-wave{align-items:center;gap:3px;height:20px;display:flex}.mic-wave i{background:currentColor;border-radius:2px;width:3px;height:100%;animation:.9s ease-in-out infinite mic-bar}.mic-wave i:nth-child(2){animation-delay:-.3s}.mic-wave i:nth-child(3){animation-delay:-.6s}.mic-wave i:nth-child(4){animation-delay:-.15s}@keyframes mic-bar{0%,to{transform:scaleY(.3)}50%{transform:scaleY(1)}}@keyframes mic-ripple{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--primary) 40%,transparent)}to{box-shadow:0 0 0 10px #0000}}@media (prefers-reduced-motion:reduce){.chat-compose .icon-button.mic,.mic-wave i{animation:none}}.chat-head .icon-button{background:0 0;border-color:#0000;width:44px;height:44px}@media (width>=640px){.chat-fab{right:24px;bottom:calc(18px + env(safe-area-inset-bottom))}.chat-panel{inset:auto 24px calc(84px + env(safe-area-inset-bottom)) auto;border:1px solid var(--border);border-radius:20px;width:380px;height:min(640px,100dvh - 120px);box-shadow:0 20px 50px #00000038}.chat-panel::backdrop{background:0 0}.chat-head{padding:12px 12px 12px 16px}}@media (width>=1024px){.chat-fab{bottom:28px;right:32px}.chat-panel{bottom:92px;right:32px}}.trade-qty{grid-template-columns:minmax(0,1fr);column-gap:10px;margin-bottom:14px;display:grid}.trade-qty.with-unit{grid-template-columns:minmax(0,1fr) 112px}.trade-qty .field{margin:0}.trade-qty>small{grid-column:1/-1;margin-top:6px}.filters{border:0;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:0 12px;min-width:0;margin:0 0 4px;padding:0;display:grid}.filters .link-button{justify-self:start;margin-bottom:14px}@media (width>=640px){.filters{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}.tx-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 14px;display:grid}.tx-overview>div{border:1px solid var(--border);border-radius:10px;min-width:0;padding:10px 12px}.tx-overview dt{color:var(--text-muted);font-size:12px}.tx-overview dd{overflow-wrap:anywhere;margin:2px 0 0;font-size:15px;font-weight:600}.tx-overview dd.in{color:var(--positive)}.tx-overview dd.out{color:var(--negative)}.pager{color:var(--text-muted);justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:14px;display:flex}.pager span{text-align:center}@media (width>=640px){.tx-overview{grid-template-columns:repeat(4,minmax(0,1fr))}}.tx-summary{gap:10px;margin:0 0 12px;display:grid}.tx-summary>div{min-width:0}.tx-summary dt{color:var(--text-muted);font-size:12px}.tx-summary dd{overflow-wrap:anywhere;margin:2px 0 0}.tx-delete{width:100%;min-height:44px;margin-top:12px}.transaction-list{margin:0;padding:0;list-style:none;display:grid}.transaction-row{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:6px 12px;padding:12px 0;font-size:15px;display:flex}.transaction-row:first-child{border-top:0}.transaction-row>div{flex:1;min-width:0}.transaction-row strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-weight:600;display:block;overflow:hidden}.transaction-row small{color:var(--text-muted);margin-top:3px;font-size:12px;line-height:1.4;display:block}.transaction-icon{background:var(--surface-muted);width:40px;height:40px;color:var(--text);border-radius:12px;flex:none;place-items:center;display:grid}.transaction-icon svg{width:19px;height:19px}.transaction-icon.expense{background:var(--negative-soft);color:var(--negative)}.transaction-icon.income{background:var(--positive-soft);color:var(--positive)}.transaction-icon.transfer{background:var(--surface-muted);color:var(--text-muted)}.transaction-icon.opening{background:var(--ink);color:var(--ink-text)}.transaction-amount{white-space:nowrap;color:var(--text);margin-left:52px;font-size:15px;font-weight:600}.transaction-amount.out{color:var(--negative)}.transaction-amount.in{color:var(--positive)}.transaction-amount.neutral{color:var(--text-muted)}.transaction-row:has(>.transaction-icon):not(.rule-row){grid-template-columns:40px minmax(0,1fr) auto auto;grid-template-areas:"icon title amount edit""icon meta meta edit";gap:2px 12px;display:grid}.transaction-row:has(>.transaction-icon):not(.rule-row)>div{display:contents}.transaction-row:has(>.transaction-icon):not(.rule-row)>.transaction-icon{grid-area:icon}.transaction-row:has(>.transaction-icon):not(.rule-row) strong{grid-area:title}.transaction-row:has(>.transaction-icon):not(.rule-row) small{grid-area:meta;margin-top:0}.transaction-row:has(>.transaction-icon):not(.rule-row)>.transaction-amount{text-align:right;grid-area:amount;margin-left:0}.transaction-row:has(>.transaction-icon):not(.rule-row)>.icon-button{grid-area:edit}.icon-button{width:32px;height:32px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.icon-button svg{width:16px;height:16px}.icon-button:hover{background:var(--surface-muted);color:var(--text)}@media (width>=760px){.transaction-row{flex-wrap:nowrap}.transaction-amount{margin-left:0}}.app-shell{min-height:100dvh}.main-area{min-width:0}.brand{letter-spacing:-.04em;color:var(--text);align-items:center;gap:10px;font-size:20px;font-weight:700;display:flex}.brand-mark{background:var(--primary);width:34px;height:34px;color:var(--on-primary);letter-spacing:-.08em;border-radius:10px;flex:none;place-items:center;padding-right:2px;font-size:19px;font-weight:700;display:grid}.brand small{letter-spacing:.12em;color:var(--text-subtle);margin-top:1px;font-size:10px;font-weight:600;display:block}.sidebar{display:none}.topbar{z-index:15;min-height:60px;padding:max(8px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));background:color-mix(in srgb,var(--bg) 86%,transparent);-webkit-backdrop-filter:blur(12px);color:var(--text-muted);justify-content:space-between;align-items:center;gap:12px;font-size:14px;font-weight:500;display:flex;position:sticky;top:0}.topbar-brand{min-height:44px}.transaction-fab,.topbar-title{display:none}.avatar-button{cursor:pointer;background:0 0;border:0;border-radius:99px;flex:none;align-items:center;gap:8px;min-width:44px;min-height:44px;margin-left:auto;padding:0;display:flex}.avatar-button:focus-visible{outline:2px solid var(--text);outline-offset:2px}.avatar-name{display:none}.shell-avatar{background:var(--primary-soft);width:40px;height:40px;color:var(--primary);border-radius:50%;flex:none;place-items:center;font-size:16px;font-weight:700;display:grid;overflow:hidden}.shell-avatar img{object-fit:cover;width:100%;height:100%}.shell-avatar.large{width:48px;height:48px;font-size:19px}.sidebar-note{display:none}.account-menu{border:1px solid var(--border);background:var(--surface);width:auto;max-width:none;max-height:calc(100dvh - 40px);color:var(--text);padding:10px 12px calc(14px + env(safe-area-inset-bottom));border-bottom:0;border-radius:22px 22px 0 0;margin:0;inset:auto 0 0;overflow:auto;box-shadow:0 -12px 40px #00000038}.account-menu:popover-open{gap:2px;display:grid}.account-menu::backdrop{background:#00000052}.account-menu:before{content:"";background:var(--border-strong);border-radius:99px;justify-self:center;width:40px;height:4px;margin:0 0 6px}.menu-user{align-items:center;gap:12px;min-width:0;padding:6px 8px 12px;display:flex}.menu-user>span{min-width:0}.menu-user strong,.menu-user small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.menu-user strong{font-size:16px;font-weight:600}.menu-user small{color:var(--text-muted);font-size:13px}.menu-item{width:100%;min-height:48px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:0 8px;font-size:15px;font-weight:500;display:flex}.menu-item>svg{width:19px;height:19px;color:var(--text-muted);flex:none}.menu-item>span:first-of-type{flex:1;min-width:0}.menu-item:hover{background:var(--surface-muted)}.menu-item:disabled{opacity:.5;cursor:not-allowed}.menu-signout,.menu-signout>svg{color:var(--negative)}.menu-prefs{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0;padding:12px 8px 0;display:grid}.account-menu .form-error{margin:6px 8px}.content{max-width:1680px;padding:8px max(16px,env(safe-area-inset-right)) calc(156px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));margin:0 auto}.eyebrow{color:var(--text-subtle);letter-spacing:.1em;font-size:12px;font-weight:600}.page-heading{margin:4px 0 18px}.page-heading h1{letter-spacing:-.03em;margin:0;font-size:26px;font-weight:700;line-height:1.2}.page-heading h1:focus{outline:none}.section-tabs{border:1px solid var(--border);background:var(--surface-muted);border-radius:14px;gap:6px;margin:0 0 20px;padding:4px;display:flex;overflow-x:auto}.section-tab{min-width:max-content;min-height:44px;color:var(--text-muted);white-space:nowrap;border-radius:10px;flex:1;justify-content:center;align-items:center;padding:0 14px;font-size:14px;font-weight:600;display:flex}.section-tab:hover{color:var(--text)}.section-tab.active{background:var(--surface);color:var(--primary);box-shadow:0 1px 4px #00000014}.section-tab:focus-visible{outline:2px solid var(--text);outline-offset:-2px}.global-error{margin:0 0 20px}.tabbar{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:24px;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;padding:6px;display:grid;position:fixed;box-shadow:0 8px 24px #0000001f}.tab{min-width:0;min-height:54px;color:var(--text-subtle);text-align:center;text-overflow:ellipsis;white-space:nowrap;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:600;transition:color .15s,background .15s;display:flex;overflow:hidden}.tab svg{width:21px;height:21px}.tab.active{color:var(--primary);background:var(--primary-soft)}.tab.tab-add{background:var(--primary);width:52px;height:52px;min-height:0;color:var(--on-primary);border-radius:50%;justify-self:center}.tab.tab-add svg{width:26px;height:26px}.tab.tab-add.active{background:var(--primary-hover)}.more-list{margin:0;padding:4px 16px;list-style:none}.more-list li+li{border-top:1px solid var(--border)}.more-link{min-height:64px;color:var(--text);align-items:center;gap:13px;padding:10px 0;font-size:15px;display:flex}.more-link>span:nth-child(2){flex:1;min-width:0}.more-link strong{display:block}.more-link small{color:var(--text-muted);margin-top:4px;font-size:13px;line-height:1.4;display:block}.more-link>svg{width:20px;height:20px;color:var(--text-subtle)}.more-icon{background:var(--surface-muted);width:40px;height:40px;color:var(--text);border-radius:12px;flex:none;place-items:center;display:grid}.more-icon svg{width:19px;height:19px}@media (width>=640px){.topbar{padding-inline:26px}.avatar-button{background:var(--surface-muted);padding:4px 6px 4px 14px}.avatar-name{color:var(--text);text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:14px;font-weight:600;display:block;overflow:hidden}.account-menu{inset:64px max(16px,env(safe-area-inset-right)) auto auto;border-bottom:1px solid var(--border);border-radius:18px;width:340px;padding:10px 10px 12px;box-shadow:0 16px 40px #0000002e}.account-menu:before{display:none}.account-menu::backdrop{background:0 0}.content{padding:16px 26px calc(112px + env(safe-area-inset-bottom))}.page-heading{justify-content:space-between;align-items:end;gap:20px;margin:8px 0 26px;display:flex}.page-heading h1{font-size:clamp(28px,3vw,36px)}.tabbar{width:420px;left:50%;right:auto;transform:translate(-50%)}}@media (width>=1024px){.app-shell{grid-template-columns:252px minmax(0,1fr);display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);height:100vh;color:var(--text);flex-direction:column;padding:20px 16px;display:flex;position:sticky;top:0}.sidebar .brand{padding:0 12px}.sidebar-label{letter-spacing:.12em;color:var(--text-subtle);padding:32px 14px 12px;font-size:11px;font-weight:600}.navigation{gap:4px;display:grid}.nav-item{height:46px;color:var(--text-muted);border-radius:12px;align-items:center;gap:14px;padding:0 14px;font-size:15px;font-weight:500;transition:background .15s,color .15s;display:flex}.nav-item svg{flex:none;width:19px;height:19px}.nav-item:hover{background:var(--surface-muted);color:var(--text)}.nav-item.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.sidebar-note{background:var(--surface-muted);border:1px solid var(--border);width:100%;color:var(--text);text-align:left;cursor:pointer;border-radius:14px;align-items:center;gap:10px;margin-top:auto;padding:12px;transition:border-color .15s;display:flex}.sidebar-note:hover{border-color:var(--border-strong)}.sidebar-note:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sidebar-note>span:last-child{min-width:0}.sidebar-note strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.sidebar-note small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;display:block;overflow:hidden}.account-menu{inset:72px 40px auto auto}.account-menu[data-from=sidebar]{inset:auto auto 20px 264px}.transaction-fab{z-index:19;background:var(--primary);width:52px;height:52px;color:var(--on-primary);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid;position:fixed;bottom:90px;right:32px;box-shadow:0 8px 24px #00000038}.transaction-fab svg{width:23px;height:23px}.transaction-fab:focus-visible{outline:2px solid var(--text);outline-offset:3px}.tabbar{display:none}.topbar{border-bottom:1px solid var(--border);height:72px;padding:0 48px}.topbar-brand{display:none}.topbar-title{letter-spacing:-.02em;color:var(--text);margin:0;font-size:20px;font-weight:700;display:block}.topbar-title:focus{outline:none}.content{padding:36px 48px 104px}}.account-list{margin:0;padding:0;list-style:none;display:grid}.account-row{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;min-width:0;padding:12px 0;font-size:15px;display:grid}.account-row:first-child{border-top:0}.account-row>div{grid-column:1;align-items:center;gap:12px;min-width:0;display:flex}.account-row>div>div{min-width:0}.account-symbol{background:var(--surface-muted);width:40px;height:40px;color:var(--text);border-radius:12px;flex:none;place-items:center;display:grid}.account-symbol svg{width:19px;height:19px}.account-row strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-weight:600;display:block;overflow:hidden}.account-row small{color:var(--text-muted);margin-top:3px;font-size:12px;line-height:1.4;display:block}.account-balance{white-space:nowrap;color:var(--text);grid-area:2/1;padding-left:52px;font-weight:600}.adjust-button{flex:none;grid-area:1/2/3;width:44px;padding:0}.adjust-button svg{width:18px;height:18px}.adjust-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.account-action{padding:0 0 8px}.adjust-difference{color:var(--text-muted);margin:-6px 0 14px;font-size:15px}.adjust-difference strong{color:var(--text)}.adjust-difference.out strong{color:var(--negative)}.accounts-elsewhere{margin:12px 0 0}.accounts-elsewhere a{color:var(--text);text-underline-offset:3px;font-weight:600;text-decoration:underline}@media (width>=480px){.account-row{display:flex}.account-row>div{flex:1}.account-balance{padding-left:0}}@media (width>=640px){.adjust-button{width:auto;padding:6px 12px}.adjust-label{clip-path:none;width:auto;height:auto;position:static;overflow:visible}}.chart{margin:0}.chart-frame{grid-template-columns:auto minmax(0,1fr);gap:8px 10px;display:grid}.chart-scale{height:180px;color:var(--text-subtle);text-align:right;white-space:nowrap;flex-direction:column;justify-content:space-between;margin-block:-8px;font-size:11px;line-height:16px;display:flex}.chart-plot{touch-action:pan-y;height:180px;position:relative}.chart-plot svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.chart-grid{stroke:var(--grid);stroke-width:1px}.chart-gridline{background:var(--grid);height:1px;position:absolute;left:0;right:0}.chart-area{fill:var(--series-main);opacity:.06}.chart-line{fill:none;stroke:var(--series-main);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart-line.accent{stroke:var(--series-accent)}.chart-crosshair{background:var(--border-strong);pointer-events:none;width:1px;position:absolute;top:0;bottom:0}.chart-dot{background:var(--series-main);width:10px;height:10px;box-shadow:0 0 0 2px var(--surface);pointer-events:none;border-radius:50%;margin:-5px 0 0 -5px;position:absolute}.chart-dot.accent{background:var(--series-accent)}.chart-hits{display:flex;position:absolute;inset:0}.chart-hits button{cursor:crosshair;background:0 0;border:0;flex:1;padding:0}.chart-hits button:focus-visible{outline:2px solid var(--text);outline-offset:-2px;border-radius:6px}.chart-axis{height:16px;color:var(--text-subtle);white-space:nowrap;grid-column:2;font-size:11px;line-height:16px;position:relative}.chart-axis span{position:absolute;top:0;transform:translate(-50%)}.chart-axis span:first-child{transform:translate(-12%)}.chart-axis span:last-child{transform:translate(-88%)}.chart-axis span:not(:nth-last-child(4n+1)){display:none}.chart-legend{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:14px;font-size:13px;display:flex}.chart-legend>span{align-items:center;gap:6px;display:inline-flex}.key{border-radius:3px;flex:none;width:10px;height:10px;display:inline-block}.key.main{background:var(--series-main)}.key.accent{background:var(--series-accent)}.chart-tooltip{z-index:2;background:var(--ink);min-width:132px;color:var(--ink-text);border:1px solid var(--ink-border);pointer-events:none;white-space:nowrap;border-radius:12px;gap:3px;padding:9px 11px;font-size:12px;display:grid;position:absolute;top:4px;transform:translate(-50%);box-shadow:0 8px 20px #0000002e}.chart-tooltip.start{transform:none}.chart-tooltip.end{transform:translate(-100%)}.chart-tooltip small{color:var(--ink-muted);font-size:11px}.chart-tooltip strong{font-variant-numeric:tabular-nums;font-size:14px;font-weight:600}.tip-row{color:var(--ink-muted);align-items:center;gap:6px;display:flex}.tip-row strong{color:var(--ink-text);margin-left:auto;padding-left:10px;font-size:13px}.tip-row.net{border-top:1px solid var(--ink-border);margin-top:2px;padding-top:4px}.category-donut{justify-content:center;align-items:center;gap:clamp(24px,6vw,56px);padding:8px 0;display:flex}.donut-wrap{aspect-ratio:1;flex:none;width:clamp(120px,34vw,168px);max-width:100%;position:relative}.category-donut .donut{width:100%;height:100%;overflow:visible}.donut-track{fill:none;stroke:var(--surface-muted);stroke-width:5px}.donut-slice{cursor:pointer;transition:stroke-width .15s,opacity .15s}.donut-slice:focus-visible{filter:drop-shadow(0 0 0 2px var(--surface));outline:none}.donut-slice.active{stroke-width:7px;filter:drop-shadow(0 2px 4px #00000038)}.donut-slice.dim{opacity:.35}.donut-center{text-align:center;pointer-events:none;border-radius:50%;place-items:center;gap:2px;padding:0 2px;line-height:1.25;display:grid;position:absolute;inset:19%}.donut-center small,.donut-center strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.donut-center small{color:var(--text-muted);font-size:clamp(10px,2.4vw,12px)}.donut-center strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:clamp(12px,3.2vw,15px);font-weight:600}.category-legend{flex:0 auto;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.category-legend li{cursor:pointer;border-radius:6px;align-items:center;gap:8px;margin:-2px -4px;padding:2px 4px;font-size:13px;transition:background .15s;display:flex}.category-legend li:hover,.category-legend li.active,.category-legend li:focus-visible{background:var(--surface-muted);outline:none}.category-dot{border-radius:3px;flex:none;width:10px;height:10px}.category-label{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.category-value{color:var(--text);white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto;padding-left:12px;font-weight:600}@media (width<=399px){.category-donut{gap:16px}}.bar-list{margin:0;padding:0;list-style:none}.bar-list li{border-top:1px solid var(--border);align-items:flex-start;gap:12px;padding:12px 0;font-size:14px;display:flex}.bar-list li:first-child{border-top:0;padding-top:2px}.bar-list-icon{background:var(--surface-muted);width:38px;height:38px;color:var(--text);border-radius:12px;flex:none;place-items:center;display:grid}.bar-list-icon svg{width:18px;height:18px}.bar-list-body{flex:1;gap:6px;min-width:0;display:grid}.bar-list-top{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.bar-list-top strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.bar-list-top span{color:var(--text);white-space:nowrap;font-weight:600}.bar-list small{color:var(--text-subtle);font-size:12px}.bar-list-track{background:var(--surface-muted);border-radius:99px;height:6px;display:block;overflow:hidden}.bar-list-track span{background:var(--series-main);border-radius:99px;height:100%;display:block}.bar-list.accent .bar-list-track span{background:var(--series-accent)}.meter{background:var(--surface-muted);border-radius:99px;height:6px;display:block;overflow:hidden}.meter span{background:var(--series-main);border-radius:99px;height:100%;display:block}.meter.negative{background:var(--negative-soft)}@media (width>=480px){.chart-axis span:not(:nth-last-child(4n+1)){display:inline}.chart-axis span:not(:nth-last-child(3n+1)){display:none}}@media (width>=760px){.chart-scale,.chart-plot{height:220px}.chart-axis span:not(:nth-last-child(3n+1)){display:inline}.chart-axis span:not(:nth-last-child(odd)){display:none}}.chart-axis.all span{display:inline!important}.chart-point{background:var(--surface);border:2px solid var(--series-main);pointer-events:none;border-radius:50%;width:7px;height:7px;position:absolute;transform:translate(-50%,-50%)}.chart-point.accent{border-color:var(--series-accent)}.asset-overview{gap:14px;display:grid}@media (width>=1024px){.asset-overview{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px}.asset-overview>.panel{flex-direction:column;height:100%;display:flex}.asset-overview .category-donut{flex:1}}.hero-card{color:#fff;background:linear-gradient(135deg,var(--hero-from),var(--hero-to));border:1px solid var(--ink-border);border-radius:20px;padding:14px 16px}.hero-top{color:var(--ink-muted);align-items:center;gap:10px;font-size:13px;font-weight:500;display:flex}.hero-top>span:last-child{margin-left:auto}.hero-icon{color:#fff;background:#ffffff1f;border-radius:10px;flex:none;place-items:center;width:30px;height:30px;display:grid}.hero-icon svg{width:16px;height:16px}.hero-figure{letter-spacing:-.035em;overflow-wrap:anywhere;color:#fff;margin:6px 0 4px;font-size:clamp(30px,8vw,44px);font-weight:700;line-height:1.1;display:block}.hero-change{color:var(--ink-muted);font-size:13px;font-weight:600;display:block}.hero-change.up{color:var(--hero-up)}.hero-change.down{color:var(--hero-down)}.hero-spark{width:100%;height:36px;margin-top:10px;display:block;overflow:visible}.hero-spark-line{fill:none;stroke:#fff;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.hero-spark-area{fill:#ffffff17;stroke:none}.hero-split{border-top:1px solid #ffffff24;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 0;padding-top:10px;display:grid}.hero-split div{min-width:0}.hero-split dt{color:var(--ink-muted);font-size:12px}.hero-split dd{overflow-wrap:anywhere;color:#fff;margin:2px 0 0;font-size:15px;font-weight:600}.month-panel .panel-heading{align-items:center}.dashboard-period .field{width:auto;min-width:140px;margin:0}.dashboard-period select{text-align-last:center;padding-right:14px!important}.dashboard-row{gap:16px;margin-top:16px;display:grid}.dashboard-row>*{min-width:0}.eyebrow{letter-spacing:.06em;color:var(--text-subtle);font-size:12px;font-weight:600}.panel-heading>.eyebrow{color:var(--text-subtle)}.trend-panel .choice{margin:0 0 14px}.trend-panel .choice legend{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.delta{font-weight:500;color:var(--text-muted)!important;font-size:12px!important}.delta.good{color:var(--positive)!important}.delta.bad{color:var(--negative)!important}@media (width>=760px){.hero-card{padding:16px 24px}.hero-split{grid-template-columns:repeat(2,minmax(0,220px))}}@media (width>=1024px){.dashboard-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px;margin-top:20px}.dashboard-row>.panel{height:100%}}@media (width>=1200px){.hero-card{grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);align-items:center;gap:32px;padding:18px 32px;display:grid}.hero-figure{font-size:clamp(36px,3vw,52px)}.hero-split{border-top:0;border-left:1px solid #ffffff24;grid-template-columns:1fr;margin:0;padding:0 0 0 32px}.hero-split dd{font-size:18px}}.month-panel .report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.month-panel .kpi dd{overflow-wrap:normal;white-space:nowrap}.report-period{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);gap:10px;margin-bottom:14px;padding:8px;display:grid}.report-period .choice{margin:0}.report-period .choice legend{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.report-period .choice.segment .choice-option input:checked+.choice-face{background:var(--primary);border-color:var(--primary);color:var(--on-primary);box-shadow:none}.report-period .choice.segment .choice-options{border-radius:12px;padding:3px}.report-period .choice.segment .choice-face{flex-direction:row;gap:0;min-height:38px;font-size:13px;font-weight:600}.report-nav{justify-content:center;align-items:center;gap:0;display:flex}.report-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.report-range .field{gap:0;margin:0}.report-period .report-range .date-trigger{height:44px;min-height:44px;font-size:14px}.report-step{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;display:grid}.report-step:disabled{opacity:.35;cursor:default}.report-step:hover:not(:disabled),.report-title:hover,.report-option:hover:not(:disabled){background:var(--surface-muted)}.report-title{border-radius:var(--radius-sm);min-height:44px;color:var(--text);font:inherit;text-align:center;cursor:pointer;background:0 0;border:0;flex:none;padding:0 4px;font-size:14px;font-weight:600}.report-reset{min-height:44px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:center;padding:0 12px;font-size:14px;font-weight:600;text-decoration:underline}.report-panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:12px}.report-year{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.report-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.report-options.quarters{grid-template-columns:repeat(2,minmax(0,1fr))}.report-option{border-radius:var(--radius-sm);min-height:44px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;font-size:15px}.report-option[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.report-option:disabled{opacity:.3;cursor:default}.report-step:focus-visible,.report-title:focus-visible,.report-option:focus-visible,.report-reset:focus-visible{outline:2px solid var(--text);outline-offset:2px}@media (width>=640px){.report-period{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.report-period>.choice{flex:0 340px;min-width:0}.report-period .report-nav{flex:none;margin-left:auto}.report-period>div:not(.report-nav):not(.report-range){flex-basis:100%}.report-range{flex:0 360px;margin-left:auto}.report-options.quarters{grid-template-columns:repeat(4,minmax(0,1fr))}}.table-wrap{margin-top:20px}.data-table{border-collapse:collapse;width:100%;font-size:14px}.data-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.data-table tr{border-top:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px;padding:12px 0;display:grid}.data-table tbody tr:first-child{border-top:0}.data-table th[scope=row]{text-align:left;color:var(--text);grid-column:1/-1;font-weight:600}.data-table td{text-align:left;overflow-wrap:anywhere;min-width:0;color:var(--text);flex-direction:column;gap:2px;font-size:13px;display:flex}.data-table td:before{content:attr(data-label);color:var(--text-subtle);font-size:12px}.data-table td.income{color:var(--text)}.data-table td.expense{color:var(--negative)}@media (width>=760px){.table-wrap{overflow-x:auto}.data-table thead{clip-path:none;width:auto;height:auto;display:table-header-group;position:static;overflow:visible}.data-table tr{border-top:0;padding:0;display:table-row}.data-table td{display:table-cell}.data-table td:before{content:none}.data-table th,.data-table td{border-top:1px solid var(--border);text-align:right;white-space:nowrap;padding:12px 8px}.data-table thead th{color:var(--text-subtle);border-top:0;font-size:12px;font-weight:500}.data-table th[scope=row],.data-table thead th:first-child{text-align:left;color:var(--text);font-weight:600}}.insight{border-top:1px solid var(--border);align-items:center;gap:10px;margin-top:16px;padding-top:14px;display:flex}.insight p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.45}.insight-icon{border-radius:9px;flex:none;place-items:center;width:28px;height:28px;display:grid}.insight-icon svg{width:15px;height:15px}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px;display:grid}.kpi{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow);flex-direction:column;gap:4px;padding:14px;display:flex}.kpi dt{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:2px 4px;font-size:13px;display:flex}.kpi dd{letter-spacing:-.01em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:var(--text);margin:0;font-size:17px;font-weight:700}.kpi.income dd{color:var(--positive)}.kpi.expense dd{color:var(--negative)}.kpi-change{color:var(--text-muted);font-size:12px;font-weight:500}.kpi-change.good{color:var(--positive)}.kpi-change.bad{color:var(--negative)}.kpi-change span{color:var(--text-subtle);font-weight:400}.report-details{border-top:1px solid var(--border);margin-top:14px;padding-top:4px}.report-details summary{cursor:pointer;min-height:44px;color:var(--text-muted);align-items:center;font-size:14px;font-weight:600;display:flex}.report-details summary:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:var(--radius-sm)}.report-details .table-wrap{margin-top:0}.report-trend>.choice.segment{margin:0 0 16px}.report-trend>.choice.segment legend{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=640px){.report-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi dd{font-size:19px}}.category-share .choice{margin:0 0 14px}.category-share{flex-direction:column;display:flex}.category-share .category-donut{flex:1}.category-share .choice legend{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.report-overview{gap:16px;display:grid}.report-overview>*{min-width:0}@media (width>=1024px){.report-overview{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px}.report-overview>.panel{height:100%}}.gain{color:var(--text);font-weight:600}.gain.loss{color:var(--negative)}.holding-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0;display:grid}.holding-top>div{min-width:0}.holding-top span{color:var(--text-muted);font-size:12px;display:block}.holding-top strong{overflow-wrap:anywhere;font-size:18px;font-weight:700;line-height:1.25;display:block}.holding-top small{color:var(--text-muted);margin-top:2px;font-size:12px;display:block}.price-source{color:var(--text-muted);font-size:12px;font-weight:400;display:block}.history-disclosure{border-top:1px solid var(--border);margin-top:12px}.history-disclosure summary{cursor:pointer;min-height:44px;color:var(--text-muted);align-items:center;font-size:14px;font-weight:500;display:flex}.trade-history .transaction-amount{margin-left:0}.quantity-row{grid-template-columns:minmax(0,1fr);column-gap:10px;margin-bottom:14px;display:grid}.quantity-row.with-unit{grid-template-columns:minmax(0,1fr) 112px}.quantity-row .field{margin:0}.quantity-row>small{grid-column:1/-1;margin-top:6px}.derived-price{margin:-6px 0 14px}.transaction-row.rule-row{flex-wrap:wrap}.transaction-row.rule-row.due{background:var(--accent-soft);border-radius:10px;margin:0 -10px;padding-inline:10px}.transaction-row .row-actions{flex-wrap:wrap;flex:0 0 100%;justify-content:flex-start;gap:8px;padding-left:52px;display:flex}@media (width>=760px){.transaction-row.rule-row{flex-wrap:wrap}.transaction-row .row-actions{justify-content:flex-end;gap:6px;padding-left:0}}.plan-card.due{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.due-badge{color:var(--accent)!important;border-color:var(--accent)!important;background:var(--accent-soft)!important}.plan-balance{flex-direction:column;margin:12px 0 8px;display:flex}.plan-balance span{color:var(--text-muted);font-size:12px}.plan-balance strong{letter-spacing:-.02em;overflow-wrap:anywhere;font-size:24px;font-weight:700;line-height:1.2}.plan-progress{gap:6px;margin-bottom:10px;display:grid}.plan-progress small{color:var(--text-muted);font-size:12px}.closed-plans{margin-top:16px}.closed-plans summary{cursor:pointer;min-height:44px;color:var(--text-muted);align-items:center;font-size:14px;font-weight:500;display:flex}.closed-plans .plan-card{background:var(--surface-muted)}.plan-kind-hint,.interest-hint{margin:-6px 0 14px}.chip-list{flex-wrap:wrap;gap:8px;margin:0 0 6px;padding:0;list-style:none;display:flex}.chip-list li{background:var(--surface-muted);border:1px solid var(--border);color:var(--text);border-radius:99px;align-items:center;gap:6px;max-width:100%;padding:2px 2px 2px 12px;font-size:13px;display:flex}.chip-list li>svg{width:15px;height:15px;color:var(--text-muted);flex:none}.chip-list li span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chip-remove{cursor:pointer;width:44px;height:44px;color:var(--text-subtle);background:0 0;border:0;border-radius:50%;flex:none;font-size:18px;line-height:1}.chip-remove:hover{background:var(--accent-soft);color:var(--accent)}.chip-remove:disabled{opacity:.5}.chip-group{background:var(--surface);color:var(--text-muted);cursor:pointer;border:0;border-radius:99px;flex:none;margin-left:2px;padding:3px 20px 3px 8px;font-size:11px;font-weight:500}.chip-group:disabled{opacity:.5;cursor:not-allowed}@media (width>=1024px) and (pointer:fine){.chip-list li{padding:4px 4px 4px 10px}.chip-remove{width:26px;height:26px;font-size:16px}}.chip-action{cursor:pointer;width:44px;height:44px;color:var(--text-subtle);background:0 0;border:0;border-radius:50%;flex:none;font-size:15px;line-height:1}.chip-action:hover{background:var(--surface);color:var(--text)}.chip-action:disabled{opacity:.5}
