/* Shared homepage material, scoped to the local sidebar shell. */
html.sidebar-preview, html.frost-embedded {
  --frost-panel:#ffffff45;
  --frost-header:#5267820a;
  --frost-line:#7e8b9d60;
  --frost-rule:#7e8b9d30;
  --frost-shadow:0 5px 18px #46577212;
  --frost-ink:#17191e;
}
html.sidebar-preview[data-theme="dark"], html.frost-embedded[data-theme="dark"] {
  --frost-panel:#262e3945;
  --frost-header:#a0b3cb0a;
  --frost-line:#8192aa60;
  --frost-rule:#8192aa30;
  --frost-shadow:0 5px 18px #00000012;
  --frost-ink:#e7e9ed;
}
html.sidebar-preview[data-theme="dark"]:not(:has(body > .page)),
html.sidebar-preview[data-theme="dark"]:not(:has(body > .page)) body { background-color:#181b20 !important; }
html.sidebar-preview:not(:has(body > .page)) body > .atmo { display:none; }
html.sidebar-preview :is(#main-content,#app-container,#overview-container,#fundamentals-container,#statistics-test-panel,#workspace-markets,#workspace-week-ahead,#chart-container,.fund-chart-area) { background:transparent !important; }
html.sidebar-preview #unified-navigation-rail { background:transparent !important; }
html.sidebar-preview #statistics-test-panel { --stats-bg:transparent !important; --stats-line:var(--frost-rule) !important; --stats-head:var(--frost-header) !important; --desk-page-bg:transparent !important; --statement-page-bg:transparent !important; --statement-frame-line:var(--frost-line) !important; }
html.sidebar-preview :is(.desk-frame,#statistics-test-panel > .statement-section,#workspace-markets .markets-explorer,#workspace-markets .markets-detail,.post) {
  background:var(--frost-panel) !important;
  border:1px solid var(--frost-line) !important;
  border-radius:8px !important;
  box-shadow:var(--frost-shadow) !important;
}
html.sidebar-preview :is(.frost-panel-heading,.post-head,#workspace-markets .markets-heading,.statement-toolbar) {
  background:var(--frost-header) !important;
  border-bottom:1px solid var(--frost-rule) !important;
}
html.sidebar-preview .frost-panel-heading { box-sizing:border-box; min-height:48px; display:flex; align-items:center; padding:12px 16px; font-size:14px; font-weight:600; color:var(--frost-ink); }
html.sidebar-preview .desk-frame > .frost-panel-heading { margin:-22px -24px 16px; border-radius:7px 7px 0 0; }
html.sidebar-preview .desk-frame-price > .frost-panel-heading { margin:0; }
html.sidebar-preview .desk-frame-intro > .frost-panel-heading { grid-column:1/-1; margin-bottom:-24px; }
html.sidebar-preview .desk-frame-intro .desk-overview h2 { display:none; }
html.sidebar-preview .post { overflow:hidden; }
html.sidebar-preview .post-head { margin:-14px -20px 14px; padding:14px 20px; }
html.sidebar-preview .post :is(.chart-shell,.chart-wrap,.chart-card,.chart-container) { background:transparent !important; border-color:var(--frost-rule) !important; border-radius:8px; }
html.sidebar-preview:not([data-theme="dark"]) .post :is(img,svg) { mix-blend-mode:multiply; }
html.sidebar-preview #workspace-markets .markets-explorer { padding-top:0; }
html.sidebar-preview #workspace-markets .markets-heading { padding:0 16px; border-radius:7px 7px 0 0; }
html.sidebar-preview #workspace-markets .markets-load-status { background:transparent !important; }
html.sidebar-preview #workspace-markets .markets-detail { padding:0 16px 12px; }
html.sidebar-preview #workspace-markets .markets-detail > .frost-panel-heading { margin:0 -16px; border-radius:7px 7px 0 0; }
html.sidebar-preview :is(#statistics-price-frame,.markets-chart iframe) { background:transparent !important; }
/* Embedded chart canvases paint their own white base; blend only these charts in light mode. */
html.sidebar-preview:not([data-theme="dark"]) :is(#statistics-price-frame,.markets-chart iframe,#chart-container canvas,.fund-chart-area canvas) { mix-blend-mode:multiply; }
html.sidebar-preview .statement-scroll { background:transparent !important; }
html.sidebar-preview .statement-table thead th { background:var(--frost-header) !important; }
html.sidebar-preview .statement-table tbody tr:not(.statement-subtotal):not(.statement-grand-total):not(.statement-section-heading) > * { background:transparent !important; }
html.sidebar-preview .statement-table .statement-section-heading > * { background:var(--frost-header) !important; }
html.sidebar-preview .statement-toolbar { padding:12px 16px; border-radius:7px 7px 0 0; }
/* Native and standalone watchlists share the same transparent inner layers. */
html.sidebar-preview :is(#preview-watchlist,#fund-sidebar) :is(.wl-sidebar,.wl-list,.fund-sidebar-sections,.fund-sidebar-section,.fund-sidebar-section-body,#fund-unified-watchlist-slot) { background:transparent !important; }
html.sidebar-preview .gnav .test-badge { display:none; }
html.sidebar-preview :is(.gn-group,.gnav-group) .frost-pro { display:inline-flex !important; align-items:center; justify-content:center; gap:8px; height:32px !important; padding:0 14px !important; border:0 !important; border-radius:7px !important; background:#17191e !important; color:white !important; font:600 13px var(--tos-font-ui,'Geist',sans-serif) !important; text-decoration:none; }
html.sidebar-preview :is(.gn-group,.gnav-group) .frost-profile { display:inline-flex !important; align-items:center; justify-content:center; width:27px; height:32px; padding:0 !important; background:transparent !important; border:0 !important; color:var(--frost-ink) !important; }
html.sidebar-preview .frost-search { display:flex; align-items:center; gap:8px; width:220px; height:32px; padding:0 10px; border:0; border-radius:6px; background:#0f11160d; color:#5f6470; font:13px 'Geist',sans-serif; cursor:pointer; }
html.sidebar-preview .frost-theme { display:grid; place-items:center; width:24px; height:32px; padding:0; background:transparent; border:0; color:var(--frost-ink); }
html.sidebar-preview .frost-search-dialog { border:1px solid var(--frost-line); border-radius:8px; background:#f1f4f8; color:#17191e; width:420px; max-width:calc(100vw - 32px); padding:16px; }
.frost-search-dialog input { box-sizing:border-box; width:100%; padding:10px; margin:12px 0; }
.frost-search-results a { display:block; padding:10px; text-decoration:none; color:inherit; }
.frost-search-results a:hover { background:#dce5f0; }
/* Same-origin Week Ahead frame inherits the shared material without another opaque page. */
html.frost-embedded,html.frost-embedded body { background:transparent !important; }
/* Keep embedded agendas scrollable without a scrollbar inside the workspace. */
html.frost-embedded,html.frost-embedded body { scrollbar-width:none; }
html.frost-embedded::-webkit-scrollbar,html.frost-embedded body::-webkit-scrollbar { display:none; }
html.frost-embedded main.agenda.improved { background:var(--frost-panel); border-color:var(--frost-line); box-shadow:var(--frost-shadow); }
html.frost-embedded .week-toolbar { background:var(--frost-header); border-bottom:1px solid var(--frost-rule); margin:-24px -24px 24px; padding:16px 24px; border-radius:7px 7px 0 0; }
@media(max-width:700px) { html.sidebar-preview .desk-frame > .frost-panel-heading { margin-left:-16px;margin-right:-16px; } html.sidebar-preview .desk-frame-price > .frost-panel-heading { margin:0; } }
html.sidebar-preview .frost-feed-tools { width:min(700px,calc(100% - 40px)); margin:12px auto 0; display:flex; justify-content:flex-end; position:relative; z-index:1; }
html.sidebar-preview .frost-feed-tools button { border:1px solid var(--frost-line); border-radius:6px; background:var(--frost-panel); }
html.sidebar-preview .gn-right .frost-profile svg { display:block !important; fill:currentColor; stroke:none; width:21px;height:21px; }
/* Every workspace uses the homepage's neutral white-to-gray backdrop. */
html.sidebar-preview:not([data-theme="dark"]):not(:has(body > .page)) {
  background-color:#f3f3f3 !important;
  background-image:radial-gradient(65% 70% at 50% 0%,#fff 0%,rgba(255,255,255,.95) 35%,rgba(243,243,243,0) 100%) !important;
  background-size:100% 1400px;
  background-position:center top;
  background-repeat:no-repeat;
  background-attachment:scroll;
}
html.sidebar-preview:not(:has(body > .page)) body { background:transparent !important; }
/* Native app selectors are more specific than the standalone watchlist styles. */
html.sidebar-preview #fundamentals-container #fund-unified-watchlist-slot .wl-header { height:43px;min-height:43px; }
html.sidebar-preview #fundamentals-container #fund-unified-watchlist-slot .wl-list { padding:0; }
html.sidebar-preview #fundamentals-container #fund-unified-watchlist-slot .wl-col-header { border-bottom:0; }
html.sidebar-preview #fundamentals-container #fund-unified-watchlist-slot .wl-row:first-child { border-top:1px solid var(--price-watchlist-rule); }
html.sidebar-preview #fundamentals-container #fund-unified-watchlist-slot { --price-watchlist-hover:var(--preview-hover-fill); }
/* Overlay workspaces must not reveal the inactive chart surface underneath. */
html.sidebar-preview[data-markets-open] #overview-container,
html.sidebar-preview:has(#workspace-week-ahead:not([hidden])) #overview-container { visibility:hidden !important; }
html.sidebar-preview[data-theme="dark"]:not(:has(body > .page)) body { background:transparent !important; }
html.sidebar-preview:not([data-theme="dark"]) :is(.markets-chart,.desk-price-chart,.desk-frame-price) { mix-blend-mode:multiply; }
html.sidebar-preview:not([data-theme="dark"]) #workspace-markets { mix-blend-mode:multiply; }
html.sidebar-preview :is(.fund-chart-surface,#fund-engine-chart) { background:transparent !important; }
html.sidebar-preview .fund-chart-surface { border:0 !important;border-radius:0;box-shadow:none !important; }
html.sidebar-preview .toolbar.shared-price-toolbar { background:var(--frost-panel) !important;border:1px solid var(--frost-line) !important;border-radius:8px; }
html.sidebar-preview :is(.gnav-brand,.frost-feed-tools button) { color:var(--frost-ink) !important; }
html.sidebar-preview[data-theme="dark"] .frost-search { color:#bbc3ce;background:#ffffff0c; }
/* One viewport geometry for every sidebar destination, regardless of page width. */
html.sidebar-preview { --workspace-nav-left:calc(var(--preview-rail-width) + 24px); }
html.sidebar-preview.preview-watchlist-open { --workspace-nav-left:calc(var(--preview-rail-width) + max(220px,var(--preview-watchlist-width)) + 24px); }
html.sidebar-preview :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right) {
  position:fixed !important;top:12px !important;bottom:auto !important;
  box-sizing:border-box !important;height:46px !important;min-height:46px !important;
  margin:0 !important;transform:none !important;display:flex !important;align-items:center !important;
  flex-wrap:nowrap !important;z-index:1001;
}
html.sidebar-preview :is(.nav-left,.gn-left,.gnav-left) {
  left:var(--workspace-nav-left) !important;right:auto !important;
  width:153px !important;min-width:153px !important;padding:0 16px !important;gap:0 !important;
}
html.sidebar-preview :is(.nav-right,.gn-right,.gnav-right) {
  left:auto !important;right:24px !important;width:397px !important;
  padding:0 8px !important;gap:10px !important;
}
html.sidebar-preview :is(.wordmark,.gn-left .top-nav-brand,.gnav-brand) {
  font:700 19px/22px 'Space Grotesk',sans-serif !important;letter-spacing:-.035em !important;
  margin:0 !important;padding:0 !important;white-space:nowrap;
}
html.sidebar-preview :is(.nav-right .search,.gn-right .top-nav-search,.gnav-right .frost-search) {
  box-sizing:border-box !important;width:220px !important;min-width:220px !important;max-width:220px !important;
  height:32px !important;min-height:32px !important;padding:0 10px !important;gap:8px !important;flex:0 0 220px !important;
}
html.sidebar-preview :is(.nav-right .icon-btn,.gn-right .theme-toggle,.gnav-right .frost-theme) {
  display:flex !important;align-items:center !important;justify-content:center !important;
  box-sizing:border-box !important;width:24px !important;min-width:24px !important;height:32px !important;min-height:32px !important;padding:0 !important;margin:0 !important;flex:0 0 24px !important;
}
html.sidebar-preview :is(.nav-right .signup-btn,.gn-right .frost-pro,.gnav-right .frost-pro) {
  box-sizing:border-box !important;width:76px !important;min-width:76px !important;height:32px !important;min-height:32px !important;flex:0 0 76px !important;padding:0 14px !important;margin:0 !important;
}
html.sidebar-preview :is(.nav-right .profile-btn,.gn-right .frost-profile,.gnav-right .frost-profile) {
  box-sizing:border-box !important;width:27px !important;min-width:27px !important;height:32px !important;min-height:32px !important;flex:0 0 27px !important;padding:0 !important;margin:0 !important;
}
@media(max-width:800px) { html.sidebar-preview.preview-watchlist-open { --workspace-nav-left:calc(var(--preview-rail-width) + 24px); } }
@media(max-width:680px) {
  html.sidebar-preview :is(.nav-right,.gn-right,.gnav-right) { right:12px !important;width:209px !important; }
  html.sidebar-preview :is(.nav-right .search,.gn-right .top-nav-search,.gnav-right .frost-search) { width:32px !important;min-width:32px !important;max-width:32px !important;flex-basis:32px !important;padding:0 9px !important; }
  html.sidebar-preview :is(.nav-right .search,.gn-right .top-nav-search,.gnav-right .frost-search) :is(span,.kbd) { display:none !important; }
}
html.sidebar-preview .gn-right :is(.website-theme-control,.rail-theme-button) { box-sizing:border-box !important;width:24px !important;min-width:24px !important;height:32px !important;min-height:32px !important;padding:0 !important;margin:0 !important;flex:0 0 24px !important; }
html.sidebar-preview .gn-right .unified-rail-footer { display:flex !important;gap:10px !important;flex-shrink:0 !important; }
/* Viewport units include the document scrollbar, keeping Feed/Home aligned
   with workspaces that scroll inside their own panels. */
html.sidebar-preview :is(.nav-right,.gn-right,.gnav-right) { left:calc(100vw - 421px) !important;right:auto !important;justify-content:flex-start !important; }
@media(max-width:680px) { html.sidebar-preview :is(.nav-right,.gn-right,.gnav-right) { left:calc(100vw - 221px) !important;right:auto !important; } }
html.sidebar-preview .gn-right .unified-rail-footer { margin:0 !important; }

/* Align both groups with the centered homepage reading column on every tab. */
html.sidebar-preview {
  --workspace-nav-origin:var(--preview-rail-width);
  --workspace-nav-space:calc(100vw - var(--workspace-scrollbar,0px) - var(--workspace-nav-origin));
  --workspace-nav-width:min(1280px,calc(var(--workspace-nav-space) - 40px));
  --workspace-nav-left:calc(var(--workspace-nav-origin) + (var(--workspace-nav-space) - var(--workspace-nav-width))/2);
}
html.sidebar-preview.preview-watchlist-open {
  --workspace-nav-origin:calc(var(--preview-rail-width) + max(220px,var(--preview-watchlist-width)));
  --workspace-nav-left:calc(var(--workspace-nav-origin) + (var(--workspace-nav-space) - var(--workspace-nav-width))/2);
}
html.sidebar-preview :is(.nav-right,.gn-right,.gnav-right) { left:calc(var(--workspace-nav-left) + var(--workspace-nav-width) - 397px) !important; }
/* Fixed children still need a complete row in the homepage document flow. */
html.sidebar-preview .page > .nav { box-sizing:border-box;height:82px;min-height:82px;padding:0; }
@media(max-width:800px) { html.sidebar-preview.preview-watchlist-open { --workspace-nav-origin:var(--preview-rail-width); } }
@media(max-width:680px) { html.sidebar-preview :is(.nav-right,.gn-right,.gnav-right) { left:calc(var(--workspace-nav-left) + var(--workspace-nav-width) - 209px) !important; } }
/* Follow the watchlist's slide instead of jumping to the new content edges. */
html.sidebar-preview :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right) {
  transition:left var(--navbar-slide-duration,0ms) ease;
}
html.sidebar-preview.preview-watchlist-resizing :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right),
html.sidebar-preview:has(#fund-sidebar.is-resizing) :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right) { transition:none; }
@media(prefers-reduced-motion:reduce) {
  html.sidebar-preview :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right) { transition:none; }
}
/* Restoring saved geometry on navigation is not a user-triggered slide. */
html.sidebar-shell-booting::before,
html.sidebar-shell-booting body,
html.sidebar-shell-booting :is(#preview-rail,#preview-rail::after,#preview-watchlist,#fund-sidebar,#fund-sidebar *,.nav-left,.nav-right,.gn-left,.gn-right,.gnav-left,.gnav-right) { transition:none !important; }

/* Chart workspaces use their own controls as the top row. */
html.sidebar-preview:is([data-workspace-view="price"],[data-workspace-view="fundamentals"]) #unified-navigation-rail,
html.sidebar-preview:is([data-workspace-view="price"],[data-workspace-view="fundamentals"]) :is(.gn-left,.gn-right) { display:none !important; }
html.sidebar-preview:is([data-workspace-view="price"],[data-workspace-view="fundamentals"]) body { padding-top:var(--preview-chrome-top,12px) !important; }
html.sidebar-preview[data-workspace-view="fundamentals"]:not(.fullscreen-mode) #main-content {
  height:calc(100dvh - var(--preview-chrome-top,12px)) !important;
}

/* Match the controls above the range slider to its right track endpoint. */
html.sidebar-preview[data-workspace-view="fundamentals"] .fund-main-topbar { padding-right:var(--fund-chart-right-inset,70px) !important; }

/* Overview's content column is wider than the homepage reading column. */
html.sidebar-preview[data-company-section="overview"]:has(#statistics-test-panel.statistics-desk) {
  --workspace-nav-width:min(var(--workspace-page-width,1425px),calc(var(--workspace-nav-space) * .95));
}

/* Company classifications share the translucent material of the page chrome. */
html.sidebar-preview .company-header-classification :is(.research-exchange,.research-sector,.research-industry) {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 11px !important;
  border:1px solid var(--frost-rule) !important;
  border-radius:7px !important;
  background:var(--frost-panel) !important;
  color:var(--frost-ink) !important;
  box-shadow:inset 0 1px 0 #ffffff30,0 1px 3px #46577208;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  font-size:12px;
  font-weight:500;
  line-height:18px;
}

/* Price has no website navbar; reserve only its visible top inset and toolbar. */
html.sidebar-preview[data-workspace-view="price"]:not(.fullscreen-mode) #main-content {
  height:calc(100dvh - var(--preview-chrome-top,12px) - var(--tos-toolbar-height)) !important;
}
html.sidebar-preview[data-workspace-view="price"] #fund-price-symbol-select {
  background:var(--frost-panel) !important;
  border:1px solid var(--frost-rule) !important;
  color:var(--frost-ink) !important;
  border-radius:6px;
  box-shadow:inset 0 1px 0 #ffffff30;
}
html.sidebar-preview[data-workspace-view="price"] #fund-price-symbol-select:hover {
  background:var(--preview-hover-fill) !important;
}

html.sidebar-preview :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right) {
  transition:left var(--navbar-slide-duration,0ms) ease,translate 200ms ease,background-color 200ms ease,color 200ms ease,border-color 200ms ease,box-shadow 200ms ease;
}
@media(prefers-reduced-motion:reduce) {
  html.sidebar-preview :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right) { transition:none; }
}

/* Center the homepage between the visible sidebar edge and the right viewport edge. */
html.sidebar-preview:has(body > .page) {
  --homepage-content-origin:calc(var(--preview-content-left) - 8px);
  --workspace-nav-origin:var(--homepage-content-origin);
}
html.sidebar-preview:has(body > .page) body {
  margin-left:var(--homepage-content-origin);
  width:calc(100% - var(--homepage-content-origin));
}

/* Scroll navigation only; the rail and watchlist keep their own motion. */
html.sidebar-preview[data-frost-nav-tucked] :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right) {
  translate:0 calc(-100% - 24px);
}
html.sidebar-preview :is(.nav-left,.gn-left,.gnav-left,.nav-right,.gn-right,.gnav-right):focus-within { translate:0 0; }

/* Horizontal motion is reserved for explicit watchlist toggles, never page setup. */
html.sidebar-preview[data-navbar-sidebar-motion] { --navbar-slide-duration:380ms; }

/* Home, Feed and Markets share fixed navbar anchors across navigation. */
html.sidebar-preview:has(body > .page),
html.sidebar-preview:has(.gnav),
html.sidebar-preview[data-markets-open] {
  --workspace-nav-origin:calc(var(--preview-rail-width) - 8px);
  --workspace-nav-width:min(1280px,calc(var(--workspace-nav-space) - 40px)) !important;
}
html.sidebar-preview.preview-watchlist-open:has(body > .page),
html.sidebar-preview.preview-watchlist-open:has(.gnav),
html.sidebar-preview.preview-watchlist-open[data-markets-open] {
  --workspace-nav-origin:calc(var(--preview-rail-width) + var(--preview-watchlist-width) - 8px);
}
@media(max-width:800px) {
  html.sidebar-preview.preview-watchlist-open:has(body > .page),
  html.sidebar-preview.preview-watchlist-open:has(.gnav),
  html.sidebar-preview.preview-watchlist-open[data-markets-open] { --workspace-nav-origin:calc(var(--preview-rail-width) - 8px); }
}

/* Use the chart application's actual symbol picker on standalone pages. */
html.sidebar-preview :is(.nav .search,.frost-search,.gn-right .top-nav-search),
html.sidebar-preview :is(.nav .search,.frost-search,.gn-right .top-nav-search) * { cursor:text !important; }
.frost-native-search-dialog { width:min(760px,calc(100vw - 24px));height:min(700px,calc(100dvh - 24px));max-width:none;max-height:none;padding:0;margin:auto;border:0;border-radius:14px;background:var(--frost-panel,#fff);overflow:hidden; }
.frost-native-search-dialog::backdrop { background:rgba(0,0,0,.28); }
.frost-native-search-dialog iframe { display:block;width:100%;height:100%;border:0; }

/* Navigation geometry is shared; reading/chart content widths stay route-owned. */
html.sidebar-preview {
  --workspace-nav-origin:calc(var(--preview-content-left) - 8px) !important;
  --workspace-nav-width:min(1280px,calc(var(--workspace-nav-space) - 40px)) !important;
}
html.sidebar-preview.preview-watchlist-open[data-workspace-view="fundamentals"] .gn-left,
html.sidebar-preview[data-workspace-view="fundamentals"] .gn-left { left:var(--workspace-nav-left) !important; }
html.sidebar-preview[data-workspace-view="fundamentals"] .gn-right { left:calc(var(--workspace-nav-left) + var(--workspace-nav-width) - 397px) !important; }
@media(max-width:680px) {
  html.sidebar-preview[data-workspace-view="fundamentals"] .gn-right { left:calc(var(--workspace-nav-left) + var(--workspace-nav-width) - 209px) !important; }
}
/* Only an explicit sidebar toggle animates geometry, never route initialization. */
html.sidebar-preview:not([data-navbar-sidebar-motion]) body,
html.sidebar-preview:not([data-navbar-sidebar-motion])::before,
html.sidebar-preview:not([data-navbar-sidebar-motion]) :is(#preview-watchlist,#fund-sidebar,.fund-sidebar-resize-handle) { transition:none !important; }
html.sidebar-preview #preview-rail { view-transition-name:workspace-rail; }
html.sidebar-preview :is(.nav-left,.gn-left,.gnav-left) { view-transition-name:workspace-brand; }
html.sidebar-preview :is(.nav-right,.gn-right,.gnav-right) { view-transition-name:workspace-controls; }
@view-transition { navigation:auto; }
/* Swap completed documents without fading or sliding the stationary chrome. */
::view-transition-group(*) { animation-duration:0s; }
::view-transition-old(*),::view-transition-new(*) { animation:none;mix-blend-mode:normal; }
::view-transition-old(root) { animation:none; }

html.sidebar-preview:has(.preview-blog-nav) .cg-site-header { display:none; }
html.sidebar-preview .preview-blog-nav { height:82px; }
html.sidebar-preview .preview-blog-nav .gnav-group { border:1px solid var(--frost-line);border-radius:8px;background:#ffffff8c;backdrop-filter:blur(10px); }
html.sidebar-preview .preview-blog-nav a { text-decoration:none; }
html.sidebar-preview .preview-blog-nav .frost-theme { border:0;background:transparent;color:var(--frost-ink); }

/* Keep disabled weekly editions separate from the underlying company view. */
html.sidebar-preview[data-preview-week-ahead] :is(#overview-container,#statistics-test-panel,#chart-container) { display:none !important; }
html.sidebar-preview #preview-week-ahead-empty { position:fixed;top:110px;left:var(--preview-content-left,110px);right:40px;z-index:212;margin:0; color:var(--frost-ink); }
html.sidebar-preview #preview-week-ahead-empty h1 { font-size:28px;margin:0 0 12px; }
html.sidebar-preview #preview-week-ahead-empty p { color:#737b88;font-size:14px; }
html.sidebar-preview:has(#workspace-week-ahead) #preview-week-ahead-empty { display:none; }

/* Shared outer frame: page content and floating navigation use identical edges.
   Feed retains a centered 700px reading column inside this frame. */
html.sidebar-preview body {
  box-sizing:border-box;min-width:0 !important;
  margin-left:var(--workspace-nav-left) !important;
  margin-right:0 !important;
  width:var(--workspace-nav-width) !important;
}
html.sidebar-preview body > .page {
  box-sizing:border-box;width:100% !important;max-width:none !important;margin-inline:0 !important;
}
html.sidebar-preview #statistics-test-panel { padding-inline:0 !important; }
html.sidebar-preview #statistics-test-panel > :is(.research-header,.research-layout,.statement-section,.reading-footer) {
  box-sizing:border-box;width:100% !important;max-width:none !important;margin-inline:0 !important;
}
html.sidebar-preview :is(#workspace-markets,#workspace-week-ahead) {
  left:var(--workspace-nav-left) !important;width:var(--workspace-nav-width) !important;right:auto !important;
}
html.sidebar-preview #workspace-markets { padding-inline:0 !important;box-sizing:border-box; }
html.sidebar-preview #workspace-markets > * { max-width:none !important; }
html.sidebar-preview #fundamentals-container .fund-main {
  min-width:0;width:100% !important;margin-inline:0 !important;padding-inline:0 !important;
}
html.sidebar-preview .cg-page:not(.cg-reading) .cg-main {
  box-sizing:border-box;width:100% !important;max-width:none !important;margin-inline:0 !important;padding-inline:0 !important;
}
html.sidebar-preview .cg-content { margin-left:0 !important; }
html.sidebar-preview #preview-week-ahead-empty {
  left:var(--workspace-nav-left);right:auto;width:var(--workspace-nav-width);font-family:'Geist',sans-serif;
}
html.sidebar-preview .gnav ~ main {
  box-sizing:border-box;width:min(740px,100%);max-width:740px;margin-inline:auto;
}
/* Internal scrollbars must not subtract from the shared content frame. */
html.sidebar-preview :is(#statistics-test-panel,#overview-container,#workspace-markets) { scrollbar-width:none;overflow-x:hidden; }
html.sidebar-preview :is(#statistics-test-panel,#overview-container,#workspace-markets)::-webkit-scrollbar { display:none; }
html.sidebar-preview #workspace-markets .markets-shell { width:100% !important;max-width:none !important;margin-inline:0 !important; }
html.sidebar-preview[data-navbar-sidebar-motion] body {
  transition:margin-left 380ms ease,width 380ms ease;
}
html.sidebar-preview.preview-watchlist-resizing body,
html.sidebar-preview:has(#fund-sidebar.is-resizing) body { transition:none !important; }
@media(prefers-reduced-motion:reduce) { html.sidebar-preview[data-navbar-sidebar-motion] body { transition:none; } }

/* Shared light chrome: neutral white surfaces match the page background. */
html.sidebar-preview:is(#glass-home-preview,.sidebar-preview):not([data-theme="dark"]):not([data-chrome-theme="dark"])::before,
html.sidebar-preview:is(#glass-home-preview,.sidebar-preview):not([data-theme="dark"]):not([data-chrome-theme="dark"]) :is(.nav-left,.nav-right,.gn-left,.gn-right,.gnav-left,.gnav-right) {
  background:#fff !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  border-color:#d9dce1 !important;
}
html.sidebar-preview:is(#glass-home-preview,.sidebar-preview):not([data-theme="dark"]):not([data-chrome-theme="dark"]) :is(.nav-right .search,.gn-right .top-nav-search,.gnav-right .frost-search) {
  background:#f4f4f4 !important;
  border-color:#e8e8e8 !important;
}

.frost-native-search-dialog { background:#fff; }
.frost-search-loading { position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#737b88;font:14px 'Geist',sans-serif; }

/* Capture the watchlist and shared outline alongside the rail on navigation. */
html.sidebar-preview::before { view-transition-name:workspace-sidebar-frame; }
html.sidebar-preview #preview-watchlist,
html.sidebar-preview.preview-native-panel #fund-sidebar:not(.is-collapsed) { view-transition-name:workspace-watchlist; }

/* One white canvas across the light preview, including legacy Blog sheets. */
html.sidebar-preview:is(#glass-home-preview,.sidebar-preview):not([data-theme="dark"]):not([data-chrome-theme="dark"]) {
  --frost-panel:#fff;
  --blog-page-bg:#fff;
  --blog-gutter:#fff;
  --blog-sheet:#fff;
  background:#fff !important;
}
html.sidebar-preview:is(#glass-home-preview,.sidebar-preview):not([data-theme="dark"]):not([data-chrome-theme="dark"]) :is(body,.page,.cg-page,.cg-content,.cg-main,.cg-article-main,.cg-article-chart,.cg-preview,.cg-card-caption,.blog-chart,.panel,.post,.chart-shell,.chart-wrap,.chart-card,.newsletter-frame,.site-footer-host,.home-footer) {
  background:#fff !important;
}

/* Blog opens directly on the article cards. */
html.sidebar-preview .cg-page:not(.cg-reading) :is(.cg-intro,.cg-public-intro) { display:none; }
html.sidebar-preview .cg-page:not(.cg-reading) .cg-main { padding-top:24px; }

/* One continuous card outline, independent of each chart preview's styling. */
html.sidebar-preview .cg-card {
  border:1px solid var(--preview-blog-card-border, #d9dce1);
  border-radius:6px;
  overflow:hidden;
  box-sizing:border-box;
}
html.sidebar-preview .cg-card .cg-preview {
  border:0;
  border-radius:0;
  box-shadow:none;
}
html.sidebar-preview .cg-card .cg-card-caption {
  border:0;
  border-top:1px solid var(--preview-blog-card-border, #d9dce1);
  border-radius:0;
}

html.sidebar-preview:is([data-theme="dark"],[data-chrome-theme="dark"]) .cg-card { --preview-blog-card-border:#424b59; }

/* End the Price toolbar at the plot/y-axis divider, not beyond the labels. */
html.sidebar-preview[data-workspace-view="price"] .toolbar.shared-price-toolbar {
  box-sizing:border-box;
  width:var(--price-toolbar-plot-width,100%) !important;
  max-width:100%;
}

/* Price is a full-width workspace, not a capped reading column. */
html.sidebar-preview[data-workspace-view="price"]:not(.fullscreen-mode) body {
  margin-left:calc(var(--preview-content-left) + 12px) !important;
  width:calc(100% - var(--preview-content-left) - 24px) !important;
}

/* Match the homepage search field inside the Price toolbar. */
html.sidebar-preview[data-workspace-view="price"] .toolbar.shared-price-toolbar .fund-price-symbol-row {width:220px;flex:0 0 220px;}
html.sidebar-preview[data-workspace-view="price"] #fund-price-symbol-select {background:#f4f4f4!important;border:1px solid #e8e8e8!important;box-shadow:none;height:32px;padding:0 10px;gap:8px;font:400 13px 'Geist',sans-serif;color:#5f6470!important;}
html.sidebar-preview[data-workspace-view="price"] #fund-price-symbol-select .fund-price-symbol-copy {display:flex;align-items:center;gap:5px;flex:1;}
html.sidebar-preview[data-workspace-view="price"] #fund-price-symbol-select .fund-price-symbol-copy::before {content:'Search';}
html.sidebar-preview[data-workspace-view="price"] #fund-price-symbol-select::after {content:'/';font:600 13px/18px 'Geist',sans-serif;padding:0 4px;border:1px solid #d5d5d5;border-radius:3px;color:#858585;}
html.sidebar-preview[data-theme="dark"][data-workspace-view="price"] #fund-price-symbol-select {background:#ffffff0c!important;border-color:#ffffff22!important;color:#bbc3ce!important;}
