/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.static{position:static}.block{display:block}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.capitalize{text-transform:capitalize}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@font-face{font-family:Inter;src:url(/fonts/inter-variable.woff2)format("woff2");font-weight:100 900;font-style:normal;font-display:swap}:root{--primary:#30363d;--primary-hover:#242a30;--background:#fff;--background-secondary:#f8f8f8;--text:#080f16;--text-muted:#60666e;--error:#a63f4b;--success:#3f6b52;--border:#e3e5e7;--accent:#f9dddf;--input-border:#8c8c8d;--success-surface:var(--success)}@supports (color:color-mix(in lab, red, red)){:root{--success-surface:color-mix(in srgb, var(--success) 8%, white)}}:root{--error-surface:var(--error)}@supports (color:color-mix(in lab, red, red)){:root{--error-surface:color-mix(in srgb, var(--error) 7%, white)}}:root{--accent-surface:var(--accent)}@supports (color:color-mix(in lab, red, red)){:root{--accent-surface:color-mix(in srgb, var(--accent) 40%, white)}}:root{--space-xs:4px;--space-sm:8px;--space-md:16px;--space-lg:24px;--space-xl:32px;--radius-button:10px;--radius-card:16px;--radius-label:6px;--font:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--duration:.15s;--ghost-surface:var(--text)}@supports (color:color-mix(in lab, red, red)){:root{--ghost-surface:color-mix(in srgb, var(--text) 3%, var(--background))}}:root{--focus-ring:0 0 0 3px #30363d1f;--shadow-primary:0 4px 10px #080f1614;--shadow-secondary:0 3px 8px #080f160a;--shadow-menu:0 8px 28px #080f161f;--overlay:#080f1659;--radius-menu:12px;--duration-menu:.18s;--duration-modal:.22s;--page-header-surface:#fdf1f2;--brand-pink:var(--accent);--brand-sage:#bed3c2;--brand-light:#fcfafa;--account-surface-green:#e5efe7;--account-surface-pink:#fdf1f2;--account-surface-yellow:#faf1d5;--account-surface-blue:#e7eff7;--account-surface-gray:#626b75;--account-text-on-gray:#fff;--account-muted-on-gray:#eef1f4}*{box-sizing:border-box}body{background:var(--background-secondary);color:var(--text);font-family:var(--font);margin:0;font-size:16px;line-height:24px}button{font:inherit}.page{max-width:880px;padding:var(--space-xl);margin:0 auto}.page-header{align-items:center;gap:var(--space-sm);padding:var(--space-md) 0 var(--space-xl);display:flex}.brand-mark{border-radius:var(--radius-button);background:var(--accent);place-items:center;width:36px;height:36px;font-size:13px;font-weight:600;display:grid}.brand{font-weight:600}.local-label{color:var(--text-muted);margin-left:auto;font-size:12px;line-height:16px}.intro{margin:var(--space-xl) 0}.eyebrow{color:var(--text-muted);margin:0 0 var(--space-sm);font-size:13px;font-weight:500;line-height:18px}h1{letter-spacing:-.025em;margin:0 0 var(--space-md);font-size:32px;font-weight:600;line-height:40px}h2{margin:0;font-size:24px;font-weight:600;line-height:32px}h3{margin:0;font-size:18px;font-weight:600;line-height:24px}p{margin:0}.intro-text{max-width:600px;color:var(--text-muted)}.connection-card{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background)}.card-heading{justify-content:space-between;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-lg);flex-wrap:wrap;display:flex}.stage-label{color:var(--text-muted);background:var(--background-secondary);padding:var(--space-xs) var(--space-sm);border-radius:var(--radius-label);font-size:12px;line-height:16px}.notice{gap:var(--space-md);padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);min-height:104px;display:flex}.notice--ready{background:var(--success-surface)}.notice--error{background:var(--error-surface)}.status-symbol{text-align:center;border:1px solid;border-radius:50%;flex-shrink:0;width:24px;height:24px;font-weight:600}.notice--ready .status-symbol{color:var(--success)}.notice--error .status-symbol{color:var(--error)}.notice p{margin-top:var(--space-xs);color:var(--text-muted);font-size:14px;line-height:20px}.checks{margin:var(--space-lg) 0}.checks div{justify-content:space-between;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--border);display:flex}.checks dt,.checks dd{margin:0;font-size:14px;line-height:20px}.checks dd{text-align:right;color:var(--text-muted)}button{border-radius:var(--radius-button);background:var(--primary);min-height:44px;color:var(--background);cursor:pointer;transition:background var(--duration), transform var(--duration), box-shadow var(--duration);border:0;padding:12px 20px;font-size:14px;font-weight:600;line-height:20px}button:hover:not(:disabled){background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 4px 10px #080f1614}button:active:not(:disabled){transform:translateY(0)}button:focus-visible{outline:2px solid var(--primary);outline-offset:4px}button:disabled{opacity:.55;cursor:wait}.next-step{gap:var(--space-md);margin-top:var(--space-lg);padding:var(--space-lg);display:flex}.step-number{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:13px;line-height:24px}.next-step p{margin-top:var(--space-sm);color:var(--text-muted);max-width:570px;font-size:14px;line-height:20px}footer{margin-top:var(--space-xl);color:var(--text-muted);font-size:12px;line-height:16px}@media (width<=600px){.page,.connection-card,.next-step{padding:var(--space-md)}.brand{font-size:14px}.intro{margin-top:var(--space-lg)}button{width:100%}.checks dt{max-width:62%}}@media (prefers-reduced-motion:reduce){button{transition:none}button:hover:not(:disabled){transform:none}}.placement-check-screen{gap:var(--space-md);min-width:0;display:grid}.placement-check-screen .screen-actions{margin:0 0 var(--space-xs)}.placement-layout{gap:var(--space-md);grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr);align-items:start;min-width:0;display:grid}.placement-form,.placement-result,.placement-placeholder{gap:var(--space-md);min-width:0;padding:var(--space-lg);display:grid}.placement-form{gap:12px;margin:0}.placement-form .field,.placement-form .checkbox-row{margin:0}.placement-result{background:var(--accent-surface)}.placement-form>.button{width:100%}.placement-section-title{gap:var(--space-xs);display:grid}.placement-section-title h2,.placement-result h2,.placement-placeholder h2{font-size:24px;line-height:31px}.placement-section-title p,.placement-placeholder p,.placement-result-lead,.placement-muted{color:var(--text-muted);font-size:14px;line-height:21px}.placement-eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);font-size:11px;font-weight:700;line-height:16px}.placement-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.placement-fields .field{min-width:0}.placement-source-note{padding:var(--space-sm) var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);margin:0;font-size:13px;line-height:20px}.placement-terms{border-top:1px solid var(--border);padding-top:var(--space-md)}.placement-terms summary,.placement-detail summary{cursor:pointer;font-weight:600;line-height:22px}.placement-terms[open] summary{margin-bottom:var(--space-md)}.placement-terms .checkbox-row{margin-top:var(--space-md)}.placement-facts{gap:var(--space-sm);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.placement-fact{align-content:start;gap:var(--space-xs);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);min-width:0;display:grid}.placement-fact--main{background:var(--page-header-surface)}.placement-fact span,.placement-fact small{color:var(--text-muted);font-size:12px;line-height:18px}.placement-fact strong{overflow-wrap:anywhere;font-size:20px;line-height:27px}.placement-alert{padding:var(--space-md);border-radius:var(--radius-button);background:var(--error-surface);color:var(--text);font-size:14px;line-height:21px}.placement-saved{padding:var(--space-md);border-radius:var(--radius-button);background:var(--success-surface);font-size:14px;line-height:21px}.placement-result-actions{gap:var(--space-sm);flex-wrap:wrap;display:flex}.placement-detail{padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);min-width:0}.placement-detail[open] summary{margin-bottom:var(--space-md)}.placement-detail p,.placement-detail li{color:var(--text-muted);font-size:13px;line-height:20px}.placement-detail ul{margin:var(--space-sm) 0;padding-left:var(--space-lg)}.placement-detail .scenario-table-scroll{max-width:100%;overflow-x:auto}.placement-check-details{gap:var(--space-md);grid-template-columns:minmax(0,1fr);min-width:0;display:grid}.placement-check-details .placement-detail{padding:var(--space-lg)}.placement-detail-tabs{gap:var(--space-sm);margin-bottom:var(--space-lg);flex-wrap:wrap;display:flex}.placement-check-details h2{margin:0 0 var(--space-sm);font-size:18px;line-height:24px}.placement-check-details p{margin:0 0 var(--space-md);font-size:14px;line-height:21px}.placement-placeholder{background:var(--page-header-surface);align-content:center;min-height:280px}@media (width<=1050px){.placement-layout{grid-template-columns:1fr}.placement-result{order:2}}@media (width<=650px){.placement-form,.placement-result,.placement-placeholder,.placement-check-details .placement-detail{padding:var(--space-md)}.placement-fields,.placement-facts{grid-template-columns:1fr}.placement-result-actions .button{width:100%}.placement-detail-tabs .button{flex:100%}}.scenarios-screen{gap:var(--space-lg);min-width:0;display:grid}.scenarios-screen .screen-actions{margin:0 0 var(--space-sm)}.scenarios-screen .screen-actions-end .button{align-items:center;gap:var(--space-sm);display:inline-flex}.scenario-kpis{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.scenario-kpis article{align-content:start;gap:var(--space-sm);min-width:0;min-height:144px;padding:var(--space-lg);background:var(--background);border:1px solid var(--border);border-radius:var(--radius-card);display:grid}.scenario-kpis article:first-child{background:var(--accent);border-color:#0000}.scenario-kpis span{font-size:13px;font-weight:600}.scenario-kpis strong{font-variant-numeric:tabular-nums;font-size:32px;font-weight:600;line-height:40px}.scenario-kpis small{color:var(--text-muted);font-size:12px;line-height:18px}.scenario-stale-banner{align-items:center;gap:var(--space-sm);padding:var(--space-md);background:var(--error-surface);border-radius:var(--radius-button);font-size:14px;line-height:20px;display:flex}.scenario-tabs{gap:var(--space-sm);flex-wrap:wrap;display:flex}.scenario-tabs button,.scenario-tabs span{border-radius:var(--radius-button);border:1px solid var(--border);background:var(--background);min-height:44px;color:var(--text);align-items:center;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.scenario-tabs button:hover:not(:disabled){color:var(--text);background:var(--accent-surface)}.scenario-tabs button.is-active,.scenario-tabs button.is-active:hover:not(:disabled){background:var(--text);border-color:var(--text);color:var(--background)}.scenario-tabs .is-future{color:var(--text-muted);background:var(--background-secondary)}.scenario-filters{gap:var(--space-md);grid-template-columns:minmax(0,1fr) 180px 180px;align-items:end;display:grid}.scenario-filters .field{margin:0}.scenario-filters .select-trigger{min-height:48px}.scenario-current-filter{margin:0}.scenario-list-meta{justify-content:space-between;gap:var(--space-sm);color:var(--text-muted);flex-wrap:wrap;font-size:12px;line-height:18px;display:flex}.scenario-grid{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;display:grid}.scenario-card{gap:var(--space-md);min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);flex-direction:column;display:flex}.scenario-card-top,.scenario-card-top>span:first-child{align-items:center;gap:var(--space-sm);display:flex}.scenario-card-top{color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;font-size:12px}.scenario-badge{border-radius:var(--radius-label);background:var(--background-secondary);color:var(--text);padding:5px 8px;font-size:11px;font-weight:600;line-height:16px}.scenario-badge--stale{background:var(--error-surface);color:var(--error)}.scenario-card h3{overflow-wrap:anywhere;margin:0}.scenario-card-sub{margin-top:calc(-1 * var(--space-sm));color:var(--text-muted);font-size:12px;line-height:18px}.scenario-chips{gap:var(--space-sm);flex-wrap:wrap;display:flex}.scenario-chips span{border-radius:var(--radius-label);background:var(--background-secondary);padding:8px;font-size:12px;line-height:18px}.scenario-result{gap:var(--space-sm);padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);display:grid}.scenario-result>span{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);font-size:11px;font-weight:600;line-height:16px}.scenario-result strong{overflow-wrap:anywhere;font-size:18px;line-height:24px}.scenario-result small{color:var(--text-muted);font-size:12px;line-height:18px}.scenario-warning{align-items:flex-start;gap:var(--space-sm);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-label);background:var(--error-surface);color:var(--text);font-size:13px;line-height:20px;display:flex}.scenario-warning svg{margin-top:2px}.scenario-card-meta{align-items:center;gap:var(--space-sm);color:var(--text-muted);font-size:12px;line-height:18px;display:flex}.scenario-card-actions{justify-content:space-between;align-items:center;gap:var(--space-sm);padding-top:var(--space-md);border-top:1px solid var(--border);margin-top:auto;display:flex}.scenario-card-actions .checkbox-row{margin:0}.scenario-card-actions .button{width:auto}.scenario-card-actions .is-disabled{opacity:.55}.scenario-detail,.scenario-compare{padding:var(--space-lg);background:var(--background);border:1px solid var(--border);border-radius:var(--radius-card)}.scenario-compare>p,.scenario-detail-explainer{margin-top:var(--space-sm);color:var(--text-muted);font-size:14px;line-height:20px}.scenario-detail-head{justify-content:space-between;gap:var(--space-md);align-items:flex-start;display:flex}.scenario-detail-head span,.scenario-detail-head p,.scenario-detail-meta{color:var(--text-muted);font-size:13px;line-height:20px}.scenario-detail-head h2{margin:var(--space-xs) 0}.scenario-detail-summary{gap:var(--space-sm);margin:var(--space-lg) 0;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.scenario-detail-summary>div{gap:var(--space-sm);padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);display:grid}.scenario-detail-summary span{color:var(--text-muted);font-size:12px}.scenario-detail-summary strong{font-size:15px;line-height:22px}.scenario-detail details{border-bottom:1px solid var(--border);font-size:14px}.scenario-detail details ul{margin:0 0 var(--space-md);padding-left:var(--space-lg)}.scenario-detail-months{margin-top:var(--space-lg)}.scenario-detail-months h3{margin-bottom:var(--space-sm)}.scenario-detail-months>div{justify-content:space-between;gap:var(--space-sm);padding:var(--space-sm) 0;border-bottom:1px solid var(--border);font-size:14px;display:flex}.scenario-finance-summary{gap:var(--space-sm);padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);font-size:13px;line-height:20px;display:grid}.scenario-finance-summary h3{font-size:16px;line-height:24px}.scenario-finance-summary details{border:0}.scenario-finance-summary summary{cursor:pointer;font-weight:600}.scenario-finance-summary table{border-collapse:collapse;background:var(--background);width:100%;min-width:720px}.scenario-finance-summary th,.scenario-finance-summary td{padding:var(--space-sm);border-bottom:1px solid var(--border);text-align:right;white-space:nowrap}.scenario-finance-summary th:first-child{text-align:left}.scenario-detail-footer{justify-content:flex-end;gap:var(--space-sm);margin-top:var(--space-lg);flex-wrap:wrap;display:flex}.scenario-compare>div{gap:var(--space-sm);margin-top:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.scenario-compare article{gap:var(--space-sm);padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);font-size:13px;display:grid}.scenario-compare article b{font-size:17px}.scenario-footnote{align-items:flex-start;gap:var(--space-sm);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);color:var(--text-muted);font-size:13px;line-height:20px;display:flex}.scenario-group-card{gap:var(--space-md);min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);flex-direction:column;display:flex}.scenario-group-card-head{justify-content:space-between;align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.scenario-group-type{align-items:center;gap:var(--space-sm);color:var(--text-muted);font-size:12px;font-weight:600;display:inline-flex}.scenario-group-card h2{overflow-wrap:anywhere;margin:0;font-size:22px;line-height:29px}.scenario-group-card p{color:var(--text-muted);margin:0;font-size:13px;line-height:20px}.scenario-group-methods{gap:var(--space-xs);flex-wrap:wrap;display:flex}.scenario-group-methods span{border-radius:var(--radius-label);background:var(--background-secondary);padding:5px 8px;font-size:12px}.scenario-group-latest{gap:var(--space-xs);padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);display:grid}.scenario-group-latest small{color:var(--text-muted);font-size:12px}.scenario-group-latest strong{overflow-wrap:anywhere;font-size:17px;line-height:23px}.scenario-group-actions{gap:var(--space-sm);min-width:0;margin-top:auto;display:flex}.scenario-group-actions .button{min-width:0;max-width:190px;padding-inline:var(--space-sm);text-align:center;white-space:normal;flex:1 1 0}.decision-screen{gap:var(--space-lg);min-width:0;display:grid}.decision-screen .screen-actions{margin:0}.decision-card{gap:var(--space-md);padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);min-width:0;display:grid}.decision-card h2{margin:0;font-size:22px;line-height:30px}.decision-card p{color:var(--text-muted);margin:0;font-size:14px;line-height:21px}.decision-card .form-error{color:var(--error)}.decision-card .scenario-warning{color:var(--text)}.decision-card>.button{justify-self:start}.decision-workspace-action{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-md) var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--accent-surface);display:flex}.decision-workspace-action p{margin:var(--space-xs) 0 0;color:var(--text-muted);font-size:13px}.decision-actions{gap:var(--space-sm);flex-wrap:wrap;align-items:center;display:flex}.decision-effect-list{border:1px solid var(--border);border-radius:var(--radius-button);max-height:460px;overflow:auto}.decision-effect-row{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-md);border-bottom:1px solid var(--border);display:flex}.decision-effect-row:last-child{border-bottom:0}.decision-effect-row:nth-child(2n){background:var(--background-secondary)}.decision-effect-row>div{gap:var(--space-xs);min-width:0;display:grid}.decision-effect-row small,.decision-effect-row span{color:var(--text-muted);font-size:12px}.decision-effect-row strong{overflow-wrap:anywhere}.decision-effect-row b{white-space:nowrap}.decision-note{padding:var(--space-md);border-radius:var(--radius-button);background:var(--accent-surface)}.decision-table-wrap{border:1px solid var(--border);border-radius:var(--radius-button);max-width:100%;overflow-x:auto}.decision-table{border-collapse:collapse;width:100%;min-width:620px}.decision-table th,.decision-table td{padding:var(--space-sm) var(--space-md);border-bottom:1px solid var(--border);text-align:right}.decision-table th:first-child,.decision-table td:first-child{text-align:left}.decision-table th{background:var(--background-secondary);font-size:13px}.decision-table tr:last-child td{border-bottom:0}@media (width<=700px){.decision-card{padding:var(--space-md)}.decision-workspace-action{flex-direction:column;align-items:stretch}.decision-effect-row{align-items:flex-start}.decision-effect-row b{align-self:center}}.scenario-workspace{gap:var(--space-lg);min-width:0;display:grid}.scenario-workspace .screen-actions{margin:0}.scenario-workspace-intro{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-md) var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);display:flex}.scenario-workspace-intro p{margin:var(--space-xs) 0 0;color:var(--text-muted);font-size:14px}.scenario-workspace-section{gap:var(--space-md);min-width:0;display:grid}.scenario-workspace-section>h2,.scenario-workspace-heading h2{margin:0;font-size:24px;line-height:32px}.scenario-workspace-section>p,.scenario-workspace-heading p{margin:var(--space-xs) 0 0;color:var(--text-muted);font-size:14px;line-height:21px}.scenario-workspace-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-md);display:flex}.scenario-workspace-detail h2{scroll-margin-top:120px}.scenario-method-grid{gap:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-items:stretch;display:grid}.scenario-method-card{gap:var(--space-sm);min-width:0;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);flex-direction:column;display:flex}.scenario-method-card.is-selected{border-color:var(--text);background:var(--accent-surface)}.scenario-method-card-top{justify-content:space-between;align-items:center;gap:var(--space-xs);flex-wrap:wrap;display:flex}.scenario-method-card-top strong{font-size:17px}.scenario-method-card>small{color:var(--text-muted);font-size:12px}.scenario-method-card>b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:24px;line-height:30px}.scenario-method-card dl{gap:var(--space-xs);margin:0;display:grid}.scenario-method-card dl>div{padding-top:var(--space-xs);border-top:1px solid var(--border);gap:2px;display:grid}.scenario-method-card dt{color:var(--text-muted);font-size:12px}.scenario-method-card dd{overflow-wrap:anywhere;margin:0;font-size:13px;font-weight:600;line-height:20px}.scenario-method-card .button{width:100%;margin-top:auto}.scenario-method-gap{color:var(--error);margin:0;font-size:12px;line-height:18px}.scenario-versions,.scenario-workspace-detail{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);min-width:0}.scenario-versions>summary,.scenario-detail-accordion>summary,.purchase-comparison>summary{cursor:pointer;font-weight:600}.scenario-versions>div{gap:var(--space-sm);padding-top:var(--space-md);flex-wrap:wrap;display:flex}.scenario-versions button{min-height:44px;padding:var(--space-sm);border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);color:var(--text);font:inherit;cursor:pointer}.scenario-versions button.is-active{border-color:var(--text);background:var(--accent)}.scenario-workspace-detail{gap:var(--space-md);display:grid}.scenario-workspace-detail .scenario-detail-summary,.scenario-workspace-detail .scenario-detail-meta{margin:0}.scenario-detail-accordion{min-width:0;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button)}.scenario-detail-accordion>p{margin:var(--space-md) 0;color:var(--text-muted);font-size:13px;line-height:20px}.scenario-detail-accordion ul{padding-left:var(--space-lg);margin-bottom:0;font-size:13px;line-height:21px}.scenario-detail-accordion li+li{margin-top:var(--space-xs)}.scenario-detail-accordion .scenario-detail-months{margin-top:var(--space-sm)}.scenario-detail-accordion .scenario-detail-meta{margin-top:calc(-1 * var(--space-sm))}.scenario-detail-accordion .purchase-table-wrap{margin-top:var(--space-md)}.scenario-table-hint{display:none}.scenario-table-scroll{border:1px solid var(--border);border-radius:var(--radius-button);scrollbar-width:thin;scrollbar-color:var(--input-border) transparent;width:100%;max-width:100%;overflow-x:auto}.scenario-table-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.scenario-data-table{border-collapse:separate;border-spacing:0;width:100%;min-width:650px;font-size:14px;line-height:20px}.scenario-data-table--payments{min-width:1000px}.scenario-data-table--simple{min-width:440px}.scenario-data-table th,.scenario-data-table td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;padding:12px 16px}.scenario-data-table th:first-child{text-align:left;min-width:185px}.scenario-data-table thead th{background:var(--background-secondary);color:var(--text-muted);font-size:13px;font-weight:600}.scenario-data-table tbody th{font-weight:500}.scenario-data-table tbody tr:nth-child(2n){background:var(--background-secondary)}.scenario-data-table tbody tr:hover{background:var(--accent-surface)}.scenario-data-table tbody tr:last-child>*{border-bottom:0}.scenario-data-table--payments tbody td:last-child{font-weight:600}.purchase-screen{gap:var(--space-lg);min-width:0;display:grid}.purchase-screen .screen-actions{margin:0}.purchase-intro{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:13px;font-weight:600}.purchase-screen form{gap:var(--space-lg);display:grid}.purchase-basics,.purchase-conditions,.purchase-breakdown{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background)}.purchase-basics{gap:var(--space-md);grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 180px;align-items:start;display:grid}.purchase-basics .field,.purchase-conditions .field{margin:0}.purchase-modes{gap:var(--space-sm);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.purchase-modes button,.purchase-modes span{justify-content:center;align-items:center;gap:var(--space-sm);min-height:52px;padding:var(--space-sm);border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);color:var(--text);font-size:14px;font-weight:600;display:flex}.purchase-modes button:hover{background:var(--accent-surface)}.purchase-modes button.is-active{background:var(--text);border-color:var(--text);color:var(--background)}.purchase-modes span{color:var(--text-muted);background:var(--background-secondary);font-weight:500}.purchase-main{gap:var(--space-lg);grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);align-items:start;display:grid}.purchase-conditions{gap:var(--space-md);display:grid}.purchase-conditions h2,.purchase-breakdown h2{margin:0;font-size:24px;line-height:32px}.purchase-conditions>p,.purchase-breakdown>p{color:var(--text-muted);margin:0;font-size:14px;line-height:22px}.purchase-saving-fields,.purchase-options{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.purchase-options{padding-top:var(--space-md);border-top:1px solid var(--border)}.purchase-conditions .checkbox-row{margin:0}.purchase-conditions .purchase-hint{font-size:12px;line-height:18px}.purchase-calculate{justify-content:center;width:100%}.purchase-result{gap:var(--space-md);padding:var(--space-lg);border-radius:var(--radius-card);background:var(--accent);min-width:0;display:grid}.purchase-result-kicker{text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:700}.purchase-result h2{margin:0;font-size:24px;line-height:32px}.purchase-result>p,.purchase-result>small{margin:0;font-size:13px;line-height:20px}.purchase-result-price{gap:var(--space-sm);display:grid}.purchase-result-price>span{font-size:13px}.purchase-result-price>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:32px;line-height:40px}.purchase-result-price>small{color:var(--text-muted)}.purchase-result dl{gap:var(--space-sm);margin:0;display:grid}.purchase-result dl>div{justify-content:space-between;gap:var(--space-sm);border-bottom:1px solid var(--text);display:flex}@supports (color:color-mix(in lab, red, red)){.purchase-result dl>div{border-bottom:1px solid color-mix(in srgb,var(--text) 12%,transparent)}}.purchase-result dl>div{padding-bottom:var(--space-sm);font-size:13px}.purchase-result dt{color:var(--text-muted)}.purchase-result dd{text-align:right;margin:0;font-weight:600}.purchase-result dd small{font-weight:400}.purchase-result-gap{border-top:1px solid var(--text)}@supports (color:color-mix(in lab, red, red)){.purchase-result-gap{border-top:1px solid color-mix(in srgb,var(--text) 12%,transparent)}}.purchase-result-gap{padding-top:var(--space-md)}.purchase-result .button{width:100%}.purchase-breakdown{gap:var(--space-md);min-width:0;display:grid}.purchase-table-wrap{max-width:100%;overflow-x:auto}.purchase-breakdown table{border-collapse:collapse;width:100%;min-width:560px;font-size:14px}.purchase-breakdown th,.purchase-breakdown td{text-align:right;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;padding:12px 16px}.purchase-breakdown th:first-child{text-align:left}.purchase-breakdown thead{background:var(--background-secondary)}.purchase-breakdown details{border-top:1px solid var(--border);padding-top:var(--space-sm);font-size:13px}.purchase-breakdown details li{margin:var(--space-sm) 0}.finance-fields{gap:var(--space-md);min-width:0;display:grid}.finance-fields .checkbox-row{align-items:flex-start}.finance-fields .checkbox-row input{margin-top:1px}.finance-installments{gap:var(--space-md);border-top:1px solid var(--border);padding-top:var(--space-md);min-width:0;display:grid}.finance-installments h3{font-size:18px;line-height:24px}.finance-installments>p{color:var(--text-muted);font-size:13px;line-height:20px}.finance-installments>.button{justify-self:start}.finance-installment{gap:var(--space-sm);border-bottom:1px solid var(--border);padding-bottom:var(--space-md);grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) auto;align-items:end;display:grid}.finance-installment>span{color:var(--text-muted);align-self:center;font-size:13px}.finance-installment>.button{min-width:44px}.finance-installment details{grid-column:2/-1}.finance-installment summary{cursor:pointer;color:var(--text-muted);font-size:13px}.finance-installment details .purchase-saving-fields{margin-top:var(--space-md)}.purchase-comparison{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);gap:var(--space-md);min-width:0;display:grid}.purchase-comparison h2{margin:0;font-size:24px;line-height:32px}.purchase-comparison>summary{font-size:18px;line-height:24px}.purchase-comparison>p{color:var(--text-muted);font-size:14px;line-height:20px}.purchase-comparison>div{gap:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));display:grid}.purchase-comparison article{align-content:start;gap:var(--space-sm);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);display:grid}.purchase-comparison article strong{font-size:16px}.purchase-comparison article span,.purchase-comparison article small{color:var(--text-muted);font-size:12px;line-height:18px}.purchase-comparison article b{font-variant-numeric:tabular-nums;font-size:19px}.purchase-comparison article .button{margin-top:var(--space-sm)}.purchase-footnote{color:var(--text-muted);margin:0;font-size:13px;line-height:20px}.income-screen{gap:var(--space-md);min-width:0;display:grid}.income-screen .screen-actions{margin:0 0 var(--space-xs)}.income-screen form,.income-screen .field,.income-screen .panel{margin:0}.income-form,.income-step,.income-actions-step,.income-result,.income-save{gap:var(--space-md);min-width:0;display:grid}.income-step,.income-actions-step,.income-result{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background)}.income-panel{gap:var(--space-md);padding:var(--space-lg);min-width:0;display:grid}.income-section-heading{gap:var(--space-xs);display:grid}.income-step-label{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:600;line-height:16px}.income-section-heading h2,.income-panel h3{margin:0}.income-section-heading p,.income-subsection>p{color:var(--text-muted);margin:0;font-size:14px;line-height:21px}.income-modes{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.income-modes button{gap:var(--space-xs);text-align:left;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);color:var(--text);cursor:pointer;box-shadow:none;display:grid}.income-modes button:hover:not(:disabled){background:var(--accent-surface);color:var(--text);border-color:var(--accent);box-shadow:none}.income-modes button[aria-pressed=true],.income-modes button[aria-pressed=true]:hover:not(:disabled){background:var(--primary);border-color:var(--primary);color:var(--background);box-shadow:none}.income-modes button span{color:var(--text-muted);font-size:13px;font-weight:400;line-height:20px}.income-modes button[aria-pressed=true] span{color:var(--background)}.income-conditions,.income-settings-grid{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.income-last-payment{grid-column:1/-1}.income-source{justify-content:space-between;gap:var(--space-sm);padding:var(--space-md);background:var(--background-secondary);border-radius:var(--radius-button);flex-wrap:wrap;font-size:13px;line-height:20px;display:flex}.income-source a{font-weight:600}.income-horizon-notice{padding:var(--space-sm) var(--space-md);border-radius:var(--radius-button);background:var(--accent-surface);color:var(--text);font-size:13px;line-height:20px}.income-settings,.income-subsection{border-top:1px solid var(--border);padding-top:var(--space-sm)}.income-settings summary,.income-subsection summary,.income-detail summary{font-size:14px;font-weight:600;line-height:20px}.income-settings-grid{padding:var(--space-sm) 0 var(--space-md)}.income-screen .select-trigger:has(.select-option-description){height:48px;min-height:48px;padding:12px 16px}.income-screen .select-trigger .select-option-description{display:none}.income-screen .select-trigger .select-option-copy,.income-screen .select-trigger .select-option-copy>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.income-action-grid{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;display:grid}.income-subsection{gap:var(--space-sm);display:grid}.income-subsection summary{cursor:pointer}.income-budget-row{gap:var(--space-md);margin:var(--space-sm) 0;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;display:grid}.income-payment-list{gap:var(--space-xs);max-height:260px;display:grid;overflow:auto}.income-payment-list .checkbox-row{margin:0}.income-actions{align-items:center;gap:var(--space-md);flex-wrap:wrap;display:flex}.income-actions span,.income-empty{color:var(--text-muted);font-size:13px;line-height:20px}.income-conclusion{padding:var(--space-md);border-radius:var(--radius-button);background:var(--accent-surface);font-size:16px;font-weight:600;line-height:24px}.income-limit{gap:var(--space-sm);padding:var(--space-md);border:1px solid var(--accent);border-radius:var(--radius-button);background:var(--error-surface);font-size:14px;line-height:21px;display:grid}.income-limit h3{font-size:16px;line-height:24px}.income-limit ul{gap:var(--space-sm);padding-left:var(--space-lg);margin:0;display:grid}.income-limit a{font-weight:600}.income-review{gap:var(--space-md);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background-secondary);display:grid}.income-review--affected{background:var(--accent-surface)}.income-review:not([open]){padding-block:var(--space-xs)}.income-review:not([open])>:not(summary){display:none}.income-review summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:16px;font-weight:600;line-height:24px}.income-review summary:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:var(--radius-button)}.income-review p{color:var(--text-muted);margin:0;font-size:14px;line-height:21px}.income-review ul{gap:0;margin:0;padding:0;list-style:none;display:grid}.income-review li{align-items:center;gap:var(--space-md);padding:var(--space-sm) 0;border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto auto;font-size:13px;line-height:20px;display:grid}.income-review li>span{gap:2px;min-width:0;display:grid}.income-review li>span strong{overflow-wrap:anywhere}.income-review li small{color:var(--text-muted);font-size:12px}.income-review li>strong{font-variant-numeric:tabular-nums;white-space:nowrap}.income-review li a{white-space:nowrap;align-items:center;min-height:44px;font-weight:600;display:inline-flex}.income-kpis{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.income-kpis article{align-content:start;gap:var(--space-sm);min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);display:grid}.income-kpis article.income-kpi--through_horizon{background:var(--success-surface)}.income-kpis article.income-kpi--gap{background:var(--error-surface)}.income-kpis article.income-kpi--unknown{background:var(--background-secondary)}.income-kpis article.income-kpi--through_horizon strong{color:var(--success)}.income-kpis article.income-kpi--gap strong{color:var(--error)}.income-kpis span,.income-kpis small{color:var(--text-muted);font-size:13px;line-height:19px}.income-kpis strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:19px;line-height:26px}.income-detail{padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button)}.income-detail>p{margin:0 0 var(--space-sm);color:var(--text-muted);font-size:13px;line-height:19px}.income-detail ul{gap:var(--space-sm);padding:0 0 0 var(--space-md);margin:0;font-size:13px;line-height:20px;display:grid}.income-affected{list-style:none;padding:0!important}.income-affected li{justify-content:space-between;gap:var(--space-md);border-bottom:1px solid var(--border);padding-bottom:var(--space-sm);display:flex}.income-save-controls{gap:var(--space-md);min-width:0;display:grid}.income-save-actions{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.income-save-actions .button{width:auto}.income-saved-link{justify-self:start}@media (width<=800px){.income-kpis,.income-action-grid{grid-template-columns:1fr}}@media (width<=650px){.income-step,.income-panel,.income-actions-step,.income-result,.income-save{padding:var(--space-md)}.income-modes,.income-conditions,.income-settings-grid,.income-budget-row{grid-template-columns:1fr}.income-last-payment{grid-column:auto}.income-actions .button,.income-save-actions .button{width:100%}.income-review li{grid-template-columns:minmax(0,1fr) auto}.income-review li a{white-space:normal;grid-column:1/-1}}@media (width<=900px){.purchase-basics{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-basics>.field:first-child{grid-column:1/-1}.purchase-main{grid-template-columns:1fr}}@media (width<=700px){.purchase-modes{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-basics,.purchase-saving-fields,.purchase-options{grid-template-columns:1fr}.purchase-basics>.field:first-child{grid-column:auto}.purchase-basics,.purchase-conditions,.purchase-breakdown,.purchase-result,.purchase-comparison{padding:var(--space-md)}.finance-installment{grid-template-columns:20px minmax(0,1fr) minmax(0,1fr)}.finance-installment>.button{grid-column:2/-1;justify-self:start}}@media (width<=420px){.purchase-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-result h2{font-size:22px;line-height:30px}.finance-installment{grid-template-columns:20px minmax(0,1fr)}.finance-installment>.field:nth-of-type(2),.finance-installment details{grid-column:2}}@media (width<=700px){.scenario-kpis,.scenario-grid,.scenario-detail-summary{grid-template-columns:1fr}.scenario-kpis article{min-height:0;padding:var(--space-md)}.scenario-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.scenario-filters>.field:first-child{grid-column:1/-1}.scenario-compare>div{grid-template-columns:1fr}.scenario-workspace-intro,.scenario-workspace-heading{flex-direction:column;align-items:stretch}.scenario-group-card,.scenario-workspace-detail,.scenario-versions{padding:var(--space-md)}.scenario-table-hint{color:var(--text-muted);display:block;margin:0 0 var(--space-sm)!important;font-size:12px!important;line-height:18px!important}}@media (width<=420px){.scenario-card{padding:var(--space-md)}.scenario-card-actions{flex-wrap:wrap;align-items:stretch}.scenario-card-actions .button{width:100%}.scenario-detail-head{flex-direction:column}.scenario-detail-footer>.button{width:100%}}.mortgage-choice-screen{gap:var(--space-md);min-width:0;display:grid}.mortgage-choice-screen .screen-actions{margin:0 0 var(--space-xs)}.mortgage-choice-form,.mortgage-choice-detail,.mortgage-choice-assumptions{gap:var(--space-md);padding:var(--space-lg);min-width:0;display:grid}.mortgage-choice-heading{gap:var(--space-xs);display:grid}.mortgage-choice-heading h2{margin:0;font-size:24px;line-height:31px}.mortgage-choice-heading p,.mortgage-choice-terms>p{color:var(--text-muted);margin:0;font-size:14px;line-height:21px}.mortgage-choice-fields{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;display:grid}.mortgage-choice-fields .field{min-width:0}.mortgage-choice-amount{gap:var(--space-xs);min-width:0;display:grid}.mortgage-choice-amount>button{color:var(--text);font:600 12px/18px var(--font);text-align:left;cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;text-decoration:underline}.mortgage-choice-source{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-md);background:var(--background-secondary);border-radius:var(--radius-button);display:flex}.mortgage-choice-source>div{gap:var(--space-xs);display:grid}.mortgage-choice-source span{color:var(--text-muted);font-size:13px;line-height:19px}.mortgage-choice-source a{flex:none;font-weight:600}.mortgage-choice-terms{border-top:1px solid var(--border);padding-top:var(--space-md)}.mortgage-choice-terms summary,.mortgage-choice-table summary,.mortgage-choice-assumptions summary{cursor:pointer;font-weight:600}.mortgage-choice-terms>p{margin:var(--space-sm) 0 var(--space-md)}.mortgage-choice-check{align-self:center}.mortgage-choice-income{align-items:flex-start;gap:var(--space-sm);margin:0;display:flex}.mortgage-choice-income span{gap:2px;display:grid}.mortgage-choice-income small{color:var(--text-muted);font-size:12px;line-height:18px}.mortgage-choice-results{gap:var(--space-lg);min-width:0;display:grid}.mortgage-choice-result-intro{justify-content:space-between;align-items:flex-end;gap:var(--space-md);flex-wrap:wrap;display:flex}.mortgage-choice-result-intro .mortgage-choice-heading{flex:320px;min-width:0}.mortgage-choice-result-intro .button{flex:0 auto}.mortgage-choice-kpis,.mortgage-choice-cards,.mortgage-choice-long-grid{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.mortgage-choice-verdict,.mortgage-choice-long{gap:var(--space-sm);padding:var(--space-lg);display:grid}.mortgage-choice-verdict{background:var(--accent-surface)}.mortgage-choice-verdict h3,.mortgage-choice-long h3{margin:0}.mortgage-choice-verdict p,.mortgage-choice-long p{color:var(--text-muted);font-size:14px;line-height:21px}.mortgage-choice-long-grid>div{align-content:start;gap:var(--space-xs);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);display:grid}.mortgage-choice-long-grid span,.mortgage-choice-long-grid small{color:var(--text-muted);font-size:12px;line-height:18px}.mortgage-choice-long-grid strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:19px;line-height:26px}.mortgage-choice-long-conclusion{padding:var(--space-md);border-radius:var(--radius-button);background:var(--accent-surface);color:var(--text)!important}.mortgage-choice-availability{padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);font-size:13px;line-height:20px}.mortgage-choice-availability summary{cursor:pointer;font-weight:600}.mortgage-choice-availability summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.mortgage-choice-availability p{margin:var(--space-sm) 0 0;color:var(--text-muted)}.mortgage-choice-kpis article{align-content:start;gap:var(--space-sm);min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);display:grid}.mortgage-choice-kpis article:first-child{background:var(--accent-surface)}.mortgage-choice-kpis span,.mortgage-choice-kpis small{color:var(--text-muted);font-size:13px;line-height:19px}.mortgage-choice-kpis strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:22px;line-height:28px}.mortgage-choice-limit{padding:var(--space-md);border-radius:var(--radius-button);background:var(--error-surface)}.mortgage-choice-limit ul,.mortgage-choice-assumptions ul{gap:var(--space-sm);padding-left:var(--space-lg);font-size:13px;line-height:20px;display:grid}.mortgage-choice-card{gap:var(--space-md);padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);flex-direction:column;min-width:0;display:flex}.mortgage-choice-card.is-selected{background:var(--accent-surface);border-color:var(--accent)}.mortgage-choice-card h3{margin:0;font-size:20px;line-height:27px}.mortgage-choice-card-head{align-content:start;gap:var(--space-sm);min-height:66px;display:grid}.mortgage-choice-metric{align-content:start;gap:var(--space-xs);min-height:91px;display:grid}.mortgage-choice-metric span{color:var(--text-muted);font-size:13px;line-height:19px}.mortgage-choice-metric strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:22px;line-height:29px}.mortgage-choice-card dl{grid-template-rows:repeat(4,74px);gap:0;margin:0;display:grid}.mortgage-choice-card dl>div{align-items:center;gap:var(--space-sm);padding:var(--space-sm) 0;border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(100px,1fr);font-size:13px;line-height:19px;display:grid}.mortgage-choice-card dt{color:var(--text-muted)}.mortgage-choice-card dd{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-weight:600}.mortgage-choice-card dd small{color:var(--text-muted);font-size:11px;font-weight:400;line-height:16px;display:block}.mortgage-choice-card-actions{gap:var(--space-sm);padding-top:var(--space-sm);border-top:1px solid var(--border);flex-wrap:wrap;margin-top:auto;display:flex}.mortgage-choice-card-actions .button{flex:130px}.mortgage-choice-gap{min-height:44px;color:var(--text-muted);align-items:center;font-size:13px;font-weight:600;line-height:20px;display:flex}.mortgage-choice-gap.is-risk{color:var(--error)}.mortgage-choice-cash-note,.mortgage-choice-gap-detail{padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);font-size:13px;line-height:20px}.mortgage-choice-gap-detail{background:var(--error-surface)}.mortgage-choice-gap-detail p{margin:var(--space-xs) 0}.mortgage-choice-tabs{gap:var(--space-sm);flex-wrap:wrap;display:flex}.mortgage-choice-tabs button{border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);min-height:40px;color:var(--text);cursor:pointer;font:600 13px/20px var(--font);padding:8px 14px}.mortgage-choice-tabs button.is-active{background:var(--primary);border-color:var(--primary);color:#fff}.mortgage-choice-detail h3{margin:0}.mortgage-choice-detail>p{color:var(--text-muted);margin:0;line-height:22px}.mortgage-choice-table{border-top:1px solid var(--border);padding-top:var(--space-md)}.mortgage-choice-table .scenario-table-scroll{margin-top:var(--space-md)}.mortgage-choice-screen .scenario-table-scroll{max-width:100%;overflow-x:auto}.mortgage-choice-screen .scenario-data-table{min-width:650px}@media (width<=1100px){.mortgage-choice-cards{grid-template-columns:1fr}.mortgage-choice-card-head,.mortgage-choice-metric{min-height:0}.mortgage-choice-card dl{grid-template-rows:none}}@media (width<=900px){.mortgage-choice-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.mortgage-choice-fields,.mortgage-choice-kpis,.mortgage-choice-long-grid{grid-template-columns:1fr}.mortgage-choice-form,.mortgage-choice-detail,.mortgage-choice-assumptions,.mortgage-choice-card,.mortgage-choice-verdict,.mortgage-choice-long{padding:var(--space-md)}.mortgage-choice-source{flex-direction:column;align-items:stretch}.mortgage-choice-card-actions .button{width:100%}}.auth-card{max-width:480px;margin:var(--space-xl) auto;padding:var(--space-xl);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background)}.muted,.field-hint{color:var(--text-muted)}.field-hint{margin-top:var(--space-xs);font-size:13px;line-height:18px;display:block}form{margin-top:var(--space-lg)}.field{margin:var(--space-lg) 0}.field label{margin-bottom:var(--space-sm);font-size:13px;font-weight:500;line-height:18px;display:block}input{border:1px solid var(--input-border);border-radius:var(--radius-button);background:var(--background);width:100%;min-width:0;height:48px;color:var(--text);font:inherit;padding:12px}input:focus-visible{outline:2px solid var(--primary);outline-offset:2px}input[aria-invalid=true]{border-color:var(--error)}.input-row{display:flex;position:relative}.input-row--password input{padding-right:52px}button.reveal{width:44px;height:44px;color:var(--text-muted);background:0 0;place-items:center;padding:0;display:grid;position:absolute;top:2px;right:2px}button.reveal:hover:not(:disabled){background:var(--background-secondary);color:var(--primary);box-shadow:none;transform:none}button.reveal:focus-visible{outline-offset:-3px}button.secondary{color:var(--text);background:var(--background-secondary);border:1px solid var(--border)}button.secondary:hover:not(:disabled){background:var(--border)}.checkbox-row{align-items:center;gap:var(--space-sm);margin:var(--space-lg) 0;cursor:pointer;min-height:44px;font-size:14px;line-height:20px;display:flex}.checkbox-row input{width:20px;height:20px;accent-color:var(--primary);flex-shrink:0}.form-error{color:var(--error);background:var(--error-surface);border-radius:var(--radius-button);padding:var(--space-md);margin:var(--space-md) 0;font-size:14px;line-height:20px}.field-error{color:var(--error);margin-top:var(--space-sm);font-size:13px;line-height:18px}.form-notice{padding:var(--space-md);background:var(--accent-surface);border-radius:var(--radius-button);margin:var(--space-md) 0;font-size:14px;line-height:20px}.form-notice--success{background:var(--success-surface);color:var(--success)}.full-width{width:100%}.recovery-help{border-top:1px solid var(--border);margin-top:var(--space-lg);padding-top:var(--space-sm);font-size:14px;line-height:20px}summary{cursor:pointer;min-height:44px;padding:12px 0}summary:focus-visible,a:focus-visible{outline:2px solid var(--primary);outline-offset:4px}.recovery-help p{margin-top:var(--space-md);color:var(--text-muted)}code{overflow-wrap:anywhere}nav{align-items:center;gap:var(--space-sm);margin-left:auto;display:flex}a{color:var(--text);text-underline-offset:4px}nav a{min-height:44px;padding:12px 8px;font-size:14px}.setup-card{max-width:600px}.setup-step{gap:var(--space-md);padding:var(--space-lg) 0;border-bottom:1px solid var(--border);display:flex}.setup-step p{margin-top:var(--space-sm);font-size:14px;line-height:20px}.setup-card>button{margin-top:var(--space-lg)}.settings-grid{gap:var(--space-lg);grid-template-columns:1fr 1fr;align-items:start;display:grid}.settings-grid .auth-card{width:100%;min-width:0;padding:var(--space-lg);margin:0}@media (width<=700px){.settings-grid{grid-template-columns:1fr}.settings-grid .auth-card{max-width:none}}@media (width<=600px){.auth-card{padding:var(--space-lg)}.page-header{flex-wrap:wrap}nav{justify-content:space-between;width:100%;margin:0}nav button{width:auto}}[hidden]{display:none!important}.button{justify-content:center;align-items:center;gap:var(--space-sm);border-radius:var(--radius-button);cursor:pointer;min-height:44px;transition:background var(--duration), transform var(--duration), box-shadow var(--duration);border:1px solid #0000;padding:12px 20px;font-size:14px;font-weight:600;line-height:20px;text-decoration:none;display:inline-flex}.button--primary{color:var(--background);background:var(--primary)}.button--primary:hover:not(:disabled){background:var(--primary-hover);box-shadow:var(--shadow-primary);transform:translateY(-1px)}.button--secondary{color:var(--text);background:var(--background);border-color:var(--input-border)}.button--secondary:hover:not(:disabled){background:var(--accent-surface);box-shadow:var(--shadow-secondary);transform:translateY(-1px)}.button--ghost{color:var(--text);background:0 0}.button--ghost:hover:not(:disabled){background:var(--ghost-surface);box-shadow:none;transform:translateY(-1px)}.button:active:not(:disabled){transform:none}.button:disabled{opacity:.55;cursor:not-allowed}.button:focus-visible{outline:2px solid var(--primary);outline-offset:4px}.icon-button{flex-shrink:0;width:44px;padding:10px}svg{flex-shrink:0}input{transition:border-color var(--duration), box-shadow var(--duration);padding:12px 16px}input:focus-visible,.select-trigger:focus-visible,.select-trigger[aria-expanded=true]{border-color:var(--text-muted);box-shadow:var(--focus-ring);outline:none}input[aria-invalid=true]:focus-visible,.select-trigger[aria-invalid=true]{border-color:var(--error)}input:disabled,.select-trigger:disabled{color:var(--text-muted);background:var(--background-secondary);cursor:not-allowed}.checkbox-row input:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.field-error{align-items:flex-start;gap:var(--space-sm);display:flex}.form-error{overflow-wrap:anywhere}.app-header{background:var(--background);border-bottom:1px solid var(--border)}.app-header-inner{align-items:center;gap:var(--space-sm);max-width:1040px;padding:var(--space-md) var(--space-xl);margin:0 auto;display:flex}.app-shell .page{max-width:1040px}.desktop-nav{margin-left:auto;display:flex}.desktop-nav a{align-items:center;gap:var(--space-sm);border-radius:var(--radius-button);padding:12px 16px;text-decoration:none;display:inline-flex}.desktop-nav a[aria-current=page]{background:var(--primary);color:var(--background)}.logout-button{margin-left:var(--space-md)}.mobile-nav{display:none}.back-button{margin-bottom:var(--space-sm)}.skip-link{top:-100px;left:var(--space-md);z-index:100;padding:var(--space-md);background:var(--background);position:fixed}.skip-link:focus{top:var(--space-sm)}.page-state{align-items:flex-start;gap:var(--space-md);padding:var(--space-lg);border:1px solid var(--border);background:var(--background);border-radius:var(--radius-card);display:flex}.page-state h2{margin-bottom:var(--space-sm);font-size:18px;line-height:24px}.page-state .button{margin-top:var(--space-md)}.page-state--error,.page-state--partial{background:var(--error-surface)}.page-state--success{background:var(--success-surface)}.page-state--error>svg,.page-state--partial>svg{color:var(--error)}.page-state--success>svg{color:var(--success)}.home-settings{margin-top:var(--space-lg)}.settings-links{gap:var(--space-md);grid-template-columns:1fr 1fr;display:grid}.settings-link{align-items:center;gap:var(--space-md);padding:var(--space-lg);border:1px solid var(--border);background:var(--background);border-radius:var(--radius-card);min-width:0;text-decoration:none;display:flex}.settings-link:hover{background:var(--accent-surface)}.settings-link>span:nth-child(2){flex:1;min-width:0}.settings-link strong,.settings-link .muted{display:block}.settings-link .muted{margin-top:var(--space-xs);font-size:14px;line-height:20px}.category-icon{border-radius:var(--radius-button);background:var(--accent-surface);width:36px;height:36px;color:var(--primary);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.info-card{margin:var(--space-lg) 0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background)}.info-card h2{margin-bottom:var(--space-sm);font-size:18px;line-height:24px}.connection-card>.page-state{margin-top:var(--space-lg)}.toast{align-items:center;gap:var(--space-md);padding:var(--space-md);margin:var(--space-md) 0;background:var(--success-surface);border-radius:var(--radius-button);display:flex}.toast>svg{color:var(--success)}.toast p{flex:1}.form-notice .button{margin-top:var(--space-md)}.modal{width:min(520px,100% - 32px);max-height:calc(100dvh - 32px);padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);color:var(--text);margin:auto;overflow-y:auto}.modal[open]{animation:modal-in var(--duration-modal) ease-out}.modal::backdrop{background:var(--overlay)}.modal-heading{align-items:flex-start;gap:var(--space-md);margin-bottom:var(--space-md);display:flex}.modal-heading h2{flex:1}.modal-actions{gap:var(--space-sm);margin-top:var(--space-lg);flex-wrap:wrap;display:flex}.select-trigger{justify-content:space-between;align-items:center;gap:var(--space-sm);border:1px solid var(--input-border);border-radius:var(--radius-button);background:var(--background);width:100%;height:48px;color:var(--text);text-align:left;padding:12px 16px;font-size:16px;font-weight:400;display:flex}.select-trigger span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.select-trigger>svg{color:var(--text-muted);transition:transform var(--duration)}.select-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.select-trigger:hover:not(:disabled){background:var(--background);box-shadow:none;transform:none}.select-menu{z-index:30;border:1px solid var(--border);border-radius:var(--radius-menu);background:var(--background);box-shadow:var(--shadow-menu);animation:menu-in var(--duration-menu) ease-out;flex-direction:column;padding:6px;display:flex;position:fixed}.select-menu ul{overscroll-behavior:contain;margin:0;padding:0;list-style:none;overflow-y:auto}.select-menu li{align-items:center;gap:var(--space-sm);border-radius:var(--radius-label);cursor:pointer;overflow-wrap:anywhere;min-height:44px;padding:11px 12px;font-size:14px;line-height:20px;display:flex}.select-menu li>span{flex:1}.select-menu li>.category-icon{flex:0 0 36px}.select-menu li.has-icon{min-height:48px}.select-menu li:hover:not([aria-disabled=true]),.select-menu li.is-active{background:var(--accent-surface)}.select-menu li.is-active{outline:2px solid var(--primary);outline-offset:-2px}.select-menu li[aria-selected=true]{background:var(--accent)}.select-menu li[aria-disabled=true]{color:var(--text-muted);cursor:not-allowed;opacity:.6}.select-search{flex-shrink:0;margin-bottom:6px}.select-empty{padding:var(--space-md);color:var(--text-muted);font-size:14px}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.table-scroll{max-width:100%;overflow-x:auto}@keyframes menu-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media (width<=700px){.settings-links{grid-template-columns:1fr}}@media (width<=600px){.app-header-inner{padding:var(--space-md)}.desktop-nav{display:none}.logout-button{width:auto;margin-left:auto}.app-shell--private .page{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.mobile-nav{z-index:10;width:100%;padding:var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom));background:var(--background);border-top:1px solid var(--border);gap:var(--space-sm);margin:0;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav a{justify-content:center;align-items:center;gap:var(--space-xs);border-radius:var(--radius-button);flex-direction:column;flex:1;font-size:12px;line-height:16px;text-decoration:none;display:flex}.mobile-nav a[aria-current=page]{background:var(--primary);color:var(--background)}.settings-link,.info-card,.page-state,.auth-card,.settings-grid .auth-card{padding:var(--space-md)}.back-button{width:auto}.modal-actions{flex-direction:column}html{scroll-padding-bottom:100px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}.button:hover:not(:disabled){transform:none}}.page-heading{justify-content:space-between;align-items:center;gap:var(--space-lg);margin:var(--space-lg) 0 var(--space-xl);display:flex}.page-heading h1{overflow-wrap:anywhere}.page-heading .muted{margin-top:var(--space-sm)}.panel{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);margin-bottom:var(--space-lg)}.panel h2{font-size:24px;line-height:32px}.entity-form{max-width:800px}fieldset{border:0;min-width:0;margin:0;padding:0}.form-grid{gap:var(--space-lg);grid-template-columns:1fr 1fr;display:grid}.form-grid>*{min-width:0}.form-actions{gap:var(--space-md);margin-top:var(--space-lg);flex-wrap:wrap;display:flex}.form-error .button{margin-top:var(--space-md)}.tabs{gap:var(--space-sm);margin-bottom:var(--space-lg);flex-wrap:wrap;display:flex}.tabs .button{width:auto}.account-grid{gap:var(--space-lg);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.account-action-bar{align-items:center;gap:var(--space-sm);margin:var(--space-md) 0 var(--space-lg);flex-wrap:wrap;display:flex}.account-action-bar .button{width:auto}.account-actions-more{position:relative}.account-actions-more>summary{min-height:44px;padding:0 var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);cursor:pointer;align-items:center;font-size:14px;font-weight:600;list-style:none;display:flex}.account-actions-more>summary::-webkit-details-marker{display:none}.account-actions-more>summary:focus-visible,.account-overview-more>summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.account-actions-menu{z-index:5;top:calc(100% + var(--space-xs));min-width:190px;padding:var(--space-xs);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);box-shadow:var(--shadow-menu);display:grid;position:absolute;right:0}.account-actions-menu a,.account-actions-menu .button{min-height:44px;padding:var(--space-sm) var(--space-md);text-align:left;color:var(--text);align-items:center;font-size:14px;text-decoration:none;display:flex}.account-actions-menu a:hover,.account-actions-menu .button:hover{background:var(--background-secondary)}.account-overview{gap:var(--space-md);margin-bottom:var(--space-lg);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.account-overview--placement{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:stretch}.account-overview--placement:has(.placement-terms form){align-items:start}.account-overview>.panel{min-width:0;margin:0}.account-overview-balance{align-items:flex-start;gap:var(--space-md);background:var(--account-surface,var(--background));flex-wrap:wrap;display:flex}.account-overview-balance>div{min-width:0}.account-overview-balance .muted{margin:0}.account-overview-balance .account-amount{margin:var(--space-sm) 0 var(--space-xs);font-size:clamp(26px,3vw,36px);line-height:1.2}.account-overview-balance .field-hint{margin:0}.account-overview-balance>a{flex-basis:100%}.account-overview-meta{gap:var(--space-xs);padding-top:var(--space-sm);border-top:1px solid var(--border);color:var(--text-muted);flex-basis:100%;font-size:13px;line-height:1.5;display:grid}.account-overview-state h2{margin:0;font-size:18px}.account-overview-state .record-details{margin:var(--space-xs) 0 0}.account-overview-state .record-details>div{padding:8px 0}.account-overview-more{margin-top:var(--space-sm)}.account-overview-more>summary{cursor:pointer;min-height:44px;color:var(--text-muted);align-items:center;font-size:14px;display:flex}.account-overview-more p{color:var(--text-muted);margin:0;font-size:14px}.account-history-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-md);display:flex}.account-history-heading h2{margin:0}.account-history-heading .section-note{margin:var(--space-xs) 0 var(--space-md)}.account-history-list{margin:0;padding:0;list-style:none}.account-history-list li+li{border-top:1px solid var(--border)}.account-history-list li>a{justify-content:space-between;align-items:center;gap:var(--space-md);min-height:60px;padding:var(--space-sm) 0;color:var(--text);text-decoration:none;display:flex}.account-history-list li>a:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.account-history-entry{align-items:center;gap:var(--space-sm);min-width:0;display:flex}.account-history-entry .record-icon{width:36px;height:36px}.account-history-entry .record-icon svg{width:19px;height:19px}.account-history-main{gap:var(--space-xs);min-width:0;display:grid}.account-history-main strong{overflow-wrap:anywhere}.account-history-main>span{color:var(--text-muted);font-size:13px}.account-history-amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.account-history-amount--interest{color:var(--success)}.account-history-amount--transfer{color:var(--text-muted)}.account-history-amount.is-cancelled{color:var(--text-muted);text-decoration:line-through}.account-card{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);transition:border-color var(--duration),background var(--duration);text-decoration:none}.account-card:hover{border-color:var(--input-border);background:var(--background-secondary)}.record-heading{align-items:center;gap:var(--space-md);min-width:0;display:flex}.record-heading>div{min-width:0}.record-heading h2{overflow-wrap:anywhere;font-size:18px;line-height:24px}.record-heading .muted{margin-top:var(--space-xs);font-size:13px}.record-icon{border-radius:var(--radius-menu);background:var(--ghost-surface);flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:inline-flex}.tone-pink{background:var(--accent-surface)}.tone-green{background:var(--success-surface);color:var(--success)}.record-icon img{object-fit:contain;width:36px;height:36px}.account-amount{font-variant-numeric:tabular-nums;margin:var(--space-lg) 0 var(--space-xs);overflow-wrap:anywhere;font-size:28px;font-weight:600;line-height:36px}.account-amount--large{font-size:48px;line-height:56px}.unknown-amount{color:var(--text-muted);font-size:20px}.card-footer{justify-content:space-between;align-items:center;gap:var(--space-sm);margin-top:var(--space-lg);display:flex}.badge{border-radius:var(--radius-label);padding:var(--space-xs) var(--space-sm);background:var(--ghost-surface);font-size:12px;line-height:16px}.section-note{margin:var(--space-lg) 0;color:var(--text-muted);font-size:14px;line-height:20px}.record-details{margin-top:var(--space-lg)}.record-details>div{justify-content:space-between;gap:var(--space-md);border-bottom:1px solid var(--border);padding:12px 0;display:flex}.record-details dt{color:var(--text-muted)}.record-details dd{text-align:right;margin:0}.logo-upload{display:block}.logo-upload input{margin-top:var(--space-sm);height:auto}.catalog-toolbar{justify-content:space-between;align-items:flex-start;gap:var(--space-md);margin-bottom:var(--space-md);display:flex}.catalog-list{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);overflow:hidden}.catalog-row{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-lg);border-bottom:1px solid var(--border);display:flex}.catalog-row:last-child{border-bottom:0}.row-actions{justify-content:flex-end;gap:var(--space-xs);flex-wrap:wrap;flex-shrink:0;max-width:45%;display:flex}.row-actions .button{padding:12px}.record-comment{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:var(--space-sm);font-size:14px}.record-copy{overflow-wrap:anywhere}textarea{resize:vertical;border:1px solid var(--input-border);border-radius:var(--radius-button);width:100%;min-height:100px;font:inherit;color:var(--text);background:var(--background);padding:12px 16px}textarea:focus-visible{border-color:var(--text-muted);box-shadow:var(--focus-ring);outline:none}.desktop-nav a[aria-current=page],.mobile-nav a[aria-current=page]{background:var(--accent);color:var(--text)}@media (width<=700px){.account-overview{grid-template-columns:1fr}.account-action-bar .button{width:auto}.account-actions-menu{left:0;right:auto}.account-history-heading{display:block}.account-history-amount{white-space:normal;text-align:right}.page-heading{flex-direction:column;align-items:flex-start}.page-heading>.button{width:100%}.account-grid,.form-grid{grid-template-columns:1fr}.form-grid{gap:0}.account-amount--large{font-size:36px;line-height:44px}.catalog-toolbar{flex-direction:column}.catalog-row{padding:var(--space-md);flex-direction:column;align-items:flex-start}.row-actions{justify-content:flex-start;max-width:100%}.row-actions .button{width:auto}.record-heading,.form-actions>*{width:100%}.panel{padding:var(--space-md)}.mobile-nav a{padding:10px 6px;font-size:12px}}@media (width>=961px){.app-shell--private{min-height:100dvh;padding-left:228px}.app-sidebar{background:var(--text);width:228px;height:100dvh;color:var(--background);z-index:10;border:0;position:fixed;inset:0 auto 0 0;overflow-y:auto}.app-sidebar .app-header-inner{min-height:100%;padding:var(--space-lg) var(--space-md);grid-template-rows:auto 1fr auto;grid-template-columns:36px 1fr;align-items:center;display:grid}.app-sidebar .brand-mark{color:var(--text);flex-shrink:0}.app-sidebar .brand{font-size:14px}.app-sidebar .desktop-nav{width:100%;margin:var(--space-xl) 0;align-self:start;align-items:stretch;gap:var(--space-sm);flex-direction:column;grid-column:1/-1;display:flex}.app-sidebar .desktop-nav a{color:var(--background)}.app-sidebar .desktop-nav a:hover{background:var(--primary)}.app-sidebar .desktop-nav a[aria-current=page]{color:var(--text);background:var(--accent)}.app-sidebar .logout-button{color:var(--background);grid-column:1/-1;justify-content:flex-start;align-self:end;width:100%;margin:0}.app-sidebar .logout-button:hover{background:var(--primary)}.app-sidebar a:focus-visible,.app-sidebar button:focus-visible{outline-color:var(--accent)}}@media (width>=601px) and (width<=960px){.app-sidebar .desktop-nav{display:none}.app-sidebar .logout-button{margin-left:auto}.app-shell--private .page{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.mobile-nav{z-index:10;width:100%;padding:var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom));background:var(--background);border-top:1px solid var(--border);gap:var(--space-sm);margin:0;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav a{justify-content:center;align-items:center;gap:var(--space-xs);border-radius:var(--radius-button);flex-direction:column;flex:1;font-size:12px;line-height:16px;text-decoration:none;display:flex}html{scroll-padding-bottom:100px}}.account-tone-neutral{--account-surface:var(--background)}.account-tone-pink{--account-surface:var(--account-surface-pink)}.account-tone-green{--account-surface:var(--account-surface-green)}.account-card,.account-detail{background:var(--account-surface,var(--background))}a.account-card:hover{background:var(--account-surface,var(--background));border-color:var(--input-border)}.account-preview{margin-top:var(--space-md)}.record-icon.record-icon--logo{background:0 0}.record-icon--logo img{object-fit:contain;width:48px;height:48px}.record-heading>div{overflow-wrap:anywhere;min-width:0}.logo-upload{align-items:center;gap:var(--space-md);margin-top:var(--space-md);display:flex}.logo-upload-actions{gap:var(--space-sm);flex-wrap:wrap;min-width:0;display:flex}.app-shell--private .page{width:100%;max-width:none;margin:0}.app-shell--private .back-button{padding-inline:0}.account-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}.account-tone-yellow{--account-surface:var(--account-surface-yellow)}.account-tone-blue{--account-surface:var(--account-surface-blue)}.account-tone-gray{--account-surface:var(--account-surface-gray);--text-muted:var(--account-muted-on-gray);color:var(--account-text-on-gray)}.tone-yellow{background:var(--account-surface-yellow)}.tone-blue{background:var(--account-surface-blue)}.tone-gray{background:var(--account-surface-gray);color:var(--account-text-on-gray)}.account-tone-gray .badge{background:0 0;border:1px solid}.account-tone-gray .record-icon{color:var(--account-text-on-gray);background:0 0}.accounts-toolbar{align-items:center;gap:var(--space-lg);margin-bottom:var(--space-lg);flex-wrap:wrap;display:flex}.accounts-toolbar .tabs{margin:0}.app-logo{width:36px;height:36px;display:block}.app-sidebar{background:var(--text);color:var(--brand-light);border:0}.app-sidebar .brand-mark{background:0 0;border-radius:0;flex-shrink:0}.app-sidebar .brand{color:var(--brand-light);font-size:18px;font-weight:600;line-height:24px}.app-sidebar .logout-button{color:var(--brand-light);flex-shrink:0}.app-sidebar .logout-button:hover{background:var(--primary)}.app-sidebar a:focus-visible,.app-sidebar button:focus-visible{outline-color:var(--accent)}.screen-header{margin:calc(-1 * var(--space-xl)) calc(-1 * var(--space-xl)) 0;padding:var(--space-lg) var(--space-xl);background:var(--page-header-surface)}.screen-header h1{color:var(--text);overflow-wrap:anywhere;margin:0}.screen-header p{margin-top:var(--space-sm);color:var(--text-muted);font-size:13px;line-height:18px}.screen-actions{justify-content:space-between;align-items:center;gap:var(--space-md);margin:var(--space-md) 0 var(--space-lg);display:flex}.back-button.screen-back{width:fit-content;color:var(--text-muted);flex-shrink:0;margin:0;font-size:13px;font-weight:500;display:flex}.screen-actions-end{justify-content:flex-end;gap:var(--space-sm);flex-wrap:wrap;min-width:0;margin-left:auto;display:flex}.screen-actions-end .button{width:auto}.screen-header-gap{height:var(--space-lg)}@media (width<=600px){.screen-header{margin:calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) 0;padding:var(--space-md)}}.account-logo{vertical-align:middle;flex-shrink:0;height:48px;display:inline-block;overflow:hidden}.account-logo img{object-fit:contain;transform-origin:50%;width:100%;height:100%;display:block}.logo-editor-preview{align-items:center;gap:var(--space-md);padding:var(--space-lg);margin-top:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--account-surface,var(--background));display:flex}.logo-editor-preview>span:last-child{overflow-wrap:anywhere;min-width:0}input[type=range]{accent-color:var(--primary);border:0;height:44px;padding:0}.account-detail>.account-logo,.account-detail>.record-icon{margin-bottom:var(--space-md)}.order-instructions{margin-top:0}.order-actions,.order-card-actions{gap:var(--space-sm);margin-bottom:var(--space-md);flex-wrap:wrap;display:flex}.order-card-actions{margin:var(--space-lg) 0 0}.order-card-actions .button{width:auto;padding-inline:12px}.order-grid{margin-top:var(--space-md)}.order-card-top{justify-content:space-between;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-md);display:flex}.order-position{color:var(--text-muted);font-size:13px}.order-handle{touch-action:none;cursor:grab;width:44px;height:44px;color:inherit;padding:10px}.order-handle:active{cursor:grabbing}.order-card--moving{outline:2px solid var(--primary);outline-offset:2px}.order-card{min-width:0}.order-card.account-tone-gray .order-handle:focus-visible{outline-color:var(--account-text-on-gray)}.accounts-toolbar>.button{margin-left:auto}@media (width<=600px){.accounts-toolbar>.button{width:auto;margin-left:0}}.account-order-action{align-self:center;display:inline-flex;position:relative}.screen-actions-end .account-order-toggle{width:44px;min-width:44px;height:44px;color:var(--text-muted);padding:0}.account-order-toggle:hover:not(:disabled){color:var(--text);transform:none}.account-order-tooltip{z-index:10;border-radius:var(--radius-label);background:var(--primary);width:max-content;max-width:200px;color:var(--background);box-shadow:var(--shadow-menu);padding:8px 12px;font-size:12px;line-height:16px;position:absolute;top:100%;left:0}.order-arrow-action{display:inline-flex;position:relative}.order-card-actions .order-arrow{width:44px;height:44px;color:inherit;padding:0}.order-arrow:hover:not(:disabled){transform:none}.order-card.account-tone-gray .order-arrow:hover:not(:disabled){background:#ffffff1f}.order-card.account-tone-gray .order-arrow:focus-visible{outline-color:var(--account-text-on-gray)}.order-arrow-action .account-order-tooltip{top:auto;bottom:100%}.operation-form fieldset{border:0;min-width:0;margin:0;padding:0}.operation-form .panel{margin-bottom:var(--space-lg)}.operation-categories{margin-top:var(--space-lg)}.category-choices{gap:var(--space-sm);grid-template-columns:repeat(auto-fill,minmax(160px,1fr));display:grid}.category-choices .button{text-align:left;white-space:normal;overflow-wrap:anywhere;justify-content:flex-start;min-height:64px}.category-choices .button[aria-pressed=true]{border-color:var(--primary);background:var(--accent-surface)}.category-choices small{color:var(--text-muted);font-weight:400;display:block}.operation-tags{gap:var(--space-md);flex-wrap:wrap;display:flex}.operation-filters{margin:var(--space-lg) 0}.operations-list{gap:var(--space-sm);display:grid}.operation-row{align-items:center;gap:var(--space-md);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);color:var(--text);text-decoration:none;display:flex}.operation-row:hover{background:var(--background-secondary)}.operation-row-body{flex:1;min-width:0}.operation-row h2{margin:0 0 var(--space-xs);overflow-wrap:anywhere;font-size:16px}.operation-row p{color:var(--text-muted);overflow-wrap:anywhere;margin:0;font-size:14px}.operation-row-money{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-weight:600}.operation-income{color:var(--success)}.operation-expense{color:var(--error)}.operation-pagination{justify-content:center;align-items:center;gap:var(--space-md);margin-top:var(--space-lg);flex-wrap:wrap;display:flex}.operation-comment{white-space:pre-wrap;overflow-wrap:anywhere}@media (width<=767px){.mobile-nav{padding-left:var(--space-xs);padding-right:var(--space-xs);grid-template-columns:repeat(5,minmax(0,1fr));gap:0;display:grid}.mobile-nav a{min-width:0;padding-left:0;padding-right:0;font-size:11px}.operation-row{flex-wrap:wrap}.operation-row-body{flex-basis:calc(100% - 64px)}.operation-row-money{max-width:100%;margin-left:auto}}.operation-total{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:32px;font-weight:600}.select-option-copy{gap:var(--space-xs);white-space:normal;overflow-wrap:anywhere;text-align:left;flex:1;min-width:0;display:grid}.select-option-description{color:var(--text-muted);font-size:13px;font-weight:400;line-height:18px}.select-option-detail{font-size:14px;font-weight:500;line-height:20px}.select-trigger:has(.select-option-description){gap:var(--space-sm);height:auto;min-height:88px;padding:12px}.select-menu li:has(.select-option-description){align-items:center;min-height:88px}.select-option-copy+svg,.select-trigger>svg{flex-shrink:0}.inline-catalog-heading{justify-content:space-between;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-sm);flex-wrap:wrap;display:flex}.inline-catalog-heading h3{margin:0}.inline-catalog-fields{border:0;min-width:0;margin:0;padding:0}.select-trigger .select-option-copy,.select-trigger .select-option-copy>span{white-space:normal;overflow:visible}:is(.select-menu li:has(.select-option-description)>.record-icon,.select-menu li:has(.select-option-description)>.account-logo){flex:none}.select-option-detail .money{white-space:normal;overflow-wrap:anywhere}.operation-icon-action{place-self:center start;display:inline-flex;position:relative}.operation-icon-action .icon-button{justify-content:center;width:44px;height:44px;min-height:44px;padding:0}.operation-tooltip{z-index:35;border:1px solid var(--border);border-radius:var(--radius-label);background:var(--background);width:max-content;max-width:220px;color:var(--text);box-shadow:var(--shadow-secondary);visibility:hidden;pointer-events:none;padding:8px 12px;font-size:13px;line-height:18px;position:absolute;bottom:calc(100% + 8px);right:0}.operation-icon-action:hover .operation-tooltip,.operation-icon-action:focus-within .operation-tooltip{visibility:visible}.category-add .operation-tooltip,.operation-tags .operation-tooltip{left:0;right:auto}.operation-tags{gap:var(--space-sm);align-items:center}.operation-tag{border:1px solid var(--border);white-space:normal;overflow-wrap:anywhere;text-align:left;max-width:100%;min-height:44px}.operation-tag svg{flex-shrink:0}.operation-tag[aria-pressed=true]{background:var(--accent-surface);border-color:var(--primary)}.operations-screen>.screen-header-gap{display:none}.operations-sticky{z-index:20;background:var(--background-secondary);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex;position:sticky;top:0}.operations-sticky-title{font-size:18px;font-weight:650}.operations-entry-actions{gap:8px;display:flex}.operations-back{margin:8px 0}.operations-screen .operation-filters{grid-template-columns:minmax(140px,1fr) minmax(250px,2fr) minmax(140px,1fr) minmax(140px,1fr);align-items:start;gap:16px;margin:16px 0;display:grid}.operations-screen .operation-filters .field{margin:0}.operations-screen .operation-filters .select-trigger{background:var(--background);border-color:var(--border);font-size:14px}.operations-screen .operation-filters .select-trigger:has(.select-option-description){min-height:48px;padding:8px 12px}.operations-screen .operation-filters .select-trigger .record-icon,.operations-screen .operation-filters .select-trigger .account-logo,.operations-screen .operation-filters .select-trigger .select-option-detail{display:none}.operations-screen .operation-filters .select-trigger .select-option-copy{flex-wrap:wrap;align-items:baseline;gap:4px 8px;display:flex}.operation-amount-search{justify-content:flex-end;align-items:center;gap:8px;margin:-4px 0 12px;display:flex}.operation-amount-search>.icon-button{justify-content:center;height:44px;min-height:44px}.operation-amount-search>form{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.operation-amount-search label{color:var(--text-muted);font-size:13px}.operation-amount-search input{width:180px;min-height:44px}.operation-amount-search .field-error{flex-basis:100%;margin:0}.operations-list-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:16px 0 12px;scroll-margin-top:100px;display:flex}.operations-list-heading .field{align-items:center;gap:8px;margin:0;display:flex}.operations-list-heading .field>label{white-space:nowrap;color:var(--text-muted);margin:0;font-size:13px}.operations-list-heading .select-trigger{width:88px}.operations-list-heading p{margin:0;font-size:14px}.operations-screen .operation-row{background:var(--background);border-color:var(--border);box-shadow:var(--shadow-secondary);padding:20px}.operations-screen .operation-row:hover{border-color:var(--input-border);background:var(--background)}.operations-screen .operation-row h2{color:var(--text);margin-bottom:8px;font-size:18px;font-weight:650}.operations-screen .operation-row-money{font-size:20px;font-weight:650}.operations-screen .operation-row--cancelled{box-shadow:none;background:var(--background-secondary)}.operations-screen .operation-row--cancelled h2,.operations-screen .operation-row--cancelled .operation-row-money{color:var(--text-muted)}.operations-screen .operation-row--saved{border:2px solid var(--success);background:var(--success-surface)}.operation-part-group{gap:var(--space-sm);display:grid}.operation-part-group .operation-row{margin:0}.operation-part-note{margin-top:var(--space-xs);color:var(--text-muted);font-size:12px;line-height:18px;display:block}.operation-title{align-items:center;gap:8px;display:flex}.operation-title>span:first-child{min-width:0}.operation-source{color:var(--text-muted);flex:none;align-items:center;display:inline-flex}.operation-source svg{flex:none}.operation-saved-notice{color:var(--success)}.operation-page-number{align-items:center;gap:8px;display:inline-flex}.operation-page-number .button{min-width:44px}.operation-pagination{width:100%}@media (width<=900px) and (width>=601px){.operations-screen .operation-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.operations-sticky{flex-wrap:wrap;gap:8px}.operations-sticky-title{font-size:16px}.operations-entry-actions{flex:1;justify-content:flex-end}.operations-entry-actions .button{width:auto;padding:10px;font-size:12px}.operations-screen .operation-filters{grid-template-columns:1fr;gap:10px}.operation-amount-search{flex-wrap:wrap;justify-content:flex-start}.operation-amount-search>form{flex:100%}.operation-amount-search input{flex:150px;min-width:0}.operations-screen .operation-row{padding:16px}.operation-page-number .button{width:auto}.operation-pagination{gap:8px}}.account-card--actions{aspect-ratio:1.6;flex-direction:column;padding:20px;display:flex;position:relative}.account-card--actions:hover{background:var(--account-surface,var(--background))}.account-card-main{color:inherit;border-radius:var(--radius-label);flex:1;text-decoration:none;display:block}.account-card-main:focus-visible{outline-offset:4px;outline:2px solid}.account-quick-actions{flex-shrink:0;gap:4px;margin:0;display:flex}.account-card--actions .record-heading{gap:12px;padding-right:32px}.account-card--actions .record-heading h2{margin:0}.account-card--actions .account-amount{margin-top:16px}.account-card--actions .card-footer{min-height:44px;margin-top:8px}.account-card--actions .card-footer .badge{white-space:normal;min-width:0}.account-card-open{position:absolute;top:14px;right:8px}.account-card-open svg{transform:rotate(-90deg)}.account-card-open .operation-tooltip{top:calc(100% + 4px);bottom:auto}.account-quick-link{color:var(--text-muted);box-shadow:none;background:0 0;border:0}.account-quick-link:hover{color:var(--text);background:var(--ghost-surface);box-shadow:none;transform:none}.account-quick-link:active{background:var(--accent-surface)}.account-tone-gray .account-quick-link{color:var(--account-muted-on-gray)}.account-tone-gray .account-quick-link:hover{background:#ffffff1f}.account-tone-gray .account-quick-link:focus-visible{outline-color:var(--account-text-on-gray)}.account-quick-actions .operation-tooltip,.account-quick-actions>:last-child .operation-tooltip{left:auto;right:0}.tooltip-dismissed .operation-tooltip{visibility:hidden!important}.transfer-sides{align-items:start}.transfer-summary p{overflow-wrap:anywhere}.transfer-total{color:var(--text);overflow-wrap:anywhere}.transfer-fee-note{color:var(--text-muted);margin-top:4px;font-size:13px;font-weight:400;display:block}.operations-entry-actions,.operations-screen .tabs{flex-wrap:wrap}@media (width<=600px){.operations-sticky-title{display:none}.operations-entry-actions{width:100%}.operations-entry-actions>.button{flex:1;min-width:0}.transfer-sides{grid-template-columns:minmax(0,1fr)}.transfer-total{font-size:24px}.operations-screen .tabs>.button{flex:1;min-width:0;padding:10px 6px;font-size:13px}}@media (width<=400px){.account-card--actions{padding:16px}.account-card--actions .record-heading{gap:8px;padding-right:28px}.account-card-open{top:10px;right:4px}}.cost-details{margin-top:20px}.cost-details h2{margin-top:0}.cost-rows{gap:12px;margin:20px 0;display:grid}.cost-row,.cost-impact-item{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:8px 0}.cost-row p,.cost-impact-item p{margin:6px 0}.cost-assessment{gap:16px;margin-top:16px;display:grid}.cost-total{font-size:24px;font-weight:600}.cost-order{margin-top:20px}.cost-order-list{padding-left:24px}.cost-order-list li{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:12px 0}.cost-order-list p{margin:4px 0}.cost-order-buttons{gap:8px;display:flex}.cost-order-buttons button{min-width:44px;min-height:44px}.cost-impact{max-height:40vh;overflow-y:auto}.balance-view-heading,.rate-preview-top{justify-content:space-between;align-items:center;gap:var(--space-md);flex-wrap:wrap;display:flex}.balance-view .tabs{flex-wrap:wrap}.balance-groups{margin:var(--space-lg) 0}.balance-group{border-bottom:1px solid var(--border)}.balance-group summary{justify-content:space-between;align-items:center;gap:var(--space-md);cursor:pointer;min-height:64px;padding:var(--space-sm) 0;display:flex}.balance-group summary:before{content:"+";color:var(--text-muted)}.balance-group[open] summary:before{content:"−"}.balance-group summary>span{text-align:right;margin-left:auto}.balance-account-list{margin:var(--space-md) 0;padding:0;list-style:none}.balance-account-list li{justify-content:space-between;align-items:start;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere;display:flex}.balance-account-list li>div{min-width:0}.balance-account-list li>span{text-align:right}.balance-total{margin-top:var(--space-lg);overflow-wrap:anywhere;font-size:32px;font-weight:600;line-height:40px}.balance-difference{background:var(--background-secondary);border-radius:var(--radius-button);padding:var(--space-md);margin:var(--space-lg) 0}.balance-difference summary,.rate-format summary{cursor:pointer;align-items:center;gap:var(--space-sm);min-height:44px;display:flex}.balance-difference summary:before,.rate-format summary:before{content:"+"}.balance-difference[open] summary:before,.rate-format[open] summary:before{content:"−"}.balance-difference-amount{margin-top:var(--space-sm)}.rates-current{gap:var(--space-lg);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.rates-notice{justify-content:space-between;align-items:flex-start;gap:var(--space-md);display:flex}.rates-notice button{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;text-decoration:underline}.rates-notice button:focus-visible{outline:2px solid var(--text-muted);outline-offset:2px;box-shadow:var(--focus-ring)}.rate-history-scroll{max-height:420px;margin-top:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);overflow:auto}.rate-history-table{border-collapse:collapse;background:var(--background);width:100%}.rate-history-table th,.rate-history-table td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;padding:9px 12px}.rate-history-table th{background:var(--background-secondary);position:sticky;top:0}.rate-value{margin:var(--space-md) 0;font-size:32px;font-weight:600;line-height:40px}.rate-card .button{margin-top:var(--space-md)}.rate-form-grid{gap:var(--space-md);grid-template-columns:1fr 1fr 1fr;display:grid}.rate-form-grid>*{min-width:0}.rate-format pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--background-secondary);padding:var(--space-md);border-radius:var(--radius-button);margin-top:var(--space-md);font-size:13px;line-height:20px}.rate-preview-list{gap:var(--space-md);display:grid}.rate-preview-row{padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);overflow-wrap:anywhere}.rate-preview-row--error{background:var(--error-surface)}.rate-preview-row>p{margin-top:var(--space-sm)}.rate-select{align-items:center;gap:var(--space-sm);min-height:44px;margin-top:var(--space-sm);cursor:pointer;display:flex}.rate-select input{width:20px;height:20px;accent-color:var(--primary);flex-shrink:0}.account-reference{padding:0 var(--space-lg) var(--space-md);overflow-wrap:anywhere}@media (width<=640px){.rates-current,.rate-form-grid{grid-template-columns:1fr}.rate-form-grid{gap:0}.balance-total,.rate-value{font-size:28px;line-height:36px}.balance-account-list li{flex-wrap:wrap}.rate-preview-top{align-items:start}}.balance-overview{margin-bottom:var(--space-lg)}.balance-controls{justify-content:flex-start;align-items:center;gap:var(--space-sm);margin-bottom:var(--space-md);display:flex}.balance-mode{gap:var(--space-xs);border:1px solid var(--border);border-radius:var(--radius-button);padding:var(--space-xs);display:flex}.balance-mode .button{width:auto;min-height:44px;padding:var(--space-xs) var(--space-sm);font-size:12px}.balance-mode .button[aria-pressed=true]{background:var(--primary);color:var(--background)}.balance-kpis{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.balance-kpi{min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);text-align:left;grid-template-rows:subgrid;row-gap:var(--space-md);grid-row:span 2;align-content:start;display:grid}.balance-kpi--current{background:var(--accent);border-color:var(--accent)}.balance-kpi--total{background:var(--account-surface-gray);border-color:var(--account-surface-gray);color:var(--account-text-on-gray)}.balance-kpi-heading{align-items:center;gap:var(--space-sm);flex-direction:row;display:flex}.balance-kpi-icon{border-radius:var(--radius-button);background:var(--ghost-surface);flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.balance-kpi--total .balance-kpi-icon{background:var(--account-text-on-gray)}@supports (color:color-mix(in lab, red, red)){.balance-kpi--total .balance-kpi-icon{background:color-mix(in srgb,var(--account-text-on-gray) 12%,transparent)}}.balance-kpi h2{margin:0;font-size:14px;font-weight:600;line-height:20px}.balance-kpi-amount{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;min-width:0;margin:0;font-size:28px;font-weight:600;line-height:36px}.balance-value-row{justify-content:flex-start;align-self:start;align-items:center;gap:var(--space-xs);min-width:0;min-height:44px;display:flex}.balance-kpi-currencies{gap:var(--space-sm);align-content:start;display:grid}.balance-kpi-empty,.balance-kpi-unknown{color:var(--text-muted);font-size:16px;font-weight:400;line-height:24px}.balance-kpi--total .balance-kpi-empty,.balance-kpi--total .balance-kpi-unknown{color:var(--account-muted-on-gray)}.balance-warning{color:inherit;align-self:center}.balance-warning svg{width:18px;height:18px}.balance-kpi--total .balance-warning:hover{background:var(--account-text-on-gray)}@supports (color:color-mix(in lab, red, red)){.balance-kpi--total .balance-warning:hover{background:color-mix(in srgb,var(--account-text-on-gray) 12%,transparent)}}.balance-kpi--total .balance-warning:hover{color:inherit}.balance-kpi--total .balance-warning:focus-visible{outline-color:var(--account-text-on-gray)}.balance-overview-meta{justify-content:space-between;align-items:center;gap:var(--space-sm);margin-top:var(--space-sm);flex-wrap:wrap;display:flex}.balance-overview-meta>a{align-items:center;min-height:44px;font-size:12px;display:inline-flex}.balance-breakdown-value{text-align:right}@media (width<=1100px) and (width>=701px){.balance-kpi{padding:var(--space-md)}.balance-kpi-amount{font-size:24px;line-height:32px}}@media (width<=700px){.balance-kpis{grid-template-columns:minmax(0,1fr)}.balance-kpi{grid-row:auto;grid-template-rows:auto auto}}.balance-overview .money,.balance-detail .money,.balance-view .money,.account-card .money{white-space:normal;overflow-wrap:anywhere}.credit-card-panel,.credit-card-panel .field,.credit-period{min-width:0}.credit-card-facts dd{overflow-wrap:anywhere}.credit-form-grid{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.credit-period-heading{justify-content:space-between;align-items:center;gap:var(--space-md);margin-top:var(--space-lg);flex-wrap:wrap;display:flex}.credit-period-heading h3{margin:0}.credit-period-list{gap:var(--space-md);display:grid}.credit-period{justify-content:space-between;align-items:flex-start;gap:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);padding:var(--space-md);overflow-wrap:anywhere;display:flex}.credit-period h4{margin:0 0 var(--space-sm)}.credit-period p{margin:var(--space-xs) 0}.credit-period-actions{gap:var(--space-sm);flex-wrap:wrap;display:flex}.credit-period-ok{color:var(--success)}.credit-period-warning{color:var(--error)}.credit-period-editor{margin-top:var(--space-md);background:var(--background-secondary)}.debt-overview{margin-bottom:var(--space-xl)}.debt-kpis{gap:var(--space-md);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.debt-kpi{min-width:0;min-height:228px;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);overflow-wrap:anywhere;flex-direction:column;display:flex}.debt-kpi--payable{background:var(--account-surface-pink)}.debt-kpi--receivable{background:var(--account-surface-green)}.debt-kpi--future{background:var(--background-secondary)}.mortgage-title{margin:0 0 var(--space-lg);font-size:28px;line-height:36px}.mortgage-hero{align-items:start;gap:var(--space-md);max-width:920px;margin-bottom:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.mortgage-hero-payment{min-width:0;padding:var(--space-md) var(--space-lg);border-radius:var(--radius-card);background:var(--account-surface-pink)}.mortgage-eyebrow{margin:0 0 var(--space-md);color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700}.mortgage-hero-payment>strong,.mortgage-hero-balance>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(24px,2.3vw,32px);line-height:1.2;display:block}.mortgage-hero .money{white-space:normal;overflow-wrap:anywhere}.mortgage-hero-balance{min-width:0;padding:var(--space-md) var(--space-lg);margin:0}.mortgage-hero-balance h2{margin:0 0 var(--space-md);font-size:16px;line-height:24px}.mortgage-hero-balance .section-note,.mortgage-hero-payment .field-hint{margin:var(--space-sm) 0 0}.mortgage-payment-parts{gap:var(--space-md);margin-top:var(--space-md);padding-top:var(--space-sm);border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));font-size:13px;line-height:1.5;display:grid}.mortgage-payment-parts .money{font-size:16px;font-weight:600}.mortgage-facts{gap:var(--space-md);max-width:920px;margin:0 0 var(--space-lg);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.mortgage-facts>div{min-width:0;padding:var(--space-sm) 0;border-bottom:1px solid var(--border)}.mortgage-facts dt{color:var(--text-muted);font-size:12px;line-height:18px}.mortgage-facts dd{margin:var(--space-xs) 0 0;overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:20px}.mortgage-actions{gap:var(--space-sm);margin-bottom:var(--space-lg);flex-wrap:wrap;display:flex}.mortgage-settings{margin:0 0 var(--space-lg);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card)}.mortgage-settings summary{cursor:pointer;min-height:44px;font-weight:600}.mortgage-fields{gap:var(--space-md);margin:var(--space-lg) 0;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.mortgage-switch{max-width:380px;margin-bottom:var(--space-lg)}.mortgage-table-scroll{border:1px solid var(--border);border-radius:var(--radius-card);max-width:100%;overflow-x:auto}.mortgage-table{border-collapse:collapse;width:100%;min-width:720px;font-size:13px}.mortgage-table th,.mortgage-table td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:14px 12px}.mortgage-table th:first-child,.mortgage-table td:first-child{text-align:left}.mortgage-table th{background:var(--background-secondary);color:var(--text-muted);font-weight:600}.mortgage-table tbody tr:last-child td{border-bottom:0}.mortgage-pagination{justify-content:flex-end;align-items:center;gap:var(--space-sm);margin-top:var(--space-md);display:flex}.mortgage-pagination>span{color:var(--text-muted);margin-right:auto;font-size:13px}.mortgage-version-list{gap:var(--space-sm);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}.mortgage-version{border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);min-height:44px;color:var(--text);cursor:pointer;padding:10px 14px}.mortgage-version.is-active{border-color:var(--primary);background:var(--background-secondary);font-weight:600}.mortgage-insurance-row{align-items:center;gap:var(--space-md);padding:var(--space-sm) 0;border-bottom:1px solid var(--border);display:flex}.mortgage-insurance-row>span{flex:1;min-width:0}.mortgage-insurance-row small{color:var(--text-muted)}.mortgage-insurance-search{margin-top:var(--space-lg)}.mortgage-insurance-search summary{min-height:44px;color:var(--primary);cursor:pointer;font-weight:600}.mortgage-insurance-search .select{margin-bottom:var(--space-lg)}.mortgage-validation{margin:var(--space-lg) 0;padding:var(--space-md);border-radius:var(--radius-card);background:var(--background-secondary)}.mortgage-validation--error{background:var(--error-surface);color:var(--error)}.mortgage-validation ul{margin-bottom:0}.mortgage-comparison{margin:var(--space-lg) 0;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background-secondary)}.mortgage-comparison h3{margin:0;font-size:16px}.mortgage-comparison summary{cursor:pointer;min-height:44px}.mortgage-comparison li{margin:var(--space-sm) 0}.mortgage-confirm{margin-top:var(--space-lg)}@media (width<=700px){.mortgage-hero,.mortgage-fields{grid-template-columns:1fr}.mortgage-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.mortgage-hero-payment,.mortgage-hero-balance{padding:var(--space-md)}.mortgage-insurance-row{flex-wrap:wrap}.mortgage-insurance-row>span{flex-basis:100%}}.mobile-nav-label{overflow-wrap:anywhere;text-align:center;white-space:normal;max-width:100%}.debt-kpi h2{margin:0 0 var(--space-lg);font-size:16px;line-height:24px}.debt-kpi-amounts{gap:var(--space-xs);display:grid}.debt-kpi-amounts p{font-variant-numeric:tabular-nums;margin:0;font-size:28px;font-weight:600;line-height:36px}.debt-kpi--credit .debt-kpi-amounts p{font-size:24px;line-height:32px}.debt-kpi-empty{min-height:36px;margin:0;font-size:18px;font-weight:600;line-height:26px}.debt-kpi-hint,.debt-kpi-warning{margin:var(--space-md) 0 0;color:var(--text-muted);font-size:13px;line-height:20px}.debt-kpi-warning{color:var(--error)}.debt-kpi a{min-height:44px;padding-top:var(--space-md);color:var(--text);align-self:flex-start;align-items:center;margin-top:auto;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.debt-kpi a:hover{text-decoration:underline}.debt-kpi-cards{width:100%;margin-top:var(--space-md);border-top:1px solid var(--border);display:grid}.debt-kpi .debt-kpi-card-row{align-self:stretch;align-items:center;gap:var(--space-xs);width:100%;min-height:44px;padding:var(--space-xs) 0;border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;margin:0;font-size:12px;font-weight:400;line-height:18px;display:grid}.debt-kpi-card-row>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.debt-kpi-card-row>span:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.debt-kpi-more summary{cursor:pointer;align-items:center;min-height:44px;font-size:12px;font-weight:600;display:flex}.debt-kpi a:focus-visible,.debt-kpi-more summary:focus-visible,.debt-upcoming-card:focus-visible,.debt-person:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.debt-overview-total{justify-content:space-between;gap:var(--space-xs) var(--space-lg);margin-top:var(--space-sm);color:var(--text-muted);flex-wrap:wrap;font-size:13px;line-height:20px;display:flex}.debt-overview-total strong{color:var(--text)}.debt-section{margin-bottom:var(--space-xl);scroll-margin-top:var(--space-lg)}.debt-section-heading{justify-content:space-between;align-items:baseline;gap:var(--space-xs) var(--space-md);margin-bottom:var(--space-md);flex-wrap:wrap;display:flex}.debt-section-heading h2{margin:0;font-size:22px;line-height:30px}.debt-section-heading p{color:var(--text-muted);margin:0;font-size:13px;line-height:20px}.debt-upcoming-list{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.debt-upcoming-card{gap:var(--space-sm);min-width:0;min-height:166px;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);color:var(--text);overflow-wrap:anywhere;text-decoration:none;display:grid}.debt-upcoming-card:hover,.debt-person:hover{border-color:var(--input-border)}.debt-upcoming-date,.debt-upcoming-kind{color:var(--text-muted);font-size:13px;line-height:20px}.debt-upcoming-amount{font-variant-numeric:tabular-nums;font-size:24px;font-weight:600;line-height:30px}.debt-upcoming-more{margin-top:var(--space-md)}.debt-upcoming-more summary{width:fit-content;min-height:44px;padding:var(--space-sm) 0;cursor:pointer;font-size:13px;font-weight:600}.debt-upcoming-more .debt-upcoming-list{margin-top:var(--space-sm)}.debt-upcoming-empty{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background-secondary);color:var(--text-muted);margin:0}.debt-section .field-hint{margin:var(--space-sm) 0 0}@media (width<=720px){.credit-form-grid{grid-template-columns:1fr;gap:0}.credit-period{flex-direction:column}}.debt-people-heading{align-items:flex-start}.debt-people-heading-copy{min-width:0}.debt-filter-disclosure{flex:none;margin-left:auto}.debt-filter-disclosure[open]{width:min(340px,100vw - 32px)}.debt-filter-disclosure>summary{justify-content:flex-end;align-items:center;gap:var(--space-xs);min-height:44px;padding:var(--space-xs) 0 var(--space-xs) var(--space-sm);cursor:pointer;color:var(--text-muted);white-space:nowrap;font-size:13px;font-weight:400;list-style:none;display:flex}.debt-filter-disclosure>summary::-webkit-details-marker{display:none}.debt-filter-disclosure>summary:after{content:"";width:8px;height:8px;margin-left:var(--space-xs);border-right:2px solid var(--text-muted);border-bottom:2px solid var(--text-muted);flex-shrink:0;transform:rotate(45deg)}.debt-filter-disclosure[open]>summary:after{transform:rotate(225deg)}.debt-filter-disclosure>summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:var(--radius-button)}.debt-filter-active{font-size:12px;font-weight:500}.debt-filter-content{width:100%;margin-top:var(--space-xs);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);box-shadow:var(--shadow-menu)}.debt-filters{gap:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:end;display:grid}.debt-filter-content .debt-filters{grid-template-columns:minmax(0,1fr)}.debt-filter-reset{width:auto;margin-top:var(--space-md)}.debt-people{gap:var(--space-md);margin-top:var(--space-md);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.debt-person{min-width:0;min-height:112px;padding:var(--space-md);color:var(--text);overflow-wrap:anywhere;margin:0;text-decoration:none;display:block}.debt-person--payable{background:var(--account-surface-pink)}.debt-person--receivable{background:var(--account-surface-green)}.debt-person h3{margin:0 0 var(--space-sm);font-size:17px;line-height:24px}.debt-person-position{gap:var(--space-xs);margin-top:var(--space-sm);display:grid}.debt-person-position>span{color:var(--text-muted);font-size:12px;line-height:18px}.debt-person-position>strong{font-variant-numeric:tabular-nums;font-size:22px;line-height:28px}.debt-person p{margin:var(--space-xs) 0;font-size:13px;line-height:20px}.debt-person-note{color:var(--text-muted)}.debt-actions{gap:var(--space-sm);margin-bottom:var(--space-lg);flex-wrap:wrap;display:flex}.debt-history{padding:0;list-style:none}.debt-history li{justify-content:space-between;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--border);flex-wrap:wrap;display:flex}.split-part{padding:var(--space-md);margin:var(--space-md) 0;border:1px solid var(--border);border-radius:var(--radius-card);min-width:0}.debt-kpi .money,.debt-upcoming-card .money,.debt-person .money,.debt-history .money,.split-part .money{white-space:normal;overflow-wrap:anywhere}@media (width<=1100px){.debt-kpis,.debt-people,.debt-upcoming-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.debt-kpis,.debt-people,.debt-upcoming-list,.debt-filters{grid-template-columns:minmax(0,1fr)}.debt-kpi{min-height:0}.operations-entry-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.operations-screen .tabs{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.operations-screen .tabs>.button{white-space:normal;overflow-wrap:anywhere}.account-card--actions .card-footer{flex-wrap:wrap}}@media (width<=360px){.operations-screen .tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}.reward-card .record-heading{align-items:center;gap:var(--space-3,12px);display:flex}.reward-card .record-heading h2{margin:0}.reward-card details{margin-top:var(--space-4,16px)}.reward-card summary{cursor:pointer;padding:var(--space-3,12px) 0}.reward-card .form-actions{flex-wrap:wrap}.reward-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.reward-summary h2{align-items:center;gap:8px;display:flex}.reward-summary .debt-total{overflow-wrap:anywhere;font-size:clamp(20px,2.5vw,32px)}.reward-summary small{font-size:14px}@media (width<=767px){.reward-summary{grid-template-columns:1fr}}.import-steps{color:var(--text-muted);flex-wrap:wrap;gap:16px;margin:24px 0;padding:0;list-style:none;display:flex}.import-steps [aria-current]{color:var(--text);font-weight:600}.import-drop{text-align:center;overflow-wrap:anywhere;border-style:dashed}.import-drop input{max-width:100%;padding:12px 0}.import-drop--active{outline:2px solid var(--primary)}.import-summary{margin-bottom:var(--space-lg);grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.import-summary .panel{margin-bottom:0}.import-summary strong{font-size:28px}.import-summary p{margin-top:0}.import-mapping{gap:var(--space-md);padding:var(--space-sm) 0;border-bottom:1px solid var(--border);grid-template-columns:minmax(180px,1fr) minmax(0,1.6fr);align-items:center;display:grid}.import-mapping-source{flex-wrap:wrap;align-items:baseline;gap:4px 12px;min-width:0;display:flex}.import-mapping-source strong{flex-basis:100%;font-size:14px}.import-mapping-state{color:var(--text-muted);font-size:12px}.import-mapping-state--changed{color:var(--error)}.import-mapping-target{align-items:end;gap:var(--space-sm);min-width:0;display:flex}.import-mapping-select{flex:1;min-width:0;max-width:500px}.import-mapping-select .field{margin:0}.import-mapping-actions{align-items:center;gap:var(--space-xs);flex-wrap:wrap;max-width:260px;display:flex}.import-mapping-actions .button{white-space:normal}.import-mapping-actions a{font-size:13px}.import-mapping strong,.import-raw dd{overflow-wrap:anywhere;white-space:pre-wrap}.import-mappings-head,.import-mappings-search{justify-content:space-between;align-items:center;gap:12px;display:flex}.import-mappings-head h2{margin:0 0 4px}.import-mappings-head p{margin:0;font-size:13px}.import-mappings-tools{flex-shrink:0;gap:4px;display:flex}.import-icon-control.button{justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:8px;display:inline-flex}.import-mappings-head [aria-expanded=true] svg{transform:rotate(180deg)}.import-mappings-search{flex-wrap:wrap;justify-content:flex-end;margin:-8px 0 12px}.import-mappings-search .field{width:min(360px,100%);margin:0}.import-mapping-examples{color:var(--text-muted);flex-basis:100%;font-size:12px}.import-mapping-examples summary{cursor:pointer;align-content:center;min-height:44px}.import-mapping-examples p{margin:4px 0}.import-mapping-pagination{justify-content:center;align-items:center;gap:12px;margin:12px 0;display:flex}.import-mappings-next{margin:16px 0 24px}.import-row{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:20px 0}.import-row-main{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.import-row-amount{margin-left:auto;font-weight:600}.import-row .form-actions{flex-wrap:wrap}@media (width<=767px){.import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.import-mapping{grid-template-columns:1fr;gap:4px}.import-mapping-target{flex-wrap:wrap}.import-mapping-select{flex-basis:100%;max-width:none}.import-row-amount{width:100%;margin-left:0}}.import-steps{gap:var(--space-xl);margin:var(--space-xl) 0;align-items:center}.import-steps li,.import-steps a{align-items:center;gap:10px;text-decoration:none;display:flex}.import-steps span{background:var(--accent);width:32px;height:32px;color:var(--text);border-radius:50%;place-items:center;display:grid}.import-steps [aria-current] span{background:var(--accent);color:var(--text);border-color:var(--primary);font-weight:700}.import-drop{background:var(--accent-surface);border:1px dashed var(--input-border);padding:48px 24px}.import-drop h2{margin:16px 0 8px}.import-drop .button{margin-top:20px}.import-file-icon{background:var(--accent);border-radius:14px;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid}.import-drop .import-file-icon{margin:auto}.import-period summary{cursor:pointer;align-content:center;min-height:44px;font-weight:600}.import-section-heading{margin-bottom:24px}.import-section-heading h2{margin:8px 0}.import-history-list{gap:16px;display:grid}.import-history-card{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);align-items:center;gap:24px;padding:24px;display:flex}.import-history-card:first-child{background:var(--accent-surface)}.import-review-summary{border-radius:var(--radius-card);background:var(--accent-surface);flex-wrap:wrap;gap:12px;margin:24px 0;padding:20px;display:flex}.import-review-summary span{align-items:baseline;gap:8px;min-width:130px;display:flex}.import-review-summary strong{font-variant-numeric:tabular-nums;font-size:24px}.import-review-layout{grid-template-columns:minmax(250px,.72fr) minmax(0,1.6fr);align-items:start;gap:24px;display:grid}.import-review-queue,.import-review-detail{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);min-width:0;padding:24px}.import-review-queue summary,.import-review summary{cursor:pointer;align-content:center;min-height:44px;font-weight:600}.import-review-queue details[open] summary,.import-review[open] summary{margin-bottom:16px}.import-review-comparison .field{margin-top:16px}.import-person-create{grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:8px;margin:12px 0;display:grid}.import-person-create .field{margin:0}.import-person-create .form-error{grid-column:1/-1}.import-person-actions{align-items:end;gap:8px;display:flex}.import-person-actions .button{white-space:nowrap}.import-review-success{border:1px solid var(--success);border-radius:var(--radius-button);background:var(--account-surface-green);color:var(--success);margin:16px 0;padding:12px 16px}.import-review-direction{line-height:1.6}.import-debt-direction{color:var(--text);font-weight:600}.import-split-choice{border-top:1px solid var(--border);padding:12px 0}.import-split-choice ul{margin:0 0 12px;padding-left:20px}.import-review-queue h2,.import-review-detail h2{margin-top:0}.import-review-queue-item{border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);width:100%;color:var(--text);text-align:left;cursor:pointer;font:inherit;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:8px;padding:14px 12px;display:flex}.import-review-queue-item:hover,.import-review-queue-item.is-selected{background:var(--accent-surface);border-color:var(--primary)}.import-review-queue-item:focus-visible{outline:2px solid var(--primary);outline-offset:2px;box-shadow:var(--focus-ring)}.import-review-queue-item small{color:var(--text-muted);line-height:1.4}.import-review-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0;display:grid}.import-review-comparison>div{background:var(--background-secondary);border:1px solid var(--border);border-radius:var(--radius-card);overflow-wrap:anywhere;min-width:0;padding:20px}.import-review-comparison>div:first-child{background:var(--accent-surface)}.import-review-comparison strong{font-variant-numeric:tabular-nums;margin-top:10px;display:block}.import-review-differences{border-left:3px solid var(--primary);background:var(--accent-surface);border-radius:var(--radius-button);padding:16px 20px}.import-review-differences p{margin:8px 0 0}.import-review-differences span{font-weight:600}.import-review-special{border:1px solid var(--border);border-radius:var(--radius-card);margin:24px 0;padding:20px}.import-pending-purchases{border:1px solid var(--border);border-radius:var(--radius-button);background:var(--accent-surface);margin:16px 0;padding:16px}.import-pending-purchases ul{margin:10px 0;padding:0;list-style:none}.import-pending-purchases li{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:10px 0;display:flex}.import-pending-purchases li a{white-space:nowrap}.import-pending-purchases .field-hint{margin-bottom:0}.import-review-final{border-top:1px solid var(--border);flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:24px;display:flex}.import-review-overwrite{border:1px solid var(--border);border-radius:var(--radius-button);margin:16px 0}.import-journal-list{gap:12px;margin:24px 0;display:grid}.import-journal-card{border:1px solid var(--border);border-radius:var(--radius-card);justify-content:space-between;gap:24px;min-width:0;padding:24px;display:flex}.import-journal-card h2{overflow-wrap:anywhere;margin:12px 0 4px}.import-journal-counts{flex-wrap:wrap;gap:8px 16px;font-size:13px;display:flex}.import-journal-counts strong{font-variant-numeric:tabular-nums}.import-journal-actions{flex-direction:column;flex-shrink:0;align-items:stretch;gap:8px;display:flex}@media (width<=900px){.import-review-layout{grid-template-columns:1fr}.import-review-queue{max-height:340px;overflow-y:auto}}@media (width<=600px){.import-review-comparison{grid-template-columns:1fr}.import-journal-card{flex-direction:column;padding:16px}.import-journal-actions{flex-flow:wrap}.import-review-queue,.import-review-detail{padding:16px}.import-person-create{grid-template-columns:1fr}.import-person-actions{flex-wrap:wrap}}.import-history-copy{flex:1;min-width:0}.import-history-copy h3{overflow-wrap:anywhere;margin:12px 0 8px}.import-history-period{font-weight:600}.import-status{border-radius:var(--radius-label);background:var(--background-secondary);color:var(--text);padding:6px 10px;font-size:12px;line-height:18px;display:inline-block}.import-status--review,.import-status--question,.import-status--changed,.import-status--applying{background:var(--accent)}.import-status--new,.import-status--preview,.import-status--completed,.import-status--applied{background:var(--account-surface-green)}.import-status--error{background:var(--error-surface);color:var(--error)}.import-status--rolled_back{background:var(--background-secondary);color:var(--text-muted)}.import-rollback-effects{border:1px solid var(--border);border-radius:var(--radius-card);margin:12px 0 20px;padding:0;list-style:none}.import-rollback-effects li{border-bottom:1px solid var(--border);justify-content:space-between;gap:20px;padding:10px 14px;display:flex}.import-rollback-effects li:last-child{border-bottom:0}.import-rollback-operations{max-height:240px;overflow:auto}.import-overview{background:var(--accent);border-radius:var(--radius-card);flex-wrap:wrap;gap:24px;margin:24px 0;padding:24px;display:flex}.import-progress{width:min(100%,440px);height:10px;margin-top:var(--space-md);appearance:none;background:var(--accent-surface);border:0;border-radius:999px;display:block;overflow:hidden}.import-progress::-webkit-progress-bar{background:var(--accent-surface);border-radius:999px}.import-progress::-webkit-progress-value{background:var(--primary);border-radius:999px}.import-progress::-moz-progress-bar{background:var(--primary);border-radius:999px}.import-filter-tabs{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.import-filter-tabs .button{font-size:13px}@media (width<=700px){.import-filter-tabs{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.import-filter-tabs .button{flex:none;width:auto}}.import-save-status{color:var(--success);min-height:24px}.import-rows{border:1px solid var(--border);border-radius:var(--radius-card);margin-top:24px;overflow:hidden}.import-row,.import-table-head{grid-template-columns:28px minmax(100px,1fr) minmax(140px,1.3fr) minmax(100px,.8fr) minmax(160px,1.2fr);align-items:start;gap:16px;padding:20px 16px;display:grid}.import-table-head{background:var(--background-secondary);color:var(--text-muted);font-size:12px;font-weight:600}.import-row:last-child{border-bottom:0}.import-row p{margin:6px 0;font-size:13px}.import-row-amount{width:auto;margin:0;font-size:14px}.import-row-actions{flex-wrap:wrap;gap:4px;display:flex}.import-row-actions .button{padding:8px;font-size:12px}.import-row .checkbox-row{min-height:44px}@media (width<=1100px){.import-row,.import-table-head{grid-template-columns:24px minmax(90px,1fr) minmax(110px,1fr) minmax(80px,.8fr) minmax(125px,1fr);gap:10px}}@media (width<=700px){.import-table-head{display:none}.import-row{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr)}.import-row>div:last-child,.import-row-amount{grid-column:2/-1}.import-history-card{flex-wrap:wrap;gap:16px;padding:20px}.import-history-card>.button{width:100%}.import-history-copy{flex-basis:calc(100% - 68px)}.import-drop{padding:32px 16px}}.operations-screen .operation-kind-tabs{border-bottom:1px solid var(--border);flex-wrap:nowrap;gap:0;margin:16px 0;display:flex;overflow-x:auto}.operations-screen .operation-kind-tabs>.button{width:auto;min-height:44px;color:var(--text-muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 14px;font-weight:500}.operations-screen .operation-kind-tabs>.button:hover{background:var(--background-secondary);color:var(--text)}.operations-screen .operation-kind-tabs>.button[aria-pressed=true]{color:var(--text);border-bottom-color:var(--primary);font-weight:600}.operation-filter-panel{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);padding:16px}.operation-period{flex-wrap:wrap;gap:8px;display:flex}.operation-period .button{border:1px solid var(--border);width:auto;min-height:44px;padding:10px 12px;font-weight:500}.operation-period .button[aria-pressed=true]{background:var(--accent-surface);border-color:var(--accent);color:var(--text);font-weight:600}.operations-screen .operation-filters{grid-template-columns:minmax(220px,2fr) minmax(190px,1.7fr) minmax(130px,1fr) minmax(130px,1fr);margin:16px 0 0}.operations-screen .operation-filters>*{min-width:0}.operation-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 8px;display:grid}.operation-kpi-context{color:var(--text-muted);margin:0 0 24px;font-size:12px;line-height:18px}.operation-kpi{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background-secondary);flex-direction:column;gap:4px;min-width:0;min-height:108px;padding:16px;display:flex}.operation-kpi--income{background:var(--account-surface-green)}.operation-kpi--expense{background:var(--accent-surface)}.operation-kpi--other{background:var(--account-surface-gray);border-color:var(--account-surface-gray);color:var(--account-text-on-gray)}.operation-kpi>span{font-size:13px;font-weight:500}.operation-kpi strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:24px;font-weight:600;line-height:32px}.operation-kpi small{color:var(--text-muted);font-size:12px;line-height:18px}.operation-kpi--other small{color:var(--account-muted-on-gray)}.operation-kpi-review{text-align:left;align-self:flex-start;min-height:44px;margin-top:auto;padding:8px 0;font-size:12px}.operation-rub-filter{align-items:center;gap:var(--space-sm);margin:-8px 0 var(--space-md);color:var(--text-muted);flex-wrap:wrap;font-size:13px;display:flex}.operation-rub-filter .button{min-height:44px;color:var(--text);padding:8px 10px}.operations-table-wrap{border:1px solid var(--border);border-radius:var(--radius-card);max-width:100%;overflow:hidden}.operations-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:14px;line-height:20px}.operations-table th{background:var(--background-secondary);color:var(--text-muted);text-align:left;padding:12px 16px;font-size:13px;font-weight:500}.operations-table th:first-child{width:14%}.operations-table th:nth-child(2){width:37%}.operations-table th:nth-child(3){width:23%}.operations-table th:nth-child(4){text-align:right;width:16%}.operations-table th:nth-child(5){text-align:center;width:10%}.operations-table td{border-top:1px solid var(--border);vertical-align:middle;overflow-wrap:anywhere;padding:12px 16px}.operations-table tbody tr{cursor:pointer}.operations-table tbody tr:hover{background:var(--background-secondary)}.operations-table tbody tr:focus-within{outline:2px solid var(--primary);outline-offset:-2px}.operations-table tbody tr.operation-table-row--saved{background:var(--success-surface)}.operations-table tbody tr.operation-table-row--cancelled{color:var(--text-muted)}.operation-table-operation{align-items:center;gap:10px;min-width:0;display:flex}.operation-table-operation .record-icon{border-radius:var(--radius-button);flex:0 0 36px;width:36px;height:36px}.operation-table-operation>div{flex:1;min-width:0}.operation-table-link{box-sizing:border-box;min-height:44px;color:var(--text);white-space:nowrap;text-overflow:ellipsis;padding:12px 0;font-weight:600;text-decoration:none;display:block;overflow:hidden}.operation-table-link:hover{text-decoration:underline}.operation-table-link:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:var(--radius-label)}.operation-table-main{font-weight:500;display:block}.operations-table td small{color:var(--text-muted);margin-top:4px;font-size:12px;line-height:18px;display:block}.operations-table td.operation-table-amount{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.operations-table td.operation-table-amount small{text-align:right}.operations-table td.operation-table-source{text-align:center}.operations-table .operation-source{vertical-align:middle}@media (width<=1100px){.operations-screen .operation-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.operation-kpis{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.operations-table-wrap{border:0;overflow:visible}.operations-table,.operations-table tbody{display:block}.operations-table thead{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.operations-table tr{border:1px solid var(--border);border-radius:var(--radius-card);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 12px;margin-bottom:8px;padding:12px;display:grid}.operations-table td{border:0;min-width:0;padding:4px;display:block}.operations-table td:before{content:attr(data-label);color:var(--text-muted);margin-bottom:3px;font-size:12px;font-weight:400;display:block}.operations-table td:first-child{order:1}.operations-table td:nth-child(2){order:3;grid-column:1/-1}.operations-table td:nth-child(3){order:4}.operations-table td:nth-child(4){order:2}.operations-table td:nth-child(5){order:5;justify-self:end}.operations-table td.operation-table-source:before{display:none}.operation-table-link{white-space:normal;overflow-wrap:anywhere;overflow:visible}}@media (width<=600px){.operations-screen .operation-filters{grid-template-columns:minmax(0,1fr)}.operation-period .button{flex:135px}.operation-kpis{grid-template-columns:minmax(0,1fr);gap:8px}.operation-kpi{min-height:0}}.classification-layout{gap:var(--space-lg);grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);align-items:start;display:grid}.classification-layout .panel,.classification-cleanup{margin-block:var(--space-lg)}.classification-editor .form-grid{align-items:start}.classification-editor h3{margin-top:var(--space-lg)}.classification-rule-choice{margin:var(--space-lg) 0;border:0;padding:0}.classification-rule-choice legend{margin-bottom:var(--space-sm);font-weight:600}.classification-tag-list{gap:var(--space-sm) var(--space-lg);flex-wrap:wrap;display:flex}.classification-switches{gap:var(--space-sm) var(--space-lg);margin-block:var(--space-lg);flex-wrap:wrap;display:flex}.classification-list ul,.classification-preview ul{margin:var(--space-md) 0;padding:0;list-style:none}.classification-list li{justify-content:space-between;align-items:center;gap:var(--space-md);border-top:1px solid var(--border);padding:var(--space-md) 0;display:flex}.classification-list li>div:first-child{gap:var(--space-xs);display:grid}.classification-list-actions{gap:var(--space-sm);flex-wrap:wrap;display:flex}.classification-preview,.classification-progress{background:var(--accent-surface);border-radius:var(--radius-card);padding:var(--space-md);margin-block:var(--space-md)}.classification-preview li{justify-content:space-between;gap:var(--space-md);padding:var(--space-sm) 0;border-top:1px solid var(--border);display:flex}.classification-progress{background:var(--success-surface)}@media (width<=900px){.classification-layout{grid-template-columns:1fr}}.reconcile-panel{max-width:960px}.reconcile-summary{align-items:center;gap:var(--space-md);max-width:900px;padding:var(--space-md) 0;border-bottom:1px solid var(--border);grid-template-columns:minmax(120px,1fr) minmax(150px,1fr) auto auto;display:grid}.reconcile-summary-date,.reconcile-summary-amount{gap:var(--space-xs);flex-direction:column;min-width:0;display:flex}.reconcile-summary-date strong,.reconcile-summary-amount strong{font-size:16px;line-height:24px}.reconcile-status{border-radius:var(--radius-button);background:var(--background-secondary);min-height:32px;color:var(--text-muted);white-space:nowrap;align-items:center;padding:4px 10px;font-size:13px;font-weight:600;display:inline-flex}.reconcile-status--confirmed{background:var(--success-surface);color:var(--success)}.reconcile-status--review{background:var(--error-surface);color:var(--error)}.reconcile-history{max-width:900px;margin-top:var(--space-sm)}.reconcile-detail{margin-top:var(--space-lg);padding-top:var(--space-md);border-top:1px solid var(--border)}@media (width<=650px){.reconcile-summary{gap:var(--space-sm);grid-template-columns:minmax(0,1fr) auto}.reconcile-status{grid-column:1}.reconcile-summary .button{grid-area:1/2/span 2}}.reconcile-adjustment{margin-top:var(--space-lg);padding-top:var(--space-md);border-top:1px solid var(--border)}.reconcile-adjustment .field{margin-bottom:var(--space-md)}.reconcile-adjustment textarea{resize:vertical;width:100%;min-height:96px}.placement-summary{gap:var(--space-md);margin:var(--space-lg) 0;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.placement-summary-card{background:var(--background);flex-direction:column;min-width:0;min-height:176px;margin:0;display:flex}.placement-summary-card--total{background:var(--accent-surface)}.placement-summary-card p{margin:0}.placement-summary-label{font-size:13px;font-weight:600;line-height:20px}.placement-summary-values{gap:4px;margin:12px 0 8px;display:grid}.placement-summary-value strong,.placement-summary-card--placeholder strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:26px;font-weight:600;line-height:34px;display:block}.placement-summary-value small{color:var(--text-muted);font-size:12px;line-height:18px;display:block}.placement-summary-card--placeholder strong{color:var(--text-muted);margin:12px 0 8px;font-size:18px;line-height:26px}.placement-summary-card>.field-hint{margin-top:auto}.placement-info{margin:0 0 var(--space-lg);background:var(--background-secondary);color:var(--text)}.placement-toolbar{justify-content:space-between;align-items:flex-start;gap:var(--space-md);margin:var(--space-lg) 0;border-bottom:1px solid var(--border);display:flex}.placement-kind-tabs{flex:1;gap:0;min-width:0;display:flex;overflow-x:auto}.placement-kind-tabs>.button{width:auto;min-height:44px;color:var(--text-muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 14px;font-weight:500}.placement-kind-tabs>.button:hover{background:var(--background-secondary);color:var(--text)}.placement-kind-tabs>.button[aria-pressed=true]{color:var(--text);border-bottom-color:var(--primary);font-weight:600}.placement-count{opacity:.8;margin-left:4px;font-size:12px}.placement-filter-disclosure{flex:none;margin-left:auto}.placement-filter-disclosure[open]{width:min(340px,100vw - 32px)}.placement-filter-disclosure>summary{justify-content:flex-end;align-items:center;gap:var(--space-xs);min-height:44px;padding:var(--space-xs) 0 var(--space-xs) var(--space-sm);cursor:pointer;color:var(--text-muted);white-space:nowrap;font-size:13px;list-style:none;display:flex}.placement-filter-disclosure>summary::-webkit-details-marker{display:none}.placement-filter-disclosure>summary:after{content:"";width:8px;height:8px;margin-left:var(--space-xs);border-right:2px solid var(--text-muted);border-bottom:2px solid var(--text-muted);flex-shrink:0;transform:rotate(45deg)}.placement-filter-disclosure[open]>summary:after{transform:rotate(225deg)}.placement-filter-disclosure>summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:var(--radius-button)}.placement-filter-active{font-size:12px;font-weight:500}.placement-filter-content{gap:var(--space-md);width:100%;margin-top:var(--space-xs);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);box-shadow:var(--shadow-menu);display:grid}.placement-filter-content .button{justify-self:start}.placement-list{align-items:start;gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.placement-card{min-width:0;padding:var(--space-md);background:var(--account-surface,var(--background));flex-direction:column;margin:0;display:flex}.placement-card-head{justify-content:space-between;align-items:start;gap:var(--space-md);display:flex}.placement-card-head>div:first-child{min-width:0}.placement-eyebrow{margin:0 0 var(--space-xs);color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:600}.placement-card h2{overflow-wrap:anywhere;margin:0;font-size:18px;line-height:24px}.placement-card h2 a{color:var(--text);text-decoration:none}.placement-card.account-tone-gray h2 a{color:var(--account-text-on-gray)}.placement-card h2 a:hover{text-decoration:underline}.placement-card h2 a:focus-visible{outline:2px solid var(--primary);outline-offset:4px;border-radius:4px}.placement-amount{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:22px;font-weight:600;line-height:28px}.placement-amount small{color:var(--text-muted);font-size:12px;font-weight:400;line-height:18px;display:block}.placement-details{gap:var(--space-sm);margin:var(--space-md) 0 var(--space-sm);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.placement-details>div{min-width:0}.placement-details span{margin-bottom:var(--space-xs);color:var(--text-muted);font-size:13px;display:block}.placement-details strong{overflow-wrap:anywhere;font-size:14px;line-height:20px;display:block}.placement-warning,.placement-success{padding:var(--space-sm) var(--space-md);border-radius:var(--radius-button);font-size:14px;line-height:20px}.placement-warning{background:var(--account-surface-yellow);color:var(--text)}.placement-success{background:var(--success-surface);color:var(--success)}.placement-card-footer{justify-content:flex-end;align-items:center;gap:var(--space-sm);margin-top:auto;display:flex}.placement-card-footer>.field-hint{margin:0 auto 0 0}.placement-card-actions{align-items:center;gap:var(--space-xs);flex-shrink:0;display:flex}.placement-card-actions .operation-tooltip{left:auto;right:0}.placement-term-history{margin:var(--space-md) 0}.placement-term-row{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-sm) 0;border-bottom:1px solid var(--border);display:flex}.placement-term-row p{margin:2px 0 0}.placement-terms form,.placement-valuation form{margin-top:var(--space-lg)}.placement-terms .checkbox-row{margin:var(--space-md) 0}@media (width<=1000px){.placement-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1100px){.placement-list{grid-template-columns:minmax(0,1fr)}}@media (width<=700px){.placement-summary{grid-template-columns:minmax(0,1fr)}.placement-summary-card{min-height:150px}.placement-toolbar{flex-wrap:wrap;gap:0}.placement-kind-tabs{flex-basis:100%;order:1}.placement-filter-disclosure{order:2}.placement-filter-disclosure[open]{width:100%}.placement-card-head{display:block}.placement-amount{text-align:left;margin-top:var(--space-sm)}.placement-details{grid-template-columns:minmax(0,1fr);gap:0}.placement-details>div{justify-content:space-between;gap:var(--space-sm);border-top:1px solid var(--border);padding:6px 0;display:flex}.placement-details span{margin-bottom:0}.placement-details strong{text-align:right}.placement-card-footer{display:flex}.placement-card-footer .field-hint{margin:0 auto 0 0}}.deposit-forecast-intro{justify-content:space-between;gap:var(--space-lg);margin-top:var(--space-lg);align-items:end;display:flex}.deposit-forecast-intro h2{margin:0 0 var(--space-xs);font-size:18px}.deposit-forecast-intro strong{font-variant-numeric:tabular-nums;font-size:28px}.deposit-forecast-intro>.field-hint{max-width:420px}.deposit-forecast-summary{gap:var(--space-md);margin:var(--space-lg) 0;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.deposit-forecast-summary .panel{align-content:space-between;gap:var(--space-md);min-width:0;margin:0;display:grid}.deposit-forecast-summary span{color:var(--text-muted);font-size:13px}.deposit-forecast-summary strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:23px;font-weight:600}.deposit-forecast-summary .panel:first-child{background:var(--accent-surface)}.deposit-missing{margin:var(--space-md) 0;padding-left:var(--space-lg)}.deposit-missing li{margin:var(--space-xs) 0}.deposit-table-scroll{width:100%;overflow-x:auto}.deposit-forecast-table{border-collapse:collapse;width:100%;min-width:760px;font-size:14px}.deposit-forecast-table th,.deposit-forecast-table td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;padding:12px 16px}.deposit-forecast-table th{color:var(--text-muted);font-size:12px;font-weight:600}.deposit-forecast-table td:nth-child(n+4){font-variant-numeric:tabular-nums}.deposit-topups,.deposit-facts{margin:var(--space-md) 0 0;padding:0;list-style:none}.deposit-topups li,.deposit-facts li{justify-content:space-between;align-items:center;gap:var(--space-sm);padding:var(--space-sm) 0;border-bottom:1px solid var(--border);display:flex}.deposit-facts li>span:last-child{align-items:center;gap:var(--space-xs);display:flex}.deposit-fact-action{align-self:end}.deposit-decision-block{margin:var(--space-lg) 0;padding-top:var(--space-md);border-top:1px solid var(--border)}.deposit-decision-block h3{margin:0 0 var(--space-md);font-size:17px}@media (width<=800px){.deposit-forecast-summary{grid-template-columns:1fr}.deposit-forecast-intro{display:block}.deposit-forecast-intro>.field-hint{max-width:none;margin-top:var(--space-md)}.deposit-facts li{display:block}.deposit-facts li>span:last-child{margin-top:var(--space-xs)}}.placement-advanced{margin:var(--space-lg) 0;padding-top:var(--space-md);border-top:1px solid var(--border)}.placement-advanced>summary{cursor:pointer;min-height:44px;color:var(--text-muted);align-items:center;font-size:14px;font-weight:600;display:flex}.placement-advanced>summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:var(--radius-button)}.placement-advanced[open]>summary{color:var(--text)}.placement-advanced .form-grid{margin-top:var(--space-md)}.placement-terms-heading{justify-content:space-between;align-items:flex-start;gap:var(--space-md);display:flex}.placement-terms-heading h2{margin:0}.placement-terms-heading .section-note{margin:var(--space-xs) 0 var(--space-md)}.placement-terms-actions{flex-shrink:0;align-items:center;gap:2px;display:flex}.placement-terms-actions .placement-terms-icon{width:44px;min-width:44px;height:44px;min-height:44px;box-shadow:none;border:0;padding:0}.placement-terms-actions .placement-terms-icon:hover{transform:none}.placement-term-summary{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.placement-term-summary>div{gap:var(--space-xs);min-width:0;padding:var(--space-sm) 0;border-top:1px solid var(--border);display:grid}.placement-term-summary span{color:var(--text-muted);font-size:13px}.placement-term-summary strong{overflow-wrap:anywhere;font-size:15px;line-height:1.45}.placement-other-versions{margin-bottom:0}.placement-terms--compact .placement-terms-heading{align-items:center}.placement-terms--compact .placement-terms-heading h2{font-size:18px;line-height:24px}.placement-terms--compact .placement-term-summary{margin-top:var(--space-sm);grid-template-columns:1fr;gap:0}.placement-terms--compact .placement-term-summary>div{justify-content:space-between;align-items:baseline;gap:var(--space-md);padding:9px 0;display:flex}.placement-terms--compact .placement-term-summary strong{text-align:right;max-width:65%}.placement-terms--compact .placement-other-versions{margin-top:var(--space-sm)}@media (width<=700px){.placement-terms-heading{display:flex}.placement-term-summary{grid-template-columns:1fr}}.savings-horizon{align-items:center;gap:var(--space-xs);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}.savings-horizon>span{color:var(--text-muted);margin-right:var(--space-sm);font-size:14px}.savings-horizon .button[aria-pressed=true]{color:var(--text);box-shadow:inset 0 -2px var(--text)}.savings-forecast-layout{gap:var(--space-lg);margin:var(--space-lg) 0;grid-template-columns:minmax(280px,.95fr) minmax(0,1.3fr);align-items:start;display:grid}.savings-forecast-layout>.panel,.savings-forecast-result>.panel{margin:0}.savings-forecast-result{gap:var(--space-md);min-width:0;display:grid}.savings-forecast-result .panel{min-width:0;margin:0}.savings-current{gap:var(--space-xs);padding:var(--space-md);margin:var(--space-md) 0;background:var(--background-secondary);border-radius:var(--radius-card);display:grid}.savings-current span,.savings-forecast-mini span{color:var(--text-muted);font-size:13px}.savings-current strong{font-variant-numeric:tabular-nums;font-size:24px}.savings-forecast-conditions .record-details{margin:var(--space-md) 0}.savings-estimate{background:var(--accent-surface)}.savings-estimate>strong{margin:var(--space-lg) 0 var(--space-md);font-variant-numeric:tabular-nums;font-size:clamp(28px,3.5vw,40px);line-height:1.15;display:block}.savings-estimate p:last-child{margin-bottom:0}.savings-forecast-mini{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.savings-forecast-mini .panel{gap:var(--space-md);display:grid}.savings-forecast-mini strong{overflow-wrap:anywhere;font-size:18px;line-height:1.35}.savings-facts{margin:var(--space-lg) 0}.savings-facts .placement-advanced{max-width:700px}@media (width<=900px){.savings-forecast-layout,.savings-forecast-mini{grid-template-columns:1fr}}.subscription-summary{gap:var(--space-md);margin:var(--space-lg) 0;grid-template-columns:1.3fr 1fr .85fr;display:grid}.subscription-summary-card{gap:var(--space-sm);flex-direction:column;min-width:0;margin:0;display:flex}.subscription-summary-card--primary,.subscription-hero,.subscription-form-aside{background:var(--accent-surface)}.subscription-eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);font-size:12px;font-weight:700}.subscription-summary-card>strong,.subscription-total-list strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(22px,2.6vw,32px);line-height:1.2;display:block}.subscription-summary-card p,.subscription-summary-card small{color:var(--text-muted);margin:0}.subscription-total-list{gap:var(--space-sm) var(--space-md);flex-wrap:wrap;display:flex}.subscription-filters{margin:0 0 var(--space-lg)}.subscription-tabs,.subscription-mode{gap:var(--space-xs);margin-bottom:var(--space-md);flex-wrap:wrap;display:flex}.subscription-tabs .button[aria-pressed=true],.subscription-mode .button[aria-pressed=true]{background:var(--background-secondary);font-weight:650}.subscription-tabs .button span{color:var(--text-muted);font-size:12px}.subscription-filter-grid{gap:var(--space-md);grid-template-columns:minmax(230px,1fr) minmax(145px,190px) minmax(145px,190px);display:grid}.subscription-list-heading,.subscription-section-title{justify-content:space-between;align-items:baseline;gap:var(--space-md);margin:var(--space-lg) 0 var(--space-md);display:flex}.subscription-list-heading h2,.subscription-section-title h2{margin:0}.subscription-list-heading small,.subscription-list-heading>span,.subscription-section-title p{color:var(--text-muted);font-size:13px;font-weight:400}.subscription-list{padding:0;overflow:hidden}.subscription-row{gap:var(--space-lg);padding:var(--space-lg);border-bottom:1px solid var(--border);grid-template-columns:minmax(200px,1.5fr) minmax(135px,1fr) minmax(115px,.8fr) minmax(115px,.7fr);align-items:center;display:grid}.subscription-row:last-child{border-bottom:0}.subscription-row-main{align-items:flex-start;gap:var(--space-md);min-width:0;display:flex}.subscription-avatar{background:var(--background-secondary);border:1px solid var(--border);border-radius:10px;flex:none;place-items:center;width:40px;height:40px;font-weight:700;display:grid}.subscription-row h3{margin:0 0 4px;font-size:16px}.subscription-row h3 a{align-items:center;gap:4px;display:inline-flex}.subscription-row p{color:var(--text-muted);margin:0 0 8px;font-size:13px}.subscription-row-detail{gap:5px;min-width:0;display:grid}.subscription-row-detail strong{overflow-wrap:anywhere;font-size:15px}.subscription-row-detail small{color:var(--text-muted);font-size:12px}.subscription-row-detail a{font-size:13px;font-weight:600}.subscription-status{border:1px solid var(--border);border-radius:var(--radius-label);align-items:center;width:max-content;padding:3px 8px;font-size:12px;font-weight:600;display:inline-flex}.subscription-status--wants_cancel{background:var(--accent-surface);border-color:var(--accent)}.subscription-status--cancelled{color:var(--text-muted);background:var(--background-secondary)}.subscription-note{margin:var(--space-lg) 0}.subscription-detail-head{gap:var(--space-lg);margin:var(--space-lg) 0;grid-template-columns:1.2fr 1fr;display:grid}.subscription-detail-head>.panel{margin:0}.subscription-hero{align-items:flex-start;gap:var(--space-md);flex-direction:column;display:flex}.subscription-hero-amount{font-variant-numeric:tabular-nums;font-size:clamp(30px,4vw,44px);font-weight:700}.subscription-hero-amount small{color:var(--text-muted);font-size:16px;font-weight:400}.subscription-hero>strong{font-size:16px}.subscription-terms h2{margin-top:0}.subscription-terms dl{gap:0;display:grid}.subscription-terms dl>div{justify-content:space-between;gap:var(--space-md);border-bottom:1px solid var(--border);padding:9px 0;display:flex}.subscription-terms dt{color:var(--text-muted)}.subscription-terms dd{text-align:right;margin:0;font-weight:600}.subscription-warning{padding:var(--space-md);border:1px solid var(--accent);border-radius:var(--radius-card);background:var(--accent-surface);color:var(--text)}.subscription-payment-section{margin:var(--space-xl) 0}.subscription-payment-list{padding:0;overflow:hidden}.subscription-payment-row{padding:var(--space-md) var(--space-lg);border-bottom:1px solid var(--border)}.subscription-payment-row:last-child{border-bottom:0}.subscription-payment-main{align-items:center;gap:var(--space-md);grid-template-columns:minmax(180px,.8fr) minmax(200px,.8fr) minmax(0,1.4fr);display:grid}.subscription-payment-primary,.subscription-payment-period{gap:var(--space-xs);min-width:0;display:grid}.subscription-payment-primary strong{font-variant-numeric:tabular-nums;font-size:19px}.subscription-payment-primary>span:not(.subscription-status),.subscription-payment-period{color:var(--text-muted);font-size:13px}.subscription-payment-primary>span,.subscription-payment-period>span{overflow-wrap:anywhere}.subscription-payment-period small{font-size:12px}.subscription-payment-links{justify-content:flex-end;align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.subscription-payment-links .button{white-space:nowrap}.subscription-payment-links a{white-space:nowrap;align-items:center;min-height:44px;display:inline-flex}.subscription-payment-details{margin-top:var(--space-sm);border-top:1px solid var(--border)}.subscription-payment-details summary{min-height:44px;padding:var(--space-sm) 0;cursor:pointer;color:var(--primary);align-content:center;font-size:13px;font-weight:600}.subscription-payment-details summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:var(--radius-label)}.subscription-payment-details[open]{padding-bottom:var(--space-sm)}.subscription-refunds h3{font-size:15px}.subscription-refunds p{color:var(--text-muted);font-size:13px}.subscription-month-grid{gap:var(--space-sm);margin:var(--space-sm) 0;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.subscription-month{min-width:0;padding:var(--space-md);border:1px solid var(--border);border-radius:10px;gap:4px;display:grid}.subscription-month small{color:var(--text-muted);font-size:12px}.subscription-month strong{font-variant-numeric:tabular-nums;font-size:15px}.subscription-cancel{justify-content:space-between;align-items:center;gap:var(--space-lg);margin:var(--space-lg) 0;display:flex}.subscription-cancel h2{margin:0}.subscription-cancel p{color:var(--text-muted)}.subscription-cancel-actions{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.subscription-payment-form{gap:var(--space-md);display:grid}.subscription-payment-form .form-actions{margin-top:var(--space-sm)}.subscription-form-layout{gap:var(--space-lg);margin:var(--space-lg) 0;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);align-items:start;display:grid}.subscription-form-layout>.panel{margin:0}.subscription-form-aside{gap:var(--space-md);display:grid}.subscription-form-aside h2,.subscription-form-aside p{margin:0}.subscription-form{max-width:none}.subscription-form-layout{grid-template-columns:minmax(0,1fr) minmax(260px,320px)}.subscription-form .panel{min-width:0}.subscription-payment-actions,.subscription-search-actions,.subscription-search-pagination{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.subscription-search{gap:var(--space-md);padding:var(--space-md);background:var(--background-secondary);border:1px solid var(--border);border-radius:var(--radius-card);display:grid}.subscription-search-grid{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.subscription-search-pagination{justify-content:space-between}.subscription-search-pagination p{color:var(--text-muted);margin:0}.subscription-payment-actions{margin-top:var(--space-md)}@media (width<=950px){.subscription-form-layout{grid-template-columns:1fr}}@media (width<=1250px){.subscription-payment-main{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-payment-links{grid-column:1/-1;justify-content:flex-start}}@media (width<=1050px){.subscription-row{grid-template-columns:minmax(180px,1.4fr) minmax(120px,1fr) minmax(105px,.7fr)}.subscription-row-detail:last-child{align-items:center;gap:var(--space-sm);grid-column:2/4;display:flex}.subscription-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-summary-card--primary{grid-column:1/-1}.subscription-month-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.subscription-summary,.subscription-detail-head,.subscription-form-layout,.subscription-filter-grid{grid-template-columns:1fr}.subscription-summary-card--primary{grid-column:auto}.subscription-row{gap:var(--space-md);padding:var(--space-md);grid-template-columns:1fr 1fr}.subscription-row-main{grid-column:1/-1}.subscription-row-detail:last-child{grid-column:auto;display:grid}.subscription-list-heading>span{display:none}.subscription-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-payment-main{grid-template-columns:1fr}.subscription-payment-links{grid-column:auto;justify-content:flex-start}.subscription-payment-row{padding:var(--space-md)}.subscription-cancel{flex-direction:column;align-items:flex-start}.subscription-search-grid{grid-template-columns:1fr}.subscription-payment-actions .button{width:100%}}@media (width<=420px){.subscription-month-grid{grid-template-columns:1fr 1fr}.subscription-row-detail strong{font-size:14px}.subscription-tabs .button{padding-inline:10px}}.plan-toolbar{justify-content:space-between;align-items:center;gap:var(--space-md);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}.plan-month-controls,.plan-view-switch{align-items:center;gap:var(--space-sm);display:flex}.plan-month-controls h2{text-align:center;text-transform:capitalize;min-width:190px;margin:0;font-size:19px}.plan-totals{gap:var(--space-md);margin:var(--space-lg) 0;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));display:grid}.plan-total{gap:var(--space-sm);margin:0;display:grid}.plan-total strong{font-size:19px}.plan-total span{color:var(--text-muted);font-size:14px}.plan-total span .money{color:var(--text)}.plan-attention,.plan-calendar-section,.plan-list-section{margin:var(--space-xl) 0}.plan-attention h2,.plan-calendar-section h2,.plan-list-section h2{font-size:20px}.plan-event-list,.plan-unknown-list{padding:0;overflow:hidden}.plan-event-row{align-items:center;gap:var(--space-md);min-height:74px;padding:var(--space-md) var(--space-lg);border-bottom:1px solid var(--border);color:var(--text);grid-template-columns:105px minmax(0,1fr) auto 105px 18px;text-decoration:none;display:grid}.plan-event-row:last-child{border-bottom:0}.plan-event-row:hover{background:var(--background-secondary)}.plan-event-row:focus-visible,.plan-chip:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}.plan-event-date{color:var(--text-muted);font-size:13px}.plan-event-copy{gap:4px;min-width:0;display:grid}.plan-event-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.plan-event-copy small{color:var(--text-muted)}.plan-event-money{white-space:nowrap;font-variant-numeric:tabular-nums}.plan-event-status{color:var(--text-muted);font-size:12px}.plan-calendar{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--border);grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.plan-weekday{padding:var(--space-sm);text-align:center;color:var(--text-muted);background:var(--background-secondary);font-size:12px;font-weight:700}.plan-day{background:var(--background);min-height:126px;padding:var(--space-sm);min-width:0}.plan-day--today{background:var(--accent-surface)}.plan-day-number{margin-bottom:var(--space-xs);font-size:13px;font-weight:700;display:block}.plan-chip{border-radius:var(--radius-label);background:var(--background-secondary);border-left:3px solid var(--primary);color:var(--text);gap:2px;min-width:0;margin-bottom:4px;padding:5px 7px;font-size:11px;line-height:1.3;text-decoration:none;display:grid}.plan-chip>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.plan-chip--income{border-left-color:var(--success);background:var(--success-surface)}.plan-chip--expense,.plan-chip--credit,.plan-chip--mortgage{border-left-color:var(--brand-pink);background:var(--accent-surface)}.plan-more{color:var(--text-muted);font-size:11px}.plan-unknown{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-md) var(--space-lg);border-bottom:1px solid var(--border);display:flex}.plan-unknown:last-child{border-bottom:0}.plan-unknown p{color:var(--text-muted);margin:4px 0 0;font-size:13px}.plan-unknown a{white-space:nowrap}.plan-form{max-width:850px;margin:var(--space-lg) 0;padding:var(--space-lg)}.plan-form h2{margin:0 0 var(--space-lg)}.plan-form-grid{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.plan-repeat{margin:var(--space-lg) 0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background-secondary)}.plan-repeat h3{margin:0 0 var(--space-md)}.plan-checkbox{align-items:center;gap:var(--space-sm);align-self:end;min-height:44px;display:flex}.plan-checkbox input{width:18px;height:18px;accent-color:var(--primary)}.plan-detail-summary{gap:var(--space-xl);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}.plan-detail-summary>div{gap:var(--space-xs);display:grid}.plan-detail-summary span{color:var(--text-muted);font-size:12px}.plan-detail-summary strong{font-size:18px}.plan-detail-summary p{width:100%;color:var(--text-muted);margin:0;font-size:13px}.plan-source-link{margin:var(--space-md) 0}.plan-cancel{justify-content:space-between;align-items:center;gap:var(--space-lg);max-width:850px;margin:var(--space-lg) 0;display:flex}.plan-cancel h2{margin:0 0 var(--space-xs);font-size:18px}.plan-cancel p{color:var(--text-muted);margin:0;font-size:13px}@media (width<=900px){.plan-event-row{grid-template-columns:85px minmax(0,1fr) auto 18px}.plan-event-status{grid-column:2}.plan-event-row>svg{grid-area:1/4}.plan-day{min-height:105px}.plan-chip{font-size:10px}}@media (width<=700px){.plan-toolbar{align-items:stretch}.plan-month-controls{justify-content:space-between;width:100%}.plan-view-switch{width:100%}.plan-view-switch .button{flex:1}.plan-calendar{grid-template-columns:repeat(7,minmax(90px,1fr));overflow-x:auto}.plan-day{min-height:100px}.plan-event-row{padding:var(--space-md);grid-template-columns:1fr auto 18px}.plan-event-date{grid-column:1/-1}.plan-event-status{grid-column:1}.plan-event-row>svg{grid-area:2/3}.plan-form-grid{grid-template-columns:1fr}.plan-unknown,.plan-cancel{flex-direction:column;align-items:flex-start}}.plan-toolbar{margin:var(--space-md) 0}.plan-month-controls{flex-wrap:wrap}.plan-month-controls .button{min-width:44px;min-height:44px;padding:8px 10px}.plan-month-controls h2{min-width:0;font-size:18px}.plan-view-switch{border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background-secondary);gap:2px;padding:3px}.plan-view-switch button,.plan-period-switch button,.plan-type-switch button{border-radius:var(--radius-label);min-height:44px;color:var(--text-muted);box-shadow:none;background:0 0;border:0;padding:8px 14px;font-size:13px}.plan-view-switch button:hover,.plan-period-switch button:hover,.plan-type-switch button:hover{background:var(--background);color:var(--text);box-shadow:none;transform:none}.plan-view-switch button[aria-pressed=true],.plan-period-switch button[aria-pressed=true],.plan-type-switch button[aria-pressed=true]{background:var(--background);color:var(--text);box-shadow:0 1px 3px #080f1614}.plan-totals{margin:var(--space-md) 0 var(--space-xs);grid-template-columns:repeat(2,minmax(0,1fr))}.plan-total{min-height:125px;padding:var(--space-lg)}.plan-total--income{background:var(--success-surface)}.plan-total--outgo{background:var(--accent-surface)}.plan-total>span{color:var(--text);font-size:14px;font-weight:600}.plan-total-values{gap:var(--space-xs) var(--space-lg);flex-wrap:wrap;display:flex}.plan-total-values strong{font-variant-numeric:tabular-nums;font-size:23px;line-height:1.25}.plan-total-values .money{color:var(--text)}.plan-total small,.plan-totals-note{color:var(--text-muted);font-size:12px;line-height:18px}.plan-totals-note{margin-bottom:var(--space-lg)}.plan-calendar-section{margin:var(--space-lg) 0 var(--space-xl)}.plan-calendar-section h2{margin-bottom:var(--space-md)}.plan-day{min-height:112px}.plan-day--outside{background:var(--background-secondary)}@supports (color:color-mix(in lab, red, red)){.plan-day--outside{background:color-mix(in srgb,var(--background-secondary) 30%,white)}}.plan-day--outside .plan-day-number{color:var(--text-muted)}@supports (color:color-mix(in lab, red, red)){.plan-day--outside .plan-day-number{color:color-mix(in srgb,var(--text-muted) 45%,white)}}.plan-day--selected{box-shadow:inset 0 0 0 2px var(--primary)}.plan-day-number{width:44px;min-height:44px;color:var(--text);box-shadow:none;background:0 0;border-radius:50%;place-items:center;margin:0 0 2px -8px;padding:0;font-size:13px;line-height:1;display:grid}.plan-day button.plan-day-number:hover{background:var(--background-secondary);box-shadow:none;transform:none}.plan-day--today .plan-day-number{background:var(--primary);color:#fff}.plan-day--outside .plan-day-number{margin-left:0}.plan-chip{margin-bottom:3px}.plan-calendar .plan-chip .money{font-weight:600}.plan-chip--fulfilled{border-left-color:var(--text-muted);background:var(--background-secondary)}.plan-chip--partial{border-left-color:var(--primary)}.plan-chip-status{color:var(--text-muted);font-size:10px;font-weight:600}.plan-list-section{margin:var(--space-xl) 0}.plan-list-head{justify-content:space-between;align-items:baseline;gap:var(--space-sm);margin-bottom:var(--space-sm);flex-wrap:wrap;display:flex}.plan-list-head span{color:var(--text-muted);font-size:13px}.plan-period-switch,.plan-type-switch{gap:var(--space-xs);flex-wrap:wrap;display:flex}.plan-period-switch{margin-bottom:var(--space-sm)}.plan-period-switch button[aria-pressed=true],.plan-type-switch button[aria-pressed=true]{background:var(--accent-surface)}.plan-period-switch .plan-clear-day{color:var(--text)}.plan-filter-disclosure{margin:0 0 var(--space-lg);padding:0 var(--space-md)}.plan-filter-disclosure summary{align-items:center;gap:var(--space-xs);font-size:13px;font-weight:600;list-style:none;display:flex}.plan-filter-disclosure summary::-webkit-details-marker{display:none}.plan-filter-disclosure summary svg{transition:transform var(--duration);margin-left:auto}.plan-filter-disclosure[open] summary svg{transform:rotate(180deg)}.plan-filter-content{gap:var(--space-md);padding:0 0 var(--space-md);grid-template-columns:minmax(180px,1fr) minmax(130px,190px) minmax(130px,190px);align-items:end;display:grid}.plan-type-switch{grid-column:1/-1}.plan-filter-content label{gap:var(--space-xs);font-size:12px;font-weight:600;display:grid}.plan-filter-content input,.plan-filter-content select{border:1px solid var(--input-border);border-radius:var(--radius-button);background:var(--background);width:100%;height:44px;color:var(--text);font:inherit;padding:8px 10px;font-size:13px}.plan-filter-content .button{justify-self:start}.plan-event-list{border-radius:var(--radius-card)}.plan-event-group h3{padding:8px var(--space-md);background:var(--background-secondary);text-transform:capitalize;font-size:12px;font-weight:700;line-height:20px}.plan-event-row{gap:var(--space-md);min-height:58px;padding:8px var(--space-md);grid-template-columns:minmax(0,1fr) auto auto 18px}.plan-event-copy{gap:1px}.plan-event-copy strong{font-size:14px}.plan-event-copy small,.plan-event-status{font-size:12px}.plan-event-money{font-size:14px}.plan-event-row>svg{grid-area:auto}.plan-attention{margin:var(--space-lg) 0}.plan-attention--collapsed{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);padding:0 var(--space-md)}.plan-attention--collapsed summary{font-size:14px;font-weight:600}.plan-attention--collapsed>p{padding-bottom:var(--space-md);color:var(--text-muted);font-size:13px}.plan-attention--collapsed .plan-event-list{margin-bottom:var(--space-md)}@media (width<=900px){.plan-event-row{grid-template-columns:minmax(0,1fr) auto auto 18px}.plan-event-status{grid-column:auto}}@media (width<=700px){.plan-view-switch{align-self:flex-start;width:auto}.plan-view-switch button{width:auto}.plan-totals{grid-template-columns:1fr 1fr}.plan-calendar{grid-template-columns:repeat(7,minmax(90px,1fr))}.plan-filter-content{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-filter-content label:first-of-type{grid-column:1/-1}.plan-event-row{grid-template-columns:minmax(0,1fr) auto 18px}.plan-event-status{grid-area:2/1}.plan-event-money{grid-area:1/2/3}.plan-event-row>svg{grid-area:1/3/3}.plan-period-switch button,.plan-type-switch button{width:auto}}@media (width<=420px){.plan-totals,.plan-filter-content{grid-template-columns:1fr}.plan-filter-content label:first-of-type{grid-column:1}.plan-month-controls h2{font-size:16px}.plan-month-controls .button{width:auto}.plan-event-row{gap:var(--space-xs)}.plan-event-copy strong{white-space:normal}}.plan-month-controls h2,.plan-event-group h3{text-transform:none}.plan-month-controls{flex-wrap:nowrap;align-items:center}.plan-month-controls h2{white-space:nowrap;line-height:24px}.plan-toolbar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.plan-month-controls{grid-column:2;justify-content:center;width:auto}.plan-view-switch{grid-column:3;justify-self:end}@media (width<=700px){.plan-toolbar{grid-template-columns:minmax(0,1fr)}.plan-month-controls,.plan-view-switch{grid-column:1;justify-self:center;width:auto}}.plan-calendar-head,.plan-list-head-actions{justify-content:space-between;align-items:center;gap:var(--space-md);display:flex}.plan-calendar-head{margin-bottom:var(--space-md)}.plan-calendar-head h2{margin:0}.plan-list-head-actions{justify-content:flex-end}.plan-filter-disclosure{background:0 0;border:0;flex:none;width:max-content;margin:0;padding:0;position:relative}.plan-filter-disclosure summary{justify-content:center;align-items:center;gap:var(--space-xs);border-radius:var(--radius-label);min-height:44px;color:var(--text-muted);white-space:nowrap;padding:8px 10px;font-weight:500;display:inline-flex}.plan-filter-disclosure summary:hover{background:var(--background-secondary);color:var(--text)}.plan-filter-disclosure summary svg{flex:none;margin-left:0}.plan-filter-disclosure:not([open]) .plan-filter-content{display:none}.plan-filter-content{z-index:20;width:min(460px,100vw - 32px);max-height:min(70vh,560px);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);grid-template-columns:repeat(2,minmax(0,1fr));position:absolute;top:calc(100% + 4px);right:0;overflow:auto;box-shadow:0 8px 24px #080f161f}.plan-filter-content label:first-of-type{grid-column:1/-1}@media (width<=420px){.plan-filter-content{grid-template-columns:1fr}.plan-filter-content label:first-of-type{grid-column:1}.plan-month-controls{gap:2px}}.plan-match-summary{gap:var(--space-md);margin:var(--space-lg) 0;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.plan-match-summary .panel{gap:var(--space-sm);background:var(--accent-surface);flex-direction:column;display:flex}.plan-match-summary .panel:nth-child(2){background:var(--success-surface)}.plan-match-summary h2,.plan-match-result h2,.plan-match-search h2{margin:0}.plan-match-summary strong{color:var(--text);font-size:1.55rem}.plan-match-summary small,.plan-match-summary p{color:var(--text-muted);margin:0}.plan-match-grid{align-items:start;gap:var(--space-lg);margin:var(--space-lg) 0;grid-template-columns:minmax(0,1.5fr) minmax(320px,.85fr);display:grid}.plan-match-search,.plan-match-result{min-width:0}.plan-match-search>.field-hint{margin:var(--space-sm) 0 var(--space-md)}.plan-match-category-filter{align-items:center;gap:var(--space-sm);margin:var(--space-sm) 0;flex-wrap:wrap;display:flex}.plan-match-category-filter>span:first-child,.plan-match-category-all{color:var(--text-muted);font-size:.82rem}.plan-match-category-chip{align-items:center;gap:var(--space-sm);min-height:44px;padding:var(--space-sm) var(--space-md);border:1px solid var(--input-border);border-radius:var(--radius-button);background:var(--accent-surface);color:var(--text);font:inherit;cursor:pointer;font-size:.88rem;font-weight:600;display:inline-flex}.plan-match-category-chip:hover{background:var(--accent)}.plan-match-category-chip:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.plan-match-empty{align-items:flex-start;gap:var(--space-sm);padding:var(--space-md) 0;flex-direction:column;display:flex}.plan-match-empty p{margin:0}.plan-match-filters{gap:var(--space-sm);margin:var(--space-md) 0;grid-template-columns:minmax(160px,2fr) repeat(2,minmax(120px,1fr));display:grid}.plan-match-filters label,.plan-match-result>label,.plan-match-choice label{gap:var(--space-xs);flex-direction:column;font-size:.88rem;font-weight:600;display:flex}.plan-match-filters input,.plan-match-result input[type=number],.plan-match-choice input[type=number],.plan-match-choice input[type=date]{border:1px solid var(--input-border);border-radius:var(--radius-button);width:100%;min-height:44px;padding:var(--space-sm) var(--space-md);color:var(--text);background:var(--background)}.plan-match-candidates{gap:var(--space-sm);flex-direction:column;max-height:560px;display:flex;overflow-y:auto}.plan-match-candidate{align-items:center;gap:var(--space-md);text-align:left;border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);width:100%;min-height:48px;padding:var(--space-sm) var(--space-md);cursor:pointer;color:var(--text);flex:none;grid-template-columns:minmax(0,1fr) auto;display:grid}button.plan-match-candidate:hover:not(:disabled){border-color:var(--input-border);background:var(--background-secondary);color:var(--text);box-shadow:none;transform:none}button.plan-match-candidate[aria-pressed=true],button.plan-match-candidate[aria-pressed=true]:hover:not(:disabled){border-color:var(--primary);background:var(--background-secondary);color:var(--text);box-shadow:inset 0 0 0 1px var(--primary);transform:none}button.plan-match-candidate:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.plan-match-candidate-details{align-items:baseline;gap:var(--space-xs) var(--space-md);flex-wrap:wrap;min-width:0;display:flex}.plan-match-candidate-title,.plan-match-candidate-bank{overflow-wrap:anywhere;min-width:0}.plan-match-candidate-details small{color:var(--text-muted);font-size:13px;line-height:18px}.plan-match-candidate-amount{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.plan-match-linked-row small{color:var(--text-muted)}.plan-match-pagination{margin-top:var(--space-md);color:var(--text-muted);justify-content:space-between;align-items:center;display:flex}.plan-match-result{background:var(--page-header-surface);gap:var(--space-md);flex-direction:column;display:flex}.plan-match-choice{border:1px solid var(--border);border-radius:var(--radius-button);padding:var(--space-md);gap:var(--space-sm);flex-direction:column;display:flex}.plan-match-choice legend{padding:0 var(--space-xs);font-weight:700}.plan-match-choice p{color:var(--text-muted);margin:0;font-size:.88rem}.plan-match-choice .plan-match-radio-option{align-items:start;gap:var(--space-sm);grid-template-columns:16px minmax(0,1fr);font-weight:400;line-height:20px;display:grid}.plan-match-choice .plan-match-radio-option input[type=radio]{width:16px;height:16px;min-height:0;accent-color:var(--primary);margin:2px 0 0}.plan-match-confirm{align-items:flex-start;gap:var(--space-sm);flex-direction:row;font-weight:400;display:flex}.plan-match-confirm input{width:auto;min-height:0;accent-color:var(--primary);margin-top:3px}.plan-match-linked{margin:var(--space-lg) 0}.plan-match-linked-row{justify-content:space-between;gap:var(--space-md);padding:var(--space-md) 0;border-top:1px solid var(--border);align-items:center;display:flex}.plan-match-linked-row>div{gap:var(--space-xs);flex-direction:column;display:flex}.plan-match-linked-row>div:last-child{flex-flow:wrap;align-items:center}.operation-plan-links details{margin:var(--space-md) 0}.operation-plan-links summary{cursor:pointer;font-weight:600}@media (width<=900px){.plan-match-grid{grid-template-columns:1fr}}@media (width<=620px){.plan-match-summary{grid-template-columns:1fr}.plan-match-filters{grid-template-columns:1fr 1fr}.plan-match-filters label:first-child{grid-column:1/-1}.plan-match-linked-row{flex-direction:column;align-items:flex-start}.plan-match-candidate{gap:var(--space-sm);padding-inline:var(--space-sm)}.plan-match-candidate-details{column-gap:var(--space-sm)}}.plan-calendar .plan-chip{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px;min-height:25px;padding:3px 5px;font-size:12px;line-height:18px;display:grid}.plan-calendar .plan-chip-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.plan-calendar .plan-chip .money{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;min-width:0;overflow:hidden}.plan-calendar .plan-chip-mark{color:var(--text-muted);white-space:nowrap;font-size:12px;font-weight:700}.plan-event-row{grid-template-columns:minmax(0,1fr) 176px 132px 18px}.plan-event-status{border-radius:var(--radius-label);background:var(--background-secondary);max-width:100%;color:var(--text-muted);justify-self:start;padding:4px 8px;line-height:16px}.plan-event-status--fulfilled{background:var(--success-surface);color:var(--success)}.plan-event-status--waiting{background:var(--account-surface-yellow);color:var(--text)}.plan-event-status--partial{background:var(--accent-surface);color:var(--text)}.plan-event-money{text-align:right}@media (width<=900px){.plan-event-row{grid-template-columns:minmax(0,1fr) 176px 112px 18px}}@media (width<=1150px){.plan-calendar{grid-template-columns:repeat(7,minmax(180px,1fr));overflow-x:auto}}@media (width<=700px){.plan-event-row{grid-template-columns:minmax(0,1fr) 112px 18px}.plan-event-status{grid-area:2/1}.plan-event-money{grid-area:1/2/3}.plan-event-row>svg{grid-area:1/3/3}}.operation-type-change h2,.operation-type-preview h2{margin-top:0}.operation-type-change,.operation-type-preview{gap:var(--space-md);max-width:850px;margin:var(--space-lg) 0;display:grid}.operation-type-change p,.operation-type-preview p{margin:0}.operation-type-change>.button,.operation-type-preview>.button{justify-self:start}.budget-screen .screen-header{padding-top:var(--space-md);padding-bottom:var(--space-sm)}.budget-screen .screen-header p{margin-top:var(--space-xs);margin-bottom:0}.budget-screen .screen-actions{margin:var(--space-sm) 0}.budget-toolbar{align-items:center;gap:var(--space-sm);min-height:52px;margin:0 0 var(--space-sm);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.budget-month-controls{justify-content:center;align-items:center;gap:var(--space-xs);grid-column:2;display:flex}.budget-month-controls .button{flex:0 0 44px;width:44px;min-width:44px}.budget-month-controls h2{text-align:center;white-space:nowrap;min-width:190px;margin:0;font-size:23px}.budget-toolbar .field{grid-column:3;justify-self:end;min-width:90px;margin:0}.budget-toolbar .field>label{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.budget-toolbar .select-trigger{min-width:90px;min-height:44px;padding:8px 10px}.budget-level{border-radius:var(--radius-button);background:var(--background-secondary);grid-column:1;justify-self:start;gap:2px;padding:3px;display:inline-flex}.budget-level .button{min-height:44px;box-shadow:none;padding:7px 10px;font-size:12px;line-height:18px;transform:none}.budget-level .button[aria-pressed=true]{background:var(--background);border-color:var(--border)}.budget-level .button:hover{transform:none}.budget-level .button[aria-pressed=true]:hover{background:var(--background);box-shadow:none}.budget-kpis{gap:var(--space-md);margin:var(--space-sm) 0 var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.budget-kpi{align-content:start;gap:var(--space-xs);min-width:0;padding:var(--space-md);margin:0;display:grid}.budget-kpi--selected{background:var(--accent-surface)}.budget-kpi span,.budget-kpi small{color:var(--text-muted);font-size:13px}.budget-kpi strong{font-variant-numeric:tabular-nums;font-size:clamp(25px,2vw,30px);line-height:1.2}.budget-kpi strong .money{color:var(--text);font-size:inherit;white-space:normal;overflow-wrap:anywhere}.budget-section-head{justify-content:space-between;align-items:center;gap:var(--space-md);margin:var(--space-md) 0 var(--space-sm);display:flex}.budget-section-head p{margin:var(--space-xs) 0 0}.budget-section-actions{align-items:center;gap:var(--space-xs);flex:none;display:flex}.budget-section-actions .budget-icon-button{border:1px solid var(--border)}.budget-table-shell{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);overflow:hidden}.budget-table{border-collapse:collapse;table-layout:fixed;width:100%}.budget-table th,.budget-table td{padding:var(--space-md);text-align:left;vertical-align:middle;border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.budget-table thead{background:var(--background-secondary)}.budget-table thead th{color:var(--text-muted);font-size:12px;font-weight:600}.budget-table .sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.budget-table th:first-child{width:24%}.budget-table th:nth-child(6){width:17%}.budget-table th:last-child{width:60px}.budget-table tbody tr:last-child>*{border-bottom:0}.budget-table-row th strong{font-size:14px;display:block}.budget-table-row small{color:var(--text-muted);margin-top:4px;font-size:11px;font-weight:400;display:block}.budget-category-heading{align-items:center;gap:var(--space-sm);text-align:left;min-width:0;display:flex}.budget-category-heading>span:last-child{overflow-wrap:anywhere;min-width:0}.budget-category-heading .record-icon,.budget-option-icon .record-icon{border-radius:var(--radius-button);flex:0 0 32px;width:32px;height:32px}.budget-category-heading .record-icon svg,.budget-option-icon .record-icon svg{width:18px;height:18px}.budget-option-icon{flex:0 0 32px;display:inline-flex}.budget-table-row .money{white-space:nowrap;font-weight:600}.budget-table-row .budget-overrun .money{color:var(--error)}.budget-fact{align-items:center;gap:2px;min-width:0;display:flex}.budget-disclosure,.budget-icon-button{min-width:44px;min-height:44px;color:var(--text-muted);border-radius:var(--radius-button);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.budget-disclosure:hover,.budget-icon-button:hover{background:var(--background-secondary);color:var(--text)}.budget-disclosure:focus-visible,.budget-icon-button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.budget-disclosure[aria-expanded=true] svg{transform:rotate(180deg)}.budget-table-detail td{padding:0 var(--space-md) var(--space-md);background:var(--background-secondary)}.budget-detail-list{gap:0;display:grid}.budget-detail-item{justify-content:space-between;align-items:center;gap:var(--space-md);padding:9px var(--space-sm);border-bottom:1px solid var(--border);color:var(--text);font-size:13px;text-decoration:none;display:flex}.budget-detail-item:last-child{border-bottom:0}.budget-detail-item:hover{background:var(--accent-surface)}.budget-detail-item span{min-width:0}.budget-detail-item strong{font-size:13px;font-weight:600;display:block}.budget-detail-item small{color:var(--text-muted);font-size:11px;line-height:1.45;display:block}.budget-detail-item .money{white-space:nowrap;flex:none;font-weight:600}.budget-outside{margin:var(--space-md) 0 var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);padding:var(--space-md)}.budget-outside summary{cursor:pointer;font-weight:600}.budget-outside-list{margin-top:var(--space-sm);display:grid}.budget-outside-row{align-items:center;column-gap:var(--space-md);border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto 44px;display:grid}.budget-outside-row>.budget-detail-list{background:var(--background-secondary);grid-column:1/-1}.budget-breakdown{color:var(--text-muted);margin:0 0 var(--space-md);font-size:13px}.budget-form-grid{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.budget-scope,.budget-merge-conflicts fieldset{border:1px solid var(--border);border-radius:var(--radius-button);padding:var(--space-md);margin:var(--space-md) 0}.budget-scope legend,.budget-merge-conflicts legend{font-weight:600}.budget-merge-conflicts{margin:var(--space-md) 0}.budget-merge-conflicts h3{margin:0;font-size:16px}@media (width<=1000px){.budget-table th,.budget-table td{padding:var(--space-sm)}.budget-table th:first-child{width:20%}}@media (width<=950px){.budget-toolbar{row-gap:var(--space-xs);grid-template-columns:minmax(0,1fr) auto}.budget-month-controls{grid-area:1/1/auto/-1}.budget-level{grid-area:2/1}.budget-toolbar .field{grid-area:2/2}}@media (width<=800px){.budget-kpis{grid-template-columns:1fr}.budget-table,.budget-table tbody,.budget-table tr,.budget-table td,.budget-table th{width:100%;display:block}.budget-table thead{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.budget-table-row{padding:var(--space-sm);border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));display:grid!important}.budget-table-row th,.budget-table-row td,.budget-table-row th:first-child,.budget-table-row td:nth-child(6){width:auto;padding:var(--space-xs);border:0}.budget-table-row th{grid-column:1/-1}.budget-table-row td:before{content:attr(data-label);color:var(--text-muted);margin-bottom:3px;font-size:11px;display:block}.budget-table-row td:last-child{grid-column:1/-1}.budget-table-detail td{padding:var(--space-sm)}}@media (width<=650px){.budget-month-controls{justify-content:space-between}.budget-month-controls h2{min-width:0;font-size:20px}.budget-kpi strong{font-size:clamp(24px,6vw,28px)}.budget-section-head{align-items:center}.budget-section-head h2{font-size:19px}.budget-section-head p{display:none}.budget-form-grid{grid-template-columns:1fr}.budget-detail-item{align-items:flex-start}.budget-detail-item .money{white-space:normal;text-align:right}.budget-outside-row{grid-template-columns:minmax(0,1fr) 44px;row-gap:0}.budget-outside-row>span:first-child{margin-top:var(--space-sm);grid-column:1/-1}.budget-outside-row>.budget-fact{grid-column:1}.budget-outside-row>.budget-icon-button{grid-area:2/2}}@media (width<=420px){.budget-level .button{padding:8px 6px;font-size:11px}}.reserves-screen{min-width:0}.reserve-explain a:hover{color:var(--text);text-decoration:underline}.reserves-screen .screen-actions-end .button{align-items:center;gap:var(--space-sm);display:inline-flex}.reserve-account-picker{align-items:end;gap:var(--space-md);margin:var(--space-lg) 0;display:flex}.reserve-account-picker .field{width:min(100%,350px);margin:0}.reserve-account-picker>span{padding-bottom:var(--space-md);color:var(--text-muted);font-size:13px;line-height:18px}.reserve-notice,.reserve-warning{margin:0 0 var(--space-lg);padding:var(--space-md);border-radius:var(--radius-button);font-size:13px;line-height:20px}.reserve-notice{background:var(--accent-surface)}.reserve-warning{background:var(--error-surface);color:var(--text)}.reserve-summary{gap:var(--space-md);margin:0 0 var(--space-lg);grid-template-columns:1.1fr 1fr 1fr;display:grid}.reserve-summary article{gap:var(--space-md);min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);flex-direction:column;display:flex}.reserve-summary article.reserve-highlight{background:var(--accent);border-color:var(--accent)}.reserve-summary article>span{font-size:13px;line-height:18px}.reserve-summary strong{letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:31px;font-weight:600;line-height:1.2}.reserve-summary strong .money{font-size:inherit;white-space:normal;overflow-wrap:anywhere}.reserve-summary small{color:var(--text-muted);font-size:12px;line-height:18px}.reserve-summary-values{align-content:start;gap:var(--space-sm);display:grid}.reserve-summary-values>div{gap:var(--space-xs);min-width:0;display:grid}.reserve-summary-values small{display:block}.reserve-layout{gap:var(--space-lg);grid-template-columns:minmax(0,1fr) minmax(255px,295px);align-items:start;display:grid}.reserve-main{gap:var(--space-lg);min-width:0;display:grid}.reserve-panel{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);min-width:0;overflow:hidden}.reserve-panel-head{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-lg);display:flex}.reserve-panel-head h2{margin:0;font-size:19px;font-weight:600;line-height:26px}.reserve-panel-head>span{color:var(--text-muted);white-space:nowrap;font-size:12px}.reserve-filters{gap:var(--space-sm);padding:0 var(--space-lg) var(--space-lg);flex-wrap:wrap;display:flex}.reserve-filters .button{width:auto;min-height:44px;padding:10px 14px;font-size:12px}.reserve-row{padding:var(--space-lg);border-top:1px solid var(--border)}.reserve-row-main{align-items:center;gap:var(--space-md);min-width:0;display:flex}.reserve-row-icon,.reserve-explain-icon{border-radius:var(--radius-button);background:var(--accent-surface);width:42px;height:42px;color:var(--text);flex:none;justify-content:center;align-items:center;display:inline-flex}.reserve-row-copy{min-width:0}.reserve-row h3{margin:0 0 var(--space-xs);overflow-wrap:anywhere;font-size:15px;font-weight:600;line-height:22px}.reserve-row p{color:var(--text-muted);margin:0;font-size:12px;line-height:18px}.reserve-row-main>strong{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto;font-size:20px;font-weight:600;line-height:26px}.reserve-row-accounts{gap:var(--space-xs) var(--space-sm);margin:var(--space-sm) 0 0 58px;flex-wrap:wrap;display:flex}.reserve-row-accounts a{justify-content:space-between;align-items:center;gap:var(--space-sm);max-width:100%;min-height:44px;padding:var(--space-xs) var(--space-sm);border:1px solid var(--border);border-radius:var(--radius-button);color:var(--text);font-size:12px;text-decoration:none;display:inline-flex}.reserve-row-accounts a:hover{background:var(--accent-surface)}.reserve-row-accounts a span{overflow-wrap:anywhere;min-width:0}.reserve-row-accounts a strong{font-variant-numeric:tabular-nums;flex:none}.reserve-row-actions{align-items:center;gap:var(--space-sm) var(--space-md);margin:var(--space-sm) 0 0 58px;flex-wrap:wrap;display:flex}.reserve-row-actions a,.reserve-row-actions .button{min-height:44px;color:var(--text);white-space:nowrap;align-items:center;padding:0;font-size:12px;font-weight:500;text-decoration:none;display:inline-flex}.reserve-row-actions a{margin-right:auto}.reserve-row-actions a:hover,.reserve-row-actions .button:hover{text-decoration:underline}.reserve-create{padding:var(--space-sm) var(--space-lg);border-top:1px solid var(--border)}.reserve-create .button{align-items:center;gap:var(--space-sm);width:auto;font-size:13px;display:inline-flex}.reserve-empty{padding:var(--space-xl) var(--space-lg);border-top:1px solid var(--border);text-align:center}.reserve-empty h3{margin:0 0 var(--space-sm);font-size:18px}.reserve-empty p{margin:0 0 var(--space-md);color:var(--text-muted);font-size:13px}.reserve-empty .button{width:auto}.reserve-explain{gap:var(--space-md);padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background-secondary);display:grid}.reserve-explain h2{margin:0;font-size:22px;font-weight:600;line-height:30px}.reserve-explain p{color:var(--text-muted);margin:0;font-size:13px;line-height:21px}.reserve-equation{gap:var(--space-sm);display:grid}.reserve-equation>div{justify-content:space-between;align-items:start;gap:var(--space-sm);font-size:12px;line-height:19px;display:flex}.reserve-equation strong{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.reserve-equation-result{padding-top:var(--space-md);border-top:1px solid var(--border)}.reserve-explain a{min-height:44px;color:var(--text);align-items:center;font-size:12px;font-weight:500;text-decoration:none;display:flex}.reserve-editor{min-width:0;padding:0 var(--space-lg) var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);scroll-margin-top:var(--space-lg)}.reserve-editor>.reserve-panel-head{padding-inline:0}.reserve-editor>.reserve-panel-head .button{width:auto}.reserve-editor>.form-grid,.reserve-editor>.field{margin-bottom:var(--space-md)}.reserve-editor .entity-form>.panel{padding:var(--space-lg) 0 0;border:0;margin:0}.reserve-editor .entity-form>.form-actions{justify-content:flex-end}.reserve-form-actions,.reserve-payment-pages{justify-content:flex-end;align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.reserve-form-actions{margin-top:var(--space-lg);padding-top:var(--space-md);border-top:1px solid var(--border)}.reserve-form-actions .button,.reserve-payment-pages .button{width:auto}.reserve-payment-pages>span{color:var(--text-muted);font-size:12px}@media (width<=1190px){.reserve-summary strong{font-size:27px}}@media (width<=1100px){.reserve-layout{gap:var(--space-md);grid-template-columns:minmax(0,1fr) 255px}.reserve-row-main{flex-wrap:wrap}.reserve-row-main>strong{margin-left:58px}}@media (width<=850px){.reserve-layout{grid-template-columns:1fr}.reserve-explain{grid-row:2}.reserve-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.reserve-account-picker{align-items:stretch;gap:var(--space-sm);flex-direction:column}.reserve-account-picker .field{width:100%}.reserve-account-picker>span{padding:0}.reserve-summary{grid-template-columns:1fr}.reserve-summary article,.reserve-panel-head,.reserve-row{padding:var(--space-md)}.reserve-filters{padding:0 var(--space-md) var(--space-md)}.reserve-row-actions,.reserve-row-accounts{margin-left:0}.reserve-editor{padding:0 var(--space-md) var(--space-md)}}@media (width<=460px){.reserve-row-main>strong{text-align:left;width:100%;margin-left:58px}.reserve-row-actions{gap:var(--space-sm) var(--space-md)}.reserve-row-actions a{width:100%}.reserve-form-actions .button{flex:1;min-width:0}}.goals-screen{min-width:0}.goals-screen .screen-actions-end .button{align-items:center;gap:var(--space-sm);display:inline-flex}.goal-kpis{gap:var(--space-md);margin-bottom:var(--space-lg);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.goal-kpi{gap:var(--space-md);min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);align-content:start;display:grid}.goal-kpi--accent,.goal-main-kpi{background:var(--accent);border-color:var(--accent)}.goal-kpi>span,.goal-main-kpi>span{font-size:13px}.goal-kpi>div{gap:var(--space-xs);display:grid}.goal-kpi strong{letter-spacing:-1px;overflow-wrap:anywhere;font-size:31px;font-weight:600;line-height:1.2;display:block}.goal-kpi small{color:var(--text-muted);font-size:12px;line-height:18px}.goal-toolbar{margin:var(--space-lg) 0}.goal-tabs{gap:var(--space-sm);margin-bottom:var(--space-lg);flex-wrap:wrap;display:flex}.goal-tabs .button{width:auto}.goal-toolbar-fields{gap:var(--space-md);grid-template-columns:minmax(0,1fr) 190px 110px;display:grid}.goal-toolbar-fields label{gap:var(--space-sm);font-size:12px;font-weight:600;display:grid}.goal-toolbar-fields input,.goal-toolbar-fields select,.goal-settings textarea,.goal-form textarea{border:1px solid var(--input-border);border-radius:var(--radius-button);background:var(--background);width:100%;min-height:44px;color:var(--text);font:inherit;padding:10px 12px}.goal-grid{gap:var(--space-lg);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.goal-card{min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background)}.goal-card-head{align-items:center;gap:var(--space-sm);min-height:42px;display:flex}.goal-card-icon{border-radius:var(--radius-button);background:var(--background-secondary);justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.goal-alert,.goal-warning{color:var(--error)}.goal-card-head .goal-alert{padding:var(--space-sm);border-radius:var(--radius-label);background:var(--accent);margin-left:auto;font-size:11px}.goal-card h2{margin:var(--space-md) 0 var(--space-xs);font-size:22px;line-height:29px}.goal-card h2 a{color:var(--text);text-decoration:none}.goal-card h2 a:hover{text-decoration:underline}.goal-card>p{min-height:20px;margin:0 0 var(--space-lg);color:var(--text-muted);font-size:13px;line-height:20px}.goal-card-target{justify-content:space-between;align-items:end;gap:var(--space-sm);display:flex}.goal-card-target strong{font-size:22px}.goal-card-target span{color:var(--text-muted);font-size:12px}.goal-progress-caption{justify-content:space-between;gap:var(--space-sm);margin:var(--space-lg) 0 var(--space-sm);font-size:12px;display:flex}.goal-progress-track{background:var(--border);border-radius:99px;height:6px;overflow:hidden}.goal-progress-track span{background:var(--text);height:100%;display:block}.goal-card-breakdown{margin:var(--space-lg) 0 0}.goal-card-breakdown>div,.goal-schedule-summary dl>div{justify-content:space-between;gap:var(--space-sm);padding:var(--space-sm) 0;border-bottom:1px solid var(--border);font-size:13px;display:flex}.goal-card-breakdown>div:last-child{font-weight:600}.goal-card-breakdown dt,.goal-schedule-summary dt{color:var(--text-muted)}.goal-card-breakdown dd,.goal-schedule-summary dd{text-align:right;margin:0}.goal-card details{margin:var(--space-md) 0;padding:var(--space-sm) 0;border-top:1px solid var(--border);font-size:12px}.goal-card details summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.goal-card details p{margin:var(--space-sm) 0}.goal-card-actions,.goal-detail-actions,.goal-form-actions,.goal-status-actions{gap:var(--space-sm);flex-wrap:wrap;display:flex}.goal-card-actions .button{flex:1;min-width:140px}.goal-detail-summary{gap:var(--space-lg);margin:var(--space-lg) 0;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);display:grid}.goal-main-kpi,.goal-schedule-summary{padding:var(--space-lg);border-radius:var(--radius-card)}.goal-main-kpi>strong{margin:var(--space-lg) 0 var(--space-sm);letter-spacing:-1px;font-size:40px;line-height:1.1;display:block}.goal-main-kpi>p{margin:0 0 var(--space-lg);font-size:13px}.goal-main-breakdown{gap:var(--space-xl);margin-top:var(--space-lg);font-size:12px;display:flex}.goal-main-breakdown strong{margin-top:var(--space-sm);font-size:14px;display:block}.goal-valuation-note{color:var(--text-muted);line-height:19px;margin:var(--space-md) 0 0!important;font-size:12px!important}.goal-schedule-summary h2,.goal-schedule-table h2,.goal-detail-lower h2,.goal-settings h2,.goal-form h2,.goal-action-form h2{margin:0 0 var(--space-md);font-size:20px}.goal-schedule-summary dl{margin:0}.goal-schedule-summary p{margin:var(--space-lg) 0 0;font-size:13px;line-height:20px}.goal-detail-actions{margin-bottom:var(--space-lg)}.goal-detail-actions .button{flex:1;min-width:180px}.goal-schedule-table,.goal-detail-lower>.panel,.goal-settings,.goal-form,.goal-action-form{padding:var(--space-lg);margin-bottom:var(--space-lg)}.goal-section-head{justify-content:space-between;align-items:start;gap:var(--space-md);display:flex}.goal-section-head p{margin:0 0 var(--space-lg);color:var(--text-muted);font-size:13px;line-height:20px}.goal-section-head .button{width:auto}.goal-version-tabs{gap:var(--space-sm);margin-bottom:var(--space-lg);flex-wrap:wrap;display:flex}.goal-version-tabs .button{width:auto}.goal-table-scroll{overflow-x:auto}.goal-schedule-table table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.goal-schedule-table th,.goal-schedule-table td{padding:var(--space-md) var(--space-sm);border-bottom:1px solid var(--border);white-space:nowrap}.goal-schedule-table th{background:var(--background-secondary);color:var(--text-muted);font-weight:600}.goal-detail-lower{gap:var(--space-lg);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.goal-location-list{display:grid}.goal-location{align-items:center;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--border);display:flex}.goal-location>.record-icon,.goal-location>.account-logo{flex:none}.goal-location-copy{gap:var(--space-xs);overflow-wrap:anywhere;flex:1;min-width:0;display:grid}.goal-location-copy a{color:var(--text);font-size:14px;font-weight:600;text-decoration:none}.goal-location-copy a:hover{text-decoration:underline}.goal-location-copy span,.goal-location-amount span{color:var(--text-muted);font-size:12px;line-height:18px}.goal-location-amount{gap:var(--space-xs);text-align:right;flex:none;display:grid}.goal-location-amount strong{font-variant-numeric:tabular-nums;font-size:15px}.goal-location-list--compact .goal-location{gap:var(--space-sm);flex-wrap:wrap}.goal-location-list--compact .goal-location-amount{margin-left:auto}.goal-detail-line{justify-content:space-between;gap:var(--space-sm);padding:var(--space-md) 0;border-bottom:1px solid var(--border);font-size:13px;display:flex}.goal-detail-line a,.goal-detail-lower>.panel>a{color:var(--text);text-decoration:none}.goal-detail-line a:hover,.goal-detail-lower>.panel>a:hover{text-decoration:underline}.goal-detail-lower>.panel>a{margin-top:var(--space-lg);font-size:13px;display:inline-block}.goal-form,.goal-action-form{max-width:850px}.goal-form-grid{gap:var(--space-md);margin:var(--space-md) 0;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.goal-form .field,.goal-action-form .field,.goal-settings .field{margin-bottom:var(--space-md)}.goal-form-actions{margin-top:var(--space-lg)}.goal-form-actions .button{width:auto}.goal-preview{margin-top:var(--space-lg);padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary)}.goal-preview h3{margin:0 0 var(--space-sm);font-size:16px}.goal-preview summary{cursor:pointer}.goal-preview li{padding:var(--space-xs)}.goal-status-actions{margin-top:var(--space-lg);border-top:1px solid var(--border);padding-top:var(--space-md)}.goal-status-actions .button{width:auto}.goal-success{margin:0 0 var(--space-md);padding:var(--space-md);border-radius:var(--radius-button);background:var(--success-surface);font-size:13px}@media (width<=950px){.goal-grid,.goal-detail-summary{grid-template-columns:1fr}}@media (width<=700px){.goal-kpis,.goal-detail-lower,.goal-toolbar-fields,.goal-form-grid{grid-template-columns:1fr}.goal-section-head{flex-direction:column}.goal-main-kpi>strong{font-size:32px}.goal-card-actions .button,.goal-detail-actions .button{min-width:0}}@media (width<=450px){.goal-detail-actions .button,.goal-card-actions .button{flex-basis:100%}.goal-main-breakdown{gap:var(--space-md);flex-direction:column}.goal-location{flex-wrap:wrap}.goal-location-amount{margin-left:auto}}.forecast-screen{gap:var(--space-lg);min-width:0;display:grid}.forecast-top{gap:var(--space-sm);min-width:0;display:grid}.forecast-top .screen-header{padding-bottom:var(--space-md)}.forecast-top .screen-actions{margin:0}.forecast-controls{gap:var(--space-md);background:0 0;border:0;grid-template-columns:155px 165px minmax(0,1fr);align-items:end;padding:0;display:grid}.forecast-controls .field{margin:0}.forecast-controls .field label{margin-bottom:4px}.forecast-controls .select-trigger{height:44px;padding:8px 12px;font-size:14px}.forecast-switches{justify-content:space-around;align-items:center;gap:var(--space-sm);min-width:0;min-height:44px;display:flex}.forecast-switches .checkbox-row{white-space:nowrap;min-height:44px;margin:0;font-size:12px}.forecast-switches .checkbox-row input{width:18px;height:18px}.forecast-meta{justify-content:space-between;align-items:center;gap:var(--space-sm);color:var(--text-muted);flex-wrap:wrap;font-size:13px;display:flex}.forecast-status{border-radius:var(--radius-label);background:var(--accent);min-height:32px;color:var(--text);align-items:center;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex}.forecast-status--complete{background:var(--success-surface)}.forecast-kpis{gap:var(--space-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.forecast-kpi{align-content:start;gap:var(--space-lg);min-width:0;min-height:178px;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);display:grid}.forecast-kpi--accent{background:var(--accent);border-color:var(--accent)}.forecast-kpi>span{font-size:13px;line-height:18px}.forecast-kpi>strong{letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:38px;font-weight:650;line-height:1.12;display:block}.forecast-kpi strong .money{font-size:inherit;white-space:normal;overflow-wrap:anywhere}.forecast-kpi small{color:var(--text-muted);font-size:12px;line-height:18px}.forecast-screen a{color:var(--text)}.forecast-gap{padding:var(--space-lg);border:1px solid var(--error)}@supports (color:color-mix(in lab, red, red)){.forecast-gap{border:1px solid color-mix(in srgb,var(--error) 22%,var(--border))}}.forecast-gap{border-radius:var(--radius-card);background:var(--error-surface)}.forecast-gap-head{justify-content:space-between;align-items:start;gap:var(--space-lg);display:flex}.forecast-gap-head span{color:var(--text-muted);font-size:13px}.forecast-gap-head h2{margin:var(--space-sm) 0;font-size:28px}.forecast-gap-head p{color:var(--text-muted);white-space:nowrap;margin:0;font-size:13px}.forecast-gap>p{margin:var(--space-sm) 0 var(--space-lg);font-size:14px;line-height:1.5}.forecast-gap>a,.forecast-gap p a{font-weight:600}.forecast-gap-math{gap:var(--space-sm);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.forecast-gap-math>div{gap:var(--space-xs);padding:var(--space-md);border-radius:var(--radius-button);background:var(--background);min-width:0;display:grid}.forecast-gap-math span{color:var(--text-muted);font-size:12px}.forecast-gap-math strong{overflow-wrap:anywhere;font-size:18px}.forecast-gap-math .money{white-space:normal}.forecast-gap>small{margin-top:var(--space-sm);color:var(--text-muted);font-size:12px;line-height:18px;display:block}.forecast-months,.forecast-events,.forecast-breakdown,.forecast-clarifications{padding:var(--space-lg);min-width:0}.forecast-months h2,.forecast-events h2,.forecast-breakdown h2,.forecast-clarifications h2{margin:0 0 var(--space-sm);font-size:20px}.forecast-section-head{justify-content:space-between;align-items:start;gap:var(--space-md);display:flex}.forecast-section-head p,.forecast-breakdown>p,.forecast-clarifications>p{margin:0 0 var(--space-lg);color:var(--text-muted);font-size:13px;line-height:20px}.forecast-heading-row{align-items:center;gap:var(--space-sm);min-width:0;display:flex;position:relative}.forecast-heading-row h2{margin:0}.forecast-help{flex:none}.forecast-help summary{background:var(--accent-surface);width:44px;min-height:44px;color:var(--text);cursor:pointer;border-radius:50%;place-items:center;padding:0;font-size:16px;font-weight:700;list-style:none;display:grid}.forecast-help summary::-webkit-details-marker{display:none}.forecast-help summary:hover,.forecast-help[open] summary{background:var(--accent)}.forecast-help summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.forecast-help-content{z-index:12;top:calc(100% + var(--space-xs));width:min(320px,100vw - 64px);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);box-shadow:var(--shadow-menu);color:var(--text);font-size:13px;font-weight:400;line-height:20px;position:absolute;left:0}.forecast-chart-scroll{scrollbar-width:thin;max-width:100%;overflow:auto hidden}.forecast-chart-inner{--forecast-line:var(--accent)}@supports (color:color-mix(in lab, red, red)){.forecast-chart-inner{--forecast-line:color-mix(in srgb,var(--accent) 55%,var(--primary))}}.forecast-chart-inner{height:280px;position:relative}.forecast-chart-inner svg{display:block}.forecast-chart-label{border-radius:var(--radius-button);width:168px;min-height:66px;color:var(--text);text-align:center;cursor:pointer;background:0 0;border:0;gap:2px;padding:5px;display:grid;position:absolute;top:194px;transform:translate(-50%)}.forecast-chart-label:hover:not(:disabled),.forecast-chart-label:focus-visible{background:var(--accent-surface);color:var(--text);box-shadow:none;transform:translate(-50%)}.forecast-chart-label:active:not(:disabled){background:var(--accent);color:var(--text);box-shadow:none;transform:translate(-50%)}.forecast-chart-label.is-selected{background:var(--accent-surface)}.forecast-chart-label.is-selected:hover:not(:disabled){background:var(--accent);color:var(--text)}.forecast-chart-label:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.forecast-chart-label span{color:var(--text-muted);font-size:12px}.forecast-chart-label strong{font-variant-numeric:tabular-nums;font-size:13px}.forecast-point--today,.forecast-point--neutral{fill:var(--accent);stroke:var(--primary)}.forecast-point--positive{fill:var(--success);stroke:var(--background)}.forecast-point--negative{fill:var(--error);stroke:var(--background)}.forecast-month-tabs{gap:var(--space-sm);padding:var(--space-sm) 0 0;scrollbar-width:thin;display:flex;overflow-x:auto}.forecast-month-tabs button{align-content:start;gap:var(--space-sm);min-height:96px;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);color:var(--text);text-align:left;cursor:pointer;flex:1 0 165px;display:grid}.forecast-month-tabs button:hover:not(:disabled){background:var(--accent-surface);color:var(--text);box-shadow:none;transform:none}.forecast-month-tabs button.is-selected,.forecast-month-tabs button.is-selected:hover:not(:disabled){background:var(--accent);color:var(--text);border-color:var(--accent);box-shadow:none}.forecast-month-tabs button>span{font-size:12px}.forecast-month-tabs button strong{font-variant-numeric:tabular-nums;font-size:20px;font-weight:650}.forecast-month-tabs button small{font-size:12px;line-height:18px}.forecast-explain-grid{gap:var(--space-lg);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.forecast-formula{justify-content:space-between;align-items:start;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--border);font-size:13px;line-height:20px;display:flex}.forecast-formula>span{min-width:0}.forecast-formula strong{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.forecast-formula--total{border-top:1px solid var(--border);font-weight:700}.forecast-breakdown>p{margin:var(--space-md) 0}.forecast-breakdown details,.forecast-clarifications>details{margin-top:var(--space-md)}.forecast-breakdown summary,.forecast-clarifications summary{cursor:pointer;font-size:13px;font-weight:600}.forecast-breakdown small{color:var(--text-muted);font-size:11px;line-height:17px;display:block}.forecast-warning-groups{gap:var(--space-sm);display:grid}.forecast-warning-groups details{border:1px solid var(--border);border-radius:var(--radius-button);padding:var(--space-md)}.forecast-warning-groups summary{justify-content:space-between;align-items:center;gap:var(--space-sm);list-style:none;display:flex}.forecast-warning-groups summary::-webkit-details-marker{display:none}.forecast-warning-groups summary strong{background:var(--accent);border-radius:50%;place-items:center;min-width:28px;height:28px;display:grid}.forecast-warning-groups details p,.forecast-income-note,.forecast-rates p{color:var(--text-muted);font-size:12px;line-height:19px}.forecast-warning-groups ul{padding-left:var(--space-md);margin:var(--space-sm) 0 0}.forecast-warning-groups li{margin:var(--space-sm) 0;font-size:12px;line-height:19px}.forecast-income-note{margin:var(--space-lg) 0!important}.forecast-event-month{padding-top:var(--space-lg);border-top:1px solid var(--border)}.forecast-event-month+.forecast-event-month{margin-top:var(--space-lg)}.forecast-event-month-head{justify-content:space-between;align-items:baseline;gap:var(--space-sm) var(--space-lg);padding:var(--space-md);border-radius:var(--radius-button);background:var(--accent-surface);flex-wrap:wrap;display:flex}.forecast-event-month-head h3{margin:0;font-size:17px}.forecast-event-month-head span{color:var(--text-muted);font-size:13px}.forecast-event-month-head strong{color:var(--text)}.forecast-month-components{gap:var(--space-sm);margin:var(--space-md) 0;flex-wrap:wrap;padding:0;display:flex}.forecast-month-components>div{gap:var(--space-xs);min-width:150px;padding:var(--space-sm) var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);display:grid}.forecast-month-components span{color:var(--text-muted);font-size:12px}.forecast-month-components strong{font-variant-numeric:tabular-nums;font-size:16px}.forecast-events .is-positive{color:var(--success)}.forecast-events .is-negative{color:var(--error)}.forecast-table-wrap{overflow-x:auto}.forecast-table-wrap table{border-collapse:collapse;text-align:left;width:100%;min-width:760px;font-size:14px}.forecast-table-wrap th,.forecast-table-wrap td{padding:var(--space-md) var(--space-sm);border-bottom:1px solid var(--border);vertical-align:top}.forecast-table-wrap th{font-weight:600}.forecast-table-wrap thead{background:var(--accent-surface)}.forecast-table-wrap tbody tr:nth-child(2n){background:var(--background-secondary)}.forecast-table-wrap tbody tr:hover{background:var(--accent-surface)}.forecast-table-wrap tbody td:last-child{font-weight:600}.forecast-table-wrap td{white-space:nowrap}.forecast-table-wrap .forecast-table-date{white-space:nowrap;min-width:170px}.forecast-table-wrap .forecast-table-source{overflow-wrap:anywhere;min-width:220px}.forecast-table-wrap tbody .forecast-table-source>span,.forecast-table-wrap tbody .forecast-table-source>a,.forecast-table-wrap small{display:block}.forecast-table-wrap small{color:var(--text-muted);white-space:normal;font-weight:400}.forecast-table-note,.forecast-assumptions{margin:var(--space-md) 0 0;color:var(--text-muted);font-size:12px;line-height:19px}@media (width<=1050px){.forecast-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.forecast-switches{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-start}.forecast-explain-grid{grid-template-columns:1fr}}@media (width<=720px){.forecast-controls,.forecast-kpis,.forecast-gap-math{grid-template-columns:1fr}.forecast-kpi{min-height:0}.forecast-kpi>strong{font-size:34px}.forecast-section-head{flex-direction:column}.forecast-gap-head{gap:var(--space-sm);flex-direction:column}.forecast-formula strong{white-space:normal}.forecast-month-tabs button{flex-basis:180px}}@media (width<=960px){.mobile-nav{overscroll-behavior-x:contain;scrollbar-width:thin;flex-wrap:nowrap;display:flex;overflow-x:auto}.mobile-nav a{flex:0 0 76px;min-width:76px}}.dashboard-screen{gap:var(--space-lg);min-width:0;display:grid}.dashboard-screen>.screen-header-gap{display:none}.dashboard-hero{gap:var(--space-lg);grid-template-columns:1.08fr 1fr;align-items:stretch;min-width:0;display:grid}.dashboard-balance-card,.dashboard-free-card{min-width:0;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);flex-direction:column;display:flex}.dashboard-balance-card{background:var(--accent);border-color:var(--accent)}.dashboard-balance-card h2,.dashboard-free-card h2{margin:0;font-size:15px;font-weight:650;line-height:22px}.dashboard-balance-card h2{align-items:center;min-height:32px;display:flex}.dashboard-balance-head{justify-content:space-between;align-items:center;gap:var(--space-xs) var(--space-sm);flex-wrap:wrap;min-height:44px;display:flex}.dashboard-balance-mode{border:1px solid var(--text);gap:2px;padding:2px;display:flex}@supports (color:color-mix(in lab, red, red)){.dashboard-balance-mode{border:1px solid color-mix(in srgb,var(--text) 14%,transparent)}}.dashboard-balance-mode{border-radius:var(--radius-button)}.dashboard-balance-mode button{border-radius:calc(var(--radius-button) - 2px);min-height:38px;color:var(--text);white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:7px 10px;font-size:12px;font-weight:600}.dashboard-balance-mode button:hover:not(:disabled){background:var(--accent-surface);color:var(--text);box-shadow:none;transform:none}.dashboard-balance-mode button[aria-pressed=true]{background:var(--background);color:var(--text);box-shadow:0 1px 3px #080f1614}.dashboard-balance-mode button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.dashboard-balance-card>strong,.dashboard-free-amount{margin:var(--space-md) 0 var(--space-sm);letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(30px,2.8vw,40px);font-weight:700;line-height:1.1;display:block}.dashboard-balance-card>strong .money,.dashboard-free-amount .money{font-size:inherit;white-space:normal}.dashboard-currency-values{text-align:right;font-variant-numeric:tabular-nums;justify-items:end;gap:4px;min-width:0;font-size:18px;font-weight:700;display:grid}.dashboard-currency-values--primary{margin:var(--space-md) 0 var(--space-sm);text-align:left;letter-spacing:-.03em;justify-items:start;min-height:44px;font-size:clamp(28px,2.3vw,32px);line-height:1.1}.dashboard-currency-value{overflow-wrap:anywhere;gap:2px;min-width:0;display:grid}.dashboard-currency-value .money{white-space:normal}.dashboard-currency-unknown{letter-spacing:0;font-size:14px;line-height:20px}.dashboard-currency-value small{letter-spacing:0;font-size:12px;font-weight:400;line-height:16px}.dashboard-currency-empty{color:var(--text-muted);font-size:13px;line-height:20px}.dashboard-balance-card>.dashboard-currency-empty{margin:var(--space-md) 0 var(--space-sm)}.dashboard-balance-card>small,.dashboard-balance-card>p,.dashboard-free-card>p{color:var(--text-muted);margin:0;font-size:13px;line-height:20px}.dashboard-balance-rows{gap:var(--space-sm);padding-top:var(--space-md);margin-top:auto;display:grid}.dashboard-balance-rows>div{justify-content:space-between;align-items:baseline;gap:var(--space-md);border-top:1px solid var(--text);display:flex}@supports (color:color-mix(in lab, red, red)){.dashboard-balance-rows>div{border-top:1px solid color-mix(in srgb,var(--text) 14%,transparent)}}.dashboard-balance-rows>div{padding-top:var(--space-sm)}.dashboard-balance-rows>div>span{font-size:13px}.dashboard-balance-rows b{font-variant-numeric:tabular-nums;text-align:right;font-size:18px}.dashboard-balance-warning{margin-top:var(--space-md)!important}.dashboard-balance-warning a{color:var(--text);font-weight:600}.dashboard-balance-footer{min-height:44px;margin-top:var(--space-sm);align-items:center;display:flex}.dashboard-free-head{justify-content:space-between;align-items:center;gap:var(--space-sm);min-height:44px;display:flex}.dashboard-free-head>span{border-radius:var(--radius-label);background:var(--background-secondary);white-space:nowrap;padding:6px 10px;font-size:12px;line-height:18px}.dashboard-free-amount.is-negative{color:var(--error)}.dashboard-free-hint{margin-top:var(--space-sm)!important}.dashboard-free-controls{gap:var(--space-md);margin-top:var(--space-md);flex-wrap:wrap;display:flex}.dashboard-free-controls .field{min-width:145px;max-width:190px;margin:0}.dashboard-free-controls .field:first-child{width:184px;min-width:184px}.dashboard-free-controls .select-trigger{min-height:44px;font-size:13px}.dashboard-free-footer{justify-content:space-between;align-items:center;gap:var(--space-sm) var(--space-md);padding-top:var(--space-sm);flex-wrap:wrap;margin-top:auto;display:flex}.dashboard-free-toggle,.dashboard-accounts-toggle{width:auto;min-height:44px;padding:8px var(--space-sm);color:var(--text);cursor:pointer;background:0 0;border:0;font-size:13px;font-weight:650}.dashboard-free-toggle:hover:not(:disabled),.dashboard-accounts-toggle:hover:not(:disabled){background:var(--accent-surface);color:var(--text);box-shadow:none;transform:none}.dashboard-free-toggle span,.dashboard-accounts-toggle span{margin-left:var(--space-xs)}.dashboard-free-details{min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);grid-column:1/-1}.dashboard-free-details .dashboard-section-heading{margin-bottom:var(--space-sm)}.dashboard-free-details .dashboard-section-heading h2{font-size:18px}.dashboard-free-toggle:focus-visible,.dashboard-accounts-toggle:focus-visible,.dashboard-people-group summary:focus-visible,.dashboard-event-filters button:focus-visible,.dashboard-actions a:focus-visible,.dashboard-actions button:focus-visible,.dashboard-account:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.dashboard-free-details>p{color:var(--text-muted);font-size:12px;line-height:19px}.dashboard-free-details dl{gap:var(--space-sm);margin:var(--space-md) 0;display:grid}.dashboard-free-details dl>div,.dashboard-free-total{justify-content:space-between;gap:var(--space-md);border-bottom:1px solid var(--border);padding-bottom:var(--space-sm);font-size:13px;display:flex}.dashboard-free-details dt,.dashboard-free-details dd{margin:0}.dashboard-free-details dd,.dashboard-free-total strong{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-weight:650}.dashboard-free-total{border-top:1px solid var(--border);padding-top:var(--space-sm)}.dashboard-forecast-link{align-items:center;min-height:44px;font-size:13px;font-weight:650;display:inline-flex}.dashboard-toolbar{align-items:center;gap:var(--space-md);padding-bottom:var(--space-md);border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;min-width:0;display:grid}.dashboard-freshness{align-items:center;gap:var(--space-xs) var(--space-md);min-width:0;color:var(--text-muted);flex-wrap:wrap;font-size:12px;line-height:18px;display:flex}.dashboard-freshness a{min-width:0;color:var(--text);overflow-wrap:anywhere;font-weight:650}.dashboard-actions{justify-content:flex-end;gap:var(--space-sm);border:0;flex-wrap:nowrap;width:auto;margin:0;padding:0;display:flex}.dashboard-actions a,.dashboard-actions button{align-items:center;gap:var(--space-sm);min-height:44px;padding:0 var(--space-xs);border-radius:var(--radius-label);color:var(--text);white-space:nowrap;cursor:pointer;background:0 0;border:0;font-size:14px;font-weight:600;line-height:20px;text-decoration:none;display:inline-flex}.dashboard-actions a:hover,.dashboard-actions button:hover:not(:disabled){background:var(--background-secondary);color:var(--text);box-shadow:none;transform:none}.dashboard-actions a svg,.dashboard-actions button svg{box-sizing:content-box;border:1px solid var(--border);border-radius:50%;padding:10px}.dashboard-section-heading{justify-content:space-between;align-items:baseline;gap:var(--space-md);margin-bottom:var(--space-md);display:flex}.dashboard-section-heading h2,.dashboard-side h2{margin:0;font-size:20px}.dashboard-section-heading>a{color:var(--text);font-size:13px;font-weight:600}.dashboard-accounts{min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);grid-column:1/-1}.dashboard-account-grid{gap:var(--space-md);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.dashboard-account{gap:var(--space-sm);min-width:0;min-height:124px;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--account-surface,var(--background));color:var(--text);flex-direction:column;text-decoration:none;display:flex}.dashboard-account:hover{background:var(--account-surface,var(--background));box-shadow:var(--shadow-secondary);transform:none}.dashboard-account.account-tone-gray,.dashboard-account.account-tone-gray:hover{color:var(--account-text-on-gray)}.dashboard-account-heading{align-items:center;gap:var(--space-sm);min-width:0;display:flex}.dashboard-account-heading>span:nth-child(2){gap:2px;min-width:0;display:grid}.dashboard-account-heading>.record-icon{width:40px;height:40px}.dashboard-account-heading>.record-icon svg{width:20px;height:20px}.dashboard-account-arrow{align-self:flex-start;margin-left:auto;line-height:1}.dashboard-account-name{overflow-wrap:anywhere;font-size:14px;font-weight:650}.dashboard-account small{color:var(--text-muted);font-size:12px;line-height:18px}.dashboard-account.account-tone-gray small{color:var(--account-muted-on-gray)}.dashboard-account strong{overflow-wrap:anywhere;margin-top:auto;font-size:22px;line-height:1.15}.dashboard-account strong .money{white-space:normal}.dashboard-empty{padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card)}.dashboard-empty>div{gap:var(--space-sm);flex-wrap:wrap;display:flex}.dashboard-lower{gap:var(--space-xl);grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);align-items:start;display:grid}.dashboard-upcoming,.dashboard-side{min-width:0;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background)}.dashboard-event-filters{gap:var(--space-xs);margin-bottom:var(--space-sm);flex-wrap:wrap;display:flex}.dashboard-event-filters button{border-radius:var(--radius-label);min-height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;padding:8px 13px;font-size:12px}.dashboard-event-filters button:hover:not(:disabled),.dashboard-event-filters button.is-selected{background:var(--accent-surface);color:var(--text);box-shadow:none;transform:none}.dashboard-event-columns,.dashboard-event-list li{align-items:center;gap:var(--space-sm);grid-template-columns:78px minmax(0,1fr) minmax(110px,150px) minmax(120px,140px);display:grid}.dashboard-event-columns{padding:var(--space-sm);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:12px}.dashboard-event-columns span:last-child{text-align:right}.dashboard-event-list{margin:0;padding:0;list-style:none}.dashboard-event-list li{padding:var(--space-md) var(--space-sm);border-bottom:1px solid var(--border);font-size:13px}.dashboard-event-list li:nth-child(2n){background:var(--background-secondary)}.dashboard-event-date{color:var(--text-muted);white-space:nowrap}.dashboard-event-list li>div{gap:var(--space-xs);min-width:0;display:grid}.dashboard-event-list li>div>a{color:var(--text);overflow-wrap:anywhere;font-weight:650}.dashboard-event-list small{color:var(--text-muted);font-size:12px;line-height:18px}.dashboard-event-account{min-width:0;color:var(--text-muted);overflow-wrap:anywhere}.dashboard-event-account a{color:var(--text)}.dashboard-event-account small{display:none}.dashboard-event-list strong{text-align:right;font-variant-numeric:tabular-nums;min-width:0}.dashboard-event-list strong .money{white-space:normal;overflow-wrap:anywhere}.dashboard-event-list .is-negative{color:var(--error)}.dashboard-event-list .is-positive{color:var(--success)}.dashboard-empty-event,.dashboard-event-more{color:var(--text-muted);font-size:13px;line-height:20px}.dashboard-debts-card{gap:var(--space-md);display:grid}.dashboard-people-group+.dashboard-people-group{padding-top:var(--space-md);border-top:1px solid var(--border)}.dashboard-people-group h3{margin:0 0 var(--space-sm);font-size:14px}.dashboard-people-group p{color:var(--text-muted);margin:0;font-size:12px}.dashboard-people-group ul{margin:0;padding:0;list-style:none}.dashboard-people-group li{justify-content:space-between;gap:var(--space-sm);padding:7px 0;font-size:13px;display:flex}.dashboard-people-group li+li{border-top:1px solid var(--border)}.dashboard-people-group li a{min-width:0;color:var(--text);overflow-wrap:anywhere}.dashboard-people-group li strong{font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.dashboard-people-group summary{cursor:pointer;width:max-content;padding:8px 0;font-size:12px;font-weight:650}.dashboard-debt-unknown{color:var(--text-muted);font-size:12px;line-height:18px}@media (width<=1250px){.dashboard-toolbar,.dashboard-lower{grid-template-columns:1fr}.dashboard-actions{flex-wrap:wrap;justify-content:flex-start}.dashboard-account-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1050px){.dashboard-hero,.dashboard-lower{grid-template-columns:1fr}.dashboard-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.dashboard-screen{gap:var(--space-md)}.dashboard-balance-card,.dashboard-free-card,.dashboard-free-details,.dashboard-accounts,.dashboard-upcoming,.dashboard-side{padding:var(--space-md)}.dashboard-account-grid{grid-template-columns:1fr}.dashboard-actions{gap:var(--space-sm)}.dashboard-people-group li{flex-wrap:wrap}.dashboard-people-group li strong,.dashboard-people-group li strong .money{white-space:normal;overflow-wrap:anywhere}.dashboard-event-columns{display:none}.dashboard-event-list li{grid-template-columns:64px minmax(0,1fr)}.dashboard-event-account,.dashboard-event-list strong{grid-column:2;justify-self:start}.dashboard-event-account small{display:inline}.dashboard-event-list strong{white-space:normal;overflow-wrap:anywhere}.dashboard-free-head{flex-wrap:wrap}.dashboard-free-controls .field{flex:140px;max-width:none}}.reports-page{max-width:1460px;padding-bottom:var(--space-xl);margin:0 auto}.reports-cards{gap:var(--space-lg);margin:var(--space-lg) 0;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.reports-card{min-height:260px;padding:var(--space-lg);border:1px solid var(--border);border-radius:var(--radius-card);color:var(--text);background:var(--background);flex-direction:column;text-decoration:none;display:flex}.reports-card--featured{background:var(--accent);border-color:var(--accent)}.reports-card h2{margin:var(--space-md) 0;font-size:28px;line-height:1.25}.reports-card p{color:var(--text-muted);line-height:1.55}.reports-card-link{border-top:1px solid var(--input-border);padding-top:var(--space-md);margin-top:auto;font-weight:600}.reports-eyebrow{text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);font-size:12px;font-weight:600}.reports-card--pending{background:var(--background-secondary)}.reports-toolbar{align-items:end;gap:var(--space-md);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}.reports-toolbar label{align-items:center;gap:var(--space-sm);font-size:14px;display:flex}.reports-toolbar input,.reports-toolbar select,.reports-modes input{border:1px solid var(--input-border);border-radius:var(--radius-button);background:var(--background);min-height:44px;color:var(--text);font:inherit;padding:8px 10px}.reports-currency{width:220px;min-width:0}.reports-currency .field{margin:0}.reports-toolbar .reports-currency .field label{margin:0 0 var(--space-xs);color:var(--text-muted);font-size:13px;display:block}.reports-currency .select-trigger{font-size:14px}.reports-date,.reports-periods,.reports-modes{align-items:center;gap:var(--space-sm);flex-wrap:wrap;display:flex}.reports-periods{flex-basis:100%}.reports-periods button,.reports-modes button{border:1px solid var(--border);background:var(--background-secondary);color:var(--text);border-radius:var(--radius-button);cursor:pointer;min-height:44px;font:inherit;padding:8px 13px}.reports-periods button:hover,.reports-modes button:hover{background:var(--accent-surface)}.reports-modes button.active{background:var(--primary);border-color:var(--primary);color:#fff}.reports-modes{margin:var(--space-lg) 0 var(--space-sm)}.reports-modes label{align-items:center;gap:var(--space-sm);margin-left:auto;font-size:14px;display:flex}.reports-modes input{width:100px}.reports-scope{gap:var(--space-xs);min-width:0;display:grid}.reports-scope-label{color:var(--text-muted);font-size:13px}.reports-scope-options{gap:var(--space-sm);flex-wrap:wrap;display:flex}.reports-scope-options button{border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);min-height:44px;color:var(--text);font:inherit;cursor:pointer;padding:8px 14px}.reports-scope-options button:hover:not(:disabled){background:var(--accent-surface);color:var(--text);box-shadow:none;transform:none}.reports-scope-options button[aria-pressed=true],.reports-scope-options button[aria-pressed=true]:hover:not(:disabled){background:var(--accent);border-color:var(--accent);color:var(--text)}.reports-scope-options button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.reports-note,.reports-meta{color:var(--text-muted);font-size:13px;line-height:1.6}.reports-meta{justify-content:space-between;gap:var(--space-sm);margin:var(--space-md) 0;flex-wrap:wrap;display:flex}.reports-warning{border-radius:var(--radius-button);padding:var(--space-sm) var(--space-md);background:var(--error-surface);color:var(--error)}.reports-table-scroll{border:1px solid var(--border);border-radius:var(--radius-card);max-width:100%;overflow-x:auto}.reports-table{border-collapse:collapse;width:100%;min-width:700px;font-size:14px}.reports-table th,.reports-table td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:middle;padding:12px 16px}.reports-table thead th{background:var(--background-secondary);text-align:center;white-space:nowrap}.reports-table thead tr:first-child>th:first-child,.reports-table tbody:not(.reports-internal-group) tr>th:first-child{text-align:left;min-width:220px}.reports-table td{text-align:right;white-space:nowrap}.reports-table .reports-total-row{font-weight:600}.reports-table .reports-category-row th{color:var(--text-muted);padding-left:32px;font-weight:500}.reports-section-row button{color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;background:0 0;border:0;min-height:32px}.reports-value{color:var(--text);font:inherit;text-align:right;cursor:pointer;background:0 0;border:0;border-radius:4px;min-height:32px;padding:4px;display:inline-block}.reports-value:not(:disabled){text-decoration:underline;-webkit-text-decoration-color:var(--input-border);-webkit-text-decoration-color:var(--input-border);-webkit-text-decoration-color:var(--input-border);text-decoration-color:var(--input-border);text-underline-offset:3px}.reports-value:hover:not(:disabled){background:0 0}.reports-value:disabled{color:var(--text-muted);cursor:default}.reports-delta{background:var(--background-secondary)}.reports-explanation{margin:var(--space-lg) 0;padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);line-height:1.6}.reports-explanation summary{cursor:pointer;font-weight:600}.reports-detail-list>div{align-items:center;gap:var(--space-md);border-bottom:1px solid var(--border);justify-content:space-between;padding:12px 0;display:flex}.reports-detail-list small{color:var(--text-muted)}.reports-detail-list a{white-space:nowrap}.reports-toolbar,.reports-table-scroll,.reports-table,.reports-table tbody tr,.reports-table thead th,.reports-periods button,.reports-modes button{background:var(--background)}.reports-table thead th{background:var(--background-secondary)}.reports-table .reports-section-row{background:var(--background);font-weight:700}.reports-table .reports-income{background:var(--success-surface)}.reports-table .reports-outgo{background:var(--error-surface)}.reports-table .reports-debt{background:var(--background-secondary)}.reports-income .reports-value,.reports-income .money{color:var(--success)}.reports-outgo .reports-value,.reports-outgo .money{color:var(--error)}.reports-table .reports-group-row{background:var(--accent-surface);font-weight:600}.reports-group-row button{color:inherit;font:inherit;font-weight:inherit;cursor:pointer;text-align:left;background:0 0;border:0;min-height:32px}.reports-table .reports-category-row th{color:var(--text)}.reports-table .reports-total-row td.is-positive .money{color:var(--success)}.reports-table .reports-total-row td.is-negative .money{color:var(--error)}.reports-label-with-hint{align-items:center;gap:6px;min-width:0;display:flex}.reports-label-with-hint>span:first-child{min-width:0}.reports-hint{border-radius:var(--radius-label);width:30px;height:30px;min-height:30px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;flex:0 0 30px;justify-content:center;align-items:center;margin:0;padding:0;font-size:18px;line-height:1;display:inline-flex}.reports-hint:hover,.reports-hint:focus-visible{color:var(--text);background:0 0}.reports-hint-text{z-index:1000;border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);width:min(300px,100vw - 24px);color:var(--text);box-shadow:var(--shadow-secondary);white-space:normal;pointer-events:none;padding:10px 12px;font-size:12px;font-weight:400;line-height:1.45;display:block;position:fixed}.reports-hint:focus-visible,.reports-value:focus-visible,.reports-section-row button:focus-visible,.reports-internal-group button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:0 0 0 3px var(--accent-surface)}.reports-value:focus:not(:focus-visible),.reports-section-row button:focus:not(:focus-visible),.reports-internal-group button:focus:not(:focus-visible){outline:none}.reports-table td:hover,.reports-table td:focus-within{background:var(--accent-surface)}.reports-table button:hover:not(:disabled){box-shadow:none;background:0 0;transform:none}.reports-table .reports-hint:hover:not(:disabled){background:0 0}.reports-table .reports-hint:focus-visible{box-shadow:none;background:var(--accent-surface);outline:none}.reports-table .reports-internal-group tr{background:var(--background-secondary)}.reports-internal-group th{text-align:left;padding:8px 16px}.reports-internal-group button{color:var(--text-muted);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;min-height:32px;font-weight:600}.reports-table .reports-section-row.is-collapsed th,.reports-table .reports-section-row.is-collapsed td{padding-top:8px;padding-bottom:8px}.reports-table{table-layout:fixed;min-width:100%}.reports-table thead tr:first-child>th:first-child,.reports-table tbody:not(.reports-internal-group) tr>th:first-child{width:280px;min-width:280px}.reports-table td{text-overflow:ellipsis;overflow:hidden}.reports-partial{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:2px;display:inline-flex}.reports-partial small{color:var(--text-muted);font-size:11px;font-weight:400}.reports-issues{padding:var(--space-md);margin:var(--space-md) 0;border:1px solid var(--error)}@supports (color:color-mix(in lab, red, red)){.reports-issues{border:1px solid color-mix(in srgb,var(--error) 30%,var(--border))}}.reports-issues{border-radius:var(--radius-card);background:var(--error-surface);font-size:13px;line-height:1.55}.reports-issues p{margin:4px 0 var(--space-sm)}.reports-issues details{border-top:1px solid var(--border);padding:8px 0}.reports-issues summary{cursor:pointer;font-weight:600}.reports-issues ul{margin:8px 0 0;padding-left:20px}.reports-issues li{padding:5px 0}.reports-issues a{color:var(--text);margin-left:6px;text-decoration:underline}.reports-investment-note{margin:var(--space-md) 0;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);color:var(--text-muted);font-size:13px;line-height:1.55}.reports-investment-note summary{color:var(--text);cursor:pointer;font-weight:600}.reports-investment-note p{margin:8px 0}.reports-investment-note ul{margin:8px 0 0;padding-left:20px}.reports-investment-note li{padding:3px 0}@media (width<=720px){.reports-cards{grid-template-columns:1fr}.reports-toolbar{align-items:stretch}.reports-date{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.reports-date label{flex-direction:column;align-items:stretch;display:flex}.reports-date input{width:100%;min-width:0}.reports-currency{width:100%}.reports-modes label{flex-basis:100%;margin-left:0}.reports-meta{display:block}.reports-detail-list>div{flex-wrap:wrap}}.pnl-toolbar{background:var(--background);display:block}.pnl-filters{gap:var(--space-md);grid-template-columns:140px minmax(140px,1fr) minmax(140px,1fr) minmax(200px,1.4fr);align-items:end;display:grid}.pnl-filter .field,.pnl-compare .field{margin:0}.reports-toolbar .pnl-filter .field label,.pnl-compare .field label{margin:0 0 var(--space-xs);color:var(--text-muted);font-size:13px;display:block}.pnl-filter .select-trigger,.pnl-compare .select-trigger{text-align:left;background:var(--background);width:100%;min-height:44px;color:var(--text)}.pnl-toolbar .reports-periods{margin-top:var(--space-md)}.pnl-compare{min-width:180px;margin-left:auto}.pnl-project-list{gap:var(--space-sm);margin-top:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));display:grid}.pnl-project-list button{justify-content:space-between;gap:var(--space-sm);min-height:44px;padding:var(--space-sm) var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);color:var(--text);font:inherit;text-align:left;cursor:pointer;align-items:center;display:flex}.pnl-project-list button:hover,.pnl-project-list button:focus-visible{background:var(--accent-surface);border-color:var(--accent);outline:none}.pnl-links{gap:var(--space-md);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}@media (width<=720px){.pnl-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.pnl-filter.pnl-currency{grid-column:1/-1}.pnl-compare{width:100%;margin-left:0}}.expenses-page{max-width:1460px;padding-bottom:var(--space-xl);margin:0 auto}.expenses-tabs{gap:var(--space-sm);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}.expenses-tab{border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);min-height:44px;color:var(--text);font:inherit;cursor:pointer;padding:8px 16px}.expenses-tab[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--background)}.expenses-tab:hover:not([aria-pressed=true]){background:var(--accent-surface)}.expenses-tab:focus-visible,.expenses-table button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.expenses-toolbar{align-items:end;gap:var(--space-md);padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card);flex-wrap:wrap;display:flex}.expenses-toolbar label,.expenses-summary form label,.advanced-grid label{gap:var(--space-xs);color:var(--text-muted);font-size:13px;display:grid}.expenses-toolbar select,.expenses-summary input,.advanced-grid input,.advanced-grid select,.unnecessary-control textarea{border:1px solid var(--input-border);border-radius:var(--radius-button);background:var(--background);min-height:44px;color:var(--text);font:inherit;padding:8px 12px}.expenses-dates,.expenses-quick{gap:var(--space-sm);flex-wrap:wrap;display:flex}.expenses-quick{flex-basis:100%}.expenses-summary{justify-content:space-between;align-items:end;gap:var(--space-lg);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}.expenses-summary>div{gap:var(--space-sm);display:grid}.expenses-summary strong{font-size:30px;line-height:1.1}.expenses-summary small{color:var(--text-muted)}.expenses-summary form{min-width:min(340px,100%)}.expenses-summary form>div{gap:var(--space-sm);display:flex}.expenses-summary input{flex:1;min-width:0}.expenses-note{padding:var(--space-md);border-radius:var(--radius-button);background:var(--background-secondary);line-height:1.5}.expenses-empty{padding:var(--space-xl);border-radius:var(--radius-card);background:var(--background-secondary);gap:var(--space-sm);display:grid}.expenses-empty h2,.expenses-empty p{margin:0}.expenses-empty a{color:var(--text)}.expenses-table-scroll{border:1px solid var(--border);border-radius:var(--radius-card);max-width:100%;overflow-x:auto}.expenses-table{border-collapse:collapse;text-align:left;width:100%;min-width:540px}.expenses-table th,.expenses-table td{border-bottom:1px solid var(--border);padding:16px}.expenses-table thead{background:var(--background-secondary);color:var(--text-muted);font-size:13px}.expenses-table td:last-child{text-align:right;font-weight:600}.expenses-table th:first-child{width:60%}.expenses-table tbody th{font-weight:500}.expenses-table tbody tr:hover{background:var(--accent-surface)}.expenses-table button{color:var(--text);font:inherit;cursor:pointer;text-align:inherit;background:0 0;border:0;min-height:40px;padding:2px}.expenses-table td button{font-weight:600}.expenses-table .expenses-group th{font-weight:700}.expenses-table .expenses-child th{padding-left:36px}.expenses-breakdown{gap:var(--space-md);display:grid}.expenses-breakdown-total{justify-content:space-between;gap:var(--space-md);padding:var(--space-md);border-radius:var(--radius-button);background:var(--accent);display:flex}.expenses-detail-list{max-height:min(55vh,540px);overflow-y:auto}.expenses-detail-list>div{align-items:center;gap:var(--space-md);padding:var(--space-md) 0;border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto auto;display:grid}.expenses-detail-list strong,.expenses-detail-list small{display:block}.expenses-detail-list small{color:var(--text-muted);margin-top:4px}.unnecessary-control{gap:var(--space-sm);margin:var(--space-md) 0;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-button);display:grid}.unnecessary-control label{gap:var(--space-xs);display:grid}.unnecessary-control label:first-of-type{align-items:center;gap:var(--space-sm);display:flex}.unnecessary-control textarea{resize:vertical;min-height:80px}.unnecessary-control button{justify-self:start}.advanced-filters{margin:var(--space-md) 0;padding:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-card)}.advanced-filters summary{cursor:pointer;font-weight:600}.advanced-filters form{gap:var(--space-md);margin-top:var(--space-md);display:grid}.advanced-grid{gap:var(--space-md);grid-template-columns:repeat(auto-fit,minmax(190px,1fr));display:grid}.advanced-filters fieldset{border:1px solid var(--border);border-radius:var(--radius-button)}.advanced-checks{gap:var(--space-sm) var(--space-md);flex-wrap:wrap;max-height:180px;display:flex;overflow:auto}.advanced-checks label{align-items:center;gap:var(--space-xs);min-height:36px;display:flex}.advanced-actions{gap:var(--space-sm);flex-wrap:wrap;display:flex}.advanced-active{color:var(--text-muted);font-size:13px}.advanced-checks label{border-radius:var(--radius-label);cursor:pointer;min-height:44px;color:var(--text);justify-content:flex-start;margin:0;padding:4px 8px;font-size:14px}.advanced-checks label:hover{background:var(--background-secondary)}.advanced-checks input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--primary);flex:0 0 20px;margin:0;padding:0}@media (width<=680px){.expenses-toolbar label,.expenses-dates{width:100%}.expenses-dates label{flex:145px}.expenses-toolbar select,.expenses-summary form{width:100%}.expenses-summary strong{font-size:26px}.expenses-detail-list>div{grid-template-columns:1fr auto}.expenses-detail-list a{grid-column:1/-1}.expenses-table th:first-child{width:auto}}.expenses-heading-row{justify-content:space-between;align-items:center;gap:var(--space-md);margin:var(--space-lg) 0;flex-wrap:wrap;display:flex}.expenses-heading-row .expenses-tabs{margin:0}.expenses-search{align-items:center;gap:var(--space-sm);width:min(380px,100%);display:flex;position:relative}.expenses-search>svg{color:var(--text-muted);pointer-events:none;position:absolute;left:14px}.expenses-search input{min-width:0;height:44px;padding-left:40px}.expenses-search button{flex-shrink:0;min-height:44px}.expenses-toolbar{background:var(--background);grid-template-columns:repeat(3,minmax(145px,1fr)) minmax(180px,1.3fr) minmax(160px,1fr);display:grid}.expenses-toolbar .field{min-width:0;margin:0}.expenses-toolbar .field>label{margin:0 0 var(--space-xs);color:var(--text-muted);font-size:13px;display:block}.expenses-toolbar .select-trigger{height:44px;font-size:14px}.expenses-toolbar .select-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.expenses-quick{grid-column:1/-1}.expenses-quick .button{border-color:var(--border);background:var(--background-secondary);min-height:40px}.expenses-quick .button:hover{background:var(--accent-surface)}.expenses-tag-filter{align-self:end;position:relative}.expenses-tag-options{z-index:21;width:min(320px,100vw - 48px);padding:var(--space-md);gap:var(--space-md);border:1px solid var(--border);border-radius:var(--radius-menu);background:var(--background);box-shadow:var(--shadow-menu);display:grid;position:absolute;top:calc(100% + 6px);right:0}.expenses-tag-options>input{height:40px;font-size:14px}.expenses-tag-list{overscroll-behavior:contain;max-height:180px;overflow:auto}.expenses-tag-list .checkbox-row{border-radius:var(--radius-label);min-height:40px;color:var(--text);cursor:pointer;justify-content:flex-start;align-items:center;gap:10px;padding:6px;font-size:14px;display:flex}.expenses-tag-list .checkbox-row:hover{background:var(--accent-surface)}.expenses-tag-list input{width:18px;height:18px;min-height:18px;accent-color:var(--primary);flex:0 0 18px;margin:0;padding:0}.expenses-tag-list span{overflow-wrap:anywhere}.expenses-tag-list p{color:var(--text-muted);font-size:14px}.expenses-tag-actions{justify-content:space-between;gap:var(--space-sm);display:flex}@media (width<=1000px){.expenses-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.expenses-tag-options{left:0;right:auto}}@media (width<=680px){.expenses-search{width:100%}.expenses-toolbar{gap:var(--space-sm);padding:var(--space-sm)}.expenses-toolbar>.field:nth-child(n+3){grid-column:1/-1}.expenses-tag-options{width:100%}.expenses-quick .button{flex:130px}}.expenses-table{background:var(--background)}.expenses-table thead{background:var(--background-secondary)}.expenses-note{background:var(--accent-surface);border:1px solid var(--accent);font-size:14px}.expenses-view-switch{gap:var(--space-xs);margin:var(--space-md) 0;flex-wrap:wrap;display:flex}.expenses-bar{background:var(--background-secondary);border-radius:4px;max-width:320px;height:4px;margin:8px 0 4px;overflow:hidden}.expenses-bar span{background:var(--accent);border-radius:inherit;height:100%;display:block}.expenses-month-table{width:max-content;min-width:100%;font-size:14px}.expenses-month-table th,.expenses-month-table td{text-align:right;white-space:nowrap;min-width:135px}.expenses-month-table th:first-child{z-index:1;text-align:left;white-space:normal;background:var(--background);width:220px;min-width:180px;max-width:260px;box-shadow:1px 0 0 var(--border);position:sticky;left:0}.expenses-month-table thead th:first-child{background:var(--background-secondary);z-index:2}.expenses-month-table .expenses-month-total,.expenses-month-table .expenses-month-total th:first-child{background:var(--accent-surface);font-weight:600}.expenses-month-table tr:hover th:first-child{background:var(--accent-surface)}.expenses-month-table th button{overflow-wrap:anywhere}.expenses-month-table td button{width:100%;font-weight:500}.expenses-month-table td:last-child{background:var(--accent-surface)}.expenses-table-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:3px}@media (width<=680px){.expenses-month-table th:first-child{width:140px;min-width:140px;max-width:140px}.expenses-month-table th,.expenses-month-table td{min-width:120px;padding:12px}}.expenses-table .visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.expenses-table button:hover:not(:disabled),.expenses-table button:active:not(:disabled),.expenses-table button:focus-visible{color:var(--text);box-shadow:none;background:0 0;transform:none}.expenses-table tbody tr:focus-within,.expenses-month-table tr:focus-within th:first-child{background:var(--accent-surface)}.expenses-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.expenses-summary>div{background:var(--background);border:1px solid var(--border);border-radius:var(--radius-card);flex:240px;padding:20px}.expense-spheres{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.expense-spheres button{text-align:left;background:var(--background);color:var(--text);border:1px solid var(--border);grid-template-columns:1fr auto;gap:8px;min-width:0;font-weight:500;display:grid}.expense-spheres button:hover:not(:disabled){background:var(--accent-surface);color:var(--text);box-shadow:none;transform:none}.expense-spheres button>span:first-child{overflow-wrap:anywhere}.expense-spheres strong small{color:var(--text-muted);margin-left:8px;font-weight:400}.expense-spheres .expenses-bar{grid-column:1/-1;width:100%;max-width:none;margin:0}.expense-change-percent{color:var(--text-muted);margin-top:4px;font-size:12px;display:block}.expense-composition>div{justify-content:space-between;gap:12px;padding:8px 0;display:flex}.expense-trend>div{grid-template-columns:65px 1fr auto;align-items:center;gap:12px;padding:6px 0;font-size:13px;display:grid}.expense-trend .expenses-bar{width:100%;max-width:none}.expenses-detail-list strong{overflow-wrap:anywhere;white-space:pre-wrap}.expenses-detail-list>div>div{min-width:0}.expenses-detail-list .expense-open{border-radius:var(--radius-button);width:44px;height:44px;color:var(--text);place-items:center;font-size:22px;text-decoration:none;display:grid}.expenses-detail-list .expense-open:hover{background:var(--accent-surface);color:var(--text)}.expenses-detail-list .expense-open:focus-visible{outline:2px solid var(--primary)}@media (width<=680px){.expenses-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-spheres,.expense-spheres button{grid-template-columns:1fr}.expenses-detail-list>div{grid-template-columns:minmax(0,1fr) auto}.expenses-detail-list .expense-open{grid-area:2/2}.expenses-summary strong{font-size:24px}}.reports-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reports-card{background:var(--background);gap:8px;min-height:0;padding:20px}.reports-card h2{margin:0;font-size:22px}.reports-card strong{font-size:14px}.reports-card p{margin:0 0 8px;font-size:13px;line-height:1.5}.reports-card-link{border-color:var(--border);padding-top:10px;font-size:13px}.reports-card:hover{background:var(--background-secondary);color:var(--text)}.expenses-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.expenses-tools>.button{white-space:nowrap}.expenses-tools .expenses-search{width:min(330px,100%);margin:0}.expenses-quick{margin:0 0 16px}.expenses-quick button[aria-pressed=true]{background:var(--accent-surface);border-color:var(--input-border);color:var(--text)}.expenses-toolbar.expense-extra-filters{grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0 16px}.expenses-toolbar.expense-topic-filters{background:0 0;border:0;grid-template-columns:minmax(180px,260px) minmax(180px,280px) minmax(180px,240px) auto;align-items:end;margin:0 0 24px;padding:0}.expense-topic-filters>.button{justify-self:start}.expense-section-heading{margin:24px 0 12px}.expense-section-heading h2{margin:0 0 6px;font-size:18px}.expense-section-heading p,.expense-data-note,.expense-filter-context{color:var(--text-muted);margin:4px 0;font-size:13px;line-height:1.6}.expenses-summary{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px;margin:12px 0;display:grid}.expenses-summary>div{grid-template-rows:auto 1fr auto;align-content:start;gap:10px;min-width:0;padding:18px;display:grid}.expenses-summary>div:first-child{background:var(--background)}.expenses-summary strong{align-self:center;font-size:28px}.expenses-summary small{line-height:1.5}.expenses-summary--single{grid-template-columns:1fr;max-width:440px}.expense-spheres{grid-template-columns:minmax(0,1fr);width:calc(50% - 6px);max-width:544px;margin:12px 0 28px}.expense-spheres button{text-align:left;gap:10px;padding:14px 16px}.expense-spheres strong{white-space:nowrap}.expense-spheres small{color:var(--text-muted);margin-left:12px;font-weight:400}.expense-change-legend{flex-wrap:wrap;gap:20px;margin:10px 0;font-size:12px;display:flex}.expense-decrease,.expense-change-percent.expense-decrease{color:var(--success)}.expense-increase,.expense-change-percent.expense-increase{color:var(--error)}.expenses-table .expenses-group th,.expenses-table .expenses-group td,.expenses-table .expenses-group button{font-weight:700}.expenses-table th,.expenses-table td{padding:12px 16px}.expense-top-badge{border:1px solid var(--border);border-radius:var(--radius-label);color:var(--text-muted);background:var(--background-secondary);white-space:nowrap;margin-left:8px;padding:2px 6px;font-size:10px;font-weight:600;display:inline-block}.expense-section-heading .expense-top-note{color:var(--text);margin-top:8px}.expenses-month-table .expenses-month-total,.expenses-month-table .expenses-month-total th:first-child{background:var(--ghost-surface)}.expenses-month-table td:last-child{border-left:1px solid var(--border);background:0 0}.expense-tags-compact{max-width:1000px}.expense-tags-compact .expenses-table{min-width:0}.expense-tags-compact .expenses-table td{white-space:nowrap}.expense-accounting-note{margin-top:20px;font-size:13px}@media (width<=1000px){.reports-cards{grid-template-columns:1fr}.reports-card{grid-template-columns:170px 1fr;gap:6px 24px;display:grid}.reports-card .reports-eyebrow{grid-column:1}.reports-card h2{grid-area:2/1/4}.reports-card strong{grid-area:1/2}.reports-card p{grid-area:2/2}.reports-card-link{grid-column:2}.expenses-toolbar.expense-topic-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.expenses-summary strong{font-size:24px}}@media (width<=760px){.expenses-summary{grid-template-columns:1fr}.expenses-toolbar.expense-extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.expenses-toolbar.expense-topic-filters{grid-template-columns:1fr}.expense-spheres{grid-template-columns:1fr;width:100%}.expenses-tools{width:100%}.expenses-tools .expenses-search{flex:1;min-width:220px}}@media (width<=480px){.reports-card{display:flex}.expense-spheres button{grid-template-columns:1fr}}.expenses-tools .expenses-filter-toggle{min-height:44px;color:var(--text-muted);box-shadow:none;background:0 0;border-color:#0000;align-items:center;gap:8px;margin:0;padding:8px 10px;font-size:13px;font-weight:500;display:inline-flex}.expenses-tools .expenses-filter-toggle:hover:not(:disabled){background:var(--ghost-surface);color:var(--text);box-shadow:none;transform:none}.expenses-filter-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.expense-group-actions{flex-wrap:wrap;gap:8px;margin:12px 0 0;display:flex}.expense-group-actions .button{min-height:44px;color:var(--text-muted);padding:8px 12px;font-size:13px}.expenses-heading-row{align-items:flex-start}.expenses-tools{flex-direction:column;align-items:flex-end;gap:2px;margin-left:auto}.expenses-tools .expenses-search{width:min(380px,100%)}.expenses-tools .expenses-search input{flex:1}.expenses-tools .expenses-filter-toggle{padding-right:0}.expense-section-heading{border-top:1px solid var(--border);margin-top:32px;padding-top:24px}.expense-section-heading h2{font-size:20px;font-weight:700}.expenses-table .expenses-group{background:var(--background)}.expenses-table .expenses-group.is-expanded{background:var(--ghost-surface)}.expenses-table .expenses-group:hover,.expenses-table tbody tr:focus-within{background:var(--accent-surface)}.expense-top-list{max-width:740px;margin:16px 0;display:grid}.expense-top-list>button{text-align:left;border:0;border-bottom:1px solid var(--border);background:var(--background);min-height:44px;color:var(--text);border-radius:0;grid-template-columns:auto minmax(0,1fr) auto 56px auto;align-items:center;gap:12px;padding:10px 12px;font-size:14px;font-weight:400;display:grid}.expense-top-list>button:hover:not(:disabled){background:var(--accent-surface);color:var(--text);box-shadow:none;transform:none}.expense-top-list .expense-top-badge{margin:0}.expense-top-name{overflow-wrap:anywhere}.expense-top-list small{color:var(--text-muted);text-align:right}.expense-top-list strong{white-space:nowrap;font-weight:600}@media (width<=760px){.expenses-tools .expenses-search{flex:none;width:min(380px,100%)}}@media (width<=480px){.expense-top-list>button{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.expense-top-list strong{grid-area:2/2}.expense-top-list small{grid-area:2/3}.expense-top-list>button>span:last-child{grid-area:1/3}}.expense-top-trend{margin-right:8px;font-size:18px;font-weight:700;line-height:1;display:inline-block}.additional-report-filters{margin:24px 0}.additional-report-quick{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.additional-report-quick>.button{color:var(--text-muted);font-size:13px}.additional-report-filter-grid{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px;padding:16px;display:grid}.additional-report-filter-grid .field{min-width:0;margin:0}.additional-provider-filter{max-width:360px;margin-bottom:12px}.additional-source-list{background:var(--background);border:1px solid var(--border);border-radius:var(--radius-card);max-width:1000px;display:grid;overflow:hidden}.additional-source-list>button{border:0;border-bottom:1px solid var(--border);background:var(--background);min-height:64px;color:var(--text);text-align:left;border-radius:0;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:16px;padding:14px 18px;font-weight:500;display:grid}.additional-source-list>button:last-child{border-bottom:0}.additional-source-list>button:hover:not(:disabled){background:var(--accent-surface);color:var(--text);box-shadow:none;transform:none}.additional-source-list small,.additional-report-details small{color:var(--text-muted);margin-top:6px;font-size:12px;font-weight:400;line-height:1.5;display:block}.additional-report-details{max-height:65vh;overflow:auto}.additional-report-details>div{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:12px;padding:16px 0;display:grid}.additional-report-details strong{overflow-wrap:anywhere;white-space:pre-wrap}.additional-report-details p{color:var(--text-muted);font-size:13px;line-height:1.5}.additional-report-details .expense-open{width:44px;height:44px;color:var(--text);border-radius:var(--radius-button);place-items:center;text-decoration:none;display:grid}.additional-report-details .expense-open:hover{background:var(--accent-surface)}.additional-pending-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;max-width:1000px;display:grid}.additional-pending-list>div{border:1px dashed var(--input-border);border-radius:var(--radius-card);background:var(--background);gap:12px;padding:18px;display:grid}.additional-pending-list small{color:var(--text-muted)}.subscription-cost-report{scroll-margin-top:24px}@media (width<=760px){.additional-report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.additional-source-list>button{grid-template-columns:minmax(0,1fr) auto}.additional-source-list>button>strong{grid-area:2/1}.additional-source-list>button>svg,.additional-source-list>button>span:last-child{grid-area:1/2/3}.additional-report-details>div{grid-template-columns:minmax(0,1fr) 44px}.additional-report-details>div>div:nth-child(2){grid-area:2/1}.additional-report-details .expense-open{grid-area:1/2/3}}@media (width<=480px){.additional-report-filter-grid{grid-template-columns:1fr}}.report-overview{margin:28px 0}.report-overview>h2{margin-bottom:14px;font-size:18px}.report-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.report-overview-card,.report-detail-link{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--background);color:var(--text);grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:16px;padding:22px;text-decoration:none;display:grid}.report-overview-card:hover,.report-detail-link:hover{color:var(--text);background:var(--brand-light);border-color:var(--input-border)}.report-overview-card:focus-visible,.report-detail-link:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.report-overview-card h3,.report-detail-link h3{margin:6px 0;font-size:17px}.report-overview-card p,.report-detail-link p{margin:0;font-size:13px;line-height:1.6}.report-overview-card small,.report-overview-card p,.report-detail-link p>span{color:var(--text-muted)}.report-symbol{border-radius:12px;place-items:center;width:44px;height:44px;display:grid}.report-symbol--pink{background:var(--account-surface-pink)}.report-symbol--sage{background:var(--account-surface-green)}.report-symbol--blue{background:var(--account-surface-blue)}.report-detail-links{gap:10px;max-width:960px;display:grid}.report-detail-link{padding:14px 20px}.income-source-groups{max-width:700px}.income-source-groups h3{margin:22px 0 12px;font-size:15px}.additional-report-quick{justify-content:flex-start;align-items:flex-end;margin-bottom:14px}.additional-report-quick .expenses-quick{flex-basis:auto;margin:0}.additional-report-quick .additional-provider-filter{width:240px;margin:0}.additional-report-quick .additional-provider-filter .field{margin:0}.additional-report-quick>.button{min-height:44px;margin-left:auto}.additional-report-quick>.button[aria-expanded=true] svg{transform:rotate(180deg)}.additional-period-label{margin:18px 0;font-size:16px;font-weight:600}.additional-period-label:first-letter{text-transform:uppercase}.subscription-total-list{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.subscription-currency-toggle{flex-wrap:wrap;gap:4px;display:flex}.subscription-currency-toggle .button{min-height:36px;padding:6px 10px;font-size:12px}.subscription-currency-toggle .button[aria-pressed=true]{background:var(--accent-surface);color:var(--text)}.subscription-summary-card small{line-height:1.5}.pnl-page .pnl-section--income{--pnl-surface:var(--success-surface);--pnl-focus:var(--success)}.pnl-page .pnl-section--expense{--pnl-surface:var(--accent-surface);--pnl-focus:var(--error)}.pnl-page .pnl-section--income .reports-section-row{background:var(--account-surface-green)}.pnl-page .pnl-section .reports-group-row{background:var(--pnl-surface)}.pnl-page .pnl-section .reports-group-row>th,.pnl-page .pnl-section .reports-group-row>td,.pnl-page .pnl-section .reports-section-row>th,.pnl-page .pnl-section .reports-section-row>td{padding-top:2px;padding-bottom:2px}.pnl-page .pnl-section .reports-group-row>th{font-weight:600}.pnl-page .pnl-disclosure{width:100%;min-height:44px;color:var(--text);justify-content:space-between;align-items:center;gap:8px;margin:0;padding:4px 0;line-height:20px;display:flex}.pnl-page .pnl-disclosure>span{overflow-wrap:anywhere;min-width:0}.pnl-page .pnl-disclosure>svg{color:var(--text-muted);flex:none;transform:rotate(-90deg)}.pnl-page .pnl-disclosure[aria-expanded=true]>svg{transform:rotate(0)}.pnl-page .pnl-section--income td:hover,.pnl-page .pnl-section--income td:focus-within{background:var(--account-surface-green)}.pnl-page .pnl-section button:focus-visible{outline:2px solid var(--pnl-focus);outline-offset:1px;box-shadow:none}.pnl-page .reports-table tbody tr>th:first-child{z-index:1;background:inherit;position:sticky;left:0}.pnl-page .reports-table thead{background:var(--background-secondary)}.pnl-page .reports-table thead tr:first-child>th:first-child{z-index:3;background:var(--background-secondary);position:sticky;left:0}.pnl-page .reports-value:not(:disabled){text-decoration:none}.pnl-page .pnl-section--expense .reports-section-row{background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.pnl-page .pnl-section--expense .reports-section-row{background:color-mix(in srgb,var(--accent) 70%,var(--background))}}.pnl-page .pnl-section--expense .reports-group-row{background:var(--accent-surface)}.pnl-page .pnl-table--compact{table-layout:auto;font-size:13px}.pnl-page .pnl-table--compact th,.pnl-page .pnl-table--compact td{padding:4px 6px}.pnl-page .pnl-table--compact thead th{padding-top:12px;padding-bottom:12px}.pnl-page .pnl-table--compact thead tr:first-child>th:first-child,.pnl-page .pnl-table--compact tbody tr>th:first-child{width:260px;min-width:260px;padding-right:12px;font-size:14px}.pnl-page .pnl-table--compact td{text-overflow:clip;overflow:visible}.pnl-page .pnl-table--compact .reports-value{font-variant-numeric:tabular-nums;padding:4px 0}.pnl-page .pnl-table--compact .reports-total-row td{padding-top:10px;padding-bottom:10px}.pnl-page .reports-table{table-layout:auto}.pnl-page .reports-table td{text-overflow:clip;overflow:visible}.pnl-page .pnl-summary tr{background:var(--ghost-surface)}.pnl-page .pnl-summary .reports-total-row{font-weight:700}.pnl-page .pnl-summary .reports-total-row>*{border-top:3px solid var(--input-border);padding-top:16px;padding-bottom:10px}.pnl-page .pnl-summary .pnl-profitability-row>*{padding-top:10px;padding-bottom:14px;font-weight:600}.pnl-page .pnl-summary .is-positive{color:var(--success)}.pnl-page .pnl-summary .is-negative{color:var(--error)}.pnl-quick-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.pnl-toolbar .reports-periods{flex:1;width:auto;margin-top:0}.pnl-toolbar .pnl-filters{border-top:1px solid var(--border);margin-top:16px;padding-top:16px}.pnl-toolbar .reports-periods button[aria-pressed=true]{background:var(--accent-surface);border-color:var(--accent);color:var(--text)}.pnl-page .pnl-quiet-button{border-radius:var(--radius-button);min-height:44px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:inline-flex}.pnl-page .pnl-quiet-button:hover{background:var(--ghost-surface);color:var(--text)}.pnl-quiet-button[aria-expanded=true] svg{transform:rotate(180deg)}.pnl-page .pnl-quiet-button:focus-visible,.pnl-related a:focus-visible,.pnl-profitability-row th:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.pnl-table-heading{align-items:center;gap:12px}.pnl-period-label{color:var(--text);font-size:16px;display:inline-block}.pnl-period-label:first-letter{text-transform:uppercase}.pnl-incomplete{color:var(--error);margin-top:4px;display:block}.pnl-project-section{border-top:1px solid var(--border);margin-top:32px;padding-top:24px}.pnl-project-section h2{margin:0;font-size:20px}.pnl-page .pnl-project-toggle{min-height:44px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:8px 0;font-weight:700;display:flex}.pnl-project-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.pnl-page .pnl-project-toggle:hover:not(:disabled),.pnl-page .pnl-project-toggle:active{background:var(--success-surface);color:var(--text);box-shadow:none;transform:none}.pnl-page .pnl-project-toggle:focus-visible{background:var(--success-surface);color:var(--text);outline:2px solid var(--success);outline-offset:3px;box-shadow:none;transform:none}.pnl-page .pnl-project-toggle:focus:not(:focus-visible){outline:none}.pnl-project-scroll{margin-top:16px}.pnl-page .pnl-project-table tbody tr{background:var(--background)}.pnl-page .pnl-project-table tbody th{font-weight:500}.pnl-page .pnl-project-table .pnl-summary tr{background:var(--success-surface)}.pnl-page .pnl-project-table .pnl-summary th{font-weight:700}.pnl-project-table .reports-value:hover:not(:disabled){background:var(--success-surface)}.pnl-section-caption{color:var(--text-muted);margin:8px 0 0;font-size:13px}.pnl-page .pnl-project-list{grid-template-columns:minmax(0,1fr);max-width:700px}.pnl-page .pnl-project-list button{grid-template-columns:minmax(0,1fr) auto 16px;display:grid}.pnl-project-list button>span:first-child{overflow-wrap:anywhere}.pnl-page .pnl-project-list button:hover{background:var(--success-surface);border-color:var(--success)}.pnl-page .pnl-project-list button:focus-visible{background:var(--success-surface);outline:2px solid var(--success);outline-offset:2px}.pnl-related{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:700px;margin:24px 0 0;display:grid}.pnl-related a{border:1px solid var(--border);border-radius:var(--radius-button);background:var(--background);color:var(--text);justify-content:space-between;align-items:center;gap:12px;padding:16px;text-decoration:none;display:flex}.pnl-related a:hover{background:var(--ghost-surface)}.pnl-related strong,.pnl-related small{display:block}.pnl-related small{color:var(--text-muted);margin-top:4px;font-size:13px}@media (width<=600px){.pnl-related{grid-template-columns:1fr}}@media (width<=760px){.report-overview-grid{grid-template-columns:1fr}.report-overview-card,.report-detail-link{gap:12px;padding:16px}.report-detail-link p>span{display:block}.additional-report-quick .additional-provider-filter{flex:1;min-width:190px}}.export-page{max-width:1100px}.export-panel{background:var(--background);border:1px solid var(--border);border-radius:var(--radius-card);margin:20px 0;padding:24px}.export-panel h2{margin:0 0 16px;font-size:20px}.export-controls{border:0;min-width:0;margin:0 0 20px;padding:0}.export-controls h2{margin-top:24px}.export-period{grid-template-columns:1fr 1fr 2fr;gap:16px;display:grid}.export-period label{color:var(--text-muted);gap:8px;font-size:14px;display:grid}.export-period input{width:100%;min-width:0;min-height:44px}.export-choices{flex-wrap:wrap;gap:8px 24px;margin-top:16px;display:flex}.export-choices label{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:flex}.export-choices input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--success);flex:0 0 18px;margin:0;padding:0}.export-caption{color:var(--text-muted);font-size:14px;line-height:1.6}.export-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;display:grid}.export-counts>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:8px 0;display:flex}.export-counts dt{overflow-wrap:anywhere}.export-counts dd{margin:0;font-weight:600}.export-details summary{cursor:pointer;align-content:center;min-height:44px}.export-details pre{background:var(--background-secondary);max-height:360px;padding:16px;font-size:13px;overflow:auto}.export-details summary:focus-visible{outline:2px solid var(--success)}.export-details summary:hover{background:var(--success-surface)}.export-message{background:var(--success-surface);border-radius:var(--radius-button);padding:16px}.export-message--error{background:var(--error-surface);color:var(--error)}.export-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.export-section-heading h2{margin:0}.export-task{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:20px 0;display:flex}.export-task p,.export-task small{color:var(--text-muted);margin:6px 0;font-size:13px}.export-task-actions{flex-wrap:wrap;gap:8px;display:flex}@media (width<=650px){.export-panel{padding:16px}.export-period,.export-counts{grid-template-columns:1fr}.export-task{flex-direction:column;align-items:flex-start}.export-section-heading{flex-wrap:wrap}}.import-steps{gap:var(--space-sm) var(--space-lg);margin:var(--space-lg) 0;font-size:13px}.import-steps span{background:var(--accent);border:1px solid var(--border);width:26px;height:26px}.import-drop{max-width:760px;padding:var(--space-lg);background:var(--background)}.import-drop h2{overflow-wrap:anywhere}.import-history{margin-top:var(--space-lg)}.import-history>summary,.import-coverage>summary,.import-result-details>summary,.import-journal-actions summary,.import-apply-panel summary{cursor:pointer;align-content:center;min-height:44px;font-weight:500}.import-history[open]>.import-section-heading{margin-top:var(--space-md)}.import-overview,.import-review-summary{background:var(--background);border:1px solid var(--border);padding:var(--space-md);gap:var(--space-lg);margin:var(--space-md) 0}.import-review-comparison--single{margin:var(--space-md) 0 var(--space-sm);grid-template-columns:minmax(0,1fr)}.import-review-comparison--single>div:first-child{background:var(--background-secondary);padding:var(--space-md)}.import-review-comparison--single strong{margin-top:var(--space-xs)}.import-review-comparison--single p{margin:var(--space-xs) 0}.import-debt-form{margin:var(--space-md) 0;padding:var(--space-md)}.import-debt-form>.field{max-width:460px}.import-debt-parties{gap:var(--space-sm);grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:start;display:grid}.import-debt-account{grid-area:1/1}.import-debt-person{grid-area:1/3;position:relative}.import-debt-parties--incoming .import-debt-person{grid-column:1}.import-debt-parties--incoming .import-debt-account{grid-column:3}.import-debt-parties .field{margin-bottom:0}.import-debt-parties .field>label{padding-right:90px}.import-direction-arrow{text-align:center;color:var(--text-muted);grid-area:1/2;align-self:start;margin-top:34px}.import-add-person.button{min-height:44px;box-shadow:none;color:var(--text-muted);background:0 0;padding:4px 8px;font-size:12px;position:absolute;top:-12px;right:0}.import-add-person.button:hover:not(:disabled){background:var(--ghost-surface);color:var(--text);box-shadow:none;transform:none}.import-debt-direction{background:var(--background-secondary);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-button);font-size:13px;font-weight:400;line-height:1.6}.import-action-feedback:empty{display:none}.import-action-feedback{margin-top:var(--space-sm)}.import-review-final{margin-top:var(--space-md);padding-top:var(--space-md)}.import-processing{max-width:860px}.import-processing-stages{gap:var(--space-md);color:var(--text-muted);flex-wrap:wrap;padding:0;font-size:13px;list-style:none;display:flex}.import-processing-stages li{padding:var(--space-sm) 0;border-bottom:2px solid var(--border)}.import-processing-stages [aria-current=step]{color:var(--text);border-color:var(--brand-sage);font-weight:600}.import-result-details{margin-top:var(--space-sm)}.import-apply-panel{margin:var(--space-md) 0}.import-journal-card{padding:var(--space-md);gap:var(--space-md);background:var(--background)}.import-journal-card h2{margin:var(--space-sm) 0;font-size:16px}.import-journal-card>div:first-child{min-width:0}.import-journal-card .muted{font-size:13px}.import-journal-actions details[open]{flex-direction:column;display:flex}.import-journal-actions details .button{margin-bottom:var(--space-sm);display:flex}.import-rollback-summary{gap:var(--space-md);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.import-rollback-summary>div{border:1px solid var(--border);padding:var(--space-md);border-radius:var(--radius-button)}.import-rollback-summary h3{margin:0 0 var(--space-sm)}.import-row-comment,.operation-table-comment{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-muted)}.operation-table-operation .operation-table-comment{margin-top:var(--space-xs);line-height:1.45;display:block}.pnl-detail-copy{overflow-wrap:anywhere;min-width:0}.pnl-detail-copy>span{white-space:pre-wrap;display:block}.pnl-detail-copy>small{margin-top:var(--space-xs);display:block}.pnl-detail-open{border-radius:var(--radius-button);place-items:center;min-width:44px;min-height:44px;text-decoration:none;display:grid}.pnl-detail-open:hover{background:var(--accent-surface);color:var(--text)}@media (width<=600px){.import-debt-parties{gap:var(--space-md);grid-template-columns:minmax(0,1fr)}.import-debt-account,.import-debt-person,.import-debt-parties--incoming .import-debt-person,.import-debt-parties--incoming .import-debt-account{grid-column:1}.import-debt-account,.import-debt-parties--incoming .import-debt-person{grid-row:1}.import-debt-person,.import-debt-parties--incoming .import-debt-account{grid-row:2}.import-direction-arrow{display:none}.import-rollback-summary{grid-template-columns:1fr}.import-steps{gap:var(--space-sm) var(--space-md)}}.operation-card-layout{gap:var(--space-lg);grid-template-columns:minmax(0,3fr) minmax(280px,2fr);align-items:start;display:grid}.operation-card-main,.operation-card-side{gap:var(--space-md);min-width:0;display:grid}.operation-card-layout .panel{padding:var(--space-lg);min-width:0;margin:0}.operation-card-layout h2{margin:0 0 var(--space-sm);font-size:16px;line-height:24px}.operation-card-layout .record-details{margin-top:var(--space-md)}.operation-card-layout .record-details>div{align-items:baseline;padding:8px 0;font-size:14px;line-height:21px}.operation-card-layout .record-details dt{flex:0 0 40%}.operation-card-layout .record-details dd{overflow-wrap:anywhere;min-width:0}.operation-comment-block{margin-top:var(--space-md)}.operation-comment-block .operation-comment{margin:4px 0 0;font-size:14px;line-height:21px}.operation-card-layout .split-part{border-radius:var(--radius-button);margin:8px 0;padding:12px}.operation-card-layout .split-part p{overflow-wrap:anywhere;margin:4px 0}.operation-card-side{padding:var(--space-md);background:var(--background);border:1px solid var(--border);border-radius:var(--radius-card)}.operation-card-side .panel{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.operation-card-side>section,.operation-card-side>.operation-disclosure{border-bottom:1px solid var(--border);padding-bottom:var(--space-md)}.operation-card-side>:last-child{border-bottom:0;padding-bottom:0}.operation-card-side p{overflow-wrap:anywhere;margin:8px 0;font-size:14px;line-height:21px}.operation-card-layout summary{cursor:pointer;border-radius:var(--radius-label);min-height:44px;color:var(--text);background:0 0;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:600;list-style:none;display:flex}.operation-card-layout summary::-webkit-details-marker{display:none}.operation-card-layout summary:after{content:"⌄";color:var(--text-muted)}.operation-card-layout details[open]>summary:after{transform:rotate(180deg)}.operation-card-layout summary:hover{background:var(--background-secondary);color:var(--text)}.operation-card-layout summary:focus-visible{outline:2px solid var(--input-border);outline-offset:2px}.operation-card-side details[open]>.panel{margin-top:var(--space-md)}.operation-card-side .unnecessary-control{border:0;gap:8px;margin:0;padding:0;display:grid}.operation-card-side .unnecessary-control .checkbox-row{color:var(--text);justify-content:space-between;gap:10px;min-height:44px;margin:0;font-size:14px;display:flex}.operation-card-side .unnecessary-control input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--primary);flex:0 0 20px;margin:0}.operation-card-side .unnecessary-control textarea{resize:vertical;width:100%;min-height:64px;margin-top:4px;font-size:14px;display:block}.operation-card-side .unnecessary-control>label:not(.checkbox-row){color:var(--text-muted);font-size:13px}.operation-card-side .form-actions{flex-wrap:wrap;gap:8px;margin-top:8px}.operation-card-side .form-actions .button{font-size:13px}@media (width<=900px){.operation-card-layout{grid-template-columns:minmax(0,1fr)}}@media (width<=480px){.operation-card-layout .panel{padding:var(--space-md)}.operation-card-layout .record-details>div{flex-wrap:wrap;gap:4px}.operation-card-layout .record-details dt{flex-basis:100%}.operation-card-layout .record-details dd{text-align:left}}.operation-card-layout summary{box-sizing:border-box;padding:8px 0}.operation-card-side .operation-plan-links details{margin:8px 0 0}.operation-info{margin-top:var(--space-md);padding-top:var(--space-sm);border-top:1px solid var(--border)}.operation-info .record-details{margin-top:0}.operation-unnecessary .checkbox-row span{font-weight:600}.operation-unnecessary h2+.unnecessary-control .checkbox-row span{font-weight:400}.operation-card-layout--single{grid-template-columns:minmax(0,1fr)}.import-rows-workspace{padding-bottom:var(--space-md);position:relative}.import-rows-workspace .import-overview{background:var(--accent-surface);border-color:var(--accent)}.import-rows-list{margin:var(--space-lg) 0 0;padding:var(--space-lg)}.import-rows-heading{justify-content:space-between;align-items:baseline;gap:var(--space-sm);margin-bottom:var(--space-md);flex-wrap:wrap;display:flex}.import-rows-heading h2{margin:0;font-size:20px;line-height:1.4}.import-rows-heading>span,.import-choice-help,.import-list-tools{color:var(--text-muted);font-size:13px}.import-rows-list .import-filter-tabs{margin:0 0 var(--space-md);gap:8px}.import-rows-list .import-filter-tabs .button{min-height:40px;padding:8px 12px;font-size:13px}.import-rows-list .import-filter-tabs .button[aria-pressed=true]{background:var(--accent);color:var(--text);border-color:var(--accent)}.import-list-tools{align-items:end;gap:var(--space-sm);margin-bottom:var(--space-sm);flex-wrap:wrap;display:flex}.import-list-tools>.field{width:150px;margin:0}.import-list-tools .button{font-size:13px}.import-choice-help{margin:var(--space-sm) 0 var(--space-md)}.import-choice-help summary{cursor:pointer;min-height:44px;color:var(--text-muted);align-content:center;font-weight:500}.import-choice-help p{max-width:780px;margin:8px 0;line-height:1.55}.import-rows-list .import-row{font-size:14px}.import-rows-list .import-row strong{font-size:14px;font-weight:600}.import-rows-list .import-row p{font-size:13px;line-height:1.5}.import-rows-list .import-row--selected{background:var(--accent-surface)}.import-group-note{color:var(--text-muted);margin-top:6px;font-size:12px;line-height:1.5;display:block}.import-selection-bar{z-index:12;margin-top:var(--space-md);padding:var(--space-md) var(--space-lg);background:var(--background);border:1px solid var(--accent);border-radius:var(--radius-card);box-shadow:0 4px 20px var(--accent-surface);max-height:45vh;position:sticky;bottom:12px;overflow:auto}.import-selection-main{justify-content:space-between;align-items:center;gap:var(--space-md);display:flex}.import-selection-copy{gap:4px;min-width:0;display:grid}.import-selection-copy strong{font-size:15px;font-weight:600}.import-selection-copy span{color:var(--text-muted);font-size:13px}.import-selection-main>.button{flex-shrink:0}.import-rows-workspace .import-row{scroll-margin-bottom:160px}@media (width<=600px){.import-rows-list{padding:var(--space-md)}.import-selection-bar{max-height:50vh;padding:12px;bottom:8px}.import-selection-main{flex-direction:column;align-items:stretch;gap:8px}.import-selection-main>.button{width:100%}.import-selection-copy span{font-size:12px}.import-list-tools>.field{width:130px}}.subscription-summary--compact{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.subscription-hidden-filters{margin-top:var(--space-sm)}.subscription-hidden-filters>summary{cursor:pointer;width:fit-content;min-height:44px;color:var(--text-muted);align-items:center;gap:8px;font-size:13px;list-style:none;display:flex}.subscription-hidden-filters>summary::-webkit-details-marker{display:none}.subscription-hidden-filters[open]>summary svg{transform:rotate(180deg)}.subscription-table-wrap{background:var(--background);border:1px solid var(--border);border-radius:var(--radius-card);max-width:100%;overflow:auto}.subscription-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px;line-height:1.5}.subscription-table th,.subscription-table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:12px 14px}.subscription-table thead th{color:var(--text-muted);background:var(--background-secondary);white-space:nowrap;font-size:12px;font-weight:600}.subscription-table tbody tr:last-child td,.subscription-table tbody tr:last-child th{border-bottom:0}.subscription-table tbody tr:hover{background:var(--accent-surface)}.subscription-table .money-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.subscription-table small{color:var(--text-muted);margin-top:3px;font-size:12px;display:block}.subscription-service{align-items:center;gap:12px;min-width:170px;display:flex}.subscription-service a{font-weight:600}.subscription-avatar{border:1px solid var(--border);background:var(--background-secondary);border-radius:10px;flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex;overflow:hidden}.subscription-avatar img{object-fit:contain;width:100%;height:100%}.subscription-row-icons{gap:4px;display:flex}.subscription-icon-action{min-width:44px;min-height:44px;color:var(--text-muted);border-radius:8px;justify-content:center;align-items:center;display:inline-flex;position:relative}.subscription-icon-action:hover,.subscription-icon-action:focus-visible{background:var(--accent);color:var(--text)}.subscription-reminder-dot{background:var(--text);border-radius:50%;width:5px;height:5px;position:absolute;top:9px;right:9px}.subscription-table .subscription-status{white-space:nowrap;padding:3px 6px;font-size:11px}.subscription-cost-panel{background:var(--background);border:1px solid var(--border);border-radius:var(--radius-card);padding:var(--space-lg);margin-top:var(--space-xl)}.subscription-cost-panel>.expense-section-heading{border:0;margin-top:0;padding-top:0}.subscription-cost-panel .additional-report-filters{margin-top:12px}.subscription-cost-panel .expenses-quick{gap:8px}.subscription-cost-panel .expenses-quick button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--text)}.subscription-months-table th,.subscription-months-table td{padding:10px 8px;font-size:12px}.subscription-months-table tbody th{min-width:130px;font-weight:600}.subscription-months-table tfoot{background:var(--accent-surface);border-top:2px solid var(--border);font-weight:700}.subscription-amount-link{font:inherit;color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:5px;min-height:44px;padding:8px 3px}.subscription-amount-link:hover,.subscription-amount-link:focus-visible{background:var(--accent);color:var(--text)}.subscription-unresolved{border-top:1px solid var(--border);margin-top:var(--space-lg);padding-top:var(--space-lg)}.subscription-unresolved h3{margin-bottom:8px;font-size:18px}.subscription-unresolved header p{color:var(--text-muted);max-width:800px;margin-bottom:16px;font-size:13px;line-height:1.6}.subscription-detail-table{min-width:740px}.subscription-detail-table td:nth-child(2){overflow-wrap:anywhere;max-width:360px}.subscription-detail-table td:last-child{min-width:170px}.subscription-detail-table .field{margin:0;font-size:12px}.subscription-comment{white-space:pre-wrap;overflow-wrap:anywhere}.subscription-logo-editor{margin:var(--space-md) 0}.subscription-logo-editor summary{cursor:pointer;align-content:center;min-height:44px;font-size:14px}.subscription-logo-controls{align-items:center;gap:20px;margin:12px 0;display:flex}.subscription-logo-controls .subscription-avatar{flex-basis:72px;width:72px;height:72px}.subscription-logo-editor fieldset{border:0;max-width:400px;padding:0}@media (width<=700px){.subscription-summary--compact{grid-template-columns:1fr}.subscription-cost-panel{padding:14px}.subscription-table{min-width:850px}.subscription-logo-controls{flex-direction:column;align-items:flex-start}}.subscription-filters{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.subscription-filters .subscription-hidden-filters{margin:0}.subscription-filters .subscription-hidden-filters[open]{flex-basis:100%}.subscription-single-month{max-width:680px}.subscription-months-table td,.subscription-months-table th{padding:5px 8px}.subscription-table .subscription-status{font-size:12px}.subscription-cost-report .modal{width:min(1040px,100vw - 32px);max-width:calc(100vw - 32px)}.subscription-single-month .subscription-table{min-width:0}.subscription-link-actions{align-items:center;gap:8px;display:flex}.subscription-link-actions .select{flex:1;min-width:160px}.subscription-link-actions .select>label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.subscription-link-confirm{white-space:nowrap;border-radius:6px;padding:8px;font-size:13px;font-weight:600}.subscription-link-confirm:hover{background:var(--accent-surface)}.subscription-detail-table td{padding-top:8px;padding-bottom:8px}.subscription-detail-table details:not([open]) summary{white-space:nowrap;text-overflow:ellipsis;max-width:320px;overflow:hidden}@media (width>=961px){.app-sidebar .desktop-nav{gap:14px;margin:22px 0 16px}.sidebar-group{flex-direction:column;gap:2px;display:flex}.sidebar-group-label{color:#a7afb7;letter-spacing:.08em;text-transform:uppercase;margin:0 12px 6px;font-size:10px;font-weight:600;line-height:16px}.sidebar-group--divided{border-top:1px solid #30383f;padding-top:12px}.app-sidebar .desktop-nav a{gap:10px;min-height:38px;padding:8px 12px;font-size:13px;line-height:18px}.app-sidebar .desktop-nav a svg{flex-shrink:0}.app-sidebar .desktop-nav .sidebar-home{margin-bottom:6px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
