/* greek-ext */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/noto-sans-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/noto-sans-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/noto-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Mobile presentation and navigation. All amounts come from the existing reports. */
:root{--blue:#3159dc;--muted:#68778e;--line:#e3e9f2;--green:#11755b;--red:#b44755;background:#e7ecf5;font-family:"Noto Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1c2b43}
[hidden]{display:none!important}
svg{flex-shrink:0}
button,select,a,summary{-webkit-tap-highlight-color:transparent}
button,summary{touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #8eafff;outline-offset:3px}
button:active{transform:translateY(1px)}
.app{background:#f5f7fc;padding-bottom:calc(104px + env(safe-area-inset-bottom));box-shadow:0 0 50px #233b650b}
header{position:sticky;top:0;z-index:30;padding:16px 20px 14px;background:#f5f7fcf5;backdrop-filter:blur(16px);border-bottom:1px solid #e8edf480}
.brand{font-size:21px;letter-spacing:-.75px;gap:9px}
.brand-icon{width:37px;height:41px;border-radius:13px;background:linear-gradient(145deg,#294cd3,#5379f3);font-style:normal;box-shadow:0 6px 15px #315be81c}
.brand small{font-size:7px;letter-spacing:1.4px;color:#8291a7}
.header-actions{display:flex;align-items:center;gap:8px;flex:none}
.icon-btn{width:42px;height:42px;border-radius:14px;border-color:#e1e7f0;background:#fff}
.currency-button{font-size:20px}
.menu-toggle{color:var(--blue);background:#eaf0ff;border-color:#dce5fd;list-style:none;cursor:pointer}
.menu-toggle::-webkit-details-marker{display:none}
.menu-toggle svg{width:21px;height:21px}
.app-dropdown{position:relative}
.app-dropdown[open] .menu-toggle{background:var(--blue);border-color:var(--blue);color:#fff}
.dropdown-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(300px,calc(100vw - 32px));max-height:min(660px,calc(100dvh - 106px));overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #dfe7f4;border-radius:20px;padding:10px;box-shadow:0 16px 55px #142d6b28,0 3px 8px #142d6b0c;z-index:40}
.menu-profile{display:flex;align-items:center;gap:10px;padding:8px 8px 13px;border-bottom:1px solid #eaf0f6;margin-bottom:7px}
.menu-profile>span:nth-child(2){min-width:0;flex:1}
.menu-profile strong{display:block;font-size:14px;overflow-wrap:anywhere}
.menu-profile small{display:block;font-size:11px;margin-top:4px}
.profile-avatar{width:39px;height:39px;background:#eaf0ff;color:#3159dc;border-radius:13px;display:grid;place-items:center;font-size:18px;font-weight:750;flex-shrink:0}
.menu-links{display:block}
.menu-item{width:100%;display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#344760;text-align:left;padding:11px 12px;min-height:45px;border-radius:11px;font-size:13px}
.menu-item>svg{width:19px;height:19px;stroke-width:1.7;color:#7186a6}
.menu-item>span:first-of-type{flex:1;min-width:0;overflow-wrap:anywhere}
.menu-item:hover{background:#f2f5fb}
.menu-item.selected{background:#edf2ff;color:#3159dc;font-weight:700}
.menu-item.selected>svg{color:#3159dc}
.menu-selected{font-size:9px;color:#5276e8}
.menu-section-title{font-size:9px;letter-spacing:1.3px;color:#8a98ac;font-weight:700;margin:14px 12px 6px}
.menu-footer{margin-top:8px;padding-top:8px;border-top:1px solid #eaf0f6}
.menu-item.negative,.menu-item.negative svg{color:#b44755}
main{padding:0 20px}
h1{font-size:25px;line-height:1.22;letter-spacing:-.8px;margin:8px 0}
h2{font-size:17px;letter-spacing:-.3px}
p{font-size:13px;line-height:1.65;color:#6e7d92}
.eyebrow{font-size:9px;letter-spacing:1.3px;color:#7b8aa2}
.app-title{margin:20px 0 18px}
.app-title p{margin-bottom:0;line-height:1.5}
.context-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:0 12px;padding:13px 14px;margin:13px 0 8px;border:1px solid #e1e8f2;border-radius:17px;background:#fff;box-shadow:0 3px 10px #18336103}
.context-field{min-width:0;display:block}
.context-field>span{display:block;font-size:10px;color:#7c8aa0;margin:0 0 6px;letter-spacing:.2px}
.context-field select{border:0;background-color:transparent;border-radius:0;min-height:28px;height:28px;margin:0;padding:0 18px 0 0;font-size:13px;font-weight:650;color:#2a3c58;max-width:100%;width:100%;text-overflow:ellipsis}
.context-field .wallet-select{max-width:100%}
.period-field{border-left:1px solid #e8edf6;padding-left:12px}
.context-bar>.status-dot{justify-self:end;font-size:9px;background:#edf3ff;padding:9px;border-radius:9px;white-space:nowrap}
.saved-view-field{grid-column:1/-1;margin:11px -2px -2px;padding-top:9px;border-top:1px solid #edf1f7;min-width:0}
.saved-view-field select{border:0;min-height:30px;padding:2px 9px;border-radius:9px;font-size:12px;background:#f4f7ff;color:#5071af}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.active-filters{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 14px}
.filter-tag{display:flex;align-items:center;gap:7px;border:1px solid #dfe8fb;background:#edf3ff;color:#46628f;border-radius:9px;font-size:10px;min-height:34px;padding:6px 8px;max-width:100%}
.filter-tag>span:first-child{max-width:210px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.filter-tag>span:last-child{font-size:16px;line-height:1}
.hero{padding:20px 21px 17px;border-radius:22px;background:linear-gradient(125deg,#1b3585,#305cd5 74%,#4874ed);box-shadow:0 10px 24px #264cbf16}
.hero .eyebrow{letter-spacing:1.1px;font-size:9px;color:#ccd8ff}
.hero-value{font-size:36px;line-height:1.2;font-weight:730;letter-spacing:-1.2px;margin:17px 0 7px}
.hero small{font-size:11px;color:#cbd8ff}
.hero-status{font-size:9px;background:#ffffff15;border:1px solid #ffffff1e;padding:6px 8px;border-radius:8px;color:#e0e8ff;white-space:nowrap}
.hero-footer{margin-top:16px;padding-top:12px;font-size:10px;line-height:1.4}
.metrics{gap:10px;margin:13px 0 18px}
.metric{padding:15px;border-radius:17px;border-color:#e1e8f2;box-shadow:0 2px 6px #19346202}
.metric-value{font-size:22px;margin:8px 0 5px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.metric small{line-height:1.5;font-size:10px}
.income-metrics{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:8px;margin-bottom:15px}
.income-metrics .metric{padding:12px 10px}
.income-metrics .metric-value{font-size:19px;margin:9px 0 4px}
.income-metrics .metric small{font-size:9px}
.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0 24px}
.quick-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:64px;border:0;background:transparent;color:#647797;padding:0;font-size:10px}
.quick-actions .quick-icon{display:grid;place-items:center;width:41px;height:41px;background:#eaf0fd;border:1px solid #dfe8fa;border-radius:14px;color:#4266c1;margin:0}
.quick-icon svg{width:19px;height:19px}
.portfolio-summary{margin:21px 0}
.portfolio-summary .section-title{margin:0 0 13px}
.portfolio-metric{min-height:106px}
.portfolio-metric .metric-value{font-size:21px}
.portfolio-summary>p.note-small{font-size:10px;line-height:1.6}
.portfolio-summary>.text-btn{margin:2px 0;font-size:11px}
.portfolio-summary>.secondary{margin:5px 0 12px}
.portfolio-explainer{margin:7px 0}
.portfolio-explainer>summary{font-size:10px;color:#7186a5;cursor:pointer;min-height:32px;padding:6px 0}
.portfolio-explainer p{font-size:11px;line-height:1.7}
.snapshot-caption{font-size:10px;color:#7a8ba5;margin:3px 0 7px}
.investment-overview .portfolio-summary{margin:15px 0 0}
.wallet-balances,.investment-overview,.investment-card{scroll-margin-top:90px}
.header-actions .icon-btn{width:44px;height:44px;min-height:44px}
.chip{min-height:44px}
.section-title{margin:23px 0 12px;gap:9px}
.section-title .text-btn{padding:4px 0;min-height:38px}
.card{padding:16px;border-color:#e1e8f2;border-radius:18px;margin:11px 0;box-shadow:0 2px 7px #1a376001}
.compact-details>summary,.wallet-balances>summary{font-size:13px;font-weight:650;cursor:pointer;min-height:34px;line-height:1.5}
.compact-details>.cron-card{margin-top:12px;box-shadow:none;background:#f8faff}
.notice{border:1px solid #e0e9fe;background:#eef4ff;font-size:11px;padding:12px 13px;margin:13px 0;border-radius:13px}
.notice.warn{border-color:#f6e8cc;background:#fff6e6;color:#846333}
.coverage-grid{padding-top:9px;border-top:1px solid #d8e3f5;margin-top:10px;gap:12px}
.notice.warn .coverage-grid{border-top-color:#f0dfbe}
.coverage-grid strong{font-size:13px;font-variant-numeric:tabular-nums;margin-bottom:2px}
.entry{gap:10px;padding:15px 13px;min-height:73px;border-bottom-color:#edf1f7}
.entry-info strong,.entry-amount strong{font-size:13px;line-height:1.45}
.entry-info small{color:#7c899c;font-size:10px;line-height:1.5}
.entry-amount small{font-size:10px}
.coin-icon{width:35px;height:35px;border-radius:12px}
.token-logo{border-radius:50%}
.list{border-radius:18px;border-color:#e2e8f2}
.list>.entry:last-child{border-bottom:0}
.pill{font-size:9px;padding:5px 7px;border-radius:7px;line-height:1.4}
.toolbar{grid-template-columns:minmax(0,1fr) 46px;gap:8px;margin:14px 0 10px}
.search{padding:12px 14px;border-radius:13px;font-size:14px;border-color:#e0e7f1;min-height:46px}
.filter-btn{display:flex;align-items:center;justify-content:center;border-radius:13px;border-color:#e0e7f1;min-height:46px}
.filter-btn .action-icon{margin:0}
.history-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 12px}
.history-controls label{display:flex;align-items:center;gap:8px;min-width:0;max-width:66%}
.history-controls label>span{font-size:10px;color:#78889f;flex:none}
.history-controls select{width:auto;min-width:0;max-width:100%;min-height:36px;padding:7px 24px 7px 10px;font-size:12px;color:#35527c;background:#edf2fb;border-color:#e0e8f6;border-radius:10px}
.history-scope{display:flex;align-items:center;gap:4px;white-space:nowrap;color:#8390a3;font-size:9px}
.history-scope svg{width:12px;height:12px;stroke-width:1.7}
.investment-filters,.chips{gap:7px;scrollbar-width:none}
.investment-filters{margin:14px 0 12px}
.investment-filters:has([data-activity-mode]){background:#e9eef7;border:1px solid #e0e7f1;border-radius:13px;padding:4px;gap:4px}
.investment-filters [data-activity-mode]{width:50%;min-height:37px;border-color:transparent;background:transparent;color:#70819b;font-size:11px;border-radius:10px;padding:8px 10px}
.investment-filters [data-activity-mode].active{background:#fff;color:#3159dc;box-shadow:0 2px 6px #243b610b;font-weight:700}
.chip{font-size:11px;min-height:40px;border-radius:11px;padding:9px 13px;border-color:#e1e7f0;color:#6e7e95}
.chip.active{background:#eaf0ff;color:#3159dc;border-color:#d1dffa}
.primary,.secondary,.danger{border-radius:13px;min-height:47px;font-size:12px;padding:13px 15px;margin:10px 0;line-height:1.5}
.primary{background:#3159dc;box-shadow:0 5px 12px #315be813}
.secondary{background:#eaf0fb;color:#436292}
.text-btn{font-size:11px}
.action-icon{margin-right:6px}
.two{gap:9px}
.two>.primary,.two>.secondary{font-size:11px}
.transaction-card{border-radius:18px;padding:15px}
.transaction-card>.row{gap:10px}
.transaction-symbol{width:35px;height:35px;border-radius:12px;font-size:21px;background:#edf2fd;color:#4267c9}
.transaction-movements{margin-top:10px}
.transaction-leg{padding:9px 0;gap:9px}
.transaction-leg>span:last-child{font-size:13px}
.transaction-leg .coin-icon{width:28px;height:28px}
.route-caption{font-size:10px}
.investment-card{padding:18px}
.protocol-mark{width:37px;height:37px;border-radius:12px;font-size:23px}
.investment-value>strong{font-size:30px;letter-spacing:-.8px}
.snapshot-date{font-size:10px;margin:12px 0}
.investment-breakdown{padding:12px;border-radius:12px;background:#f0f4fa;gap:9px;margin:12px 0}
.investment-breakdown strong{font-size:18px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.investment-breakdown small{font-size:10px;line-height:1.5}
.current-interest{margin:13px 0;padding:13px;border:1px solid #dfe7f5;border-radius:15px;background:#fbfcff}
.current-interest>summary{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:34px;color:#3559b8;font-size:12px;font-weight:750}
.current-interest>summary::marker{color:#7890c9}
.current-interest p{font-size:10px;line-height:1.55}
.current-interest-totals{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 4px}
.current-interest-totals>div{display:grid;gap:3px;padding:9px;border-radius:11px;background:#eef3ff}
.current-interest-totals>div:last-child{background:#fff1ef}
.current-interest-totals small{font-size:9px;color:#71809a;line-height:1.35}
.current-interest-totals strong{font-size:15px;color:#3159b8;font-variant-numeric:tabular-nums}
.current-interest-totals>div:last-child strong{color:#a94c58}
.current-interest h4{margin:15px 0 5px;color:#263b61;font-size:11px}
.current-interest .detail-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 0}
.current-interest .detail-line>span:first-child{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}
.current-interest .detail-line>span:nth-child(2){text-align:right;white-space:nowrap}
.current-interest .detail-line>span:last-child{display:grid;min-width:62px;text-align:right;white-space:nowrap}
.current-interest .detail-line>span:last-child small{font-size:9px;line-height:1.35;color:#8290a5}
.current-interest .coin-icon{width:25px;height:25px;border-radius:9px;font-size:9px;flex:none}
.current-interest>small{display:block;margin-top:10px;color:#8290a5;font-size:9px}
.investment-result>strong{font-size:23px}
.investment-token{gap:9px;padding:10px 0}
.investment-token small{font-size:10px}
.profile-card{display:flex;align-items:center;gap:12px;padding:16px;margin:18px 0;border:1px solid #dfe7f5;border-radius:18px;background:linear-gradient(115deg,#fff,#edf3ff)}
.profile-card>div{flex:1;min-width:0}
.profile-card strong{display:block;font-size:16px;overflow-wrap:anywhere}
.profile-card small{display:block;font-size:10px;margin-top:5px;line-height:1.5}
.settings-group{margin:10px 0;background:#fff;border:1px solid #e0e7f1;border-radius:17px;overflow:hidden}
.settings-group>summary{display:flex;align-items:center;gap:11px;padding:15px 14px;list-style:none;cursor:pointer;min-height:74px}
.settings-group>summary::-webkit-details-marker{display:none}
.settings-group-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;color:#5071bb;background:#eef3fe;flex:none}
.settings-group-icon svg{width:18px;height:18px;stroke-width:1.7}
.settings-group>summary>span:nth-child(2){flex:1;min-width:0}
.settings-group summary strong{display:block;font-size:13px;line-height:1.5}
.settings-group summary small{display:block;font-size:10px;margin-top:3px;line-height:1.5}
.summary-chevron{color:#94a3b7;flex:none}
.summary-chevron svg{width:17px;height:17px;stroke-width:1.7;transition:transform .15s}
.settings-group[open] .summary-chevron svg{transform:rotate(180deg)}
.settings-group[open]>summary{border-bottom:1px solid #edf1f7}
.settings-group-body{padding:5px 14px 13px}
.settings-group-body>.card{border:0;box-shadow:none;margin:0;padding:10px 0}
.settings-group-body .label{font-size:12px;margin-top:14px}
.settings-group-body>.list{border-color:#e6edf5}
.settings-group-body>.list .entry{padding:13px 10px;min-height:66px}
.settings-group .coin-icon svg{width:18px;height:18px;stroke-width:1.7}
.saved-view-row{padding:8px 0;border-bottom:1px solid #edf1f7;gap:8px}
.saved-view-row .text-btn{text-align:left;overflow-wrap:anywhere;min-width:0}
.privacy-note{display:flex;align-items:flex-start;gap:8px;padding:11px 5px;font-size:10px;color:#7d8ba1}
.privacy-note svg{width:16px;height:16px;stroke-width:1.7;margin-top:2px}
.live-status{margin:11px 20px 0;padding:10px 12px;border-radius:12px;border:1px solid #dbeae4;background:#f0f8f4;gap:10px;align-items:center}
.live-status strong{font-size:10px;color:#2c745a;line-height:1.5}
.live-status small{font-size:9px;color:#7b9789;line-height:1.5}
.live-status .text-btn{min-height:34px;font-size:10px;white-space:nowrap;color:#367660}
.live-status.live-warning{background:#fff6e7;border-color:#f2e2c5}
.live-status.live-warning strong{color:#886833}
.live-status.live-warning small{color:#a28b67}
.live-status.live-paused{background:#edf1f7;border-color:#e0e6ef}
.live-status.live-paused strong,.live-status.live-paused .text-btn{color:#62738e}
.live-status.live-paused small{color:#8190a5}
input[type=checkbox]{accent-color:var(--blue)}
#toast{z-index:100;top:calc(12px + env(safe-area-inset-top));box-shadow:0 8px 30px #142c6033}
#nav{z-index:25;background:#fffffffa;border-top-color:#e1e8f2;padding:7px 7px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -5px 22px #21396006}
#nav button{min-height:58px;font-size:10px;padding:4px 2px;color:#8491a5}
#nav button svg{width:31px;height:31px;padding:5px;border-radius:10px;margin-bottom:4px;stroke-width:1.7}
#nav button.active{color:#3159dc;font-weight:700}
#nav button.active svg{background:#eaf0ff}
#syncBar{bottom:calc(82px + env(safe-area-inset-bottom));border-radius:14px;background:#233b67}
dialog{border-radius:24px 24px 0 0;padding:27px 20px calc(25px + env(safe-area-inset-bottom));background:#f8faff;max-height:90dvh}
dialog .close{width:35px;height:35px;border-radius:12px;font-size:22px;top:17px;right:16px}
#sheetBody>h2{font-size:20px;margin:6px 0 18px;line-height:1.35}
#sheetBody input:not([type=checkbox]),#sheetBody select,#sheetBody textarea,.auth input{font-size:16px}
.empty{padding:33px 15px}
.empty-art{width:67px;height:67px;border-radius:22px;font-size:28px;margin-bottom:20px;background:#e9efff}
.empty h2{font-size:18px}
.onboarding{padding:18px;background:linear-gradient(125deg,#fff,#f1f5ff);border-radius:18px}
.auth{padding-top:26px}
.auth h1{font-size:29px;letter-spacing:-.8px}
.auth .empty-art{margin-top:10px}
@media(max-width:370px){
 header{padding:14px 16px 12px}.brand{font-size:19px}.brand small{font-size:6px;letter-spacing:1.15px}.brand-icon{width:34px;height:38px}.header-actions{gap:6px}.icon-btn{width:39px;height:39px}main{padding:0 16px}.live-status{margin-left:16px;margin-right:16px}.context-bar{padding:12px;gap:0 9px}.period-field{padding-left:9px}.context-field select{font-size:12px}h1{font-size:23px}.hero{padding:19px}.hero-value{font-size:33px}.hero-status{font-size:8px}.income-metrics .metric-value{font-size:18px}.portfolio-metric .metric-value{font-size:20px}.investment-card{padding:16px}.history-scope{font-size:8px}.dropdown-panel{width:min(292px,calc(100vw - 32px))}
}
@media(prefers-reduced-motion:reduce){.summary-chevron svg{transition:none}button:active{transform:none}}

/* v0.9: scoped clarification and capital-history details. */
.help-item{display:block;width:100%;text-align:left;white-space:normal;margin:12px 0;color:var(--ink,#192234)}
.help-item strong,.help-item small{display:block}
.position-history{margin:24px 0;padding-top:20px;border-top:1px solid var(--line,#e3e7f1)}
.position-history .metrics{margin:12px 0}.position-history .metric strong{display:block;font-size:1.2rem;margin:7px 0}
.position-history .detail-line{overflow-wrap:anywhere}.position-history .section-title{align-items:flex-start;gap:10px}
.position-history .pill{flex-shrink:0}#workerUrl{font-size:.8rem}
.setup-wizard{min-width:0;padding:4px 0 12px}.setup-heading{padding-right:48px;display:flex;align-items:center;justify-content:space-between;gap:12px}.setup-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:18px 0 24px}.setup-track span{height:5px;background:#e8ecf5;border-radius:5px}.setup-track span.reached{background:var(--blue,#365be8)}.setup-wizard h2{font-size:26px;line-height:1.2;margin:12px 0 18px}.setup-wizard p{line-height:1.55}.setup-wizard input,.setup-wizard select,.setup-wizard textarea{max-width:100%;min-width:0}.setup-wizard fieldset{min-width:0}.setup-options{border:1px solid var(--line,#e4e8f1);border-radius:18px;padding:15px;margin:20px 0}.setup-options legend{padding:0 7px;font-size:13px;font-weight:750;color:var(--text,#1b2439)}.setup-choice{display:flex;align-items:flex-start;gap:12px;padding:13px 0;cursor:pointer}.setup-choice+.setup-choice{border-top:1px solid var(--line,#e4e8f1)}.setup-choice input{flex:0 0 18px;margin-top:5px}.setup-choice span{min-width:0}.setup-choice strong,.setup-choice small{display:block}.setup-choice small{margin-top:5px;line-height:1.45;color:var(--muted,#7b8497)}.setup-extra{border-radius:15px;background:var(--bg,#f5f7fc);padding:15px;margin:18px 0}.setup-extra summary{cursor:pointer;font-weight:700}.setup-extra[open] summary{margin-bottom:16px}.setup-buttons{display:flex;gap:10px;margin-top:24px}.setup-buttons>*{flex:1;min-width:0}.setup-checks{margin:20px 0}.setup-check{display:flex;align-items:flex-start;gap:12px;margin:12px 0;padding:13px;background:#f4f6fb;border-radius:15px}.setup-check>span{display:grid;place-items:center;flex:0 0 27px;height:27px;background:white;border-radius:50%;color:#7e879a;font-weight:750}.setup-check.passed>span{color:#187c66;background:#e1f5ed}.setup-check.failed>span{color:#b54e5b;background:#fdecee}.setup-check>div{min-width:0}.setup-check strong,.setup-check small{display:block}.setup-check small{margin-top:5px;line-height:1.45;overflow-wrap:anywhere;color:#7b8497}.setup-summary{display:grid;gap:8px;background:#edf1ff;padding:18px;border-radius:17px;margin:18px 0}.setup-summary .mono{font-size:12px;overflow-wrap:anywhere}.setup-capital-card{padding:20px;background:#edf1ff;border-radius:20px;margin:20px 0}.setup-capital-card>small{display:block;line-height:1.5;margin-top:12px}.setup-wizard>button,.setup-capital-card>button{margin-top:12px;width:100%}.setup-wizard button:disabled{opacity:.48;cursor:wait}.wallet-setting-row>.text-btn{padding:0 18px 16px;text-align:left}.setup-wizard .note-small{font-size:12px;line-height:1.5;color:#7b8497}

/* Cash movements and progressive startup */
.expense-hero{background:linear-gradient(135deg,#823c43,#ad565e);margin-top:16px}.cash-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px;padding-top:18px;border-top:1px solid #ffffff36}.cash-breakdown span{font-size:12px;opacity:.92;display:grid;gap:6px}.cash-breakdown strong{font-size:19px;color:#fff}.hero-footer .text-btn{color:#fff;padding:0;min-height:36px}.cash-explanation{margin:14px 2px 24px}.account-loading,.inline-loading{display:flex;gap:12px;align-items:center;padding:12px 16px;color:#536488;font-size:13px}.account-loading{position:sticky;top:0;z-index:9;background:#f5f7fcf5;border-radius:16px}.account-loading .loader,.inline-loading .loader{width:18px;height:18px;min-width:18px;margin:0;border-width:2px}.wallet-preview{border-top:1px solid #e3e7f0;padding-top:12px}.wallet-preview h3{font-size:14px;margin:14px 0 8px}.wallet-preview .investment-row{padding:10px 0}.hero .note-small{color:#fff}.hero-value{overflow-wrap:anywhere}@media(prefers-reduced-motion:reduce){.loader{animation:none}}

/* One compact swipe surface for cash flows. */
.cash-carousel{margin:18px 0 12px}.cash-slider{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:24px;overscroll-behavior-x:contain}.cash-slider::-webkit-scrollbar{display:none}.cash-slider .hero{flex:0 0 100%;min-width:0;scroll-snap-align:start;box-sizing:border-box;margin:0;padding:22px 20px;border-radius:24px;min-height:265px}.cash-slider .hero-value{font-size:38px;margin:18px 0 8px}.cash-slider .eyebrow{font-size:10px;letter-spacing:1px}.cash-slider .hero-status{font-size:10px;padding:7px;max-width:42%}.cash-slider .cash-breakdown{margin-top:16px;padding-top:12px;gap:10px}.cash-slider .cash-breakdown span{font-size:11px}.cash-slider .cash-breakdown strong{font-size:17px}.cash-slider .hero-footer{margin-top:14px;padding-top:10px;gap:8px;font-size:10px}.cash-slider .hero>small{font-size:11px}.cash-slider .hero-footer .text-btn{font-size:11px;white-space:nowrap}.cash-slide-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 2px}.cash-slide-controls button{border:0;background:transparent;color:#77839c;min-height:40px;font-size:12px;padding:8px 12px;border-radius:14px}.cash-slide-controls button[aria-pressed=true]{background:#e3eaff;color:#3158d6;font-weight:700}.cash-slide-controls span{font-size:11px;color:#8792a8}.cash-explanation{margin-top:6px;font-size:11px}.pnl-summary h2{font-size:17px}.pnl-value{display:block;font-size:32px;margin:14px 0}.pnl-summary .two>span{display:grid;gap:6px}.pnl-summary .two small{font-size:11px}.pnl-summary .notice{margin-top:14px}.pnl-summary details p{font-size:12px}
