/* Compact shared WHMCS header. Loaded after dashboard and internal styles. */
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined {
  --iw-hdr-height: 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  border: 1px solid #e0e8eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(20,58,70,.035) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-inner {
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  gap: 10px !important;
  padding: 0 14px !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-section-header__icon {
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  flex-basis: 28px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #edf7f6 !important;
  box-shadow: none !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-section-header__icon i {
  font-size: 12px !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-section-header__title,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-shell-heading-zone .iw-page-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-section-header__eyebrow,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-shell-heading-zone .iw-breadcrumb {
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: .035em !important;
  color: #617781 !important;
  -webkit-text-fill-color: #617781 !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions {
  gap: 8px !important;
  padding-left: 12px !important;
  border-left: 0 !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-icon-group {
  gap: 4px !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-icon-group > .iw-hdr-btn {
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  flex-basis: 34px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #59717c !important;
  -webkit-text-fill-color: #59717c !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-icon-svg {
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  flex-shrink: 0 !important;
  stroke-width: 1.7 !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .quick-guide,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-section-header__actions .btn,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-shell-heading-zone .iw-page-actions .btn {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  padding: 0 10px !important;
  gap: 6px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .quick-guide {
  border: 1px solid #d5e8e5 !important;
  background: #f2f8f7 !important;
  color: #0a756e !important;
  -webkit-text-fill-color: #0a756e !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .quick-guide:hover,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .quick-guide:focus-visible {
  background: #e5f3f0 !important;
  border-color: #b7d9d3 !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .quick-guide .iw-hdr-icon-svg {
  width: 14px !important;
  min-width: 14px !important;
  height: 14px !important;
  min-height: 14px !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .topbar-separator {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  background: #e5ecef !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions > .iw-hdr-account {
  grid-template-columns: 28px minmax(0,1fr) 12px !important;
  min-width: 110px !important;
  max-width: 168px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 3px 6px !important;
  gap: 7px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions > .iw-hdr-account:hover,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions > .iw-hdr-account:focus-visible,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions > .iw-hdr-account[aria-expanded="true"] {
  background: #edf7f5 !important;
  border-color: #d5e8e5 !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-brand-avatar {
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  flex-basis: 28px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #e3f2ef !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-profile-photo,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-profile-initials--header {
  inset: 0 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-account-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-account-meta {
  display: none !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-account-chevron {
  width: 12px !important;
  min-width: 12px !important;
  height: 12px !important;
  min-height: 12px !important;
  color: #78908f !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-badge,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-sync-dot {
  top: 0 !important;
  right: -1px !important;
  min-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined a:focus-visible,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined button:focus-visible {
  outline: 2px solid #078b82 !important;
  outline-offset: 2px !important;
}
@media (max-width: 1199px) {
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions > .iw-hdr-account {
  grid-template-columns: 28px !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  padding: 3px !important;
}
}

@media (max-width: 991px) {
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-inner {
  grid-template-columns: 40px minmax(0, 1fr) auto !important;
  gap: 8px !important;
  padding: 0 8px !important;
}
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-icon-group > .iw-hdr-btn {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  flex-basis: 40px !important;
}
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions > .iw-hdr-account {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  grid-template-columns: 28px !important;
  justify-content: center !important;
}
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions,
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-icon-group {
  gap: 4px !important;
}
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined #sidebarCollapsenav.respos {
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
}
}

@media (max-width: 575px) {
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-inner {
  grid-template-columns: 40px minmax(0, 1fr) auto !important;
  grid-template-areas: "menu logo actions" !important;
  gap: 4px !important;
}
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-logo {
  max-width: 112px !important;
}
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-logo img {
  max-height: 30px !important;
}
}

html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-profile-initials--header {
  background: #087f75 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Independent header shortcuts and a short account menu. */
#iw-workspace-backdrop[hidden] { display: none !important; }
#iw-workspace-backdrop { position: fixed; inset: 0; z-index: 99990; background: rgba(18, 43, 51, .2); }
body.iw-workspace-open { overflow: hidden !important; }
html body:not(.login-bg) #iw-account-menu.iw-workspace-menu {
  position: fixed !important;
  z-index: 99991 !important;
  width: min(340px, calc(100vw - 16px)) !important;
}
html body:not(.login-bg) #iw-account-menu .iw-account-menu__header,
html body:not(.login-bg) #iw-account-menu .iw-account-menu__footer { flex-shrink: 0 !important; }
html body:not(.login-bg) #iw-account-menu .iw-account-panel { overscroll-behavior: contain; }
#iw-account-menu :is(a, button):focus-visible { outline: 2px solid #078b82; outline-offset: 2px; }
html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-icon-group > .iw-hdr-store { display: inline-flex !important; }
@media (max-width: 991px) {
  html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions { padding-left: 0 !important; }
  html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-team-header-link {
    display: inline-flex !important;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
  }
}
@media (max-width: 374px) {
  html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-icon-group > .iw-hdr-btn,
  html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-hdr-icon-group > .iw-team-header-link,
  html body.iw-panel-light:not(.login-bg) nav#iw-main-header.iw-header.iw-header-refined .iw-header-actions > .iw-hdr-account {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    flex-basis: 34px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body:not(.login-bg) #iw-account-menu.iw-workspace-menu,
  html body:not(.login-bg) #iw-account-menu .iw-account-panel-link { transition: none !important; }
}
