/*
 * Sobelzcom 4.4.0
 * Vuexy 10.7 vertical customer workspace for the Sobelz portal.
 *
 * This file is intentionally loaded after the v3 compatibility layer. It owns
 * the final layout and visual system while legacy selectors remain available
 * solely as behavior contracts for the CRM core and third-party modules.
 */

:root {
  --sz-sidebar-width: 16.25rem;
  --sz-sidebar-collapsed-width: 5.25rem;
  --sz-navbar-height-v4: 4.5rem;
  --sz-shell-gap: 1.5rem;
  --sz-card-radius: max(var(--sz-radius, 8px), .75rem);
  --sz-control-radius: max(var(--sz-radius, 8px), .5rem);
  --sz-primary-gradient: linear-gradient(135deg, var(--sz-primary-lighter) 0%, var(--sz-primary-light) 23%, var(--sz-primary) 58%, var(--sz-primary-dark) 100%);
  --sz-primary-gradient-deep: linear-gradient(145deg, var(--sz-primary-light) 0%, var(--sz-primary) 43%, var(--sz-primary-deep) 100%);
  --sz-primary-soft: rgba(var(--sz-primary-rgb), .12);
  --sz-primary-softer: rgba(var(--sz-primary-rgb), .075);
  --sz-primary-border: rgba(var(--sz-primary-rgb), .24);
  --sz-paper-v4: #fff;
  --sz-body-v4: #f8f7fa;
  --sz-heading-v4: #444050;
  --sz-text-v4: #6d6b77;
  --sz-muted-v4: #8c8a97;
  --sz-border-v4: #e6e6e8;
  --sz-card-shadow-v4: 0 .1875rem .75rem rgba(47, 43, 61, .10);
  --sz-card-shadow-hover-v4: 0 .65rem 1.85rem rgba(47, 43, 61, .16);
  --sz-navbar-shadow-v4: 0 .35rem 1.25rem rgba(47, 43, 61, .12);
  --sz-sidebar-shadow-v4: .35rem 0 1.7rem rgba(47, 43, 61, .10);
}

html[data-bs-theme="dark"] {
  --sz-paper-v4: #2f3349;
  --sz-body-v4: #25293c;
  --sz-heading-v4: #cfcde4;
  --sz-text-v4: #acabc1;
  --sz-muted-v4: #9291a7;
  --sz-border-v4: #44485e;
  --sz-card-shadow-v4: 0 .1875rem .8rem rgba(15, 17, 28, .28);
  --sz-card-shadow-hover-v4: 0 .75rem 2rem rgba(12, 14, 24, .38);
  --sz-navbar-shadow-v4: 0 .35rem 1.35rem rgba(12, 14, 24, .34);
  --sz-sidebar-shadow-v4: .35rem 0 1.7rem rgba(12, 14, 24, .35);
}

html,
body.sobelzcom-theme {
  min-height: 100%;
  background: var(--sz-body-v4) !important;
}

body.sobelzcom-theme {
  margin: 0 !important;
  color: var(--sz-text-v4);
  font-size: calc(.9375rem * var(--sz-font-scale, 1));
  overflow-x: hidden;
}

.sobelzcom-theme a {
  text-decoration: none;
}

.sobelzcom-theme .layout-wrapper,
.sobelzcom-theme .layout-container,
.sobelzcom-theme .layout-page,
.sobelzcom-theme .content-wrapper {
  min-height: 100vh;
  background: transparent !important;
}

.sobelzcom-theme .layout-wrapper {
  display: block !important;
  width: 100%;
}

.sobelzcom-theme .layout-container {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: row !important;
  width: 100%;
}

.sobelzcom-theme .layout-page {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  width: calc(100% - var(--sz-sidebar-width)) !important;
  min-width: 0;
  margin: 0 0 0 var(--sz-sidebar-width) !important;
  padding: 0 !important;
  transition: width .24s ease, margin .24s ease;
}

html[dir="rtl"] .sobelzcom-theme .layout-page {
  margin: 0 var(--sz-sidebar-width) 0 0 !important;
}

.sobelzcom-theme .content-wrapper {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  min-height: 100vh !important;
  padding: 0 !important;
}

.sobelzcom-theme #content {
  flex: 1 0 auto;
  width: 100%;
  min-height: 1px;
  padding-block: 1.45rem 2rem !important;
  background: transparent !important;
}

.sobelzcom-theme .container,
.sobelzcom-theme .container-xxl,
.sobelzcom-theme .container-fluid {
  padding-inline: var(--sz-shell-gap) !important;
}

/* Vertical menu --------------------------------------------------------- */
.sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
  position: fixed !important;
  inset-block: 0 !important;
  inset-inline-start: 0 !important;
  inset-inline-end: auto !important;
  z-index: 1085;
  display: flex !important;
  flex-direction: column !important;
  width: var(--sz-sidebar-width) !important;
  height: 100vh !important;
  margin: 0 !important;
  border: 0 !important;
  border-inline-end: 1px solid var(--sz-border-v4) !important;
  border-radius: 0 !important;
  background: var(--sz-paper-v4) !important;
  color: var(--sz-text-v4);
  box-shadow: var(--sz-sidebar-shadow-v4) !important;
  transform: none !important;
  transition: width .24s ease, transform .24s ease, background .2s ease, border-color .2s ease;
}

html[dir="rtl"] .sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
  border-inline-start: 1px solid var(--sz-border-v4) !important;
  border-inline-end: 0 !important;
  box-shadow: -.35rem 0 1.7rem rgba(47, 43, 61, .10) !important;
}

html[data-bs-theme="dark"][dir="rtl"] .sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
  box-shadow: -.35rem 0 1.7rem rgba(12, 14, 24, .35) !important;
}

.sobelzcom-theme .sobelzcom-horizontal-menu,
.sobelzcom-theme .layout-menu-horizontal {
  display: none !important;
}

.sobelzcom-theme .sobelzcom-sidebar-brand {
  position: relative;
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: .75rem;
  padding: 1rem 1rem 1rem 1.25rem !important;
  border-bottom: 1px solid var(--sz-border-v4);
}

html[dir="rtl"] .sobelzcom-theme .sobelzcom-sidebar-brand {
  padding: 1rem 1.25rem 1rem 1rem !important;
}

.sobelzcom-theme .sobelzcom-sidebar-logo {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 10.75rem;
  overflow: hidden;
}

.sobelzcom-theme .sobelzcom-sidebar-logo .app-brand-link,
.sobelzcom-theme .sobelzcom-sidebar-logo .logo,
.sobelzcom-theme .sobelzcom-sidebar-logo a {
  display: inline-flex !important;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.sobelzcom-theme .sobelzcom-sidebar-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 2.3rem;
  object-fit: contain;
}

.sobelzcom-theme .sobelzcom-sidebar-toggle,
.sobelzcom-theme .sobelzcom-sidebar-close {
  flex: 0 0 auto;
  width: 2.25rem !important;
  height: 2.25rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--sz-primary-border);
  border-radius: .65rem;
  background: var(--sz-primary-soft);
  color: var(--sz-primary) !important;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.sobelzcom-theme .sobelzcom-sidebar-toggle:hover,
.sobelzcom-theme .sobelzcom-sidebar-close:hover {
  background: var(--sz-primary-gradient);
  color: var(--sz-primary-contrast) !important;
  transform: translateY(-1px);
}


/* The upstream template gives the collapse control the generic menu-link class.
   Preserve the compact icon-button geometry instead of inheriting full-width
   navigation-link rules. */
.sobelzcom-theme #layout-menu .sobelzcom-sidebar-toggle,
.sobelzcom-theme #layout-menu .sobelzcom-sidebar-close {
  flex: 0 0 2.25rem !important;
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  min-height: 2.25rem !important;
  height: 2.25rem !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

html:not(.layout-menu-collapsed).layout-menu-hover .sobelzcom-theme #layout-menu {
  inset-inline-start: 0 !important;
  transform: none !important;
}


@media (min-width: 1200px) {
  .sobelzcom-theme #layout-menu .sobelzcom-sidebar-close {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  .sobelzcom-theme #layout-menu .sobelzcom-sidebar-toggle {
    display: none !important;
  }

  .sobelzcom-theme #layout-menu .sobelzcom-sidebar-close {
    display: inline-flex !important;
  }
}

html[dir="rtl"] .sobelzcom-theme .sobelzcom-sidebar-toggle i,
html[dir="rtl"] .sobelzcom-theme .menu-mobile-toggler .tabler-chevron-right {
  transform: rotate(180deg);
}

.sobelzcom-theme #layout-menu .menu-inner-shadow {
  position: absolute;
  inset-block-start: 5rem;
  inset-inline: 0;
  z-index: 2;
  height: .8rem;
  pointer-events: none;
  background: linear-gradient(var(--sz-paper-v4), transparent);
  opacity: .82;
}

.sobelzcom-theme #layout-menu .menu-inner {
  position: relative;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 0;
  gap: .2rem !important;
  margin: 0 !important;
  padding: 1rem .8rem !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  list-style: none;
  scrollbar-width: thin;
}

.sobelzcom-theme #layout-menu .menu-header {
  flex: 0 0 auto !important;
  width: 100%;
  margin: .35rem 0 .45rem !important;
  padding: 0 .7rem !important;
  color: var(--sz-muted-v4) !important;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.sobelzcom-theme #layout-menu .menu-item {
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
}

.sobelzcom-theme #layout-menu .menu-inner .menu-link {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 2.8rem;
  gap: .78rem !important;
  margin: 0 !important;
  padding: .68rem .8rem !important;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: .72rem !important;
  color: var(--sz-text-v4) !important;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: start;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sobelzcom-theme #layout-menu .menu-inner .menu-link:hover,
.sobelzcom-theme #layout-menu .menu-inner .menu-link:focus-visible {
  border-color: var(--sz-primary-border);
  background: var(--sz-primary-softer) !important;
  color: var(--sz-primary) !important;
  transform: translateX(.15rem);
}

html[dir="rtl"] .sobelzcom-theme #layout-menu .menu-inner .menu-link:hover,
html[dir="rtl"] .sobelzcom-theme #layout-menu .menu-inner .menu-link:focus-visible {
  transform: translateX(-.15rem);
}

.sobelzcom-theme #layout-menu .menu-item.active > .menu-link,
.sobelzcom-theme #layout-menu .menu-item.open > .menu-link {
  border-color: rgba(var(--sz-primary-rgb), .18) !important;
  background: var(--sz-primary-gradient) !important;
  color: var(--sz-primary-contrast) !important;
  box-shadow: 0 .42rem 1rem rgba(var(--sz-primary-rgb), .28) !important;
}

.sobelzcom-theme #layout-menu .menu-icon {
  flex: 0 0 auto;
  width: 1.3rem !important;
  height: 1.3rem !important;
  margin: 0 !important;
  color: currentColor !important;
  font-size: 1.22rem !important;
}

.sobelzcom-theme #layout-menu .menu-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sobelzcom-theme .sobelzcom-sidebar-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .72rem;
  margin: .65rem .8rem .9rem;
  padding: .78rem;
  overflow: hidden;
  border: 1px solid var(--sz-primary-border);
  border-radius: .8rem;
  background: linear-gradient(135deg, rgba(var(--sz-primary-rgb), .12), rgba(var(--sz-primary-rgb), .045));
  color: var(--sz-text-v4);
}

.sobelzcom-theme .sobelzcom-sidebar-footer-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .65rem;
  background: var(--sz-primary-gradient);
  color: var(--sz-primary-contrast);
  box-shadow: 0 .35rem .85rem rgba(var(--sz-primary-rgb), .22);
}

.sobelzcom-theme .sobelzcom-sidebar-footer-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.sobelzcom-theme .sobelzcom-sidebar-footer-copy strong {
  color: var(--sz-heading-v4);
  font-size: .78rem;
}

.sobelzcom-theme .sobelzcom-sidebar-footer-copy small {
  margin-top: .12rem;
  color: var(--sz-muted-v4);
  font-size: .66rem;
  white-space: nowrap;
}

/* Menu themes */
html[data-menu-style="dark"] .sobelzcom-theme #layout-menu {
  --sz-paper-v4: #2f3349;
  --sz-heading-v4: #d4d2e6;
  --sz-text-v4: #b7b6c9;
  --sz-muted-v4: #8f8da4;
  --sz-border-v4: #44485e;
  background: linear-gradient(180deg, #31354b 0%, #292d42 100%) !important;
  color: #b7b6c9;
}

html[data-menu-style="dark"] .sobelzcom-theme #layout-menu .menu-item.active > .menu-link {
  background: var(--sz-primary-gradient) !important;
}

html[data-menu-style="primary"] .sobelzcom-theme #layout-menu {
  --sz-heading-v4: var(--sz-primary-contrast);
  --sz-text-v4: rgba(255, 255, 255, .86);
  --sz-muted-v4: rgba(255, 255, 255, .58);
  --sz-border-v4: rgba(255, 255, 255, .18);
  background: var(--sz-primary-gradient-deep) !important;
  color: var(--sz-primary-contrast);
}

html[data-menu-style="primary"] .sobelzcom-theme #layout-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 255, 255, .22), transparent 24%),
    radial-gradient(circle at 85% 92%, rgba(255, 255, 255, .13), transparent 30%);
}

html[data-menu-style="primary"] .sobelzcom-theme #layout-menu .sobelzcom-sidebar-brand,
html[data-menu-style="primary"] .sobelzcom-theme #layout-menu .menu-inner,
html[data-menu-style="primary"] .sobelzcom-theme #layout-menu .sobelzcom-sidebar-footer {
  position: relative;
  z-index: 1;
}

html[data-menu-style="primary"] .sobelzcom-theme #layout-menu .menu-inner .menu-link {
  color: rgba(255, 255, 255, .86) !important;
}

html[data-menu-style="primary"] .sobelzcom-theme #layout-menu .menu-inner .menu-link:hover,
html[data-menu-style="primary"] .sobelzcom-theme #layout-menu .menu-inner .menu-link:focus-visible {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
}

html[data-menu-style="primary"] .sobelzcom-theme #layout-menu .menu-item.active > .menu-link {
  border-color: rgba(255, 255, 255, .30) !important;
  background: rgba(255, 255, 255, .94) !important;
  color: var(--sz-primary-deep) !important;
  box-shadow: 0 .45rem 1.15rem rgba(28, 21, 70, .20) !important;
}

html[data-menu-style="primary"] .sobelzcom-theme .sobelzcom-sidebar-toggle,
html[data-menu-style="primary"] .sobelzcom-theme .sobelzcom-sidebar-close {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .14);
  color: #fff !important;
}

html[data-menu-style="primary"] .sobelzcom-theme .sobelzcom-sidebar-footer {
  border-color: rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .10);
}

html[data-menu-style="primary"] .sobelzcom-theme .sobelzcom-sidebar-footer-icon {
  background: rgba(255, 255, 255, .18);
  box-shadow: none;
}

html[data-menu-style="primary"] .sobelzcom-theme .sobelzcom-sidebar-footer-copy strong,
html[data-menu-style="primary"] .sobelzcom-theme .sobelzcom-sidebar-footer-copy small {
  color: rgba(255, 255, 255, .90);
}

html[data-menu-style="primary"] .sobelzcom-theme .sobelzcom-sidebar-logo img,
html[data-menu-style="dark"] .sobelzcom-theme .sobelzcom-sidebar-logo img {
  filter: brightness(0) invert(1);
}

/* Collapsed desktop menu ------------------------------------------------ */
@media (min-width: 1200px) {
  html.layout-menu-collapsed .sobelzcom-theme #layout-menu {
    width: var(--sz-sidebar-collapsed-width) !important;
  }

  html.layout-menu-collapsed .sobelzcom-theme .layout-page {
    width: calc(100% - var(--sz-sidebar-collapsed-width)) !important;
    margin-inline-start: var(--sz-sidebar-collapsed-width) !important;
    margin-inline-end: 0 !important;
  }

  html[dir="rtl"].layout-menu-collapsed .sobelzcom-theme .layout-page {
    margin-inline-start: 0 !important;
    margin-inline-end: var(--sz-sidebar-collapsed-width) !important;
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme .sobelzcom-sidebar-brand {
    justify-content: center;
    padding-inline: .7rem !important;
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme .sobelzcom-sidebar-logo {
    width: 2.65rem;
    max-width: 2.65rem;
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme .sobelzcom-sidebar-logo img {
    width: 2.55rem;
    max-width: none;
    object-fit: contain;
    object-position: left center;
  }

  html[dir="rtl"].layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme .sobelzcom-sidebar-logo img {
    object-position: right center;
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme .sobelzcom-sidebar-toggle {
    position: absolute;
    inset-block-end: -.75rem;
    inset-inline-end: -.72rem;
    width: 1.65rem !important;
    height: 1.65rem !important;
    border-radius: 50%;
    background: var(--sz-primary-gradient);
    color: var(--sz-primary-contrast) !important;
    box-shadow: 0 .25rem .7rem rgba(var(--sz-primary-rgb), .28);
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme #layout-menu .menu-inner {
    padding-inline: .72rem !important;
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme #layout-menu .menu-inner .menu-link {
    justify-content: center !important;
    padding-inline: .65rem !important;
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme #layout-menu .menu-title,
  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme #layout-menu .menu-header-text,
  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme .sobelzcom-sidebar-footer-copy {
    display: none !important;
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme #layout-menu .menu-header {
    height: 1px;
    margin: .45rem .35rem !important;
    padding: 0 !important;
    background: var(--sz-border-v4);
  }

  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme .sobelzcom-sidebar-footer {
    justify-content: center;
    margin-inline: .72rem;
    padding: .55rem;
  }

  html.layout-menu-collapsed.layout-menu-hover .sobelzcom-theme #layout-menu {
    width: var(--sz-sidebar-width) !important;
    box-shadow: 0 .75rem 2.25rem rgba(47, 43, 61, .20) !important;
  }
}

/* Detached navbar ------------------------------------------------------- */
.sobelzcom-theme #layout-navbar.sobelzcom-navbar {
  position: relative !important;
  inset: auto !important;
  z-index: 1070;
  display: flex !important;
  flex: 0 0 auto;
  width: auto !important;
  min-height: var(--sz-navbar-height-v4);
  margin: 1rem var(--sz-shell-gap) 0 !important;
  padding: .65rem .9rem !important;
  border: 1px solid rgba(var(--sz-primary-rgb), .05) !important;
  border-radius: var(--sz-card-radius) !important;
  background: color-mix(in srgb, var(--sz-paper-v4) 94%, transparent) !important;
  color: var(--sz-text-v4);
  box-shadow: var(--sz-navbar-shadow-v4) !important;
  backdrop-filter: blur(14px);
}

html.layout-navbar-fixed .sobelzcom-theme #layout-navbar.sobelzcom-navbar,
html[data-header-type="fixed"] .sobelzcom-theme #layout-navbar.sobelzcom-navbar {
  position: sticky !important;
  inset-block-start: 1rem !important;
}

html[data-header-type="static"] .sobelzcom-theme #layout-navbar.sobelzcom-navbar {
  position: relative !important;
  inset-block-start: auto !important;
}

html.layout-navbar-fixed .sobelzcom-theme .layout-page {
  padding-top: 0 !important;
}

.sobelzcom-theme .sobelzcom-navbar-context {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .72rem;
}

.sobelzcom-theme .sobelzcom-navbar-context-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--sz-primary-border);
  border-radius: .72rem;
  background: var(--sz-primary-soft);
  color: var(--sz-primary);
  font-size: 1.2rem;
}

