/* CRMEXA tenant-client portal final shell. Loaded after the legacy theme CSS. */
html body.customers.cx-client-shell-active:not(.customers_login):not(.register) {
  --cx-ref-sidebar-gap: 15px;
  --cx-ref-sidebar-width: 286px;
  --cx-ref-sidebar-offset: calc(var(--cx-ref-sidebar-width) + var(--cx-ref-sidebar-gap));
  --cx-shell-content-gutter: 22px;
  --cx-ref-header-height: 64px;
  --cx-purple: #5b3fd6;
  --cx-purple-2: #6d4df5;
  --cx-sky: #6abce4;
  --cx-ink: #111827;
  --cx-muted: #667085;
  --cx-border: rgba(214, 225, 241, 0.96);
  --cx-card: #ffffff;
  --cx-page-bg-color: #f8fbff;
  --cx-page-bg:
    radial-gradient(circle at 12% 9%, rgba(120, 91, 245, 0.18), transparent 25%),
    radial-gradient(circle at 88% 16%, rgba(57, 167, 245, 0.20), transparent 25%),
    radial-gradient(circle at 75% 86%, rgba(87, 201, 151, 0.14), transparent 28%),
    linear-gradient(rgba(110, 138, 180, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 138, 180, 0.065) 1px, transparent 1px),
    #f8fbff;
  background-color: var(--cx-page-bg-color) !important;
  background-image: var(--cx-page-bg) !important;
  background-size: auto, auto, auto, 58px 58px, 58px 58px, auto !important;
  background-attachment: fixed !important;
  color: var(--cx-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html body.customers.cx-client-shell-active:not(.customers_login):not(.register) #wrapper,
html body.customers.cx-client-shell-active:not(.customers_login):not(.register) #content,
html body.customers.cx-client-shell-active:not(.customers_login):not(.register) #content > .container,
html body.customers.cx-client-shell-active:not(.customers_login):not(.register) .content {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

html body.customers.cx-client-shell-active:not(.customers_login):not(.register) #wrapper {
  width: auto !important;
  max-width: none !important;
  margin: 0 15px 0 calc(var(--cx-ref-sidebar-offset) + var(--cx-shell-content-gutter)) !important;
  padding: calc(var(--cx-ref-sidebar-gap) + var(--cx-ref-header-height) + 30px) 0 56px !important;
  min-height: 100vh !important;
}

html body.customers.cx-client-shell-active:not(.customers_login):not(.register) #content {
  padding: 0 !important;
  margin: 0 !important;
}

html body.customers.cx-client-shell-active:not(.customers_login):not(.register) #content > .container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 clamp(18px, 2.4vw, 42px) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-sidebar {
  position: fixed !important;
  top: var(--cx-ref-sidebar-gap) !important;
  left: var(--cx-ref-sidebar-gap) !important;
  bottom: var(--cx-ref-sidebar-gap) !important;
  z-index: 1040 !important;
  width: var(--cx-ref-sidebar-width) !important;
  min-width: var(--cx-ref-sidebar-width) !important;
  max-width: var(--cx-ref-sidebar-width) !important;
  height: calc(100dvh - (var(--cx-ref-sidebar-gap) * 2)) !important;
  padding: 16px !important;
  border: 1px solid var(--cx-border) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.09) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-brand {
  min-height: 74px !important;
  height: 74px !important;
  padding: 0 18px !important;
  margin: 0 8px 18px !important;
  border: 1px solid #dfe7f3 !important;
  border-radius: 20px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 13px 28px rgba(88, 70, 188, 0.08), inset 0 1px 0 rgba(255,255,255,.96) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-brand > .cx-client-shell-menu-toggle {
  display: none !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-logo,
html body.customers.cx-client-shell-active .cx-client-shell-brand .logo,
html body.customers.cx-client-shell-active .cx-client-shell-brand .navbar-brand {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-brand img {
  max-width: 190px !important;
  max-height: 50px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-shortcuts {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 0 10px 24px !important;
  padding: 0 0 22px !important;
  border-bottom: 1px solid #dfe7f3 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-shortcuts li {
  margin: 0 !important;
  padding: 0 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-shortcuts a {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  border: 1px solid #dfe7f3 !important;
  border-radius: 18px !important;
  background: #fbfcff !important;
  color: #6554f4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 18px !important;
  box-shadow: 0 10px 22px rgba(91, 63, 214, 0.06) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-shortcuts li:nth-child(2) a {
  color: #5577e8 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-shortcuts li:nth-child(3) a,
html body.customers.cx-client-shell-active .cx-client-shell-shortcuts a.active {
  border-color: rgba(80, 188, 165, 0.28) !important;
  background: #effbf8 !important;
  color: #50bca5 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-shortcuts li:nth-child(4) a {
  color: #c66aa0 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-menu-toggle {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #667085 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 0 0 !important;
  margin: 0 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav > ul > li {
  margin: 0 0 14px !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav a,
html body.customers.cx-client-shell-active .cx-client-shell-group-toggle {
  position: relative !important;
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid transparent !important;
  border-radius: 17px !important;
  background: transparent !important;
  color: #68748a !important;
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  padding: 8px 14px !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.01em !important;
  box-shadow: none !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav a > i:first-child,
html body.customers.cx-client-shell-active .cx-client-shell-group-toggle > i:first-child {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  border: 1px solid #dce5f3 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--cx-purple) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  box-shadow: 0 8px 18px rgba(91, 63, 214, 0.07) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav li:nth-child(4n+2) > a > i:first-child,
html body.customers.cx-client-shell-active .cx-client-shell-nav li:nth-child(4n+2) > .cx-client-shell-group-toggle > i:first-child {
  color: #2fb97d !important;
  background: #effbf5 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav li:nth-child(4n+3) > a > i:first-child,
html body.customers.cx-client-shell-active .cx-client-shell-nav li:nth-child(4n+3) > .cx-client-shell-group-toggle > i:first-child {
  color: #2f8be6 !important;
  background: #eff7ff !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav li:nth-child(4n+4) > a > i:first-child,
html body.customers.cx-client-shell-active .cx-client-shell-nav li:nth-child(4n+4) > .cx-client-shell-group-toggle > i:first-child {
  color: #d94d91 !important;
  background: #fff0f7 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav li.active > a,
html body.customers.cx-client-shell-active .cx-client-shell-nav li.open > .cx-client-shell-group-toggle,
html body.customers.cx-client-shell-active .cx-client-shell-nav li.active > .cx-client-shell-group-toggle {
  color: #fff !important;
  border-color: rgba(114, 94, 245, 0.45) !important;
  background: linear-gradient(135deg, #6554f4 0%, #68bee3 100%) !important;
  box-shadow: 0 18px 34px rgba(91, 63, 214, 0.22) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-nav li.active > a > i:first-child,
html body.customers.cx-client-shell-active .cx-client-shell-nav li.open > .cx-client-shell-group-toggle > i:first-child,
html body.customers.cx-client-shell-active .cx-client-shell-nav li.active > .cx-client-shell-group-toggle > i:first-child {
  border-color: rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.16) !important;
  color: #fff !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-group-chevron {
  margin-left: auto !important;
  transition: transform .18s ease !important;
}

html body.customers.cx-client-shell-active li.open > .cx-client-shell-group-toggle .cx-client-shell-group-chevron {
  transform: rotate(90deg) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-submenu {
  display: none !important;
  margin: 12px 0 4px 20px !important;
  padding-left: 16px !important;
  border-left: 1px solid #dde7f4 !important;
}

html body.customers.cx-client-shell-active li.open > .cx-client-shell-submenu {
  display: block !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-submenu a {
  min-height: 50px !important;
  font-size: 15px !important;
  font-weight: 780 !important;
  color: #111827 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-submenu li.active > a {
  color: #111827 !important;
  border-color: #dfe7f3 !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-submenu li.active > a::before {
  content: "" !important;
  position: absolute !important;
  left: -17px !important;
  width: 3px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: #2f8be6 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-submenu li.active > a > i:first-child {
  border-color: rgba(115, 92, 230, 0.22) !important;
  background: #f0edff !important;
  color: #735ce6 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-workspace {
  flex: 0 0 auto !important;
  padding-top: 14px !important;
  margin-top: 12px !important;
  border-top: 1px solid #e0e8f4 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-workspace-card {
  min-height: 64px !important;
  padding: 10px 12px !important;
  border: 1px solid #dfe7f3 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: var(--cx-ink) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(91, 63, 214, 0.08) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-workspace-icon {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #6554f4, #5b3fd6) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-workspace-copy {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-workspace-copy strong,
html body.customers.cx-client-shell-active .cx-client-shell-profile-text strong {
  color: var(--cx-ink) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-workspace-copy small,
html body.customers.cx-client-shell-active .cx-client-shell-profile-text small {
  color: #6b7280 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-topbar {
  position: fixed !important;
  top: var(--cx-ref-sidebar-gap) !important;
  left: calc(var(--cx-ref-sidebar-offset) + var(--cx-shell-content-gutter)) !important;
  right: var(--cx-ref-sidebar-gap) !important;
  z-index: 1030 !important;
  min-height: var(--cx-ref-header-height) !important;
  height: var(--cx-ref-header-height) !important;
  padding: 0 18px !important;
  border: 1px solid var(--cx-border) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-topbar-left,
html body.customers.cx-client-shell-active .cx-client-shell-topbar-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-topbar > .cx-client-shell-topbar-left > .cx-client-shell-menu-toggle {
  display: none !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-search {
  width: min(42vw, 585px) !important;
  height: 52px !important;
  min-height: 52px !important;
  border: 1px solid #d9e2ef !important;
  border-radius: 15px !important;
  background: #f8faff !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 18px !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-search i {
  color: var(--cx-purple) !important;
  font-size: 18px !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-search input {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--cx-ink) !important;
  width: 100% !important;
  font-size: 15px !important;
  font-weight: 750 !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-add,
html body.customers.cx-client-shell-active .cx-client-shell-icon-btn {
  width: 54px !important;
  min-width: 54px !important;
  height: 54px !important;
  border: 1px solid #d9e2ef !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: var(--cx-purple) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 18px !important;
  box-shadow: 0 10px 24px rgba(91, 63, 214, 0.08) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-add {
  border: 0 !important;
  background: linear-gradient(135deg, #6554f4, #5b3fd6) !important;
  color: #fff !important;
  border-radius: 18px !important;
  font-size: 22px !important;
  box-shadow: 0 16px 30px rgba(91, 63, 214, 0.26) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-back-admin {
  height: 54px !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #6554f4, #5b3fd6) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 30px rgba(91, 63, 214, 0.24) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-profile-toggle {
  height: 54px !important;
  min-width: 176px !important;
  padding: 7px 8px 7px 16px !important;
  border: 1px solid #dfe7f3 !important;
  border-radius: 27px !important;
  background: #fff !important;
  color: var(--cx-ink) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(91, 63, 214, 0.08) !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-profile-text {
  min-width: 0 !important;
  text-align: right !important;
  display: flex !important;
  flex-direction: column !important;
}

html body.customers.cx-client-shell-active .cx-client-shell-avatar {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  border: 3px solid rgba(91, 63, 214, 0.18) !important;
  object-fit: cover !important;
}

html body.customers.cx-client-shell-active .dropdown-menu {
  border: 1px solid #dfe7f3 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12) !important;
}

html body.customers.cx-client-shell-active .btn.btn-primary {
  border: 0 !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #6554f4, #5b3fd6) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 28px rgba(91, 63, 214, 0.22) !important;
}

html body.customers.cx-client-shell-active .btn.btn-default {
  border: 1px solid #d9e2ef !important;
  border-radius: 15px !important;
  background: #fff !important;
  color: #26324a !important;
  font-weight: 850 !important;
}

html body.customers.cx-client-shell-active .invoices-stats,
html body.customers.cx-client-shell-active .estimates-stats {
  margin: 0 !important;
  row-gap: 18px !important;
  overflow: visible !important;
}

html body.customers.cx-client-shell-active .invoices-stats > [class*="col-"],
html body.customers.cx-client-shell-active .estimates-stats > [class*="col-"] {
  min-height: 78px !important;
  padding-top: 4px !important;
  padding-bottom: 14px !important;
}

html body.customers.cx-client-shell-active .invoices-stats .stats-status,
html body.customers.cx-client-shell-active .estimates-stats .stats-status,
html body.customers.cx-client-shell-active .invoices-stats .stats-numbers,
html body.customers.cx-client-shell-active .estimates-stats .stats-numbers {
  min-height: 24px !important;
  line-height: 24px !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

html body.customers.cx-client-shell-active .invoices-stats .stats-status a,
html body.customers.cx-client-shell-active .estimates-stats .stats-status a {
  color: #5b3fd6 !important;
  font-weight: 900 !important;
}

html body.customers.cx-client-shell-active .invoices-stats .progress,
html body.customers.cx-client-shell-active .estimates-stats .progress {
  height: 18px !important;
  min-height: 18px !important;
  margin: 8px 0 0 !important;
  border-radius: 999px !important;
  background: #edf1f7 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

html body.customers.cx-client-shell-active .invoices-stats .progress-bar,
html body.customers.cx-client-shell-active .estimates-stats .progress-bar {
  min-height: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.cx-client-dashboard-shell,
.cx-client-page,
.cx-client-account-page,
.cx-client-reports-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cx-client-hero,
.cx-client-page-hero,
.cx-client-account-hero,
.cx-client-account-card,
.cx-client-section,
.cx-client-chart-card,
.cx-client-finance-card {
  border: 1px solid #dfe7f3;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.07);
}

.cx-client-hero,
.cx-client-page-hero,
.cx-client-account-hero {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cx-client-hero-title,
.cx-client-page-hero h1,
.cx-client-account-hero h1 {
  margin: 8px 0 10px;
  color: #111827;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.cx-client-hero-copy,
.cx-client-page-hero p,
.cx-client-account-hero p,
.cx-client-section-copy {
  color: #667085;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
}

.cx-client-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f0edff;
  color: #6554f4;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cx-client-hero-actions,
.cx-client-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cx-client-hero-panel {
  min-width: min(360px, 100%);
  padding: 22px;
  border: 1px solid #dfe7f3;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f4f8ff);
}

.cx-client-hero-panel > strong {
  display: block;
  color: #111827;
  font-size: 20px;
  font-weight: 950;
  margin: 6px 0 14px;
}

.cx-client-hero-panel-label {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cx-client-identity-list {
  display: grid;
  gap: 10px;
}

.cx-client-identity-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.cx-client-identity-list strong {
  color: #111827;
  text-align: right;
}

.cx-client-summary-grid,
.cx-client-service-grid,
.cx-client-chart-grid,
.cx-client-ticket-summary-grid,
.cx-client-finance-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.cx-client-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 18px;
}

.cx-client-summary-card,
.cx-client-service-card,
.cx-client-ticket-status-card {
  position: relative;
  min-height: 138px;
  padding: 20px;
  border: 1px solid #dfe7f3;
  border-radius: 22px;
  background: #fff;
  color: #111827;
  text-decoration: none !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cx-client-summary-icon,
.cx-client-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: #f0edff;
  color: #6554f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.cx-client-summary-label,
.cx-client-service-card small,
.cx-client-muted {
  color: #667085;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.cx-client-summary-value,
.cx-client-service-card strong,
.cx-client-ticket-status-card strong {
  color: #111827;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.cx-client-summary-link {
  margin-top: auto;
  color: #6554f4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.cx-client-reports-page-compact .cx-client-page-hero {
  padding: clamp(18px, 2.1vw, 28px);
}

.cx-client-reports-page-compact .cx-client-page-hero h1 {
  font-size: clamp(24px, 2.05vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cx-client-reports-page-compact .cx-client-page-hero p {
  max-width: 620px;
  font-size: 13px;
  line-height: 1.55;
}

.cx-client-reports-page-compact .cx-client-summary-card {
  min-height: 104px;
  padding: 15px;
  gap: 6px;
}

.cx-client-reports-page-compact .cx-client-summary-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 14px;
}

.cx-client-reports-page-compact .cx-client-summary-value {
  font-size: clamp(22px, 1.85vw, 28px);
}

.cx-client-reports-page-compact .cx-client-summary-label {
  font-size: 11px;
}

.cx-client-reports-page-compact .cx-client-section-title,
.cx-client-reports-page-compact .cx-client-account-card h2 {
  font-size: clamp(18px, 1.45vw, 24px);
}

.cx-client-prchat-full-page {
  min-height: calc(100vh - 145px);
}

body.cx-client-prchat-full-view #clientChat,
body.cx-client-prchat-full-view .ch_pointer {
  display: none !important;
}

.cx-client-prchat-inbox {
  display: grid;
  grid-template-columns: minmax(290px, 360px) minmax(0, 1fr);
  gap: 0;
  min-height: calc(100vh - 145px);
  height: calc(100vh - 145px);
  border: 1px solid #dfe7f3;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.cx-client-prchat-rail {
  border-right: 1px solid #dfe7f3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0;
  overflow: auto;
}

.cx-client-prchat-self {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 16px 18px;
  border-bottom: 1px solid #dfe7f3;
}

.cx-client-prchat-self-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid #52c788;
  background: #fff;
  overflow: hidden;
}

.cx-client-prchat-self-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.cx-client-prchat-self strong,
.cx-client-prchat-self small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cx-client-prchat-self strong {
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

.cx-client-prchat-self small {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.cx-client-prchat-self > a,
.cx-client-prchat-conversation-head > a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe7f3;
  border-radius: 12px;
  background: #fff;
  color: #5b3fd6;
}

.cx-client-prchat-search {
  position: relative;
  display: block;
  margin: 16px 18px 10px;
}

.cx-client-prchat-search i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #667085;
}

.cx-client-prchat-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 40px;
  border: 1px solid #dfe7f3;
  border-radius: 14px;
  background: #fff;
  color: #111827;
}

.cx-client-prchat-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 8px 18px 14px;
  border-bottom: 1px solid #dfe7f3;
}

.cx-client-prchat-tabs button {
  border: 1px solid #dfe7f3;
  border-radius: 14px;
  background: #fff;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  min-height: 40px;
}

.cx-client-prchat-tabs button.active {
  border-color: transparent;
  background: linear-gradient(135deg, #6c4cf1 0%, #4f46e5 100%);
  color: #fff;
}

.cx-client-prchat-list {
  display: grid;
  gap: 10px;
  padding: 14px 18px 20px;
}

.cx-client-prchat-list.hidden {
  display: none;
}

.cx-client-prchat-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  width: 100%;
  border: 1px solid #dfe7f3;
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  text-align: left;
}

.cx-client-prchat-row.active {
  border-color: rgba(108, 76, 241, 0.44);
  background: #f3f0ff;
}

.cx-client-prchat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eef2ff;
  color: #5b3fd6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cx-client-prchat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cx-client-prchat-row strong,
.cx-client-prchat-row small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cx-client-prchat-row strong {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
}

.cx-client-prchat-row small {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.cx-client-prchat-conversation {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.cx-client-prchat-conversation-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 38px;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 14px 20px;
  border-bottom: 1px solid #dfe7f3;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.cx-client-prchat-active-avatar {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #eef2ff;
  color: #5b3fd6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cx-client-prchat-conversation-head small {
  display: block;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}

.cx-client-prchat-conversation-head strong {
  display: block;
  color: #111827;
  font-size: 17px;
  font-weight: 950;
}

.cx-client-prchat-messages {
  list-style: none;
  margin: 0;
  padding: 22px;
  overflow: auto;
  background: #f7f9fc;
}

.cx-client-prchat-messages li {
  display: flex;
  margin-bottom: 12px;
}

.cx-client-prchat-messages li.is-own {
  justify-content: flex-end;
}

.cx-client-prchat-messages li > div {
  max-width: min(560px, 78%);
  border-radius: 18px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #dfe7f3;
}

.cx-client-prchat-messages li.is-own > div {
  background: #5b3fd6;
  color: #fff;
  border-color: #5b3fd6;
}

.cx-client-prchat-messages strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 900;
}

.cx-client-prchat-messages p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cx-client-prchat-empty {
  color: #667085;
  font-weight: 800;
}

.cx-client-prchat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid #dfe7f3;
  background: #fff;
}

.cx-client-prchat-composer textarea {
  min-height: 52px;
  max-height: 130px;
  resize: vertical;
}

.cx-client-prchat-composer button {
  border: 0;
  border-radius: 16px;
  background: #5b3fd6;
  color: #fff;
  font-size: 18px;
}

.cx-client-prchat-composer button:disabled {
  opacity: .45;
}

@media (max-width: 900px) {
  .cx-client-prchat-full-page,
  .cx-client-prchat-inbox {
    min-height: auto;
    height: auto;
  }

  .cx-client-prchat-inbox {
    grid-template-columns: 1fr;
  }

  .cx-client-prchat-rail {
    border-right: 0;
    border-bottom: 1px solid #dfe7f3;
  }
}

.cx-client-section,
.cx-client-account-card {
  padding: clamp(20px, 2.4vw, 30px);
}

.cx-client-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cx-client-section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cx-client-section-title,
.cx-client-account-card h2,
.cx-client-chart-card h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.cx-client-command-card,
.cx-client-list-card,
.cx-client-action-card,
.cx-client-kpi-card {
  border: 1px solid #dfe7f3;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  text-decoration: none !important;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
}

.cx-client-command-card {
  min-height: 240px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.cx-client-command-card-support {
  background:
    radial-gradient(circle at 88% 18%, rgba(106, 188, 228, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(240, 237, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.cx-client-command-icon,
.cx-client-action-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #6554f4, #5b3fd6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 16px 30px rgba(91, 63, 214, 0.2);
}

.cx-client-command-card strong {
  color: #111827;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.cx-client-command-card small,
.cx-client-action-card small,
.cx-client-kpi-card small,
.cx-client-empty-inline span {
  color: #667085;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.cx-client-command-link {
  margin-top: auto;
  color: #5b3fd6;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cx-client-list-card {
  padding: 22px;
}

.cx-client-list-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cx-client-list-card-head h3 {
  margin: 0;
  color: #111827;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.cx-client-list-card-head span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f0edff;
  color: #5b3fd6;
  font-size: 12px;
  font-weight: 950;
}

.cx-client-mini-list {
  display: grid;
  gap: 10px;
}

.cx-client-mini-list a {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid #e5edf7;
  border-radius: 17px;
  background: #fbfcff;
  color: #111827;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cx-client-mini-list strong,
.cx-client-empty-inline strong {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.cx-client-mini-list small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.cx-client-empty-inline {
  padding: 20px;
  border: 1px dashed #cdd8eb;
  border-radius: 18px;
  background: #f8fbff;
}

.cx-client-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.cx-client-action-card {
  min-height: 126px;
  padding: 18px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.cx-client-action-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cx-client-action-copy strong {
  color: #111827;
  font-size: 16px;
  font-weight: 950;
}

.cx-client-action-card b {
  color: #111827;
  font-size: 17px;
  font-weight: 950;
  white-space: nowrap;
}

.cx-client-action-card-emerald .cx-client-action-icon { background: linear-gradient(135deg, #54c99a, #21a875); }
.cx-client-action-card-sky .cx-client-action-icon { background: linear-gradient(135deg, #6abce4, #2f8be6); }
.cx-client-action-card-amber .cx-client-action-icon { background: linear-gradient(135deg, #ffd166, #f59f00); }
.cx-client-action-card-rose .cx-client-action-icon { background: linear-gradient(135deg, #f06292, #d94d91); }
.cx-client-action-card-slate .cx-client-action-icon { background: linear-gradient(135deg, #64748b, #334155); }

html body.customers.cx-client-shell-active .cx-client-dashboard-shell .cx-client-action-card {
  min-height: 118px;
  padding: 16px;
  grid-template-columns: 54px minmax(0, 1fr) max-content;
  gap: 12px;
}

html body.customers.cx-client-shell-active .cx-client-dashboard-shell .cx-client-action-copy {
  gap: 4px;
}

html body.customers.cx-client-shell-active .cx-client-dashboard-shell .cx-client-action-copy strong {
  font-size: 15px;
  line-height: 1.18;
}

html body.customers.cx-client-shell-active .cx-client-dashboard-shell .cx-client-action-copy small,
html body.customers.cx-client-shell-active .cx-client-dashboard-shell .cx-client-service-card small {
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

html body.customers.cx-client-shell-active .cx-client-dashboard-shell .cx-client-action-card b {
  font-size: 17px;
  line-height: 1.1;
}

html body.customers.cx-client-shell-active .cx-client-dashboard-shell .cx-client-service-card {
  min-height: 156px;
  padding: 18px;
  gap: 9px;
}

html body.customers.cx-client-shell-active .cx-client-dashboard-shell .cx-client-service-card strong {
  font-size: 20px;
  line-height: 1.15;
}

.cx-client-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.cx-client-kpi-card {
  min-height: 124px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cx-client-kpi-card span {
  color: #667085;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cx-client-kpi-card strong {
  color: #111827;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.cx-client-chart-card {
  min-height: 260px;
  padding: 22px;
}

.cx-client-chart-card canvas {
  max-height: 190px;
}

.cx-client-empty-state {
  margin-top: 18px;
  padding: 24px;
  border: 1px dashed #cdd8eb;
  border-radius: 22px;
  background: #f8fbff;
  text-align: center;
}

.cx-client-empty-state-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: #f0edff;
  color: #6554f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cx-client-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
}

.cx-client-account-identity,
.cx-client-profile-upload {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cx-client-account-avatar,
.cx-client-profile-upload-preview img {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  object-fit: cover;
  border: 4px solid rgba(91, 63, 214, 0.12);
}

.cx-client-form-grid,
.cx-client-report-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cx-client-account-form .form-control,
.cx-client-report-filter .form-control,
html body.customers.cx-client-shell-active .form-control {
  min-height: 48px;
  border: 1px solid #d9e2ef !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #111827 !important;
  font-weight: 650;
}

.cx-client-account-form label,
.cx-client-report-filter label {
  color: #334155;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cx-client-ticket-status-card {
  min-height: 106px;
}

.cx-client-ticket-status-card > span:first-child {
  width: 36px;
  height: 6px;
  border-radius: 999px;
  background: var(--ticket-status-color, #6554f4);
}

.cx-client-modern-table .table,
.cx-client-report-table .table {
  margin-bottom: 0;
}

.cx-client-modern-table .table > thead > tr > th,
.cx-client-report-table .table > thead > tr > th {
  border-bottom: 1px solid #dfe7f3;
  color: #667085;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.cx-client-modern-table .table > tbody > tr > td,
.cx-client-report-table .table > tbody > tr > td {
  border-top: 1px solid #eef3fa;
  color: #26324a;
  font-weight: 650;
}

.cx-client-finance-card {
  padding: 20px;
}

.cx-client-finance-card span {
  color: #667085;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.cx-client-finance-card strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 22px;
  font-weight: 950;
}

html body.customers.cx-client-shell-active .prchat-client-widget,
html body.customers.cx-client-shell-active #prchat-client-widget,
html body.customers.cx-client-shell-active .prchat_client_widget {
  z-index: 1050 !important;
}

html body.customers.cx-client-shell-active .prchat-client-panel,
html body.customers.cx-client-shell-active #prchat-client-panel,
html body.customers.cx-client-shell-active .prchat_client_panel {
  max-width: 380px !important;
  width: min(380px, calc(100vw - 28px)) !important;
  max-height: 70vh !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

@media (max-width: 1100px) {
  html body.customers.cx-client-shell-active .cx-client-shell-search {
    width: min(36vw, 420px) !important;
  }

  html body.customers.cx-client-shell-active .cx-client-shell-icon-btn {
    display: none !important;
  }

  .cx-client-account-grid {
    grid-template-columns: 1fr;
  }

  .cx-client-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  html body.customers.cx-client-shell-active:not(.customers_login):not(.register) #wrapper {
    margin: 0 !important;
    padding: 96px 0 50px !important;
  }

  html body.customers.cx-client-shell-active .cx-client-shell-sidebar {
    transform: translateX(calc(-100% - 24px)) !important;
    transition: transform .22s ease !important;
  }

  html body.customers.cx-client-shell-active.cx-client-shell-open .cx-client-shell-sidebar {
    transform: translateX(0) !important;
  }

  html body.customers.cx-client-shell-active .cx-client-shell-topbar {
    left: 12px !important;
    right: 12px !important;
    top: 12px !important;
    padding: 0 10px !important;
  }

  html body.customers.cx-client-shell-active .cx-client-shell-topbar > .cx-client-shell-topbar-left > .cx-client-shell-menu-toggle {
    display: inline-flex !important;
  }

  html body.customers.cx-client-shell-active .cx-client-shell-search {
    display: none !important;
  }

  html body.customers.cx-client-shell-active .cx-client-shell-profile-text,
  html body.customers.cx-client-shell-active .cx-client-shell-back-admin span {
    display: none !important;
  }

  html body.customers.cx-client-shell-active .cx-client-shell-profile-toggle,
  html body.customers.cx-client-shell-active .cx-client-shell-back-admin {
    min-width: 54px !important;
    width: 54px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  .cx-client-hero,
  .cx-client-page-hero,
  .cx-client-account-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .cx-client-form-grid,
  .cx-client-report-filter {
    grid-template-columns: 1fr;
  }

  .cx-client-action-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .cx-client-action-card b {
    grid-column: 2;
  }

  html body.customers.cx-client-shell-active .prchat-client-panel,
  html body.customers.cx-client-shell-active #prchat-client-panel,
  html body.customers.cx-client-shell-active .prchat_client_panel {
    right: 10px !important;
    left: 10px !important;
    bottom: 10px !important;
    width: auto !important;
    max-width: none !important;
    max-height: 78vh !important;
  }
}

html[dir="rtl"] body.customers.cx-client-shell-active .cx-client-shell-sidebar {
  right: var(--cx-ref-sidebar-gap) !important;
  left: auto !important;
}

html[dir="rtl"] body.customers.cx-client-shell-active .cx-client-shell-topbar {
  right: calc(var(--cx-ref-sidebar-offset) + var(--cx-shell-content-gutter)) !important;
  left: var(--cx-ref-sidebar-gap) !important;
}

html[dir="rtl"] body.customers.cx-client-shell-active:not(.customers_login):not(.register) #wrapper {
  margin: 0 calc(var(--cx-ref-sidebar-offset) + var(--cx-shell-content-gutter)) 0 15px !important;
}

/* Final sidebar spacing lock: keep the floating rail off every viewport edge. */
html body.customers.cx-client-shell-active:not(.customers_login):not(.register) {
  --cx-client-sidebar-outer-inset: 15px;
  --cx-client-sidebar-content-gap: 22px;
}

html body.customers.cx-client-shell-active:not(.customers_login):not(.register) .cx-client-shell-sidebar {
  top: var(--cx-client-sidebar-outer-inset) !important;
  bottom: var(--cx-client-sidebar-outer-inset) !important;
  left: var(--cx-client-sidebar-outer-inset) !important;
  right: auto !important;
  width: var(--cx-ref-sidebar-width) !important;
  height: calc(100dvh - (var(--cx-client-sidebar-outer-inset) * 2)) !important;
  border-radius: 28px !important;
}

html body.customers.cx-client-shell-active:not(.customers_login):not(.register) .cx-client-shell-topbar {
  left: calc(var(--cx-client-sidebar-outer-inset) + var(--cx-ref-sidebar-width) + var(--cx-client-sidebar-content-gap)) !important;
  right: var(--cx-client-sidebar-outer-inset) !important;
}

html body.customers.cx-client-shell-active:not(.customers_login):not(.register) #wrapper {
  margin-left: calc(var(--cx-client-sidebar-outer-inset) + var(--cx-ref-sidebar-width) + var(--cx-client-sidebar-content-gap)) !important;
  margin-right: var(--cx-client-sidebar-outer-inset) !important;
}

html[dir="rtl"] body.customers.cx-client-shell-active:not(.customers_login):not(.register) .cx-client-shell-sidebar {
  right: var(--cx-client-sidebar-outer-inset) !important;
  left: auto !important;
}

html[dir="rtl"] body.customers.cx-client-shell-active:not(.customers_login):not(.register) .cx-client-shell-topbar {
  right: calc(var(--cx-client-sidebar-outer-inset) + var(--cx-ref-sidebar-width) + var(--cx-client-sidebar-content-gap)) !important;
  left: var(--cx-client-sidebar-outer-inset) !important;
}

html[dir="rtl"] body.customers.cx-client-shell-active:not(.customers_login):not(.register) #wrapper {
  margin-right: calc(var(--cx-client-sidebar-outer-inset) + var(--cx-ref-sidebar-width) + var(--cx-client-sidebar-content-gap)) !important;
  margin-left: var(--cx-client-sidebar-outer-inset) !important;
}
