@import url('/assets/control-typography.css?v=db5ca750b42f');
/* Selected workspace shell replaces sidebar.css on migrated app pages. */
@font-face{font-family:TSB Inter;src:url('/assets/fonts/Inter-Regular-ui.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:TSB Inter;src:url('/assets/fonts/Inter-Medium-ui.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:TSB Inter;src:url('/assets/fonts/Inter-SemiBold-ui.woff2') format('woff2');font-weight:600;font-display:swap}
.workspace-shell-native{--ws-ink:var(--text-primary,#20231f);--ws-muted:var(--text-secondary,#696e74);--ws-line:var(--app-border-soft,#e7e8eb);--ws-surface:var(--bg-primary,#fff);--ws-soft:var(--bg-secondary,#f5f5f6);--ws-nav-surface:var(--ws-soft);--ws-hover:var(--ws-line);--ws-accent:var(--app-accent,var(--user-action-accent,#443ab8));--ws-accent-text:var(--app-accent-text,var(--ws-accent));--ws-accent-soft:var(--app-accent-soft,var(--user-action-accent-soft,#eeedf8));--ws-sidebar-width:116px;--ws-global-rail-width:52px;--ws-brand-surface:var(--user-workspace-frame,#262728);--ws-brand-ink:#f5f5f4;--ws-brand-muted:#bfc0c5;--ws-frame-control-hover:var(--user-workspace-control-hover,color-mix(in srgb,var(--ws-brand-surface) 84%,#000));--ws-topbar-height:58px;--ws-content-max-width:1800px;--ws-page-gutter:32px;padding-top:var(--ws-topbar-height)}
html.light .workspace-shell-native{--ws-soft:var(--app-surface-control);--ws-hover:var(--app-action-bg-hover);--ws-active-ink:var(--ws-accent);--ws-page-background:var(--app-bg-shell,#fff);--ws-page-title-font:TSB Inter,Inter,sans-serif;--ws-page-title-size:32px;--ws-page-title-weight:600;--ws-page-title-leading:1.25;--ws-page-title-tracking:-.035em}
html.dark .workspace-shell-native{--ws-active-ink:var(--app-accent-text,#a69ffa)}
.workspace-shell-native.sidebar-expanded{--ws-sidebar-width:274px}
body.workspace-shell-native.has-sidebar{padding-left:var(--ws-sidebar-width)}
.workspace-shell-native :where(.tsb-sidebar,.workspace-global-rail,.workspace-topbar,.workspace-search-dialog){font-family:TSB Inter,Inter,sans-serif;font-size:16px;line-height:1.5;color:var(--ws-ink)}
.workspace-shell-native :where(.tsb-sidebar,.workspace-global-rail,.workspace-topbar,.workspace-search-dialog) *{box-sizing:border-box}
.workspace-shell-native :where(.tsb-sidebar,.workspace-global-rail,.workspace-topbar,.workspace-search-dialog) :where(button,input,summary){font:inherit}
.workspace-shell-native :where(.tsb-sidebar,.workspace-global-rail,.workspace-topbar,.workspace-search-dialog) :where(a,button,input,summary):focus-visible{outline:2px solid var(--ws-accent-text);outline-offset:3px}
.workspace-shell-native :where(.tsb-sidebar,.workspace-global-rail,.workspace-topbar,.workspace-search-dialog) :where(svg,i[data-lucide]){width:var(--tsb-source-logo-size,20px);height:var(--tsb-source-logo-size,20px);flex:none;stroke-width:1.7}
.workspace-shell-native :where(.tsb-sidebar,.workspace-global-rail,.workspace-topbar,.workspace-search-dialog) [hidden]{display:none!important}
.workspace-shell-native .tsb-sidebar{position:fixed;inset:0 auto 0 var(--ws-global-rail-width);width:calc(var(--ws-sidebar-width) - var(--ws-global-rail-width));display:flex;flex-direction:column;min-height:0;background:transparent;border:0;isolation:isolate;z-index:100}
.workspace-shell-native .tsb-sidebar::before{content:"";position:absolute;inset:var(--ws-topbar-height) 0 0;background:var(--ws-brand-surface);z-index:-1;pointer-events:none}

html:has(body.workspace-shell-native){scrollbar-gutter:stable}
.workspace-shell-native .workspace-global-rail{position:fixed;inset:0 auto 0 0;z-index:105;width:var(--ws-global-rail-width);display:flex;flex-direction:column;align-items:center;background:transparent;color:var(--ws-brand-ink);isolation:isolate}
.workspace-shell-native .workspace-brand-band{position:fixed;inset:0 0 auto;height:var(--ws-topbar-height);background:var(--ws-brand-surface);border:0;box-shadow:none;pointer-events:none;z-index:90}
.workspace-shell-native .workspace-global-rail::before{content:"";position:absolute;inset:var(--ws-topbar-height) 0 0;background:var(--ws-brand-surface);z-index:-1;pointer-events:none}
.workspace-shell-native .workspace-global-toggle{display:flex;align-items:center;justify-content:center;flex:none;width:100%;height:var(--ws-topbar-height)}
.workspace-shell-native .workspace-global-main{display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;gap:8px;width:100%;padding:12px 6px;overflow-y:auto;scrollbar-width:none}
.workspace-shell-native .workspace-global-footer{display:flex;flex:none;flex-direction:column;align-items:center;gap:8px;width:100%;padding:12px 6px}
.workspace-shell-native .workspace-global-action,.workspace-shell-native .workspace-global-footer>.sidebar-link{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;min-height:40px;margin:0;padding:8px;gap:0;border:0;border-radius:7px;background:transparent;color:var(--ws-brand-ink);text-decoration:none;cursor:pointer;list-style:none;transition:background-color .14s ease,color .14s ease}
.workspace-shell-native .workspace-global-action::-webkit-details-marker{display:none}
.workspace-shell-native .workspace-global-action>svg,.workspace-shell-native .workspace-global-footer>.sidebar-link>svg,.workspace-shell-native .workspace-global-toggle>.sidebar-collapse-toggle>svg{width:20px;height:20px;color:inherit}
.workspace-shell-native .workspace-global-footer>.sidebar-link>.sidebar-label{display:none}
.workspace-shell-native .workspace-global-rail :where(a,button,summary):focus-visible,.workspace-shell-native .workspace-topbar :where(a,button):focus-visible{outline-color:var(--ws-brand-ink)}
.workspace-shell-native .workspace-global-help,.workspace-shell-native .workspace-global-settings,.workspace-shell-native .workspace-global-rail .workspace-user-menu{position:relative;width:40px;margin:0;padding:0}
.workspace-shell-native .workspace-global-rail .sidebar-user{justify-content:center;min-height:40px;height:40px;padding:0;border-radius:7px;color:var(--ws-brand-ink)}
.workspace-shell-native .workspace-global-rail .sidebar-user>.sidebar-label{display:none}
.workspace-shell-native .workspace-global-rail .sidebar-avatar{width:32px;min-width:32px;height:32px;flex:none;background:color-mix(in srgb,var(--ws-brand-ink) 10%,transparent);color:var(--ws-brand-ink)}
.workspace-shell-native .workspace-global-popover,.workspace-shell-native .workspace-global-rail .workspace-user-actions{position:absolute;left:calc(100% + 8px);bottom:0;top:auto;width:240px;min-width:0;max-width:calc(100vw - 68px);max-height:calc(100dvh - 24px);overflow-y:auto;display:grid;gap:4px;margin:0;padding:8px;background:var(--ws-surface);color:var(--ws-ink);border:1px solid var(--ws-line);border-radius:9px;box-shadow:0 12px 32px #20231f24;z-index:160}
.workspace-shell-native :is(.workspace-global-help,.workspace-global-settings):not([open]) .workspace-global-popover{display:none}
.workspace-shell-native .workspace-settings-panel{width:340px;padding:8px;gap:0}
.workspace-settings-links{display:grid;grid-template-columns:minmax(0,1fr);gap:2px}
.workspace-settings-links a{display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 12px;border:0;border-radius:6px;font-size:14px;line-height:22px;font-weight:500;color:var(--ws-ink);text-decoration:none;transition:background-color .14s ease,color .14s ease}
.workspace-settings-links a:hover{background:var(--ws-hover)}
.workspace-shell-native .workspace-settings-links a svg{flex:none;width:18px;height:18px;color:var(--ws-muted)}
.workspace-quick-appearance{display:grid;gap:12px;min-width:0;margin:8px 0 0;padding:14px 12px;border-top:1px solid var(--ws-line)}
.workspace-appearance-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-height:22px}
.workspace-appearance-heading h2{margin:0;font-size:14px;line-height:22px;font-weight:600}
.workspace-appearance-heading [data-workspace-appearance-status]{flex:none;margin:0;color:var(--ws-muted);font-size:11px;line-height:18px}
.workspace-appearance-choice-group{min-width:0;margin:0;padding:0;border:0}
.workspace-appearance-choice-group>legend{margin:0 0 10px;padding:0;color:var(--ws-ink);font-size:13px;font-weight:500;line-height:20px}
.workspace-appearance-accents{display:grid;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));gap:4px}
.workspace-appearance-accent{position:relative;display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0;min-height:64px;padding:4px 0;cursor:pointer;font-size:12px;line-height:16px;color:var(--ws-muted)}
.workspace-appearance-choice-group input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.workspace-appearance-swatch{display:grid;place-items:center;flex:none;width:30px;height:30px;background:var(--swatch);border-radius:50%;box-shadow:0 0 0 3px var(--ws-surface);transition:box-shadow .14s ease}
.workspace-shell-native .workspace-appearance-swatch svg{width:16px;height:16px;color:#fff;opacity:0}
.workspace-appearance-accent input:checked+.workspace-appearance-swatch{box-shadow:0 0 0 3px var(--ws-surface),0 0 0 4px var(--swatch)}
.workspace-appearance-accent input:checked+.workspace-appearance-swatch svg{opacity:1}
.workspace-appearance-accent input:checked~span:last-child{color:var(--ws-ink);font-weight:600}
.workspace-appearance-accent:hover:not(:has(input:checked)) .workspace-appearance-swatch{box-shadow:0 0 0 3px var(--ws-surface),0 0 0 4px var(--ws-muted)}
 .workspace-appearance-custom-choice input[type=color]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.workspace-appearance-custom-choice .workspace-appearance-swatch>span{display:grid;place-items:center;grid-area:1/1}
.workspace-shell-native .workspace-appearance-custom-choice .workspace-appearance-swatch svg{opacity:1;color:var(--swatch-ink,#fff)}
.workspace-appearance-custom-choice [data-custom-selected-icon]{opacity:0}
.workspace-appearance-custom-choice [data-custom-idle-icon]{opacity:1!important}
.workspace-appearance-custom-choice.is-selected [data-custom-idle-icon]{opacity:0!important}
.workspace-appearance-custom-choice.is-selected [data-custom-selected-icon]{opacity:1}
.workspace-appearance-custom-choice.is-selected .workspace-appearance-swatch{box-shadow:0 0 0 3px var(--ws-surface),0 0 0 4px var(--swatch)}
.workspace-appearance-custom-choice.is-selected>span:last-child{font-weight:600;color:var(--ws-ink)}
.workspace-appearance-choice-group input:focus-visible+.workspace-appearance-swatch{outline:2px solid var(--ws-accent-text);outline-offset:6px}
.workspace-appearance-frames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.workspace-appearance-frame{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:86px;padding:10px 8px;border-radius:6px;background:var(--ws-soft);font-size:12px;line-height:18px;cursor:pointer;transition:background-color .14s ease}
.workspace-appearance-frame-preview{position:relative;display:block;width:64px;height:36px;border-top:7px solid var(--swatch);border-left:7px solid var(--swatch);border-radius:4px;background:var(--ws-surface);box-shadow:0 0 0 1px var(--ws-line)}
.workspace-appearance-frame-preview::after{content:'';position:absolute;left:9px;right:8px;top:8px;height:3px;border-radius:1px;background:var(--ws-line);box-shadow:0 7px var(--ws-line)}
.workspace-appearance-frame input:checked~.workspace-appearance-frame-preview{box-shadow:0 0 0 1px var(--ws-accent)}
.workspace-appearance-frame input:checked~span:last-of-type{font-weight:600;color:var(--ws-accent-text)}
.workspace-shell-native .workspace-appearance-frame>svg{position:absolute;right:6px;top:6px;width:14px;height:14px;color:var(--ws-accent-text);opacity:0}
.workspace-appearance-frame input:checked~svg{opacity:1}
.workspace-appearance-frame:hover{background:var(--ws-hover)}
.workspace-appearance-frame input:focus-visible+.workspace-appearance-frame-preview{outline:2px solid var(--ws-accent-text);outline-offset:4px}
.workspace-shell-native .workspace-global-popover .sidebar-link{min-height:40px;margin:0;padding:8px 10px;font-size:14px;gap:8px}
.workspace-shell-native .workspace-global-rail :is(.workspace-global-popover,.workspace-user-actions) :where(a,button,summary,select,input):focus-visible{outline:2px solid var(--ws-accent-text);outline-offset:-2px}
@media(prefers-reduced-motion:reduce){.workspace-shell-native .workspace-global-action,.workspace-shell-native .workspace-global-footer>.sidebar-link{transition:none}}

.workspace-shell-native .sidebar-brand-row{height:var(--ws-topbar-height);min-height:var(--ws-topbar-height);display:flex;align-items:center;justify-content:space-between;padding:0 12px;gap:8px;background:transparent;color:var(--ws-brand-ink)}
/* The Light frame follows the selected action accent as one connected surface. */
html.light .workspace-shell-native{--ws-brand-surface:var(--user-workspace-frame,var(--ws-accent));--ws-brand-ink:var(--user-workspace-ink,var(--app-action-primary-color,#fff));--ws-brand-muted:color-mix(in srgb,var(--ws-brand-ink) 72%,transparent);--ws-rail-surface:var(--ws-brand-surface);--ws-rail-ink:var(--ws-brand-ink)}
html.light .workspace-shell-native :is(.workspace-global-rail,.tsb-sidebar){background:transparent}
html.light .workspace-shell-native .workspace-global-rail{color:var(--ws-rail-ink)}
html.light .workspace-shell-native .workspace-global-rail :is(.workspace-global-action,.workspace-global-footer>.sidebar-link,.sidebar-user){background:transparent;color:var(--ws-rail-ink)}
html.light .workspace-shell-native .workspace-global-rail :is(.workspace-global-action,.workspace-global-footer>.sidebar-link,.sidebar-user):focus-visible{outline-color:var(--ws-rail-ink)}
html.light .workspace-shell-native .workspace-global-rail .sidebar-avatar{background:color-mix(in srgb,var(--ws-rail-ink) 10%,transparent);color:var(--ws-rail-ink)}
.workspace-shell-native .sidebar-logo{display:flex;flex:1;min-width:0;align-items:center;justify-content:flex-start;padding-inline-start:8px;text-decoration:none}
.workspace-shell-native .sidebar-logo-lockup{display:block;width:100px;height:auto;max-height:30px;object-fit:contain;filter:var(--user-workspace-logo-filter,none)}
html[data-app-accent=Custom] .workspace-shell-native{--ws-brand-ink:var(--user-workspace-ink)}
.workspace-shell-native :where(.sidebar-collapse-toggle,.workspace-icon-button,.workspace-pins-heading button){display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:0;background:transparent;border-radius:5px;color:var(--ws-muted);cursor:pointer}
.workspace-shell-native :where(.sidebar-collapse-toggle,.workspace-icon-button,.workspace-pins-heading button):hover{background:var(--ws-hover);color:var(--ws-ink)}
.workspace-shell-native .workspace-global-toggle .sidebar-collapse-toggle{color:var(--ws-brand-muted);background:transparent}
.workspace-shell-native:not(.sidebar-expanded) .workspace-global-toggle .sidebar-collapse-toggle svg{transform:rotate(180deg)}
.workspace-shell-native .sidebar-brand-row :where(a,button):focus-visible{outline-color:var(--ws-brand-ink)}
.workspace-shell-native .sidebar-nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px 12px 16px;background:var(--ws-nav-surface);border-top-left-radius:14px;scrollbar-width:thin;scrollbar-color:var(--app-border-hover) transparent}
.workspace-shell-native .sidebar-nav::-webkit-scrollbar{width:4px}
.workspace-shell-native .sidebar-nav::-webkit-scrollbar-thumb{background:var(--app-border-hover);border-radius:4px}
/* Labelled page groups at Journal density; the first group needs no label. */
.workspace-shell-native :is(.workspace-nav-heading,.workspace-pins-heading>:first-child:not(button)){color:var(--ws-muted);font-size:11px;line-height:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.workspace-shell-native .workspace-nav-heading{padding:0 12px;margin:18px 0 6px}
.workspace-shell-native .sidebar-nav>:first-child>.workspace-nav-heading{margin-top:0}
.workspace-shell-native .sidebar-link{display:flex;align-items:center;gap:10px;min-height:36px;width:100%;padding:7px 12px;border:0;border-radius:6px;background:transparent;color:var(--ws-ink);text-decoration:none;font-size:15px;line-height:22px;font-weight:400;cursor:pointer;white-space:nowrap;margin:0 0 2px}
.workspace-shell-native .sidebar-link:hover{background:var(--ws-hover)}
.workspace-shell-native .sidebar-link.active{background:var(--ws-accent-soft);color:var(--ws-active-ink,var(--ws-ink));font-weight:600}
.workspace-shell-native .sidebar-link.active>svg{color:var(--ws-active-ink,var(--ws-accent))}
/* A count on a page that has something waiting (Mentor's "Waiting on you"); collapsed, it sits on the icon's corner. */
.workspace-shell-native .sidebar-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:auto;padding:0 6px;border-radius:999px;background:var(--ws-accent,#443ab8);color:#fff;font-size:12px;line-height:20px;font-weight:600}
.workspace-shell-native .sidebar-count-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.workspace-shell-native .sidebar-link[aria-current=page]::before{display:none}
.workspace-shell-native .sidebar-divider{height:1px;background:var(--ws-line);margin:14px 6px}
.workspace-shell-native .workspace-pins{position:relative;margin:0;padding:0}
.workspace-shell-native .workspace-pins-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 6px;padding:0 6px 0 12px}
.workspace-shell-native .workspace-pins-heading button{width:24px;height:24px;border-radius:5px}
.workspace-shell-native .workspace-pins-heading button svg{width:15px;height:15px}
.workspace-shell-native .workspace-pins-action-label{display:none}
.workspace-shell-native .workspace-pin{display:flex;align-items:center;gap:10px;min-height:36px;width:100%;padding:5px 12px;margin:0 0 2px;border:0;border-radius:6px;background:transparent;text-align:left;color:var(--ws-ink);text-decoration:none;cursor:pointer}
.workspace-shell-native .workspace-pin:hover{background:var(--ws-hover)}
.workspace-shell-native .workspace-pin[aria-current=true]{background:color-mix(in srgb,var(--ws-ink) 6%,var(--ws-surface))}
.workspace-shell-native .workspace-pin[aria-disabled=true]{opacity:.55;cursor:default}
.workspace-shell-native .workspace-pin-icon{display:flex;align-items:center;justify-content:center;width:20px;min-width:20px;height:20px;border:1px solid var(--ws-line);border-radius:5px;background:var(--ws-surface)}
.workspace-shell-native .workspace-pin-icon>:is(.tsb-source-mark,.tsb-prop-logo){--tsb-source-mark-size:20px;--tsb-source-logo-size:15px;--tsb-prop-logo-frame:20px;--tsb-prop-logo-art:14px}
.workspace-shell-native .workspace-pin-icon:has(>.tsb-source-mark--icon){border:0;background:transparent}
.workspace-shell-native :is(.workspace-pin-icon,.account-scope-icon,.account-scope-option)>.tsb-source-mark--icon{--tsb-source-mark-bg:transparent;--tsb-source-mark-border:transparent;border:0}
/* A pinned account without a broker logo draws its default mark as the menu draws its icons: same size, ink and stroke. */
html .workspace-shell-native .workspace-pin-icon>.tsb-source-mark.tsb-source-mark--icon.tsb-source-mark--account.tsb-source-mark--default{--tsb-source-mark-color:var(--ws-ink)}
.workspace-shell-native .workspace-pin-icon>.tsb-source-mark--icon>svg{width:20px;height:20px}
.workspace-shell-native .workspace-pin-copy{display:flex;flex:1;min-width:0;flex-direction:column}
.workspace-shell-native .workspace-pin-copy strong{font-size:15px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-shell-native .workspace-pin[aria-current=true] .workspace-pin-copy strong{font-weight:600}
.workspace-shell-native .workspace-pin[aria-current=true]::after{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:var(--ws-accent)}
/* A pin opens its account's home: there it reads as the current page; elsewhere a chevron shows where it goes. */
.workspace-shell-native .workspace-pin[aria-current=page]{background:var(--ws-accent-soft)}
.workspace-shell-native .workspace-pin[aria-current=page] .workspace-pin-copy strong{font-weight:600;color:var(--ws-active-ink,var(--ws-accent))}
.workspace-shell-native .workspace-pin-go{display:flex;flex:none;color:var(--ws-muted);opacity:0;transition:opacity .12s ease}
.workspace-shell-native .workspace-pin-go svg{width:15px;height:15px}
.workspace-shell-native .workspace-pin:not([aria-disabled=true]):is(:hover,:focus-visible) .workspace-pin-go{opacity:1}
.workspace-shell-native .workspace-pin:not([aria-disabled=true]):is(:hover,:focus-visible)::after,.workspace-shell-native .workspace-pin[aria-current=page] .workspace-pin-go{display:none}
.workspace-shell-native .workspace-pins[data-empty=true] .workspace-pins-heading{margin:12px 0 0;padding:0}
.workspace-shell-native .workspace-pins[data-empty=true] .workspace-pins-heading>:first-child:not(button){display:none}
.workspace-shell-native .workspace-pins-link{text-decoration:none;border-radius:4px}
.workspace-shell-native .workspace-pins-link:hover{color:var(--ws-ink)}
.workspace-shell-native .workspace-pins-link:focus-visible{outline:2px solid var(--ws-accent-text);outline-offset:2px}
.workspace-shell-native .workspace-pins[data-empty=true] .workspace-pins-heading button{justify-content:flex-start;gap:10px;width:100%;height:36px;padding:7px 12px;border-radius:6px;font-size:14px;font-weight:500}
.workspace-shell-native .workspace-pins[data-empty=true] .workspace-pins-action-label{display:inline}
.workspace-shell-native .sidebar-footer{position:relative;flex:none;min-height:0;padding:0 16px;border-top:1px solid var(--ws-line)}
.workspace-shell-native .sidebar-footer .sidebar-link{min-height:42px;margin-bottom:0;padding-block:8px}
.workspace-shell-native .workspace-today{flex:none}
.workspace-shell-native .sidebar-review-insights{display:flex;width:100%}
.workspace-shell-native .review-insights-trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:4px;border:0;border-radius:5px;background:transparent;color:var(--ws-muted);cursor:pointer;box-shadow:none}
.workspace-shell-native .review-insights-trigger:hover{background:var(--ws-accent);color:var(--app-action-primary-color,#fff)}
.workspace-shell-native .workspace-global-main .sidebar-review-insights{width:40px}
.workspace-shell-native .workspace-global-main .review-insights-trigger{width:40px;height:40px;min-height:40px;padding:8px;border-radius:7px;color:var(--ws-brand-ink)}
.workspace-shell-native .workspace-global-main .review-insights-trigger>svg{width:20px;height:20px}
.workspace-shell-native .workspace-global-toggle>.sidebar-collapse-toggle{color:var(--ws-brand-ink)}

.workspace-shell-native :where(.review-insights-trigger-text,.review-insights-trigger-badge){display:none}
.workspace-shell-native .review-launchpad-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.workspace-shell-native .workspace-user-menu{margin:0 -16px;padding:8px 12px;position:relative}
.workspace-shell-native .sidebar-user{display:flex;align-items:center;gap:10px;min-height:52px;padding:6px 10px;border-radius:8px;text-decoration:none;color:var(--ws-ink);cursor:pointer;list-style:none}
.workspace-shell-native .sidebar-user::-webkit-details-marker{display:none}
.workspace-shell-native .sidebar-avatar{width:38px;height:38px;min-width:38px;border-radius:10px;background:var(--ws-surface);border:0;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:13px}
.workspace-shell-native .sidebar-avatar img{width:100%;height:100%;object-fit:cover}
.workspace-shell-native .sidebar-user-name{display:block;min-width:0;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-shell-native .sidebar-user:hover,.workspace-user-menu[open]>.sidebar-user{background:var(--ws-hover)}
.workspace-shell-native .workspace-user-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
.workspace-shell-native .workspace-user-plan{font-size:13px;line-height:20px;color:var(--ws-muted)}
.workspace-shell-native .workspace-user-menu[open]>.sidebar-user>svg{transform:rotate(-90deg)}
.workspace-shell-native .workspace-user-actions{position:absolute;bottom:calc(100% + 8px);left:12px;width:calc(var(--ws-sidebar-width) - 24px);min-width:230px;padding:8px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-surface);box-shadow:0 8px 32px #20231f16;display:grid;gap:4px;z-index:150}
.workspace-shell-native .workspace-user-menu:not([open]) .workspace-user-actions{display:none}
.workspace-shell-native .workspace-user-actions :where(a,button){display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:10px 12px;text-decoration:none;color:var(--ws-ink);background:transparent;border:0;text-align:left;font-size:14px;line-height:22px;font-weight:500;border-radius:6px;cursor:pointer;transition:background-color .14s ease,color .14s ease}
.workspace-shell-native .workspace-user-actions .sidebar-link{min-height:40px;margin:0}
.workspace-shell-native .workspace-user-actions :where(a,button)>svg{flex:none;width:18px;height:18px;color:var(--ws-muted)}
.workspace-shell-native .workspace-user-actions :where(a,button):hover{background:var(--ws-hover)}
.workspace-shell-native .workspace-user-actions form{margin:6px 0 0;padding:6px 0 0;border-top:1px solid var(--ws-line)}
.workspace-shell-native .workspace-topbar{--ws-control-line:color-mix(in srgb,var(--ws-brand-ink) 24%,transparent);--ws-control-fill:transparent;container:workspace-header / inline-size;position:fixed;left:var(--ws-sidebar-width);right:0;top:0;min-width:0;height:var(--ws-topbar-height);padding:7px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:transparent;color:var(--ws-brand-ink);border:0;z-index:95}
.workspace-shell-native .sidebar-account-scope{position:relative;min-width:0;width:auto;max-width:300px;flex:0 1 auto;padding:0;z-index:110}
.workspace-shell-native .account-scope-btn{display:flex;align-items:center;gap:10px;width:100%;height:44px;padding:10px 12px;border:1px solid var(--ws-control-line,var(--ws-line));border-radius:6px;background:var(--ws-control-fill);color:var(--ws-brand-ink);text-align:left;cursor:pointer;overflow:hidden}
.workspace-shell-native .account-scope-btn.is-disabled{cursor:default}
.workspace-shell-native .account-scope-btn{--account-icon-default-ink:var(--ws-brand-ink)}
.workspace-shell-native .workspace-topbar .account-scope-icon>.tsb-source-mark[data-logo-preset=utility-icon]{color:inherit}
.workspace-shell-native .account-scope-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:none}
.workspace-shell-native :is(.account-scope-icon,.account-scope-option)>:is(.tsb-source-mark,.tsb-prop-logo){--tsb-source-mark-size:24px;--tsb-source-logo-size:18px;--tsb-prop-logo-frame:24px;--tsb-prop-logo-art:18px}
.workspace-shell-native .account-scope-copy{flex:1;min-width:0}
.workspace-shell-native .account-scope-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}
.workspace-shell-native .workspace-topbar .account-scope-label[data-count]::after{content:' · ' attr(data-count);font-weight:400;opacity:.78}
.workspace-shell-native :where(.account-scope-meta,.account-scope-value){display:none!important}
.workspace-shell-native .account-scope-chevron{margin-left:auto;width:16px;flex:none}
.workspace-shell-native .account-scope-dropdown{position:absolute;left:0;top:calc(100% + 8px);width:340px;max-width:calc(100vw - 32px);height:auto;min-height:0;max-height:min(420px,calc(100dvh - 110px));overflow-y:auto;display:none;padding:8px;border:1px solid var(--ws-line);border-radius:7px;background:var(--ws-surface);box-shadow:0 12px 32px #00000014;scrollbar-width:thin;z-index:160}
.workspace-shell-native .account-scope-dropdown.open{display:block}
.workspace-shell-native .account-scope-option-hint{padding:8px;font-size:13px;line-height:20px;color:var(--ws-muted)}
.workspace-shell-native .account-scope-option{display:grid;grid-template-columns:24px minmax(0,1fr) auto 18px;align-items:center;column-gap:10px;width:100%;min-height:50px;padding:8px;border:0;border-radius:5px;text-align:left;background:transparent;color:var(--ws-ink);font-family:inherit;line-height:20px;font-weight:var(--app-choice-font-weight,500);cursor:pointer}
.workspace-shell-native .account-scope-option>:first-child{grid-column:1;grid-row:1/3}
.workspace-shell-native .account-scope-option:hover{background:var(--ws-hover)}
.workspace-shell-native .account-scope-option.active{background:var(--ws-accent-soft)}
.workspace-shell-native .account-scope-option.active .account-scope-option-copy>span:first-child{font-weight:600;color:var(--ws-active-ink,var(--ws-accent))}
.workspace-shell-native .account-scope-option>.account-scope-option-check{grid-column:4;grid-row:1/3;width:18px;height:18px;color:var(--ws-active-ink,var(--ws-accent));visibility:hidden}
.workspace-shell-native .account-scope-option.active>.account-scope-option-check{visibility:visible}
.workspace-shell-native .account-scope-option:focus-visible{outline:2px solid var(--ws-accent-text);outline-offset:-2px}
.workspace-shell-native .account-scope-option-copy{display:contents}
.workspace-shell-native .account-scope-option-copy>span:first-child{grid-column:2;grid-row:1;min-width:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-shell-native .account-scope-option-sub{grid-column:2/4;grid-row:2;display:flex;flex-wrap:wrap;column-gap:8px}
.workspace-shell-native .account-scope-option-sub:empty{display:none}
.workspace-shell-native .account-scope-option:has(.account-scope-option-sub:empty){min-height:40px}
.workspace-shell-native .account-scope-option:has(.account-scope-option-sub:empty)>:is(:first-child,.account-scope-option-check){grid-row:1}
.workspace-shell-native .account-scope-row{position:relative}
.workspace-shell-native .account-scope-row>.account-scope-option{padding-right:40px}
.workspace-shell-native .account-scope-pin{position:absolute;top:50%;right:6px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--ws-muted);transform:translateY(-50%);opacity:0;cursor:pointer}
.workspace-shell-native .account-scope-row:is(:hover,:focus-within) .account-scope-pin,.workspace-shell-native .account-scope-pin[aria-pressed=true]{opacity:1}
.workspace-shell-native .account-scope-pin:hover{background:var(--ws-hover);color:var(--ws-ink)}
.workspace-shell-native .account-scope-pin:focus-visible{outline:2px solid var(--ws-accent-text);outline-offset:-2px}
.workspace-shell-native .account-scope-pin svg{width:16px;height:16px}
.workspace-shell-native .account-scope-pin[aria-pressed=true] svg{fill:currentColor}
/* The demo account (assets/workspace-shell.js tsbDemoAccountRowHtml): pinned last, under a hairline, its × like the pin. */
.workspace-shell-native .account-scope-demo{margin-top:8px;padding-top:8px;border-top:1px solid var(--ws-line)}
.workspace-shell-native .account-scope-demo>.account-scope-option{text-decoration:none}
.workspace-shell-native .account-scope-demo-remove{top:calc(50% + 4px)}
@media (hover:none){.workspace-shell-native .account-scope-demo-remove{opacity:1}}
.workspace-shell-native .account-scope-demo-gone{margin-top:8px;padding-top:16px;border-top:1px solid var(--ws-line)}
.workspace-shell-native .account-scope-demo-gone button{margin:0 0 0 4px;padding:0;border:0;background:none;color:var(--ws-accent-text);font:inherit;font-weight:500;cursor:pointer}
.workspace-shell-native .account-scope-demo-gone button:hover{text-decoration:underline;text-underline-offset:3px}
@media(hover:none){.workspace-shell-native .account-scope-pin{opacity:1}}
.workspace-shell-native .account-scope-meta-group{white-space:nowrap}
.workspace-shell-native :where(.account-scope-option-sub,.account-scope-hint,.account-scope-description){font-size:13px;font-weight:400;color:var(--ws-muted)}
.workspace-shell-native :is(.account-scope-option-value,.account-scope-option-meta){grid-column:3;grid-row:1}
.workspace-shell-native .account-scope-option-value{font-size:13px;font-weight:var(--app-choice-font-weight,500);font-variant-numeric:tabular-nums;white-space:nowrap}
.workspace-shell-native .workspace-search{display:flex;align-items:center;gap:10px;flex:0 0 320px;width:320px;min-width:44px;max-width:320px;height:44px;justify-content:flex-start;padding:10px 12px;border:1px solid var(--ws-control-line);border-radius:6px;background:var(--ws-control-fill,color-mix(in srgb,var(--ws-brand-ink) 14%,transparent));color:var(--ws-brand-ink);font-size:14px;line-height:20px;text-align:left;cursor:pointer}
.workspace-shell-native .workspace-search span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-shell-native .workspace-search kbd{flex:none;padding:0 4px;background:transparent;border:0;font:12px TSB Inter,Inter,sans-serif;opacity:.8}
.workspace-shell-native .workspace-topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
/* Active Daily session stays visible across page navigation, in the existing frame. */
.workspace-shell-native .workspace-topbar-actions .workspace-session{gap:8px;font-weight:500}
.workspace-shell-native .workspace-topbar:has(.workspace-session:not([hidden])) .workspace-search{flex-shrink:1}
.workspace-session-icon{display:none}
/* Stream mode is on: a quiet badge in the top bar; a click turns it off (assets/creator-mode.js owns the state). */
.workspace-shell-native .workspace-topbar-actions .workspace-stream-badge{gap:8px;font-weight:500}
.workspace-shell-native .workspace-topbar-actions .workspace-stream-badge[hidden]{display:none}
.workspace-shell-native .workspace-topbar-actions .workspace-stream-badge svg{width:18px;height:18px}
.workspace-shell-native .workspace-user-actions .workspace-stream-switch{display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 12px;margin:0 0 6px;border-bottom:1px solid var(--ws-line);border-radius:6px 6px 0 0;color:var(--ws-ink);font-size:14px;line-height:22px;font-weight:500;cursor:pointer}
.workspace-shell-native .workspace-user-actions .workspace-stream-switch>svg{flex:none;width:18px;height:18px;color:var(--ws-muted)}
.workspace-shell-native .workspace-user-actions .workspace-stream-switch span{flex:1}
.workspace-shell-native .workspace-stream-switch input{appearance:none;flex:none;width:36px;height:22px;margin:0;border-radius:999px;background:var(--ui-ink-3,#c9c9cf);position:relative;cursor:pointer;transition:background-color .15s ease}
.workspace-shell-native .workspace-stream-switch input::before{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s ease}
.workspace-shell-native .workspace-stream-switch input:checked{background:var(--ws-accent)}
.workspace-shell-native .workspace-stream-switch input:checked::before{transform:translateX(14px)}
.workspace-shell-native .workspace-stream-switch input:focus-visible{outline:2px solid var(--ws-accent-text);outline-offset:2px}
@media(max-width:767px){.workspace-shell-native .workspace-topbar-actions .workspace-stream-badge{width:44px;min-width:44px;padding:0}.workspace-stream-badge span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.workspace-shell-native .workspace-stream-switch input,.workspace-shell-native .workspace-stream-switch input::before{transition:none}}
/* A live session lights the whole button, not only its dot: it reads across the bar at a glance (Igor 19 Nov on the walk:
   «может не просто точкой метить а всю кнопку?»). The dot's own green, soft on the bar's accent in every frame colour. */
.workspace-shell-native .workspace-topbar-actions .workspace-session[data-state=live]{background:rgb(105 230 178 / .16);border-color:rgb(105 230 178 / .6)}
.workspace-shell-native .workspace-topbar-actions .workspace-session[data-state=live]:hover{background:rgb(105 230 178 / .26)}
.workspace-session-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#69e6b2;box-shadow:0 0 0 4px rgb(105 230 178 / .2);animation:workspace-session-pulse 2.8s ease-in-out infinite}
.workspace-session-time{font-variant-numeric:tabular-nums;opacity:.8}
.workspace-session-time:not(:empty)::before{content:'· '}
.workspace-session[data-state=unknown] .workspace-session-dot{background:transparent;border:1px solid currentColor;box-shadow:none;animation:none}
@media(max-width:1000px){.workspace-session-time{display:none}}
@media(max-width:360px){.workspace-shell-native .workspace-topbar:has(.workspace-session:not([hidden])){padding-right:8px;gap:6px}.workspace-shell-native .workspace-topbar:has(.workspace-session:not([hidden])) :is(.workspace-topbar-actions,.trades-header-actions){gap:2px}}
@media(max-width:767px){.workspace-shell-native .workspace-topbar-actions .workspace-session{position:relative;width:44px;min-width:44px;padding:0}.workspace-session-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.workspace-shell-native .workspace-session-icon{display:block;width:20px;height:20px}.workspace-session-dot{position:absolute;right:6px;top:6px;width:5px;height:5px}}

.workspace-shell-native .workspace-topbar-actions svg{width:20px;height:20px}
.workspace-shell-native .workspace-topbar-actions :is(.workspace-button,.app-action-btn){display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;min-height:44px;padding:11px 13px;box-shadow:none;transform:none;filter:none;border:1px solid var(--ws-control-line,var(--ws-line));border-radius:6px;background:var(--ws-control-fill);color:var(--ws-brand-ink);text-decoration:none;font-family:TSB Inter,Inter,sans-serif;font-size:14px;line-height:20px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,color .14s ease}
.workspace-shell-native .workspace-topbar-actions .trades-header-actions :where(button,a){border:0;background:transparent}
.workspace-shell-native .workspace-topbar-actions .workspace-button-primary{background:var(--ws-accent);border-color:var(--ws-accent);color:white}

.workspace-shell-native .workspace-topbar-actions .workspace-button-primary:hover:not(:disabled){background:color-mix(in srgb,var(--ws-accent) 94%,black);border-color:color-mix(in srgb,var(--ws-accent) 94%,black)}
html:not([data-workspace-frame=graphite]) .workspace-shell-native .workspace-topbar-actions .workspace-button-primary{background:#faf9f6;border-color:transparent;color:var(--ws-brand-surface)}
html[data-app-accent=Custom]:not([data-workspace-frame=graphite]) .workspace-shell-native .workspace-topbar-actions .workspace-button-primary{color:var(--user-action-accent-on-white)}
html[data-app-accent=Custom][data-workspace-frame=graphite] .workspace-shell-native .workspace-topbar-actions .workspace-button-primary{color:var(--user-action-ink)}
.workspace-shell-native .workspace-topbar-actions .workspace-button-primary{min-width:120px;padding-inline:16px}
.workspace-shell-native .workspace-topbar-actions .workspace-button-primary{position:relative;isolation:isolate;overflow:hidden;transition:background-color .16s ease,box-shadow .16s ease,color .16s ease}
.workspace-shell-native .workspace-topbar-actions .workspace-button-primary::after{content:'';position:absolute;inset:-20% -60%;pointer-events:none;background:linear-gradient(105deg,transparent 38%,color-mix(in srgb,var(--ws-accent) 10%,transparent) 48%,#fff9 52%,transparent 62%);transform:translateX(-100%);opacity:0}
html:not([data-workspace-frame=graphite]) .workspace-shell-native .workspace-topbar-actions .workspace-button-primary:hover{background:#fff;box-shadow:0 3px 14px #18122b24,0 0 0 3px #fff2}
.workspace-shell-native .workspace-topbar-actions .workspace-button-primary:hover::after{animation:workspace-add-trade-shine .46s ease-out}
.workspace-shell-native .workspace-topbar-actions .workspace-button-primary:active{box-shadow:inset 0 1px 4px #18122b24}
@keyframes workspace-add-trade-shine{0%{transform:translateX(-100%);opacity:0}20%{opacity:1}100%{transform:translateX(100%);opacity:0}}
@media(prefers-reduced-motion:reduce){.workspace-shell-native .workspace-topbar-actions .workspace-button-primary::after{display:none;animation:none!important}.workspace-shell-native .workspace-topbar-actions .workspace-button-primary{transition:none}}
html[data-reduce-motion=true] .workspace-shell-native .workspace-topbar-actions .workspace-button-primary::after{display:none;animation:none}
html[data-reduce-motion=true] .workspace-shell-native .workspace-topbar-actions .workspace-button-primary{transition:none}
html:not([data-workspace-frame=graphite]) .workspace-shell-native .workspace-topbar-actions .workspace-button-primary:hover:not(:disabled){background:color-mix(in srgb,var(--ws-brand-ink) 95%,var(--ws-brand-surface));border-color:var(--ws-brand-ink);color:var(--ws-brand-surface)}

.workspace-shell-native :where(.workspace-button,.app-action-btn,.workspace-search,.account-scope-btn,.sidebar-link,.workspace-pin,.sidebar-user,.workspace-icon-button,.sidebar-collapse-toggle){transition:background-color .12s ease,color .12s ease,border-color .12s ease}
.workspace-shell-native .workspace-search-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:16px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-surface);box-shadow:0 20px 70px #00000024;overscroll-behavior:contain}
.workspace-shell-native .workspace-search-dialog::backdrop{background:#00000036}
.workspace-shell-native .workspace-search-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.workspace-shell-native .workspace-search-dialog h2{font-size:16px;line-height:24px;font-weight:600;margin:0}
.workspace-shell-native .workspace-search-dialog .workspace-icon-button{width:34px;height:34px}
.workspace-shell-native .workspace-search-input{display:flex;align-items:center;gap:10px;min-height:40px;padding:7px 10px;border:1px solid var(--ws-line);border-radius:6px;color:var(--ws-muted)}
.workspace-shell-native .workspace-search-input:focus-within{outline:2px solid var(--ws-accent-text);outline-offset:2px}
.workspace-shell-native .workspace-search-input input{flex:1;width:100%;min-width:0;margin:0;padding:0;background:transparent;border:0;outline:0;color:var(--ws-ink);font-size:14px;line-height:24px;font-weight:400}
.workspace-shell-native .workspace-search-input input::placeholder{color:var(--ws-muted);opacity:1}
.workspace-shell-native .workspace-search-results{max-height:min(400px,calc(100dvh - 200px));overflow-y:auto;scrollbar-gutter:auto;scrollbar-width:thin;overscroll-behavior:contain;margin-top:10px;padding:0}
.workspace-shell-native .workspace-search-row{display:flex;align-items:center;gap:4px;min-height:40px;padding:0 6px 0 0;border-radius:6px}
.workspace-shell-native .workspace-search-row:hover:has(.workspace-search-result:not(:disabled),.workspace-pin-toggle),.workspace-shell-native .workspace-search-row:focus-within{background:var(--ws-hover)}
.workspace-shell-native .workspace-search-result{display:flex;align-items:center;gap:10px;flex:1;min-width:0;width:100%;padding:8px 11px;border:0;border-radius:6px;background:transparent;text-decoration:none;color:var(--ws-ink);font-size:14px;line-height:20px;font-weight:400;cursor:pointer;text-align:left;min-height:40px}
.workspace-shell-native .workspace-search-result .workspace-pin-icon{width:20px;min-width:20px;height:24px;border:0;background:transparent;border-radius:0}
.workspace-shell-native .workspace-search-result .workspace-pin-icon>:is(.tsb-source-mark,.tsb-prop-logo){--tsb-source-mark-size:24px;--tsb-source-logo-size:18px;--tsb-prop-logo-frame:24px;--tsb-prop-logo-art:18px}
.workspace-shell-native .workspace-search-result:focus-visible{outline-offset:-2px}
.workspace-shell-native .workspace-search-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-shell-native .workspace-search-result small{flex:none;margin-left:auto;color:var(--ws-muted);font-size:13px}
.workspace-shell-native .workspace-pin-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--ws-muted);line-height:1;cursor:pointer}
.workspace-shell-native .workspace-pin-toggle:hover{background:var(--ws-hover);color:var(--ws-accent-text)}
.workspace-shell-native .workspace-pin-toggle[aria-pressed=true]{background:var(--ws-accent-soft);color:var(--ws-accent-text)}
.workspace-shell-native .workspace-pin-toggle[aria-pressed=true] svg{fill:currentColor;fill-opacity:1}
.workspace-shell-native .workspace-search-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 0}
.workspace-shell-native .workspace-search-hint{font-size:13px;line-height:20px;color:var(--ws-muted);margin:0}
.workspace-shell-native .workspace-search-add{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:14px;line-height:20px;font-weight:500;color:var(--ws-accent-text);text-decoration:none}
.workspace-shell-native .workspace-search-add[hidden]{display:none}
.workspace-shell-native .workspace-search-add svg{width:16px;height:16px}
.workspace-shell-native .workspace-search-add:hover{text-decoration:underline}
.workspace-shell-native .account-appearance-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;border-radius:6px;background:var(--account-icon-bg,var(--account-icon-default-bg));color:var(--account-icon-ink,var(--account-icon-default-ink));overflow:hidden}
.workspace-shell-native .account-appearance-mark>svg{width:18px;height:18px}
.workspace-shell-native .account-appearance-mark>:is(.tsb-source-mark,.tsb-prop-logo){--tsb-source-mark-size:24px;--tsb-source-logo-size:18px;--tsb-prop-logo-frame:24px;--tsb-prop-logo-art:18px;background:transparent;border:0;color:inherit}
.workspace-shell-native .workspace-pin-icon:has(.account-appearance-mark){border-color:transparent;background:transparent}
/* A coloured account mark sits in the same 20 px box as the logos and default marks beside it (Igor 5 Nov: it was 28). */
.workspace-shell-native .workspace-pin-icon>.account-appearance-mark{width:20px;height:20px;min-width:20px;border-radius:5px}
.workspace-shell-native .workspace-pin-icon>.account-appearance-mark>:is(.tsb-source-mark,.tsb-prop-logo){--tsb-source-mark-size:20px;--tsb-source-logo-size:14px;--tsb-prop-logo-frame:20px;--tsb-prop-logo-art:14px}
.workspace-shell-native .workspace-pin-icon>.account-appearance-mark>svg{width:13px;height:13px}
.workspace-shell-native .workspace-pin-icon>.account-appearance-mark[data-account-color=auto]>svg{width:20px;height:20px} /* no tile: the mark at the plain icons' size */
.workspace-shell-native .workspace-search-row .workspace-pin-icon>.account-appearance-mark{width:24px;height:24px;border-radius:6px}
.workspace-shell-native .account-appearance-dialog{width:min(440px,calc(100vw - 32px));padding:20px}
.workspace-shell-native .account-appearance-dialog[open]{display:flex;flex-direction:column}
.workspace-shell-native .account-appearance-dialog>[data-account-appearance-choices]{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.workspace-shell-native .account-appearance-dialog>:is(header,.account-appearance-preview,.account-appearance-feedback,.account-appearance-actions){flex:none}
.workspace-shell-native .account-appearance-preview{display:flex;align-items:center;gap:12px;padding:12px;margin-bottom:20px;border-radius:8px;background:var(--ws-soft)}
.workspace-shell-native .account-appearance-preview>[data-account-appearance-preview]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none}
.workspace-shell-native .account-appearance-preview .account-appearance-mark{width:40px;height:40px;border-radius:9px}
.workspace-shell-native .account-appearance-preview .account-appearance-mark>svg{width:24px;height:24px}
.workspace-shell-native .account-appearance-preview>:last-child{display:flex;flex-direction:column;min-width:0;gap:3px}
.workspace-shell-native .account-appearance-preview strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-shell-native .account-appearance-preview small{font-size:12px;color:var(--ws-muted)}
.workspace-shell-native .account-appearance-fieldset{padding:0;margin:0 0 18px;border:0;min-width:0}
.workspace-shell-native .account-appearance-fieldset legend{padding:0;margin-bottom:8px;font-size:13px;font-weight:600}
.workspace-shell-native :is(.account-appearance-icons,.account-appearance-colors){display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}
.workspace-shell-native .account-appearance-choice{position:relative;display:inline-flex;height:36px;min-width:36px;cursor:pointer}
.workspace-shell-native .account-appearance-choice input{position:absolute;inset:0;margin:0;width:100%;height:100%;opacity:0;cursor:pointer}
.workspace-shell-native .account-appearance-choice>span{width:100%;display:flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:7px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-surface);color:var(--ws-muted);font-size:13px;pointer-events:none}
.workspace-shell-native .account-appearance-choice svg{width:20px;height:20px}
.workspace-shell-native .account-appearance-choice:hover>span{background:var(--ws-hover);color:var(--ws-ink)}
.workspace-shell-native .account-appearance-choice input:checked+span{border-color:var(--ws-accent-text);box-shadow:inset 0 0 0 1px var(--ws-accent-text);color:var(--ws-accent-text)}
.workspace-shell-native .account-appearance-choice input:focus-visible+span{outline:2px solid var(--ws-accent-text);outline-offset:2px}
.workspace-shell-native .account-appearance-choice:has(input:disabled){opacity:.55;cursor:default}
.workspace-shell-native .account-appearance-swatch{display:block;width:22px;height:22px;border:1px solid #20231f14;border-radius:50%}
.workspace-shell-native .account-appearance-custom{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:13px;color:var(--ws-muted)}
.workspace-shell-native .account-color-picker{position:relative;flex:none}
.workspace-shell-native .account-color-picker>summary{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:4px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-surface);cursor:pointer;list-style:none}
.workspace-shell-native .account-color-picker>summary::-webkit-details-marker{display:none}
.workspace-shell-native .account-color-picker>summary span{display:block;width:24px;height:24px;border:1px solid #20231f14;border-radius:3px}
.workspace-shell-native .account-color-picker-panel{position:absolute;bottom:calc(100% + 8px);left:0;width:224px;padding:12px;border:1px solid var(--ws-line);border-radius:8px;background:var(--ws-surface);box-shadow:0 8px 24px #20231f20;z-index:2}
.workspace-shell-native .account-color-picker:not([open]) .account-color-picker-panel{display:none}
.workspace-shell-native .account-color-plane{position:relative;width:100%;height:140px;border-radius:4px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent),var(--picker-hue);cursor:crosshair;touch-action:none}
.workspace-shell-native .account-color-plane span{position:absolute;width:12px;height:12px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #20231f80;transform:translate(-50%,-50%);pointer-events:none}
.workspace-shell-native .account-color-picker-panel label{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12px}
.workspace-shell-native .account-color-picker-panel input[type=range]{appearance:none;min-width:0;width:100%;height:12px;margin:0;border-radius:8px;background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);cursor:pointer}
.workspace-shell-native .account-color-picker-panel input[type=range]::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border:2px solid white;border-radius:50%;background:transparent;box-shadow:0 0 0 1px #20231f80}
.workspace-shell-native .account-color-picker-panel input[type=range]::-moz-range-thumb{width:14px;height:14px;border:2px solid white;border-radius:50%;background:transparent;box-shadow:0 0 0 1px #20231f80}
.workspace-shell-native .account-appearance-custom input[type=text]{width:106px;height:36px;padding:6px 9px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-surface);color:var(--ws-ink);font:13px TSB Inter,Inter,sans-serif}
.workspace-shell-native .account-appearance-custom input[aria-invalid=true]{border-color:var(--app-negative-text,#bf2d23)}
.workspace-shell-native .account-appearance-fieldset p{margin:8px 0 0;font-size:12px;line-height:18px;color:var(--ws-muted)}
.workspace-shell-native .account-appearance-feedback{font-size:12px;line-height:18px;color:var(--ws-muted)}
.workspace-shell-native .account-appearance-feedback p{margin:0;overflow-wrap:anywhere}
.workspace-shell-native .account-appearance-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid var(--ws-line);margin-top:14px;padding-top:14px}
/* Its buttons are Journal's (app-action-btn, primary for Save; Igor 8 Nov: «почему тонкие шрифты в кнопках?»). This
   dialog belongs to the shell and opens on pages that do not load the kit's button sheet (app-content-controls.css), so
   it carries the kit's values: 600 weight, 40 px, 8/13 padding, radius 6, accent primary, quiet text action. */
.workspace-shell-native .account-appearance-dialog .app-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 13px;border:1px solid var(--ws-line);border-radius:6px;background:var(--ws-surface);color:var(--ws-ink);font-size:14px;line-height:20px;font-weight:var(--app-action-font-weight,600);white-space:nowrap;cursor:pointer}
.workspace-shell-native .account-appearance-dialog .app-action-btn:hover:not(:disabled){background:var(--ws-hover)}
.workspace-shell-native .account-appearance-dialog .app-action-btn-primary{border-color:var(--ws-accent);background:var(--ws-accent);color:var(--user-action-ink,#fff)}
.workspace-shell-native .account-appearance-dialog .app-action-btn-primary:hover:not(:disabled){border-color:var(--user-action-accent-hover,var(--ws-accent));background:var(--user-action-accent-hover,var(--ws-accent))}
.workspace-shell-native .account-appearance-dialog .app-action-btn-quiet{padding-inline:0;border-color:transparent;background:transparent;color:var(--ws-muted)}
.workspace-shell-native .account-appearance-dialog .app-action-btn-quiet:hover:not(:disabled){background:transparent;color:var(--ws-accent-text)}
.workspace-shell-native .account-appearance-dialog .app-action-btn:disabled{opacity:.5;cursor:default}
.workspace-shell-native .account-appearance-actions .account-appearance-reset{margin-right:auto}
.workspace-shell-native .account-appearance-feedback:not(:has(p:not(:empty))):not(:has(button:not([hidden]))){display:none}
/* One footer: Reset on the left as the kit's quiet action, Cancel and Save on the right (Igor 5 Nov). */
.workspace-shell-native .account-appearance-actions .account-appearance-reset:disabled{opacity:0;pointer-events:none}
.workspace-shell-native .account-appearance-settings-entry{display:flex;align-items:center;gap:8px;min-height:36px;margin:0 0 16px;padding:6px 0;border:0;background:transparent;color:var(--ws-muted);font-size:14px;cursor:pointer}
.workspace-shell-native .account-appearance-settings-entry:hover{color:var(--ws-accent-text)}
.workspace-shell-native .account-appearance-settings-entry svg{width:18px;height:18px}
.workspace-shell-native .account-appearance-settings-entry[hidden]{display:none}
.workspace-shell-native :is(.account-appearance-reset,.account-appearance-settings-entry,.account-color-picker>summary,.account-color-plane,.account-appearance-custom input,.account-appearance-actions button):focus-visible{outline:2px solid var(--ws-accent-text);outline-offset:2px}
@media(max-width:767px){.workspace-shell-native .account-appearance-dialog{padding:16px}.workspace-shell-native :is(.account-appearance-choice,.account-appearance-choice>span){min-width:44px;height:44px}.workspace-shell-native .account-appearance-actions button{min-height:44px}.workspace-shell-native .account-appearance-reset{min-height:44px}.workspace-shell-native .account-color-picker>summary{width:44px;height:44px}.workspace-shell-native .account-color-picker-panel{left:-54px}.workspace-shell-native .account-appearance-custom input[type=text]{height:44px}.workspace-shell-native .account-appearance-icons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.workspace-shell-native .account-appearance-choice>span{width:100%}.workspace-shell-native .account-appearance-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:767px){.workspace-shell-native .workspace-search-dialog{padding:14px}.workspace-shell-native .workspace-search-dialog .workspace-icon-button,.workspace-shell-native .workspace-pin-toggle{width:44px;height:44px}.workspace-shell-native .workspace-search-input,.workspace-shell-native .workspace-search-row,.workspace-shell-native .workspace-search-result{min-height:44px}.workspace-shell-native .workspace-search-row{margin-block:2px}.workspace-shell-native .workspace-search-label{flex:1}.workspace-shell-native .workspace-search-result small{display:none}}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .sidebar-label{display:none}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) :where(.sidebar-nav,.sidebar-footer){padding-inline:8px}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .sidebar-link{justify-content:center;padding-inline:10px;gap:0}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .sidebar-link{position:relative}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .sidebar-count{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .sidebar-brand-row{padding:0 12px;justify-content:center}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .sidebar-logo{display:none}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) :where(.workspace-pins-heading,.workspace-pins-empty,.workspace-pin-copy,.workspace-pin::after,.review-insights-trigger-text){display:none}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-pin{position:relative;justify-content:center;padding:8px 0}
/* Collapsed, the selected account's dot sits on the icon's corner instead of pushing the icon aside. */
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-pin[aria-current=true]::after{position:absolute;top:6px;left:calc(50% + 8px)}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-pins{margin-inline:0}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-menu-group+:is(.workspace-menu-group,.workspace-pins){margin-top:8px;padding-top:8px;border-top:1px solid var(--ws-line)}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-pins[data-empty=true] .workspace-pins-heading{display:flex}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-pins[data-empty=true] .workspace-pins-heading button{justify-content:center;gap:0;padding-inline:0}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-pins[data-empty=true] .workspace-pins-action-label{display:none}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-today{padding:0}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-user-menu{margin-inline:-8px;padding:8px 5px}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .sidebar-user{justify-content:center;padding-inline:0}
/* The user popover stays fully labelled even when the navigation rail is folded. */
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-user-actions .sidebar-label{display:inline}
.workspace-shell-native .tsb-sidebar:not(.expanded):not(.mobile-open) .workspace-user-actions .sidebar-link{justify-content:flex-start;gap:8px;padding:8px 10px;font-size:14px;min-height:36px;margin:0}

.workspace-shell-native .sidebar-mobile-btn,.workspace-shell-native .workspace-mobile-search{display:none}
.workspace-shell-native .support-contact-fab{display:none}
.workspace-shell-native .sidebar-overlay{position:fixed;inset:0;background:#00000045;z-index:99;display:none}
@media(max-width:1240px){.workspace-shell-native .workspace-topbar{gap:16px}.workspace-shell-native .workspace-topbar-actions{gap:8px}.workspace-shell-native .workspace-button{padding:8px 10px}.workspace-shell-native .workspace-search kbd{display:none}}
/* Keep the familiar icon rail on tablet widths; full navigation floats over
   the same workspace instead of taking another 158px from the page. */
@media(768px <= width <= 1200px){
 body.workspace-shell-native.has-sidebar{--ws-sidebar-width:116px}
 .workspace-shell-native .tsb-sidebar.compact-open{top:var(--ws-topbar-height);width:222px;background:var(--ws-nav-surface);box-shadow:12px 0 28px #0002}
 .workspace-shell-native .tsb-sidebar.compact-open::before{display:none}
 .workspace-shell-native .tsb-sidebar.compact-open .sidebar-brand-row{display:none}
 .workspace-shell-native .workspace-global-toggle>.sidebar-collapse-toggle{width:44px;height:44px}
 .workspace-shell-native.sidebar-compact-open .workspace-global-toggle>.sidebar-collapse-toggle svg{transform:none}
 .workspace-shell-native .sidebar-link,.workspace-shell-native .workspace-pin{min-height:40px}
}
@media(max-width:1100px){.workspace-shell-native{--ws-page-gutter:24px}}
@media(max-width:1020px){.workspace-shell-native .workspace-topbar{gap:12px;padding-inline:18px}}
@media(max-width:767px){html.light .workspace-shell-native{--ws-page-title-size:28px}body.workspace-shell-native.has-sidebar{--ws-sidebar-width:0px;--ws-page-gutter:16px;padding-left:0}.workspace-shell-native .workspace-topbar{left:0;padding:7px 12px 7px 64px;gap:8px}.workspace-shell-native .workspace-topbar .sidebar-account-scope{width:auto;flex:1;min-width:0}.workspace-shell-native .workspace-global-rail{z-index:101;transform:translateX(-100%)}.workspace-shell-native.sidebar-mobile-open .workspace-global-rail{transform:none}.workspace-shell-native .workspace-global-action,.workspace-shell-native .workspace-global-footer>.sidebar-link{min-height:44px;height:44px}.workspace-shell-native .workspace-topbar .workspace-search{display:none}.workspace-shell-native .workspace-topbar-actions{gap:6px}.workspace-shell-native .workspace-mobile-search{display:flex}.workspace-shell-native .workspace-topbar .account-scope-btn{padding-inline:8px;gap:8px}.workspace-shell-native .account-scope-label{font-size:14px}.workspace-shell-native .account-scope-dropdown{left:-48px}.workspace-shell-native .sidebar-mobile-btn{position:fixed;top:7px;left:12px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid color-mix(in srgb,var(--ws-brand-ink) 24%,transparent);border-radius:6px;color:var(--ws-brand-ink);z-index:102}.workspace-shell-native .sidebar-mobile-btn svg{width:20px;height:20px}.workspace-shell-native .tsb-sidebar{left:52px;width:min(236px,calc(100vw - 116px));z-index:101;transform:translateX(calc(-100% - 52px))}.workspace-shell-native .tsb-sidebar.mobile-open{transform:none}.workspace-shell-native .sidebar-overlay.active{display:block}.workspace-shell-native.sidebar-mobile-open .sidebar-mobile-btn{left:min(296px,calc(100vw - 56px))}.workspace-shell-native .sidebar-brand-row{padding-inline:20px 12px}.workspace-shell-native .sidebar-collapse-toggle{display:none}.workspace-shell-native .sidebar-nav{padding-top:12px}.workspace-shell-native .workspace-topbar-actions [data-workspace-coach]{width:38px}.workspace-shell-native .workspace-user-menu{padding-block:12px}}

/* Action labels adapt to the shared header's available width, including the rail. */
@container workspace-header (max-width:1100px){
 .workspace-shell-native .workspace-topbar-actions [data-workspace-coach]{width:44px;padding:9px}
 .workspace-shell-native .workspace-topbar-actions [data-workspace-coach] span{display:none}
 .workspace-shell-native .workspace-topbar-actions .trades-header-actions>:is(button,a).app-action-btn{width:44px;min-width:44px;max-width:44px;padding:9px;justify-content:center;flex:none}
 .workspace-shell-native .workspace-topbar-actions .trades-header-actions>:is(button,a).app-action-btn>span:not(.tsb-import-icon){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .workspace-shell-native .workspace-topbar-actions #journal-source-status>svg:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){.workspace-shell-native :where(.workspace-button,.workspace-search,.account-scope-btn,.sidebar-link,.workspace-pin,.sidebar-user,.workspace-icon-button,.sidebar-collapse-toggle,.workspace-settings-links a,.workspace-user-actions a,.workspace-user-actions button,.workspace-appearance-swatch,.workspace-appearance-frame){transition:none}}

@media(max-width:767px){
 /* Drawer brand, global rail and page controls share the same header height. */
 .workspace-shell-native.sidebar-mobile-open .workspace-topbar{visibility:hidden}
 .workspace-shell-native.sidebar-mobile-open .workspace-brand-band{z-index:100}
 .workspace-shell-native.sidebar-mobile-open .sidebar-brand-row{background:var(--ws-brand-surface)}
 .workspace-shell-native .workspace-global-rail{z-index:105}
 .workspace-shell-native :is(.sidebar-brand-row,.workspace-global-toggle){height:var(--ws-topbar-height);min-height:var(--ws-topbar-height)}
 .workspace-shell-native .tsb-sidebar::before{inset:var(--ws-topbar-height) 0 0}
 .workspace-shell-native .workspace-topbar-actions :is(.workspace-button,.app-action-btn){width:44px;height:44px;min-height:44px;padding:9px;font-size:14px}
 .workspace-shell-native :is(.review-insights-trigger,.sidebar-mobile-btn){width:44px;height:44px}
 .workspace-shell-native .sidebar-footer .sidebar-link{min-height:44px}
 .workspace-shell-native .workspace-topbar .account-scope-btn{height:44px}
}

html[data-reduce-motion=true] .workspace-shell-native :where(.workspace-global-action,.workspace-global-footer>.sidebar-link,.workspace-button,.app-action-btn,.account-scope-btn,.sidebar-link,.workspace-pin,.sidebar-user,.workspace-icon-button,.sidebar-collapse-toggle,.workspace-settings-links a,.workspace-user-actions a,.workspace-user-actions button,.workspace-appearance-swatch,.workspace-appearance-frame){transition:none}

@media(max-width:767px){.workspace-shell-native .sidebar-brand-row{padding-inline:12px}}

/* One interaction surface for secondary controls on the connected frame.
   The appearance palette chooses a hover color that preserves ink contrast. */
.workspace-shell-native .workspace-topbar :is(.account-scope-btn,.workspace-search){background:var(--ws-control-fill);border-color:var(--ws-control-line)}
.workspace-shell-native :is(
 .workspace-global-rail .workspace-global-action,
 .workspace-global-rail .workspace-global-footer>.sidebar-link,
 .workspace-global-rail .sidebar-user,
 .workspace-global-toggle>.sidebar-collapse-toggle,
 .workspace-global-main .review-insights-trigger,
 .sidebar-mobile-btn,
 .workspace-topbar .account-scope-btn:not(.is-disabled),
 .workspace-topbar .workspace-search,
 .workspace-topbar .workspace-button:not(.workspace-button-primary),
 .workspace-topbar .app-action-btn:not(.app-action-btn-primary)
):is(:hover,[aria-expanded=true],[aria-current=page],.active):not(:disabled),
.workspace-shell-native .workspace-global-rail :is(.workspace-global-help,.workspace-global-settings,.workspace-user-menu)[open]>:is(.workspace-global-action,.sidebar-user),
.workspace-shell-native:has(#workspace-search-dialog[open]) .workspace-global-rail [data-workspace-search-open],
.workspace-shell-native:has(.tsb-entry-dialog[open] .tsb-entry-frame[src*="action=voice"]) .workspace-global-rail [data-trade-entry=voice]{background:var(--ws-frame-control-hover);color:var(--ws-brand-ink)}
@media(min-width:768px){
 .workspace-shell-native .workspace-topbar>button.workspace-search{flex:0 0 320px;width:320px;max-width:320px;justify-content:flex-start;padding-inline:12px}
 .workspace-shell-native .workspace-topbar>button.workspace-search>span{display:block}
 .workspace-shell-native .workspace-topbar-actions .workspace-button-primary[data-trade-entry=add]{width:auto;min-width:120px;padding-inline:16px}
 .workspace-shell-native .workspace-topbar-actions .workspace-button-primary[data-trade-entry=add]>span{display:inline}
}
/* Account and Search use the same tracks on every route. Container queries
   target the controls inside the header, never the container itself. */
@container workspace-header (max-width:800px){
 .workspace-shell-native .workspace-topbar>button.workspace-search{flex:0 0 44px;width:44px;max-width:44px;justify-content:center;padding:10px}
 .workspace-shell-native .workspace-topbar>button.workspace-search>:is(span,kbd){display:none}
}
@media(max-width:767px){
 .workspace-shell-native .workspace-topbar>.sidebar-account-scope{width:auto;max-width:none;flex:1 1 0}
 .workspace-shell-native .workspace-topbar .workspace-topbar-actions{gap:6px}
 .workspace-shell-native .workspace-topbar-actions .workspace-button-primary[data-trade-entry=add]{width:44px;min-width:44px;max-width:44px;padding:10px}
 .workspace-shell-native .workspace-topbar-actions .workspace-button-primary[data-trade-entry=add]>span{display:none}
}
@media(max-width:420px){.workspace-shell-native .workspace-topbar .account-scope-chevron{display:none}}
@media(max-width:350px){.workspace-shell-native .workspace-topbar .account-scope-icon{display:none}}

@keyframes workspace-session-pulse{0%,100%{box-shadow:0 0 0 3px rgb(105 230 178 / .18)}50%{box-shadow:0 0 0 6px rgb(105 230 178 / .06)}}
@media(prefers-reduced-motion:reduce){.workspace-session-dot{animation:none}}
html[data-reduce-motion=true] .workspace-session-dot{animation:none}
/* Add trade and its menu: by hand, a file, a broker, a voice note. */
.workspace-shell-native .workspace-add{position:relative;display:inline-flex;flex:none}
.workspace-shell-native .workspace-add>.workspace-button-primary{border-top-right-radius:0;border-bottom-right-radius:0}
.workspace-shell-native .workspace-add-toggle{display:grid;place-items:center;width:34px;height:44px;margin-left:1px;padding:0;border:0;border-radius:0 6px 6px 0;background:var(--ws-accent);color:#fff;cursor:pointer;transition:background-color .16s ease}
html:not([data-workspace-frame=graphite]) .workspace-shell-native .workspace-add-toggle{background:#faf9f6;color:var(--ws-brand-surface)}
html[data-app-accent=Custom]:not([data-workspace-frame=graphite]) .workspace-shell-native .workspace-add-toggle{color:var(--user-action-accent-on-white)}
html[data-app-accent=Custom][data-workspace-frame=graphite] .workspace-shell-native .workspace-add-toggle{color:var(--user-action-ink)}
.workspace-shell-native .workspace-add-toggle:hover,.workspace-shell-native .workspace-add-toggle[aria-expanded=true]{background:color-mix(in srgb,var(--ws-accent) 90%,black)}
html:not([data-workspace-frame=graphite]) .workspace-shell-native .workspace-add-toggle:is(:hover,[aria-expanded=true]){background:#fff}
.workspace-shell-native .workspace-add-toggle:focus-visible{outline:2px solid var(--ws-brand-ink);outline-offset:2px}
.workspace-shell-native .workspace-topbar-actions .workspace-add-toggle svg{width:16px;height:16px}
.workspace-shell-native .workspace-add-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.workspace-shell-native .workspace-add-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:1200;width:300px;padding:6px;border:1px solid var(--ws-line);border-radius:10px;background:var(--ws-surface);box-shadow:0 12px 32px #10111429,0 2px 6px #1011140f;color:var(--ws-ink)}
.workspace-shell-native .workspace-add-menu[hidden]{display:none}
.workspace-shell-native .workspace-add-item{display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:8px 10px;border:0;border-radius:7px;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.workspace-shell-native .workspace-add-item:is(:hover,:focus-visible){background:var(--ws-hover);outline:0}
.workspace-shell-native .workspace-topbar-actions .workspace-add-item>:is(svg,i,.tsb-import-icon){flex:none;width:18px;height:18px;color:var(--ws-muted)}
.workspace-shell-native .workspace-add-item b{display:block;font-size:14px;line-height:20px;font-weight:500}
.workspace-shell-native .workspace-add-item small{display:block;color:var(--ws-muted);font-size:12px;line-height:17px}
@media(max-width:767px){
 .workspace-shell-native .workspace-add-toggle{display:none}
 .workspace-shell-native .workspace-add>.workspace-button-primary{border-radius:6px}
 .workspace-shell-native .workspace-add-menu{position:fixed;top:calc(var(--ws-topbar-height,58px) + 4px);right:12px;left:12px;width:auto}
}

/* Quick Appearance (Igor 8 Nov): the swatches sit right under the title; the accent group's name stays for screen readers. Reduce motion lives in Settings › Appearance. */
.workspace-appearance-choice-group>legend.workspace-visually-hidden{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Account scope on Free: a locked account is the greyed row ("Account preview"); the one lock is the shared lock under the
   list (TSBLock, CRAFT rule 11): the padlock, the line, and "See it in Pro" on its own line under the words. */
.workspace-shell-native .account-scope-option-hint.is-lock{margin-top:8px;padding:4px 12px 8px;border-top:1px solid var(--ui-line)}
.workspace-shell-native #account-scope-dropdown .account-scope-option-hint.is-lock .ui-lock{flex-wrap:wrap;margin:0;padding:12px 0 0;row-gap:4px}
/* under the copy, inside the list: 100% plus the 32 px indent ran 20 px past it and gave the list a scrollbar (Igor 19 Nov «тут скролл не нужен») */
.workspace-shell-native #account-scope-dropdown .account-scope-option-hint.is-lock .ui-lock-go{flex-basis:calc(100% - 32px);margin-left:32px}
