/* HSA wide family: scale the approved 1536px desktop composition as
   one artboard while the Boundlearn and HSA tiers remain viewport chrome. */
@media (min-width: 1600px) {
  html.hsa-wide-artboard-pending body.hsa-wide-artboard #dc-root > .sc-host,
  html.hsa-wide-artboard-pending [data-hsa-wide-chrome-host] > * {
    visibility: hidden !important;
  }

  html.hsa-wide-artboard-active,
  html.hsa-wide-artboard-active body.hsa-wide-artboard,
  html.hsa-wide-artboard-active body.hsa-wide-artboard #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.hsa-wide-artboard-active body.hsa-wide-artboard {
    margin: 0 !important;
    zoom: 1 !important;
  }

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

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

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

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

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

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

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

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

  html.hsa-wide-artboard-active
    [data-hsa-wide-chrome-host]
    .bl-tier1 {
    background: #0b1221 !important;
    min-height: 71px !important;
    height: 71px !important;
    padding: 13px 56px !important;
  }

  html.hsa-wide-artboard-active
    [data-hsa-wide-chrome-host]
    .bl-tier1
    > :is(.bl-bar-nav, .hsa-shared-boundlearn-desktop-nav) {
    display: none !important;
  }

  html.hsa-wide-artboard-active
    [data-hsa-wide-chrome-host]
    .hsa-shared-program-header {
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 !important;
  }

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

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

  html.hsa-wide-artboard-active[data-bl-header-state]:not([data-bl-header-state="top"])
    [data-hsa-wide-chrome-clone="programme"] {
    border-bottom: 1px solid #e7e0d2 !important;
    background: rgba(248, 245, 239, .96) !important;
    box-shadow: none !important;
  }

  html.hsa-wide-artboard-active[data-bl-header-state]:not([data-bl-header-state="top"])
    [data-hsa-wide-chrome-clone="programme"]
    .hsa-subnav-links
    > a,
  html.hsa-wide-artboard-active[data-bl-header-state]:not([data-bl-header-state="top"])
    [data-hsa-wide-chrome-clone="programme"]
    .hsa-subnav-links
    > .bl-switch
    > a {
    color: #111827 !important;
    text-shadow: none !important;
  }

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

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

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

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

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