app-auto-fill{display:block;min-width:0;max-width:100%}.autofill-reference{--autofill-surface: #242424;--autofill-border: #333333;--autofill-gold: #ddb45e;--autofill-text: #f7f7f7;--autofill-copy: #d0d0d0;--autofill-muted: #969696}.autofill-reference__content.panel{min-width:0;max-width:100%;border-color:var(--autofill-border);background:var(--autofill-surface);color:var(--autofill-text)}.autofill-reference__header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:2rem}.autofill-reference__intro{flex:1 1 16rem;min-width:0}.autofill-reference__intro h2{margin:0;color:var(--autofill-gold);font-weight:700;letter-spacing:-.025em}.autofill-reference__intro>p{max-width:78rem;margin:.48rem 0 0;color:var(--autofill-copy);font-weight:500;letter-spacing:-.018em;line-height:1.42}.autofill-reference__toggle{display:inline-flex;align-items:center;gap:1.1rem;min-height:2.7rem;margin-top:1.4rem;padding:0;border:0;background:transparent;color:var(--autofill-text);font:inherit;font-size:1.25rem;font-weight:700}.autofill-reference__chevron{width:1.55rem;height:1.55rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3;transition:transform .18s ease}.autofill-reference__chevron.is-collapsed{transform:rotate(-180deg)}.autofill-reference__fill{flex:0 0 auto;min-width:6.85rem;min-height:2.82rem;margin-top:-.1rem;padding:.65rem 1rem;border:0;border-radius:999px;background:var(--autofill-gold);box-shadow:none;color:#252525;font:inherit;font-size:.98rem;font-weight:600}.autofill-reference__content,.autofill-reference__table,.autofill-reference__expenses,.autofill-reference__add{min-width:0}.autofill-reference__categories button{background:transparent;color:#f5f5f5}.autofill-reference__categories button.is-active{background:var(--autofill-gold);color:#202020}.autofill-reference__expenses{margin-top:2.5rem}.autofill-reference .item-head{color:var(--autofill-muted)}.autofill-reference .item-row{border-bottom-color:#a7a7a7;color:var(--autofill-text)}.autofill-reference .item-row.is-inactive{opacity:.46}.autofill-reference .autofill-reference__empty{color:var(--autofill-muted)}.autofill-reference__add{margin-top:0}.autofill-reference__cancel-button{border-color:#858585;background:transparent;color:#d0d0d0}.autofill-reference__note{margin:3rem 0 0;color:var(--autofill-copy);font-size:clamp(1rem,1.28vw,1.27rem);font-weight:500;line-height:1.45}.autofill-reference button:focus-visible,.autofill-reference input:focus-visible{outline:3px solid rgba(221,180,94,.78);outline-offset:3px}@media (max-width: 700px){.autofill-reference__header{flex-direction:column;gap:1.2rem}.autofill-reference__fill{align-self:flex-end}}@media (max-width: 500px){.autofill-reference__intro>p{font-size:1rem}.autofill-reference__toggle{font-size:1.1rem}}:root{color-scheme:dark;--bg: #050816;--bg-soft: #080b1a;--surface: #111827;--surface-2: #151a2e;--surface-3: #171b2f;--border: rgba(38, 50, 74, .78);--text: #f8fafc;--muted: #94a3b8;--muted-2: #a0aec0;--primary: #4f7dff;--primary-2: #3b82f6;--accent: #7c5cff;--accent-2: #8b5cf6;--positive: #22c55e;--negative: #ef4444;--warning: #f59e0b;--radius: 18px;--shadow: 0 24px 80px rgba(0, 0, 0, .38);--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--app-header-height: 0px;--toast-max-inline-size: 40rem;--mobile-bottom-nav-height: 82px}*{box-sizing:border-box}html,body{min-height:100%;margin:0;background:radial-gradient(circle at 15% 0%,rgba(79,125,255,.2),transparent 34rem),radial-gradient(circle at 92% 12%,rgba(124,92,255,.16),transparent 30rem),linear-gradient(135deg,var(--bg),#0b1020 62%,var(--bg-soft));color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{overflow-x:hidden}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.56}input,select{width:100%;border:1px solid var(--border);border-radius:14px;background:#080b1ab8;color:var(--text);outline:none;padding:.88rem .95rem;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}input:focus,select:focus{border-color:#4f7dffe0;box-shadow:0 0 0 4px #4f7dff24}table{width:100%;border-collapse:collapse}th,td{padding:1rem;border-bottom:1px solid var(--border);text-align:left}th{color:var(--muted);font-size:.78rem;text-transform:uppercase}td{color:#e5e7eb}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,480px);align-items:center;gap:2rem;padding:clamp(1.25rem,4vw,4rem)}.login-hero{max-width:680px;display:grid;gap:2rem}.login-hero h1{margin:0 0 1rem;font-size:clamp(3rem,8vw,6.5rem);line-height:.95}.login-hero p:last-child{max-width:620px;color:var(--muted-2);font-size:1.12rem;line-height:1.7}.auth-card,.panel,.summary-card,.category-card{border:1px solid var(--border);background:linear-gradient(145deg,#151a2ef0,#111827d6);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.auth-card{display:grid;gap:1.15rem;padding:clamp(1.4rem,4vw,2rem);border-radius:24px}.auth-card h2,.page-stack h2,.section-heading h3,.panel h3{margin:0}.app-shell{min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;padding:1.25rem;border-right:1px solid var(--border);background:#050816c7;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:.8rem;padding:.65rem}.brand small,.user-chip small,.settings-info small{display:block;color:var(--muted)}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;font-weight:800}.brand-mark.large{width:76px;height:76px;border-radius:22px;font-size:1.25rem}.nav-list{display:grid;gap:.4rem;margin-top:1.5rem;max-height:calc(100vh - 120px);overflow-y:auto;padding-right:.25rem}.nav-list a,.bottom-nav a{display:flex;align-items:center;gap:.75rem;color:var(--muted-2);border-radius:14px;padding:.85rem;transition:background .16s ease,color .16s ease}.nav-list a.active,.nav-list a:hover,.bottom-nav a.active{color:#fff;background:#4f7dff24}.main-panel{min-width:0}.topbar{position:sticky;top:0;z-index:4;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1.25rem clamp(1rem,3vw,2rem);border-bottom:1px solid var(--border);background:#050816b3;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.topbar h1{margin:.2rem 0 0;font-size:1.2rem}.user-chip{display:flex;align-items:center;gap:.75rem;padding:.55rem .7rem;border:1px solid var(--border);border-radius:999px;background:#111827b8}.user-chip>span,.settings-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#7c5cff38;color:#fff;font-weight:800}.profile-menu{position:relative}.profile-actions{position:absolute;right:0;top:calc(100% + .5rem);z-index:20;min-width:13rem;display:grid;gap:.35rem;padding:.75rem;border:1px solid var(--border);border-radius:.75rem;background:#111827;box-shadow:0 12px 32px #0000004d}.profile-actions a,.profile-actions button{text-align:left;color:inherit;background:none;border:0;padding:.45rem;cursor:pointer}.content-shell{width:min(1260px,100%);margin:0 auto;padding:clamp(1rem,3vw,2rem);padding-bottom:6rem}.page-stack{display:grid;gap:1.25rem}.anchor-section{scroll-margin-top:calc(var(--app-header-height) + var(--space-4))}.toolbar-row,.section-heading,.income-form,.button-row,.category-top,.expense-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.eyebrow{margin:0 0 .35rem;color:var(--primary);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.field{display:grid;gap:.45rem}.field span,.check-field span,.settings-info span{color:var(--muted);font-size:.82rem;font-weight:700}.field small{color:#fca5a5}.field.compact{min-width:180px}.check-field{display:flex;align-items:center;gap:.65rem}.check-field input{width:18px;height:18px}.primary-button,.secondary-button,.ghost-button,.danger-button,.icon-button{border:0;border-radius:14px;color:#fff;font-weight:800;padding:.88rem 1rem}.primary-button{background:linear-gradient(135deg,var(--primary),var(--accent));box-shadow:0 16px 36px #4f7dff3d}.secondary-button,.ghost-button{border:1px solid var(--border);background:#4f7dff1a}.danger-button,.icon-button.danger{background:#ef444429;color:#fecaca}.icon-button{width:38px;height:38px;display:grid;place-items:center;padding:0;background:#ffffff14}.summary-grid,.category-grid,.skeleton-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.summary-card,.panel,.category-card{border-radius:var(--radius);padding:1.15rem}.summary-card{display:flex;align-items:flex-start;gap:1rem}.summary-card p,.summary-card small{margin:0;color:var(--muted)}.summary-card strong{display:block;margin:.25rem 0;font-size:clamp(1.25rem,2.4vw,1.7rem)}.summary-card.positive strong{color:var(--positive)}.summary-card.negative strong,.negative-text{color:#fca5a5}.summary-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#4f7dff29;color:#bfdbfe;font-weight:900}.dashboard-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:1rem}.domestic-budget-grid{grid-template-columns:minmax(240px,.9fr) minmax(0,1.8fr) minmax(260px,1fr);align-items:start}.donut{width:min(190px,100%);aspect-ratio:1;border-radius:50%;margin:1rem auto;border:18px solid rgba(15,23,42,.9)}.domestic-page{gap:1.5rem}.dashboard-feature,.dashboard-journey app-journey{width:100%;min-width:0;max-width:100%}.dashboard-feature{display:grid;gap:1.5rem}.dashboard-feature__header,.goals-feature>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:1.25rem;border-bottom:1px solid rgba(212,170,91,.45)}.dashboard-feature__header h2,.goals-feature>header h2{margin:0;font-size:clamp(2rem,3vw,3.25rem);letter-spacing:-.04em}.dashboard-feature__header p,.goals-feature>header p{margin:.35rem 0 0;font-size:1.15rem}.domestic-page .badge{border-color:#d8aa56;background:transparent;color:var(--text);padding:.7rem 1rem}.income-row{display:grid;grid-template-columns:300px 370px;justify-content:center;align-items:end;gap:2rem;padding:2rem 0}.income-row app-month-selector{width:300px}.income-row app-month-selector ::ng-deep .field{gap:0;margin:0}.income-row app-month-selector ::ng-deep .field>span{display:none}.income-row app-month-selector ::ng-deep input{min-height:80px;border:0;border-radius:22px;background:#ddb45e;color:#181818;padding:1rem 1.25rem;text-align:center;font-size:1.45rem;font-weight:800}.income-row app-month-selector ::ng-deep input::-webkit-calendar-picker-indicator{filter:brightness(0);opacity:.72}.income-amount{display:grid;gap:.7rem;min-width:0}.income-row small{color:#ddb45e;font-size:1.1rem;font-weight:800}.income-inline-form{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:.65rem}.income-inline-form.is-editing{grid-template-columns:minmax(0,1fr) 44px 44px}.income-inline-form input{min-height:60px;border:2px solid rgba(255,255,255,.62);border-radius:16px;padding:1rem 1.2rem;font-size:1.2rem;font-weight:800}.income-inline-form .round{margin:0}.round.income-confirm{background:#2eae4b;color:#fff}.round.income-cancel{background:#ddb45e;color:#fff}.domestic-page .summary-panel{overflow:hidden}.summary-head,.summary-row{display:grid;grid-template-columns:minmax(150px,1.35fr) repeat(4,minmax(94px,1fr));align-items:center;gap:.75rem;padding:.72rem 0}.summary-head{color:var(--muted);border-bottom:1px solid var(--border)}.summary-row{border-bottom:1px dashed rgba(148,163,184,.35)}.summary-row span,.summary-row b{min-width:0;overflow-wrap:anywhere}.summary-panel footer{display:flex;gap:1.5rem;padding-top:1.25rem}.summary-panel footer strong{display:grid;gap:.25rem;font-size:1.25rem;color:var(--success)}.summary-panel footer small{color:var(--text);font-size:.78rem}.dot{display:inline-block;width:12px;height:12px;margin-right:.65rem;border-radius:50%}.domestic-budget-grid>.panel{min-height:520px}.domestic-budget-grid>.panel>h3{color:#ddb45e;font-size:1.45rem}.domestic-budget-grid>.panel:first-child>strong{display:block;text-align:center;margin-top:.5rem;font-size:1.45rem}.domestic-budget-grid>.panel:first-child>p{text-align:center;font-weight:700}.domestic-budget-grid>.panel:first-child>div:not(.donut){display:inline-block;width:50%;padding:.45rem 0}.bucket-nav{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem 0}.bucket-nav button{min-height:42px;padding:.5rem .85rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}.bucket-nav button.active,.bucket-nav button:hover{border-color:var(--primary);background:#6366f133}.bucket-icons{display:flex;flex-wrap:wrap;min-width:0;justify-content:flex-end;gap:1.25rem;padding:1rem 0 2rem;border-bottom:1px solid var(--border)}.bucket-icons button,.round{border:0;color:#fff;background:transparent;font:inherit;font-size:1.45rem;min-width:44px;min-height:44px;border-radius:50%}.bucket-icons button{display:grid;place-items:center;flex:0 0 44px;padding:0}.bucket-icons .bucket-icon{width:1.45rem;height:1.45rem;fill:currentColor}.bucket-icons .bucket-icon--stroke{fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.bucket-icons .bucket-icon--target circle:last-child{fill:currentColor;stroke:none}.bucket-icons button.active{background:#ddb45e;color:#151515}.bucket-panel{min-width:0;max-width:100%;padding:2.5rem;background:#242424}.bucket-panel h3{color:#ddb45e;margin:0 0 2.25rem}.item-head,.item-row{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) 240px 140px;align-items:center;gap:1rem;padding:1.3rem 1.5rem;border-bottom:1px dotted rgba(255,255,255,.55)}.item-head>*,.item-row>*{min-width:0;overflow-wrap:anywhere}.item-head{color:var(--muted);padding-top:0}.round{font-size:1.1rem;margin-right:.5rem;background:#ddb45e;color:#181818}.item-row-editing{margin:0}.item-row-editing input{min-height:60px;border:3px solid #ddb45e;border-radius:16px;background:#1c1c1c;color:#fff;font-size:1.25rem;font-weight:800}.item-row-actions:not(.expense-row-actions){display:flex;align-items:center;gap:.65rem}.item-row-actions:not(.expense-row-actions) .round{margin:0}.expense-row-actions{display:flex;align-items:center;gap:.45rem;opacity:0;pointer-events:none;transform:translate(.35rem);transition:opacity .16s ease,transform .16s ease}.expense-action-row:hover .expense-row-actions,.expense-action-row:focus-within .expense-row-actions{opacity:1;pointer-events:auto;transform:translate(0)}.expense-row-actions button{width:2.25rem;height:2.25rem;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#4d4d4d;color:#f3f3f3}.expense-row-actions svg{width:1.1rem;height:1.1rem;fill:currentColor}.item-row .expense-row-action{margin:0;min-width:2.25rem;min-height:2.25rem}.item-row .expense-row-action--edit{background:#ddb45e;color:#181818}.item-row .expense-row-action--delete{background:#ef4444;color:#fff}.round.confirm{background:#2eae4b;color:#fff}.round.cancel{background:#ddb45e;color:#fff}.item-form{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:1.5rem;align-items:end}.item-form label{display:grid;min-width:0;gap:.5rem;color:#ddb45e;font-weight:700}.item-form-actions{display:flex;min-width:0;align-items:center;gap:.65rem}.bucket-footer{display:flex;gap:2rem;margin-top:3rem}.bucket-footer strong{display:grid;color:#42b55b;font-size:1.45rem}.bucket-footer strong:nth-child(2){color:#ef3e32}.bucket-footer small{color:#fff;font-size:.75rem}@media (hover: none){.expense-row-actions{opacity:1;pointer-events:auto;transform:translate(0)}}.goals-editor{max-width:1100px}.goals-feature{display:grid;gap:1.5rem;margin:0;padding:0}.goals-layout{display:grid;grid-template-columns:minmax(340px,.8fr) minmax(0,1.7fr);gap:1.5rem;margin-top:0}.goals-overview{min-height:720px;text-align:center}.goals-overview .donut{width:245px;margin:5rem auto;border-width:1px}.goals-overview>div:not(.donut){text-align:left;padding:.42rem 1rem;font-size:1.05rem}.goals-overview strong{color:#ddb45e}.goals-sliders{height:720px;overflow-y:auto;padding:2.3rem;scrollbar-color:#9e7d3c transparent}.goal-slider{margin-bottom:3.4rem}.goal-slider h3{margin:0;font-size:1.55rem}.goal-slider output{display:block;margin:.45rem 0;color:#d5d5d5;font-size:1.1rem}.goal-slider input[type=range]{width:100%;height:18px}.goal-slider>div{display:flex;justify-content:space-between;color:#d5d5d5;font-size:1.1rem}.goal-number{position:absolute;opacity:0;pointer-events:none}.goals-feature>footer{display:flex;justify-content:center;gap:1.5rem;margin-top:1.5rem}.goals-feature>footer button{min-width:300px}.goals-feature>footer .primary-button{background:#ddb45e;color:#171717}.goal-control{display:grid;grid-template-columns:minmax(0,1fr) 100px;align-items:end;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--border)}.goal-control label{display:grid;gap:.5rem;font-weight:700}.goal-control input[type=range]{accent-color:var(--primary)}.distribution-row{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.55rem 0;border-bottom:1px solid rgba(148,163,184,.16)}.allocation-dialog{position:relative;z-index:2}.distribution-control{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,140px);gap:1rem;padding:.85rem 0;border-bottom:1px solid rgba(148,163,184,.16)}.allocation-dialog input[type=range],.allocation-dialog input[type=number]{width:100%;min-height:44px}.journey-stepper{display:flex;gap:.6rem;overflow-x:auto;padding:.35rem 0 .6rem;scrollbar-width:thin}.journey-stepper a{min-width:max-content;display:flex;align-items:center;gap:.55rem;border:1px solid var(--border);border-radius:999px;padding:.65rem .85rem;background:#1118279e;color:var(--muted-2);transition:border-color .16s ease,background .16s ease,color .16s ease}.journey-stepper a.active{color:#fff;border-color:#4f7dffb8;background:linear-gradient(135deg,#4f7dff3d,#7c5cff2e)}.journey-stepper a.complete .step-index{background:#22c55e33;color:#86efac}.journey-stepper small,.badge{border:1px solid rgba(124,92,255,.34);border-radius:999px;padding:.18rem .45rem;background:#7c5cff1f;color:#ddd6fe;font-size:.68rem;font-weight:800}.step-index{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#4f7dff29;color:#bfdbfe;font-size:.78rem;font-weight:900}.guidance-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}.guidance-card,.locked-card{border:1px solid var(--border);border-radius:var(--radius);padding:1rem;background:#11182794}.guidance-card>span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#4f7dff29;color:#bfdbfe;font-weight:900}.guidance-card h3,.locked-card h3,.import-card h3{margin:.8rem 0 .45rem;font-size:1rem}.guidance-card p,.locked-card p,.import-card p,.helper-text,.coming-soon-panel p,.success-panel p{color:var(--muted);line-height:1.6}.guidance-card a{display:inline-block;margin-top:.85rem;color:#bfdbfe;font-weight:800}.next-step-panel,.success-panel,.coming-soon-panel{display:flex;align-items:center;justify-content:space-between;gap:1rem}.success-panel,.coming-soon-panel{align-items:flex-start;flex-direction:column}.success-panel h3,.coming-soon-panel h2{margin:0;font-size:clamp(1.8rem,4vw,3rem)}.success-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#22c55e29;color:#86efac;font-size:1.6rem;font-weight:900}.filters-row,.tag-row{display:flex;gap:.8rem;flex-wrap:wrap;align-items:center}.installment-preview{border:1px dashed rgba(79,125,255,.36);border-radius:14px;padding:.85rem;color:var(--muted-2);background:#4f7dff14}.card-list{display:grid;gap:1rem}.credit-card-preview{display:grid;gap:1rem;border:1px solid var(--border);border-radius:18px;padding:1rem;background:linear-gradient(135deg,#4f7dff29,#7c5cff1a)}.credit-card-preview span{color:var(--muted)}.credit-card-preview dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:0}.progress-track i.red-bar{background:var(--negative)}.progress-track i:not([style*=background]){background:linear-gradient(135deg,var(--primary),var(--accent))}.locked-card{min-height:170px}.locked-card>span{color:var(--muted)}.import-card input[type=file]{margin-top:1rem;border-style:dashed}.dashboard-grid.wide-left{grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr)}.bar-chart,.goal-list,.expense-list,.form-grid{display:grid;gap:.85rem}.bar-row{display:grid;grid-template-columns:140px minmax(0,1fr) 105px;gap:.75rem;align-items:center;color:var(--muted-2)}.bar-track,.progress-track,.stacked-bars{overflow:hidden;height:10px;border-radius:999px;background:#94a3b824}.bar-track i,.progress-track i,.stacked-bars i{display:block;height:100%;border-radius:inherit}.responsive-table{overflow-x:auto}tbody tr{transition:background .15s ease}tbody tr[routerlink],tbody tr[ng-reflect-router-link]{cursor:pointer}tbody tr:hover{background:#4f7dff14}tr.over{background:#ef444414}.category-dot{width:10px;height:10px;display:inline-block;border-radius:50%;margin-right:.5rem}.category-card{display:grid;gap:1rem;min-height:248px}.category-card h3{margin:0}.category-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;box-shadow:inset 0 0 0 1px #ffffff24}.category-icon.big{width:62px;height:62px;border-radius:20px}.category-card dl,.mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:0}.category-card div,.mini-stats div{min-width:0}dt{color:var(--muted);font-size:.76rem}dd{margin:.2rem 0 0;font-weight:800}.category-detail-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius);background:#1118278f}.category-detail-header>div:first-child{display:flex;align-items:center;gap:1rem}.expense-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--border);border-radius:16px;background:#080b1a75}.expense-item span,.expense-item small{display:block;margin-top:.25rem;color:var(--muted)}.alert{margin:0;border:1px solid var(--border);border-radius:14px;padding:.9rem 1rem}.alert.error{border-color:#ef444452;background:#ef44441f;color:#fecaca}.alert.warning{border-color:#f59e0b52;background:#f59e0b1a;color:#fde68a}.alert.info{border-color:#4f7dff57;background:#4f7dff1a;color:#bfdbfe}.empty-state{display:grid;place-items:center;gap:.45rem;min-height:220px;text-align:center;color:var(--muted)}.empty-state span{color:var(--primary);font-size:2rem}.empty-state h3{margin:0;color:#fff}.goal-total{padding:.75rem 1rem;border:1px solid rgba(34,197,94,.28);border-radius:16px;background:#22c55e1a}.goal-total.invalid{border-color:#f59e0b57;background:#f59e0b1a}.goal-total span{display:block;color:var(--muted);font-size:.75rem}.goal-total strong{font-size:1.35rem}.goal-row{display:grid;grid-template-columns:210px minmax(0,1fr) 100px;gap:1rem;align-items:center}.goal-name{min-width:0}.stacked-bars{display:flex;height:16px;margin-top:1rem}.settings-panel{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr) auto auto;align-items:center;gap:1rem}.settings-avatar{width:58px;height:58px}.back-link{width:fit-content;color:#bfdbfe;font-weight:800}.skeleton{height:140px;border-radius:var(--radius);background:linear-gradient(90deg,#ffffff0d,#ffffff1a,#ffffff0d);animation:shimmer 1.2s infinite}.bottom-nav{display:none}@keyframes shimmer{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@media (max-width: 1100px){.summary-grid,.category-grid,.skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dashboard-grid.wide-left,.domestic-budget-grid{grid-template-columns:1fr}.distribution-control{grid-template-columns:1fr;gap:.35rem}.domestic-budget-grid>.panel{min-height:auto}.domestic-budget-grid>.panel:first-child>div:not(.donut){display:block;width:100%}.summary-head{display:none}.summary-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem .8rem;padding:1rem 0}.summary-row b{grid-column:1 / -1;font-size:1.05rem}.summary-row span:before{display:block;color:var(--muted);font-size:.75rem}.summary-row span:nth-of-type(1):before{content:"Valor gasto"}.summary-row span:nth-of-type(2):before{content:"Devo gastar"}.summary-row span:nth-of-type(3):before{content:"Utilizado"}.summary-row span:nth-of-type(4):before{content:"Total"}.summary-panel footer{flex-wrap:wrap;gap:1rem}.goal-control{grid-template-columns:1fr}.goals-layout{grid-template-columns:1fr;margin-top:2rem}.goals-overview{min-height:auto}.goals-overview .donut{margin:2rem auto}.goals-sliders{height:auto;max-height:none;padding:1rem}.goals-feature>footer{flex-direction:column}.goals-feature>footer button{width:100%;min-width:0}.bucket-icons{justify-content:flex-start;gap:.5rem}.item-head{display:none}.item-row{grid-template-columns:1fr auto}.item-row>div{grid-column:1/-1}.item-form{grid-template-columns:1fr}.item-form-actions{width:100%}.item-form-actions>button{flex:1 1 0}.bucket-panel{padding:1rem}.bucket-footer{flex-wrap:wrap;gap:1rem}.settings-panel{grid-template-columns:auto minmax(0,1fr)}.guidance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.income-row{grid-template-columns:1fr;gap:1.25rem;padding:1rem 0}.income-row app-month-selector,.income-amount{width:100%}.income-row app-month-selector ::ng-deep input{min-height:68px;font-size:1.25rem}.income-inline-form input{min-height:68px;padding:1rem 1.5rem}}@media (max-width: 820px){.login-page,.app-shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{position:static}.user-chip div{display:grid;min-width:0}.user-chip strong,.user-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottom-nav{position:fixed;left:.75rem;right:.75rem;bottom:max(.75rem,env(safe-area-inset-bottom));z-index:8;display:grid;grid-template-columns:repeat(5,1fr);gap:.25rem;padding:.45rem;border:1px solid var(--border);border-radius:22px;background:#050816e0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.content-shell{width:100%;max-width:100%;min-width:0;margin-inline:0;padding-bottom:calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 24px)}.field.compact{min-width:0;width:100%}input,select,textarea{font-size:max(16px,1rem)}.primary-button,.secondary-button,.ghost-button,.icon-button{min-height:44px;min-width:44px}.responsive-table{overflow-x:auto;-webkit-overflow-scrolling:touch}.profile-actions{right:0;max-width:calc(100vw - 1.5rem)}.bottom-nav a{display:grid;justify-items:center;gap:.2rem;padding:.55rem .2rem;font-size:.86rem}.bottom-nav small{font-size:.66rem}.bottom-nav button{min-width:0;display:grid;justify-items:center;gap:.2rem;padding:.55rem .2rem;border:0;color:inherit;background:transparent;font-size:.86rem}.bottom-nav button.active{color:#fff;background:#4f7dff24;border-radius:14px}.mobile-more-overlay{position:fixed;inset:0;z-index:90;background:#00000094}.mobile-more-sheet{position:fixed;z-index:91;left:0;right:0;bottom:0;width:100%;max-width:100%;max-height:80dvh;overflow-y:auto;padding:1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));border:1px solid var(--border);border-bottom:0;border-radius:24px 24px 0 0;background:var(--surface);box-shadow:0 -18px 48px #0006;outline:none}.mobile-more-sheet header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.mobile-more-sheet h2{margin:0;font-size:1.1rem}.mobile-more-sheet a{display:flex;align-items:center;min-height:48px;padding:.7rem .8rem;border-radius:12px;color:var(--text)}.mobile-more-sheet a:focus,.mobile-more-sheet a:hover{background:#4f7dff24}.mobile-sheet-overlay{position:fixed;inset:0;z-index:9998;background:#00000085}.mobile-sheet{position:fixed;z-index:9999;left:.75rem;right:.75rem;bottom:calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom) + 1rem);max-height:min(70dvh,600px);overflow-y:auto;overflow-x:hidden;display:grid!important;visibility:visible!important;gap:.35rem;padding:1rem;border:1px solid var(--border);border-radius:22px;background:#111827;box-shadow:var(--shadow)}.mobile-sheet header{display:flex;align-items:center;justify-content:space-between}.mobile-sheet a{min-height:44px;display:flex;align-items:center;padding:.7rem;border-radius:12px}.toolbar-row,.income-form,.category-detail-header,.expense-item,.next-step-panel{align-items:stretch;flex-direction:column}.bar-row,.goal-row{grid-template-columns:1fr}.expense-actions{justify-content:flex-start;flex-wrap:wrap}.filters-row .field{width:100%}}@media (max-width: 560px){.content-shell{padding-inline:.85rem}.summary-grid,.category-grid,.skeleton-grid,.guidance-grid,.category-card dl,.mini-stats,.credit-card-preview dl{grid-template-columns:1fr}.topbar h1{font-size:1rem}.form-grid,.button-row{grid-template-columns:1fr}.button-row{align-items:stretch}.button-row>button,.button-row>a{width:100%}.summary-card strong{overflow-wrap:anywhere;font-size:clamp(1.15rem,6vw,1.8rem)}th,td{padding:.85rem}}@media (max-width: 599px){html,body,app-root{width:100%;max-width:100%;overflow-x:clip}.app-shell,.main-panel,.content-shell,.page-stack,.dashboard-summary-grid,.dashboard-summary-grid>*{width:100%;max-width:100%;min-width:0}.topbar,.toolbar-row,.profile-menu{min-width:0;max-width:100%}.user-chip{max-width:min(55vw,240px);min-width:0}.guidance-card,.panel,.summary-card,.next-step-panel,.bar-row>*,.toolbar-row>*{min-width:0;max-width:100%;overflow-wrap:anywhere}.dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.dashboard-summary-grid app-summary-card.dashboard-priority,.dashboard-summary-grid .usage-card{grid-column:1 / -1}.dashboard-summary-grid .summary-card{min-height:96px;padding:.85rem;gap:.65rem}.dashboard-summary-grid .summary-icon{width:34px;height:34px;flex:0 0 34px}.dashboard-summary-grid .summary-card p{line-height:1.2;min-height:2.4em}.dashboard-summary-grid app-summary-card.dashboard-priority .summary-card{min-height:108px;padding:1rem}.usage-card{display:block;min-height:auto!important}.usage-progress{height:8px;margin-top:.55rem;overflow:hidden;border-radius:99px;background:#ffffff1f}.usage-progress i{display:block;height:100%;border-radius:inherit;background:var(--primary)}}@media (max-width: 820px){.app-shell{width:100%;max-width:100%;overflow-x:clip}.main-panel{width:100%;max-width:100%;min-width:0;overflow-x:clip}.content-shell{padding-inline:clamp(.75rem,3vw,1rem)}}@media (max-width: 359px){.dashboard-summary-grid{grid-template-columns:1fr}.dashboard-summary-grid app-summary-card,.dashboard-summary-grid .usage-card{grid-column:auto}}.net-worth-summary-grid{display:grid;grid-template-columns:minmax(0,1fr)}.net-worth-summary-card{min-height:120px;display:grid;align-items:center}.net-worth-summary-card strong,.net-worth-card-total,.net-worth-row__amount{font-variant-numeric:tabular-nums}.net-worth-summary-card.positive strong,.net-worth-assets-total{color:var(--positive)}.net-worth-summary-card.negative strong,.net-worth-liabilities-total{color:var(--negative)}.dashboard-grid.net-worth-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.net-worth-card{min-width:0;padding:clamp(1rem,2.2vw,1.5rem)}.net-worth-card-header,.net-worth-section-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4)}.net-worth-card-header{padding-bottom:1rem;border-bottom:1px solid var(--border)}.net-worth-card-total{font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:800}.net-worth-section{display:grid;gap:var(--space-3);padding:1.25rem 0;border-bottom:1px solid var(--border)}.net-worth-section:last-child{border-bottom:0;padding-bottom:0}.net-worth-section h4{margin:0;color:var(--muted-2)}.net-worth-section-add{display:grid;flex:0 0 44px;place-items:center;color:var(--text);background:#4f7dff29}.net-worth-empty{margin:0;color:var(--muted)}.net-worth-record-list{display:grid;gap:.4rem}.net-worth-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(8.5rem,11rem) 6rem;align-items:center;gap:var(--space-3);min-height:4.25rem;padding:.65rem .75rem;border-bottom:1px dashed var(--border);border-radius:12px;outline:0;transition:background .16s ease}.net-worth-row:hover,.net-worth-row:focus,.net-worth-row:focus-within{background:#4f7dff14}.net-worth-row:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.net-worth-row__name,.net-worth-row__amount{min-width:0;overflow-wrap:anywhere}.net-worth-row__amount{text-align:end;white-space:nowrap}.net-worth-row__actions{width:6rem;display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility .16s ease}.net-worth-row:hover .net-worth-row__actions,.net-worth-row:focus .net-worth-row__actions,.net-worth-row:focus-within .net-worth-row__actions,.net-worth-row--editing .net-worth-row__actions{opacity:1;visibility:visible;pointer-events:auto}.net-worth-action{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;font-size:1.1rem;font-weight:800}.net-worth-action--edit,.net-worth-action--cancel{color:var(--bg);background:var(--warning)}.net-worth-action--confirm{color:var(--bg);background:var(--positive)}.net-worth-action--delete{color:var(--text);background:var(--negative);font-size:1.5rem}.net-worth-row__editor{grid-column:2 / -1;display:grid;grid-template-columns:minmax(0,1fr) 6rem;align-items:center;gap:var(--space-3);min-width:0}.net-worth-row__editor input{min-width:0;min-height:44px;padding:.55rem .7rem;text-align:end}.net-worth-create-form{margin-top:var(--space-2)}@media (max-width: 820px),(hover: none){.dashboard-grid.net-worth-columns{grid-template-columns:1fr}.net-worth-row{grid-template-columns:minmax(0,1fr) auto}.net-worth-row__name{grid-column:1 / -1}.net-worth-row__actions{width:auto;opacity:1;visibility:visible;pointer-events:auto}.net-worth-row__editor{grid-column:1 / -1;grid-template-columns:minmax(0,1fr) 6rem}}@media (max-width: 420px){.net-worth-card{padding:1rem}.net-worth-row{gap:var(--space-2);padding-inline:.5rem}.net-worth-row__editor{gap:var(--space-2)}}.auto-fill-section{min-width:0;outline:0}
