/* Mobile geometry follows the supplied 1206px @3x references. */
#app{transition:background .15s}.screen-plain #app{background:#000}.screen-home #app{padding-bottom:85px}.screen-pie #app{padding-bottom:100px}.ref-nav .icon.active-home{fill:white;stroke:white}.ref-nav .icon.active-search{stroke-width:2}.ref-nav .icon.active-card{fill:#fff;stroke:#1c2224;stroke-width:1.5}.ref-nav .icon.active-card path{stroke:#1c2224}.ref-nav .icon.pie-outline{fill:none;stroke:#fff}.ref-nav .icon.active-pie{fill:white;stroke:#1c2224}.ref-nav button{min-height:32px}.screen-plain .ref-header:before{background:#000}.screen-home .overview{margin-top:7px}.home-summary{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:68px 68px;gap:10px;margin:12px 15px 19px}.home-summary button{background:#1c2224e8;border-radius:22px;text-align:left;padding:15px;overflow:hidden}.home-summary .investment-widget{grid-row:span 2}.widget-value{display:block;font-size:15px;font-weight:550;margin-top:5px}.mini-chart{height:67px;width:100%;margin-top:12px;overflow:visible}.mini-chart .grid{stroke:#374246;stroke-width:1}.mini-chart .line{stroke:var(--blue);stroke-width:2.5;stroke-linecap:round;fill:none}.mini-chart text{font-size:7px;fill:var(--muted)}.watch-sheet{background:#1c2224;border-radius:26px 26px 0 0;border-top:1px solid #596164;min-height:calc(100dvh - 200px);padding-top:10px;overflow:hidden;position:relative;touch-action:pan-y}.watch-sheet.expanded{position:fixed;top:calc(max(env(safe-area-inset-top),62px) + 56px);bottom:84px;left:50%;transform:translateX(-50%);width:100%;max-width:402px;z-index:16;min-height:0;overflow:auto;overscroll-behavior:contain}.sheet-grabber{display:block;width:100%;height:15px;padding:0;touch-action:none}.sheet-grabber:before{content:'';display:block;width:50px;height:5px;border-radius:6px;background:#5d6265;margin:0 auto 9px}.scroll-tabs{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;margin:12px 15px 10px}.scroll-tabs button{font-size:15px;font-weight:550;padding:11px 15px;border-radius:14px;color:var(--muted);flex-shrink:0;line-height:18px}.scroll-tabs button.active{background:#283236;color:white}.watch-sheet .scroll-tabs{position:sticky;top:0;background:#1c2224;padding:9px 0;margin-top:9px;z-index:2}.watch-row{width:100%;display:flex;align-items:center;text-align:left;gap:9px;padding:18px 15px;min-height:70px}.brand-image{width:40px;height:40px;border-radius:13px;object-fit:contain;flex-shrink:0}.watch-row .watch-name{font-size:15px;font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.watch-row .watch-symbol{display:block;font-size:12px;color:var(--muted);font-weight:550;margin-top:4px}.watch-row .watch-copy{flex:1;min-width:0}.watch-row .watch-value{font-size:15px;font-weight:550;text-align:right;white-space:nowrap}.watch-row .watch-value small{display:block;font-size:12px;color:var(--green);margin-top:4px}.watch-spark{width:68px;height:28px;flex-shrink:0}.watch-row .watch-spark{width:68px}.watch-list{padding-bottom:20px}.pie-sticky{position:sticky;top:env(safe-area-inset-top);background:#000;z-index:17}.pie-top{height:48px;display:grid;grid-template-columns:35px 1fr 35px;align-items:center;margin:0 20px}.pie-top h1{font-size:17px;font-weight:550;text-align:center;margin:0}.pie-top .icon{width:23px;height:23px;stroke-width:1.1}.pie-top button{padding:0;text-align:left;display:flex;align-items:center}.pie-top button:last-child{justify-content:flex-end;font-size:24px;letter-spacing:1px}.pie-tabs{display:flex;margin:0 20px 21px;height:48px;border-bottom:1px solid #374246}.pie-tabs button{width:50%;color:var(--muted);font-size:15px;padding:12px 0 16px;position:relative;font-weight:500}.pie-tabs .active{color:#fff}.pie-tabs .active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:3px;background:#fff}.pie-overview .overview{padding:2px 20px 0}.pie-overview .overview .value{margin-top:0;font-size:48px}.pie-overview .ref-metrics{gap:20px;margin-top:9px}.pie-chart{height:228px!important;margin-top:4px!important;margin-right:22px!important}.pie-ranges{margin:5px 20px 18px;height:40px}.pie-ranges button{padding:0 11px}.pie-ranges .icon{width:18px;height:18px}.pie-actions{display:flex;gap:10px;margin:0 20px 29px}.pie-actions button{height:48px;border-radius:26px;font-size:16px;font-weight:550;flex:1;background:#1c2427}.pie-actions .blue{background:var(--blue)}.pie-section{margin:0 20px 32px}.pie-section-head{display:flex;align-items:center;justify-content:space-between;margin:0 10px 13px}.pie-section-head h2{font-size:17px;font-weight:500;margin:0;letter-spacing:-.3px}.pie-section-head button{font-size:15px;text-decoration:underline;text-decoration-color:#586063;text-underline-offset:3px;padding:0}.pie-outline{border:1px solid #354246;border-radius:22px;padding:20px;line-height:25px;font-size:15px;color:var(--muted)}.pie-outline p{margin:0}.pie-summary-ai .analysis-scroll{margin:0 -20px 0 0;gap:10px}.pie-summary-ai .analysis-scroll button{background:#1c2427;font-size:13px;height:62px;border-radius:21px}.pie-summary-ai .analysis-scroll .ai-symbol{width:62px}.goal-card{position:relative;padding:17px 20px 20px}.goal-card .goal-ends{display:flex;justify-content:space-between}.goal-ends small{display:block;font-size:12px;line-height:16px;color:var(--muted)}.goal-ends strong{font-size:17px;font-weight:550;line-height:24px;color:#fff}.goal-ends div:last-child{text-align:right}.goal-percent{position:absolute;top:34px;left:50%;transform:translateX(-50%);padding:3px 7px;background:#382009;color:#ff8c35;border-radius:10px;font-size:13px;font-weight:600;line-height:18px}.goal-track{height:5px;background:#181c1d;border-radius:4px;margin-top:11px;overflow:hidden}.goal-track span{height:100%;display:block;background:#ff8c35;border-radius:4px}.status-text{display:flex;gap:5px;align-items:center}.status-text:before{content:'';width:8px;height:8px;border-radius:50%;background:#354246}.status-text.on:before{background:var(--green)}.balance-panel{display:flex;align-items:center;justify-content:space-between;gap:12px}.balance-panel p{line-height:25px;flex:1}.gauge{width:65px;height:65px;flex-shrink:0;position:relative}.gauge svg{width:100%;height:100%}.gauge strong{position:absolute;inset:0;display:grid;place-items:center;font-size:18px;font-weight:600;color:white}.dividend-stats{display:grid;grid-template-columns:1fr auto;gap:7px 15px;font-size:15px;line-height:19px}.dividend-stats small{font-size:12px}.dividend-stats strong{font-size:15px;font-weight:500;color:#fff;text-align:right}.pie-history .history-entry{display:flex;align-items:center;gap:10px;color:#fff;line-height:19px;padding:6px 0 25px}.pie-history .history-entry:last-child{padding-bottom:0}.history-entry .history-icon{width:24px;height:24px;border-radius:50%;background:var(--green);display:grid;place-items:center;font-size:22px;flex-shrink:0;color:white}.history-entry .history-copy{flex:1;min-width:0}.history-entry small{color:var(--muted);display:block;font-size:13px}.history-entry strong{font-size:15px;font-weight:550;white-space:nowrap}.donut-wrap{position:relative;margin:0 20px 20px;aspect-ratio:1}.donut-wrap svg{width:100%;height:100%;transform:rotate(-90deg)}.donut-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.donut-center h2{font-size:31px;font-weight:400;letter-spacing:-1px;margin:0}.donut-center .currency-symbol{font-size:.65em}.donut-center small{font-size:13px;color:var(--red);margin-top:5px}.holdings-actions{display:flex;gap:10px;margin:0 20px 30px}.holdings-actions button{flex:1;border-radius:22px;background:#1c2427;padding:12px;font-size:14px}.holding-head{display:flex;align-items:center;justify-content:space-between;margin:0 20px}.holding-head h2{font-size:15px;font-weight:500;margin:0}.holding-sort-sub{font-size:13px;color:var(--muted);margin:7px 20px 9px}.holding-line{display:flex;gap:9px;align-items:center;padding:17px 20px;width:100%;text-align:left}.holding-line .brand-image{border-radius:50%}.holding-line .holding-copy{flex:1;min-width:0}.holding-line .holding-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;max-width:240px}.holding-line .holding-weight{font-size:12px;color:#22afe4;margin-top:6px;display:block}.holding-weight em{color:var(--muted);font-style:normal}.holding-line .holding-value{text-align:right;font-size:15px;white-space:nowrap}.holding-value small{display:block;font-size:12px;margin-top:6px}.history-screen .page-title{margin:10px 20px 22px;font-size:30px;font-weight:550}.history-screen .history-entry{padding:18px 20px;border-bottom:1px solid #20282b;display:flex;align-items:center;gap:12px}.date-divider{font-size:12px;color:var(--muted);padding:20px 20px 3px;text-transform:uppercase}.search-sticky{position:sticky;top:env(safe-area-inset-top);padding:0 15px 15px;background:#000;z-index:16}.search-sticky .searchbox{height:40px;border-radius:19px;margin:0;padding:10px 15px;background:#171b1c;gap:10px}.search-sticky .searchbox input{font-size:16px}.search-sticky .searchbox .icon{color:var(--muted);width:18px;height:18px}.ticker-strip{overflow:hidden;display:flex;gap:24px;padding:18px 28px 17px;border-bottom:1px solid #344044;white-space:nowrap}.ticker-strip button{display:flex;gap:10px;align-items:center;font-size:15px;flex-shrink:0;padding:0}.ticker-strip .brand-image{width:24px;height:24px;border-radius:8px}.ticker-strip em{font-style:normal;color:var(--green);margin-left:2px}.market-group{margin:23px 0 0}.market-group .scroll-tabs{margin:0 20px 15px;gap:9px}.market-group .scroll-tabs button{background:none;padding:11px 10px;font-size:15px}.market-group .scroll-tabs .active{background:#171b1c;color:white;border-radius:14px;padding-left:12px;padding-right:12px}.market-carousel{display:flex;gap:10px;padding:0 20px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}.instrument-card{display:flex;flex-direction:column;align-items:flex-start;flex-shrink:0;width:140px;height:160px;border:1px solid #354246;border-radius:21px;padding:15px;text-align:left;scroll-snap-align:start;background:#000;overflow:hidden}.instrument-card .brand-image{width:40px;height:40px;border-radius:13px;margin-bottom:8px}.instrument-card .instrument-name{font-size:15px;font-weight:500;line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;width:100%;margin-bottom:auto}.instrument-price{font-size:17px;font-weight:600;letter-spacing:-.2px;margin-top:8px;white-space:nowrap}.instrument-change{font-size:13px;line-height:17px;margin-top:3px;color:var(--green);font-weight:550}.market-section-title{font-size:17px;font-weight:500;margin:17px 20px 15px}.list-grid{display:flex;gap:10px;overflow-x:auto;padding:0 20px;margin:0 0 10px;scrollbar-width:none}.list-grid button,.browse-actions button{flex-shrink:0;border:1px solid #354246;border-radius:13px;font-size:15px;padding:11px 13px;white-space:nowrap}.browse-actions{display:flex;gap:10px;margin:0 20px 36px}.market-results .row{padding-left:20px;padding-right:20px}.market-results .brand-image{border-radius:12px}.market-results h2{font-size:18px;margin:20px}.spend-summary{padding:18px 20px 0}.spend-summary .card-label{font-size:12px}.spend-summary .value{font-size:43px;font-weight:400;letter-spacing:-1px;margin-top:9px}.spend-actions{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding:18px 20px 0}.spend-actions button{flex-shrink:0;display:flex;align-items:center;gap:7px;background:#1c2427;border-radius:24px;font-size:15px;font-weight:550;padding:11px 15px}.spend-actions .icon{width:19px;height:19px}.spend-section{margin:24px 20px 0}.spend-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.spend-heading h2{font-size:17px;font-weight:500;margin:0}.spend-heading button{font-size:15px;color:var(--blue);padding:0}.cards-carousel{display:flex;gap:15px;overflow-x:auto;scrollbar-width:none}.credit-card{height:63px;width:100px;border-radius:11px;border:1px solid #354246;background:#15191b;flex-shrink:0;position:relative;padding:9px;text-align:left}.credit-card .virtual-label{font-size:8px;position:absolute;right:10px;top:9px}.credit-card .last-four{position:absolute;bottom:8px;left:10px;font-size:12px}.mastercard{position:absolute;bottom:11px;right:11px;display:flex;width:26px}.mastercard i{width:16px;height:16px;border-radius:50%;background:#eb001b;flex-shrink:0}.mastercard i:last-child{background:#ff9e00;margin-left:-6px;opacity:.95}.add-card{width:100px;height:63px;border-radius:11px;background:#171b1c;color:var(--muted);font-size:32px;font-weight:300;flex-shrink:0}.cashback-promo{background:#171b1c;border-radius:22px;padding:16px 15px 15px;display:grid;grid-template-columns:55px 1fr;gap:12px 14px}.cashback-art{font-size:22px;color:#6dcaff;display:grid;place-items:center;transform:rotate(-15deg);text-shadow:1px 2px #007fb0}.cashback-promo h3{font-size:15px;margin:0 0 4px;font-weight:550}.cashback-promo p{font-size:13px;color:var(--muted);line-height:17px;margin:0}.cashback-promo button{height:40px;background:#fff;color:#000;font-weight:550;font-size:15px;border-radius:24px;grid-column:span 2;margin-top:4px}.spend-empty{display:block;background:#171b1c;border-radius:11px;padding:18px 12px;color:var(--muted);text-align:center;font-size:15px;width:100%;line-height:19px}.cashback-stats{display:flex;gap:10px}.cashback-stats>div{flex:1;background:#1c2224;border-radius:22px;padding:16px 15px;min-width:0}.cashback-stats strong{display:block;font-size:15px;font-weight:550;margin-top:6px}.spend-invest{background:#1c2224;border-radius:22px;overflow:hidden}.spend-invest button{display:flex;align-items:center;width:100%;padding:20px 22px;gap:12px;text-align:left;font-size:15px}.spend-invest button span:first-child{color:var(--green);font-size:24px}.spend-invest button span:last-child{margin-left:auto;color:var(--muted)}.limit-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin-bottom:20px}.limit-tabs button{font-size:15px;white-space:nowrap;color:var(--muted);padding:11px 15px;border-radius:13px}.limit-tabs .active{color:white;background:#1c2427}.limit-panels{display:flex;gap:20px}.limit-panel{border:1px solid #354246;border-radius:23px;padding:20px;flex:1;min-width:0}.limit-panel h3{font-size:15px;font-weight:500;margin:0 0 10px}.limit-panel .gauge{width:60px;height:60px;margin-bottom:8px}.limit-panel small{font-size:12px;color:var(--muted);white-space:nowrap}.limit-panel small strong{color:var(--green)}.screen-spending #app{padding-bottom:105px}.currency-note{color:var(--muted);font-size:12px;margin-top:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.target-input-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:14px}.target-input-row .brand-image{width:30px;height:30px}.target-input-row span{flex:1}.target-input-row input{width:75px;margin:0;height:43px;font-size:16px}.pie-amount-display{font-size:32px;text-align:center;margin:20px 0}.soft-panel{border-radius:16px;background:#12191c;padding:14px;margin:14px 0}.soft-panel p{font-size:14px;line-height:21px;margin:0;color:var(--muted)}.account-switcher{padding:10px 0}.account-switcher .net-worth{text-align:center}.net-worth small{font-size:12px;color:var(--muted)}.net-worth strong{font-size:32px;font-weight:400;display:block;margin-top:5px}.account-option{border:1px solid var(--blue);border-radius:16px;background:#1c2427;padding:20px;text-align:left;margin:24px 0;width:100%}.account-option strong{display:block;font-size:17px;margin:8px 0}.account-option small{font-size:14px;color:var(--muted)}.account-muted-card{background:#1c2427;border-radius:15px;padding:15px;margin:12px 0}.account-muted-card h3{font-size:17px;margin:0 0 5px}.account-muted-card p{color:var(--muted);font-size:14px;line-height:21px;margin:0}.holding-edit-remove{color:var(--red);padding:6px}.chart-tooltip{position:absolute;top:0;display:none;background:white;color:#101619;border-radius:4px;font-size:10px;font-weight:500;padding:4px 6px;transform:translateX(-50%);white-space:nowrap;pointer-events:none}.screen-pie .ref-chart{cursor:crosshair}.large-card-preview{margin:20px auto;background:linear-gradient(130deg,#28343a,#111);width:270px;max-width:100%;height:160px;border-radius:16px;position:relative;padding:20px;border:1px solid #455357}.large-card-preview .last-four{position:absolute;bottom:20px;font-size:20px}.large-card-preview .mastercard{bottom:22px;right:24px;transform:scale(1.7)}.screen-pie .ref-nav{z-index:25}.pie-tabs{touch-action:pan-y}.allocation-modal-row{display:flex;align-items:center;gap:12px;padding:15px 0}.allocation-modal-row .rowmain{font-size:15px}.allocation-modal-row small{color:var(--muted);font-size:13px}.restored-note{font-size:12px;color:var(--muted);margin-top:8px}@media(max-width:380px){.watch-row .watch-spark{width:50px}.watch-row .watch-name{max-width:118px}.watch-row{gap:7px}.watch-row .watch-value{font-size:14px}.holding-line{gap:6px}.holding-name{font-size:13px!important}.holding-line .holding-value{font-size:14px}.pie-ranges{margin-left:10px;margin-right:10px}.pie-ranges button{padding:0 8px;min-width:30px}}

.ref-nav .icon.pie-nav-outline{fill:none;stroke:#fff;stroke-width:1.15}