.sobelzcom-theme .sobelzcom-navbar-context-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.sobelzcom-theme .sobelzcom-navbar-context-copy strong {
  max-width: min(34vw, 32rem);
  overflow: hidden;
  color: var(--sz-heading-v4);
  font-size: .93rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sobelzcom-navbar-context-copy small {
  margin-top: .1rem;
  color: var(--sz-muted-v4);
  font-size: .72rem;
}

.sobelzcom-theme .sobelzcom-navbar-actions {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: .25rem;
}

.sobelzcom-theme .sobelzcom-icon-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0 !important;
  border: 0 !important;
  border-radius: .72rem !important;
  background: transparent !important;
  color: var(--sz-text-v4) !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.sobelzcom-theme .sobelzcom-icon-button:hover,
.sobelzcom-theme .sobelzcom-icon-button:focus-visible,
.sobelzcom-theme .show > .sobelzcom-icon-button {
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
  transform: translateY(-1px);
}

.sobelzcom-theme .sobelzcom-profile-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: .65rem;
  min-height: 2.7rem;
  padding: .2rem .35rem .2rem .25rem !important;
  border: 0 !important;
  border-radius: .85rem !important;
  background: transparent !important;
  color: var(--sz-text-v4) !important;
}

.sobelzcom-theme .sobelzcom-profile-toggle:hover,
.sobelzcom-theme .show > .sobelzcom-profile-toggle {
  background: var(--sz-primary-softer) !important;
}

.sobelzcom-theme .sobelzcom-profile-name {
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.sobelzcom-theme .sobelzcom-profile-name strong {
  max-width: 10rem;
  overflow: hidden;
  color: var(--sz-heading-v4);
  font-size: .83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sobelzcom-profile-name small {
  max-width: 10rem;
  overflow: hidden;
  color: var(--sz-muted-v4);
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sobelzcom-profile-chevron {
  color: var(--sz-muted-v4);
  font-size: .9rem;
}

.sobelzcom-theme .sobelzcom-profile-dropdown,
.sobelzcom-theme .sobelzcom-theme-menu,
.sobelzcom-theme .customer-top-submenu.dropdown-menu {
  min-width: 14.5rem;
  padding: .5rem !important;
  border: 1px solid var(--sz-border-v4) !important;
  border-radius: .8rem !important;
  background: var(--sz-paper-v4) !important;
  color: var(--sz-text-v4);
  box-shadow: 0 .75rem 2rem rgba(47, 43, 61, .18) !important;
}

html[data-bs-theme="dark"] .sobelzcom-theme .sobelzcom-profile-dropdown,
html[data-bs-theme="dark"] .sobelzcom-theme .sobelzcom-theme-menu,
html[data-bs-theme="dark"] .sobelzcom-theme .customer-top-submenu.dropdown-menu {
  box-shadow: 0 .75rem 2rem rgba(11, 13, 22, .48) !important;
}

.sobelzcom-theme .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 2.5rem;
  padding: .5rem .65rem;
  border-radius: .55rem;
  color: var(--sz-text-v4);
  font-size: .84rem;
}

.sobelzcom-theme .dropdown-menu .dropdown-item:hover,
.sobelzcom-theme .dropdown-menu .dropdown-item:focus,
.sobelzcom-theme .dropdown-menu .dropdown-item.active {
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
}

.sobelzcom-theme .sobelzcom-profile-summary {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .65rem;
}

.sobelzcom-theme .sobelzcom-dropdown-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: .6rem;
}

/* Quick links are a dropdown, never a content-flow toolbar. */
.sobelzcom-theme .customer-top-submenu.dropdown-menu {
  position: absolute !important;
  display: none !important;
  width: 16rem;
  margin: .55rem 0 0 !important;
  list-style: none;
}

.sobelzcom-theme .customer-top-submenu.dropdown-menu.show {
  display: block !important;
}

.sobelzcom-theme .customer-top-submenu.dropdown-menu > li {
  display: block !important;
  width: 100%;
  margin: 0 !important;
}

.sobelzcom-theme .customer-top-submenu.dropdown-menu > li > a {
  display: flex !important;
  width: 100%;
  min-height: 2.65rem;
  padding: .5rem .65rem !important;
  border: 0 !important;
  border-radius: .58rem !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sobelzcom-theme .customer-top-submenu.dropdown-menu > li > a:hover,
.sobelzcom-theme .customer-top-submenu.dropdown-menu > li > a:focus {
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
}

.sobelzcom-theme .dropdown-submenu {
  position: relative;
}

.sobelzcom-theme .dropdown-submenu > .dropdown-menu {
  inset-block-start: -.5rem;
  inset-inline-start: auto;
  inset-inline-end: 100%;
  margin-inline-end: .35rem;
}

html[dir="ltr"] .sobelzcom-theme .dropdown-submenu > .dropdown-menu {
  inset-inline-start: 100%;
  inset-inline-end: auto;
  margin-inline-start: .35rem;
  margin-inline-end: 0;
}

/* Duplicate-arrow and input-icon fixes ---------------------------------- */
.sobelzcom-theme .dropdown-toggle.hide-arrow::after,
.sobelzcom-theme .dropdown-toggle.hide-native-dropdown-arrow::after,
.sobelzcom-theme .dropdown-toggle.sz-has-explicit-indicator::after,
.sobelzcom-theme .sobelzcom-icon-button.dropdown-toggle::after,
.sobelzcom-theme .sobelzcom-profile-toggle.dropdown-toggle::after {
  display: none !important;
  content: none !important;
}

/* bootstrap-select remains the sole behavioral owner; Sobelzcom paints one
   deterministic arrow after removing all plugin-generated caret fragments. */
.sobelzcom-theme .bootstrap-select > .dropdown-toggle .bs-caret,
.sobelzcom-theme .bootstrap-select > .dropdown-toggle .caret,
.sobelzcom-theme .bootstrap-select > .dropdown-toggle .sz-select-caret,
.sobelzcom-theme .bootstrap-select > .dropdown-toggle .sz-legacy-select-caret {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-toggle.sz-select-toggle::before {
  display: none !important;
  content: none !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-toggle.sz-select-toggle::after {
  display: inline-block !important;
  flex: 0 0 auto;
  width: .45rem;
  height: .45rem;
  margin: -.18rem .12rem 0 .62rem !important;
  border: 0 !important;
  border-inline-end: 1.65px solid currentColor !important;
  border-block-end: 1.65px solid currentColor !important;
  opacity: .72;
  content: "" !important;
  transform: rotate(45deg);
  transition: transform .16s ease, margin .16s ease;
}

html[dir="rtl"] .sobelzcom-theme .bootstrap-select > .dropdown-toggle.sz-select-toggle::after {
  margin-inline-start: .62rem !important;
  margin-inline-end: .12rem !important;
}

.sobelzcom-theme .bootstrap-select.show > .dropdown-toggle.sz-select-toggle::after,
.sobelzcom-theme .bootstrap-select.open > .dropdown-toggle.sz-select-toggle::after {
  margin-block-start: .18rem !important;
  transform: rotate(225deg);
}

.sobelzcom-theme .input-group-text > i + i,
.sobelzcom-theme .input-group-addon > i + i,
.sobelzcom-theme .form-password-toggle > i + i,
.sobelzcom-theme .input-group-text:empty,
.sobelzcom-theme .input-group-addon:empty,
.sobelzcom-theme [data-sz-password-duplicate="1"],
.sobelzcom-theme .sz-duplicate-input-action {
  display: none !important;
}

.sobelzcom-theme .form-control.is-valid,
.sobelzcom-theme .form-control.is-invalid,
.sobelzcom-theme .was-validated .form-control:valid,
.sobelzcom-theme .was-validated .form-control:invalid,
.sobelzcom-theme input.form-control.parsley-success,
.sobelzcom-theme input.form-control.parsley-error,
.sobelzcom-theme textarea.form-control.parsley-success,
.sobelzcom-theme textarea.form-control.parsley-error {
  background-image: none !important;
}

.sobelzcom-theme select.form-select.is-valid,
.sobelzcom-theme select.form-select.is-invalid,
.sobelzcom-theme .was-validated select.form-select:valid,
.sobelzcom-theme .was-validated select.form-select:invalid {
  background-position: right .8rem center, center right 2.3rem !important;
}

html[dir="rtl"] .sobelzcom-theme select.form-select.is-valid,
html[dir="rtl"] .sobelzcom-theme select.form-select.is-invalid,
html[dir="rtl"] .sobelzcom-theme .was-validated select.form-select:valid,
html[dir="rtl"] .sobelzcom-theme .was-validated select.form-select:invalid {
  background-position: left .8rem center, center left 2.3rem !important;
}

.sobelzcom-theme .input-group-text,
.sobelzcom-theme .input-group-addon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  border-color: var(--sz-border-v4) !important;
  background: color-mix(in srgb, var(--sz-body-v4) 72%, var(--sz-paper-v4)) !important;
  color: var(--sz-muted-v4) !important;
}

.sobelzcom-theme .input-group:focus-within .input-group-text,
.sobelzcom-theme .input-group:focus-within .input-group-addon {
  border-color: var(--sz-primary) !important;
  color: var(--sz-primary) !important;
}

/* Controls and buttons -------------------------------------------------- */
.sobelzcom-theme .form-control,
.sobelzcom-theme .form-select,
.sobelzcom-theme .bootstrap-select > .dropdown-toggle,
.sobelzcom-theme .select2-container .select2-selection,
.sobelzcom-theme .xdsoft_datetimepicker input {
  min-height: 2.7rem;
  border-color: var(--sz-border-v4) !important;
  border-radius: var(--sz-control-radius) !important;
  background-color: var(--sz-paper-v4) !important;
  color: var(--sz-text-v4) !important;
  box-shadow: none !important;
}

.sobelzcom-theme .form-control:focus,
.sobelzcom-theme .form-select:focus,
.sobelzcom-theme .bootstrap-select.show > .dropdown-toggle,
.sobelzcom-theme .bootstrap-select.open > .dropdown-toggle,
.sobelzcom-theme .bootstrap-select > .dropdown-toggle:focus {
  border-color: var(--sz-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(var(--sz-primary-rgb), .14) !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: .55rem;
  padding-inline: .78rem !important;
  background: var(--sz-paper-v4) !important;
  color: var(--sz-text-v4) !important;
  text-align: start;
}

.sobelzcom-theme .bootstrap-select .filter-option {
  min-width: 0;
  flex: 1 1 auto;
  text-align: start !important;
}

.sobelzcom-theme .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.55rem;
  padding: .54rem 1rem;
  border-radius: var(--sz-control-radius) !important;
  font-size: .875rem;
  font-weight: 550;
  line-height: 1.2;
  box-shadow: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}

.sobelzcom-theme .btn:hover:not(:disabled):not(.disabled) {
  transform: translateY(-1px);
}

.sobelzcom-theme .btn-primary,
.sobelzcom-theme .btn-info.btn-primary {
  border-color: var(--sz-primary) !important;
  background: var(--sz-primary-gradient) !important;
  color: var(--sz-primary-contrast) !important;
  box-shadow: 0 .38rem .9rem rgba(var(--sz-primary-rgb), .24) !important;
}

.sobelzcom-theme .btn-primary:hover,
.sobelzcom-theme .btn-primary:focus,
.sobelzcom-theme .btn-primary:active,
.sobelzcom-theme .btn-primary.active,
.sobelzcom-theme .open > .dropdown-toggle.btn-primary {
  border-color: var(--sz-primary-dark) !important;
  background: linear-gradient(135deg, var(--sz-primary) 0%, var(--sz-primary-dark) 60%, var(--sz-primary-deep) 100%) !important;
  color: var(--sz-primary-contrast) !important;
  box-shadow: 0 .48rem 1.1rem rgba(var(--sz-primary-rgb), .32) !important;
}

.sobelzcom-theme .btn-label-primary,
.sobelzcom-theme .btn-default,
.sobelzcom-theme .btn-outline-primary {
  border-color: transparent !important;
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
}

.sobelzcom-theme .btn-label-primary:hover,
.sobelzcom-theme .btn-default:hover,
.sobelzcom-theme .btn-outline-primary:hover {
  border-color: var(--sz-primary-border) !important;
  background: rgba(var(--sz-primary-rgb), .18) !important;
  color: var(--sz-primary-dark) !important;
}

.sobelzcom-theme .btn-light,
.sobelzcom-theme .btn-outline-secondary {
  border-color: var(--sz-border-v4) !important;
  background: var(--sz-paper-v4) !important;
  color: var(--sz-text-v4) !important;
}

.sobelzcom-theme .btn-sm,
.sobelzcom-theme .btn-xs {
  min-height: 2.1rem;
  padding: .38rem .7rem;
  font-size: .78rem;
}

.sobelzcom-theme .btn-icon,
.sobelzcom-theme .btn.btn-icon,
.sobelzcom-theme .table .btn-xs:has(> i:only-child) {
  width: 2.15rem;
  min-width: 2.15rem;
  height: 2.15rem;
  min-height: 2.15rem;
  padding: 0 !important;
}

.sobelzcom-theme .badge.bg-primary,
.sobelzcom-theme .label-primary,
.sobelzcom-theme .page-item.active .page-link,
.sobelzcom-theme .nav-pills .nav-link.active {
  border-color: transparent !important;
  background: var(--sz-primary-gradient) !important;
  color: var(--sz-primary-contrast) !important;
}

.sobelzcom-theme .bg-label-primary {
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
}

/* Cards, tables and charts ---------------------------------------------- */
.sobelzcom-theme .card,
.sobelzcom-theme .panel_s > .panel-body,
.sobelzcom-theme .panel.panel-default {
  border: 1px solid transparent !important;
  border-radius: var(--sz-card-radius) !important;
  background: var(--sz-paper-v4) !important;
  color: var(--sz-text-v4);
  box-shadow: var(--sz-card-shadow-v4) !important;
}

html[data-skin="bordered"] .sobelzcom-theme .card,
html[data-skin="bordered"] .sobelzcom-theme .panel_s > .panel-body,
html[data-skin="bordered"] .sobelzcom-theme .panel.panel-default {
  border-color: var(--sz-border-v4) !important;
  box-shadow: none !important;
}

.sobelzcom-theme .card-header,
.sobelzcom-theme .card-footer,
.sobelzcom-theme .panel-heading,
.sobelzcom-theme .panel-footer {
  border-color: var(--sz-border-v4) !important;
  background: transparent !important;
}

.sobelzcom-theme .card-header {
  padding: 1.05rem 1.2rem;
}

.sobelzcom-theme .card-body {
  padding: 1.2rem;
}

.sobelzcom-theme .sz-data-card,
.sobelzcom-theme .sz-chart-card {
  overflow: hidden;
}

.sobelzcom-theme .sz-chart-shell {
  position: relative;
  min-height: 20rem;
  padding: .35rem;
  border-radius: .75rem;
  background:
    linear-gradient(180deg, rgba(var(--sz-primary-rgb), .035), transparent 45%),
    var(--sz-paper-v4);
}

.sobelzcom-theme .table-responsive,
.sobelzcom-theme .card-datatable {
  overflow-x: auto;
}

.sobelzcom-theme table.table,
.sobelzcom-theme table.sz-vuexy-table {
  width: 100% !important;
  margin: 0 !important;
  color: var(--sz-text-v4);
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.sobelzcom-theme table.table > thead > tr > th,
.sobelzcom-theme table.sz-vuexy-table > thead > tr > th {
  padding: .82rem 1rem !important;
  border-block-end: 1px solid var(--sz-border-v4) !important;
  background: color-mix(in srgb, var(--sz-body-v4) 70%, var(--sz-paper-v4)) !important;
  color: var(--sz-muted-v4) !important;
  font-size: .69rem !important;
  font-weight: 700 !important;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sobelzcom-theme table.table > tbody > tr > td,
.sobelzcom-theme table.sz-vuexy-table > tbody > tr > td {
  padding: .86rem 1rem !important;
  border-block-end: 1px solid var(--sz-border-v4) !important;
  background: var(--sz-paper-v4);
  color: var(--sz-text-v4);
  vertical-align: middle !important;
}

.sobelzcom-theme table.table > tbody > tr:last-child > td,
.sobelzcom-theme table.sz-vuexy-table > tbody > tr:last-child > td {
  border-block-end: 0 !important;
}

.sobelzcom-theme table.table-hover > tbody > tr:hover > td,
.sobelzcom-theme table.sz-vuexy-table > tbody > tr:hover > td {
  background: var(--sz-primary-softer) !important;
}

.sobelzcom-theme .dataTables_wrapper,
.sobelzcom-theme .dt-container {
  color: var(--sz-text-v4);
}

.sobelzcom-theme .dataTables_filter input,
.sobelzcom-theme .dt-search input {
  min-width: 13rem;
}

.sobelzcom-theme .pagination {
  gap: .25rem;
}

.sobelzcom-theme .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  border: 0 !important;
  border-radius: .55rem !important;
  background: color-mix(in srgb, var(--sz-body-v4) 72%, var(--sz-paper-v4)) !important;
  color: var(--sz-text-v4) !important;
}

.sobelzcom-theme .page-link:hover {
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
}

/* Dynamic Vuexy hero gradient ------------------------------------------ */
.sobelzcom-theme .sz-dashboard-hero {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .24) 0 4.2rem, transparent 4.3rem),
    radial-gradient(circle at 74% 125%, rgba(255, 255, 255, .14) 0 8rem, transparent 8.1rem),
    var(--sz-primary-gradient-deep) !important;
  color: var(--sz-primary-contrast) !important;
  box-shadow: 0 .8rem 2rem rgba(var(--sz-primary-rgb), .30) !important;
}

html[dir="rtl"] .sobelzcom-theme .sz-dashboard-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .24) 0 4.2rem, transparent 4.3rem),
    radial-gradient(circle at 26% 125%, rgba(255, 255, 255, .14) 0 8rem, transparent 8.1rem),
    linear-gradient(225deg, var(--sz-primary-lighter) 0%, var(--sz-primary) 53%, var(--sz-primary-deep) 100%) !important;
}

.sobelzcom-theme .sz-dashboard-hero,
.sobelzcom-theme .sz-dashboard-hero h1,
.sobelzcom-theme .sz-dashboard-hero h2,
.sobelzcom-theme .sz-dashboard-hero h3,
.sobelzcom-theme .sz-dashboard-hero p,
.sobelzcom-theme .sz-dashboard-hero .sz-hero-eyebrow {
  color: var(--sz-primary-contrast) !important;
}

.sobelzcom-theme .sz-dashboard-hero .btn-light {
  border-color: rgba(255, 255, 255, .52) !important;
  background: rgba(255, 255, 255, .94) !important;
  color: var(--sz-primary-dark) !important;
  box-shadow: 0 .35rem .9rem rgba(25, 19, 61, .14) !important;
}

.sobelzcom-theme .sz-dashboard-hero .btn-hero-ghost {
  border: 1px solid rgba(255, 255, 255, .36) !important;
  background: rgba(255, 255, 255, .10) !important;
  color: var(--sz-primary-contrast) !important;
  backdrop-filter: blur(8px);
}

/* Compact KPI system ---------------------------------------------------- */
.sobelzcom-theme .sz-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)) !important;
  gap: .85rem !important;
}

.sobelzcom-theme .sz-kpi-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sobelzcom-theme a.sz-kpi-card:hover,
.sobelzcom-theme a.sz-kpi-card:focus-visible {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: var(--sz-card-shadow-hover-v4) !important;
}

.sobelzcom-theme .sz-kpi-card .card-body {
  position: relative;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: .15rem .8rem;
  min-height: 5.2rem;
  padding: .72rem .88rem !important;
}

.sobelzcom-theme .sz-kpi-card .sz-kpi-top {
  position: static;
  display: flex !important;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center !important;
  width: auto;
  gap: 0;
}

.sobelzcom-theme .sz-kpi-card .sz-kpi-top > .badge {
  position: absolute;
  inset-block-start: .78rem;
  inset-inline-end: .85rem;
}

.sobelzcom-theme .sz-kpi-icon {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.75rem !important;
  height: 2.75rem !important;
  border: 1px solid rgba(var(--sz-primary-rgb), .10);
  border-radius: .78rem !important;
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
}

.sobelzcom-theme .sz-kpi-icon i {
  font-size: 1.25rem !important;
}

.sobelzcom-theme .sz-kpi-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .15rem;
}

.sobelzcom-theme .sz-kpi-value-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.sobelzcom-theme .sz-kpi-value {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0 !important;
  color: var(--sz-heading-v4) !important;
  font-size: 1.48rem !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em;
}

