 .commercial-shell .account-tabs.modern-tabs{flex-wrap:wrap!important;}
.preference-row input[role=switch]{appearance:none!important;position:relative;border:1px solid var(--line);border-radius:20px;background:#77777730;flex-shrink:0;margin:0}
.preference-row input[role=switch]::before{content:'';display:block;position:absolute;top:2px;left:2px;width:14px;height:14px;background:#e5e1ee;border-radius:50%;transition:transform .15s}
.preference-row input[role=switch]:checked{background:var(--purple);border-color:var(--purple)}
.preference-row input[role=switch]:checked::before{transform:translateX(16px)}
.preference-row input[role=switch]:disabled{opacity:.4;cursor:not-allowed}
.preference-row input[role=switch]:focus-visible{outline:2px solid var(--purple);outline-offset:4px}
@media(prefers-color-scheme:light){html[data-theme=system] .preference-row select,html[data-theme=system] .profile-form input{background:var(--panel);color:var(--text);border:1px solid var(--line)}}
.modern-tabs{flex-wrap:wrap!important;overflow:visible!important;gap:6px!important;padding:12px 0 20px}.modern-tabs button{flex:0 0 auto;background:none;border:0;color:var(--dim);font-size:12px;min-height:40px}.modern-tabs button[aria-selected=true]{background:#ffffff09;color:var(--text);border-radius:8px}.modern-preference-panel{border:0!important;background:none!important;padding:0!important;overflow:visible}.modern-preference-panel h2{margin-bottom:16px}.modern-preference-panel>section{margin-bottom:16px}.preference-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--line);font:14px/20px Inter,'Noto Sans SC',sans-serif}.preference-row>strong{font-weight:500}.preference-choices{display:flex;gap:8px;flex-wrap:wrap}.preference-choices button{background:none;border:1px solid var(--line);border-radius:8px;color:var(--dim);padding:8px 12px;min-height:40px;font-size:12px}.preference-choices button[aria-pressed=true]{background:#ffffff08;color:var(--text);border-color:#ffffff30}.preference-row input[role=switch]{width:36px;height:20px;accent-color:var(--purple);cursor:pointer}.preference-row select{max-width:230px}.account-help{display:flex;flex-wrap:wrap;gap:16px;padding-top:24px;font-size:12px}.account-help a,.account-help button{color:var(--dim);padding:8px 0;background:none;border:0}.modern-preference-panel>.muted{margin:20px 0 12px}.global-header .guest-preferences{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#232031;color:var(--text);border:1px solid var(--line)}.learn-fulgra{background:none;border:0;color:var(--dimmer);font-size:12px;padding:4px 0;text-align:left;cursor:pointer}.learn-fulgra:hover{color:var(--text)}.alert-context-hint{font-size:12px;line-height:18px;color:var(--dimmer);margin-bottom:16px}.sidebar-docs{display:none!important}
html[data-table-density=compact] .opp-row[data-symbol]{height:44px;min-height:44px!important;padding-block:4px}html[data-advanced-data=false] .dp-context{display:none}html[data-advanced-data=false] .context-quality{display:none}
@media(max-width:767px){html[data-table-density=compact] .opp-row[data-symbol]{height:auto;min-height:124px!important}.commercial-shell[data-kind=account] .commercial-page{padding:20px 16px}.modern-tabs{gap:4px!important}.modern-tabs button{padding:8px!important}.preference-row{gap:12px}.preference-choices{gap:6px}.preference-choices button{min-height:44px}.modern-preference-panel .btn{min-height:44px}}
@media(prefers-color-scheme:light){html[data-theme=system]{--bg:#f8f9fb;--panel:#fff;--panel2:#f1f2f6;--text:#20212b;--dim:#585b6c;--dimmer:#6e7282;--line:rgba(20,22,40,.1);--purple:#7950bb;--purple-glow:#7950bb;color-scheme:light}html[data-theme=system] body,html[data-theme=system] .main,html[data-theme=system] .content{background:var(--bg);color:var(--text)}html[data-theme=system] .sidebar,html[data-theme=system] .global-header,html[data-theme=system] .alpha-footer,html[data-theme=system] .commercial-page,html[data-theme=system] .source-health-menu,html[data-theme=system] .alert-sound-menu,html[data-theme=system] .command-palette,html[data-theme=system] .mstate,html[data-theme=system] .opp,html[data-theme=system] .em-card,html[data-theme=system] .filter-controls,html[data-theme=system] #stateLegend,html[data-theme=system] #densityPanel{background:var(--panel)!important;color:var(--text)}html[data-theme=system] .preference-choices button[aria-pressed=true],html[data-theme=system] .modern-tabs button[aria-selected=true]{background:#20212b08;color:var(--text)}html[data-theme=system] .commercial-shell section{background:var(--panel2)}html[data-theme=system] .opp-row.head{background:var(--panel2)}html[data-theme=system] .preference-choices button{border-color:var(--line)}html[data-theme=system] .source-context summary,html[data-theme=system] .global-header strong,html[data-theme=system] h1,html[data-theme=system] h2{color:var(--text)}}
