.pin-screen{z-index:100;background:var(--bg);color:var(--text);flex-direction:column;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.pin-icon{background:var(--surface-muted);width:62px;height:62px;color:var(--text-soft);border-radius:50%;place-items:center;margin-bottom:20px;display:grid}.pin-screen h1{font-size:20px}.pin-hint{color:var(--text-muted);margin:6px 0 24px;font-size:13px}.pin-dots{gap:14px;display:flex}.pin-dots i{background:var(--border-strong);border-radius:50%;width:15px;height:15px;transition:background .15s,transform .15s}.pin-dots i.filled{background:var(--positive);transform:scale(1.12)}.pin-message{min-height:20px;color:var(--negative);text-align:center;margin:18px 0;font-size:13px}.pin-pad{grid-template-columns:repeat(3,72px);gap:14px;display:grid}.pin-pad button{border:1px solid var(--border-strong);background:var(--surface);width:72px;height:72px;color:var(--text);touch-action:manipulation;border-radius:50%;place-items:center;font-size:26px;font-weight:400;display:grid}.pin-pad button:active:not(:disabled){background:var(--surface-muted);transform:scale(.96)}.pin-pad button[aria-label=Apagar]{color:var(--text-muted);background:0 0;border-color:#0000}.pin-cancel{color:var(--text-muted);margin-top:22px}@media (height<=560px){.pin-pad{grid-template-columns:repeat(3,58px);gap:10px}.pin-pad button{width:58px;height:58px;font-size:22px}.pin-icon{display:none}}@media (prefers-reduced-motion:reduce){.pin-dots i,.pin-pad button{transition:none;transform:none}}.routine-grid{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;padding:4px 0 28px;display:grid}.routine-section{min-width:0}.routine-section header{justify-content:space-between;align-items:start;gap:18px;display:flex}.routine-section h3{margin:0;font-size:15px}.routine-section header p{color:var(--text-muted);margin:6px 0 0;font-size:12px}.routine-section header>strong{white-space:nowrap;color:var(--text-muted);font-size:13px}.routine-section header>strong.positive{color:var(--positive)}.routine-progress{background:var(--surface-muted);border-radius:2px;height:4px;margin:14px 0 6px;overflow:hidden}.routine-progress span{background:var(--accent);height:100%;transition:width .2s;display:block}.routine-list{margin:0;padding:0;list-style:none}.routine-list li{border-bottom:1px solid var(--border);align-items:center;gap:4px;min-height:44px;display:flex}.routine-list label{cursor:pointer;flex:1;align-items:center;gap:12px;min-width:0;padding:10px 0;font-size:14px;display:flex}.routine-list label span{overflow-wrap:anywhere}.routine-list li.done label span{color:var(--text-muted);text-decoration:line-through}.routine-list li .icon-button{color:var(--text-muted);opacity:0}.routine-list li:hover .icon-button,.routine-list li:focus-within .icon-button{opacity:1}.routine-list form{flex:1;align-items:center;gap:4px;display:flex}.routine-list form input{flex:1;min-width:0}.routine-list form .icon-button{opacity:1}.routine-add{gap:8px;margin-top:14px;display:flex}.routine-add input{flex:1;min-width:0}.routine-note{padding:28px 0}.routine-note textarea{box-sizing:border-box;border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:140px;color:inherit;font:inherit;resize:vertical;border-radius:6px;margin-top:14px;padding:12px;font-size:14px;line-height:1.5}.routine-unsaved{color:var(--warn);margin:8px 0 0;font-size:12px}@media (hover:none){.routine-list li .icon-button{opacity:1}}@media (width<=760px){.routine-grid{grid-template-columns:1fr}}.sort-handle{width:22px;height:32px;color:var(--text-muted);cursor:grab;touch-action:none;background:0 0;border:0;border-radius:4px;flex:none;place-items:center;display:inline-grid}.sort-handle:hover:not(:disabled){background:var(--surface-muted)}.sorting,.sorting .sort-handle{cursor:grabbing;-webkit-user-select:none;user-select:none}.sort-dragging{opacity:.45}.sort-drop-before{box-shadow:inset 0 2px 0 var(--accent-text)}.sort-drop-after{box-shadow:inset 0 -2px 0 var(--accent-text)}.fund-year{align-items:center;gap:12px;display:flex}.fund-year h2{margin:0}.fund-totals{border-block:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:20px 0;display:grid}.fund-totals>div{min-width:0}.fund-totals dt{color:var(--text-muted);font-size:12px}.fund-totals dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:8px 0 0;font-size:22px;font-weight:600;line-height:1.25}.fund-totals span{color:var(--text-muted);margin-top:8px;font-size:11px;display:block}.fund-totals .positive,.fund-list .positive{color:var(--positive)}.fund-totals .negative,.fund-list .negative{color:var(--negative)}.fund-grid{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;padding:28px 0;display:grid}.fund-section{min-width:0}.fund-section header{justify-content:space-between;align-items:start;gap:18px;display:flex}.fund-section h3{margin:0;font-size:15px}.fund-section header p{color:var(--text-muted);margin:6px 0 0;font-size:12px}.fund-list{margin:10px 0 0;padding:0;list-style:none}.fund-line{border-bottom:1px solid var(--border);align-items:center;gap:8px;min-height:44px;padding:6px 0;display:flex}.fund-line>input[type=checkbox]{flex:none}.fund-line-text{overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px}.fund-line-text p{color:var(--text-muted);white-space:pre-wrap;margin:4px 0 0;font-size:12px;line-height:1.45}.fund-line.settled .fund-line-text>span{color:var(--text-muted)}.fund-line>strong,.fund-project-head>strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px}.fund-line.settled>strong{opacity:.7}.fund-line .icon-button,.fund-project-head .icon-button{color:var(--text-muted)}.fund-line.editing form{flex:1;gap:8px;min-width:0;padding:6px 0;display:grid}.fund-edit-row,.fund-add{gap:8px;display:flex}.fund-edit-row input:first-child,.fund-add input:first-child{flex:1;min-width:0}.fund-add input.fund-amount-input,.fund-edit-row input.fund-amount-input{text-align:right;font-variant-numeric:tabular-nums;flex:none;width:110px}.fund-line.editing textarea,.fund-note textarea{box-sizing:border-box;border:1px solid var(--border-strong);background:var(--surface);width:100%;color:inherit;font:inherit;resize:vertical;border-radius:6px;padding:10px 12px;font-size:14px;line-height:1.5}.fund-line.editing textarea{min-height:72px}.fund-edit-actions{gap:8px;display:flex}.fund-add{margin-top:14px}.fund-add button,.fund-add-mode button{white-space:nowrap;flex:none}.fund-add-mode{margin-top:18px}.fund-project{border-bottom:1px solid var(--border)}.fund-project-head{align-items:center;gap:8px;min-height:44px;padding:6px 0;display:flex}.fund-project-head form{flex:1;align-items:center;gap:4px;display:flex}.fund-project-head form input{flex:1;min-width:0}.fund-project-toggle{min-width:0;color:inherit;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:8px;padding:6px 0;font-size:14px;font-weight:600;display:flex}.fund-project-toggle span{overflow-wrap:anywhere}.fund-project-toggle small{color:var(--text-muted);white-space:nowrap;font-size:11px;font-weight:400}.fund-project-toggle svg{color:var(--text-muted);flex:none}.fund-project-body{border-left:2px solid var(--border-strong);margin:0 0 14px 7px;padding-left:16px}.fund-project-body .fund-list{margin-top:0}.fund-note{padding:28px 0}.fund-note textarea{min-height:140px;margin-top:14px}.fund-unsaved{color:var(--warn);margin:8px 0 0;font-size:12px}@media (width<=900px){.fund-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.fund-grid{grid-template-columns:1fr}.fund-totals dd{font-size:18px}.fund-add{flex-wrap:wrap}.fund-add input:first-child{flex-basis:100%}}.login-screen{background:var(--bg);min-height:100dvh;color:var(--text);place-items:center;padding:16px;display:grid}.login-card{border:1px solid var(--border);background:var(--surface);width:100%;max-width:420px;box-shadow:0 12px 32px var(--shadow);text-align:center;border-radius:16px;padding:32px 28px 20px}.login-icon{background:var(--selected);width:76px;height:76px;color:var(--accent-text);border-radius:50%;place-items:center;margin:0 auto 22px;display:grid}.login-card h1{font-size:22px}.login-hint{color:var(--text-muted);margin:8px 0 28px;font-size:14px;line-height:1.45}.login-google{background:var(--accent);width:100%;min-height:48px;color:var(--on-accent);touch-action:manipulation;border:0;border-radius:12px;justify-content:center;align-items:center;gap:12px;font-size:15px;font-weight:650;display:inline-flex}.login-google:hover:not(:disabled){background:var(--accent-hover)}.login-google:active:not(:disabled){transform:scale(.98)}.login-google:disabled{opacity:.6;cursor:not-allowed}.login-google-mark{background:#fff;border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.login-message{min-height:20px;color:var(--negative);margin:14px 0 0;font-size:13px}.login-spinner{color:var(--text-muted);animation:1s linear infinite login-spin}.login-google .login-spinner{color:inherit}@keyframes login-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.login-spinner{animation-duration:3s}.login-google:active:not(:disabled){transform:none}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f7f9f8;--surface:#fff;--surface-muted:#edf2ef;--selected:#e6f0ea;--border:#dce2df;--border-strong:#cbd7ce;--text:#242b2a;--text-soft:#4f6255;--text-muted:#6e7b72;--accent:#256747;--accent-hover:#1d5239;--accent-text:#215c43;--on-accent:#fff;--positive:#2f8a60;--negative:#a13a3a;--negative-bar:#c4705f;--warn:#875e21;--warn-strong:#b98a3c;--warn-bg:#f6efdf;--extra:#6b4fa3;--extra-bg:#f3effa;--info:#4d829b;--focus:#277faa;--series-1:#2a78d6;--series-2:#eb6834;--series-3:#1baf7a;--series-4:#eda100;--series-5:#e87ba4;--series-6:#008300;--series-7:#4a3aa7;--series-8:#e34948;--shadow:#10241924}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#121615;--surface:#1a201e;--surface-muted:#242c29;--selected:#24382e;--border:#2c3532;--border-strong:#3f4b46;--text:#e6ebe8;--text-soft:#bcc7c0;--text-muted:#94a099;--accent:#2a7d57;--accent-hover:#33906a;--accent-text:#6fc79c;--on-accent:#fff;--positive:#4fb283;--negative:#ec9090;--negative-bar:#cf7b6a;--warn:#dcb062;--warn-strong:#c79a4a;--warn-bg:#3a2f18;--extra:#b7a0e3;--extra-bg:#2b2440;--info:#6aa3bd;--focus:#5aaedb;--series-1:#3987e5;--series-2:#d95926;--series-3:#199e70;--series-4:#c98500;--series-5:#d55181;--series-6:#008300;--series-7:#9085e9;--series-8:#e66767;--shadow:#00000073}:root{color:var(--text);background:var(--bg);font-synthesis:none;letter-spacing:0;font-family:Inter,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{min-width:280px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}.topbar{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:16px 28px;display:flex}.brand{flex-shrink:0;align-items:center;gap:10px;font-size:20px;font-weight:700;display:flex}.brand img{border-radius:6px}.brand small{color:var(--text-muted);margin-left:3px;font-size:13px;font-weight:500}.environment{color:var(--accent-text);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin-left:auto;font-size:12px;display:flex}.device-controls{flex:none;gap:2px;display:flex}.icon-button.quiet.active{color:var(--accent-text)}.test-data{color:var(--text-muted);border-left:1px solid var(--border);margin-left:12px;padding-left:14px}main{width:min(100% - 56px,1160px);margin:30px auto 64px}.heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.eyebrow{color:var(--text-muted);margin:0 0 7px;font-size:10px;font-weight:600}h1{margin:0;font-size:26px;font-weight:650;line-height:1.25}h2{margin:0;font-size:16px;font-weight:600}.icon-button{background:var(--surface);color:var(--text-soft);border:1px solid var(--border-strong);border-radius:6px;flex:none;place-items:center;width:38px;height:38px;display:inline-grid}.icon-button.quiet{background:0 0;border:0;width:32px;height:32px}.icon-button:hover:not(:disabled),.secondary:hover:not(:disabled){background:var(--surface-muted)}dt{color:var(--text-soft);margin-bottom:8px;font-size:12px}dd{overflow-wrap:anywhere;margin:0}.feedback{min-height:40px;padding:2px 0;font-size:13px}.feedback p{overflow-wrap:anywhere;align-items:center;gap:7px;margin:8px 0;display:flex}.feedback svg{flex:none}.success,.positive{color:var(--accent-text)}.error,.negative{color:var(--negative)}.tabs{border-bottom:1px solid var(--border);gap:24px;max-width:100%;display:flex;overflow-x:auto}.tabs button{color:var(--text-muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:13px 0;font-size:13px}.tabs button[aria-selected=true]{color:var(--accent-text);border-bottom-color:var(--accent-text);font-weight:600}.workspace{outline:none}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:24px 0 18px;display:flex}.toolbar-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.count{color:var(--text-muted);margin-left:5px;font-size:12px;font-weight:400}.primary,.secondary{border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:8px 13px;font-size:12px;font-weight:550;line-height:1.35;display:inline-flex}.primary{background:var(--accent);color:var(--on-accent)}.primary:hover:not(:disabled){background:var(--accent-hover)}.secondary{color:var(--text-soft);background:var(--surface);border-color:var(--border-strong)}.primary svg,.secondary svg{flex:none}.secondary.compact{min-height:32px;padding:6px 9px;font-size:11px}.table-scroll{max-width:100%;position:relative;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}th{color:var(--text-muted);background:var(--surface-muted);border-block:1px solid var(--border);padding:11px 12px;font-size:11px;font-weight:500}td{border-bottom:1px solid var(--border);overflow-wrap:anywhere;max-width:300px;padding:16px 12px}td strong{font-weight:550}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.empty-state{text-align:center;color:var(--text-muted);border-bottom:1px solid var(--border);margin:0;padding:48px 12px;font-size:13px}.status{align-items:center;gap:5px;font-size:11px;display:inline-flex}select,input:not([type=checkbox]){border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:40px;color:var(--text);border-radius:5px;min-width:0;padding:9px 11px;font-size:13px;display:block}select{padding-right:24px}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px;margin:0}.form-error{overflow-wrap:anywhere;font-size:13px;line-height:1.5}code{color:var(--text-muted);overflow-wrap:anywhere;font-size:12px}.actions{justify-content:flex-end;margin-top:24px;display:flex}.segmented{border:1px solid var(--border-strong);background:var(--surface-muted);border-radius:5px;gap:3px;max-width:100%;padding:3px;display:inline-flex}.segmented button{color:var(--text-soft);background:0 0;border:0;border-radius:3px;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:12px;display:inline-flex}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--accent-text);box-shadow:0 1px 3px var(--shadow);font-weight:600}.segmented svg{flex:none}h3{margin:0;font-size:13px;font-weight:600}.empty-inline{color:var(--text-muted);margin:16px 0 0;font-size:12px}.table-title{margin:24px 0 14px}.checkbox-label input{flex:none}.section-note{color:var(--text-muted);max-width:780px;margin:0 0 20px;font-size:12px;line-height:1.55}.secondary:has(input[type=file]){cursor:pointer;position:relative;overflow:hidden}.secondary input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.overview-toolbar{align-items:end}.overview-toolbar p,.overview-section header p{color:var(--text-muted);margin:6px 0 0;font-size:12px}.monthly-headlines{border-block:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:22px 0;display:grid}.monthly-headlines>div{min-width:0;padding:0 22px}.monthly-headlines>div:first-child{padding-left:0}.monthly-headlines>div+div{border-left:1px solid var(--border)}.monthly-headlines dd{overflow-wrap:anywhere;align-items:center;gap:7px;margin:8px 0 5px;font-size:23px;font-weight:600;display:flex}.monthly-headlines span{color:var(--text-muted);font-size:11px;line-height:1.4}.overview-grid{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:34px;padding:28px 0;display:grid}.overview-section{min-width:0}.overview-section header{justify-content:space-between;align-items:start;gap:18px;display:flex}.overview-section header>strong{white-space:nowrap;font-size:17px}.tx-list{border-top:1px solid var(--border)}.tx-row{border-bottom:1px solid var(--border);grid-template-columns:9em minmax(0,1fr) auto;align-items:start;gap:8px 18px;padding:18px 0;display:grid}.tx-row>*,.tx-done>*{min-width:0}.tx-when{color:var(--text-muted);font-size:11px}.tx-when strong{color:var(--text);margin-bottom:3px;font-size:13px;font-weight:600;display:block}.tx-bank{color:var(--text-soft);overflow-wrap:anywhere;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.tx-amount{font-size:16px;font-weight:600}.tx-fields{flex-wrap:wrap;grid-column:2/-1;align-items:center;gap:10px;display:flex}.tx-fields .tx-note{flex:220px;width:auto}.tx-fields .tx-category{flex:0 auto;width:auto;max-width:100%}.tx-category.missing{border-color:var(--warn-strong)}.category-picker{flex:0 19em;min-width:12em;position:relative}.tx-fields .category-picker .tx-category{width:100%}.category-options{z-index:20;background:var(--surface);border:1px solid var(--border-strong);width:max-content;min-width:100%;max-width:min(26em,90vw);max-height:17em;box-shadow:0 8px 24px var(--shadow);border-radius:6px;margin:0;padding:4px;font-size:13px;list-style:none;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto}.category-options li{color:var(--text);cursor:pointer;border-radius:4px;padding:7px 10px}.category-options li[aria-selected=true]{background:var(--selected)}.category-options li.current{font-weight:600}.category-options li.empty{color:var(--text-muted);cursor:default}.chips{flex-wrap:wrap;gap:5px;display:inline-flex}.chip{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-soft);border-radius:999px;padding:6px 12px;font-size:12px;font-weight:500}.chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.extra-toggle{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-muted);border-radius:5px;align-items:center;gap:6px;min-height:38px;padding:7px 11px;font-size:12px;font-weight:550;display:inline-flex}.extra-toggle[aria-pressed=true]{border-color:var(--extra);color:var(--extra);background:var(--extra-bg)}.tx-hint{color:var(--text-muted);flex-wrap:wrap;grid-column:2/-1;align-items:center;gap:6px 16px;font-size:12px;display:flex}.tx-hint .checkbox-label{align-items:center;gap:7px;display:inline-flex}.tag{background:var(--surface-muted);color:var(--accent-text);border-radius:4px;padding:3px 8px;font-size:11px;font-weight:550}.tx-bank .tag{white-space:nowrap;margin-left:10px;font-family:Inter,system-ui,-apple-system,sans-serif}.tag.todo,.tag.warn{background:var(--warn-bg);color:var(--warn)}.tx-done{border-bottom:1px solid var(--border);grid-template-columns:4em minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:11px 0;font-size:13px;display:grid}.third-party-form{border-bottom:1px solid var(--border);gap:12px;padding:16px 0 18px;display:grid}.third-party-form .section-note{margin:0}.third-party-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.third-party-row input{flex:13em;width:auto;min-width:0}.third-party-row input[type=date],.third-party-row .fund-amount-input{flex:0 10em}.third-party-row .category-picker{flex:22em;max-width:30em}.third-party-row .category-picker .tx-category{width:100%}.third-party-label{color:var(--text-muted);font-size:12px}.tx-what strong{overflow-wrap:anywhere;font-weight:550;display:block}.tx-what small{color:var(--text-muted);overflow-wrap:anywhere;margin-top:4px;font-size:11px;display:block}.month-notes{flex-wrap:wrap;align-items:center;gap:6px 22px;min-height:20px;padding-top:12px;font-size:12px;display:flex}.extra-note{color:var(--extra)}.month-picker{gap:10px;min-width:0;max-width:100%;display:grid}.month-stepper{align-items:center;gap:8px;display:inline-flex}.month-stepper strong{text-align:center;min-width:9.5em;font-size:15px;font-weight:600}.month-stepper .icon-button.quiet[aria-pressed=true]{color:var(--accent-text);background:var(--selected)}.month-strip{gap:4px;max-width:100%;padding-bottom:2px;display:flex;overflow-x:auto}.month-strip button{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-soft);border-radius:5px;flex:none;padding:7px 11px;font-size:12px;font-weight:500}.month-strip button:hover{background:var(--surface-muted)}.month-strip button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}.year-headlines{grid-template-columns:repeat(3,minmax(0,1fr))}.year-table{margin-top:14px;font-size:13px}.year-table tbody tr:not(.year-detail){cursor:pointer}.year-table tbody tr:not(.year-detail):hover,.year-table tr.expanded{background:var(--selected)}.year-table td{padding-block:12px}.year-table .unused td{color:var(--text-muted)}.year-table tfoot td{background:var(--surface-muted);border-bottom:0;font-weight:600}.year-month{color:inherit;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:550;display:inline-flex}.extra-tag{background:var(--extra-bg);color:var(--extra);white-space:nowrap;margin-left:10px}.year-table .year-detail td{background:var(--surface);max-width:none;padding:6px 12px 18px 33px}.year-extra{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px;display:grid}.property-toggle[aria-pressed=true]{border-color:var(--info);color:var(--info);background:var(--surface-muted)}.property-note,.year-extra .property h4{color:var(--info)}.property-tag{background:var(--surface-muted);color:var(--info);margin-left:6px}.year-extra h4{color:var(--extra);justify-content:space-between;gap:12px;margin:12px 0 4px;font-size:12px;display:flex}.year-extra ul{margin:0;padding:0;list-style:none}.year-extra li{border-top:1px solid var(--border);grid-template-columns:3.4em minmax(0,1fr) auto;align-items:baseline;gap:10px;padding:8px 0;font-size:12px;display:grid}.year-detail-footer{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:8px 18px;margin:14px 0 0;font-size:12px;display:flex}.year-detail-footer button{margin-left:auto}.link-button{color:var(--warn);background:0 0;border:0;padding:0;font-size:12px;font-weight:550;text-decoration:underline}.month-bars{gap:10px;margin:18px 0 0;padding:0;list-style:none;display:grid}.month-bars li{grid-template-columns:minmax(0,12em) minmax(0,1fr) auto;align-items:center;gap:12px;font-size:12px;display:grid}.month-bars span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.month-bars i{background:var(--surface-muted);border-radius:2px;height:10px;display:block;overflow:hidden}.month-bars b{background:var(--negative-bar);height:100%;display:block}.month-bars .missing span,.month-bars .missing .bar-label{color:var(--warn);font-weight:600}.month-bars .bar-label{font:inherit;color:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0;overflow:hidden}.month-bars .bar-label:hover,.month-bars .focused .bar-label{color:var(--accent-text);text-decoration:underline}.month-bars .returned b{background:var(--positive)}.month-bars .returned strong{color:var(--accent-text)}.filter-chip{margin-left:12px;font-weight:500}.month-bars.income b{background:var(--positive)}.overview-stack{align-content:start;gap:28px;min-width:0;display:grid}.headline-button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.headline-button:hover,.headline-button[aria-pressed=true]{text-decoration:underline}.month-bars .missing b{background:var(--warn-strong)}.trend-chart{width:100%;height:auto;margin-top:14px;display:block}.trend-chart text{fill:var(--text-muted);font-size:11px}.trend-chart line{stroke:var(--border);stroke-width:1px}.trend-chart .in{fill:var(--positive)}.trend-chart .out{fill:var(--negative-bar)}.trend-chart g:not(.current) rect{opacity:.55}.trend-chart .current text{fill:var(--text);font-weight:700}.compare-selection{flex-wrap:wrap;align-items:center;gap:10px 14px;padding-bottom:18px;display:flex}.compare-chips{list-style:none;display:contents}.compare-chips li{border:1px solid var(--border-strong);background:var(--surface);border-radius:5px;align-items:center;gap:7px;min-height:38px;padding:3px 3px 3px 10px;font-size:12px;font-weight:550;display:inline-flex}.compare-chips i,.compare-table th i,.compare-tooltip i{border-radius:2px;flex:none;width:10px;height:10px;display:inline-block}.compare-chips .icon-button{width:28px;height:28px;min-height:0}.compare-selection .category-picker input{width:100%}.compare-suggestions{color:var(--text-muted);flex-wrap:wrap;flex-basis:100%;gap:6px 14px;margin:0;font-size:12px;display:flex}.compare-suggestions .link-button,.compare-table thead .link-button{color:var(--accent-text)}.overview-toolbar .segmented button{white-space:nowrap}.compare-section{padding:24px 0 8px}.compare-section header{flex-wrap:wrap;align-items:end}.compare-chart-wrap{margin-top:14px;position:relative}.compare-chart{touch-action:pan-y;width:100%;height:auto;display:block}.compare-chart text{fill:var(--text-muted);font-size:11px}.compare-chart text.unused{opacity:.55}.compare-chart line{stroke:var(--border);stroke-width:1px}.compare-chart .zero line{stroke:var(--border-strong)}.compare-chart .crosshair{stroke:var(--text-muted);stroke-dasharray:3 3}.compare-chart path{fill:none;stroke:currentColor;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.compare-chart circle{fill:currentColor;stroke:var(--surface);stroke-width:2px}.compare-chart .hit{fill:#0000}.compare-tooltip{z-index:5;background:var(--surface);border:1px solid var(--border-strong);min-width:12em;max-width:min(22em,80%);box-shadow:0 8px 24px var(--shadow);pointer-events:none;border-radius:6px;gap:5px;padding:10px 12px;font-size:12px;display:grid;position:absolute;top:4px;transform:translate(12px)}.compare-tooltip.left{transform:translate(calc(-100% - 12px))}.compare-tooltip span{color:var(--text-soft);align-items:center;gap:7px;display:flex}.compare-tooltip b{color:var(--text);margin-left:auto;padding-left:14px;font-weight:600}.compare-table{margin-top:10px}.compare-table td,.compare-table tbody th,.compare-table tfoot th{padding:12px}.compare-table tbody th,.compare-table tfoot th{color:var(--text);white-space:nowrap;background:0 0;border-top:0;font-size:12px;font-weight:550}.compare-table th i{margin-right:8px}.compare-table small{color:var(--text-muted);margin-top:3px;font-size:10.5px;font-weight:400;display:block}.compare-table tbody th small{margin-left:18px}.compare-table tfoot td,.compare-table tfoot th{background:var(--surface-muted);border-bottom:0;font-weight:600}.chart-legend{color:var(--text-muted);align-items:center;gap:6px;margin:8px 0 0;font-size:11px;display:flex}.chart-legend span{border-radius:2px;width:10px;height:10px}.chart-legend span.in{background:var(--positive)}.chart-legend span.out{background:var(--negative-bar);margin-left:12px}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=760px){main{width:calc(100% - 32px);margin-top:24px}.topbar{padding:14px 16px}select,input:not([type=checkbox]){font-size:16px}.test-data{display:none}h1{font-size:23px}.monthly-headlines{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}.monthly-headlines>div:nth-child(3){border-left:0;padding-left:0}.overview-grid{grid-template-columns:1fr}.toolbar-actions{gap:8px}.tabs{justify-content:space-between;gap:10px}.tabs button{flex-shrink:0;font-size:12px}.table-scroll table{min-width:600px}.toolbar{margin-top:20px}.tx-row{grid-template-columns:minmax(0,1fr) auto}.tx-row .tx-when{grid-column:1/-1}.tx-when strong{margin-right:8px;display:inline}.tx-fields,.tx-hint{grid-column:1/-1}.tx-done{grid-template-columns:3.4em minmax(0,1fr) auto}.tx-done .icon-button{grid-column:3}.month-bars li{grid-template-columns:minmax(0,8em) minmax(0,1fr) auto}.year-extra{grid-template-columns:minmax(0,1fr)}.year-table .year-detail td{padding-left:12px}.table-scroll .year-table{min-width:0}.year-table th,.year-table td{padding-inline:6px}.extra-tag{width:fit-content;margin:6px 0 0 21px;display:block}}@media (width<=380px){.toolbar-actions{width:100%}.toolbar-actions button{flex:1}.tabs{gap:6px}.tabs button{font-size:11px}.monthly-headlines>div{padding-inline:12px}.monthly-headlines>div:nth-child(odd){padding-left:0}.monthly-headlines dd{font-size:18px}}@media (prefers-reduced-motion:reduce){.spin{animation:none}}