.sobelzcom-theme .sz-kpi-label {
  display: block;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  color: var(--sz-muted-v4) !important;
  font-size: .78rem !important;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-kpi-arrow {
  flex: 0 0 auto;
  color: var(--sz-muted-v4);
  font-size: 1rem;
  opacity: .75;
  transition: transform .16s ease, color .16s ease;
}

.sobelzcom-theme a.sz-kpi-card:hover .sz-kpi-arrow {
  color: var(--sz-primary);
  transform: translate(.12rem, -.12rem);
}

html[dir="rtl"] .sobelzcom-theme a.sz-kpi-card:hover .sz-kpi-arrow {
  transform: translate(-.12rem, -.12rem) rotate(-90deg);
}

.sobelzcom-theme .sz-kpi-card[data-tone="success"] .sz-kpi-icon { background: rgba(40, 199, 111, .12) !important; color: #28c76f !important; border-color: rgba(40, 199, 111, .14); }
.sobelzcom-theme .sz-kpi-card[data-tone="info"] .sz-kpi-icon { background: rgba(0, 186, 209, .12) !important; color: #00bad1 !important; border-color: rgba(0, 186, 209, .14); }
.sobelzcom-theme .sz-kpi-card[data-tone="warning"] .sz-kpi-icon { background: rgba(255, 159, 67, .13) !important; color: #ff9f43 !important; border-color: rgba(255, 159, 67, .15); }
.sobelzcom-theme .sz-kpi-card[data-tone="danger"] .sz-kpi-icon { background: rgba(255, 76, 81, .12) !important; color: #ff4c51 !important; border-color: rgba(255, 76, 81, .14); }
.sobelzcom-theme .sz-kpi-card[data-tone="secondary"] .sz-kpi-icon { background: rgba(168, 170, 174, .14) !important; color: #7b7d82 !important; border-color: rgba(168, 170, 174, .16); }

.sobelzcom-theme .sz-status-kpi .sz-kpi-icon {
  background: color-mix(in srgb, var(--sz-status-color) 13%, transparent) !important;
  color: var(--sz-status-color) !important;
  border-color: color-mix(in srgb, var(--sz-status-color) 20%, transparent) !important;
}

.sobelzcom-theme .sz-status-kpi.is-active {
  border-color: color-mix(in srgb, var(--sz-status-color) 34%, transparent) !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--sz-status-color) 8%, var(--sz-paper-v4)), var(--sz-paper-v4)) !important;
}

.sobelzcom-theme .sz-status-kpi .sz-kpi-accent {
  width: .22rem !important;
  border-radius: 0 50rem 50rem 0;
  background: var(--sz-status-color) !important;
}

html[dir="rtl"] .sobelzcom-theme .sz-status-kpi .sz-kpi-accent {
  border-radius: 50rem 0 0 50rem;
}

.sobelzcom-theme .sz-kpi-card-progress .card-body {
  grid-template-rows: auto auto auto;
  min-height: 7rem;
  padding-block: .82rem !important;
}

.sobelzcom-theme .sz-kpi-card-progress .sz-kpi-progress {
  position: relative;
  display: block;
  grid-column: 1 / -1;
  grid-row: 3;
  height: .31rem;
  margin-top: .62rem;
  overflow: hidden;
  border-radius: 50rem;
  background: color-mix(in srgb, var(--sz-border-v4) 70%, transparent);
}

.sobelzcom-theme .sz-kpi-card-progress .sz-kpi-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sz-primary-gradient);
}

.sobelzcom-theme .sz-kpi-card-progress[data-tone="success"] .sz-kpi-progress > span { background: linear-gradient(90deg, #6ee7a3, #28c76f); }
.sobelzcom-theme .sz-kpi-card-progress[data-tone="info"] .sz-kpi-progress > span { background: linear-gradient(90deg, #62dce9, #00bad1); }
.sobelzcom-theme .sz-kpi-card-progress[data-tone="warning"] .sz-kpi-progress > span { background: linear-gradient(90deg, #ffc17f, #ff9f43); }
.sobelzcom-theme .sz-kpi-card-progress[data-tone="danger"] .sz-kpi-progress > span { background: linear-gradient(90deg, #ff8b8f, #ff4c51); }

.sobelzcom-theme .sz-kpi-card-progress .sz-kpi-meta {
  position: absolute;
  inset-block-end: .88rem;
  inset-inline: 4.55rem 1rem;
  display: flex;
  justify-content: space-between;
  margin: 0 !important;
  color: var(--sz-muted-v4);
  font-size: .66rem;
  pointer-events: none;
  transform: translateY(-.55rem);
  opacity: 0;
  transition: opacity .16s ease, transform .16s ease;
}

.sobelzcom-theme .sz-kpi-card-progress:hover .sz-kpi-meta,
.sobelzcom-theme .sz-kpi-card-progress:focus-within .sz-kpi-meta {
  opacity: 1;
  transform: translateY(-.78rem);
}

/* Milestone product component ------------------------------------------ */
.sobelzcom-theme .sz-milestone-board {
  display: block;
}

.sobelzcom-theme .sz-milestone-toolbar,
.sobelzcom-theme .sz-project-view-toolbar:has(+ .sz-milestone-grid),
.sobelzcom-theme .sz-project-view-toolbar:has(+ .sz-milestone-empty) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sobelzcom-theme .sz-milestone-summary,
.sobelzcom-theme .sz-milestone-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .42rem .66rem;
  border: 1px solid var(--sz-primary-border);
  border-radius: 50rem;
  background: var(--sz-primary-softer);
  color: var(--sz-primary);
  font-size: .7rem;
  font-weight: 650;
  white-space: nowrap;
}

.sobelzcom-theme .sz-milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  align-items: stretch;
  gap: 1rem;
}

.sobelzcom-theme .sz-milestone-card {
  --sz-milestone-state: var(--sz-milestone-color, var(--sz-primary));
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--sz-border-v4) !important;
  border-radius: var(--sz-card-radius) !important;
  background: var(--sz-paper-v4) !important;
  box-shadow: 0 .2rem .8rem rgba(47, 43, 61, .075) !important;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sobelzcom-theme .sz-milestone-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 2;
  height: .22rem;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--sz-milestone-state) 55%, #fff),
    var(--sz-milestone-state));
}

.sobelzcom-theme .sz-milestone-card::after {
  content: "";
  position: absolute;
  inset-block-start: -4.5rem;
  inset-inline-end: -4.25rem;
  z-index: -1;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--sz-milestone-state) 15%, transparent),
    transparent 69%);
  pointer-events: none;
}

.sobelzcom-theme .sz-milestone-card.is-complete { --sz-milestone-state: #28c76f; }
.sobelzcom-theme .sz-milestone-card.is-overdue { --sz-milestone-state: #ff4c51; }
.sobelzcom-theme .sz-milestone-card.is-upcoming { --sz-milestone-state: #00bad1; }

.sobelzcom-theme .sz-milestone-card:hover {
  border-color: color-mix(in srgb, var(--sz-milestone-state) 38%, var(--sz-border-v4)) !important;
  transform: translateY(-2px);
  box-shadow: var(--sz-card-shadow-hover-v4) !important;
}

.sobelzcom-theme .sz-milestone-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  min-height: 4.9rem;
  padding: 1rem 1rem .78rem;
  border-bottom: 1px solid color-mix(in srgb, var(--sz-border-v4) 72%, transparent);
}

.sobelzcom-theme .sz-milestone-title-wrap {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: .68rem;
}

.sobelzcom-theme .sz-milestone-icon {
  display: inline-flex;
  flex: 0 0 2.45rem;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid color-mix(in srgb, var(--sz-milestone-state) 22%, transparent);
  border-radius: .72rem;
  background: color-mix(in srgb, var(--sz-milestone-state) 12%, transparent);
  color: var(--sz-milestone-state);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 45%, transparent);
}

.sobelzcom-theme .sz-milestone-icon > i {
  font-size: 1.18rem;
}

.sobelzcom-theme .sz-milestone-title-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .32rem;
}

.sobelzcom-theme .sz-milestone-title {
  overflow: hidden;
  margin: .05rem 0 0 !important;
  color: var(--sz-heading-v4) !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-milestone-state {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: .28rem;
  padding: .22rem .48rem;
  border-radius: 50rem;
  background: color-mix(in srgb, var(--sz-milestone-state) 11%, transparent);
  color: var(--sz-milestone-state);
  font-size: .64rem;
  font-weight: 650;
  line-height: 1.25;
}

.sobelzcom-theme .sz-milestone-order {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.75rem;
  padding-inline: .48rem;
  border: 1px solid var(--sz-border-v4);
  border-radius: .52rem;
  background: color-mix(in srgb, var(--sz-body-v4) 76%, var(--sz-paper-v4));
  color: var(--sz-muted-v4);
  font-size: .67rem;
  font-weight: 700;
}

.sobelzcom-theme .sz-milestone-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: .88rem 1rem 1rem;
}

.sobelzcom-theme .sz-milestone-description {
  min-height: 2.65rem;
  margin: 0 0 .82rem !important;
  color: var(--sz-text-v4);
  font-size: .75rem;
  line-height: 1.62;
}

.sobelzcom-theme .sz-milestone-description p:last-child {
  margin-bottom: 0;
}

.sobelzcom-theme .sz-milestone-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: .88rem;
}

.sobelzcom-theme .sz-milestone-date {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .48rem;
  padding: .56rem .6rem;
  border: 1px solid var(--sz-border-v4);
  border-radius: .66rem;
  background: color-mix(in srgb, var(--sz-body-v4) 74%, var(--sz-paper-v4));
}

.sobelzcom-theme .sz-milestone-date-icon {
  display: inline-flex;
  flex: 0 0 1.75rem;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: .5rem;
  background: color-mix(in srgb, var(--sz-milestone-state) 10%, transparent);
  color: var(--sz-milestone-state);
}

.sobelzcom-theme .sz-milestone-date-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.sobelzcom-theme .sz-milestone-date-copy small {
  color: var(--sz-muted-v4);
  font-size: .58rem;
}

.sobelzcom-theme .sz-milestone-date-copy strong {
  overflow: hidden;
  color: var(--sz-heading-v4);
  font-size: .68rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-milestone-progress {
  margin-top: auto;
  padding-top: .76rem;
  border-top: 1px dashed color-mix(in srgb, var(--sz-border-v4) 84%, transparent);
}

.sobelzcom-theme .sz-milestone-progress-head,
.sobelzcom-theme .sz-milestone-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.sobelzcom-theme .sz-milestone-progress-head {
  margin-bottom: .42rem;
  color: var(--sz-muted-v4);
  font-size: .66rem;
}

.sobelzcom-theme .sz-milestone-progress-head strong {
  color: var(--sz-milestone-state);
  font-size: .72rem;
}

.sobelzcom-theme .sz-milestone-progress .progress {
  height: .38rem;
  margin: 0;
  overflow: hidden;
  border-radius: 50rem;
  background: color-mix(in srgb, var(--sz-border-v4) 68%, transparent);
}

.sobelzcom-theme .sz-milestone-progress .progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--sz-milestone-state) 58%, #fff),
    var(--sz-milestone-state));
  box-shadow: none;
}

.sobelzcom-theme .sz-milestone-meta {
  margin-top: .62rem;
  color: var(--sz-muted-v4);
  font-size: .64rem;
}

.sobelzcom-theme .sz-milestone-meta > span {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
}

.sobelzcom-theme .sz-milestone-meta i {
  color: var(--sz-milestone-state);
  font-size: .82rem;
}

.sobelzcom-theme .sz-milestone-empty {
  display: grid;
  min-height: 13rem;
  place-items: center;
  padding: 1.5rem;
  border: 1px dashed var(--sz-primary-border);
  border-radius: var(--sz-card-radius);
  background: linear-gradient(135deg, var(--sz-primary-softer), transparent 70%);
  text-align: center;
}

/* Footer ---------------------------------------------------------------- */
.sobelzcom-theme .content-footer {
  flex: 0 0 auto;
  padding-block: .75rem 1.25rem;
  background: transparent !important;
}

.sobelzcom-theme .footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--sz-muted-v4);
  font-size: .75rem;
}

.sobelzcom-theme .footer-theme-signature {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--sz-primary);
  font-weight: 650;
}

/* Responsive off-canvas ------------------------------------------------ */
.sobelzcom-theme .layout-overlay {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
  background: rgba(32, 29, 41, .52);
  backdrop-filter: blur(2px);
}

.sobelzcom-theme .menu-mobile-toggler {
  position: fixed;
  inset-block-start: 50%;
  inset-inline-start: .35rem;
  z-index: 1078;
  transform: translateY(-50%);
}

html[dir="rtl"] .sobelzcom-theme .menu-mobile-toggler {
  inset-inline-start: auto;
  inset-inline-end: .35rem;
}

.sobelzcom-theme .menu-mobile-toggler .menu-link {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  box-shadow: 0 .35rem 1rem rgba(47, 43, 61, .22);
}

@media (max-width: 1199.98px) {
  :root {
    --sz-shell-gap: 1rem;
  }

  .sobelzcom-theme .layout-page,
  html[dir="rtl"] .sobelzcom-theme .layout-page {
    width: 100% !important;
    margin: 0 !important;
  }

  .sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
    width: min(18rem, 86vw) !important;
    transform: translateX(-105%) !important;
  }

  html[dir="rtl"] .sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
    transform: translateX(105%) !important;
  }

  html.layout-menu-expanded .sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
    transform: translateX(0) !important;
  }

  html.layout-menu-expanded,
  html.layout-menu-expanded body {
    overflow: hidden;
  }

  html.layout-menu-expanded .sobelzcom-theme .layout-overlay {
    display: block;
  }

  .sobelzcom-theme #layout-navbar.sobelzcom-navbar {
    margin-top: .75rem !important;
  }

  .sobelzcom-theme .menu-mobile-toggler {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  :root {
    --sz-shell-gap: .75rem;
  }

  .sobelzcom-theme #layout-navbar.sobelzcom-navbar {
    min-height: 4rem;
    margin-top: .65rem !important;
    padding: .48rem .6rem !important;
  }

  html.layout-navbar-fixed .sobelzcom-theme #layout-navbar.sobelzcom-navbar,
  html[data-header-type="fixed"] .sobelzcom-theme #layout-navbar.sobelzcom-navbar {
    inset-block-start: .65rem !important;
  }

  .sobelzcom-theme #content {
    padding-block: 1rem 1.4rem !important;
  }

  .sobelzcom-theme .sobelzcom-profile-toggle {
    gap: .3rem;
  }

  .sobelzcom-theme .sobelzcom-profile-chevron {
    display: none;
  }

  .sobelzcom-theme .sz-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .65rem !important;
  }

  .sobelzcom-theme .sz-kpi-card .card-body {
    min-height: 5.2rem;
    gap: .12rem .58rem;
    padding: .72rem !important;
  }

  .sobelzcom-theme .sz-kpi-icon {
    width: 2.35rem !important;
    height: 2.35rem !important;
    border-radius: .65rem !important;
  }

  .sobelzcom-theme .sz-kpi-value {
    font-size: 1.25rem !important;
  }

  .sobelzcom-theme .sz-kpi-label {
    font-size: .7rem !important;
  }

  .sobelzcom-theme .sz-kpi-card-progress .card-body {
    min-height: 6.4rem;
  }

  .sobelzcom-theme .sz-kpi-card-progress .sz-kpi-meta {
    display: none;
  }

  .sobelzcom-theme .sz-milestone-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .sobelzcom-theme .sz-milestone-summary-badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sobelzcom-theme .sz-milestone-date-track {
    grid-template-columns: 1fr;
  }

  .sobelzcom-theme .sz-milestone-track-line {
    width: .18rem;
    height: 1.25rem;
    margin-inline-start: .48rem;
  }

  .sobelzcom-theme .sz-milestone-track-line::before,
  .sobelzcom-theme .sz-milestone-track-line::after {
    inset-inline-start: 50%;
    inset-inline-end: auto;
    transform: translate(-50%, -50%);
  }

  .sobelzcom-theme .sz-milestone-track-line::before { inset-block-start: 0; }
  .sobelzcom-theme .sz-milestone-track-line::after { inset-block-start: 100%; }
  .sobelzcom-theme .sz-milestone-track-line > span { width: 100%; height: 72%; }

  .sobelzcom-theme .footer-container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 479.98px) {
  .sobelzcom-theme .sz-kpi-grid {
    grid-template-columns: 1fr !important;
  }

  .sobelzcom-theme .sobelzcom-profile-dropdown,
  .sobelzcom-theme .sobelzcom-theme-menu,
  .sobelzcom-theme .customer-top-submenu.dropdown-menu {
    max-width: calc(100vw - 1.5rem);
  }
}

/* Reduced motion ------------------------------------------------------- */
html[data-reduced-motion="on"] *,
html[data-reduced-motion="on"] *::before,
html[data-reduced-motion="on"] *::after {
  scroll-behavior: auto !important;
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}

@media (prefers-reduced-motion: reduce) {
  html[data-reduced-motion="auto"] *,
  html[data-reduced-motion="auto"] *::before,
  html[data-reduced-motion="auto"] *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .sobelzcom-theme #layout-menu,
  .sobelzcom-theme #layout-navbar,
  .sobelzcom-theme .layout-overlay,
  .sobelzcom-theme .menu-mobile-toggler {
    display: none !important;
  }

  .sobelzcom-theme .layout-page,
  html[dir="rtl"] .sobelzcom-theme .layout-page {
    width: 100% !important;
    margin: 0 !important;
  }

  .sobelzcom-theme .card,
  .sobelzcom-theme .sz-milestone-card {
    break-inside: avoid;
    border: 1px solid #d8d8dc !important;
    box-shadow: none !important;
  }
}


/* V4.0 final conflict guards -------------------------------------------
 * These rules intentionally sit last. Core plugins can refresh controls
 * after page load; each guard therefore handles both the normalized DOM and
 * the original legacy fragment without adding a second visual affordance. */
.sobelzcom-theme .input-icon > i ~ i,
.sobelzcom-theme .input-icon > svg ~ svg,
.sobelzcom-theme [data-input-icon] > i ~ i,
.sobelzcom-theme [data-input-icon] > svg ~ svg {
  display: none !important;
}

.sobelzcom-theme [data-sz-password-duplicate="1"],
.sobelzcom-theme .input-group:has(> .show_password) > [data-password-toggle]:not(.show_password),
.sobelzcom-theme .input-group:has(> .show_password) > .form-password-toggle:not(.show_password) {
  display: none !important;
}

/* Compact KPI composition: icon, value and label share one visual row-group
 * instead of stacking into three oversized rows. This supports both the V3
 * compatibility markup and the native V4 .sz-kpi-content markup. */
.sobelzcom-theme .sz-kpi-card .card-body {
  grid-template-columns: 2.45rem minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: .68rem !important;
  row-gap: .06rem !important;
  min-height: 5rem !important;
  padding: .68rem .8rem !important;
}

.sobelzcom-theme .sz-kpi-card .card-body > .sz-kpi-icon,
.sobelzcom-theme .sz-kpi-card .card-body > .sz-kpi-top {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  align-self: center !important;
}

.sobelzcom-theme .sz-kpi-card .card-body > .sz-kpi-content {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  align-self: center;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: .08rem;
}

.sobelzcom-theme .sz-kpi-card .sz-kpi-top {
  width: 2.45rem !important;
  min-width: 2.45rem !important;
}

.sobelzcom-theme .sz-kpi-card .sz-kpi-top > i:not(.sz-kpi-icon i) {
  position: absolute;
  inset-block-start: .66rem;
  inset-inline-end: .72rem;
  color: var(--sz-muted-v4);
  font-size: .95rem !important;
  opacity: .68;
}

.sobelzcom-theme .sz-kpi-card .sz-kpi-icon {
  width: 2.45rem !important;
  height: 2.45rem !important;
  border-radius: .68rem !important;
}

.sobelzcom-theme .sz-kpi-card .sz-kpi-icon i {
  font-size: 1.12rem !important;
}

.sobelzcom-theme .sz-kpi-card .sz-kpi-value {
  font-size: 1.34rem !important;
  line-height: 1.05 !important;
}

