/* Safari 26 samples real opaque top-edge boxes, not theme-color metadata.
   Shared across Office, CEO and rep; glass/sea remains below the chrome. */
:root { --iovo-theme-top: #051626; }
:root[data-theme="dark"] { --iovo-theme-top: #0a0705; }
:root[data-theme="light"] { --iovo-theme-top: #f5f7f9; }
html:has([data-shell]), html:has(.top[data-no-world-launcher]),
html:has(.header) {
  background-color: var(--iovo-theme-top) !important;
  background-image: none !important;
}
html:has([data-shell]) body, html:has(.top[data-no-world-launcher]) body,
html:has(.header) body {
  background-color: var(--iovo-theme-top) !important;
}
html:root body [data-shell] .shx-topbar.shx-topbar,
:root [data-shell] .shx-rail,
:root .top[data-no-world-launcher],
:root .header {
  position: sticky;
  top: 0;
  background: var(--iovo-theme-top) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  opacity: 1;
  transition-property: border-color, color;
}
/* The rail shares the viewport top edge with the Office/rep header. */
:root .sidebar { background-color: var(--iovo-theme-top) !important; }
