/* ========================================================================
   HOSTINGJET / HALO 0.28.84 — PERSISTENT PREMIUM SIDEBAR
   Reference: user-supplied premium sidebar. The HALO sidebar is intentionally
   non-collapsible and non-dismissible. Typography is restrained to 400/500/600.
   ======================================================================== */

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell {
  --halo-sidebar-width: 286px !important;
  --hj-sb-bg: #ffffff;
  --hj-sb-text: #15161b;
  --hj-sb-muted: #6c6f7b;
  --hj-sb-subtle: #a3a6b0;
  --hj-sb-border: rgba(17,17,23,.065);
  --hj-sb-hover: #f5f5f8;
  --hj-sb-accent: #6a5cf5;
  --hj-sb-accent-strong: #5747e6;
  --hj-sb-accent-soft: #efedff;
  --hj-sb-radius: 12px;
  grid-template-columns: var(--halo-sidebar-width) minmax(0,1fr) !important;
}

/* Persistent shell: no collapsed/closed variant can change sidebar geometry. */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell.is-sidebar-collapsed,
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell.hj-sidebar-open {
  --halo-sidebar-width: 286px !important;
  grid-template-columns: var(--halo-sidebar-width) minmax(0,1fr) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar {
  position: sticky !important;
  inset: auto !important;
  top: 0 !important;
  z-index: 80 !important;
  width: var(--halo-sidebar-width) !important;
  min-width: var(--halo-sidebar-width) !important;
  max-width: var(--halo-sidebar-width) !important;
  height: 100vh !important;
  min-height: 100vh !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  border: 0 !important;
  border-right: 1px solid var(--hj-sb-border) !important;
  border-radius: 0 !important;
  background: var(--hj-sb-bg) !important;
  color: var(--hj-sb-text) !important;
  box-shadow:
    1px 0 0 rgba(17,17,23,.018),
    12px 0 34px -30px rgba(90,70,220,.28) !important;
  font-family: Poppins, Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
}

/* These controls intentionally do not exist in the PHP shell anymore. Keep
   hard CSS guards too, so stale cached markup still cannot close the sidebar. */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-close,
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-collapse,
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-scrim,
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mobile-nav-toggle {
  display: none !important;
}

/* Brand ----------------------------------------------------------------- */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-brand-row {
  min-height: 70px !important;
  height: 70px !important;
  padding: 17px 24px 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hj-sb-border) !important;
  background: var(--hj-sb-bg) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-panel-brand {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--hj-sb-text) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-panel-brand:hover {
  background: transparent !important;
  transform: none !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-panel-brand-mark {
  width: 26px !important;
  height: 28px !important;
  display: block !important;
  object-fit: contain !important;
  filter: none !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-panel-brand-word {
  width: 78px !important;
  height: 20px !important;
  display: block !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}

/* Scrollable navigation -------------------------------------------------- */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 15px 14px 14px !important;
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: #e2e3e9 transparent !important;
  overscroll-behavior: contain !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav::-webkit-scrollbar { width: 6px !important; }
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav::-webkit-scrollbar-track { background: transparent !important; }
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav::-webkit-scrollbar-thumb {
  border-radius: 99px !important;
  background: #e2e3e9 !important;
}
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav::-webkit-scrollbar-thumb:hover { background: #cfd0d8 !important; }

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-group {
  margin: 0 !important;
  padding: 0 0 13px !important;
  border: 0 !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-group + .hj-nav-group {
  margin-top: 7px !important;
  padding-top: 14px !important;
  border-top: 1px solid var(--hj-sb-border) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-group-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-group.is-collapsed .hj-nav-group-items {
  display: none !important;
}

/* Section headers use the reference's quiet uppercase treatment. */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-section-toggle {
  width: 100% !important;
  min-height: 28px !important;
  margin: 0 0 4px !important;
  padding: 4px 10px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: var(--hj-sb-muted) !important;
  font-family: inherit !important;
  font-size: 10.8px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: .065em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-section-toggle:hover {
  background: transparent !important;
  color: var(--hj-sb-text) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-section-toggle svg {
  width: 13px !important;
  height: 13px !important;
  color: var(--hj-sb-subtle) !important;
  transition: transform .24s cubic-bezier(.4,0,.2,1) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-group.is-collapsed .hj-nav-section-toggle svg {
  transform: rotate(-90deg) !important;
}

/* Navigation rows -------------------------------------------------------- */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a {
  position: relative !important;
  width: 100% !important;
  min-height: 41px !important;
  margin: 0 !important;
  padding: 9px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 13px !important;
  border: 0 !important;
  border-radius: var(--hj-sb-radius) !important;
  background: transparent !important;
  color: var(--hj-sb-text) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 13.6px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  transform: none !important;
  transition: background .13s ease, color .13s ease !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a:hover {
  background: var(--hj-sb-hover) !important;
  color: var(--hj-sb-text) !important;
  box-shadow: none !important;
  transform: none !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a.is-active {
  background: var(--hj-sb-accent-soft) !important;
  color: var(--hj-sb-accent-strong) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a.is-active::before {
  content: "" !important;
  position: absolute !important;
  left: -6px !important;
  top: 24% !important;
  bottom: 24% !important;
  width: 3px !important;
  border-radius: 3px !important;
  background: var(--hj-sb-accent) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav .hj-nav-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #4d5058 !important;
  box-shadow: none !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav .hj-nav-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  stroke-width: 1.8 !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a:hover .hj-nav-icon {
  color: var(--hj-sb-text) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a.is-active .hj-nav-icon {
  color: var(--hj-sb-accent) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav .hj-nav-label {
  min-width: 0 !important;
  max-width: 205px !important;
  display: block !important;
  overflow: hidden !important;
  opacity: 1 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: 13.6px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a.is-active .hj-nav-label {
  color: inherit !important;
  font-weight: 600 !important;
}

/* Email row keeps its working overflow menu while adopting the reference's
   compact inline kebab treatment. */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-mail-item {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 34px !important;
  align-items: center !important;
  column-gap: 2px !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-mail-item > a {
  min-width: 0 !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mail-nav-more {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--hj-sb-muted) !important;
  cursor: pointer !important;
  transition: background .13s ease, color .13s ease, transform .12s ease !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mail-nav-more:hover {
  background: var(--hj-sb-hover) !important;
  color: var(--hj-sb-text) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mail-nav-more:active { transform: scale(.93) !important; }
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mail-nav-more svg { width: 16px !important; height: 16px !important; fill: currentColor !important; }

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mail-nav-count {
  min-width: 19px !important;
  height: 19px !important;
  margin-left: auto !important;
  padding: 0 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f1f1f4 !important;
  color: var(--hj-sb-muted) !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-mail-item.is-active .hj-mail-nav-count {
  background: rgba(106,92,245,.11) !important;
  color: var(--hj-sb-accent-strong) !important;
}

/* Footer account --------------------------------------------------------- */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-footer {
  flex: 0 0 auto !important;
  padding: 11px 14px 14px !important;
  display: block !important;
  border: 0 !important;
  border-top: 1px solid var(--hj-sb-border) !important;
  background: var(--hj-sb-bg) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 8px 10px !important;
  display: grid !important;
  grid-template-columns: 36px minmax(0,1fr) 14px !important;
  align-items: center !important;
  gap: 13px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--hj-sb-text) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: background .13s ease !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account:hover {
  background: var(--hj-sb-hover) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-avatar {
  width: 36px !important;
  height: 36px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(150deg,#e7e8ee,#cfd1da) !important;
  color: #777b86 !important;
  box-shadow: 0 0 0 3px var(--hj-sb-accent-soft) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account-copy {
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
  opacity: 1 !important;
  max-width: 180px !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account-copy strong {
  overflow: hidden !important;
  color: var(--hj-sb-text) !important;
  font-size: 13.1px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account-copy small {
  overflow: hidden !important;
  color: var(--hj-sb-muted) !important;
  font-size: 11.1px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account-caret {
  color: var(--hj-sb-subtle) !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account:hover .hj-sidebar-account-caret {
  color: var(--hj-sb-accent) !important;
}

/* Focus language mirrors the reference without heavy outlines. */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar a:focus-visible,
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar button:focus-visible {
  outline: 2px solid rgba(106,92,245,.56) !important;
  outline-offset: 2px !important;
}

/* Theme stability: the reference is intentionally a white sidebar. Keep this
   chrome white even if a legacy page/theme layer attempts to recolor it. */
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell[data-hj-theme-resolved="dark"] .hj-sidebar,
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell[data-hj-theme-resolved="dark"] .hj-sidebar-brand-row,
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell[data-hj-theme-resolved="dark"] .hj-sidebar-footer {
  background: var(--hj-sb-bg) !important;
  color: var(--hj-sb-text) !important;
}

body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell[data-hj-theme-resolved="dark"] .hj-panel-brand-mark,
body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell[data-hj-theme-resolved="dark"] .hj-panel-brand-word {
  filter: none !important;
}

/* Responsive persistent behaviour --------------------------------------
   The sidebar is never a drawer and never disappears. On narrow phones it
   becomes a permanent icon rail so the content remains usable, but there is
   still no user-controlled collapsed/closed state. */
@media (max-width: 1100px) {
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell.is-sidebar-collapsed,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell.hj-sidebar-open {
    --halo-sidebar-width: 248px !important;
    display: grid !important;
    grid-template-columns: var(--halo-sidebar-width) minmax(0,1fr) !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar {
    position: sticky !important;
    inset: auto !important;
    top: 0 !important;
    width: var(--halo-sidebar-width) !important;
    min-width: var(--halo-sidebar-width) !important;
    max-width: var(--halo-sidebar-width) !important;
    transform: none !important;
    box-shadow: 1px 0 0 rgba(17,17,23,.018), 10px 0 28px -28px rgba(90,70,220,.24) !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-main {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 680px) {
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell.is-sidebar-collapsed,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell.hj-sidebar-open {
    --halo-sidebar-width: 76px !important;
    display: grid !important;
    grid-template-columns: 76px minmax(0,1fr) !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-brand-row {
    min-height: 64px !important;
    height: 64px !important;
    padding: 15px 0 !important;
    justify-content: center !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-panel-brand-word { display: none !important; }
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-panel-brand-mark { width: 27px !important; height: 29px !important; }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav {
    padding: 12px 9px !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-group {
    padding-bottom: 9px !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-group + .hj-nav-group {
    margin-top: 5px !important;
    padding-top: 10px !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-section-toggle {
    min-height: 8px !important;
    height: 8px !important;
    margin: 1px 7px 7px !important;
    padding: 0 !important;
    pointer-events: none !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-section-toggle span,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-section-toggle svg { display: none !important; }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-group.is-collapsed .hj-nav-group-items {
    display: flex !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a {
    min-height: 42px !important;
    padding: 10px 0 !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav a.is-active::before {
    left: -4px !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-nav .hj-nav-label,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mail-nav-count {
    display: none !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-nav-mail-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mail-nav-more {
    display: none !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-footer {
    padding: 10px 9px 12px !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account {
    min-height: 50px !important;
    padding: 7px 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account-copy,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-account-caret {
    display: none !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar-avatar {
    width: 34px !important;
    height: 34px !important;
  }

  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-mobile-brand {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar *,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar *::before,
  body .hj-experience-v27.hj-enterprise-v2.hj-halo-shell .hj-sidebar *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
