/* SparkLab wide pilot: preserve the approved 1536px composition while the
   Boundlearn and SparkLab tiers remain independent viewport chrome. */
@media (min-width: 1600px) {
  html.spark-wide-artboard-active {
    --spark-wide-scale: 1.2 !important;
    --spark-wide-vh: 720px !important;
  }

  html.spark-wide-artboard-pending body.spark-wide-artboard-pilot #dc-root > .sc-host,
  html.spark-wide-artboard-pending [data-spark-wide-chrome-host] > * {
    visibility: hidden !important;
  }

  html.spark-wide-artboard-active,
  html.spark-wide-artboard-active body.spark-wide-artboard-pilot,
  html.spark-wide-artboard-active body.spark-wide-artboard-pilot #dc-root {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 100% !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot {
    margin: 0 !important;
    zoom: 1 !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot #dc-root {
    min-height: var(--spark-artboard-logical-height, 864px) !important;
    margin-top: var(--spark-artboard-global-height, 71px) !important;
    overflow: visible !important;
    zoom: 1 !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot #dc-root > .sc-host {
    width: 1536px !important;
    min-width: 1536px !important;
    max-width: none !important;
    height: auto !important;
    min-height: var(--spark-artboard-logical-height, 864px) !important;
    margin: 0 !important;
    overflow: visible !important;
    transform: none !important;
    transform-origin: left top !important;
    zoom: var(--spark-artboard-scale, 1) !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot .spark-page-root {
    width: 1280px !important;
    min-width: 1280px !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    zoom: 1.2 !important;
  }

  html.spark-wide-artboard-ready [data-spark-wide-chrome-source] {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html.spark-wide-artboard-ready [data-spark-wide-chrome-source="global"] {
    position: fixed !important;
  }

  html.spark-wide-artboard-ready [data-spark-wide-chrome-source="programme"] {
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    min-height: 47.5px !important;
    height: 47.5px !important;
    margin: 0 !important;
    transform: none !important;
  }

  html.spark-wide-artboard-active [data-spark-wide-chrome-host] {
    display: contents !important;
  }

  html.spark-wide-artboard-active
    [data-spark-wide-chrome-host]
    .bl-header-pilot-programme-spacer {
    display: none !important;
  }

  html.spark-wide-artboard-active
    [data-spark-wide-chrome-host]
    :is(.bl-unified-header, .bl-source-boundlearn-header, .spark-program-nav) {
    box-sizing: border-box !important;
    width: 1536px !important;
    max-width: none !important;
    transform-origin: left top !important;
    zoom: var(--spark-artboard-scale, 1) !important;
  }

  html.spark-wide-artboard-active
    [data-spark-wide-chrome-host]
    :is(.bl-unified-header, .bl-source-boundlearn-header) {
    min-height: 71px !important;
    height: 71px !important;
    padding: 13px 56px !important;
    background: #0b1221 !important;
  }

  html.spark-wide-artboard-active
    [data-spark-wide-chrome-host]
    .spark-program-nav {
    min-height: 57px !important;
    height: 57px !important;
    font-family: var(--font-body, "Manrope", sans-serif) !important;
  }

  html.spark-wide-artboard-active
    [data-spark-wide-chrome-host]
    .spark-program-nav-inner {
    height: 57px !important;
    padding: 13px 46px !important;
  }

  html.spark-wide-artboard-active.bl-header-pilot-program:has(body.spark-wide-artboard-pilot) {
    --bl-pilot-global-height: var(--spark-artboard-global-height, 71px) !important;
  }

  html.spark-wide-artboard-active:is(.bl-header-pilot-main, .bl-header-pilot-program):has(body.spark-wide-artboard-pilot)
    body
    .bl-pilot-global-header {
    width: 1536px !important;
    max-width: none !important;
    min-height: 71px !important;
    height: 71px !important;
    padding: 13px 56px !important;
  }

  html.spark-wide-artboard-active.bl-header-pilot-program
    body.spark-wide-artboard-pilot
    .bl-pilot-programme-tier {
    box-sizing: border-box !important;
    width: 1536px !important;
    max-width: none !important;
    min-height: 57px !important;
    height: 57px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot > #bl-hub-desktop-menu {
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    width: 1536px !important;
    height: var(--spark-artboard-logical-height, 864px) !important;
    min-height: 0 !important;
    max-height: none !important;
    transform-origin: left top !important;
    zoom: var(--spark-artboard-scale, 1) !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot > #bl-hub-desktop-menu .bl-hub-desktop-menu-shell {
    width: 1536px !important;
    min-height: var(--spark-artboard-logical-height, 864px) !important;
    max-height: var(--spark-artboard-logical-height, 864px) !important;
    padding: 22px 56px 32px !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot > #bl-hub-desktop-menu .bl-hub-desktop-menu-body {
    width: min(1180px, 100%) !important;
    max-height: calc(var(--spark-artboard-logical-height, 864px) - 98px) !important;
    gap: clamp(54px, 8vw, 140px) !important;
    padding: clamp(22px, 5vh, 54px) 0 !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot > #bl-hub-desktop-menu .bl-hub-desktop-programs-panel {
    width: min(360px, 28vw) !important;
  }

  html.spark-wide-artboard-active body.spark-wide-artboard-pilot > .spark-first-paint-loader {
    width: 100vw !important;
    height: 100vh !important;
    zoom: 1 !important;
  }
}
