/*!
 * Landing chrome — unique filename (nginx caches /css/ immutable).
 *
 * 1. Fit the command-center hero on short desktop viewports so the three
 *    Get Started CTAs stay fully on screen. 20260906parity stretched the
 *    hero to 100vh-6rem with 176px KPI cards; extra grid space then pushed
 *    the steps row into the Windows taskbar / browser chrome.
 * 2. Restore navbar mega-menu chevrons. 20260906unify hid .nav-chevron /
 *    .pp-chevron / .material-symbols-outlined at 1280px+, so Product and
 *    Solutions looked like flat text with no dropdown.
 *
 * Search Elinom still overlays the hero (does not grow the hero box).
 */

@media (min-width: 901px) {
  html[data-active-module="landing"] {
    --erp-hero-min-offset: 14rem;
  }

  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center,
  html[data-active-module="landing"] body.erp-body #landing.module-section .erp-hero.erp-hero--command-center,
  html[data-active-module="landing"] #landing .erp-hero.erp-hero--command-center {
    min-height: calc(100vh - var(--erp-hero-min-offset, 14rem)) !important;
    height: auto !important;
    padding-top: calc(1.05rem + var(--erp-desktop-search-h, 3rem)) !important;
    padding-bottom: 1.05rem !important;
    box-sizing: border-box !important;
  }

  html[data-active-module="landing"] body.erp-body #landing.module-section .erp-hero.erp-hero--command-center .erp-hero-inner,
  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .erp-hero-inner,
  html[data-active-module="landing"] #landing .erp-hero.erp-hero--command-center .erp-hero-inner {
    row-gap: 0.7rem !important;
    align-content: start !important;
    align-items: start !important;
  }

  html[data-active-module="landing"] body.erp-body #landing.module-section .erp-hero.erp-hero--command-center .erp-cc-kpi-row,
  html[data-active-module="landing"] body.erp-body #landing.module-section .erp-hero.erp-hero--command-center .erp-hero-visual,
  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .erp-cc-kpi-row,
  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .erp-hero-visual.erp-cc-kpi-row,
  html body.erp-body #landing .erp-hero.erp-hero--command-center .erp-cc-kpi-row,
  html body.erp-body #landing .erp-hero.erp-hero--command-center .erp-hero-visual.erp-cc-kpi-row {
    grid-auto-rows: 120px !important;
    gap: 0.55rem !important;
  }

  html[data-active-module="landing"] body.erp-body #landing.module-section .erp-hero.erp-hero--command-center .kpi-card,
  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .kpi-card,
  html body.erp-body #landing .erp-hero.erp-hero--command-center .kpi-card {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    padding: 0.7rem 0.8rem 0.65rem !important;
  }

  html[data-active-module="landing"] body.erp-body #landing.module-section .erp-hero.erp-hero--command-center .erp-command-center,
  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .erp-command-center {
    padding: 0.55rem 0.85rem !important;
    gap: 0.3rem !important;
  }

  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .erp-command-head {
    min-height: 2.15rem !important;
  }

  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .erp-hero-title,
  html[data-active-module="landing"] body.erp-body #landing.module-section .erp-hero.erp-hero--command-center .erp-hero-inner > .erp-hero-content .erp-hero-title {
    font-size: clamp(2.15rem, 3.2vw, 3rem) !important;
    line-height: 1.12 !important;
    margin: 0 0 0.7rem !important;
  }

  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .erp-hero-subtitle {
    margin: 0 0 0.75rem !important;
  }

  html[data-active-module="landing"] body.erp-body #landing.module-section .erp-hero .next-steps-strip,
  html[data-active-module="landing"] body.erp-body #landing .erp-hero.erp-hero--command-center .next-steps-strip {
    margin: 1rem auto 0 !important;
    padding: 0.55rem 0.85rem 0.6rem !important;
  }

  /* Mega menus must paint outside the 64px nav row. */
  html[data-active-module="landing"] body.erp-body #navbar.navbar,
  html[data-active-module="landing"] body.erp-body #navbar.erp-shell-navbar,
  html[data-active-module="landing"] body.erp-body #navbar .container.nav-container,
  html[data-active-module="landing"] body.erp-body #navbar .nav-container,
  html[data-active-module="landing"] body.erp-body #navbar .nav-menu,
  html[data-active-module="landing"] body.erp-body #navbar #navMenu,
  html[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown {
    overflow: visible !important;
  }

  html[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown > a .nav-chevron,
  html[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown > a .pp-chevron,
  html[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown > a .material-symbols-outlined.nav-chevron,
  html[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown > a .material-symbols-outlined.pp-chevron {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 0.85rem !important;
    min-width: 0.85rem !important;
    max-width: 0.85rem !important;
    height: 0.85rem !important;
    margin: 0 0 0 0.08rem !important;
    padding: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1 !important;
    overflow: hidden !important;
    opacity: 0.85 !important;
  }

  html.erp-symbol-font-ready[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown > a .material-symbols-outlined.nav-chevron,
  html.erp-symbol-font-ready[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown > a .material-symbols-outlined.pp-chevron {
    overflow: visible !important;
    visibility: visible !important;
    color: inherit !important;
    -webkit-text-fill-color: currentcolor !important;
  }

  html:not(.erp-symbol-font-ready)[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown > a .material-symbols-outlined.nav-chevron,
  html:not(.erp-symbol-font-ready)[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown > a .material-symbols-outlined.pp-chevron {
    visibility: hidden !important;
    overflow: hidden !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
  }

  html[data-active-module="landing"] body.erp-body #navbar #navMenu > li.nav-dropdown.nav-dropdown-open > .dropdown-menu,
  html[data-active-module="landing"] body.erp-body #navbar .nav-menu > li.nav-dropdown.nav-dropdown-open > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 100004 !important;
  }
}

@media (min-width: 1280px) {
  html[data-active-module="landing"] body.erp-body #navbar #navMenu > li > a,
  html[data-active-module="landing"] body.erp-body #navbar .nav-menu > li > a {
    padding: 0 0.1rem !important;
    white-space: nowrap !important;
  }
}