.sobelzcom-theme .sz-kpi-card .sz-kpi-label {
  font-size: .75rem !important;
  line-height: 1.25 !important;
}

.sobelzcom-theme .sz-kpi-card-progress .card-body {
  grid-template-rows: auto auto auto !important;
  min-height: 6.15rem !important;
  padding-block: .7rem !important;
}

/* Vuexy 10.7 uses a 5.25rem collapsed rail. Declare it explicitly so the
 * custom shell and core menu calculations cannot drift apart. */
:root {
  --sz-menu-collapsed-width: 5.25rem;
  --bs-menu-collapsed-width: 5.25rem;
}

@media (max-width: 1199.98px) {
  html.layout-menu-expanded body.sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
    transform: translate3d(0, 0, 0) !important;
  }

  html:not(.layout-menu-expanded) body.sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
    transform: translate3d(-105%, 0, 0) !important;
  }

  html[dir="rtl"]:not(.layout-menu-expanded) body.sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
    transform: translate3d(105%, 0, 0) !important;
  }
}

@media (max-width: 767.98px) {
  .sobelzcom-theme .sz-kpi-card .card-body {
    min-height: 4.8rem !important;
    padding: .62rem .7rem !important;
  }

  .sobelzcom-theme .sz-kpi-card-progress .card-body {
    min-height: 5.9rem !important;
  }
}

/* V4 milestone card system: markup-native, integrated, equal-height cards. */
.sobelzcom-theme .sz-milestone-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20.5rem), 1fr)) !important;
  align-items: stretch;
  gap: 1rem !important;
}

.sobelzcom-theme .sz-milestone-card {
  --sz-milestone-state-color: var(--sz-primary);
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--sz-milestone-color) 22%, var(--sz-border-v4)) !important;
  border-radius: calc(var(--sz-radius-v4) + .08rem) !important;
  background: var(--sz-paper-v4) !important;
  box-shadow: 0 .25rem .9rem rgba(47, 43, 61, .07) !important;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sobelzcom-theme .sz-milestone-card::before {
  position: absolute;
  z-index: 2;
  inset-block-start: 0;
  inset-inline: 0;
  height: .22rem;
  border-radius: inherit inherit 0 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--sz-milestone-color) 58%, white),
    var(--sz-milestone-color),
    color-mix(in srgb, var(--sz-milestone-color) 78%, black));
  content: "";
}

.sobelzcom-theme .sz-milestone-card::after {
  position: absolute;
  z-index: -1;
  inset-block-start: -4.5rem;
  inset-inline-end: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--sz-milestone-color) 14%, transparent),
    transparent 68%);
  content: "";
  pointer-events: none;
}

.sobelzcom-theme .sz-milestone-card:hover {
  border-color: color-mix(in srgb, var(--sz-milestone-color) 40%, var(--sz-border-v4)) !important;
  transform: translateY(-3px);
  box-shadow: 0 .75rem 1.65rem rgba(47, 43, 61, .13) !important;
}

.sobelzcom-theme .sz-milestone-card.is-complete { --sz-milestone-state-color: #28c76f; }
.sobelzcom-theme .sz-milestone-card.is-overdue { --sz-milestone-state-color: #ff4c51; }
.sobelzcom-theme .sz-milestone-card.is-upcoming { --sz-milestone-state-color: #00bad1; }
.sobelzcom-theme .sz-milestone-card.is-active { --sz-milestone-state-color: var(--sz-primary); }

.sobelzcom-theme .sz-milestone-card-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: .8rem !important;
  padding: 1.05rem 1.05rem .82rem !important;
  border-bottom: 1px solid color-mix(in srgb, var(--sz-milestone-color) 12%, var(--sz-border-v4));
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--sz-milestone-color) 8%, var(--sz-paper-v4)),
    color-mix(in srgb, var(--sz-milestone-color) 2%, var(--sz-paper-v4)) 72%);
}

.sobelzcom-theme .sz-milestone-title-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .72rem;
}

.sobelzcom-theme .sz-milestone-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid color-mix(in srgb, var(--sz-milestone-color) 22%, transparent);
  border-radius: .72rem;
  background: color-mix(in srgb, var(--sz-milestone-color) 11%, var(--sz-paper-v4));
  color: var(--sz-milestone-color);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, white 20%, transparent);
}

.sobelzcom-theme .sz-milestone-icon i {
  font-size: 1.18rem;
}

.sobelzcom-theme .sz-milestone-title-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .28rem;
}

.sobelzcom-theme .sz-milestone-title {
  max-width: 100%;
  margin: 0 !important;
  overflow: hidden;
  color: var(--sz-heading-v4) !important;
  font-size: .94rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-milestone-state {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: .28rem;
  color: var(--sz-milestone-state-color);
  font-size: .67rem;
  font-weight: 600;
  line-height: 1.25;
}

.sobelzcom-theme .sz-milestone-state i {
  font-size: .82rem;
}

.sobelzcom-theme .sz-milestone-order {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.7rem;
  padding-inline: .48rem;
  border: 1px solid color-mix(in srgb, var(--sz-milestone-color) 16%, var(--sz-border-v4));
  border-radius: 50rem;
  background: color-mix(in srgb, var(--sz-milestone-color) 7%, var(--sz-paper-v4));
  color: var(--sz-muted-v4);
  font-size: .64rem;
  font-weight: 700;
}

.sobelzcom-theme .sz-milestone-body {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .9rem;
  padding: .95rem 1.05rem 1.02rem;
}

.sobelzcom-theme .sz-milestone-body .sz-milestone-description {
  display: -webkit-box;
  min-height: 2.7rem;
  margin: 0;
  overflow: hidden;
  color: var(--sz-text-v4);
  font-size: .75rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sobelzcom-theme .sz-milestone-body .sz-milestone-description > :last-child {
  margin-bottom: 0 !important;
}

.sobelzcom-theme .sz-milestone-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  padding: .58rem;
  border: 1px solid var(--sz-border-v4);
  border-radius: .7rem;
  background: color-mix(in srgb, var(--sz-body-v4) 70%, var(--sz-paper-v4));
}

.sobelzcom-theme .sz-milestone-date {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .42rem;
  padding: .12rem .18rem;
}

.sobelzcom-theme .sz-milestone-date + .sz-milestone-date {
  border-inline-start: 1px solid var(--sz-border-v4);
  padding-inline-start: .65rem;
}

.sobelzcom-theme .sz-milestone-date-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.82rem;
  height: 1.82rem;
  border-radius: .52rem;
  background: color-mix(in srgb, var(--sz-milestone-color) 10%, var(--sz-paper-v4));
  color: var(--sz-milestone-color);
}

.sobelzcom-theme .sz-milestone-card.is-overdue .sz-milestone-date:last-child .sz-milestone-date-icon {
  background: rgba(255, 76, 81, .1);
  color: #ff4c51;
}

.sobelzcom-theme .sz-milestone-date-icon i {
  font-size: .88rem;
}

.sobelzcom-theme .sz-milestone-date-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.sobelzcom-theme .sz-milestone-date-copy small {
  color: var(--sz-muted-v4);
  font-size: .58rem;
  line-height: 1.2;
}

.sobelzcom-theme .sz-milestone-date-copy strong {
  overflow: hidden;
  color: var(--sz-heading-v4);
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-milestone-progress {
  display: flex;
  margin-top: auto;
  flex-direction: column;
  gap: .48rem;
}

.sobelzcom-theme .sz-milestone-progress-head,
.sobelzcom-theme .sz-milestone-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}

.sobelzcom-theme .sz-milestone-progress-head {
  color: var(--sz-muted-v4);
  font-size: .67rem;
}

.sobelzcom-theme .sz-milestone-progress-head strong {
  color: var(--sz-heading-v4);
  font-size: .72rem;
}

.sobelzcom-theme .sz-milestone-progress .progress {
  height: .38rem !important;
  overflow: hidden;
  border-radius: 50rem !important;
  background: color-mix(in srgb, var(--sz-milestone-color) 10%, var(--sz-border-v4)) !important;
}

.sobelzcom-theme .sz-milestone-progress .progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--sz-milestone-color) 58%, white),
    var(--sz-milestone-color)) !important;
  box-shadow: 0 0 .55rem color-mix(in srgb, var(--sz-milestone-color) 28%, transparent);
}

.sobelzcom-theme .sz-milestone-meta {
  padding-top: .08rem;
  color: var(--sz-muted-v4);
  font-size: .65rem;
}

.sobelzcom-theme .sz-milestone-meta > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: .28rem;
}

.sobelzcom-theme .sz-milestone-meta i {
  color: var(--sz-milestone-color);
  font-size: .8rem;
}

/* The generic menu-link rule must never stretch the brand controls. */
.sobelzcom-theme #layout-menu .sobelzcom-sidebar-toggle,
.sobelzcom-theme #layout-menu .sobelzcom-sidebar-close {
  display: inline-flex !important;
  flex: 0 0 2.25rem !important;
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.25rem !important;
  min-height: 2.25rem !important;
  padding: 0 !important;
}

@media (max-width: 575.98px) {
  .sobelzcom-theme .sz-milestone-card-header {
    padding: .9rem .9rem .72rem !important;
  }

  .sobelzcom-theme .sz-milestone-body {
    gap: .75rem;
    padding: .82rem .9rem .9rem;
  }

  .sobelzcom-theme .sz-milestone-dates {
    grid-template-columns: 1fr;
  }

  .sobelzcom-theme .sz-milestone-date + .sz-milestone-date {
    border-block-start: 1px solid var(--sz-border-v4);
    border-inline-start: 0;
    padding-block-start: .5rem;
    padding-inline-start: .18rem;
  }
}

@media (min-width: 1200px) {
  .sobelzcom-theme #layout-menu .sobelzcom-sidebar-toggle {
    display: inline-flex !important;
  }

  .sobelzcom-theme #layout-menu .sobelzcom-sidebar-close {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  .sobelzcom-theme #layout-menu .sobelzcom-sidebar-toggle {
    display: none !important;
  }

  .sobelzcom-theme #layout-menu .sobelzcom-sidebar-close {
    display: inline-flex !important;
  }
}

/* -------------------------------------------------------------------------
   Sobelzcom 4.1 refinement layer
   Single-owner dropdowns, Vuexy Kanban, compact progress, aligned shell,
   extension navigation and customer activity notifications.
   ------------------------------------------------------------------------- */

:root {
  --sz-content-max: 90rem;
  --sz-progress-height: 1.28rem;
  --sz-kanban-width: 20.5rem;
}

/* Navbar and content share one logical frame in both directions.
   The sidebar is fixed, so the page shell must not participate in an RTL
   flex-size negotiation when an extension opens a wide dropdown. */
.sobelzcom-theme .layout-container {
  display: block !important;
}

.sobelzcom-theme .layout-page {
  display: flex !important;
  flex: none !important;
  width: calc(100% - var(--sz-sidebar-width)) !important;
  max-width: calc(100% - var(--sz-sidebar-width)) !important;
  margin-inline-start: var(--sz-sidebar-width) !important;
  margin-inline-end: 0 !important;
}

.sobelzcom-theme .sobelzcom-shell-frame {
  box-sizing: border-box !important;
  width: calc(100% - (var(--sz-shell-gap) * 2)) !important;
  max-width: var(--sz-content-max) !important;
  margin-inline: auto !important;
}

.sobelzcom-theme #layout-navbar.sobelzcom-shell-frame {
  margin-block-start: 1rem !important;
  margin-block-end: 0 !important;
  padding-inline: .9rem !important;
}

.sobelzcom-theme .sobelzcom-content-container.sobelzcom-shell-frame,
.sobelzcom-theme .sobelzcom-alerts-container.sobelzcom-shell-frame,
.sobelzcom-theme .content-footer .sobelzcom-shell-frame {
  padding-inline: 0 !important;
}

.sobelzcom-theme .sobelzcom-content-container > .row,
.sobelzcom-theme .sobelzcom-alerts-container > .row {
  margin-inline: 0 !important;
}

html[data-content-layout="wide"] .sobelzcom-theme .sobelzcom-shell-frame {
  max-width: none !important;
}

@media (min-width: 1200px) {
  html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme .layout-page {
    width: calc(100% - var(--sz-sidebar-collapsed-width)) !important;
    max-width: calc(100% - var(--sz-sidebar-collapsed-width)) !important;
    margin-inline-start: var(--sz-sidebar-collapsed-width) !important;
    margin-inline-end: 0 !important;
  }
}

@media (max-width: 1199.98px) {
  .sobelzcom-theme .layout-page,
  html[dir="rtl"] .sobelzcom-theme .layout-page {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .sobelzcom-theme .sobelzcom-shell-frame {
    width: calc(100% - (var(--sz-shell-gap) * 2)) !important;
  }
}

/* Navbar extension area: module output can be a complete legacy ul.nav. */
.sobelzcom-theme .navbar-nav-right {
  display: flex !important;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: .65rem;
}

.sobelzcom-theme .sobelzcom-extension-nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  order: -1;
  margin-inline-end: auto;
  align-items: center;
}

.sobelzcom-theme .sobelzcom-extension-nav:empty {
  display: none !important;
}

.sobelzcom-theme .sobelzcom-extension-list,
.sobelzcom-theme .sobelzcom-extension-nav > ul,
.sobelzcom-theme .sobelzcom-extension-nav .navbar-nav,
.sobelzcom-theme .sobelzcom-extension-nav ul.nav {
  display: flex !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center;
  gap: .35rem;
  list-style: none !important;
}

.sobelzcom-theme .sobelzcom-extension-dropdown {
  position: relative;
  min-width: 0;
}

.sobelzcom-theme .sobelzcom-extension-toggle {
  display: flex !important;
  min-width: 0;
  max-width: min(34vw, 29rem);
  min-height: 2.55rem;
  margin: 0 !important;
  padding: .48rem .72rem !important;
  align-items: center;
  gap: .52rem;
  overflow: hidden;
  border: 1px solid var(--sz-border-v4);
  border-radius: .72rem;
  background: color-mix(in srgb, var(--sz-body-v4) 68%, var(--sz-paper-v4));
  color: var(--sz-heading-v4) !important;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sobelzcom-extension-toggle:hover,
.sobelzcom-theme .sobelzcom-extension-toggle:focus,
.sobelzcom-theme .sobelzcom-extension-toggle.show {
  border-color: var(--sz-primary-border);
  background: var(--sz-primary-soft);
  color: var(--sz-primary) !important;
}

.sobelzcom-theme .sobelzcom-extension-icon {
  flex: 0 0 auto;
  color: var(--sz-primary);
}


.sobelzcom-theme .sobelzcom-extension-chevron {
  flex: 0 0 auto;
  margin-inline-start: auto;
  color: var(--sz-muted-v4);
  font-size: .92rem;
  transition: transform .18s ease;
}

.sobelzcom-theme .sobelzcom-extension-toggle[aria-expanded="true"] .sobelzcom-extension-chevron,
.sobelzcom-theme .sobelzcom-extension-toggle.show .sobelzcom-extension-chevron {
  transform: rotate(180deg);
}

.sobelzcom-theme .sobelzcom-extension-menu {
  min-width: min(24rem, calc(100vw - 2rem));
  max-width: min(30rem, calc(100vw - 2rem));
  padding: .45rem !important;
}

.sobelzcom-theme .sobelzcom-extension-menu .dropdown-item {
  overflow: hidden;
  border-radius: .55rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .sobelzcom-theme .sobelzcom-extension-toggle {
    max-width: min(42vw, 18rem);
  }
}

@media (max-width: 575.98px) {
  .sobelzcom-theme .sobelzcom-navbar-context {
    display: none !important;
  }

  .sobelzcom-theme .sobelzcom-extension-nav {
    flex: 1 1 auto;
    overflow: hidden;
  }

  .sobelzcom-theme .sobelzcom-extension-toggle {
    max-width: min(47vw, 13.5rem);
    padding-inline: .55rem !important;
  }

  .sobelzcom-theme .sobelzcom-navbar-actions {
    flex: 0 0 auto;
  }
}

/* Vuexy-style notification bell and activity dropdown. */
.sobelzcom-theme .sobelzcom-notification-toggle {
  position: relative;
}

.sobelzcom-theme .sobelzcom-notification-badge {
  position: absolute;
  inset-block-start: .12rem;
  inset-inline-end: .02rem;
  display: inline-flex;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 .25rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sz-paper-v4);
  font-size: .56rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 .16rem .42rem rgba(255, 76, 81, .28);
}

.sobelzcom-theme .sobelzcom-notification-menu {
  width: min(24rem, calc(100vw - 1.5rem));
  padding: 0 !important;
  overflow: hidden;
}

.sobelzcom-theme .sobelzcom-notification-header {
  display: flex;
  padding: .9rem 1rem .75rem;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  border-bottom: 1px solid var(--sz-border-v4);
}

.sobelzcom-theme .sobelzcom-notification-header > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.sobelzcom-theme .sobelzcom-notification-header strong {
  color: var(--sz-heading-v4);
  font-size: .88rem;
}

.sobelzcom-theme .sobelzcom-notification-header small {
  margin-top: .14rem;
  color: var(--sz-muted-v4);
  font-size: .66rem;
}

.sobelzcom-theme .sobelzcom-notification-read-all {
  flex: 0 0 auto;
  padding: .34rem .55rem !important;
  font-size: .63rem !important;
}

.sobelzcom-theme .sobelzcom-notification-list {
  max-height: min(25rem, 62vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sobelzcom-theme .sobelzcom-notification-item {
  position: relative;
  display: grid !important;
  grid-template-columns: 2.35rem minmax(0, 1fr) .45rem;
  gap: .72rem;
  padding: .72rem .9rem !important;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--sz-border-v4) 74%, transparent);
  border-radius: 0 !important;
  white-space: normal !important;
}

.sobelzcom-theme .sobelzcom-notification-item:hover,
.sobelzcom-theme .sobelzcom-notification-item:focus {
  background: var(--sz-primary-softer) !important;
}

.sobelzcom-theme .sobelzcom-notification-icon {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: .72rem;
}

.sobelzcom-theme .sobelzcom-notification-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .16rem;
}

.sobelzcom-theme .sobelzcom-notification-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--sz-heading-v4);
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sobelzcom-theme .sobelzcom-notification-copy small {
  overflow: hidden;
  color: var(--sz-muted-v4);
  font-size: .63rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sobelzcom-notification-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--sz-primary);
  box-shadow: 0 0 0 .22rem var(--sz-primary-soft);
}

.sobelzcom-theme .sobelzcom-notification-empty {
  display: flex;
  min-height: 11rem;
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .72rem;
  color: var(--sz-heading-v4);
  text-align: center;
}

.sobelzcom-theme .sobelzcom-notification-empty strong {
  font-size: .78rem;
}

/* Select plugin: one lifecycle, one arrow, one visible outer menu. */
.sobelzcom-theme .bootstrap-select {
  position: relative !important;
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0;
  vertical-align: middle;
}

/* bootstrap-select sometimes inherits .form-select from the source view.
   Neutralize that outer control completely; otherwise Bootstrap paints a
   second native arrow and its padding makes the real toggle look split. */
.sobelzcom-theme .bootstrap-select.form-select,
.sobelzcom-theme .bootstrap-select.form-control {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  appearance: none !important;
}

