
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18233a;background:#e9edf4;font-synthesis:none;--blue:#315be8;--muted:#7b879c;--line:#e9edf5;--green:#147a5a;--red:#c55355}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #98b7ff;outline-offset:2px}a{color:var(--blue);text-decoration:none}.app{max-width:480px;min-height:100dvh;margin:auto;background:#f4f6fb;position:relative;padding:env(safe-area-inset-top) 0 calc(100px + env(safe-area-inset-bottom))}header{display:flex;align-items:center;justify-content:space-between;padding:24px 22px 18px}.brand{display:flex;gap:10px;align-items:center;color:#19233a;font-size:22px;font-weight:800;letter-spacing:-.8px}.brand-light{font-weight:400}.brand small{font-size:8px;letter-spacing:2px;color:#939eb0;display:block;margin-top:3px}.brand-icon{display:grid;place-items:center;width:39px;height:43px;border-radius:14px 14px 18px 18px;background:#315be8;color:white;font-style:italic;box-shadow:0 6px 16px #315be825}.icon-btn{border:1px solid var(--line);background:#fff;width:44px;height:44px;border-radius:50%;color:#24324e;display:grid;place-items:center;font-weight:700;flex-shrink:0}main{padding:0 20px}h1{font-size:27px;line-height:1.2;letter-spacing:-1px;margin:9px 0 8px}h2{font-size:18px;letter-spacing:-.4px;margin:0}h3{font-size:15px;margin:0 0 6px}p{font-size:13px;line-height:1.65;margin:8px 0;color:var(--muted)}small{font-size:11px;color:var(--muted)}.eyebrow{font-size:10px;color:#8793a8;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}.topline,.section-title,.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.topline{margin:6px 0 16px}.wallet-select{max-width:70%;border:0;background:transparent;padding:8px 0;color:#42506b;font-size:12px;min-height:44px}.status-dot{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#7d8ba3}.status-dot:before{content:'';width:6px;height:6px;border-radius:50%;background:#5f83e2}.hero{position:relative;overflow:hidden;padding:25px 23px 22px;border-radius:26px;background:linear-gradient(130deg,#193caa,#3464ed);color:#fff;box-shadow:0 12px 26px #315be823}.hero:after{content:'';position:absolute;width:165px;height:165px;border:1px solid #ffffff12;border-radius:50%;right:-62px;top:-37px;box-shadow:0 0 0 30px #ffffff05,0 0 0 62px #ffffff04;pointer-events:none}.hero .eyebrow,.hero small{color:#c0d1ff}.hero-value{font-size:37px;font-weight:650;letter-spacing:-1.7px;line-height:1.3;margin:14px 0 8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.hero-footer{margin-top:22px;border-top:1px solid #ffffff24;padding-top:13px;display:flex;justify-content:space-between;font-size:11px;color:#cedaff}.hero button{position:relative;z-index:1}.glass{background:#ffffff18;border:1px solid #ffffff2a;color:white;border-radius:12px;padding:8px 12px;min-height:44px;font-size:11px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 21px}.metric{padding:17px;border:1px solid #e8ecf4;background:#fff;border-radius:20px;min-width:0;text-align:left;color:inherit}.metric-value{display:block;font-size:20px;font-weight:700;letter-spacing:-.6px;margin:10px 0 6px;overflow-wrap:anywhere}.positive{color:var(--green)}.negative{color:var(--red)}.round-icon{width:31px;height:31px;border-radius:11px;background:#eaf6f1;color:var(--green);display:grid;place-items:center;font-size:16px}.round-icon.red{background:#fff0ed;color:var(--red)}.section-title{margin:24px 0 13px}.text-btn{border:0;background:transparent;color:var(--blue);font-size:12px;min-height:44px;padding:8px 0}.card{background:#fff;border:1px solid #e8edf5;border-radius:21px;padding:17px;margin:12px 0;overflow:hidden}.list{background:#fff;border:1px solid #e8edf5;border-radius:22px;overflow:hidden}.entry{width:100%;display:flex;gap:12px;align-items:center;border:0;border-bottom:1px solid #f0f3f8;background:white;padding:17px 15px;text-align:left;color:inherit;min-height:76px}.entry:last-child{border:0}.coin-icon{flex-shrink:0;width:39px;height:39px;border-radius:14px;background:#eaf0ff;color:#4168c1;display:grid;place-items:center;font-size:13px;font-weight:800}.entry-info{min-width:0;flex:1}.entry-info strong{font-size:13px;display:block;overflow-wrap:anywhere}.entry-info small{display:block;margin-top:5px;font-size:10px}.entry-amount{text-align:right;max-width:46%;min-width:0;font-variant-numeric:tabular-nums}.entry-amount strong{display:block;font-size:13px;overflow-wrap:anywhere}.entry-amount small{display:block;margin-top:5px}.pill{display:inline-block;background:#eef2fb;color:#567098;border-radius:8px;padding:5px 8px;font-size:10px}.pill.amber{background:#fff2da;color:#926328}.notice{background:#eaf0ff;color:#526a99;padding:13px 15px;border-radius:15px;font-size:11px;line-height:1.6;margin:14px 0}.notice.warn{background:#fff3df;color:#8a6b3a}.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:12px -2px;padding:3px 2px 8px}.chip{white-space:nowrap;border:1px solid #e2e8f2;background:#fff;border-radius:12px;padding:10px 14px;min-height:44px;font-size:12px;color:#78859b}.chip.active{background:#e8eeff;border-color:#cddaff;color:#315be8;font-weight:700}.toolbar{display:grid;grid-template-columns:1fr 48px;gap:9px;margin:15px 0}.search{background:white;border:1px solid #e4eaf4;border-radius:14px;padding:13px 15px;min-width:0;width:100%;min-height:46px}.filter-btn{border:1px solid #e4eaf4;background:white;border-radius:14px;color:#315be8;font-size:19px}.primary,.secondary,.danger{border:0;border-radius:14px;padding:14px 17px;min-height:48px;font-size:13px;font-weight:650;display:block;width:100%;margin:12px 0}.primary{background:#315be8;color:white;box-shadow:0 5px 15px #315be818}.secondary{background:#ecf1fb;color:#3c5b98}.danger{background:#fff0ed;color:#a44242}.empty{text-align:center;padding:45px 16px}.empty-art{font-size:32px;width:82px;height:82px;display:grid;place-items:center;background:#e7edff;border-radius:28px;margin:0 auto 24px;color:#315be8}.empty h1{font-size:25px}.empty h2{font-size:19px}.empty p{max-width:300px;margin:10px auto 20px}.label{display:block;margin:17px 0 7px;font-size:12px;font-weight:650;color:#596981}input,select,textarea{max-width:100%}input:not([type=checkbox]),select,textarea{width:100%;padding:13px;border:1px solid #dfe6f1;border-radius:12px;background:#fff;min-height:46px;color:#263955}select[multiple]{height:115px}textarea{min-height:85px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check{display:flex;gap:10px;align-items:center;min-height:44px;font-size:13px}.check input{width:20px;height:20px}.mono{font-family:ui-monospace,monospace;font-size:11px;overflow-wrap:anywhere;white-space:pre-wrap}.detail-line{padding:13px 0;border-bottom:1px solid #edf0f6}.detail-line strong{display:block;font-size:13px;margin-top:6px;overflow-wrap:anywhere}.bar{height:8px;background:#edf1fa;border-radius:8px;overflow:hidden;margin-top:12px}.bar span{display:block;height:100%;background:#6d8af2;border-radius:8px}.settings-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #eef1f7;font-size:13px}.settings-item:last-child{border:0}#nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);display:flex;justify-content:space-around;background:#fffffff5;backdrop-filter:blur(18px);border-top:1px solid #e8edf5;padding:10px 8px calc(12px + env(safe-area-inset-bottom));z-index:5}#nav[hidden]{display:none}#nav button{width:20%;border:0;background:transparent;color:#98a2b4;padding:6px 2px;font-size:9px;min-height:48px}#nav svg{display:block;margin:0 auto 5px;width:22px;height:22px;stroke-width:1.7}#nav button.active{color:#315be8;font-weight:700}#syncBar{position:fixed;bottom:calc(81px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(94%,450px);background:#182b54;color:white;border-radius:13px;z-index:6;padding:12px;display:flex;align-items:center;justify-content:space-between;font-size:11px;gap:10px}#syncBar[hidden]{display:none}#syncBar button{background:#ffffff20;border:0;color:white;border-radius:8px;min-height:44px;padding:6px 12px}dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,480px);max-width:480px;max-height:90dvh;border:0;border-radius:26px 26px 0 0;background:#f9fbff;padding:26px 22px calc(28px + env(safe-area-inset-bottom));color:inherit;box-shadow:0 -20px 80px #14213b22}dialog::backdrop{background:#10234277;backdrop-filter:blur(3px)}.handle{width:36px;height:4px;background:#dbe1eb;border-radius:4px;position:absolute;top:10px;left:calc(50% - 18px)}.close{position:absolute;top:18px;right:15px;font-size:25px;font-weight:400}#sheetBody>h2{padding-right:45px;margin:6px 0 22px}#toast{position:fixed;top:15px;left:50%;transform:translateX(-50%);width:min(90%,430px);background:#1f3357;color:#fff;padding:16px;border-radius:15px;font-size:12px;line-height:1.5;z-index:20;box-shadow:0 6px 30px #10204030}.loader{width:28px;height:28px;border:3px solid #dde5f7;border-top-color:#315be8;border-radius:50%;animation:spin 1s linear infinite;margin:25px auto}@keyframes spin{to{transform:rotate(360deg)}}.auth{padding:24px 2px}.auth h1{font-size:32px;margin-top:25px}.auth .eyebrow{margin-top:25px}.auth p{margin-bottom:24px}.year-tabs{display:flex;gap:10px;margin:12px 0}.note-small{font-size:10px}.chart-bars{display:flex;gap:9px;align-items:flex-end;height:120px;margin:20px 0 5px}.chart-col{flex:1;min-width:0;text-align:center}.chart-fill{height:var(--h);min-height:3px;background:#6a87ef;border-radius:6px 6px 3px 3px}.chart-col small{font-size:9px;display:block;margin-top:8px}.subtle{color:#8592aa}.divider{height:1px;background:#e8edf6;margin:20px 0}pre{max-height:280px;overflow:auto;font-size:10px}.app-title{margin:12px 0 18px}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}@media(max-width:370px){main{padding:0 15px}.hero-value{font-size:33px}.metric{padding:14px}.entry{padding:15px 12px;gap:9px}header{padding:22px 17px 15px}}

.onboarding{border-color:#dce5ff;background:linear-gradient(145deg,#fff,#f0f4ff)}.setup-steps{display:flex;gap:7px;margin:17px 0}.setup-steps span{flex:1;min-width:0;padding:9px 4px;border-radius:10px;background:#e9edf4;color:#8996a9;font-size:11px;text-align:center}.setup-steps .reached{color:#315be8;background:#e0e9ff}.onboarding h2{line-height:1.35}
