:root{color:#1d1d1f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f5f5f7;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:4px solid #0071e338}.app-shell{background:#f5f5f7;min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:saturate(180%)blur(20px);backdrop-filter:saturate(180%)blur(20px);background:#fafafcd1;border-bottom:1px solid #0000000f;justify-content:space-between;align-items:center;height:48px;padding:0 max(22px,50vw - 512px);display:flex;position:sticky;top:0}.brand{color:#1d1d1f;letter-spacing:-.22px;align-items:center;gap:8px;font-size:15px;font-weight:600;text-decoration:none;display:inline-flex}.brand-mark{color:#fff;background:#1d1d1f;border-radius:8px;place-items:center;width:25px;height:25px;display:grid}.brand-mark svg{width:16px}.topbar-actions{align-items:center;gap:16px;display:flex}.month-pill{color:#515154;align-items:center;gap:6px;font-size:12px;display:flex}.month-pill select{max-width:150px;color:inherit;font:inherit;background:0 0;border:0;border-radius:8px;outline:0;padding:5px 22px 5px 4px}.month-pill select:hover,.month-pill select:focus-visible{background:#0000000d}.avatar{color:#fff;background:linear-gradient(145deg,#0071e3,#5856d6);border:0;border-radius:50%;width:28px;height:28px;font-size:12px;font-weight:600}main{width:min(1180px,100% - 44px);margin:auto;padding:58px 0 80px}.demo-banner{color:#6e6e73;background:#fff;border-radius:999px;align-items:center;gap:7px;width:fit-content;margin:-30px auto 34px;padding:8px 13px;font-size:12px;display:flex;box-shadow:0 1px 4px #0000000f}.toast{z-index:60;color:#fff;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#1d1d1fe6;border:0;border-radius:999px;align-items:center;gap:14px;padding:12px 15px;font-size:13px;display:flex;position:fixed;top:64px;right:22px;box-shadow:0 12px 34px #0000002e}.welcome-row{justify-content:space-between;align-items:center;gap:44px;min-height:180px;margin-bottom:38px;display:flex}.eyebrow{color:#86868b;letter-spacing:.08em;margin:0 0 9px;font-size:11px;font-weight:600;line-height:1}h1,h2{color:#1d1d1f;letter-spacing:-.04em;margin:0}h1{max-width:790px;font-size:clamp(42px,6vw,68px);font-weight:700;line-height:.98}h2{font-size:24px;font-weight:650;line-height:1.1}.subhead{color:#6e6e73;letter-spacing:-.02em;margin:15px 0 0;font-size:19px}.add-button,.save-button{color:#fff;white-space:nowrap;background:#0071e3;border:0;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:11px 19px;font-size:14px;font-weight:500;transition:background .18s,transform .18s;display:flex}.add-button:hover,.save-button:hover{background:#0077ed;transform:scale(1.015)}.metrics{grid-template-columns:1.15fr 1fr;gap:14px;display:grid}.metric-card,.panel{background:#fff;border:0;border-radius:28px;position:relative;overflow:hidden;box-shadow:0 2px 10px #00000006}.metric-card{min-height:190px;padding:27px 28px}.budget-card{width:100%;color:inherit;text-align:left;cursor:pointer;font:inherit;border:0;transition:transform .18s,box-shadow .18s}.budget-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px #00000012}.metric-card.featured{color:#ffffffab;isolation:isolate;background:#000}.metric-card.featured:before{content:"";z-index:-1;filter:blur(18px);background:radial-gradient(circle,#146effcc,#5856d659 34%,#0000 70%);border-radius:50%;height:260px;position:absolute;inset:-50% -15% auto 30%}.metric-heading{color:#6e6e73;justify-content:space-between;align-items:center;font-size:13px;font-weight:500;display:flex}.featured .metric-heading{color:#ffffffb8}.metric-icon{color:#0071e3;background:#f2f7fd;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.metric-icon.gold{color:#ff9f0a;background:#fff7e8}.featured .metric-icon{color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff24}.metric-card>strong{color:#1d1d1f;letter-spacing:-.055em;margin-top:22px;font-size:clamp(32px,4vw,46px);line-height:1;display:block}.featured>strong{color:#fff}.metric-foot{color:#86868b;align-items:center;gap:7px;margin-top:18px;font-size:12px;display:flex}.featured .metric-foot{color:#ffffff94}.metric-foot.spaced{justify-content:space-between}.trend{align-items:center;gap:1px;font-weight:600;display:inline-flex}.trend.warm{color:#ff9f0a}.trend.cool{color:#34c759}.featured .trend.warm{color:#ffb340}.progress{background:#e8e8ed;border-radius:99px;height:7px;margin-top:22px;overflow:hidden}.progress span{border-radius:inherit;background:linear-gradient(90deg,#0071e3,#5856d6);height:100%;display:block}.insight-grid{grid-template-columns:1.45fr 1fr;gap:14px;margin-top:14px;display:grid}.panel{padding:30px}.panel-title,.transaction-header,.modal-heading{justify-content:space-between;align-items:flex-start;display:flex}.icon-button{color:#86868b;background:0 0;border:0;border-radius:50%;padding:5px}.icon-button:hover{background:#f5f5f7}.area-chart{height:245px;margin-top:26px}.bar-chart{height:202px;margin-top:24px}.badge{color:#6e6e73;background:#f5f5f7;border-radius:50%;place-items:center;min-width:30px;height:30px;font-size:12px;font-weight:600;display:grid}.category-note{color:#86868b;align-items:center;gap:7px;margin:14px 0 0;font-size:12px;display:flex}.category-note>span{border-radius:50%;width:7px;height:7px}.chart-empty{color:#86868b;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:7px;height:245px;display:flex}.chart-empty>span{color:#0071e3;background:#f2f7fd;border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.chart-empty strong{color:#1d1d1f;margin-top:3px;font-size:14px}.chart-empty small{font-size:12px}.ledger-panel{margin-top:14px}.ledger-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px;display:flex}.ledger-total{flex-direction:column;align-items:flex-end;gap:3px;display:flex}.ledger-total span{color:#86868b;font-size:11px}.ledger-total strong{color:#1d1d1f;letter-spacing:-.04em;font-size:22px}.ledger-grid{background:#e5e5ea;border:1px solid #e5e5ea;border-radius:18px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1px;display:grid;overflow:hidden}.ledger-column{background:#fbfbfd;min-width:0}.ledger-column header{background:#f5f5f7;border-bottom:1px solid #e5e5ea;grid-template-columns:9px 1fr auto;align-items:center;gap:8px;min-height:59px;padding:14px 15px;display:grid}.ledger-column header>strong{color:#1d1d1f;font-size:13px}.ledger-column header>b{color:#515154;font-size:12px}.ledger-dot{border-radius:50%;width:8px;height:8px}.ledger-rows{min-height:138px;padding:5px 15px 12px}.ledger-row-swipe{border-bottom:1px solid #ededf0;grid-template-columns:minmax(0,1fr) auto;display:grid}.ledger-row-swipe:last-child{border-bottom:0}.ledger-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;display:grid}.ledger-row span{color:#515154;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.ledger-row strong{color:#1d1d1f;font-variant-numeric:tabular-nums;font-size:12px}.ledger-row-actions{justify-content:flex-end;align-items:center;gap:2px;display:flex}.ledger-edit,.ledger-delete{background:0 0;border:0;border-radius:50%;place-items:center;width:26px;height:26px;padding:0;display:grid}.ledger-edit span,.ledger-delete span{display:none}.ledger-edit{color:#0071e3}.ledger-delete{color:#ff3b30}.ledger-edit:hover{background:#eef6ff}.ledger-delete:hover{background:#fff0ef}.ledger-empty{color:#aeaeb2;padding:18px 0;font-size:12px;display:block}.ledger-empty-state{color:#86868b;text-align:center;background:#fbfbfd;grid-column:1/-1;padding:32px 18px;font-size:13px}.ledger-swipe-hint{display:none}.transactions-panel{margin-top:14px;padding-bottom:14px}.transaction-header{align-items:center;margin-bottom:17px}.search{color:#86868b;background:#f5f5f7;border-radius:12px;align-items:center;gap:7px;width:230px;padding:9px 13px;display:flex}.search input{color:#1d1d1f;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:13px}.transaction{border-top:1px solid #e8e8ed;grid-template-columns:46px 1fr 90px 110px 70px;align-items:center;gap:12px;min-height:72px;display:grid}.transaction-icon{background:#f5f5f7;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.transaction-main{flex-direction:column;gap:4px;min-width:0;display:flex}.transaction-main strong{color:#1d1d1f;font-size:14px;font-weight:600}.result-count{vertical-align:2px;color:#6e6e73;letter-spacing:0;background:#f5f5f7;border-radius:99px;place-items:center;min-width:27px;height:27px;margin-left:5px;font-size:11px;display:inline-grid}.transaction-main span,.transaction time{color:#86868b;font-size:12px}.transaction-amount{color:#1d1d1f;text-align:right;font-size:14px}.transaction-actions{justify-content:flex-end;gap:2px;display:flex}.edit,.delete{opacity:1;background:0 0;border:0;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;transition:background .18s,transform .18s;display:grid}.edit{color:#0071e3}.delete{color:#ff3b30}.edit:hover{background:#eef6ff;transform:scale(1.06)}.delete:hover{background:#fff0ef;transform:scale(1.06)}.view-all{color:#0071e3;background:0 0;border:0;margin:12px auto 0;padding:8px 14px;font-size:13px;display:block}.empty{color:#86868b;flex-direction:column;align-items:center;gap:8px;padding:46px 20px;display:flex}.empty strong{color:#1d1d1f}footer{color:#86868b;border-top:1px solid #d2d2d7;justify-content:space-between;padding:28px max(22px,50vw - 512px);font-size:11px;display:flex}footer b{color:#424245}.modal-backdrop{z-index:100;-webkit-backdrop-filter:saturate(150%)blur(18px);backdrop-filter:saturate(150%)blur(18px);background:#00000057;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.expense-modal{background:#fffffff5;border-radius:30px;width:min(520px,100%);padding:30px;animation:.25s cubic-bezier(.2,.8,.2,1) modal-in;box-shadow:0 32px 100px #0000003d}@keyframes modal-in{0%{opacity:0;transform:translateY(18px)scale(.97)}}.expense-modal form{flex-direction:column;gap:15px;margin-top:25px;display:flex}.expense-modal label{color:#6e6e73;flex-direction:column;gap:7px;font-size:12px;font-weight:500;display:flex}.expense-modal label>span{justify-content:space-between;display:flex}.expense-modal em{color:#aeaeb2;font-style:normal;font-weight:400}.expense-modal input,.expense-modal select{color:#1d1d1f;background:#fff;border:1px solid #d2d2d7;border-radius:11px;outline:0;width:100%;padding:11px 12px}.amount-field>div{background:#fff;border:1px solid #d2d2d7;border-radius:14px;align-items:center;display:flex;overflow:hidden}.amount-field>div:focus-within{border-color:#0071e3;box-shadow:0 0 0 4px #0071e31f}.amount-field b{color:#6e6e73;padding-left:15px;font-size:22px}.amount-field input{letter-spacing:-.03em;border:0;font-size:28px;font-weight:600}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.save-button{width:100%;margin-top:5px}.save-button:disabled{opacity:.55;cursor:wait}.compact-modal{width:min(440px,100%)}.modal-help{color:#86868b;margin:-3px 0 0;font-size:12px}.confirm-modal{text-align:center;width:min(420px,100%)}.danger-icon{color:#ff3b30;background:#fff0ef;border-radius:15px;place-items:center;width:48px;height:48px;margin:0 auto 18px;display:grid}.confirm-modal>p{color:#6e6e73;margin:12px auto 24px;line-height:1.45}.confirm-modal>p strong{color:#1d1d1f}.confirm-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.confirm-actions button{color:#1d1d1f;background:#f0f0f3;border:0;border-radius:12px;min-height:44px;font-weight:600}.confirm-actions .danger-button{color:#fff;background:#ff3b30}.confirm-actions button:disabled{opacity:.55}@media (width<=860px){main{width:min(100% - 30px,680px);padding-top:42px}.welcome-row{min-height:150px}.metrics{grid-template-columns:1fr 1fr}.insight-grid{grid-template-columns:1fr}.ledger-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=580px){.app-shell{padding-bottom:env(safe-area-inset-bottom)}.topbar{height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 15px 0}.month-pill{display:none}main{width:calc(100% - 30px);padding:38px 0 54px}.demo-banner{text-align:center;justify-content:center;width:100%;margin:-16px 0 32px;line-height:1.25}.welcome-row{flex-direction:column;align-items:flex-start;gap:26px;margin-bottom:30px}h1{font-size:45px}.subhead{font-size:17px}.add-button{width:100%}.metrics{grid-template-columns:1fr}.metric-card,.panel{border-radius:24px}.metric-card{min-height:190px;padding:27px}.panel{padding:24px 19px}.area-chart{height:210px;margin-top:20px}.bar-chart{height:190px;margin-top:18px}.ledger-heading{flex-direction:column;align-items:flex-start}.ledger-total{align-items:flex-start}.ledger-grid{grid-template-columns:1fr}.ledger-rows{min-height:auto;padding-left:0;padding-right:0}.ledger-swipe-hint{color:#86868b;margin-top:8px;font-size:11px;display:block}.ledger-row-swipe{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;grid-template-columns:100% 132px;width:100%;overflow-x:auto}.ledger-row-swipe::-webkit-scrollbar{display:none}.ledger-row{scroll-snap-align:start;background:#fbfbfd;min-height:52px;padding:0 15px}.ledger-row-actions{scroll-snap-align:end;gap:0}.ledger-edit,.ledger-delete{color:#fff;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:66px;height:52px;display:flex}.ledger-edit{background:#0071e3}.ledger-delete{background:#ff3b30}.ledger-edit span,.ledger-delete span{font-size:10px;font-weight:600;display:block}.ledger-edit:hover{background:#0077ed}.ledger-delete:hover{background:#ff453a}.transaction-header{flex-direction:column;align-items:flex-start;gap:17px}.search{width:100%}.transaction{grid-template-columns:43px minmax(0,1fr) auto 72px;gap:9px;min-height:76px;padding:8px 0}.transaction time{display:none}.transaction-amount{font-size:13px}.transaction-actions{gap:0}.edit,.delete{opacity:1;width:36px;height:36px}.transaction-main strong,.transaction-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.toast{left:15px;right:15px;top:calc(60px + env(safe-area-inset-top));justify-content:space-between}.modal-backdrop{padding:10px 10px max(10px,env(safe-area-inset-bottom));align-items:end}.form-grid{grid-template-columns:1fr}.expense-modal{border-radius:26px;max-height:calc(100dvh - 20px);padding:25px 20px;overflow-y:auto}footer{padding:22px 15px}footer span{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
