/* Sidaps blue water palette: rounded raised surfaces with readable content. */
html[data-sidaps-theme=light]{--sp-bg:#eef5ff;--sp-surface:#f9fcff;--sp-raised:#dceaff;--sp-border:#c0d5ef;--sp-text:#102b49;--sp-muted:#425f80;--aqua-card:linear-gradient(145deg,#ffffff 0%,#edf5ff 100%);--aqua-shadow:8px 12px 28px #174f9020,-4px -4px 16px #ffffffb0;--aqua-inset:inset 1px 1px 0 #ffffff,inset -1px -1px 0 #bfd7f055;--aqua-soft:linear-gradient(145deg,#e2f0ff,#c5ddfb)}
html[data-sidaps-theme=dark]{--sp-bg:#091b30;--sp-surface:#122e4b;--sp-raised:#1e456c;--sp-border:#345c83;--sp-text:#edf7ff;--sp-muted:#bdd2e8;--aqua-card:linear-gradient(145deg,#1c3c5d,#102941);--aqua-shadow:8px 12px 28px #020e1b55,-3px -3px 14px #4074a516;--aqua-inset:inset 1px 1px 0 #81b5e324,inset -1px -1px 0 #020c1733;--aqua-soft:linear-gradient(145deg,#254f78,#193b5d)}
body{background:radial-gradient(ellipse at 90% 0,#93c8ff22,transparent 45%),var(--sp-bg)!important;color:var(--sp-text);--ink:var(--sp-text);--muted:var(--sp-muted);--line:var(--sp-border);--blue:#247ee9}
html[data-sidaps-theme] body>.app-header{background:linear-gradient(115deg,#102b49 0%,#245c95 65%,#428fdb 100%)!important;border-color:#acd9ff55;box-shadow:0 6px 24px #173f7426}.app-header #userChip{border-radius:18px;background:#0b244b35;border-color:#c7e6ff45;box-shadow:inset 1px 1px 0 #ffffff18}.app-header .header-profile{border-radius:13px}.app-header .brand h1{color:#fff!important}.app-header .brand p{color:#daeafb!important}
html[data-sidaps-theme] body :is(.card,.investment-overview,.tablewrap,.modal,.dev-sidebar,.dev-content,.portfolio-empty,.profile-editor,.asset-selection,.asset-catalog,.usage-guide-body,.usage-guide-head,.usage-guide-footer,.usage-tour){background:var(--aqua-card)!important;border:1px solid var(--sp-border)!important;border-radius:25px!important;box-shadow:var(--aqua-inset),var(--aqua-shadow)!important;color:var(--sp-text)}
html[data-sidaps-theme] body :is(.overview-stat,.asset,.admin-stat){border-radius:24px!important;box-shadow:var(--aqua-inset),var(--aqua-shadow)!important}.investment-overview{padding:27px}.overview-grid{gap:19px}.assetgrid{gap:22px}.asset{overflow:hidden}.asset:before{height:5px!important;background:linear-gradient(90deg,#126fe2,#65c8ff)!important}.card:hover{transform:none!important}
html[data-sidaps-theme] body :is(.portfolio-banner,.admin-hero){background:linear-gradient(120deg,#112c49,#1d4b78 68%,#2d71ae)!important;border:1px solid #6aace777!important;border-radius:30px!important;box-shadow:inset 1px 1px 0 #ffffff20,0 12px 25px #153c6622;color:#f5fbff}
html[data-sidaps-theme] body :is(.portfolio-banner h2,.admin-hero h2){color:#fff!important}html[data-sidaps-theme] body .portfolio-banner p,body .admin-hero p{color:#d2e8ff!important}.portfolio-banner .eyebrow,.admin-eyebrow{color:#a0d6ff!important}.portfolio-banner .market-art{opacity:.7}.portfolio-banner:after,.admin-hero:after{border-color:#8bcaff12!important}
html[data-sidaps-theme] body .capital-stat{background:radial-gradient(ellipse at 95% 0,#26689844,transparent 65%),linear-gradient(135deg,#163958,#0d223b)!important;border-color:#4b8cc35c!important;box-shadow:inset 1px 1px 0 #aad8ff33,8px 12px 24px #0d315c30!important}.capital-stat .metric{color:#fff!important}.capital-balance-toggle{color:#bce8ff;background:linear-gradient(145deg,#37658a,#163958);border-color:#80c6f266;box-shadow:inset 1px 1px 0 #ffffff20,0 3px 8px #05132633}.capital-balance-toggle:hover{background:#2d608b;border-color:#9edbff}
html[data-sidaps-theme] body :is(.sale-summary,.dashboard-market-notice,.notice,.status,.cloud-owner-note,.usage-guide-notice){background:var(--aqua-card)!important;border-color:var(--sp-border)!important;border-radius:20px!important;box-shadow:var(--aqua-inset),0 6px 18px #1256940a;color:var(--sp-muted)}.dashboard-market-notice{border-left:4px solid #378fe0!important}.dashboard-market-notice.open{border-left-color:#31a985!important}.dashboard-market-badge{color:#23669f!important}.dashboard-market-notice h3{color:var(--sp-text)!important}.balance-privacy-status{border-radius:15px;background:var(--sp-raised)!important;border-color:var(--sp-border)!important;color:var(--sp-text)!important}
html[data-sidaps-theme] body :is(.label,.field label,.overview-eyebrow,.eyebrow,.account-menu-label,.dev-nav-label){color:var(--sp-muted)}.overview-icon,.asset-logo{border-radius:13px!important;border-color:var(--sp-border)!important;background:var(--aqua-soft)!important;color:#2773b4!important}.overview-icon{box-shadow:inset 1px 1px 0 #ffffff65,0 4px 7px #1b58971a}
html[data-sidaps-theme] body :is(.btn,.button,.tab,.dev-nav-btn,.nav-login,.account-edit-profile,.header-help-button,.header-logout){border-radius:13px!important;transition:background .18s,box-shadow .18s,transform .18s}
html[data-sidaps-theme] body :is(.btn.primary,.button.primary,.button.cream,#emailSubmit){background:linear-gradient(180deg,#65bbff 0%,#318ff4 45%,#1765db 100%)!important;color:#fff!important;border:1px solid #75bfff!important;box-shadow:inset 0 2px 1px #ccefffaa,0 6px 12px #216cd93b!important;text-shadow:0 1px 1px #124d9b55}
html[data-sidaps-theme] body :is(.btn.soft,.nav-login,.account-edit-profile){background:var(--aqua-soft)!important;color:var(--sp-text)!important;border:1px solid var(--sp-border)!important;box-shadow:inset 1px 1px 0 #ffffff55,0 4px 9px #2865a51a!important}.btn.danger,.header-logout{border-radius:13px!important}.sell-btn{border-radius:13px!important}.btn:hover,.button:hover{transform:translateY(-1px);filter:brightness(1.03)}.btn:active,.button:active{transform:translateY(1px);box-shadow:inset 0 2px 4px #0a356522!important}html[data-sidaps-theme] body :is(button,a,input,select,textarea):focus-visible{outline:3px solid #328bf0;outline-offset:3px}
html[data-sidaps-theme] body :is(input,select,textarea){border-radius:14px!important;border:1px solid var(--sp-border)!important;background:var(--sp-surface)!important;color:var(--sp-text)!important;box-shadow:inset 2px 3px 6px #1d5b9510,0 1px 0 #ffffff55!important}html[data-sidaps-theme] body :is(input,textarea)::placeholder{color:var(--sp-muted)!important}html[data-sidaps-theme] body :is(input,select,textarea):focus{border-color:#388dec!important}
html[data-sidaps-theme] body :is(th,.tablewrap th){background:var(--aqua-soft)!important;color:var(--sp-text)!important;border-color:var(--sp-border)!important}html[data-sidaps-theme] body td{background:transparent;color:var(--sp-text)!important;border-color:var(--sp-border)!important}.tablewrap{overflow:auto;border-radius:23px!important}tbody tr:hover{background:#52a5f010!important}tbody tr:nth-child(even){background:#6db8ff08}.assetrow{border-color:var(--sp-border)!important}.assetrow b{color:var(--sp-text)}
.app-header .account-quick-menu{background:var(--aqua-card)!important;border:1px solid var(--sp-border);border-radius:25px;box-shadow:var(--aqua-inset),0 18px 45px #0b315f35}.app-header .account-quick-menu .tab{border-radius:13px!important;background:transparent!important}.app-header .account-quick-menu .tab.active,.dev-nav-btn.active{background:var(--aqua-soft)!important;color:var(--sp-text)!important;border-color:var(--sp-border)!important;box-shadow:inset 1px 1px 0 #ffffff50,0 4px 7px #1b589717}.app-header .account-quick-menu :is(.header-help-button,#balanceVisibilityButton){background:var(--aqua-soft)!important;border-color:var(--sp-border)!important;color:var(--sp-text)!important;box-shadow:inset 1px 1px 0 #ffffff55,0 3px 7px #1b589710}.app-header .account-quick-menu .theme-choice{border-radius:15px;background:var(--sp-raised)!important}.app-header .account-quick-menu .theme-option[aria-pressed=true]{background:linear-gradient(#65bbff,#1871e1)!important;border-color:#65baff!important;color:#fff!important;box-shadow:inset 0 1px 1px #d5f0ff,0 3px 7px #1b589733}.account-menu-heading,.account-menu-footer{border-color:var(--sp-border)}
html[data-sidaps-theme] body :is(.dev-content .card,.dev-view-heading,.dev-sidebar-note,.quote-details,.overview-stat-bottom,.overview-stat .metric-note,.sale-summary-details){border-color:var(--sp-border)!important}.dev-content .dev-view-heading h3,.dev-content h3{color:var(--sp-text)!important}.dev-sidebar{border-radius:23px!important}.profile-dialog{border-radius:28px!important}.profile-photo-preview,.admin-avatar{border-radius:22px!important;border-color:#7bbaf1!important}.usage-guide-example,.tour-screen,.tour-mock-card{background:var(--aqua-soft)!important;color:var(--sp-text)!important;border-radius:18px!important;border-color:var(--sp-border)!important}.tour-target{background:var(--sp-raised)!important;color:var(--sp-text)!important;border-color:#3b93e9!important}
/* Public landing and sign-in use the same blue palette in their light appearance. */
.landing-page{background:radial-gradient(ellipse at 90% 5%,#c8e3ff88,transparent 40%),#eef5ff!important}.landing-page .site-header{border-color:#c5daf2}.landing-page .site-header a,.landing-page .site-header .brand{color:#173b60!important}.landing-page .premium-hero{background:radial-gradient(ellipse at 85% 0,#60b8ff55,transparent 60%),linear-gradient(120deg,#102841,#22598e 70%,#3f93db)!important;border:1px solid #80b8e877!important;border-radius:38px!important;box-shadow:inset 1px 1px 0 #caeaff4d,0 18px 40px #174f9026!important}.landing-page .premium-hero h1{color:#fff!important}.landing-page .premium-hero h1 em{color:#a5deff!important}.landing-page .premium-hero p{color:#daedff!important}.landing-page .premium-hero .eyebrow{color:#b9e5ff!important}.landing-page .floating-label,.landing-page .floating-card{background:linear-gradient(145deg,#2e6090,#163b60)!important;color:#e1f3ff!important;border-color:#89cfff55!important;box-shadow:inset 1px 1px 0 #bfeaff44,0 8px 20px #051f4133}.landing-page :is(.feature-main,.feature-small,.feature-wide,.preview,.privacy-visual,.privacy-chip,.how-section,.faq-list details){background:var(--aqua-card)!important;border:1px solid var(--sp-border)!important;border-radius:27px!important;box-shadow:var(--aqua-inset),var(--aqua-shadow)!important;color:var(--sp-text)}.landing-page .feature-grid{gap:22px}.landing-page :is(.preview-metrics,.mini-ledger,.preview-asset .asset-symbol){background:var(--aqua-soft)!important;border-color:var(--sp-border)!important;border-radius:16px!important}.landing-page :is(.preview h2,.preview-asset b,.preview-metrics strong,.mini-ledger b,.privacy-chip span,.section h2,.feature-grid h3,.faq summary){color:var(--sp-text)!important}.landing-page :is(.section-heading>span,.plain-note,.asset-strip,.preview-caption,.preview-metrics small,.mini-ledger span){color:#3e6286!important}.landing-page .preview-tabs button[aria-pressed=true]{background:linear-gradient(#6dbfff,#247ee9)!important;color:#fff!important;border-color:#71b9f4!important;box-shadow:inset 0 1px 0 #d1f0ff,0 3px 8px #16569b33}.landing-page .privacy-ring{border-color:#65a9e8!important;box-shadow:0 0 0 25px #d9ebff,0 0 0 26px #b9d8f3!important;color:#1863a7!important}.landing-page .check-circle{background:linear-gradient(#69bdff,#247fe7)!important;color:#fff!important;box-shadow:inset 0 2px 0 #bcf0ff,0 4px 12px #1265bb2b}.landing-page .end-cta{background:linear-gradient(120deg,#132e4d,#2769a6)!important;border-radius:32px}.landing-page .text-link{color:#d8eeff}.landing-page .asset-strip{border-color:#bed8f1}.landing-page footer{border-color:#c0d8f0}
html[data-sidaps-theme=light] #authBack{background:radial-gradient(ellipse at 75% 0,#9dccff66,transparent 55%),#edf5ff!important}html[data-sidaps-theme=light] #authBack .authcard{background:linear-gradient(145deg,#ffffff,#eef6ff)!important;border:1px solid #c8dff5!important;border-radius:29px!important;box-shadow:inset 1px 1px 0 #ffffff,12px 18px 44px #1a508d23,-5px -5px 22px #ffffffb0!important;color:#143555}html[data-sidaps-theme=light] #authBack :is(#authTitle,h2,.field label){color:#153957!important}html[data-sidaps-theme=light] #authBack :is(.email-auth-links button,.login-recovery-link button){color:#175fa7!important}html[data-sidaps-theme=light] #authBack .google-signin-button{background:linear-gradient(#ffffff,#e4f0ff)!important;border-color:#bdd8f4!important;color:#163e67!important;border-radius:14px!important;box-shadow:inset 0 1px 0 #fff,0 5px 12px #2166a51c!important}html[data-sidaps-theme=light] #authBack .cloud-signin input{background:#f8fcff!important;border-color:#bed8f1!important;color:#163959!important;-webkit-text-fill-color:#163959;box-shadow:inset 2px 3px 6px #1e5d9c0d!important}html[data-sidaps-theme=light] #authBack .cloud-signin input::placeholder{-webkit-text-fill-color:#526e8e}.auth-brand{color:#1a4872!important}
html[data-sidaps-theme=dark] body :is(.overview-icon,.asset-logo){color:#9cd8ff!important}html[data-sidaps-theme=dark] .dashboard-market-badge{color:#a4d7ff!important}html[data-sidaps-theme=dark] .capital-stat{border-color:#579cda66!important}
/* Semantic gains/losses remain distinguishable in both appearances. */
html[data-sidaps-theme=light] body :is(.green,.assetrow b.green){color:#177250!important}html[data-sidaps-theme=light] body :is(.red,.assetrow b.red){color:#b53c56!important}html[data-sidaps-theme=dark] body :is(.green,.assetrow b.green){color:#86dbb4!important}html[data-sidaps-theme=dark] body :is(.red,.assetrow b.red){color:#ffacba!important}
@media(max-width:760px){.investment-overview{padding:20px 16px!important;border-radius:25px!important}.overview-grid{gap:16px}.assetgrid{gap:20px}.asset{border-radius:23px!important}.portfolio-banner,.admin-hero{border-radius:25px!important}.landing-page .premium-hero{border-radius:29px!important}.landing-page :is(.feature-main,.feature-small,.feature-wide,.preview,.privacy-visual,.how-section){border-radius:23px!important}html[data-sidaps-theme] body .tablewrap{border-radius:19px!important}.account-quick-menu{border-radius:23px!important}.app-header .top{gap:12px}}
@media(prefers-reduced-motion:reduce){body :is(.btn,.button,.tab,.dev-nav-btn,.nav-login){transition:none!important;transform:none!important}}
.landing-page .market-watch{background:radial-gradient(ellipse at 90% 0,#427fa144,transparent 65%),linear-gradient(145deg,#153653,#0c223c)!important;border:1px solid #71b8ef66!important;border-radius:28px!important;box-shadow:inset 1px 1px 0 #b5eaff33,10px 14px 28px #0b315e33!important}.market-watch .watch-eyebrow,.market-watch .watch-currency{color:#b3deff!important}.market-watch .watch-tabs button[aria-pressed=true]{background:linear-gradient(#61b8ff,#257ee6)!important;border-color:#7fc8ff!important;color:#fff!important;box-shadow:inset 0 1px 0 #c4eeff,0 3px 8px #082b5355}.market-watch .watch-tabs{border-color:#83c5fa33!important}.market-watch .watch-page button{background:#21547d!important;border-color:#5c9bc666!important;color:#d6eeff!important}.app-header .avatar,.admin-avatar{color:#c6eaff!important;background:linear-gradient(145deg,#356990,#153c60)!important;border-color:#7fbbe477!important}.section h3:before{background:#368ce7!important}.landing-page footer a{color:#195c9e!important}.landing-page .end-cta :is(h2,p){color:#e6f4ff!important}.tag.manual,.tag.cached,.tag.closed{background:var(--sp-raised)!important;color:var(--sp-text)!important;border-color:var(--sp-border)!important}
