/* The parent workspace owns navigation while account tools are inline. */
html[data-workspace-inline="true"] :is(#ftSiteNav,#ftCommandBar,.terminal-sidebar,.ui-mobile-nav,#fortressModeBar,.ui-subnav){display:none!important}
html[data-workspace-inline="true"] body{padding-left:0!important}
html[data-workspace-inline="true"] :is(.shell,.cash-shell,.cp-shell){width:100%!important;margin:0!important;padding:12px!important}
html[data-workspace-inline="true"] .ui-header{margin-left:0!important;width:100%!important;padding:8px 12px!important}
html[data-workspace-inline="true"] .ui-view[data-ui-view="holdings"]:not([hidden]){display:flex!important;flex-direction:column;gap:12px}
html[data-workspace-inline="true"] #webAccountSync{order:-1}
/* The same appearance tokens as Research, including dialogs and account tools. */
html[data-workspace-embedded="true"]{
 --dcp-bg:var(--rp-bg,#0e1117)!important;--dcp-surface:var(--rp-panel,#161b22)!important;
 --dcp-raised:var(--rp-soft,#1d242e)!important;--dcp-line:var(--rp-line,#2a333f)!important;
 --dcp-fg:var(--rp-text,#fff)!important;--dcp-muted:var(--rp-muted,#9ca3af)!important;
 --dcp-accent:var(--rp-accent,#00b386)!important;--dcp-good:var(--rp-bull,#00c853)!important;
 --dcp-bad:var(--rp-bear,#ff5252)!important;--desk-radius:7px;--desk-panel-pad:16px;
 --ui-base:13px;--ui-control:12px;--ui-small:11px;--ui-title:20px;--ui-radius:7px;
 --ui-primary:var(--rp-accent,#00b386)!important;--ui-primary-hover:#009b74!important;
 --ui-focus:var(--rp-accent,#00b386)!important;--ui-input-border:var(--rp-line,#2a333f)!important;
 color-scheme:dark;
}
html[data-workspace-embedded="true"] :is(body,button,input,select,textarea,table,h1,h2,h3){font-family:var(--rp-font,Inter,system-ui,sans-serif)!important}
html[data-workspace-embedded="true"] :is(#cpTheme,#ftTheme,.cp-settings-control [data-cp-action="settings"]){display:none!important}
html[data-workspace-inline="true"] :is(.ui-header,.ui-page-heading){display:none!important}
html[data-workspace-embedded="true"] :is(.panel,.cp-panel,.exl-panel){border-radius:7px!important;box-shadow:none!important}
html[data-workspace-embedded="true"] :is(button,input,select){font-size:12px!important;min-height:32px;border-radius:4px!important}
html[data-workspace-embedded="true"] :is(h2,h3){font-size:16px!important;font-weight:600!important}
html[data-workspace-embedded="true"] p{font-size:13px;line-height:1.65}
html[data-workspace-embedded="true"] .lock-card{max-height:none!important;overflow:visible!important;padding:24px!important;border-radius:7px!important}
html[data-workspace-embedded="true"] .lock-screen{align-items:flex-start!important}
html[data-workspace-embedded="true"] #unlockBtn{background:var(--rp-accent,#00b386)!important;color:#071814!important;border-color:var(--rp-accent,#00b386)!important}
