@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");:root{--background:#fafafa;--foreground:#18181b;--muted:#f4f4f5;--muted-foreground:#71717a;--border:#e4e4e7;--primary:#18181b;--destructive:#dc2626;--radius:10px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--background);color:var(--foreground);font:14px Inter,Arial,sans-serif}h1,h2,h3,p{margin-top:0}h1{font-size:26px;line-height:1.2;letter-spacing:-.04em;margin-bottom:7px}h2{font-size:15px;letter-spacing:-.015em}h3{font-size:14px}.muted,small{color:var(--muted-foreground)}small{display:block;font-size:12px;margin-top:3px}.eyebrow{color:var(--muted-foreground);font-size:11px;font-weight:700;letter-spacing:.09em;margin-bottom:9px}a{color:inherit}.button,button{border:1px solid var(--primary);background:var(--primary);color:#fff;border-radius:7px;min-height:38px;padding:0 14px;font:500 13px Inter,Arial,sans-serif;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.button:hover,button:hover{background:#3f3f46}.secondary{background:#fff;border-color:var(--border);color:var(--foreground)}.secondary:hover{background:var(--muted)}input,select{width:100%;height:39px;border:1px solid var(--border);background:white;border-radius:7px;padding:0 11px;font:13px Inter,Arial,sans-serif;color:var(--foreground);min-width:0;outline:none}input:focus,select:focus{border-color:#a1a1aa;box-shadow:0 0 0 3px #18181b12}.auth{min-height:100dvh;display:grid;place-items:center;background:linear-gradient(140deg,#fff,#f4f4f5);padding:22px}.hero{display:none}.auth-card{background:white;border:1px solid var(--border);border-radius:var(--radius);width:min(100%,440px);padding:32px;box-shadow:0 8px 32px #0000000a}.auth-card:before{content:"F";display:grid;place-items:center;background:var(--primary);color:white;border-radius:8px;width:40px;height:40px;margin-bottom:25px;font-weight:700;font-size:20px}.auth-card h2{font-size:22px;margin-bottom:24px}.auth-card form{display:grid;grid-gap:10px;gap:10px}.auth-card h3{margin:0 0 3px}.divider{display:flex;align-items:center;gap:10px;color:var(--muted-foreground);font-size:12px;margin:20px 0}.divider:after,.divider:before{content:"";height:1px;background:var(--border);flex:1 1}.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;padding:10px;border-radius:7px}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100dvh}.app-sidebar{position:-webkit-sticky;position:sticky;top:0;height:100dvh;border-right:1px solid var(--border);background:#fff;padding:23px 13px;display:flex;flex-direction:column}.brand{text-decoration:none;font-weight:700;font-size:15px;display:flex;align-items:center;gap:10px;padding:0 10px;margin-bottom:40px}.brand>span:first-child{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:var(--primary);color:#fff;font-size:17px}.nav-caption{font-size:10px;letter-spacing:.11em;color:var(--muted-foreground);font-weight:700;padding:0 12px;margin-bottom:10px}.side-links{display:grid;grid-gap:3px;gap:3px}.side-links a{display:flex;align-items:center;gap:12px;min-height:39px;padding:0 12px;border-radius:7px;color:#52525b;text-decoration:none;font-size:13px;font-weight:500}.side-links a.active,.side-links a:hover{background:var(--muted);color:var(--foreground)}.side-links a.active{font-weight:600}.sidebar-footer{margin-top:auto;border-top:1px solid var(--border);padding:18px 9px 2px;display:flex;align-items:center;gap:10px}.user-avatar{height:31px;width:31px;border-radius:50%;background:#e4e4e7;display:grid;place-items:center;font-weight:700}.user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1;font-weight:500}.text-button{background:transparent;border:0;color:var(--muted-foreground);padding:0;min-height:25px}.text-button:hover{background:transparent;color:var(--foreground)}.bottom-nav{display:none}.app-content{width:100%;max-width:1320px;margin:0 auto;padding:38px 44px 70px;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading .muted{margin:0}.grid,.stats{display:grid;grid-gap:16px;gap:16px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.panel,.stat{border:1px solid var(--border);border-radius:var(--radius);background:#fff;min-width:0}.panel{padding:20px;margin-bottom:18px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.panel-heading h2{margin:0}.stat{padding:18px}.stat>span{display:block;color:var(--muted-foreground);font-size:12px;margin-bottom:10px}.stat>strong{font-size:22px;letter-spacing:-.035em;overflow-wrap:anywhere}.positive{color:#15803d}.negative{color:#dc2626}.quiet-link{font-size:12px;color:#52525b;text-decoration:none;font-weight:500}.quiet-link:hover{text-decoration:underline}.alerts{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-bottom:20px;padding:12px 15px;border:1px solid #fcd34d;border-radius:var(--radius);background:#fffbeb;color:#854d0e;font-size:12px}.alerts span{padding-left:11px;border-left:1px solid #fcd34d}.line{display:flex;align-items:center;justify-content:space-between;gap:12px}.line b,.line strong{font-size:13px}.budget-list,.debt-list,.report-bars{display:grid;grid-gap:20px;gap:20px}.bar{height:7px;background:var(--muted);overflow:hidden;margin-top:9px}.bar,.bar i{border-radius:99px}.bar i{display:block;height:100%;background:var(--primary)}.bar i.danger,.bar i.expense-bar{background:var(--destructive)}.bar i.income-bar{background:#16a34a}.compact-list{display:grid;grid-gap:15px;gap:15px}.compact-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.compact-list b{font-size:13px}.compact-list>div:not(:last-child){padding-bottom:13px;border-bottom:1px solid #f4f4f5}.empty{color:var(--muted-foreground);font-size:13px;margin:2px 0}.activity-list{display:grid}.activity-item{display:flex;align-items:center;gap:12px;min-width:0;padding:13px 0}.activity-item:not(:last-child){border-bottom:1px solid var(--border)}.account-symbol,.activity-icon{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fef2f2;color:#dc2626;font-weight:700;font-size:18px}.activity-icon.income{background:#f0fdf4;color:#15803d}.activity-main{min-width:0;flex:1 1}.activity-main b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-item>b,.activity-item>strong{white-space:nowrap;font-size:13px}.activity-date{color:var(--muted-foreground);font-size:12px;white-space:nowrap}.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));scroll-margin-top:30px}.form-grid,.form-stack{display:grid;grid-gap:10px;gap:10px}.form-stack button{justify-self:start}.filters{display:grid;grid-template-columns:180px 1fr 1fr auto;grid-gap:9px;gap:9px;margin-bottom:13px}.pagination{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);margin-top:9px;padding-top:16px;color:var(--muted-foreground);font-size:12px}.pagination a{color:var(--foreground);font-weight:600;text-decoration:none}.account-list{display:grid}.account-row{display:flex;align-items:center;gap:11px;padding:13px 0}.account-row:not(:last-child){border-bottom:1px solid var(--border)}.account-row>span:nth-child(2){min-width:0;flex:1 1}.account-row>span:nth-child(2) b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-row>strong{white-space:nowrap;text-align:right}.account-symbol{background:var(--muted);color:var(--foreground);font-size:16px}.category-chips{display:flex;flex-wrap:wrap;gap:8px}.category-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:99px;padding:6px 10px;font-size:12px}.category-chip i{width:8px;height:8px;border-radius:50%}.debt-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.more-links{display:grid}.more-links a{display:flex;align-items:center;gap:14px;text-decoration:none;padding:14px 4px}.more-links a:not(:last-child){border-bottom:1px solid var(--border)}.more-links a>span:nth-child(2){flex:1 1}.more-links a b{display:block}.more-links a:hover{color:#52525b}.signout{width:100%}@media(max-width:1050px){.app-content{padding:32px 24px 80px}.form-grid,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.app-shell{display:block}.app-sidebar{display:none}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:20;bottom:0;left:0;right:0;background:#ffffffee;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--border);padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));min-height:62px}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:var(--muted-foreground);font-size:10px;min-width:0}.bottom-nav a.active{color:var(--foreground);font-weight:700}.bottom-nav a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.app-content{padding:25px 18px calc(92px + env(safe-area-inset-bottom))}.grid.two{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading .button{font-size:0;width:39px;min-width:39px;padding:0}.page-heading .button svg{width:19px;height:19px}.filters{grid-template-columns:1fr 1fr}.filters button{grid-column:1/-1}}@media(max-width:480px){h1{font-size:23px}.stats{gap:10px}.stat{padding:14px}.stat>strong{font-size:18px}.panel{padding:16px}.form-grid{grid-template-columns:1fr}.activity-date{display:none}.activity-item{gap:9px}.activity-item>b,.activity-item>strong{font-size:12px}.line{align-items:flex-start}.line b,.line span{font-size:12px}.page-heading{margin-bottom:22px}}