
: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}
.token-logo{position:relative;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#e3edff,#eff7ff)}.token-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}.round-icon svg{width:19px;height:19px;stroke-width:1.8}.action-icon{display:inline-flex;vertical-align:middle;margin-right:8px}.action-icon svg{height:18px;width:18px;stroke-width:1.8}.countdown{padding:16px;border-radius:15px;background:#e7eeff;margin:14px 0;color:#244fce}.countdown strong{display:block;font-size:20px;font-variant-numeric:tabular-nums}.countdown small{display:block;margin-top:6px}.coverage-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.coverage-grid strong{display:block;font-size:14px}.cron-card h3{margin:0;flex:1}.cron-card>.text-btn{display:block}.cron-path{white-space:pre-wrap;overflow-wrap:anywhere;background:#eaf0fc;padding:12px;border-radius:12px;font-size:12px}

.legal{padding:32px 24px 60px;line-height:1.65}.legal h1{font-size:30px;line-height:1.2;margin:28px 0}.legal h2{font-size:20px;margin:30px 0 10px}.legal p{color:#526077;overflow-wrap:anywhere}.legal a{color:#244bd0}.auth a{color:#244bd0}.auth input{font-size:16px}
/* Investment views: single-column cards inside the mobile shell. */
.investment-filters{display:flex;gap:8px;margin:20px 0 12px;overflow:auto}.investment-card{padding:22px}.protocol-mark{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;background:#edf1ff;color:#2c54cd;font-size:26px}.current-mark{background:#e5f7f2;color:#10785f}.snapshot-date{display:block;margin:14px 0;color:var(--muted,#7a8498)}.investment-value{margin:16px 0}.investment-value>strong{display:block;font-size:34px;letter-spacing:-1px;margin-top:4px;font-variant-numeric:tabular-nums}.investment-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;background:#f5f7fb;border-radius:15px;margin-bottom:16px}.investment-breakdown strong{display:block;margin-top:5px;font-size:19px}.investment-token{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eef0f5}.investment-token>div{min-width:0}.investment-token small{display:block;font-size:11px;color:#778193;margin-top:3px}.investment-token .token-amount{margin-left:auto;text-align:right;overflow-wrap:anywhere;max-width:55%}.investment-token strong{font-size:13px}.investment-result{margin:18px 0;padding-top:14px;border-top:1px solid #e6eaf1}.investment-result>strong{display:block;font-size:25px;margin:5px 0}.investment-result small{display:block}.range-ok{background:#e6f6f0;color:#14775b}.investment-card .entry-info strong{white-space:normal}.two>button svg{width:18px;height:18px;vertical-align:middle}#nav button{font-size:10px}.investment-card .pill{max-width:100%;overflow-wrap:anywhere}.investment-card pre{max-width:100%;overflow:auto}
.portfolio-summary{margin:20px 0}.portfolio-summary .metrics{margin-bottom:10px}.portfolio-metric{min-height:112px}.portfolio-metric .metric-value{font-size:23px}.wallet-balances summary{font-size:15px;font-weight:700;cursor:pointer}.wallet-balances h3{margin-top:20px}.transaction-card{display:block;width:100%;text-align:left;color:inherit;margin:12px 0;background:#fff}.transaction-symbol{display:grid;place-items:center;flex:none;width:38px;height:38px;background:#edf2ff;border-radius:12px;color:#315be8;font-size:23px}.transaction-card>.row>.entry-info{min-width:0}.transaction-card .entry-info strong{white-space:normal}.route-caption{display:block;margin:9px 0 3px;line-height:1.5}.transaction-movements{margin:10px 0;border-top:1px solid #edf0f5}.transaction-leg{display:flex;align-items:center;gap:9px;padding:10px 0}.transaction-leg>.coin-icon{width:30px;height:30px;font-size:10px}.transaction-leg>span:last-child{margin-left:auto;text-align:right;max-width:60%;overflow-wrap:anywhere;font-size:13px;font-variant-numeric:tabular-nums}.transaction-leg small{display:block;color:#8490a3;font-size:10px;margin-top:4px}.review-pill{display:inline-block;margin-top:10px;background:#fff4de;color:#946d25}.transaction-card .entry-info small{white-space:normal;line-height:1.6}.transaction-card .entry-info{flex:1}.wallet-balances details{margin-top:15px}#sheetBody .detail-line a{font-size:11px}#sheetBody .detail-line .mono{overflow-wrap:anywhere}
.action-amounts{display:grid;gap:5px;margin-top:7px}.action-amounts small{overflow-wrap:anywhere}.portfolio-summary>.text-btn{display:block;margin:10px 0}.transaction-card .entry-info small{white-space:normal;overflow-wrap:anywhere}
.live-status{display:flex;align-items:center;gap:12px;margin:0 20px 14px;padding:10px 12px;background:#eaf4f0;border:1px solid #dcece5;border-radius:13px;color:#167150;min-height:54px}.live-status[hidden]{display:none}.live-status>span{flex:1;min-width:0}.live-status strong{display:block;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.live-status small{display:block;font-size:10px;margin-top:3px;line-height:1.5}.live-status .text-btn{flex-shrink:0;font-size:11px;padding:4px 0}.live-warning{background:#fff3df;border-color:#eedfc4;color:#8a6b3a}
.accounting-card{border-color:#dce5fa;background:linear-gradient(145deg,#fff,#f8faff)}.accounting-card h2{letter-spacing:-.5px}.accounting-card>.note-small{max-width:380px}.accounting-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.accounting-grid .metric{min-height:105px;padding:13px;border-radius:16px}.accounting-grid .metric-value{font-size:18px;margin:9px 0 5px}.accounting-flows{border-top:1px solid #e9eef7;padding-top:9px;margin-top:7px}.accounting-flows .text-btn{min-height:66px;padding:10px;text-align:left;background:#f6f8fc;border-radius:13px;color:#315be8}.accounting-flows .text-btn strong{display:block;margin-top:4px;font-size:15px;color:#20385f;font-variant-numeric:tabular-nums}.accounting-flows .text-btn small{display:block;margin-top:3px;font-size:9px}.accounting-card .notice{margin-bottom:0}
