: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)}*{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}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}.content-shell{width:min(1260px,100%);margin:0 auto;padding:clamp(1rem,3vw,2rem);padding-bottom:6rem}.page-stack{display:grid;gap:1.25rem}.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}.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))}.small-actions{justify-content:flex-start;margin-top:.75rem}.small-actions .secondary-button{padding:.55rem .7rem;font-size:.82rem}.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{grid-template-columns:1fr}.settings-panel{grid-template-columns:auto minmax(0,1fr)}.guidance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 820px){.login-page,.app-shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{position:static}.user-chip div{display:none}.bottom-nav{position:fixed;left:.75rem;right:.75rem;bottom:.75rem;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)}.bottom-nav a{display:grid;justify-items:center;gap:.2rem;padding:.55rem .2rem;font-size:.86rem}.bottom-nav small{font-size:.66rem}.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}th,td{padding:.85rem}}