.sobelzcom-theme .bootstrap-select > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-toggle {
  display: flex !important;
  width: 100% !important;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  text-align: start !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-toggle .filter-option,
.sobelzcom-theme .bootstrap-select > .dropdown-toggle .filter-option-inner,
.sobelzcom-theme .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-align: start !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .bootstrap-select > .dropdown-menu {
  position: absolute !important;
  z-index: 1095 !important;
  inset-block-start: calc(100% + .35rem) !important;
  inset-inline-start: 0 !important;
  inset-inline-end: auto !important;
  display: none !important;
  width: max(100%, 14rem) !important;
  min-width: 100% !important;
  max-width: min(30rem, calc(100vw - 2rem));
  margin: 0 !important;
  padding: .4rem !important;
  overflow: hidden !important;
  border: 1px solid var(--sz-border-v4) !important;
  border-radius: .72rem !important;
  background: var(--sz-paper-v4) !important;
  box-shadow: 0 .75rem 2rem rgba(47, 43, 61, .16) !important;
  transform: none !important;
}

html[dir="rtl"] .sobelzcom-theme .bootstrap-select > .dropdown-menu {
  inset-inline-start: auto !important;
  inset-inline-end: 0 !important;
}

.sobelzcom-theme .bootstrap-select.open > .dropdown-menu,
.sobelzcom-theme .bootstrap-select.show > .dropdown-menu,
.sobelzcom-theme .bootstrap-select[data-sz-select-open="1"] > .dropdown-menu {
  display: block !important;
}


.sobelzcom-theme .bootstrap-select.open > .dropdown-toggle,
.sobelzcom-theme .bootstrap-select.show > .dropdown-toggle,
.sobelzcom-theme .bootstrap-select[data-sz-select-open="1"] > .dropdown-toggle {
  border-color: var(--sz-primary) !important;
  box-shadow: 0 0 0 .2rem rgba(var(--sz-primary-rgb), .14) !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-menu.open,
.sobelzcom-theme .bootstrap-select > .dropdown-menu.show {
  visibility: visible !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-menu > .bs-searchbox {
  padding: .2rem .2rem .45rem !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-menu > .bs-searchbox .form-control {
  min-height: 2.35rem !important;
  padding-inline: .72rem !important;
  border-radius: .58rem !important;
}

.sobelzcom-theme .bootstrap-select > .dropdown-menu > .inner,
.sobelzcom-theme .bootstrap-select .sz-select-listbox {
  display: block !important;
  max-height: min(21rem, 48vh) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.sobelzcom-theme .bootstrap-select .dropdown-menu.inner,
.sobelzcom-theme .bootstrap-select .sz-select-options {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.sobelzcom-theme .bootstrap-select .dropdown-menu.inner > li > a {
  display: flex !important;
  min-height: 2.25rem;
  padding: .48rem .65rem !important;
  align-items: center;
  border-radius: .52rem;
  color: var(--sz-text-v4) !important;
  cursor: pointer;
  font-size: .75rem;
}

.sobelzcom-theme .bootstrap-select .dropdown-menu.inner > li > a:hover,
.sobelzcom-theme .bootstrap-select .dropdown-menu.inner > li > a:focus,
.sobelzcom-theme .bootstrap-select .dropdown-menu.inner > li.active > a,
.sobelzcom-theme .bootstrap-select .dropdown-menu.inner > li.selected > a {
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
}

.sobelzcom-theme .bootstrap-select .dropdown-menu.inner .text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.sobelzcom-theme .bootstrap-select.dropup > .dropdown-menu {
  inset-block-start: auto !important;
  inset-block-end: calc(100% + .35rem) !important;
}

/* Inline submenus stay inside their parent dropdown; no detached Popper list. */
.sobelzcom-theme .sobelzcom-inline-submenu {
  position: static !important;
}

.sobelzcom-theme .sobelzcom-inline-submenu > .sobelzcom-submenu-toggle {
  width: 100%;
}

.sobelzcom-theme .sobelzcom-submenu-chevron {
  transition: transform .18s ease;
}

.sobelzcom-theme .sobelzcom-submenu-toggle[aria-expanded="true"] .sobelzcom-submenu-chevron {
  transform: rotate(180deg);
}

.sobelzcom-theme .sobelzcom-language-panel,
.sobelzcom-theme .sz-inline-submenu-menu {
  position: static !important;
  inset: auto !important;
  display: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: .25rem .42rem .45rem !important;
  padding: .35rem !important;
  overflow: hidden !important;
  border: 1px solid var(--sz-border-v4) !important;
  border-radius: .62rem !important;
  background: color-mix(in srgb, var(--sz-body-v4) 72%, var(--sz-paper-v4)) !important;
  box-shadow: none !important;
  transform: none !important;
}

.sobelzcom-theme .sobelzcom-language-panel.show,
.sobelzcom-theme .sz-inline-submenu-menu.show,
.sobelzcom-theme .sobelzcom-language-panel:not([hidden]) {
  display: block !important;
}

.sobelzcom-theme .sobelzcom-language-list,
.sobelzcom-theme .sz-inline-submenu-menu {
  list-style: none;
}

.sobelzcom-theme .sobelzcom-language-list {
  max-height: 14rem;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

.sobelzcom-theme .sobelzcom-language-list .dropdown-item,
.sobelzcom-theme .sz-inline-submenu-menu > li > .dropdown-item {
  min-height: 2.15rem;
  padding: .42rem .58rem !important;
  border-radius: .48rem;
  font-size: .72rem;
}

/* DataTables search: the input group owns the only search glyph. */
.sobelzcom-theme .dataTables_filter,
.sobelzcom-theme .dt-search {
  position: relative;
}

.sobelzcom-theme .dataTables_filter > .sz-dt-search-icon,
.sobelzcom-theme .dt-search > .sz-dt-search-icon {
  display: none !important;
}

.sobelzcom-theme .sz-dt-search-group {
  width: min(18rem, 100%);
  flex-wrap: nowrap;
}

.sobelzcom-theme .sz-dt-search-group [data-sz-dt-search-icon] {
  flex: 0 0 2.55rem;
}

.sobelzcom-theme .sz-dt-search-group input[type="search"] {
  min-width: 0;
  padding-inline: .7rem !important;
}

/* Progress: enough height and a stable centered percentage label. */
.sobelzcom-theme .progress.sz-progress,
.sobelzcom-theme .sz-progress {
  position: relative !important;
  display: flex !important;
  height: var(--sz-progress-height) !important;
  min-height: var(--sz-progress-height) !important;
  margin: 0;
  overflow: hidden !important;
  align-items: stretch;
  border: 1px solid color-mix(in srgb, var(--sz-border-v4) 82%, transparent);
  border-radius: 50rem !important;
  background: color-mix(in srgb, var(--sz-primary) 8%, var(--sz-border-v4)) !important;
  isolation: isolate;
}

.sobelzcom-theme .progress.sz-progress > .progress-bar,
.sobelzcom-theme .sz-progress > .progress-bar {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--sz-primary-gradient) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 0 .6rem rgba(var(--sz-primary-rgb), .22);
  transition: width .32s ease;
}

.sobelzcom-theme .sz-progress-label {
  position: absolute;
  z-index: 3;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  display: inline-flex !important;
  min-width: 2.35rem;
  min-height: 1rem;
  padding: .1rem .38rem;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--sz-border-v4) 78%, transparent);
  border-radius: 50rem;
  background: color-mix(in srgb, var(--sz-paper-v4) 88%, transparent);
  color: var(--sz-heading-v4);
  font-size: .66rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  box-shadow: 0 .08rem .26rem rgba(47, 43, 61, .14);
  transform: translate(50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

html[dir="ltr"] .sobelzcom-theme .sz-progress-label {
  transform: translate(-50%, -50%);
}

html[data-bs-theme="dark"] .sobelzcom-theme .sz-progress-label {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(37, 41, 60, .86);
  color: #fff;
  box-shadow: 0 .08rem .28rem rgba(0, 0, 0, .28);
}

.sobelzcom-theme .sz-milestone-progress .progress.sz-progress,
.sobelzcom-theme .sz-kanban-progress {
  height: 1.28rem !important;
  min-height: 1.28rem !important;
}

/* Vuexy Kanban application surface. */
.sobelzcom-theme .app-kanban,
.sobelzcom-theme .tasks-phases.app-kanban {
  position: relative;
  width: 100%;
  min-width: 0;
}

.sobelzcom-theme .app-kanban .kanban-wrapper {
  width: 100%;
  padding: .25rem .1rem .8rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--sz-primary) 34%, transparent) transparent;
  scroll-snap-type: inline proximity;
}

.sobelzcom-theme .app-kanban .kanban-container {
  display: grid !important;
  min-width: max-content;
  margin: 0 !important;
  padding: 0 !important;
  grid-auto-columns: var(--sz-kanban-width);
  grid-auto-flow: column;
  align-items: start;
  gap: 1rem;
}

.sobelzcom-theme .app-kanban .kanban-board,
.sobelzcom-theme .app-kanban .kan-ban-col {
  position: relative;
  display: flex !important;
  width: var(--sz-kanban-width) !important;
  min-width: var(--sz-kanban-width) !important;
  max-width: var(--sz-kanban-width) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: .48rem !important;
  overflow: visible !important;
  flex: none !important;
  flex-direction: column;
  border: 1px solid color-mix(in srgb, var(--sz-border-v4) 88%, transparent) !important;
  border-radius: .95rem !important;
  background: color-mix(in srgb, var(--sz-body-v4) 76%, var(--sz-paper-v4)) !important;
  box-shadow: 0 .28rem 1rem rgba(47, 43, 61, .055) !important;
  scroll-snap-align: start;
}

.sobelzcom-theme .app-kanban .kanban-board::before {
  position: absolute;
  inset-block-start: .1rem;
  inset-inline-start: .82rem;
  width: 2.6rem;
  height: .18rem;
  border-radius: 50rem;
  background: var(--sz-phase-color, var(--sz-primary));
  content: "";
  box-shadow: 0 0 .55rem color-mix(in srgb, var(--sz-phase-color, var(--sz-primary)) 35%, transparent);
}

.sobelzcom-theme .app-kanban .kanban-board-header,
.sobelzcom-theme .app-kanban .panel-heading {
  position: relative;
  display: flex !important;
  min-height: 4.25rem;
  padding: .9rem .9rem .72rem !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: .65rem;
  border: 0 !important;
  border-radius: .7rem !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sobelzcom-theme .app-kanban .kanban-title-board-wrap,
.sobelzcom-theme .app-kanban .sz-kanban-title-wrap {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: flex-start;
  gap: .62rem;
}

.sobelzcom-theme .app-kanban .kanban-title-accent,
.sobelzcom-theme .app-kanban .sz-kanban-title-accent {
  display: inline-flex;
  width: .62rem;
  height: .62rem;
  margin-block-start: .18rem;
  flex: 0 0 auto;
  border: 2px solid color-mix(in srgb, var(--sz-phase-color, var(--sz-primary)) 28%, var(--sz-paper-v4));
  border-radius: 50%;
  background: var(--sz-phase-color, var(--sz-primary));
  box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--sz-phase-color, var(--sz-primary)) 10%, transparent);
}

.sobelzcom-theme .app-kanban .kanban-title-row,
.sobelzcom-theme .app-kanban .sz-kanban-title-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: .42rem;
}

.sobelzcom-theme .app-kanban .kanban-description-button {
  width: 1.55rem !important;
  min-width: 1.55rem !important;
  height: 1.55rem !important;
  padding: 0 !important;
  flex: 0 0 auto;
}

.sobelzcom-theme .app-kanban .kanban-title-board {
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  color: var(--sz-heading-v4) !important;
  font-size: .83rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .app-kanban .sz-kanban-board-copy,
.sobelzcom-theme .app-kanban .kanban-title-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .34rem;
}

.sobelzcom-theme .app-kanban .sz-kanban-board-dates,
.sobelzcom-theme .app-kanban .kanban-board-dates {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: .3rem;
  overflow: hidden;
  color: var(--sz-muted-v4);
  font-size: .62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .app-kanban .sz-kanban-board-dates i,
.sobelzcom-theme .app-kanban .kanban-board-dates i {
  flex: 0 0 auto;
  color: var(--sz-phase-color, var(--sz-primary));
}

.sobelzcom-theme .app-kanban .sz-kanban-count,
.sobelzcom-theme .app-kanban .kanban-board-count {
  display: inline-flex;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 .45rem;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--sz-phase-color, var(--sz-primary)) 18%, var(--sz-border-v4));
  border-radius: 50rem;
  background: color-mix(in srgb, var(--sz-phase-color, var(--sz-primary)) 9%, var(--sz-paper-v4));
  color: var(--sz-phase-color, var(--sz-primary));
  font-size: .65rem;
  font-weight: 700;
}

.sobelzcom-theme .app-kanban .kanban-board-body,
.sobelzcom-theme .app-kanban .sz-kanban-items,
.sobelzcom-theme .app-kanban .panel-body {
  display: grid !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: .2rem 0 .48rem !important;
  padding: .08rem !important;
  overflow: visible !important;
  align-content: start;
  gap: .58rem;
  background: transparent !important;
}

.sobelzcom-theme .app-kanban .kanban-item,
.sobelzcom-theme .app-kanban .sz-kanban-item,
.sobelzcom-theme .app-kanban ._task_wrapper {
  position: relative;
  display: flex;
  min-width: 0;
  margin: 0 !important;
  padding: .78rem .82rem !important;
  overflow: hidden;
  flex-direction: column;
  gap: .56rem;
  border: 1px solid var(--sz-border-v4) !important;
  border-radius: .76rem !important;
  background: var(--sz-paper-v4) !important;
  box-shadow: 0 .2rem .72rem rgba(47, 43, 61, .075) !important;
  cursor: default;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sobelzcom-theme .app-kanban .kanban-item::before {
  position: absolute;
  inset-block: .55rem;
  inset-inline-start: 0;
  width: .18rem;
  border-radius: 0 50rem 50rem 0;
  background: var(--sz-phase-color, var(--sz-primary));
  content: "";
  opacity: .72;
}

html[dir="rtl"] .sobelzcom-theme .app-kanban .kanban-item::before {
  border-radius: 50rem 0 0 50rem;
}

.sobelzcom-theme .app-kanban .kanban-item:hover,
.sobelzcom-theme .app-kanban .kanban-item:focus-within {
  border-color: color-mix(in srgb, var(--sz-phase-color, var(--sz-primary)) 33%, var(--sz-border-v4)) !important;
  transform: translateY(-2px);
  box-shadow: 0 .55rem 1.3rem rgba(47, 43, 61, .12) !important;
}

.sobelzcom-theme .app-kanban .kanban-item.is-complete::before {
  background: #28c76f;
}

.sobelzcom-theme .app-kanban .kanban-item.is-overdue::before {
  background: #ff4c51;
}

.sobelzcom-theme .app-kanban .kanban-item-header {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: .55rem;
}

.sobelzcom-theme .app-kanban .kanban-item-title {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: var(--sz-heading-v4) !important;
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sobelzcom-theme .app-kanban .kanban-item-action {
  flex: 0 0 auto;
  width: 1.8rem !important;
  min-width: 1.8rem !important;
  height: 1.8rem !important;
  padding: 0 !important;
}

.sobelzcom-theme .app-kanban .kanban-item-status {
  display: flex;
  align-items: center;
}

.sobelzcom-theme .app-kanban .kanban-item-status > span,
.sobelzcom-theme .app-kanban .kanban-item-status .label,
.sobelzcom-theme .app-kanban .kanban-item-status .badge {
  display: inline-flex !important;
  min-height: 1.55rem;
  padding: .26rem .5rem !important;
  align-items: center;
  border: 0 !important;
  border-radius: 50rem !important;
  background: color-mix(in srgb, currentColor 11%, transparent) !important;
  font-size: .61rem !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

.sobelzcom-theme .app-kanban .kanban-item-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: .38rem;
}

.sobelzcom-theme .app-kanban .kanban-meta-chip {
  display: inline-flex;
  min-width: 0;
  min-height: 1.7rem;
  padding: .28rem .45rem;
  align-items: center;
  gap: .28rem;
  border: 1px solid var(--sz-border-v4);
  border-radius: .52rem;
  background: color-mix(in srgb, var(--sz-body-v4) 70%, var(--sz-paper-v4));
  color: var(--sz-muted-v4);
  font-size: .59rem;
  white-space: nowrap;
}

.sobelzcom-theme .app-kanban .kanban-meta-chip i {
  color: var(--sz-phase-color, var(--sz-primary));
  font-size: .75rem;
}

.sobelzcom-theme .app-kanban .sz-kanban-board-empty,
.sobelzcom-theme .app-kanban .kanban-empty-state {
  display: flex;
  min-height: 7rem;
  padding: 1rem;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--sz-border-v4);
  border-radius: .76rem;
  color: var(--sz-muted-v4);
  font-size: .69rem;
  text-align: center;
}

.sobelzcom-theme .app-kanban .sz-kanban-board-footer,
.sobelzcom-theme .app-kanban .panel-footer {
  display: flex;
  padding: .68rem .78rem !important;
  flex-direction: column;
  gap: .52rem;
  border: 1px solid color-mix(in srgb, var(--sz-phase-color, var(--sz-primary)) 14%, var(--sz-border-v4)) !important;
  border-radius: .72rem !important;
  background: var(--sz-paper-v4) !important;
  box-shadow: 0 .14rem .5rem rgba(47, 43, 61, .045) !important;
}

.sobelzcom-theme .app-kanban .sz-kanban-progress-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  color: var(--sz-muted-v4);
  font-size: .62rem;
}

.sobelzcom-theme .app-kanban .sz-kanban-progress-summary > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: .28rem;
}

.sobelzcom-theme .app-kanban .sz-kanban-progress-summary i {
  color: var(--sz-phase-color, var(--sz-primary));
}

.sobelzcom-theme .app-kanban .sz-kanban-progress > .progress-bar {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--sz-phase-color, var(--sz-primary)) 58%, white),
    var(--sz-phase-color, var(--sz-primary))) !important;
}

@media (max-width: 575.98px) {
  :root {
    --sz-kanban-width: min(86vw, 20rem);
  }
}

