/* Compact phone typography; desktop and portfolio calculations are unchanged. */
@media(max-width:760px){
html[data-sidaps-theme] body{--font-body:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-display:var(--font-body);font-family:var(--font-body)!important;line-height:1.6}
html[data-sidaps-theme] body>.app-header{padding:9px 14px;box-shadow:0 3px 12px #0825421a}.app-header .top{gap:10px}.app-header .brand h1{font-size:15px!important;font-weight:600;letter-spacing:-.35px}.app-header #userChip{padding:2px!important;max-width:170px;border-radius:14px}.app-header .header-profile{padding:3px 5px;gap:7px;max-width:165px}.app-header .header-profile-copy b{font-size:12px!important;max-width:105px;font-weight:600}.app-header .header-profile-copy small{display:none!important}.app-header .header-profile .avatar{width:28px;height:28px;flex-basis:28px;font-size:12px}.app-header .profile-chevron{font-size:12px}
html[data-sidaps-theme] body main{padding:12px 14px 24px}.trader-greeting{margin-bottom:16px}.trader-greeting h2{font-size:22px;font-weight:600;letter-spacing:-.5px}.trader-greeting p{font-size:13px!important;line-height:1.65!important}.dashboard-market-notice{padding:13px 15px!important;border-radius:18px!important}.dashboard-market-notice h3{font-size:16px!important;line-height:1.45}.dashboard-market-notice p{font-size:13px!important;line-height:1.65!important}.dashboard-market-notice small{font-size:12px!important}
html[data-sidaps-theme] body .investment-overview{padding:18px 14px!important;border-radius:22px!important}.overview-heading{gap:13px;margin-bottom:17px}.overview-heading h2{font-size:23px;font-weight:650;letter-spacing:-.6px}.overview-heading .overview-eyebrow{font-size:10px!important;letter-spacing:1px}.overview-heading p{font-size:13px!important;line-height:1.65!important;margin-top:6px}.overview-heading .toolbar{gap:8px}.overview-heading .toolbar .btn{min-width:0;min-height:44px;font-size:12px!important;font-weight:600;line-height:1.3;padding:10px 8px;border-radius:12px!important;white-space:normal}
html[data-sidaps-theme] body .overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px;margin-bottom:16px}
html[data-sidaps-theme] body .overview-grid .overview-stat{min-height:0!important;padding:15px 13px!important;border-radius:19px!important;box-shadow:inset 1px 1px 0 #8ebbe31c,0 5px 14px #082b4d13!important;min-width:0}
html[data-sidaps-theme] body .overview-stat .label{font-size:11px!important;line-height:1.45!important;font-weight:600;letter-spacing:.25px}.overview-stat-top{gap:5px;align-items:flex-start}.overview-stat-top>.overview-icon{width:23px;height:23px;flex:0 0 23px;border-radius:8px!important}.overview-stat-top>.overview-icon svg{width:13px;height:13px}
html[data-sidaps-theme] body .overview-grid .overview-stat .metric{font-family:var(--font-body)!important;font-size:20px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.65px;margin:13px 0 8px;font-variant-numeric:tabular-nums;overflow-wrap:normal;white-space:nowrap}
html[data-sidaps-theme] body .overview-grid .overview-stat :is(.overview-stat-caption,.metric-note){font-size:12px!important;line-height:1.55!important;font-weight:400;margin:0;min-height:0;border:0;padding:0;letter-spacing:0}
html[data-sidaps-theme] body .overview-grid .overview-stat .overview-stat-bottom{font-size:11px!important;line-height:1.5!important;margin-top:12px;padding-top:10px;letter-spacing:0}
html[data-sidaps-theme] body .overview-grid .capital-stat{grid-column:1/-1;padding:18px!important;min-height:142px!important;background:radial-gradient(ellipse at 95% 0,#3283bd55,transparent 65%),linear-gradient(130deg,#153c5c,#102841)!important}.capital-stat .overview-stat-top{padding-right:40px}.capital-stat .overview-stat-top>.label{font-size:11px!important;letter-spacing:.7px;max-width:none}
html[data-sidaps-theme] body .overview-grid .capital-stat .metric{font-size:29px!important;line-height:1.25!important;letter-spacing:-.7px;margin:15px 0 7px;font-weight:600!important}.capital-stat .overview-stat-bottom{display:none}.capital-stat .capital-balance-toggle{width:36px;height:36px;min-height:36px;right:12px;top:12px;border-radius:11px}.capital-balance-toggle svg{width:17px;height:17px}
.overview-grid .value-stat,.overview-grid .profit-stat{display:flex;flex-direction:column}.overview-grid .value-stat .overview-stat-top,.overview-grid .profit-stat .overview-stat-top{min-height:32px}.overview-grid .value-stat .overview-stat-bottom,.overview-grid .profit-stat .overview-stat-bottom{margin-top:auto!important;padding-top:10px!important;border-top:0!important}.overview-grid .value-stat .overview-stat-caption,.overview-grid .profit-stat .metric-note{padding-bottom:11px!important}
html[data-sidaps-theme] body .overview-grid .activity-stat{grid-column:1/-1;position:relative;padding:14px 75px 14px 15px!important;min-height:80px!important}.activity-stat .overview-stat-top>.overview-icon{display:none}.activity-stat .overview-stat-caption{margin-top:5px!important}.activity-stat .overview-flow-counts{display:none}html[data-sidaps-theme] body .overview-grid .activity-stat #transactionCount{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:30px!important;font-weight:500!important;margin:0;max-width:75px}
.sale-summary{padding:16px!important;border-radius:19px!important;gap:15px}.sale-summary-result .metric{font-size:25px!important;font-weight:600;letter-spacing:-.6px}.sale-summary .label{font-size:11px!important}.sale-summary :is(p,small,dt,dd){font-size:12px!important;line-height:1.6!important}.overview-composition{margin-top:14px}.overview-allocation-legend{gap:6px 10px}.overview-allocation-legend>span,.overview-allocation-legend b{font-size:11px!important}
html[data-sidaps-theme] body .asset{padding:18px!important;border-radius:20px!important}.asset h3{font-size:18px!important;font-weight:650}.asset .price{font-family:var(--font-body);font-size:27px!important;font-weight:600;letter-spacing:-.6px;margin:14px 0}.assetrow,.assetrow b{font-size:13px!important;line-height:1.6!important}.assetrow{padding:9px 0;gap:10px}.asset .company,.asset .quote-meta{font-size:12px!important;line-height:1.7!important}.asset .actions .btn{font-size:12px!important;min-height:44px}
.account-menu-heading{font-weight:600}.account-quick-menu .tab{font-weight:500!important}.account-menu-label{font-size:11px!important}.app-header .account-quick-menu :is(.header-help-button,#balanceVisibilityButton,.header-logout,.account-edit-profile){font-weight:500}.dev-content h3,.dev-view-heading h3{font-size:22px!important;letter-spacing:-.4px}.dev-content p{font-size:13px!important;line-height:1.7!important}body :is(th,.tablewrap th){font-size:12px!important}body :is(td,.tablewrap td){font-size:13px!important}
}
@media(min-width:360px) and (max-width:389px){html[data-sidaps-theme] body .overview-grid .overview-stat .metric{font-size:18px!important}.overview-stat-top>.overview-icon{display:none}.overview-grid .value-stat .overview-stat-top,.overview-grid .profit-stat .overview-stat-top{min-height:18px}}
@media(max-width:359px){html[data-sidaps-theme] body .overview-grid{grid-template-columns:minmax(0,1fr)!important}html[data-sidaps-theme] body .overview-grid .overview-stat .metric{font-size:24px!important}.overview-grid .value-stat .overview-stat-top,.overview-grid .profit-stat .overview-stat-top{min-height:0}.overview-stat .overview-stat-bottom{display:none}.app-header .header-profile-copy b{max-width:80px}.app-header .brand h1{font-size:14px!important}}
@media(min-width:360px) and (max-width:760px){.overview-grid .value-stat .overview-stat-bottom,.overview-grid .profit-stat .overview-stat-bottom{display:none}.overview-grid .value-stat .overview-stat-caption,.overview-grid .profit-stat .metric-note{padding-bottom:0!important}}
