/* Readable defaults across public pages and private portfolio. No data changes. */
:root{--font-body:"Segoe UI",Roboto,Arial,sans-serif;--font-display:"Segoe UI",Roboto,Arial,sans-serif}
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html[data-sidaps-theme=light]{--sp-muted:#52677f;--sp-text:#293e56}html[data-sidaps-theme=dark]{--sp-muted:#b3c3d8;--sp-text:#e9eff8}
body{font-family:var(--font-body)!important;font-size:16px;line-height:1.7;--muted:#52677f;--ink:#293e56}
html[data-sidaps-theme=dark] body{--muted:#b3c3d8;--ink:#e9eff8}
body :is(button,input,select,textarea){font-family:var(--font-body)!important}
body :is(p,.muted,.company,.quote-meta,.section-intro,.metric-note,.scroll-hint,.platform-hint,.source-health,.source-health .muted,.profile-message,.cloud-sync){font-size:14px!important;line-height:1.75!important}
body :is(.label,.field label,.overview-eyebrow,.eyebrow,.admin-eyebrow,.account-menu-label,.dev-nav-label){font-size:12px!important;line-height:1.6!important;letter-spacing:.5px;font-weight:650}
body :is(.btn,.tab,.dev-nav-btn,.header-help-button,.header-logout){font-size:14px!important;line-height:1.5;min-height:44px}
body :is(input,select,textarea){font-size:16px!important;line-height:1.5;min-height:46px}
body :is(th,.tablewrap th){font-size:13px!important;line-height:1.6;font-weight:650;letter-spacing:.2px}
body :is(td,.tablewrap td,.assetrow,.assetrow b,.portfolio-table td){font-size:14px!important;line-height:1.7}
body :is(.asset .company,.asset .quote-meta,.quote-details summary,.portfolio-table td small,.market-session,.tag,.pill,.balance-privacy-status,.dev-meta,.admin-meta,.backup-time,.dev-sidebar-note){font-size:13px!important;line-height:1.7!important}
body :is(.overview-stat-caption,.overview-stat-bottom,.overview-stat-bottom span,.overview-stat-bottom small,.sale-summary-help small,.sale-summary-state,.sale-summary-details dt,.sale-summary-details dd,.overview-allocation-legend>span,.overview-allocation-legend b,.overview-composition p,.overview-composition small,.dashboard-market-notice small,.dashboard-market-badge){font-size:13px!important;line-height:1.65!important}
body .metric{font-size:28px;line-height:1.4;letter-spacing:-.5px;font-weight:650;font-variant-numeric:tabular-nums}
body .price{font-size:30px;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums}
body :is(.head h2,.dev-content h2,.dev-content h3,.section h3,.asset h3){font-weight:650;line-height:1.4}
body .notice{font-size:14px;line-height:1.8}
html[data-sidaps-theme=light] body :is(.muted,.company,.quote-meta,.section-intro,.metric-note,.scroll-hint,.platform-hint,.cloud-sync,.head p,.overview-stat-caption,.overview-stat-bottom,.dashboard-market-notice p,.dashboard-market-notice small,.trader-greeting p,.portfolio-banner p,.dev-meta,.admin-meta,.backup-time){color:#52677f!important}
html[data-sidaps-theme=dark] body :is(.muted,.company,.quote-meta,.section-intro,.metric-note,.scroll-hint,.platform-hint,.cloud-sync,.head p,.overview-stat-caption,.overview-stat-bottom,.dashboard-market-notice p,.dashboard-market-notice small,.trader-greeting p,.portfolio-banner p,.dev-meta,.admin-meta,.backup-time){color:#b3c3d8!important}
body .capital-stat :is(.label,.overview-stat-caption,.overview-stat-bottom){color:#dae5f1!important}
body .overview-stat .label{max-width:none}.capital-stat .overview-stat-top{padding-right:44px}.capital-stat .overview-stat-top>.label{max-width:none}
.overview-grid{gap:16px}.overview-stat{min-width:0}.overview-stat .metric{overflow-wrap:anywhere}.overview-grid .overview-stat{padding:22px!important;min-height:210px}.assetrow{gap:16px}.assetrow span{min-width:0}.assetrow b{text-align:right}.asset .actions{gap:9px;flex-wrap:wrap}.asset .actions .btn{white-space:normal}
.app-header .brand h1{font-family:var(--font-body);font-size:20px!important}.app-header .brand p{font-size:11px!important;letter-spacing:.2px}.app-header .header-profile-copy b{font-size:13px!important;max-width:150px}.app-header .header-profile-copy small{font-size:10px!important}.app-header .header-profile{max-width:230px}.app-header #userChip{max-width:260px}
.account-quick-menu{width:350px}.account-menu-heading{font-size:17px}.app-header .account-quick-menu .tab{font-size:15px!important;min-height:46px!important}.app-header .account-quick-menu :is(.header-help-button,#balanceVisibilityButton,.header-logout,.account-edit-profile){font-size:14px!important;min-height:44px!important;height:auto!important}.app-header .account-quick-menu .theme-option{min-height:38px;height:38px}.app-header .account-quick-menu .theme-option[aria-pressed=true]{font-size:13px}.account-menu-footer button{font-size:14px}.trader-greeting h2{font-size:26px}.trader-greeting p{max-width:750px}
.dev-navigation .dev-nav-btn{white-space:normal}.dev-content .card{overflow-wrap:anywhere}.usage-guide :is(p,small,.tour-caption p,.tour-disclaimer){font-size:14px!important;line-height:1.75}.usage-guide :is(h3,h4){font-size:19px}.usage-guide .btn{font-size:14px!important}
/* Login stays light; fields and instructions use stronger readable contrast. */
#authBack :is(.field label,#authSub,.auth-intro-copy p,.google-auth-message,.signup-privacy,.new-account-hint,.profile-message,.login-recovery-link,.email-auth-links button){font-size:14px!important;line-height:1.7!important}html[data-sidaps-theme=light] #authBack :is(#authSub,.google-auth-message,.signup-privacy,.new-account-hint){color:#52677f!important}
#authBack :is(.google-signin-button,#emailSubmit,.password-toggle){font-size:16px!important;min-height:48px}#authBack .authcard{padding:30px}#authBack .email-auth-links{gap:14px;flex-wrap:wrap}#authBack .email-auth-links button{min-height:44px}
.landing-page p{font-size:16px!important;line-height:1.8!important}.landing-page :is(.site-header nav,.nav-login,.asset-strip,.feature-grid small,.preview-caption,.plain-note,footer small,footer p,.preview-asset small,.preview-metrics small,.chart-heading,.mini-ledger span){font-size:14px!important;line-height:1.7}.landing-page :is(.eyebrow,.section-heading>span){font-size:12px!important}.landing-page :is(.site-header a,.faq summary){font-weight:600}.landing-page .faq summary{font-size:17px}.landing-page .preview-asset{gap:12px}
@media(max-width:1100px){.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-header .brand p{display:none}.dev-navigation{gap:8px}.dev-nav-btn{padding:11px}}
@media(max-width:760px){body{font-size:16px}body .overview-grid .overview-stat{padding:18px!important;min-height:195px}.overview-grid .overview-stat .metric{font-size:26px!important;line-height:1.4}.capital-stat .overview-stat-top{padding-right:36px}.capital-balance-toggle{right:10px;top:10px}.assetrow{font-size:14px!important}.dashboard-market-notice h3{font-size:18px}.trader-greeting h2{font-size:24px}.app-header .brand h1{font-size:17px!important}.app-header .header-profile-copy b{font-size:12px!important;max-width:100px}.app-header .header-profile-copy small{font-size:10px!important}.app-header .header-profile{max-width:185px}.app-header #userChip{max-width:195px}.dev-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-page p{font-size:16px!important}#authBack .authcard{padding:24px}.landing-page .site-header .brand{font-size:20px}}
@media(max-width:480px){.overview-grid{grid-template-columns:minmax(0,1fr)!important}.overview-grid .overview-stat{min-height:170px!important}.overview-grid .overview-stat .metric{font-size:29px!important}.app-header .brand .logo{display:none}.app-header .brand h1{font-size:16px!important}.app-header .header-profile-copy small{display:none}.app-header #userChip{max-width:165px}.app-header .header-profile{max-width:160px}.landing-page .preview-metrics{gap:12px}.landing-page .preview-metrics strong{font-size:21px}.assetrow{gap:10px}.dev-content{padding:16px}.modal{padding:22px!important}}
#authBack :is(a,button,.google-divider){font-size:14px!important}#authBack :is(input,textarea)::placeholder{color:#596c84!important;opacity:1}#authBack .google-divider{line-height:1.6}
