:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,Arial,sans-serif;color:#293e55;background:#edf2f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8cbbdf;outline-offset:2px}.app-frame{position:relative;margin:0 auto;max-width:490px;min-height:100vh;background:#f5f8fc;box-shadow:0 8px 70px #dce7f180;overflow:hidden}.screen-wrap{padding:24px 20px 126px;min-height:100vh}.topbar{display:flex;justify-content:space-between;align-items:center;margin:16px 0 17px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#8b9bae;margin-bottom:7px}.topbar h1{font-size:31px;letter-spacing:-.8px;line-height:1.1;color:#23364d;margin:0;font-weight:750}.avatar-button{border:none;border-radius:99px;width:43px;height:43px;display:flex;align-items:center;justify-content:center;color:#71879f;background:#fff;box-shadow:0 3px 14px #b5c8d516}.demo-banner{display:flex;align-items:center;gap:8px;background:#fdf3df;color:#9c7740;padding:10px 13px;border-radius:13px;font-size:11px;margin-bottom:15px}.success-banner,.error-banner{display:flex;align-items:center;gap:9px;padding:12px 13px;border-radius:13px;font-size:12px;margin:0 0 16px}.success-banner{background:#dfefe6;color:#326f57}.error-banner{background:#fde6e4;color:#ab555a}.success-banner span,.error-banner span{flex:1}.success-banner button,.error-banner button{background:none;border:none;color:inherit;padding:3px}.hero-card{background:linear-gradient(126deg,#dcecf9,#e7f2fb);border-radius:24px;padding:21px 20px 19px;color:#2c557b}.hero-line{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:650;color:#4b779a}.hero-icon{height:36px;width:36px;border-radius:12px;background:#ffffff7a;display:grid;place-items:center}.hero-amount{color:#243d58;font-size:36px;font-weight:780;letter-spacing:-1.2px;line-height:1.12;margin:12px 0 9px}.hero-caption{font-size:11px;color:#517494}.hero-date{border-top:1px solid #bdd6eb;margin-top:16px;padding-top:12px;color:#6788a5;font-size:10px}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.metric-card{background:#fff;border-radius:20px;padding:16px 14px;display:flex;flex-direction:column;gap:8px;min-height:158px}.metric-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px}.metric-icon.blue,.goal-icon.blue{background:#e0edf9;color:#6394bf}.metric-icon.pink{background:#f8e3e2;color:#bf7c7e}.metric-icon.mint,.goal-icon.mint{background:#e0f1e8;color:#65a68c}.metric-label{font-size:11px;color:#8494a4}.metric-card strong{font-size:21px;letter-spacing:-.55px;color:#2b3e54;white-space:nowrap}.metric-card small{font-size:10px;line-height:1.3;color:#9ba7b5}.section-title{display:flex;align-items:center;justify-content:space-between;margin:25px 2px 12px}.section-title h2{font-size:17px;letter-spacing:-.3px;margin:0;font-weight:750;color:#2a3b51}.subtle-link{display:inline-flex;align-items:center;gap:4px;color:#6e99be;border:0;background:none;padding:4px;font-size:12px;font-weight:650}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-card{border:0;border-radius:19px;padding:16px 7px 15px;display:flex;flex-direction:column;align-items:center;gap:9px;font-size:12px;font-weight:650;color:#3e556a;transition:transform .15s}.quick-card:active{transform:scale(.96)}.blush{background:#f8dede;color:#b87778}.sky{background:#dfeefa;color:#5789b4}.peach{background:#ffe7d6;color:#b78561}.mint{background:#e1f1e8;color:#78a995}.quick-card span{color:#4c6073}.goal-card{background:#fff;border-radius:20px;padding:16px;margin-bottom:10px;display:flex;gap:12px;align-items:flex-start}.goal-icon{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border-radius:14px}.goal-icon.peach{background:#ffebdf;color:#b57a61}.goal-body{flex:1;min-width:0}.goal-label{font-size:12px;color:#788b9c;margin-bottom:5px}.goal-value{font-size:20px;font-weight:740;color:#2c4156;letter-spacing:-.4px}.progress-track,.bar-track{background:#edf2f7;border-radius:20px;height:6px;overflow:hidden}.progress-track{margin:12px 0 7px}.progress-fill{background:#85b1d8;height:100%;border-radius:20px}.goal-target{font-size:10px;color:#8596a5}.assistant-tile{border:0;width:100%;display:flex;align-items:center;gap:12px;background:#fff;border-radius:20px;padding:15px;text-align:left;color:#7e8e9e;margin-top:22px}.ai-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#eee9f8;color:#9784bf}.assistant-tile>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:5px}.assistant-tile strong{font-size:13px;color:#3d4e62}.assistant-tile small{font-size:11px;color:#8f9bac}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);max-width:490px;width:100%;padding:9px 17px calc(10px + env(safe-area-inset-bottom));background:#ffffffed;border-top:1px solid #e8eef6;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);z-index:30}.nav-item{border:0;background:transparent;color:#98a6b5;padding:10px 0 6px;border-radius:13px;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.nav-item.active{color:#588bb9;background:#ebf4fc}.nav-item span{font-size:10px;font-weight:650}.intro,.muted{color:#8091a3;font-size:13px;line-height:1.55;margin:0 0 17px}.action-menu{display:flex;flex-direction:column;gap:11px}.action-card{display:flex;align-items:center;width:100%;padding:17px 15px;gap:13px;border:0;background:#fff;border-radius:21px;text-align:left;color:#a0afbd}.action-icon{height:51px;width:51px;border-radius:16px;display:grid;place-items:center}.action-copy{display:flex;flex-direction:column;gap:6px;flex:1}.action-copy strong{color:#35485f;font-size:14px}.action-copy small{font-size:11px;color:#8b9aab;line-height:1.4}.back-btn{border:0;background:none;display:flex;align-items:center;gap:8px;color:#6695bd;font-size:12px;padding:7px 0;margin-bottom:15px}.form-screen h2{font-size:21px;letter-spacing:-.4px;margin:0 0 7px;color:#2b3e55}.form-card{background:#fff;border-radius:22px;padding:17px;display:flex;flex-direction:column;gap:17px;margin:12px 0}.form-card.compact{margin-top:10px}.field{display:flex;flex-direction:column;gap:9px;min-width:0}.field>span{font-size:12px;font-weight:650;color:#61798c}.field input,.field select,.field textarea{color:#2e4559;width:100%;background:#f7f9fc;border:1px solid #e7edf3;border-radius:13px;padding:13px 12px;appearance:none;-webkit-appearance:none;outline:0}.field textarea{resize:vertical}.field .amount-input{font-size:29px;font-weight:730;letter-spacing:-.6px;padding:14px 13px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#90b9da;background:#fff}.primary-btn,.secondary-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border:0;border-radius:14px;padding:12px 13px;font-weight:680;font-size:13px;transition:transform .15s}.primary-btn{background:#6599c5;color:#fff}.primary-btn:active,.secondary-btn:active{transform:scale(.99)}.secondary-btn{background:#edf4fb;color:#5188b8}.full-width{margin-top:15px}.hint{font-size:11px;color:#8191a3;line-height:1.5;background:#f7f9fc;border-radius:11px;padding:10px}.hint.highlight{color:#7c7491;background:#f2effa;margin:12px 0}.hint.warning{color:#ba6365;background:#fff0ed}.period-row{display:flex;gap:7px}.period-row>input{flex:1;min-width:0;font-size:12px}.switch-row{display:flex;align-items:center;gap:3px;padding:4px;background:#e9f0f7;border-radius:13px;flex-shrink:0}.switch-row button{border:0;background:transparent;border-radius:10px;min-width:44px;padding:10px 11px;color:#8798a8;font-weight:650;font-size:12px}.switch-row button.chosen{color:#447fb0;background:#fff;box-shadow:0 2px 6px #a0bfd437}.switch-row.wide{display:grid;grid-template-columns:repeat(3,1fr);margin:10px 0}.amount-summary{border-radius:20px;background:#e3eff9;padding:16px;margin:12px 0}.amount-summary>div{display:flex;justify-content:space-between;gap:8px;padding:8px 0;color:#6385a3;font-size:12px}.amount-summary strong{color:#314e69}.amount-summary .summary-final{border-top:1px solid #c7dcea;margin-top:4px;padding-top:15px;font-weight:700}.amount-summary .summary-final strong{font-size:21px;color:#3876a7}.amount-summary strong.red{color:#b65f65}.alloc-list{display:flex;flex-direction:column;gap:9px;margin-bottom:10px}.alloc-row{background:#fff;padding:12px;border-radius:15px;display:flex;align-items:center;gap:12px}.alloc-row>div:first-child{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.alloc-row strong{font-size:12px;color:#3e5368;font-weight:650}.alloc-row small{font-size:10px;color:#94a1af}.alloc-field{background:#f5f8fb;border:1px solid #e9f0f5;border-radius:11px;display:flex;align-items:center;min-width:0;max-width:125px}.alloc-field input{min-width:0;width:100%;font-size:14px;padding:12px 5px 12px 10px;color:#3b5d7c;background:none;border:0;text-align:right;outline:0}.alloc-field span{padding-right:9px;font-size:11px;color:#8097ac}.reason-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.reason-pill{background:#f5f8fc;border:1px solid #e6edf4;border-radius:13px;padding:12px 6px;font-size:12px;color:#627a92}.reason-pill.selected{background:#dfecf8;color:#3f79a9;border-color:#c0dbef;font-weight:700}.envelope-card{display:flex;gap:12px;padding:15px;margin-bottom:10px;background:#fff;border-radius:20px}.envelope-content{flex:1;min-width:0}.envelope-head{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.envelope-head strong{color:#42576a;font-size:12px;font-weight:650}.envelope-head b{white-space:nowrap;color:#2c4359;font-size:14px}.envelope-sub{color:#91a0b0;font-size:10px;margin:7px 0}.envelope-content small{color:#8b9dab;font-size:10px}.envelope-content .positive{display:block;margin-top:6px;color:#529f7f}.month-header{background:#fff;padding:14px;border-radius:16px;display:flex;justify-content:space-between;align-items:center}.month-header label{font-size:12px;color:#7a8fa1}.month-header input{max-width:160px;border:0;font-size:13px;color:#416b90}.chart-card,.history-card{background:#fff;padding:16px;border-radius:20px}.bar-row{margin-bottom:17px}.bar-row:last-child{margin-bottom:0}.bar-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px;font-size:11px}.bar-label span{color:#627b90;flex:1}.bar-label strong{color:#354e62;white-space:nowrap}.bar-track{height:8px}.bar-fill{height:100%;border-radius:10px;background:#89b5dc}.bar-fill.color-1{background:#efb5ad}.bar-fill.color-2{background:#edd1a7}.bar-fill.color-3{background:#b6c2e5}.empty-state{min-height:140px;color:#8596a5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;font-size:13px}.empty-state small{line-height:1.6;font-size:11px}.history-entry{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f3f7}.history-entry:last-child{border-bottom:0}.history-entry.voided{opacity:.5}.history-symbol{height:35px;width:35px;display:grid;place-items:center;border-radius:11px;flex-shrink:0}.history-symbol.out{background:#fceae8;color:#c17f7f}.history-symbol.in{background:#e2f2ea;color:#58a383}.history-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.history-main strong{font-size:12px;color:#3e5268}.history-main small{font-size:10px;line-height:1.35;color:#98a6b4;overflow-wrap:anywhere}.history-amount{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}.history-amount span{color:#4b647a;font-size:12px;font-weight:660}.history-amount button{border:0;color:#bf777a;background:#fff1f0;border-radius:8px;width:24px;height:24px;display:grid;place-items:center}.center{margin:12px auto 0;display:flex}.ai-hero{background:linear-gradient(145deg,#e9e4f9,#f4effc);border-radius:23px;padding:24px;color:#69578f}.ai-mark{width:47px;height:47px;border-radius:15px;background:#ffffff93;display:grid;place-items:center}.ai-hero h2{margin:15px 0 7px;font-size:22px;color:#54436f}.ai-hero p{font-size:13px;line-height:1.65;margin:0}.forecast-line{display:flex;align-items:center;gap:9px;font-size:13px;color:#7a8192;font-weight:640}.export-card{background:#fff;border-radius:21px;padding:17px;display:flex;flex-direction:column;gap:10px}.export-head{display:flex;gap:10px;align-items:center;color:#6296bd;margin-bottom:5px}.export-head div{display:flex;flex-direction:column;gap:5px}.export-head strong{font-size:13px;color:#43546a}.export-head small{font-size:10px;color:#8b9aaa}.export-card button{border:1px solid #e5edf5;background:#f8fafd;color:#648aa9;border-radius:12px;padding:13px;font-size:12px;font-weight:650;display:flex;align-items:center;gap:10px}.note-card{display:flex;gap:10px;background:#f7f0e4;color:#927951;padding:13px;border-radius:14px;font-size:11px;line-height:1.5;margin-top:16px}.note-card svg{flex-shrink:0}.loading{height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:#7693ad}.spinner{width:20px;height:20px;border:3px solid #d4e5f4;border-top-color:#709cc1;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-bg{display:flex;align-items:center;justify-content:center;padding:25px}.login-shell{width:100%;padding:35px 24px;background:#fff;border-radius:27px}.login-mark{width:64px;height:64px;background:#dcecf9;color:#578cbb;display:grid;place-items:center;border-radius:19px;margin-bottom:22px}.login-shell h1{font-size:32px;letter-spacing:-.8px;margin:0 0 10px;color:#273d53}.login-shell p{color:#8495a4;font-size:13px;line-height:1.6}.login-form{display:flex;flex-direction:column;gap:12px;margin-top:23px}.login-form label{font-size:12px;color:#617a8e;font-weight:650}.login-form input{border:1px solid #dde8f3;background:#f8fbfe;border-radius:12px;padding:14px}.inline-error{font-size:12px;color:#b86569}.foot-hint{margin-top:24px;color:#a3afbb;font-size:11px;line-height:1.6}@media(max-width:400px){.screen-wrap{padding:19px 14px 115px}.hero-amount{font-size:32px}.metric-card strong{font-size:19px}.alloc-row{gap:8px}.goal-card{padding:13px}.topbar h1{font-size:29px}}@media(min-width:700px){.app-frame{margin:28px auto;min-height:844px;border-radius:32px}.bottom-nav{bottom:0}.screen-wrap{padding-bottom:125px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