/* Compact KPI state: no duplicate percentage on hover. */
.sobelzcom-theme .sz-kpi-card-progress .sz-kpi-meta,
.sobelzcom-theme .sz-kpi-card-progress:hover .sz-kpi-meta,
.sobelzcom-theme .sz-kpi-card-progress:focus-within .sz-kpi-meta {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.sobelzcom-theme .sz-kpi-card .card-body,
.sobelzcom-theme .sz-kpi-card-progress .card-body {
  min-height: 5rem !important;
}

.sobelzcom-theme .sz-kpi-card-progress .sz-kpi-progress {
  position: absolute;
  inset-inline: .78rem;
  inset-block-end: .58rem;
  height: .34rem !important;
  min-height: .34rem !important;
}

/* Empty/proxy legacy cards no longer create nested white boxes. */
.sobelzcom-theme .sz-empty-legacy-panel,
.sobelzcom-theme .panel_s.sz-empty-legacy-panel,
.sobelzcom-theme .card.sz-empty-legacy-panel {
  display: none !important;
}

.sobelzcom-theme .row > .panel_s.sz-row-card,
.sobelzcom-theme .row > .sz-legacy-card.sz-row-card {
  width: 100% !important;
  min-width: 0;
  margin-inline: 0 !important;
}

.sobelzcom-theme .sz-nested-legacy-card,
.sobelzcom-theme .sz-card-proxy {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sobelzcom-theme .sz-nested-legacy-card > .card-body,
.sobelzcom-theme .sz-card-proxy > .card-body {
  padding: 0 !important;
}

/* Milestone cards remain equal-height, while progress is readable. */
.sobelzcom-theme .sz-milestone-card {
  box-shadow: 0 .28rem .9rem rgba(47, 43, 61, .075) !important;
}

.sobelzcom-theme .sz-milestone-card-header {
  min-height: 4.7rem;
}

.sobelzcom-theme .sz-milestone-progress-head strong {
  display: none;
}

.sobelzcom-theme .sz-milestone-progress .sz-progress-label {
  font-size: .58rem;
}

/* Footer portal signature. */
.sobelzcom-theme .footer-theme-signature {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  color: var(--sz-muted-v4) !important;
  font-size: .68rem;
  font-weight: 600;
}

.sobelzcom-theme .footer-theme-signature:hover,
.sobelzcom-theme .footer-theme-signature:focus {
  color: var(--sz-primary) !important;
}

/* 4.1 mobile account/module selector: keep the trigger compact and place its menu below the navbar. */
@media (max-width: 575.98px) {
  .sobelzcom-theme .sobelzcom-extension-nav {
    max-width: 7.5rem;
    flex: 0 1 7.5rem;
    overflow: visible;
  }

  .sobelzcom-theme .sobelzcom-extension-nav > ul,
  .sobelzcom-theme .sobelzcom-extension-nav .navbar-nav,
  .sobelzcom-theme .sobelzcom-extension-nav ul.nav {
    width: 100%;
    max-width: 100%;
  }

  .sobelzcom-theme .sobelzcom-extension-toggle {
    width: 100%;
    max-width: 100%;
  }

  .sobelzcom-theme .sobelzcom-extension-menu {
    position: fixed !important;
    inset-block-start: 5.5rem !important;
    inset-inline: 1rem !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* -------------------------------------------------------------------------
   Sobelzcom 4.4.0 interaction and layout corrections
   ------------------------------------------------------------------------- */

:root {
  --sz-progress-height: 1.45rem;
  --sz-shell-inline-gutter: clamp(1rem, 1.7vw, 1.5rem);
}

/* Vuexy tab panes animate through `.show`; legacy views often emit only
   `.active`. The adapter adds `.show`, while this rule prevents a flash of
   invisible active content before JavaScript runs. */
.sobelzcom-theme .tab-content > .tab-pane.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* One geometric frame for navbar, alerts, content and footer. */
.sobelzcom-theme .layout-page {
  --sz-shell-frame-size: min(
    calc(100% - (var(--sz-shell-inline-gutter) * 2)),
    var(--sz-content-max)
  );
}

.sobelzcom-theme #layout-navbar.sobelzcom-shell-frame,
.sobelzcom-theme .sobelzcom-alerts-container.sobelzcom-shell-frame,
.sobelzcom-theme .sobelzcom-content-container.sobelzcom-shell-frame,
.sobelzcom-theme .content-footer .sobelzcom-shell-frame {
  box-sizing: border-box !important;
  inline-size: var(--sz-shell-frame-size) !important;
  width: var(--sz-shell-frame-size) !important;
  max-inline-size: none !important;
  max-width: none !important;
  margin-inline: auto !important;
}

html[data-content-layout="wide"] .sobelzcom-theme .layout-page {
  --sz-content-max: 100%;
}

.sobelzcom-theme .content-wrapper,
.sobelzcom-theme #content {
  inline-size: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
}

.sobelzcom-theme #content {
  padding-inline: 0 !important;
}

.sobelzcom-theme #layout-navbar.sobelzcom-navbar {
  z-index: 1095 !important;
  margin-inline: auto !important;
}

/* Keep extension/module navigation and account controls visually separated. */
.sobelzcom-theme .sobelzcom-navbar-context {
  flex: 0 1 auto;
  margin-inline-end: clamp(.75rem, 1.5vw, 1.35rem);
}

.sobelzcom-theme .navbar-nav-right {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.sobelzcom-theme .sobelzcom-extension-nav {
  order: 0 !important;
  flex: 1 1 auto !important;
  margin-inline-end: auto !important;
  overflow: visible;
}

.sobelzcom-theme .sobelzcom-navbar-actions {
  order: 1;
  flex: 0 0 auto !important;
  margin-inline-start: auto !important;
  margin-inline-end: 0 !important;
}

/* A server-rendered `.open` from a legacy module is stale state. The bridge
   sets data-sz-dropdown-user-open only after an actual Bootstrap show event. */
.sobelzcom-theme .sobelzcom-extension-dropdown:not([data-sz-dropdown-user-open="1"]) > .dropdown-menu.show,
.sobelzcom-theme .sobelzcom-extension-dropdown:not([data-sz-dropdown-user-open="1"]) > .dropdown-menu.open {
  display: none !important;
}

.sobelzcom-theme .sobelzcom-extension-dropdown[data-sz-dropdown-user-open="1"] > .dropdown-menu.show {
  display: block !important;
}

.sobelzcom-theme .sobelzcom-extension-menu,
.sobelzcom-theme .sobelzcom-notification-menu,
.sobelzcom-theme .bootstrap-select > .dropdown-menu {
  z-index: 1135 !important;
}

/* Notification panel remains above the vertical menu, including RTL. */
.sobelzcom-theme .sobelzcom-notifications {
  position: relative;
  z-index: 2;
}

.sobelzcom-theme .sobelzcom-notification-menu {
  position: absolute !important;
  inset-block-start: calc(100% + .65rem) !important;
  inset-inline-end: 0 !important;
  inset-inline-start: auto !important;
  width: min(23rem, calc(100vw - 2rem)) !important;
  max-width: calc(100vw - 2rem) !important;
  margin: 0 !important;
  transform: none !important;
  overflow: hidden;
}

.sobelzcom-theme .sobelzcom-notification-empty {
  min-height: 4.75rem !important;
  padding: .72rem .85rem !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: .65rem !important;
  text-align: start !important;
}

.sobelzcom-theme .sobelzcom-notification-empty .avatar {
  flex: 0 0 auto;
  width: 2.15rem !important;
  height: 2.15rem !important;
}

.sobelzcom-theme .sobelzcom-notification-empty strong {
  font-size: .74rem !important;
  font-weight: 650;
}

/* Floating alerts and toast providers must never disappear below the shell. */
.sobelzcom-theme #alert_float_1,
.sobelzcom-theme #alert_float_2,
.sobelzcom-theme .alert_float,
.sobelzcom-theme .bootstrap-growl,
.sobelzcom-theme [data-notify="container"],
.sobelzcom-theme .notifyjs-corner,
.sobelzcom-theme #toast-container,
.sobelzcom-theme .toast-container,
.sobelzcom-theme .jGrowl,
.sobelzcom-theme .swal2-container,
#alert_float_1,
#alert_float_2,
.alert_float,
.bootstrap-growl,
[data-notify="container"],
.notifyjs-corner,
#toast-container,
.toast-container,
.jGrowl,
.swal2-container {
  z-index: 20050 !important;
}

/* bootstrap-select: generated options are rebuilt from the source select when
   an incompatible plugin pass leaves the list empty. */
.sobelzcom-theme .bootstrap-select:not(.open):not(.show) > .dropdown-menu,
.sobelzcom-theme .bootstrap-select[data-sz-select-open="0"] > .dropdown-menu {
  display: none !important;
}

.sobelzcom-theme .bootstrap-select.open > .dropdown-menu,
.sobelzcom-theme .bootstrap-select.show > .dropdown-menu,
.sobelzcom-theme .bootstrap-select[data-sz-select-open="1"] > .dropdown-menu {
  display: block !important;
}

.sobelzcom-theme .bootstrap-select .sz-select-options > li > a[role="option"] {
  display: flex !important;
  min-height: 2.35rem;
  padding: .48rem .68rem !important;
  align-items: center;
  gap: .5rem;
  border-radius: .48rem;
  color: var(--sz-text-v4) !important;
  cursor: pointer;
}

.sobelzcom-theme .bootstrap-select .sz-select-options > li > a[role="option"] .text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .bootstrap-select .sz-select-options > li > a[role="option"] .check-mark {
  display: none;
  flex: 0 0 auto;
  color: var(--sz-primary);
}

.sobelzcom-theme .bootstrap-select .sz-select-options > li.selected > a[role="option"],
.sobelzcom-theme .bootstrap-select .sz-select-options > li > a[role="option"].selected {
  background: var(--sz-primary-soft) !important;
  color: var(--sz-primary) !important;
  font-weight: 650;
}

.sobelzcom-theme .bootstrap-select .sz-select-options > li.selected > a[role="option"] .check-mark,
.sobelzcom-theme .bootstrap-select .sz-select-options > li > a[role="option"].selected .check-mark {
  display: inline-flex;
}

.sobelzcom-theme .bootstrap-select .sz-select-options > li.disabled > a,
.sobelzcom-theme .bootstrap-select .sz-select-options > li > a.disabled {
  opacity: .48;
  pointer-events: none;
}

.sobelzcom-theme .bootstrap-select .sz-select-optgroup {
  padding: .55rem .68rem .3rem !important;
  color: var(--sz-muted-v4);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* More legible percentage bars without duplicate values around the component. */
.sobelzcom-theme .progress.sz-progress,
.sobelzcom-theme .sz-progress,
.sobelzcom-theme .sz-kanban-progress {
  height: var(--sz-progress-height) !important;
  min-height: var(--sz-progress-height) !important;
}

.sobelzcom-theme .sz-project-progress-card .progress {
  height: var(--sz-progress-height) !important;
  min-height: var(--sz-progress-height) !important;
}

.sobelzcom-theme .sz-project-progress-primary {
  padding-block: .85rem !important;
}

/* Milestone tab is once again a task-bearing Vuexy kanban. */
.sobelzcom-theme .sz-milestone-kanban .kanban-container {
  align-items: flex-start;
}

.sobelzcom-theme .sz-milestone-kanban-board {
  min-height: 0 !important;
}

.sobelzcom-theme .sz-milestone-kanban-board .sz-kanban-items {
  min-height: 7rem;
  max-height: min(34rem, 62vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sobelzcom-theme .sz-milestone-kanban-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: .38rem;
}

.sobelzcom-theme .sz-milestone-kanban-meta .badge {
  flex: 0 0 auto;
  font-size: .6rem;
}

.sobelzcom-theme .sz-kanban-task-id {
  margin-inline-end: .18rem;
  color: var(--sz-primary);
  font-size: .66rem;
  font-weight: 750;
}

.sobelzcom-theme .sz-kanban-view-task {
  display: none;
  width: 100%;
  justify-content: center;
}

/* Explicit mobile actions avoid the ambiguous "selected card" interaction. */
.sobelzcom-theme .sz-mobile-view-column,
.sobelzcom-theme .sz-mobile-view-cell {
  display: none !important;
}

@media (max-width: 575.98px) {
  .sobelzcom-theme .layout-page {
    --sz-shell-frame-size: calc(100% - (var(--sz-shell-inline-gutter) * 2));
  }

  .sobelzcom-theme .sobelzcom-notification-menu {
    position: fixed !important;
    inset-block-start: 4.95rem !important;
    inset-inline: .75rem !important;
    width: auto !important;
    max-width: none !important;
  }

  .sobelzcom-theme .sobelzcom-navbar-actions {
    gap: .08rem;
  }

  .sobelzcom-theme .sobelzcom-extension-nav {
    max-width: min(48vw, 11.5rem) !important;
    flex: 1 1 auto !important;
  }

  .sobelzcom-theme .sz-kanban-view-task {
    display: inline-flex;
  }

  .sobelzcom-theme table.sz-vuexy-table > thead > tr > .sz-mobile-view-column {
    display: none !important;
  }

  .sobelzcom-theme table.sz-vuexy-table > tbody > tr > .sz-mobile-view-cell,
  .sobelzcom-theme .sz-mobile-table-card .sz-mobile-view-cell {
    display: block !important;
    width: 100% !important;
    margin-top: .55rem;
    padding: .55rem 0 0 !important;
    border-top: 1px solid var(--sz-border-v4) !important;
  }

  .sobelzcom-theme .sz-mobile-view-cell::before {
    display: none !important;
    content: none !important;
  }

  .sobelzcom-theme .sz-mobile-view-button {
    display: inline-flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
 * Sobelzcom 4.3 interaction and attention layer
 * -------------------------------------------------------------------------- */

/* Actionable counters remain legible in both expanded and collapsed menus. */
.sobelzcom-theme #layout-menu .menu-link {
  position: relative;
}

.sobelzcom-theme #layout-menu .menu-title {
  min-width: 0;
  flex: 1 1 auto;
}

.sobelzcom-theme #layout-menu .sobelzcom-menu-badge {
  display: inline-flex;
  min-width: 1.45rem;
  height: 1.45rem;
  margin-inline-start: .55rem;
  padding-inline: .38rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sz-card-bg, var(--bs-body-bg));
  border-radius: 999px;
  box-shadow: 0 .18rem .55rem rgba(47, 43, 61, .13);
  color: #fff;
  font-size: .61rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.02em;
}

.sobelzcom-theme #layout-menu .menu-item.active > .menu-link .sobelzcom-menu-badge {
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .2) !important;
  box-shadow: none;
  color: #fff;
}

html.layout-menu-collapsed:not(.layout-menu-hover) .sobelzcom-theme #layout-menu .sobelzcom-menu-badge {
  position: absolute;
  inset-block-start: .34rem;
  inset-inline-end: .32rem;
  min-width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding-inline: .2rem;
  border-width: 1px;
  font-size: .51rem;
}

/* Undismissed customer announcements are compact, visible and actionable. */
.sobelzcom-theme .sobelzcom-announcement-stack {
  display: grid;
  margin-block-end: 1rem;
  gap: .7rem;
}

.sobelzcom-theme .sobelzcom-announcement-banner {
  display: grid;
  margin: 0;
  padding: .78rem .85rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: .75rem;
  border: 1px solid rgba(var(--bs-info-rgb), .22);
  border-radius: calc(var(--sz-radius) + 2px);
  background: linear-gradient(135deg, rgba(var(--bs-info-rgb), .095), rgba(var(--bs-info-rgb), .035));
  box-shadow: 0 .28rem 1rem rgba(47, 43, 61, .055);
  color: var(--sz-text-v4, var(--bs-body-color));
}

.sobelzcom-theme .sobelzcom-announcement-icon {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: .68rem;
  font-size: 1.08rem;
}

.sobelzcom-theme .sobelzcom-announcement-content {
  min-width: 0;
}

.sobelzcom-theme .sobelzcom-announcement-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
}

.sobelzcom-theme .sobelzcom-announcement-heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .08rem;
}

