/* Startup geometry only. All finished colors, typography and 47px strips remain page-owned. */
html:root body[data-portfolio-shell] .cn-header .cn-search-trigger[hidden] {
  display:flex!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
html:root body[data-portfolio-shell] .cn-header .cn-account[hidden] {
  display:block!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
body[data-portfolio-shell] [data-portfolio-research-slot],
body[data-portfolio-shell] [data-portfolio-lens-slot] { display:flow-root; }
body[data-portfolio-shell] .portfolio-pending-tools { pointer-events:none; }
body[data-portfolio-shell] .portfolio-pending-tools :is(button,select) { opacity:.5; }
body[data-portfolio-shell] .profile-chart-surface { min-height:390px!important; }
body[data-portfolio-shell] .profile-chart .rp-chart-footer { min-height:49px; box-sizing:border-box; }
body[data-portfolio-shell] .profile-chart[aria-busy=true] .profile-chart-surface { background:repeating-linear-gradient(to bottom,transparent 0,transparent 96px,var(--rp-line,var(--site-line)) 97px,transparent 98px); }
body[data-portfolio-shell] [data-portfolio-pending] { color:transparent!important; position:relative; min-width:3.5ch; display:inline-block; }
body[data-portfolio-shell] [data-portfolio-pending]::after { content:''; position:absolute; inset:25% 0; max-width:5ch; background:var(--rp-muted,var(--site-muted)); opacity:.15; border-radius:2px; }
body[data-portfolio-shell] .international-valuation-coverage { min-height:1.5em; }
body[data-portfolio-shell] .profile-ui-latest-returns small { min-height:1.5em; }
body[data-portfolio-shell] :is(#portfolio-list,.allocation-mosaic,.rp-mosaic)[data-portfolio-loading-region] { min-height:250px; }
@media(max-width:800px) {
  html:root body[data-portfolio-shell] .cn-header .cn-search-trigger[hidden] { display:grid!important; }
}
@media(max-width:760px) {
  body[data-portfolio-shell] .profile-ui-latest-returns .international-valuation-coverage { min-height:3em; }
  body.portfolio-profile[data-portfolio-shell] #masthead-date { min-height:3em; }
}
@media(max-width:695px) { body[data-portfolio-shell] .profile-chart-surface { min-height:300px!important; } }