.sobelzcom-theme .sobelzcom-announcement-kicker {
  color: var(--bs-info);
  font-size: .61rem;
  font-weight: 750;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.sobelzcom-theme .sobelzcom-announcement-title {
  overflow: hidden;
  color: var(--sz-heading-v4, var(--bs-heading-color)) !important;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sobelzcom-announcement-heading time {
  flex: 0 0 auto;
  color: var(--sz-muted-v4, var(--bs-secondary-color));
  font-size: .64rem;
  white-space: nowrap;
}

.sobelzcom-theme .sobelzcom-announcement-message {
  display: -webkit-box;
  margin-block-start: .32rem;
  overflow: hidden;
  color: var(--sz-muted-v4, var(--bs-secondary-color));
  font-size: .72rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sobelzcom-theme .sobelzcom-announcement-message > :last-child {
  margin-block-end: 0;
}

.sobelzcom-theme .sobelzcom-announcement-more {
  display: inline-flex;
  margin-block-start: .38rem;
  align-items: center;
  gap: .25rem;
  color: var(--bs-info) !important;
  font-size: .67rem;
  font-weight: 700;
  text-decoration: none !important;
}

.sobelzcom-theme .sobelzcom-announcement-dismiss {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

/* Session flashes and asynchronous notices always occupy a top-right layer. */
.sobelzcom-theme .sobelzcom-alert-stack {
  position: fixed;
  z-index: 2147483000;
  top: max(5.65rem, calc(env(safe-area-inset-top) + 4.65rem));
  right: max(1rem, env(safe-area-inset-right));
  bottom: auto;
  left: auto;
  display: flex;
  width: min(25rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  flex-direction: column;
  gap: .7rem;
  overflow: visible;
  pointer-events: none;
}

.sobelzcom-theme .sobelzcom-alert-stack > .sobelzcom-floating-alert {
  position: relative !important;
  z-index: 2147483001 !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: calc(var(--sz-radius) + 2px) !important;
  box-shadow: 0 .75rem 2rem rgba(47, 43, 61, .22) !important;
  pointer-events: none;
}

.sobelzcom-theme .sobelzcom-alert-stack > .sobelzcom-floating-alert :is(a, button, .close, [data-dismiss], [data-bs-dismiss]) {
  pointer-events: auto;
}

.sobelzcom-theme .sobelzcom-alert-stack > .sobelzcom-floating-alert:empty {
  display: none !important;
}

/* File previews retain lightbox behavior and expose a separate direct download. */
.sobelzcom-theme a[data-sz-direct-download="1"] {
  cursor: pointer;
}

.sobelzcom-theme .sobelzcom-download-preview-host {
  position: relative;
}

.sobelzcom-theme .sobelzcom-attachment-download-action {
  position: absolute;
  z-index: 4;
  inset-block-start: .42rem;
  inset-inline-end: .42rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(var(--sz-primary-rgb), .2);
  background: var(--sz-card-bg, var(--bs-body-bg)) !important;
  box-shadow: 0 .35rem 1rem rgba(47, 43, 61, .18);
  color: var(--sz-primary) !important;
}

.sobelzcom-theme .sobelzcom-attachment-download-action:hover,
.sobelzcom-theme .sobelzcom-attachment-download-action:focus-visible {
  background: var(--sz-primary-soft) !important;
  transform: translateY(-1px);
}

@media (max-width: 575.98px) {
  .sobelzcom-theme .sobelzcom-alert-stack {
    top: max(4.75rem, calc(env(safe-area-inset-top) + 4rem));
    right: .75rem;
    left: .75rem;
    width: auto;
  }

  .sobelzcom-theme .sobelzcom-announcement-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sobelzcom-theme .sobelzcom-announcement-dismiss {
    position: absolute;
    inset-block-start: .55rem;
    inset-inline-end: .55rem;
  }

  .sobelzcom-theme .sobelzcom-announcement-heading {
    padding-inline-end: 2rem;
    flex-direction: column;
    gap: .15rem;
  }
}

/* --------------------------------------------------------------------------
   Sobelzcom 4.4 status, action, alert, and responsive-density corrections
   -------------------------------------------------------------------------- */

/* Entity markers use the same semantic/custom status color as each row. */
.sobelzcom-theme .sz-table-entity-icon[data-tone="status"] {
  border-color: color-mix(in srgb, var(--sz-status-color, var(--sz-primary)) 22%, transparent) !important;
  background: color-mix(in srgb, var(--sz-status-color, var(--sz-primary)) 13%, transparent) !important;
  color: var(--sz-status-color, var(--sz-primary)) !important;
}

.sobelzcom-theme .sz-table-entity-icon[data-tone="secondary"] {
  border-color: rgba(var(--bs-secondary-rgb, 128, 131, 144), .18) !important;
  background: rgba(var(--bs-secondary-rgb, 128, 131, 144), .12) !important;
  color: var(--bs-secondary-color, #808390) !important;
}

.sobelzcom-theme .sz-table-entity-icon[data-unread="1"] {
  box-shadow: 0 0 0 .18rem color-mix(in srgb, var(--sz-status-color, var(--bs-danger)) 12%, transparent);
}

/* The off-canvas menu must be above the detached navbar at every compact
   breakpoint, while dropdowns and alerts retain their own higher layers. */
@media (max-width: 1199.98px) {
  .sobelzcom-theme #layout-menu.sobelzcom-vertical-menu {
    z-index: 1125 !important;
  }

  .sobelzcom-theme .layout-overlay {
    z-index: 1120 !important;
  }

  .sobelzcom-theme #layout-navbar.sobelzcom-navbar {
    z-index: 1095 !important;
  }
}

/* Notification preferences: one dense horizontal information line per option. */
.sobelzcom-theme .sz-notification-grid {
  gap: .55rem !important;
}

.sobelzcom-theme .sz-notification-option {
  display: grid !important;
  min-height: 3.25rem;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem !important;
  padding: .48rem .65rem !important;
}

.sobelzcom-theme .sz-notification-icon {
  width: 2rem !important;
  height: 2rem !important;
  flex-basis: 2rem !important;
  border-radius: .5rem !important;
}

.sobelzcom-theme .sz-notification-copy {
  display: flex !important;
  min-width: 0;
  flex-direction: row !important;
  align-items: baseline;
  gap: .34rem;
  white-space: nowrap;
}

.sobelzcom-theme .sz-notification-copy strong {
  flex: 0 1 auto;
  font-size: .77rem !important;
}

.sobelzcom-theme .sz-notification-copy small {
  min-width: 0;
  overflow: hidden;
  font-size: .66rem !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-notification-copy small::before {
  content: "·";
  margin-inline-end: .34rem;
  opacity: .55;
}

.sobelzcom-theme .sz-notification-option > .form-check {
  justify-self: end;
}

/* Node Waves makes input backgrounds transparent. Restore the primary action
   on both the original submit and its generated wrapper. */
.sobelzcom-theme :is(#pay_now, input[name="make_payment"]).sz-payment-submit,
.sobelzcom-theme :is(#pay_now, input[name="make_payment"]).waves-button-input {
  display: inline-flex !important;
  min-width: 10.5rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.2rem !important;
  border: 1px solid transparent !important;
  border-radius: calc(var(--sz-radius) * .78) !important;
  background: var(--sz-primary-gradient) !important;
  box-shadow: 0 .42rem .9rem rgba(var(--sz-primary-rgb), .28) !important;
  color: var(--sz-primary-contrast, #fff) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--sz-primary-contrast, #fff) !important;
}

.sobelzcom-theme .sz-payment-submit-wrapper.waves-input-wrapper {
  display: inline-flex !important;
  overflow: hidden;
  border-radius: calc(var(--sz-radius) * .78) !important;
  background: var(--sz-primary-gradient) !important;
  box-shadow: 0 .42rem .9rem rgba(var(--sz-primary-rgb), .28) !important;
  color: var(--sz-primary-contrast, #fff) !important;
  vertical-align: middle;
}

.sobelzcom-theme .sz-payment-submit-wrapper.waves-input-wrapper :is(#pay_now, input[name="make_payment"]) {
  margin: 0 !important;
  box-shadow: none !important;
}

.sobelzcom-theme :is(#pay_now, input[name="make_payment"]).sz-payment-submit:hover,
.sobelzcom-theme :is(#pay_now, input[name="make_payment"]).sz-payment-submit:focus-visible,
.sobelzcom-theme .sz-payment-submit-wrapper.waves-input-wrapper:hover {
  filter: brightness(1.035);
  transform: translateY(-1px);
}

/* Runtime notices created by alert_float use a real top-layer Vuexy alert. */
.sobelzcom-theme .sobelzcom-alert-stack > .sz-runtime-alert {
  display: grid !important;
  grid-template-columns: 2.1rem minmax(0, 1fr) 1.6rem;
  align-items: center;
  gap: .65rem;
  min-height: 3.45rem;
  padding: .65rem .72rem !important;
  border-width: 1px !important;
  pointer-events: auto !important;
}

.sobelzcom-theme .sz-runtime-alert-icon {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border-radius: .58rem;
}

.sobelzcom-theme .sz-runtime-alert-copy {
  min-width: 0;
  font-size: .79rem;
  font-weight: 550;
  line-height: 1.55;
}

.sobelzcom-theme .sz-runtime-alert-copy > :last-child {
  margin-bottom: 0;
}

.sobelzcom-theme .sz-runtime-alert > .btn-close {
  position: static !important;
  align-self: center;
  margin: 0 !important;
  padding: .45rem !important;
}

@media (max-width: 575.98px) {
  .sobelzcom-theme .sz-notification-copy {
    flex-direction: column !important;
    align-items: flex-start;
    gap: .05rem;
  }

  .sobelzcom-theme .sz-notification-copy small::before {
    content: none;
  }
}


/* Confirmation and action modals must sit above the detached navbar/sidebar. */
.sobelzcom-theme .modal {
  z-index: 1205 !important;
}

body.sobelzcom-theme > .modal-backdrop,
.sobelzcom-theme .modal-backdrop {
  z-index: 1200 !important;
}

/* Sobelzcom 4.5 — product-system refinement ----------------------------- */
.sobelzcom-theme {
  --sz-page-gap: 1.5rem;
  --sz-section-gap: 1.5rem;
  --sz-surface-padding: 1.5rem;
  --sz-surface-shadow: 0 .1875rem .75rem rgba(47, 43, 61, .10);
}

.sobelzcom-theme.sz-spacing-compact {
  --sz-page-gap: 1rem;
  --sz-section-gap: 1rem;
  --sz-surface-padding: 1rem;
}

.sobelzcom-theme.sz-spacing-spacious {
  --sz-page-gap: 2rem;
  --sz-section-gap: 2rem;
  --sz-surface-padding: 1.75rem;
}

.sobelzcom-theme.sz-card-shadow-none { --sz-surface-shadow: none; }
.sobelzcom-theme.sz-card-shadow-elevated { --sz-surface-shadow: 0 .75rem 2.25rem rgba(47, 43, 61, .16); }
html[data-bs-theme="dark"] .sobelzcom-theme.sz-card-shadow-elevated { --sz-surface-shadow: 0 .85rem 2.4rem rgba(9, 10, 18, .42); }

.sobelzcom-theme .sobelzcom-content-container > .row,
.sobelzcom-theme .sobelzcom-alerts-container > .row {
  row-gap: var(--sz-page-gap);
}

.sobelzcom-theme .sz-page > :where(section, .row, .card):not(:last-child) {
  margin-bottom: var(--sz-section-gap);
}

.sobelzcom-theme .card,
.sobelzcom-theme .panel_s > .panel-body {
  box-shadow: var(--sz-surface-shadow);
}

/* One visual surface per legacy panel. The panel is the semantic wrapper;
   its body owns the actual Vuexy surface, preventing a card-inside-card look. */
.sobelzcom-theme .panel_s.card,
.sobelzcom-theme .panel_s.sz-legacy-card {
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sobelzcom-theme .panel_s.card > .panel-body.card-body,
.sobelzcom-theme .panel_s.sz-legacy-card > .panel-body.card-body {
  border: 1px solid color-mix(in srgb, var(--bs-border-color) 78%, transparent);
  border-radius: var(--sz-radius, .5rem);
  background: var(--bs-paper-bg, var(--bs-body-bg));
  box-shadow: var(--sz-surface-shadow);
}

.sobelzcom-theme .panel_s.sz-nested-legacy-card > .panel-body.card-body,
.sobelzcom-theme .panel_s.sz-card-proxy > .panel-body.card-body,
.sobelzcom-theme .panel_s > .panel-body > .panel_s > .panel-body,
.sobelzcom-theme .card > .card-body > .panel_s > .panel-body {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sobelzcom-theme .panel_s.sz-row-card {
  width: 100%;
  margin-inline: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

.sobelzcom-theme.sz-document-surface-single .preview-top-wrapper {
  margin-block: .25rem 1rem !important;
  padding: 1rem 1.125rem;
  border: 1px solid color-mix(in srgb, var(--bs-border-color) 76%, transparent);
  border-radius: var(--sz-radius, .5rem);
  background: var(--bs-paper-bg, var(--bs-body-bg));
  box-shadow: var(--sz-surface-shadow);
}

.sobelzcom-theme.sz-document-surface-single .preview-top-wrapper + .clearfix + .panel_s,
.sobelzcom-theme.sz-document-surface-single .preview-top-wrapper ~ .panel_s:first-of-type {
  margin-top: 0 !important;
}

.sobelzcom-theme.sz-document-surface-single :is(.invoice-html-files, .invoice-html-payments, .invoice-html-note, .invoice-html-terms-and-conditions, .contract-attachments, .proposal-comments, .estimate-html-note, .estimate-html-terms-and-conditions) {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bs-border-color);
}

.sobelzcom-theme.sz-document-surface-sectioned :is(.invoice-html-files, .invoice-html-payments, .invoice-html-note, .invoice-html-terms-and-conditions, .contract-attachments, .proposal-comments, .estimate-html-note, .estimate-html-terms-and-conditions) {
  margin-top: 1.25rem;
  padding: 1.125rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--sz-radius, .5rem);
  background: color-mix(in srgb, var(--bs-paper-bg) 94%, var(--bs-primary) 6%);
}

.sobelzcom-theme :is(.transaction-html-info-col-left, .transaction-html-info-col-right) {
  padding-block: .5rem 1.25rem;
}

.sobelzcom-theme :is(.invoice-html-number, .estimate-html-number, .proposal-html-number, .contract-html-number) {
  letter-spacing: -.015em;
}

/* Vuexy dashboard ------------------------------------------------------- */
.sobelzcom-theme .sz-dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sobelzcom-theme .sz-dashboard-insight-card {
  min-width: 0;
  color: inherit;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.sobelzcom-theme .sz-dashboard-insight-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--sz-primary) 30%, var(--bs-border-color));
  box-shadow: 0 .8rem 2rem rgba(47, 43, 61, .15);
}

.sobelzcom-theme .sz-dashboard-insight-card .card-body {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .875rem;
  min-height: 92px;
  padding: 1.125rem;
}

.sobelzcom-theme .sz-dashboard-insight-icon {
  display: inline-flex;
  width: 2.875rem;
  height: 2.875rem;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--sz-radius, .5rem) + .125rem);
  font-size: 1.35rem;
}

.sobelzcom-theme .sz-dashboard-insight-copy {
  display: grid;
  min-width: 0;
  gap: .15rem;
}

.sobelzcom-theme .sz-dashboard-insight-copy strong {
  color: var(--bs-heading-color);
  font-size: 1.55rem;
  font-weight: 750;
  line-height: 1;
}

.sobelzcom-theme .sz-dashboard-insight-copy small {
  overflow: hidden;
  color: var(--bs-secondary-color);
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-dashboard-insight-action {
  color: var(--bs-secondary-color);
  opacity: .68;
  transition: color .2s ease, transform .2s ease, opacity .2s ease;
}

.sobelzcom-theme .sz-dashboard-insight-card:hover .sz-dashboard-insight-action {
  color: var(--sz-primary);
  opacity: 1;
  transform: translate(2px, -2px);
}

html[dir="rtl"] .sobelzcom-theme .sz-dashboard-insight-card:hover .sz-dashboard-insight-action {
  transform: translate(-2px, -2px) scaleX(-1);
}

.sobelzcom-theme .sz-dashboard-attention-card .card-header,
.sobelzcom-theme .sz-chart-card .card-header,
.sobelzcom-theme .sz-dashboard-recent-card .card-header {
  min-height: 78px;
  padding: 1.125rem 1.25rem;
  border-bottom: 0;
}

.sobelzcom-theme .sz-dashboard-attention-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.sobelzcom-theme .sz-dashboard-attention-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .75rem;
  padding: .875rem;
  border: 1px solid color-mix(in srgb, var(--bs-border-color) 80%, transparent);
  border-radius: var(--sz-radius, .5rem);
  background: color-mix(in srgb, var(--bs-paper-bg) 96%, var(--sz-primary) 4%);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.sobelzcom-theme .sz-dashboard-attention-item:hover {
  border-color: color-mix(in srgb, var(--sz-primary) 34%, var(--bs-border-color));
  background: color-mix(in srgb, var(--bs-paper-bg) 92%, var(--sz-primary) 8%);
  transform: translateY(-2px);
}

.sobelzcom-theme .sz-dashboard-attention-item strong,
.sobelzcom-theme .sz-dashboard-attention-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-dashboard-attention-item strong {
  color: var(--bs-heading-color);
  font-size: .84rem;
}

.sobelzcom-theme .sz-dashboard-attention-item small {
  margin-top: .15rem;
  color: var(--bs-secondary-color);
  font-size: .72rem;
}

.sobelzcom-theme .sz-dashboard-attention-item.is-clear { opacity: .78; }

.sobelzcom-theme .sz-dashboard-attention-count {
  display: inline-flex;
  min-width: 1.75rem;
  height: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
}

.sobelzcom-theme .sz-dashboard-chart-shell {
  position: relative;
  width: 100%;
  min-height: 280px;
}

.sobelzcom-theme .sz-dashboard-chart-shell-lg { min-height: 330px; }
.sobelzcom-theme .sz-dashboard-chart-shell-md { min-height: 285px; }
.sobelzcom-theme .sz-dashboard-chart-shell-donut { min-height: 315px; }
.sobelzcom-theme .sz-dashboard-chart-shell canvas { position: relative; z-index: 1; }

.sobelzcom-theme .sz-dashboard-chart-empty {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  color: var(--bs-secondary-color);
}

.sobelzcom-theme .sz-dashboard-chart-empty i { font-size: 2rem; opacity: .62; }
.sobelzcom-theme .sz-dashboard-chart-shell.is-empty canvas { opacity: .18; }
.sobelzcom-theme .sz-dashboard-chart-shell.is-empty .sz-dashboard-chart-empty { display: flex; }

.sobelzcom-theme .sz-dashboard-recent-list { display: grid; }

.sobelzcom-theme .sz-dashboard-recent-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .75rem;
  padding: .825rem .25rem;
  border-bottom: 1px solid var(--bs-border-color);
  color: inherit;
  text-decoration: none;
}

.sobelzcom-theme .sz-dashboard-recent-item:last-child { border-bottom: 0; }
.sobelzcom-theme .sz-dashboard-recent-item:hover strong { color: var(--sz-primary); }
.sobelzcom-theme .sz-dashboard-recent-item strong,
.sobelzcom-theme .sz-dashboard-recent-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sobelzcom-theme .sz-dashboard-recent-item strong { color: var(--bs-heading-color); font-size: .86rem; }
.sobelzcom-theme .sz-dashboard-recent-item small { margin-top: .2rem; color: var(--bs-secondary-color); font-size: .74rem; }

.sobelzcom-theme .sz-dashboard-empty-state {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem;
  text-align: center;
}

.sobelzcom-theme .sz-dashboard-empty-state small { max-width: 260px; color: var(--bs-secondary-color); }

/* Announcement center and persistent acknowledgement modal ------------- */
.sobelzcom-theme .sobelzcom-announcement-center {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--bs-info) 24%, var(--bs-border-color));
  border-radius: calc(var(--sz-radius, .5rem) + .125rem);
  background: linear-gradient(135deg, color-mix(in srgb, var(--bs-info) 9%, var(--bs-paper-bg)), var(--bs-paper-bg) 60%);
  box-shadow: var(--sz-surface-shadow);
}

.sobelzcom-theme .sobelzcom-announcement-center-head {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1rem 1.125rem .75rem;
}

.sobelzcom-theme .sobelzcom-announcement-center-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: linear-gradient(135deg, var(--bs-info), color-mix(in srgb, var(--bs-info) 62%, var(--sz-primary)));
  color: #fff;
  box-shadow: 0 .45rem 1rem color-mix(in srgb, var(--bs-info) 28%, transparent);
}

.sobelzcom-theme .sobelzcom-announcement-center-head h2 { margin: 0; color: var(--bs-heading-color); font-size: .95rem; font-weight: 700; }
.sobelzcom-theme .sobelzcom-announcement-center-head p { margin: .15rem 0 0; color: var(--bs-secondary-color); font-size: .76rem; }
.sobelzcom-theme .sobelzcom-announcement-center .sobelzcom-announcement-stack { display: grid; gap: 0; }

.sobelzcom-theme .sobelzcom-announcement-center .sobelzcom-announcement-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .875rem;
  margin: 0;
  padding: .875rem 1.125rem;
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--bs-border-color) 78%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sobelzcom-theme .sobelzcom-announcement-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.sobelzcom-theme .sobelzcom-announcement-center-all { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem; border-top: 1px solid var(--bs-border-color); color: var(--sz-primary); font-size: .8rem; font-weight: 650; text-decoration: none; }

.sobelzcom-theme .sobelzcom-announcement-modal { z-index: 10950; }
.sobelzcom-theme .sobelzcom-announcement-modal + .modal-backdrop,
.sobelzcom-theme .modal-backdrop.show { z-index: 10940; }
.sobelzcom-theme .sobelzcom-announcement-modal .modal-dialog { max-width: 620px; }
.sobelzcom-theme .sobelzcom-announcement-modal .modal-content { overflow: hidden; border: 0; box-shadow: 0 1.5rem 4.5rem rgba(24, 21, 53, .30); }

.sobelzcom-theme .sobelzcom-announcement-modal-visual {
  position: relative;
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 30%, rgba(255,255,255,.22), transparent 18%),
    linear-gradient(135deg, var(--sz-primary-light), var(--sz-primary) 52%, var(--sz-primary-deep));
}

.sobelzcom-theme .sobelzcom-announcement-modal-orbit { position: absolute; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.sobelzcom-theme .sobelzcom-announcement-modal-orbit::before,
.sobelzcom-theme .sobelzcom-announcement-modal-orbit::after { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: inherit; }
.sobelzcom-theme .sobelzcom-announcement-modal-orbit::after { inset: 56px; }
.sobelzcom-theme .sobelzcom-announcement-modal-icon { position: relative; z-index: 1; display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.46); border-radius: 1.15rem; background: rgba(255,255,255,.18); color: #fff; box-shadow: 0 .75rem 1.8rem rgba(29, 23, 84, .28); backdrop-filter: blur(8px); font-size: 1.8rem; }
.sobelzcom-theme .sobelzcom-announcement-modal-badge { position: absolute; z-index: 2; inset-block-start: 1rem; inset-inline-end: 1rem; display: inline-flex; min-width: 1.75rem; height: 1.75rem; align-items: center; justify-content: center; border-radius: 999px; background: #fff; color: var(--sz-primary-deep); font-size: .75rem; font-weight: 800; }
.sobelzcom-theme .sobelzcom-announcement-modal .modal-header { align-items: flex-start; padding: 1.25rem 1.25rem .5rem; border: 0; }
.sobelzcom-theme .sobelzcom-announcement-modal-kicker { display: block; margin-bottom: .25rem; color: var(--sz-primary); font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.sobelzcom-theme .sobelzcom-announcement-modal .modal-title { color: var(--bs-heading-color); font-size: 1.2rem; font-weight: 750; line-height: 1.35; }
.sobelzcom-theme .sobelzcom-announcement-modal time { color: var(--bs-secondary-color); font-size: .75rem; }
.sobelzcom-theme .sobelzcom-announcement-modal .modal-body { padding: .75rem 1.25rem 1.25rem; }
.sobelzcom-theme .sobelzcom-announcement-modal-message { max-height: min(38vh, 320px); overflow: auto; color: var(--bs-body-color); line-height: 1.8; }
.sobelzcom-theme .sobelzcom-announcement-modal-queue { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .7rem .8rem; border-radius: .65rem; background: color-mix(in srgb, var(--bs-warning) 10%, transparent); color: color-mix(in srgb, var(--bs-warning) 72%, var(--bs-heading-color)); font-size: .78rem; }
.sobelzcom-theme .sobelzcom-announcement-modal .modal-footer { gap: .5rem; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--bs-border-color); }

/* Premium payment CTA --------------------------------------------------- */
.sobelzcom-theme .sz-payment-submit-wrapper.waves-input-wrapper {
  position: relative;
  display: flex !important;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0 !important;
  border-radius: calc(var(--sz-radius, .5rem) + .2rem) !important;
  box-shadow: 0 .75rem 1.75rem color-mix(in srgb, var(--sz-primary) 28%, transparent) !important;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.sobelzcom-theme.sz-payment-cta-gradient .sz-payment-submit-wrapper { background: linear-gradient(135deg, var(--sz-primary-light), var(--sz-primary) 50%, var(--sz-primary-deep)) !important; }
.sobelzcom-theme.sz-payment-cta-solid .sz-payment-submit-wrapper { background: var(--sz-primary) !important; }
.sobelzcom-theme.sz-payment-cta-soft .sz-payment-submit-wrapper { border: 1px solid color-mix(in srgb, var(--sz-primary) 35%, transparent) !important; background: color-mix(in srgb, var(--sz-primary) 14%, var(--bs-paper-bg)) !important; box-shadow: 0 .45rem 1.2rem color-mix(in srgb, var(--sz-primary) 14%, transparent) !important; }

.sobelzcom-theme .sz-payment-submit-wrapper:hover { transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 1rem 2.1rem color-mix(in srgb, var(--sz-primary) 34%, transparent) !important; }
.sobelzcom-theme .sz-payment-submit-wrapper:focus-within { outline: 0; box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--sz-primary) 22%, transparent), 0 .85rem 1.8rem color-mix(in srgb, var(--sz-primary) 26%, transparent) !important; }

.sobelzcom-theme .sz-payment-submit-wrapper :is(#pay_now, input[name="make_payment"]).sz-payment-submit {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 56px;
  padding: .65rem 3.35rem 1.35rem !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: .94rem;
  font-weight: 750;
  letter-spacing: .005em;
}

.sobelzcom-theme.sz-payment-cta-soft .sz-payment-submit-wrapper :is(#pay_now, input[name="make_payment"]).sz-payment-submit { color: var(--sz-primary-deep) !important; -webkit-text-fill-color: var(--sz-primary-deep) !important; }
.sobelzcom-theme .sz-payment-cta-icon { position: absolute; z-index: 3; inset-inline-start: 1rem; inset-block-start: 50%; display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.24); border-radius: .65rem; background: rgba(255,255,255,.16); color: #fff; transform: translateY(-50%); pointer-events: none; }
.sobelzcom-theme.sz-payment-cta-soft .sz-payment-cta-icon { border-color: color-mix(in srgb, var(--sz-primary) 24%, transparent); background: color-mix(in srgb, var(--sz-primary) 12%, transparent); color: var(--sz-primary); }
.sobelzcom-theme .sz-payment-cta-meta { position: absolute; z-index: 3; inset-inline: 3.35rem 1rem; inset-block-end: .62rem; overflow: hidden; color: rgba(255,255,255,.78); font-size: .67rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.sobelzcom-theme.sz-payment-cta-soft .sz-payment-cta-meta { color: color-mix(in srgb, var(--sz-primary-deep) 72%, var(--bs-body-color)); }

@media (max-width: 1399.98px) {
  .sobelzcom-theme .sz-dashboard-attention-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .sobelzcom-theme .sz-dashboard-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sobelzcom-theme .sobelzcom-announcement-modal .modal-footer { align-items: stretch; }
  .sobelzcom-theme .sobelzcom-announcement-modal .modal-footer .btn { flex: 1 1 auto; }
}

@media (max-width: 575.98px) {
  .sobelzcom-theme { --sz-surface-padding: 1rem; }
  .sobelzcom-theme .sz-dashboard-kpi-grid,
  .sobelzcom-theme .sz-dashboard-attention-grid { grid-template-columns: 1fr; }
  .sobelzcom-theme .sz-dashboard-insight-card .card-body { min-height: 82px; padding: .9rem; }
  .sobelzcom-theme .sz-dashboard-attention-card .card-header,
  .sobelzcom-theme .sz-chart-card .card-header,
  .sobelzcom-theme .sz-dashboard-recent-card .card-header { padding: 1rem; }
  .sobelzcom-theme .sobelzcom-announcement-center-head { align-items: flex-start; }
  .sobelzcom-theme .sobelzcom-announcement-center .sobelzcom-announcement-banner { grid-template-columns: 1fr; padding: .875rem 1rem; }
  .sobelzcom-theme .sobelzcom-announcement-banner > .sobelzcom-announcement-icon { display: none; }
  .sobelzcom-theme .sobelzcom-announcement-modal .modal-dialog { margin: .75rem; }
  .sobelzcom-theme .sobelzcom-announcement-modal .modal-footer { display: grid; grid-template-columns: 1fr; }
  .sobelzcom-theme .sz-payment-submit-wrapper.waves-input-wrapper { min-height: 60px; }
}

/* Sobelzcom 4.6.0 final surface and counter guarantees ------------------ */
.sobelzcom-theme #layout-menu .sobelzcom-menu-badge {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.sobelzcom-theme.sz-document-page .sz-document-main-panel {
  margin-top: 0 !important;
}

.sobelzcom-theme.sz-document-page .sz-document-main-panel > .panel-body.card-body {
  padding: clamp(1rem, 1.5vw, 1.5rem);
}

.sobelzcom-theme.sz-document-page :is(.sz-document-proxy-card, .sz-nested-document-card) {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sobelzcom-theme.sz-document-page :is(.sz-document-proxy-card, .sz-nested-document-card) > :is(.panel-body, .card-body) {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sobelzcom-theme.sz-document-page .sz-document-inner-surface {
  margin: 0 !important;
}

.sobelzcom-theme .sz-payment-cta-arrow {
  position: absolute;
  z-index: 3;
  inset-inline-end: 1rem;
  inset-block-start: 50%;
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: .65rem;
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: translateY(-50%);
  pointer-events: none;
}

.sobelzcom-theme.sz-payment-cta-soft .sz-payment-cta-arrow {
  background: color-mix(in srgb, var(--sz-primary) 10%, transparent);
  color: var(--sz-primary);
}

html[dir="rtl"] .sobelzcom-theme .sz-payment-cta-arrow i {
  transform: scaleX(-1);
}

@media (max-width: 575.98px) {
  .sobelzcom-theme.sz-document-page .sz-document-main-panel > .panel-body.card-body {
    padding: .875rem;
  }
}


/* Sobelzcom 4.6 dashboard clarity, mobile theme control and alerts ------- */
.sobelzcom-theme .sobelzcom-mobile-theme-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.sobelzcom-theme .sobelzcom-mobile-theme-switcher .sobelzcom-icon-button {
  display: inline-flex !important;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
}

.sobelzcom-theme .sz-dashboard-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
}

.sobelzcom-theme .sz-dashboard-insight-copy {
  grid-template-rows: auto auto auto;
}

.sobelzcom-theme .sz-dashboard-insight-copy > span {
  overflow: hidden;
  color: var(--bs-heading-color);
  font-size: .83rem;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-dashboard-insight-copy > small {
  color: var(--bs-secondary-color);
  font-size: .7rem;
  line-height: 1.35;
}

.sobelzcom-theme :is(.sz-dashboard-attention-card, .sz-chart-card, .sz-dashboard-recent-card) > .card-header {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: space-between;
  gap: .875rem;
}

.sobelzcom-theme :is(.sz-dashboard-attention-card, .sz-chart-card, .sz-dashboard-recent-card) > .card-header > :first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.sobelzcom-theme :is(.sz-dashboard-attention-card, .sz-chart-card, .sz-dashboard-recent-card) > .card-header > .badge {
  display: inline-flex !important;
  min-width: 2rem;
  min-height: 1.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0 !important;
  line-height: 1;
  white-space: nowrap;
}

.sobelzcom-theme .sobelzcom-alert-stack {
  top: max(.9rem, env(safe-area-inset-top)) !important;
  right: max(.9rem, env(safe-area-inset-right)) !important;
  bottom: auto !important;
  left: auto !important;
  width: min(23rem, calc(100vw - 1.8rem)) !important;
  max-height: calc(100dvh - 1.8rem);
  gap: .6rem;
  transform: none !important;
}

html[dir="rtl"] .sobelzcom-theme .sobelzcom-alert-stack {
  right: max(.9rem, env(safe-area-inset-right)) !important;
  left: auto !important;
}

.sobelzcom-theme .sobelzcom-alert-stack > .sz-runtime-alert {
  grid-template-columns: 2.35rem minmax(0, 1fr) 1.75rem;
  align-items: start;
  min-height: 4rem;
  padding: .78rem .82rem !important;
  border: 1px solid color-mix(in srgb, currentColor 18%, var(--bs-border-color)) !important;
  border-inline-start-width: 4px !important;
  background: color-mix(in srgb, var(--bs-paper-bg) 97%, currentColor 3%) !important;
  color: var(--bs-body-color) !important;
  box-shadow: 0 1rem 2.5rem rgba(47, 43, 61, .24) !important;
  pointer-events: auto !important;
}

.sobelzcom-theme .sz-runtime-alert-icon {
  margin-top: .05rem;
}

.sobelzcom-theme .sz-runtime-alert-copy {
  display: grid;
  gap: .16rem;
  padding-top: .05rem;
  font-size: .78rem;
  line-height: 1.55;
}

.sobelzcom-theme .sz-runtime-alert-title {
  display: block;
  color: var(--bs-heading-color);
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.35;
}

.sobelzcom-theme .sz-runtime-alert-message {
  color: var(--bs-body-color);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.sobelzcom-theme .sz-runtime-alert > .btn-close {
  margin-top: -.15rem !important;
}

@media (max-width: 767.98px) {
  .sobelzcom-theme .sobelzcom-navbar-actions {
    gap: .15rem;
  }
  .sobelzcom-theme .sz-dashboard-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .sobelzcom-theme .sz-dashboard-insight-card .card-body {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .sobelzcom-theme .sz-dashboard-insight-action {
    display: none;
  }
}

@media (max-width: 420px) {
  .sobelzcom-theme .sz-dashboard-kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* Sobelzcom 4.7 unified dashboard and configurable notices ---------------- */
.sobelzcom-theme .sz-dashboard-command-card {
  overflow: hidden;
}

.sobelzcom-theme .sz-dashboard-command-card > .card-header {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--bs-border-color);
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--sz-primary) 10%, transparent), transparent 34%),
    var(--bs-paper-bg);
}

.sobelzcom-theme .sz-dashboard-command-card > .card-header > .badge {
  display: inline-flex;
  min-width: 2.1rem;
  min-height: 1.8rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1;
}

.sobelzcom-theme .sz-dashboard-command-card > .card-body {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1.25rem;
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin: 0 !important;
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 6.25rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .95rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--bs-border-color) 88%, var(--sz-primary) 12%);
  border-radius: calc(var(--sz-radius) + 2px);
  background: color-mix(in srgb, var(--bs-paper-bg) 96%, var(--sz-primary) 4%);
  color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card::after {
  position: absolute;
  inset-block: .75rem;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: currentColor;
  content: '';
  opacity: .8;
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card:hover {
  border-color: color-mix(in srgb, currentColor 34%, var(--bs-border-color));
  box-shadow: 0 .65rem 1.5rem rgba(47, 43, 61, .09);
  color: inherit;
  transform: translateY(-2px);
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card.sz-tone-danger { color: var(--bs-danger); }
.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card.sz-tone-warning { color: var(--bs-warning); }
.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card.sz-tone-success { color: var(--bs-success); }
.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card.sz-tone-info { color: var(--bs-info); }
.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card.sz-tone-secondary { color: var(--bs-secondary); }
.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card.sz-tone-primary { color: var(--sz-primary); }

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-copy {
  display: grid;
  min-width: 0;
  gap: .1rem;
  color: var(--bs-body-color);
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-copy > strong {
  color: var(--bs-heading-color);
  font-size: 1.55rem;
  font-weight: 780;
  line-height: 1.05;
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-copy > span {
  color: var(--bs-heading-color);
  font-size: .8rem;
  font-weight: 680;
  line-height: 1.45;
  white-space: normal;
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-copy > small {
  color: var(--bs-secondary-color);
  font-size: .68rem;
  line-height: 1.35;
}

.sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-action {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: .55rem;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: currentColor;
}

html[dir="rtl"] .sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-action i,
html[dir="rtl"] .sobelzcom-theme .sz-dashboard-recent-item > i:last-child {
  transform: scaleX(-1);
}

.sobelzcom-theme .sz-dashboard-decision-strip {
  display: grid;
  grid-template-columns: minmax(15rem, .8fr) minmax(0, 2fr);
  align-items: center;
  gap: 1rem;
  padding: .85rem;
  border: 1px dashed color-mix(in srgb, var(--bs-border-color) 78%, var(--sz-primary) 22%);
  border-radius: calc(var(--sz-radius) + 1px);
  background: color-mix(in srgb, var(--bs-body-bg) 72%, var(--bs-paper-bg) 28%);
}

.sobelzcom-theme .sz-dashboard-decision-intro {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .75rem;
}

.sobelzcom-theme .sz-dashboard-decision-intro > span:last-child {
  display: grid;
  min-width: 0;
  gap: .12rem;
}

.sobelzcom-theme .sz-dashboard-decision-intro strong {
  color: var(--bs-heading-color);
  font-size: .82rem;
}

.sobelzcom-theme .sz-dashboard-decision-intro small {
  color: var(--bs-secondary-color);
  font-size: .7rem;
  line-height: 1.45;
}

.sobelzcom-theme .sz-dashboard-decision-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
}

.sobelzcom-theme .sz-dashboard-decision-item {
  display: grid;
  min-width: 0;
  min-height: 2.75rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  padding: .55rem .65rem;
  border-radius: .65rem;
  background: var(--bs-paper-bg);
  color: var(--bs-body-color);
}

.sobelzcom-theme .sz-dashboard-decision-item:hover {
  background: color-mix(in srgb, var(--sz-primary) 7%, var(--bs-paper-bg));
  color: var(--bs-heading-color);
}

.sobelzcom-theme .sz-dashboard-decision-item > span {
  overflow: hidden;
  font-size: .72rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sobelzcom-theme .sz-dashboard-decision-item > strong {
  display: inline-flex;
  min-width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .68rem;
}

.sobelzcom-theme .sz-dashboard-decision-item.is-clear { opacity: .72; }
.sobelzcom-theme #sobelzcom-dashboard-project-status { min-height: 16rem; }

/* Alert configuration is applied entirely through validated server settings. */
.sobelzcom-theme .sobelzcom-alert-stack {
  --sz-alert-offset: max(.9rem, env(safe-area-inset-top));
  position: fixed !important;
  z-index: 2147483000 !important;
  display: flex;
  width: min(25rem, calc(100vw - 1.8rem)) !important;
  max-height: calc(100dvh - 1.8rem);
  flex-direction: column;
  gap: .65rem;
  pointer-events: none;
  transform: none !important;
}

.sobelzcom-theme.sz-alert-position-top-right .sobelzcom-alert-stack { inset: var(--sz-alert-offset) max(.9rem, env(safe-area-inset-right)) auto auto !important; }
.sobelzcom-theme.sz-alert-position-top-left .sobelzcom-alert-stack { inset: var(--sz-alert-offset) auto auto max(.9rem, env(safe-area-inset-left)) !important; }
.sobelzcom-theme.sz-alert-position-top-center .sobelzcom-alert-stack { inset: var(--sz-alert-offset) auto auto 50% !important; transform: translateX(-50%) !important; }
.sobelzcom-theme.sz-alert-position-bottom-right .sobelzcom-alert-stack { inset: auto max(.9rem, env(safe-area-inset-right)) max(.9rem, env(safe-area-inset-bottom)) auto !important; }
.sobelzcom-theme.sz-alert-position-bottom-left .sobelzcom-alert-stack { inset: auto auto max(.9rem, env(safe-area-inset-bottom)) max(.9rem, env(safe-area-inset-left)) !important; }
.sobelzcom-theme.sz-alert-position-bottom-center .sobelzcom-alert-stack { inset: auto auto max(.9rem, env(safe-area-inset-bottom)) 50% !important; transform: translateX(-50%) !important; }

.sobelzcom-theme .sobelzcom-alert-stack > .sobelzcom-floating-alert {
  --sz-alert-tone: var(--sz-alert-info);
  position: relative !important;
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 4.35rem;
  grid-template-columns: 2.4rem minmax(0, 1fr) 1.8rem;
  align-items: start;
  gap: .75rem;
  margin: 0 !important;
  padding: .82rem .86rem !important;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--sz-alert-tone) 30%, var(--bs-border-color)) !important;
  border-inline-start: 4px solid var(--sz-alert-tone) !important;
  border-radius: calc(var(--sz-radius) + 2px) !important;
  background: color-mix(in srgb, var(--sz-alert-tone) 7%, var(--bs-paper-bg)) !important;
  color: var(--bs-body-color) !important;
  box-shadow: 0 1rem 2.7rem rgba(47, 43, 61, .25) !important;
  pointer-events: auto !important;
}

.sobelzcom-theme .sobelzcom-alert-stack > :is(.alert-success, [data-type="success"]) { --sz-alert-tone: var(--sz-alert-success); }
.sobelzcom-theme .sobelzcom-alert-stack > :is(.alert-danger, .alert-error, [data-type="danger"], [data-type="error"]) { --sz-alert-tone: var(--sz-alert-danger); }
.sobelzcom-theme .sobelzcom-alert-stack > :is(.alert-warning, [data-type="warning"]) { --sz-alert-tone: var(--sz-alert-warning); }
.sobelzcom-theme .sobelzcom-alert-stack > :is(.alert-info, .alert-primary, [data-type="info"]) { --sz-alert-tone: var(--sz-alert-info); }

.sobelzcom-theme.sz-alert-style-solid .sobelzcom-alert-stack > .sobelzcom-floating-alert {
  border-color: var(--sz-alert-tone) !important;
  background: var(--sz-alert-tone) !important;
  color: #fff !important;
}

.sobelzcom-theme.sz-alert-style-solid .sobelzcom-alert-stack > .sobelzcom-floating-alert :is(.sz-runtime-alert-title, .sz-runtime-alert-message, a, .btn-close) {
  color: #fff !important;
}

.sobelzcom-theme.sz-alert-style-solid .sobelzcom-alert-stack > .sobelzcom-floating-alert .sz-runtime-alert-icon {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.16) !important;
  color: #fff !important;
}

.sobelzcom-theme.sz-alert-style-bordered .sobelzcom-alert-stack > .sobelzcom-floating-alert {
  border: 1px solid var(--sz-alert-tone) !important;
  border-inline-start-width: 5px !important;
  background: var(--bs-paper-bg) !important;
}

.sobelzcom-theme .sobelzcom-alert-stack .sz-runtime-alert-title {
  color: var(--bs-heading-color);
  font-size: .86rem;
  font-weight: 780;
  line-height: 1.4;
}

.sobelzcom-theme .sobelzcom-alert-stack .sz-runtime-alert-message {
  color: var(--bs-body-color);
  font-size: .78rem;
  font-weight: 520;
  line-height: 1.6;
}

.sobelzcom-theme .sobelzcom-alert-stack .sz-runtime-alert-icon {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--sz-alert-tone) 22%, transparent);
  border-radius: .7rem;
  background: color-mix(in srgb, var(--sz-alert-tone) 13%, transparent) !important;
  color: var(--sz-alert-tone) !important;
}

.sobelzcom-theme .sobelzcom-alert-stack .sz-runtime-alert-without-icon { grid-template-columns: minmax(0, 1fr) 1.8rem; }
.sobelzcom-theme .sobelzcom-alert-stack .sz-runtime-alert-without-title .sz-runtime-alert-copy { align-self: center; }
.sobelzcom-theme .sobelzcom-alert-stack .sz-runtime-alert-copy { min-width: 0; padding: 0; }

@media (max-width: 1199.98px) {
  .sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sobelzcom-theme .sz-dashboard-decision-strip { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
  .sobelzcom-theme .sz-dashboard-command-card > .card-header { align-items: flex-start; padding: 1rem; }
  .sobelzcom-theme .sz-dashboard-command-card > .card-body { padding: .9rem; }
  .sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-kpi-grid { gap: .65rem; }
  .sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-insight-card { min-height: 5.5rem; padding: .8rem; }
  .sobelzcom-theme .sz-dashboard-decision-items { grid-template-columns: 1fr; }
}

@media (max-width: 479.98px) {
  .sobelzcom-theme .sz-dashboard-command-card .sz-dashboard-kpi-grid { grid-template-columns: 1fr; }
  .sobelzcom-theme .sobelzcom-alert-stack { width: calc(100vw - 1rem) !important; }
  .sobelzcom-theme.sz-alert-position-top-right .sobelzcom-alert-stack,
  .sobelzcom-theme.sz-alert-position-top-left .sobelzcom-alert-stack { inset-inline: .5rem !important; }
  .sobelzcom-theme.sz-alert-position-bottom-right .sobelzcom-alert-stack,
  .sobelzcom-theme.sz-alert-position-bottom-left .sobelzcom-alert-stack { inset-inline: .5rem !important; }
}

/* Sobelzcom 4.7 message visibility contract ----------------------------- */
body.sz-alert-disabled .sobelzcom-alert-stack,
body.sz-alert-disabled #sobelzcom-alert-stack {
  display: none !important;
}

/* Keep top-position notices clear of the detached navigation controls. */
.sobelzcom-theme .sobelzcom-alert-stack {
  --sz-alert-offset: max(5.35rem, calc(env(safe-area-inset-top) + 4.35rem));
}
.sobelzcom-theme .sobelzcom-alert-stack > .sobelzcom-floating-alert {
  pointer-events: none !important;
}
.sobelzcom-theme .sobelzcom-alert-stack > .sobelzcom-floating-alert :is(a, button, input, .close, [data-dismiss], [data-bs-dismiss]) {
  pointer-events: auto !important;
}
