@charset "UTF-8";
body.msm-legacy-modern {
  --msm-bg: #f6f8fb;
  --msm-surface: #ffffff;
  --msm-surface-soft: #f9fbff;
  --msm-border: #e5eaf2;
  --msm-border-strong: #d7deea;
  --msm-text: #101828;
  --msm-text-soft: #344054;
  --msm-muted: #667085;
  --msm-primary: #2563eb;
  --msm-primary-hover: #1d4ed8;
  --msm-primary-soft: #eaf1ff;
  --msm-success: #12b76a;
  --msm-success-soft: #e8f8ef;
  --msm-warning: #f79009;
  --msm-warning-soft: #fff4e5;
  --msm-danger: #f04438;
  --msm-danger-soft: #feeceb;
  --msm-info: #06aed4;
  --msm-info-soft: #e8f8fc;
  --msm-purple: #7c3aed;
  --msm-purple-soft: #f1ecff;
  --msm-table-row-base: #ffffff;
  --msm-table-row-alt: #f1f5fb;
  --msm-table-row-hover: #eaf2ff;
  --msm-radius-xs: 4px;
  --msm-radius-sm: 6px;
  --msm-radius-md: 8px;
  --msm-radius-lg: 10px;
  --msm-shadow-card: 0 8px 24px rgba(16, 24, 40, 0.06);
  --msm-shadow-float: 0 16px 36px rgba(16, 24, 40, 0.10);
  --msm-transition-fast: 150ms ease;
  --msm-transition-base: 220ms ease;
  --msm-sidebar-width: 230px;
  --msm-topbar-height: 50px;
  --msm-bottom-nav-height: 56px;
  color: var(--msm-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.msm-legacy-modern .text-muted {
  color: var(--msm-muted);
}

body.msm-legacy-modern:not(.lockscreen) {
  background: var(--msm-bg);
}

body.msm-legacy-modern:not(.lockscreen) .content-wrapper {
  background: var(--msm-bg);
}

body.msm-legacy-modern .content-header {
  padding: 20px 24px 8px;
}

body.msm-legacy-modern .content-header > h1 {
  color: var(--msm-text);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

body.msm-legacy-modern .content {
  padding: 16px 24px 24px;
}

body.msm-legacy-modern .content-header-custom,
body.msm-legacy-modern .content-custom {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.msm-modern-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.msm-modern-stack {
  display: grid;
  gap: 16px;
}

body.msm-legacy-modern .main-footer .msm-text-size-tool,
.main-footer .msm-text-size-tool {
  display: inline-block;
  position: relative;
}

body.msm-legacy-modern .main-footer .msm-text-size-toggle,
.main-footer .msm-text-size-toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7e2f2;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
  color: #334155;
  display: inline-flex;
  font-size: 10.5px;
  font-weight: 850;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
}

body.msm-legacy-modern .main-footer .msm-text-size-toggle:hover,
body.msm-legacy-modern .main-footer .msm-text-size-toggle:focus,
.main-footer .msm-text-size-toggle:hover,
.main-footer .msm-text-size-toggle:focus {
  background: #eff6ff;
  border-color: #bfd5ff;
  color: #1d4ed8;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel,
.main-footer .msm-text-size-panel {
  border: 1px solid #d7e2f2;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.18);
  color: #0f172a;
  min-width: 340px;
  padding: 12px;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__head,
.main-footer .msm-text-size-panel__head {
  border-bottom: 1px solid #e5eaf2;
  margin-bottom: 10px;
  padding-bottom: 9px;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__head strong,
.main-footer .msm-text-size-panel__head strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__head span,
.main-footer .msm-text-size-panel__head span {
  color: #64748b;
  display: block;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 2px;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__section,
.main-footer .msm-text-size-panel__section {
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__section + .msm-text-size-panel__section,
.main-footer .msm-text-size-panel__section + .msm-text-size-panel__section {
  margin-top: 9px;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__row,
.main-footer .msm-text-size-panel__row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__row span,
.main-footer .msm-text-size-panel__row span {
  color: #334155;
  font-size: 12px;
  font-weight: 850;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__row strong,
.main-footer .msm-text-size-panel__row strong {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__presets,
.main-footer .msm-text-size-panel__presets {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.msm-legacy-modern .main-footer .msm-text-size-panel .toggle-font-size,
.main-footer .msm-text-size-panel .toggle-font-size {
  background: #ffffff;
  border: 1px solid #d7e2f2;
  border-radius: 7px;
  box-shadow: none;
  color: #334155;
  font-size: 10.5px;
  font-weight: 850;
  min-height: 28px;
  padding: 5px 6px;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel .toggle-font-size:hover,
body.msm-legacy-modern .main-footer .msm-text-size-panel .toggle-font-size:focus,
.main-footer .msm-text-size-panel .toggle-font-size:hover,
.main-footer .msm-text-size-panel .toggle-font-size:focus {
  background: #eff6ff;
  border-color: #bfd5ff;
  color: #1d4ed8;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel .toggle-font-size.is-active,
body.msm-legacy-modern .main-footer .msm-text-size-panel .toggle-font-size.active,
.main-footer .msm-text-size-panel .toggle-font-size.is-active,
.main-footer .msm-text-size-panel .toggle-font-size.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
  box-shadow: 0 8px 15px rgba(37, 99, 235, 0.2);
  color: #ffffff;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__custom,
.main-footer .msm-text-size-panel__custom {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 70px minmax(100px, 1fr) 60px;
  margin: 9px 0 0;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__custom span,
.main-footer .msm-text-size-panel__custom span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__custom input[type=range],
.main-footer .msm-text-size-panel__custom input[type=range] {
  margin: 0;
}

body.msm-legacy-modern .main-footer .msm-text-size-panel__custom .form-control,
.main-footer .msm-text-size-panel__custom .form-control {
  border-color: #d7e2f2;
  border-radius: 7px;
  box-shadow: none;
  font-size: 11px;
  font-weight: 850;
  height: 28px;
  min-height: 28px;
  padding: 4px 6px;
}

body.msm-legacy-modern .main-footer .msm-font-reset,
.main-footer .msm-font-reset {
  background: #ffffff;
  border: 1px solid #d7e2f2;
  border-radius: 7px;
  color: #2563eb;
  font-weight: 850;
  margin-top: 10px;
  width: 100%;
}

@media (max-width: 767px) {
  body.msm-legacy-modern .main-footer .msm-text-size-tool,
  .main-footer .msm-text-size-tool {
    float: none !important;
    margin-top: 8px;
    width: 100%;
  }
  body.msm-legacy-modern .main-footer .msm-text-size-toggle,
  .main-footer .msm-text-size-toggle {
    justify-content: center;
    width: 100%;
  }
  body.msm-legacy-modern .main-footer .msm-text-size-panel,
  .main-footer .msm-text-size-panel {
    left: 0;
    min-width: 0;
    right: 0;
    width: 100%;
  }
  body.msm-legacy-modern {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  body.msm-legacy-modern:not(.pos-body) .content-wrapper {
    padding-bottom: calc(var(--msm-bottom-nav-height, 56px) + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }
}
body.msm-legacy-modern .content-wrapper .box {
  border-radius: var(--msm-radius-md);
}

body.msm-legacy-modern .content-wrapper .box-header {
  color: var(--msm-text);
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs {
  align-items: flex-end;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
  background-color: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid var(--msm-border) !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  min-height: 58px;
  padding: 0 22px;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li {
  border-top: 0 !important;
  float: none;
  margin: 0;
  min-width: 0;
  position: relative;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li.active {
  border-top-color: transparent !important;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li > a {
  align-items: center;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 0;
  color: var(--msm-text-soft) !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: center;
  line-height: 1.2;
  margin: 0;
  min-height: 58px;
  padding: 15px 0 14px;
  position: relative;
  text-decoration: none;
  width: auto;
  z-index: 1;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li > a::before {
  content: none;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li > a > i {
  flex: 0 0 auto;
  line-height: 1;
  margin-right: 6px;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li > a:hover,
body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li > a:focus {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--msm-primary) !important;
  outline: 0;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li.active {
  margin-right: 0;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li.active > a,
body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li.active > a:hover,
body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li.active > a:focus {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #4f46e5 !important;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .nav-tabs > li.active > a::before {
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  border-radius: 999px 999px 0 0;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .nav-tabs-custom > .tab-content {
  background: var(--msm-surface);
  padding: 18px 16px;
}

body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs {
  align-items: stretch;
  gap: 6px;
  justify-content: flex-start;
  min-height: 48px;
  padding: 0 14px;
}

body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs.nav-justified > li {
  display: block;
  flex: 0 0 auto;
  width: auto;
}

body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs > li > a {
  gap: 7px;
  min-height: 48px;
  padding: 12px 9px 11px;
  white-space: nowrap;
}

body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs > li > a > i {
  margin-right: 0;
}

body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs > li.active > a::before {
  left: 9px;
  width: calc(100% - 18px);
}

@media (max-width: 767px) {
  body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs {
    gap: 4px;
    padding: 6px 8px 0;
  }
  body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs > li {
    flex: 1 1 calc(50% - 4px);
  }
  body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs > li > a {
    justify-content: flex-start;
    min-height: 40px;
    padding: 9px 7px 10px;
    white-space: normal;
  }
  body.msm-legacy-modern .content-wrapper .msm-compact-tabs > .nav-tabs > li.active > a::before {
    left: 7px;
    width: calc(100% - 14px);
  }
}
body.msm-legacy-modern .content-wrapper .msm-contact-tabs > .nav-tabs {
  align-items: stretch;
  gap: 4px;
  justify-content: flex-start;
  min-height: 48px;
  padding: 0 14px;
}

body.msm-legacy-modern .content-wrapper .msm-contact-tabs > .nav-tabs.nav-justified > li {
  display: block;
  flex: 0 0 auto;
  width: auto;
}

body.msm-legacy-modern .content-wrapper .msm-contact-tabs > .nav-tabs > li > a {
  gap: 6px;
  min-height: 48px;
  padding: 12px 8px 11px;
  white-space: nowrap;
}

body.msm-legacy-modern .content-wrapper .msm-contact-tabs > .nav-tabs > li > a > i {
  margin-right: 0;
}

body.msm-legacy-modern .content-wrapper .msm-contact-tabs > .nav-tabs > li.active > a::before {
  left: 8px;
  width: calc(100% - 16px);
}

body.msm-legacy-modern .content-wrapper .msm-invoice-tabs > .nav-tabs {
  gap: 26px;
  justify-content: flex-start;
  min-height: 50px;
  padding: 0 22px;
}

body.msm-legacy-modern .content-wrapper .msm-invoice-tabs > .nav-tabs > li > a {
  min-height: 50px;
  padding: 12px 0 11px;
}

body.msm-legacy-modern .content-wrapper .btn,
body.msm-legacy-modern .main-header .btn {
  border-radius: 8px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  min-height: 34px;
  padding: 7px 13px;
  text-transform: none;
  transition: background-color var(--msm-transition-fast), background var(--msm-transition-fast), border-color var(--msm-transition-fast), box-shadow var(--msm-transition-fast), color var(--msm-transition-fast), transform var(--msm-transition-fast);
}

body.msm-legacy-modern .content-wrapper .btn:not(input),
body.msm-legacy-modern .main-header .btn:not(input) {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
}

body.msm-legacy-modern .content-wrapper .btn.btn-block,
body.msm-legacy-modern .main-header .btn.btn-block {
  display: flex;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .btn-xs,
body.msm-legacy-modern .main-header .btn-xs {
  border-radius: 7px;
  font-size: 10.5px;
  min-height: 26px;
  padding: 5px 9px;
}

body.msm-legacy-modern .content-wrapper .btn-sm,
body.msm-legacy-modern .main-header .btn-sm {
  min-height: 30px;
  padding: 6px 11px;
}

body.msm-legacy-modern .content-wrapper .btn-lg,
body.msm-legacy-modern .main-header .btn-lg,
body.msm-legacy-modern .content-wrapper .btn-big {
  border-radius: 10px;
  font-size: 14px;
  min-height: 42px;
  padding: 10px 18px;
}

body.msm-legacy-modern .content-wrapper .btn-primary,
body.msm-legacy-modern .content-wrapper .btn-info,
body.msm-legacy-modern .content-wrapper .btn-success,
body.msm-legacy-modern .main-header .btn-primary,
body.msm-legacy-modern .main-header .btn-info,
body.msm-legacy-modern .main-header .btn-success {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: rgba(29, 78, 216, 0.2);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.16);
  color: #ffffff;
}

body.msm-legacy-modern .content-wrapper .btn-primary:hover,
body.msm-legacy-modern .content-wrapper .btn-primary:focus,
body.msm-legacy-modern .content-wrapper .btn-info:hover,
body.msm-legacy-modern .content-wrapper .btn-info:focus,
body.msm-legacy-modern .content-wrapper .btn-success:hover,
body.msm-legacy-modern .content-wrapper .btn-success:focus,
body.msm-legacy-modern .main-header .btn-primary:hover,
body.msm-legacy-modern .main-header .btn-primary:focus,
body.msm-legacy-modern .main-header .btn-info:hover,
body.msm-legacy-modern .main-header .btn-info:focus,
body.msm-legacy-modern .main-header .btn-success:hover,
body.msm-legacy-modern .main-header .btn-success:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  border-color: rgba(30, 64, 175, 0.3);
  box-shadow: 0 11px 22px rgba(37, 99, 235, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

body.msm-legacy-modern .content-wrapper .btn-default,
body.msm-legacy-modern .main-header .btn-default {
  background: var(--msm-surface);
  border-color: var(--msm-border-strong);
  color: var(--msm-primary);
}

body.msm-legacy-modern .content-wrapper .btn-default:hover,
body.msm-legacy-modern .content-wrapper .btn-default:focus {
  background: var(--msm-primary-soft);
  border-color: #cfe0ff;
  color: var(--msm-primary);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
}

body.msm-legacy-modern .content-wrapper .btn-danger,
body.msm-legacy-modern .main-header .btn-danger {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  border-color: rgba(225, 29, 72, 0.22);
  box-shadow: 0 8px 16px rgba(244, 63, 94, 0.14);
  color: #ffffff;
}

body.msm-legacy-modern .content-wrapper .btn-danger:hover,
body.msm-legacy-modern .content-wrapper .btn-danger:focus,
body.msm-legacy-modern .main-header .btn-danger:hover,
body.msm-legacy-modern .main-header .btn-danger:focus {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

body.msm-legacy-modern .content-wrapper .btn-warning,
body.msm-legacy-modern .main-header .btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  border-color: rgba(234, 88, 12, 0.2);
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.14);
  color: #ffffff;
}

body.msm-legacy-modern .content-wrapper .btn-warning:hover,
body.msm-legacy-modern .content-wrapper .btn-warning:focus,
body.msm-legacy-modern .main-header .btn-warning:hover,
body.msm-legacy-modern .main-header .btn-warning:focus {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

body.msm-legacy-modern .content-wrapper .btn[disabled],
body.msm-legacy-modern .content-wrapper .btn.disabled,
body.msm-legacy-modern .main-header .btn[disabled],
body.msm-legacy-modern .main-header .btn.disabled {
  box-shadow: none;
  opacity: 0.62;
  transform: none;
}

body.msm-legacy-modern .content-wrapper .btn .caret,
body.msm-legacy-modern .main-header .btn .caret {
  margin-left: 2px;
}

body.msm-legacy-modern .content-wrapper .btn-primary .caret,
body.msm-legacy-modern .content-wrapper .btn-info .caret,
body.msm-legacy-modern .content-wrapper .btn-success .caret,
body.msm-legacy-modern .content-wrapper .btn-danger .caret,
body.msm-legacy-modern .content-wrapper .btn-warning .caret,
body.msm-legacy-modern .main-header .btn-primary .caret,
body.msm-legacy-modern .main-header .btn-info .caret,
body.msm-legacy-modern .main-header .btn-success .caret,
body.msm-legacy-modern .main-header .btn-danger .caret,
body.msm-legacy-modern .main-header .btn-warning .caret {
  border-top-color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 767px) {
  body.msm-legacy-modern .content-wrapper .btn,
  body.msm-legacy-modern .main-header .btn,
  body.msm-legacy-modern .modal .btn {
    min-height: 42px !important;
  }
  body.msm-legacy-modern .content-wrapper .btn-xs,
  body.msm-legacy-modern .modal .btn-xs {
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}
body.msm-legacy-modern .msm-help-icon,
body.msm-legacy-modern i.fa-info-circle[data-toggle=tooltip],
body.msm-legacy-modern i.fa-info-circle[data-toggle=popover],
body.msm-legacy-modern i.fa-info[data-toggle=tooltip],
body.msm-legacy-modern i.fa-info[data-toggle=popover],
body.msm-legacy-modern i.fa-info-circle.text-info,
body.msm-legacy-modern i.fa-info.text-info,
body.msm-legacy-modern .input-group-addon i.fa-info,
body.msm-legacy-modern .input-group-addon i.fa-info-circle {
  align-items: center;
  background: var(--msm-primary-soft);
  border: 1px solid #cddcff;
  border-radius: 50%;
  color: var(--msm-primary) !important;
  cursor: help;
  display: inline-flex;
  flex: 0 0 17px;
  font-size: 10px;
  font-style: normal;
  height: 17px;
  justify-content: center;
  line-height: 1;
  margin-left: 4px;
  position: relative;
  top: -1px;
  transition: background-color var(--msm-transition-fast), border-color var(--msm-transition-fast), box-shadow var(--msm-transition-fast), color var(--msm-transition-fast), transform var(--msm-transition-fast);
  vertical-align: middle;
  width: 17px;
}

body.msm-legacy-modern .msm-help-icon:hover,
body.msm-legacy-modern .msm-help-icon:focus,
body.msm-legacy-modern i.fa-info-circle[data-toggle=tooltip]:hover,
body.msm-legacy-modern i.fa-info-circle[data-toggle=popover]:hover,
body.msm-legacy-modern i.fa-info[data-toggle=tooltip]:hover,
body.msm-legacy-modern i.fa-info[data-toggle=popover]:hover,
body.msm-legacy-modern i.fa-info-circle.text-info:hover,
body.msm-legacy-modern i.fa-info.text-info:hover,
body.msm-legacy-modern .input-group-addon i.fa-info:hover,
body.msm-legacy-modern .input-group-addon i.fa-info-circle:hover {
  background: #dce8ff;
  border-color: #a9c2ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  color: var(--msm-primary-hover) !important;
  transform: translateY(-1px);
}

body.msm-legacy-modern .msm-help-icon:focus {
  outline: none;
}

body.msm-legacy-modern .input-group-addon > i.fa-info,
body.msm-legacy-modern .help-block i.fa-info,
body.msm-legacy-modern a[data-toggle=tooltip] > i.fa-info-circle,
body.msm-legacy-modern .help-block i.fa-info-circle,
body.msm-legacy-modern .box-title i.fa-info,
body.msm-legacy-modern .box-title i.fa-info-circle {
  color: var(--msm-primary) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.msm-legacy-modern .msm-help-icon,
  body.msm-legacy-modern i.fa-info-circle[data-toggle=tooltip],
  body.msm-legacy-modern i.fa-info-circle[data-toggle=popover],
  body.msm-legacy-modern i.fa-info[data-toggle=tooltip],
  body.msm-legacy-modern i.fa-info[data-toggle=popover] {
    transition: none;
  }
}
body.msm-legacy-modern .content-wrapper .form-control {
  border-color: var(--msm-border-strong);
  border-radius: var(--msm-radius-sm);
  box-shadow: none;
  color: var(--msm-text);
  min-height: 34px;
}

body.msm-legacy-modern .content-wrapper .form-control:focus {
  border-color: var(--msm-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body.msm-legacy-modern .content-wrapper .select2-container--default .select2-selection--single,
body.msm-legacy-modern .content-wrapper .select2-container--default .select2-selection--multiple {
  border-color: var(--msm-border-strong);
  border-radius: var(--msm-radius-sm);
  min-height: 34px;
}

body.msm-legacy-modern .content-wrapper .input-group,
body.msm-legacy-modern .modal .input-group {
  border-collapse: separate;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main),
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) {
  align-items: stretch;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)),
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) {
  gap: 8px;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main) > .form-control:not(.select2-hidden-accessible),
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main) > .select2-container,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main) > .bootstrap-select,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) > .form-control:not(.select2-hidden-accessible),
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) > .select2-container,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) > .bootstrap-select {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 1% !important;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main) > .select2-hidden-accessible,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) > .select2-hidden-accessible {
  flex: 0 0 auto;
  width: 1px !important;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main) > .input-group-addon,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) > .input-group-addon {
  align-items: center;
  display: inline-flex !important;
  flex: 0 0 40px;
  justify-content: center;
  width: 40px;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main) > .input-group-btn,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) > .input-group-btn {
  display: flex;
  flex: 0 0 auto;
  width: auto;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main) > .input-group-btn > .btn,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) > .input-group-btn > .btn {
  align-items: center;
  border-color: var(--msm-border-strong);
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  min-width: 42px;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .form-control:first-child,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .select2-container:first-child .select2-selection,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .select2-hidden-accessible:first-child + .select2-container .select2-selection,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .bootstrap-select:first-child > .btn,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .form-control:first-child,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .select2-container:first-child .select2-selection,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .select2-hidden-accessible:first-child + .select2-container .select2-selection,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .bootstrap-select:first-child > .btn {
  border-radius: var(--msm-radius-sm) !important;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main) > .input-group-btn:last-child > .btn,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main) > .input-group-btn:last-child > .btn {
  border-radius: 0 var(--msm-radius-sm) var(--msm-radius-sm) 0;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .input-group-btn:last-child > .btn,
body.msm-legacy-modern .modal .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .input-group-btn:last-child > .btn {
  background: #eff6ff !important;
  border: 1px solid #bfd5ff !important;
  border-radius: var(--msm-radius-sm) !important;
  color: var(--msm-primary) !important;
}

body.msm-legacy-modern .content-wrapper .input-group > .input-group-addon,
body.msm-legacy-modern .modal .input-group > .input-group-addon {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid var(--msm-border-strong);
  color: #7f91ae;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  min-height: 34px;
  min-width: 40px;
  padding: 8px 11px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)),
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) {
  align-items: stretch;
  display: flex;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .input-group > .input-group-addon:has(> i:only-child),
body.msm-legacy-modern .modal .input-group > .input-group-addon:has(> i:only-child) {
  min-height: 34px;
  padding-left: 0;
  padding-right: 0;
  width: 40px;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:has(> i:only-child),
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:has(> i:only-child) {
  align-items: center;
  display: inline-flex !important;
  flex: 0 0 40px;
  justify-content: center;
}

body.msm-legacy-modern .content-wrapper .input-group > .input-group-addon i,
body.msm-legacy-modern .modal .input-group > .input-group-addon i {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  width: 14px;
}

body.msm-legacy-modern .content-wrapper .input-group > .form-control,
body.msm-legacy-modern .content-wrapper .input-group .select2-container--default .select2-selection--single,
body.msm-legacy-modern .content-wrapper .input-group .select2-container--default .select2-selection--multiple,
body.msm-legacy-modern .content-wrapper .input-group > .bootstrap-select > .btn,
body.msm-legacy-modern .modal .input-group > .form-control,
body.msm-legacy-modern .modal .input-group .select2-container--default .select2-selection--single,
body.msm-legacy-modern .modal .input-group .select2-container--default .select2-selection--multiple,
body.msm-legacy-modern .modal .input-group > .bootstrap-select > .btn {
  border-color: var(--msm-border-strong);
  min-height: 34px;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .form-control,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .select2-container,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .bootstrap-select,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .form-control,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .select2-container,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .bootstrap-select {
  flex: 1 1 auto;
  min-width: 0;
  width: 1% !important;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:first-child,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:first-child {
  border-radius: var(--msm-radius-sm) 0 0 var(--msm-radius-sm);
  border-right: 0;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:last-child,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:last-child {
  border-left: 0;
  border-radius: 0 var(--msm-radius-sm) var(--msm-radius-sm) 0;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:first-child + .form-control,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:first-child ~ .select2-container .select2-selection,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:first-child + .bootstrap-select > .btn,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:first-child + .form-control,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:first-child ~ .select2-container .select2-selection,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):not(:has(> .input-group-btn)) > .input-group-addon:first-child + .bootstrap-select > .btn {
  border-left: 0;
  border-radius: 0 var(--msm-radius-sm) var(--msm-radius-sm) 0 !important;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-addon:last-child) > .input-group-addon:first-child ~ .select2-container .select2-selection,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-addon:last-child) > .input-group-addon:first-child + .form-control,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-addon:last-child) > .input-group-addon:first-child ~ .select2-container .select2-selection,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-addon:last-child) > .input-group-addon:first-child + .form-control {
  border-radius: 0 !important;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn),
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) {
  align-items: stretch;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-addon:first-child,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-addon:first-child {
  align-items: center;
  border-radius: var(--msm-radius-sm) 0 0 var(--msm-radius-sm);
  border-right: 0;
  display: inline-flex !important;
  flex: 0 0 40px;
  justify-content: center;
  width: 40px;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .form-control:not(.select2-hidden-accessible),
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .select2-container,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .form-control:not(.select2-hidden-accessible),
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .select2-container {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 1% !important;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .select2-hidden-accessible,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .select2-hidden-accessible {
  flex: 0 0 auto;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-addon:first-child + .form-control,
body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-addon:first-child ~ .select2-container .select2-selection,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-addon:first-child + .form-control,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-addon:first-child ~ .select2-container .select2-selection {
  border-left: 0;
  border-radius: 0 !important;
  min-height: 40px;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-btn,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-btn {
  display: flex;
  flex: 0 0 auto;
  width: auto;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-btn:last-child > .btn,
body.msm-legacy-modern .modal .input-group:has(> .input-group-addon:first-child > i:only-child):has(> .input-group-btn) > .input-group-btn:last-child > .btn {
  border-radius: 0 var(--msm-radius-sm) var(--msm-radius-sm) 0;
  min-height: 40px;
}

body.msm-legacy-modern .content-wrapper .input-group:focus-within > .input-group-addon,
body.msm-legacy-modern .modal .input-group:focus-within > .input-group-addon {
  background: linear-gradient(180deg, #eef5ff 0%, #dfeaff 100%);
  border-color: var(--msm-primary);
  color: var(--msm-primary);
  z-index: 2;
}

body.msm-legacy-modern .content-wrapper .input-group:focus-within > .form-control,
body.msm-legacy-modern .content-wrapper .input-group:focus-within .select2-selection,
body.msm-legacy-modern .modal .input-group:focus-within > .form-control,
body.msm-legacy-modern .modal .input-group:focus-within .select2-selection {
  border-color: var(--msm-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  z-index: 1;
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue,
body.msm-legacy-modern .content-wrapper .iradio_square-blue {
  background: #ffffff !important;
  border: 1px solid #cbd5e1;
  box-shadow: inset 0 0 0 2px #ffffff, 0 1px 2px rgba(15, 23, 42, 0.06);
  display: inline-flex;
  flex: 0 0 20px;
  height: 20px;
  margin: 0;
  position: relative;
  transition: background-color var(--msm-transition-fast), border-color var(--msm-transition-fast), box-shadow var(--msm-transition-fast), transform var(--msm-transition-fast);
  vertical-align: middle;
  width: 20px;
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue {
  border-radius: 6px;
}

body.msm-legacy-modern .content-wrapper .iradio_square-blue {
  border-radius: 999px;
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue::after,
body.msm-legacy-modern .content-wrapper .iradio_square-blue::after {
  content: "";
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.76);
  transition: opacity var(--msm-transition-fast), transform var(--msm-transition-fast);
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue.checked,
body.msm-legacy-modern .content-wrapper .iradio_square-blue.checked {
  background: linear-gradient(135deg, #2f7df4 0%, #1d4ed8 100%) !important;
  border-color: rgba(29, 78, 216, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 18px rgba(37, 99, 235, 0.18);
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue.checked::after,
body.msm-legacy-modern .content-wrapper .iradio_square-blue.checked::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue::after {
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  height: 10px;
  margin-top: -1px;
  transform: translate(-50%, -50%) rotate(45deg) scale(0.76);
  width: 5px;
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue.checked::after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

body.msm-legacy-modern .content-wrapper .iradio_square-blue::after {
  background: #ffffff;
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue.hover,
body.msm-legacy-modern .content-wrapper .iradio_square-blue.hover,
body.msm-legacy-modern .content-wrapper .checkbox label:hover .icheckbox_square-blue,
body.msm-legacy-modern .content-wrapper .checkbox label:hover .iradio_square-blue {
  border-color: #93b7ff;
  box-shadow: inset 0 0 0 2px #ffffff, 0 0 0 4px rgba(37, 99, 235, 0.08);
}

body.msm-legacy-modern .content-wrapper .icheckbox_square-blue.disabled,
body.msm-legacy-modern .content-wrapper .iradio_square-blue.disabled {
  background: #f1f5f9 !important;
  border-color: #dbe3ee;
  box-shadow: none;
  opacity: 0.72;
}

body.msm-legacy-modern .content-wrapper .checkbox label:has(.icheckbox_square-blue),
body.msm-legacy-modern .content-wrapper .checkbox-inline:has(.icheckbox_square-blue) {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  color: var(--msm-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  gap: 8px;
  line-height: 1.25;
  min-height: 38px;
  padding: 8px 12px;
  transition: background-color var(--msm-transition-fast), border-color var(--msm-transition-fast), box-shadow var(--msm-transition-fast), color var(--msm-transition-fast);
}

body.msm-legacy-modern .content-wrapper .checkbox label:has(.icheckbox_square-blue.checked),
body.msm-legacy-modern .content-wrapper .checkbox-inline:has(.icheckbox_square-blue.checked) {
  background: #f3f7ff;
  border-color: #b9d0ff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
  color: #0f285f;
}

body.msm-legacy-modern .content-wrapper .checkbox label:has(.icheckbox_square-blue):hover,
body.msm-legacy-modern .content-wrapper .checkbox-inline:has(.icheckbox_square-blue):hover {
  border-color: #b9d0ff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

body.msm-legacy-modern .content-wrapper .checkbox label > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox),
body.msm-legacy-modern .content-wrapper .checkbox-inline > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox) {
  appearance: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px #ffffff;
  flex: 0 0 20px;
  height: 20px;
  margin: 0;
  position: relative;
  width: 20px;
}

body.msm-legacy-modern .content-wrapper .checkbox label > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox):checked,
body.msm-legacy-modern .content-wrapper .checkbox-inline > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox):checked {
  background: linear-gradient(135deg, #2f7df4 0%, #1d4ed8 100%);
  border-color: rgba(29, 78, 216, 0.88);
}

body.msm-legacy-modern .content-wrapper .checkbox label > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox):checked::after,
body.msm-legacy-modern .content-wrapper .checkbox-inline > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox):checked::after {
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  content: "";
  height: 10px;
  left: 50%;
  margin-top: -1px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
}

/* Final form-control stabilizer for Select2 + addon/button groups that are
   rebuilt after page load by legacy plugins. */
body.msm-legacy-modern .content-wrapper .input-group:has(> .select2-container):has(> .input-group-btn),
body.msm-legacy-modern .modal .input-group:has(> .select2-container):has(> .input-group-btn) {
  align-items: stretch;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .select2-container):has(> .input-group-btn) > .select2-container,
body.msm-legacy-modern .content-wrapper .input-group:has(> .form-control):has(> .input-group-btn) > .form-control,
body.msm-legacy-modern .modal .input-group:has(> .select2-container):has(> .input-group-btn) > .select2-container,
body.msm-legacy-modern .modal .input-group:has(> .form-control):has(> .input-group-btn) > .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: 1% !important;
}

body.msm-legacy-modern .content-wrapper .input-group:has(> .select2-container):has(> .input-group-btn) > .select2-container .select2-selection,
body.msm-legacy-modern .content-wrapper .input-group:has(> .form-control):has(> .input-group-btn) > .form-control,
body.msm-legacy-modern .modal .input-group:has(> .select2-container):has(> .input-group-btn) > .select2-container .select2-selection,
body.msm-legacy-modern .modal .input-group:has(> .form-control):has(> .input-group-btn) > .form-control {
  border-radius: var(--msm-radius-sm) 0 0 var(--msm-radius-sm) !important;
  min-height: 38px;
}

body.msm-legacy-modern .content-wrapper .input-group > .input-group-btn,
body.msm-legacy-modern .modal .input-group > .input-group-btn {
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0;
  vertical-align: top;
  width: auto;
}

body.msm-legacy-modern .content-wrapper .input-group > .input-group-btn > .btn,
body.msm-legacy-modern .modal .input-group > .input-group-btn > .btn {
  align-items: center;
  border-radius: 0 var(--msm-radius-sm) var(--msm-radius-sm) 0 !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  line-height: 1.2;
  margin: 0 !important;
  min-height: 38px;
  min-width: 40px;
  padding: 0 12px !important;
  white-space: nowrap;
}

body.msm-legacy-modern .content-wrapper .input-group > .input-group-btn > .btn.btn-modal,
body.msm-legacy-modern .modal .input-group > .input-group-btn > .btn.btn-modal {
  border-left: 0 !important;
  box-shadow: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 42px;
}

body.msm-legacy-modern .content-wrapper .file-input .file-caption-main,
body.msm-legacy-modern .modal .file-input .file-caption-main {
  align-items: stretch;
  display: flex;
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern .content-wrapper .file-input .input-group-btn,
body.msm-legacy-modern .content-wrapper .file-input .input-group-append,
body.msm-legacy-modern .modal .file-input .input-group-btn,
body.msm-legacy-modern .modal .file-input .input-group-append {
  display: inline-flex;
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  body.msm-legacy-modern input[type=text],
  body.msm-legacy-modern input[type=search],
  body.msm-legacy-modern input[type=number],
  body.msm-legacy-modern input[type=email],
  body.msm-legacy-modern input[type=password],
  body.msm-legacy-modern select,
  body.msm-legacy-modern textarea,
  body.msm-legacy-modern .form-control {
    font-size: 16px !important;
    min-height: 44px !important;
  }
  body.msm-legacy-modern .select2-container--default .select2-selection--single,
  body.msm-legacy-modern .select2-container--default .select2-selection--multiple {
    font-size: 16px !important;
    min-height: 44px !important;
  }
  body.msm-legacy-modern .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
    font-size: 16px !important;
  }
  body.msm-legacy-modern .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
  }
  body.msm-legacy-modern .input-group .input-group-btn .btn {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 14px !important;
    font-size: 16px !important;
  }
  .select2-container--default .select2-dropdown {
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    overflow: hidden !important;
  }
  .select2-container--default .select2-search--dropdown {
    padding: 8px 10px !important;
  }
  .select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 44px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
  }
  .select2-container--default .select2-results__option {
    padding: 10px 14px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
  }
  body.msm-legacy-modern .tox.tox-tinymce {
    visibility: visible !important;
    opacity: 1 !important;
    border-radius: 12px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .tox .tox-menubar {
    flex-wrap: wrap !important;
  }
  body.msm-legacy-modern .tox .tox-toolbar,
  body.msm-legacy-modern .tox .tox-toolbar__primary {
    flex-wrap: wrap !important;
  }
  body.msm-legacy-modern .tox .tox-tbtn {
    min-height: 38px !important;
    min-width: 38px !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern form#user_add_form,
  body.msm-legacy-modern form#user_edit_form {
    padding-bottom: 84px !important;
  }
  body.msm-legacy-modern form#user_add_form .col-md-12.text-center:has(#submit_user_button),
  body.msm-legacy-modern form#user_add_form .col-md-12:has(#submit_user_button),
  body.msm-legacy-modern form#user_edit_form .col-md-12.text-center:has(#submit_user_button),
  body.msm-legacy-modern form#user_edit_form .col-md-12:has(#submit_user_button) {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 16px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern form#user_add_form .col-md-12.text-center:has(#submit_user_button) #submit_user_button,
  body.msm-legacy-modern form#user_add_form .col-md-12:has(#submit_user_button) #submit_user_button,
  body.msm-legacy-modern form#user_edit_form .col-md-12.text-center:has(#submit_user_button) #submit_user_button,
  body.msm-legacy-modern form#user_edit_form .col-md-12:has(#submit_user_button) #submit_user_button {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
  }
  body.msm-legacy-modern form#stock_transfer_form {
    padding-bottom: 84px !important;
  }
  body.msm-legacy-modern form#stock_transfer_form .col-sm-12.text-center:has(#save_stock_transfer),
  body.msm-legacy-modern form#stock_transfer_form .col-sm-12:has(#save_stock_transfer) {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 16px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern form#stock_transfer_form .col-sm-12.text-center:has(#save_stock_transfer) #save_stock_transfer,
  body.msm-legacy-modern form#stock_transfer_form .col-sm-12:has(#save_stock_transfer) #save_stock_transfer {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
  }
  body.msm-legacy-modern form#stock_adjustment_form {
    padding-bottom: 84px !important;
  }
  body.msm-legacy-modern form#stock_adjustment_form .col-sm-12.text-center:has(#save_stock_adjustment),
  body.msm-legacy-modern form#stock_adjustment_form .col-sm-12:has(#save_stock_adjustment) {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 16px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern form#stock_adjustment_form .col-sm-12.text-center:has(#save_stock_adjustment) #save_stock_adjustment,
  body.msm-legacy-modern form#stock_adjustment_form .col-sm-12:has(#save_stock_adjustment) #save_stock_adjustment {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
  }
}
body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_filter input,
body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_length select {
  border: 1px solid var(--msm-border-strong);
  border-radius: var(--msm-radius-sm);
  min-height: 32px;
}

body.msm-legacy-modern .content-wrapper .table.msm-modern-table > thead > tr > th {
  background: var(--msm-surface-soft);
  border-bottom-color: var(--msm-border);
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

body.msm-legacy-modern .content-wrapper .table-striped > tbody > tr:nth-of-type(odd) > th,
body.msm-legacy-modern .content-wrapper .table-striped > tbody > tr:nth-of-type(odd) > td,
body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:nth-child(odd) > th,
body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:nth-child(odd) > td {
  background: var(--msm-table-row-base) !important;
}

body.msm-legacy-modern .content-wrapper .table-striped > tbody > tr:nth-of-type(even) > th,
body.msm-legacy-modern .content-wrapper .table-striped > tbody > tr:nth-of-type(even) > td,
body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:nth-child(even) > th,
body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:nth-child(even) > td {
  background: var(--msm-table-row-alt) !important;
}

body.msm-legacy-modern .content-wrapper .table-striped > tbody > tr:hover > th,
body.msm-legacy-modern .content-wrapper .table-striped > tbody > tr:hover > td,
body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:hover > th,
body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:hover > td {
  background: var(--msm-table-row-hover) !important;
}

body.msm-legacy-modern .content-wrapper .label,
body.msm-legacy-modern .content-wrapper .badge {
  font-size: 11.5px;
  line-height: 1.18;
  min-height: 22px;
  max-width: 100%;
  white-space: normal;
}

body.msm-legacy-modern .label.msm-shipping-status,
body.msm-legacy-modern .label.msm-payment-status,
body.msm-legacy-modern .label.msm-status-badge,
body.msm-legacy-modern table.dataTable .label.msm-shipping-status,
body.msm-legacy-modern table.dataTable .label.msm-payment-status,
body.msm-legacy-modern table.dataTable .label.msm-status-badge,
body.msm-legacy-modern .payment-status-label > .label,
body.msm-legacy-modern .msm-shipping-status-link > .label {
  align-items: center !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  display: inline-flex !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  gap: 5px !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  min-height: 22px !important;
  padding: 3px 10px !important;
  text-transform: capitalize !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
}
body.msm-legacy-modern .label.msm-shipping-status-ordered,
body.msm-legacy-modern table.dataTable .label.msm-shipping-status-ordered {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #b45309 !important;
}
body.msm-legacy-modern .label.msm-shipping-status-packed,
body.msm-legacy-modern table.dataTable .label.msm-shipping-status-packed {
  background: rgba(14, 165, 233, 0.12) !important;
  border: 1px solid rgba(14, 165, 233, 0.28) !important;
  color: #0369a1 !important;
}
body.msm-legacy-modern .label.msm-shipping-status-shipped,
body.msm-legacy-modern table.dataTable .label.msm-shipping-status-shipped {
  background: rgba(99, 102, 241, 0.12) !important;
  border: 1px solid rgba(99, 102, 241, 0.28) !important;
  color: #4338ca !important;
}
body.msm-legacy-modern .label.msm-shipping-status-delivered,
body.msm-legacy-modern table.dataTable .label.msm-shipping-status-delivered {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #047857 !important;
}
body.msm-legacy-modern .label.msm-shipping-status-cancelled,
body.msm-legacy-modern table.dataTable .label.msm-shipping-status-cancelled {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
  color: #b91c1c !important;
}
body.msm-legacy-modern .label.msm-payment-status-paid,
body.msm-legacy-modern table.dataTable .label.msm-payment-status-paid {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #047857 !important;
}
body.msm-legacy-modern .label.msm-payment-status-paid .msm-status-icon,
body.msm-legacy-modern table.dataTable .label.msm-payment-status-paid .msm-status-icon {
  color: #047857 !important;
  background: transparent !important;
}
body.msm-legacy-modern .label.msm-payment-status-partial,
body.msm-legacy-modern table.dataTable .label.msm-payment-status-partial {
  background: rgba(6, 182, 212, 0.12) !important;
  border: 1px solid rgba(6, 182, 212, 0.28) !important;
  color: #0e7490 !important;
}
body.msm-legacy-modern .label.msm-payment-status-partial .msm-status-icon,
body.msm-legacy-modern table.dataTable .label.msm-payment-status-partial .msm-status-icon {
  color: #0e7490 !important;
  background: transparent !important;
}
body.msm-legacy-modern .label.msm-payment-status-due,
body.msm-legacy-modern table.dataTable .label.msm-payment-status-due {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
  color: #b91c1c !important;
}
body.msm-legacy-modern .label.msm-payment-status-due .msm-status-icon,
body.msm-legacy-modern table.dataTable .label.msm-payment-status-due .msm-status-icon {
  color: #b91c1c !important;
  background: transparent !important;
}
body.msm-legacy-modern .label.msm-payment-status-overdue,
body.msm-legacy-modern table.dataTable .label.msm-payment-status-overdue {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #b45309 !important;
}
body.msm-legacy-modern .label.msm-payment-status-overdue .msm-status-icon,
body.msm-legacy-modern table.dataTable .label.msm-payment-status-overdue .msm-status-icon {
  color: #b45309 !important;
  background: transparent !important;
}
body.msm-legacy-modern .label .msm-status-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  font-size: 10px !important;
  margin-right: 2px !important;
  width: auto !important;
  height: auto !important;
}
body.msm-legacy-modern .label .msm-status-icon i {
  font-size: 10px !important;
  line-height: 1 !important;
}

body.msm-legacy-modern .msm-sales-length-native-label {
  display: none !important;
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}
body.msm-legacy-modern .dataTables_wrapper .dataTables_processing {
  display: none !important;
}
body.msm-legacy-modern .msm-sales-processing-overlay {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(2px) !important;
  display: flex !important;
  inset: 0 !important;
  justify-content: center !important;
  opacity: 0 !important;
  padding: 24px !important;
  pointer-events: none !important;
  position: absolute !important;
  transition: opacity 0.2s ease !important;
  z-index: 10 !important;
}
body.msm-legacy-modern .msm-sales-processing-overlay.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}
body.msm-legacy-modern .msm-sales-processing-card {
  align-items: center !important;
  background: var(--msm-surface) !important;
  border: 1px solid var(--msm-border-strong) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
  color: var(--msm-text) !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 10px !important;
  padding: 10px 18px !important;
}
body.msm-legacy-modern .msm-sales-processing-spinner {
  animation: msm-sales-processing-spin 0.8s linear infinite !important;
  border: 2px solid var(--msm-primary-soft) !important;
  border-radius: 999px !important;
  border-top-color: var(--msm-primary) !important;
  display: inline-block !important;
  height: 18px !important;
  width: 18px !important;
}
body.msm-legacy-modern .msm-sales-search-wrap {
  align-items: center !important;
  display: flex !important;
  position: relative !important;
  width: 100% !important;
}
body.msm-legacy-modern .msm-sales-search-wrap i {
  color: var(--msm-muted) !important;
  font-size: 13px !important;
  left: 12px !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: 2 !important;
}
body.msm-legacy-modern .msm-sales-search-wrap input {
  background: var(--msm-surface) !important;
  border: 1px solid var(--msm-border) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: var(--msm-text) !important;
  font-size: 13px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding-left: 34px !important;
  padding-right: 12px !important;
  transition: border-color var(--msm-transition-fast), box-shadow var(--msm-transition-fast) !important;
  width: 100% !important;
}
body.msm-legacy-modern .msm-sales-search-wrap input:focus {
  border-color: var(--msm-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  outline: none !important;
}
body.msm-legacy-modern .msm-sales-length-control {
  margin: 0 !important;
}
body.msm-legacy-modern .msm-sales-length-control .msm-sales-length-button {
  align-items: center !important;
  background: var(--msm-surface) !important;
  border: 1px solid var(--msm-border) !important;
  border-radius: 9px !important;
  color: var(--msm-text) !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 12px !important;
}
body.msm-legacy-modern .msm-sales-table-actions {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
body.msm-legacy-modern .msm-sales-table-actions .btn, body.msm-legacy-modern .msm-sales-table-actions .dt-button {
  align-items: center !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  gap: 5px !important;
  height: 34px !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  body.msm-legacy-modern .msm-sales-table-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar-left,
  body.msm-legacy-modern .msm-sales-table-toolbar-right {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern .msm-sales-table-length-slot {
    flex: 0 0 auto !important;
  }
  body.msm-legacy-modern .msm-sales-table-search-slot {
    flex: 1 1 180px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.msm-legacy-modern .msm-sales-table-actions {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 2px !important;
  }
  body.msm-legacy-modern .msm-sales-table-actions .btn, body.msm-legacy-modern .msm-sales-table-actions .dt-button {
    flex: 0 0 auto !important;
  }
  body.msm-legacy-modern .msm-sales-table-actions,
  body.msm-legacy-modern .msm-sales-table-toolbar,
  body.msm-legacy-modern .dataTables_wrapper {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  body.msm-legacy-modern .msm-sales-table-actions::-webkit-scrollbar,
  body.msm-legacy-modern .msm-sales-table-toolbar::-webkit-scrollbar,
  body.msm-legacy-modern .dataTables_wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  body.msm-legacy-modern table.dataTable {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.msm-legacy-modern table.dataTable tbody tr {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern table.dataTable tbody tr:has(td.dataTables_empty), body.msm-legacy-modern table.dataTable tbody tr.odd:has(td.dataTables_empty) {
    width: 100% !important;
    display: block !important;
    border: 1px dashed var(--msm-border-strong, #cbd5e1) !important;
    border-radius: 12px !important;
    background: var(--msm-surface, #ffffff) !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern table.dataTable tbody tr > td.dataTables_empty {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 36px 16px !important;
    color: var(--msm-muted, #64748b) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: none !important;
  }
  body.msm-legacy-modern .dataTables_empty {
    width: 100% !important;
    min-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 36px 16px !important;
    color: var(--msm-muted, #64748b) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }
}
body.msm-legacy-modern .table-responsive:has(.open), body.msm-legacy-modern .table-responsive:has(.show), body.msm-legacy-modern .table-responsive.has-dropdown-open, body.msm-legacy-modern .table-responsive.msm-dt-dropdown-open,
body.msm-legacy-modern .dataTables_scrollBody:has(.open),
body.msm-legacy-modern .dataTables_scrollBody:has(.show),
body.msm-legacy-modern .dataTables_scrollBody.has-dropdown-open,
body.msm-legacy-modern .dataTables_scrollBody.msm-dt-dropdown-open {
  overflow: visible !important;
  position: relative !important;
  z-index: 1050 !important;
}
body.msm-legacy-modern .dataTables_scrollHead {
  position: relative;
  z-index: 10 !important;
}
body.msm-legacy-modern table.dataTable tbody tr:has(.open),
body.msm-legacy-modern table.dataTable tbody tr:has(.show),
body.msm-legacy-modern table.dataTable tbody td:has(.open),
body.msm-legacy-modern table.dataTable tbody td:has(.show),
body.msm-legacy-modern .table tbody tr:has(.open),
body.msm-legacy-modern .table tbody tr:has(.show),
body.msm-legacy-modern .table tbody td:has(.open),
body.msm-legacy-modern .table tbody td:has(.show),
body.msm-legacy-modern tr.msm-row-dropdown-open,
body.msm-legacy-modern td.msm-cell-dropdown-open {
  position: relative !important;
  z-index: 1060 !important;
}
body.msm-legacy-modern table.dataTable .btn-group > .dropdown-menu,
body.msm-legacy-modern table.dataTable .dropdown > .dropdown-menu,
body.msm-legacy-modern .dataTables_wrapper .btn-group > .dropdown-menu,
body.msm-legacy-modern .dataTables_wrapper .dropdown > .dropdown-menu,
body.msm-legacy-modern .table-responsive .btn-group > .dropdown-menu,
body.msm-legacy-modern .table-responsive .dropdown > .dropdown-menu,
body.msm-legacy-modern .msm-modern-table .btn-group > .dropdown-menu,
body.msm-legacy-modern table .btn-group > .dropdown-menu {
  z-index: 1060 !important;
}
body.msm-legacy-modern .btn-group.dropup > .dropdown-menu:not(.msm-table-dropdown-fixed),
body.msm-legacy-modern .dropup > .dropdown-menu:not(.msm-table-dropdown-fixed),
body.msm-legacy-modern table.dataTable tbody .btn-group.dropup > .dropdown-menu:not(.msm-table-dropdown-fixed),
body.msm-legacy-modern .dataTables_wrapper .btn-group.dropup > .dropdown-menu:not(.msm-table-dropdown-fixed),
body.msm-legacy-modern .table-responsive .btn-group.dropup > .dropdown-menu:not(.msm-table-dropdown-fixed) {
  top: auto !important;
  bottom: 100% !important;
  margin-bottom: 4px !important;
  margin-top: 0 !important;
}
body.msm-legacy-modern table.dataTable tbody .btn-group.dropup > .dropdown-menu:not(.msm-table-dropdown-fixed)::before,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group.dropup > .dropdown-menu:not(.msm-table-dropdown-fixed)::before {
  top: auto !important;
  bottom: -6px !important;
  border-left: none !important;
  border-top: none !important;
  border-right: 1px solid var(--msm-border, #e2e8f0) !important;
  border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
  transform: rotate(45deg) !important;
}
body.msm-legacy-modern .dropdown-menu.msm-table-dropdown-fixed {
  position: fixed !important;
  bottom: auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 999999 !important;
  min-width: 206px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(15, 23, 42, 0.12) !important;
}
body.msm-legacy-modern .dropdown-menu.msm-table-dropdown-fixed.is-dropup {
  bottom: auto !important;
}
body.msm-legacy-modern .dropdown-menu.msm-table-dropdown-fixed.is-dropup::before {
  top: auto !important;
  bottom: -6px !important;
  left: var(--msm-arrow-left, 18px) !important;
  border-left: none !important;
  border-top: none !important;
  border-right: 1px solid var(--msm-border, #e2e8f0) !important;
  border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
  transform: rotate(45deg) !important;
}
body.msm-legacy-modern .dropdown-menu.msm-table-dropdown-fixed.is-dropdown::before {
  top: -6px !important;
  bottom: auto !important;
  left: var(--msm-arrow-left, 18px) !important;
  border-right: none !important;
  border-bottom: none !important;
  border-left: 1px solid var(--msm-border, #e2e8f0) !important;
  border-top: 1px solid var(--msm-border, #e2e8f0) !important;
  transform: rotate(45deg) !important;
}
body.msm-legacy-modern tfoot,
body.msm-legacy-modern .dataTables_scrollFoot,
body.msm-legacy-modern tfoot .msm-products-bulk-actions,
body.msm-legacy-modern .msm-products-bulk-actions {
  position: relative;
  z-index: 5 !important;
}

body.msm-legacy-modern:not(.lockscreen) .main-sidebar.msm-sidebar-modern {
  background: var(--msm-surface) !important;
  border-right: 1px solid var(--msm-border);
  box-shadow: 8px 0 24px rgba(16, 24, 40, 0.04);
}

@media (min-width: 768px) {
  body.msm-legacy-modern:not(.lockscreen) .main-sidebar.msm-sidebar-modern {
    padding-top: var(--msm-topbar-height) !important;
  }
}
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar {
  background: transparent !important;
  padding: 12px 10px 18px;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-sidebar-brand {
  align-items: center;
  background: var(--msm-surface);
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-text);
  display: flex;
  gap: 10px;
  min-height: 58px;
  padding: 6px 8px 14px;
  text-decoration: none;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-sidebar-brand:hover,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-sidebar-brand:focus {
  color: var(--msm-primary);
  text-decoration: none;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-sidebar-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--msm-primary), #5b8cff);
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 16px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-sidebar-brand-copy {
  display: grid;
  min-width: 0;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-sidebar-brand-copy strong {
  color: var(--msm-text);
  font-size: 14px;
  line-height: 1.2;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-sidebar-brand-copy small {
  color: var(--msm-muted);
  font-size: 11px;
  line-height: 1.25;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu {
  background: transparent !important;
  margin-top: 0;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li {
  margin: 2px 0;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li > a {
  align-items: center;
  background: transparent !important;
  border-radius: 8px;
  border-left: 0 !important;
  color: var(--msm-text-soft) !important;
  display: flex;
  gap: 10px;
  min-height: 38px;
  padding: 9px 11px;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li > a,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-menu-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a > i:first-child,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li > a > i:first-child {
  color: #8da0bf;
  flex: 0 0 18px;
  font-size: 14px;
  text-align: center;
  transition: color var(--msm-transition-fast);
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li > a {
  color: var(--msm-muted);
  line-height: 1.35;
  min-height: 32px;
  padding: 7px 10px 7px 32px;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a {
  transition: background-color var(--msm-transition-fast), color var(--msm-transition-fast), box-shadow var(--msm-transition-fast);
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a:hover,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li > a:hover,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a:focus,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li > a:focus {
  background: var(--msm-primary-soft) !important;
  color: var(--msm-primary) !important;
  text-decoration: none;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.menu-open > a,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active > a {
  background: var(--msm-primary-soft) !important;
  box-shadow: inset 3px 0 0 var(--msm-primary);
  color: var(--msm-primary) !important;
  font-weight: 700;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a > i:first-child,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active > a > i:first-child,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li.active > a > i:first-child {
  color: var(--msm-primary);
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu {
  background: transparent !important;
  margin: 3px 0 8px;
  padding: 0;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li.active > a {
  background: var(--msm-primary-soft) !important;
  color: var(--msm-primary) !important;
  font-weight: 700;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .pull-right-container {
  margin-left: auto;
  position: static;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-menu-caret i {
  color: #98a7bf;
  font-size: 12px;
  transition: transform var(--msm-transition-fast);
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview.active > a .msm-menu-caret i,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview.menu-open > a .msm-menu-caret i {
  transform: rotate(-90deg);
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .msm-menu-header {
  background: transparent !important;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 16px 11px 7px;
  text-transform: uppercase;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li:hover > a,
body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active:hover > a {
  border-left-color: transparent !important;
}

body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu .treeview-menu > li > a {
  width: 100%;
}

@media (min-width: 768px) {
  .msm-sidebar-backdrop {
    display: none !important;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .msm-sidebar-brand-copy {
    display: none;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .msm-sidebar-brand {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar {
    padding-left: 7px;
    padding-right: 7px;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu {
    overflow: visible;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li {
    min-height: 38px;
    overflow: visible;
    position: relative;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.header.msm-menu-header {
    border-top: 1px solid var(--msm-border);
    color: transparent;
    font-size: 0;
    height: 1px;
    margin: 10px 8px;
    min-height: 1px;
    overflow: hidden;
    padding: 0;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link {
    border-radius: 10px;
    height: 36px;
    justify-content: center;
    margin: 1px 0;
    max-width: 36px !important;
    min-height: 36px;
    min-width: 36px !important;
    overflow: visible;
    padding: 0 !important;
    position: relative;
    width: 36px !important;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > i:first-child {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
    margin: 0;
    width: auto;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .pull-right-container {
    display: none !important;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li:hover > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link:focus,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active > a.msm-menu-link {
    background: var(--msm-primary-soft) !important;
    box-shadow: inset 3px 0 0 var(--msm-primary);
    color: var(--msm-primary) !important;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li:hover > a.msm-menu-link > i:first-child,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link:focus > i:first-child,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a.msm-menu-link > i:first-child {
    color: var(--msm-primary);
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li:hover > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link:focus > .msm-menu-label {
    align-items: center;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid var(--msm-border);
    border-left: 0;
    border-radius: 0 10px 10px 0;
    box-sizing: border-box;
    box-shadow: 14px 18px 36px rgba(16, 24, 40, 0.14);
    color: var(--msm-text) !important;
    display: flex !important;
    font-size: 13px;
    font-weight: 800;
    height: 36px;
    left: 36px !important;
    line-height: 1.2;
    margin: 0 !important;
    max-width: 220px !important;
    min-width: 0 !important;
    padding: 0 13px;
    position: absolute;
    top: 0 !important;
    width: 220px !important;
    z-index: 1060;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > .treeview-menu {
    display: none !important;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link:focus > .msm-menu-label {
    background: #ffffff !important;
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: 14px 12px 32px rgba(16, 24, 40, 0.12);
    height: 38px !important;
    z-index: 1061;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu {
    background: #ffffff !important;
    border: 1px solid var(--msm-border);
    border-bottom-left-radius: 0;
    border-radius: 0 0 10px 0;
    border-top: 0;
    box-sizing: border-box;
    box-shadow: 14px 22px 42px rgba(16, 24, 40, 0.15);
    display: grid !important;
    gap: 2px;
    left: 36px !important;
    margin: 0 !important;
    max-width: 220px !important;
    min-width: 0 !important;
    padding: 4px 7px 8px !important;
    position: absolute !important;
    top: 38px !important;
    width: 220px !important;
    z-index: 1060;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu > li,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu > li {
    margin: 0;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu > li > a {
    border-radius: 8px;
    box-sizing: border-box;
    color: var(--msm-text-soft) !important;
    display: flex !important;
    min-height: 34px;
    padding: 8px 10px !important;
    width: 100%;
  }
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu > li > a:hover,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu > li > a:focus {
    background: var(--msm-primary-soft) !important;
    color: var(--msm-primary) !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern.sidebar-open .content-wrapper,
  body.msm-legacy-modern.sidebar-open .main-footer,
  body.msm-legacy-modern.sidebar-open .main-header {
    transform: none !important;
    -webkit-transform: none !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern,
  body.msm-legacy-modern:not(.lockscreen) .main-sidebar.msm-sidebar-modern,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern {
    background: var(--msm-surface) !important;
    bottom: 0 !important;
    box-shadow: 6px 0 28px rgba(15, 23, 42, 0.25) !important;
    left: 0 !important;
    padding-top: 0 !important;
    position: fixed !important;
    top: 0 !important;
    transform: translate3d(-100%, 0, 0) !important;
    -webkit-transform: translate3d(-100%, 0, 0) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: 290px !important;
    max-width: 85vw !important;
    z-index: 1050 !important;
    display: block !important;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern,
  body.msm-legacy-modern.sidebar-open:not(.lockscreen) .main-sidebar.msm-sidebar-modern,
  body.msm-legacy-modern.sidebar-open.sidebar-collapse .main-sidebar.msm-sidebar-modern {
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    padding-top: 0 !important;
  }
  body.msm-legacy-modern.sidebar-open {
    overflow: hidden !important;
    touch-action: none;
  }
  .msm-sidebar-backdrop {
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.28s ease !important;
    z-index: 1040;
    will-change: opacity;
  }
  body.msm-legacy-modern.sidebar-open .msm-sidebar-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.header {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #94a3b8 !important;
    padding: 12px 14px 6px !important;
    background: transparent !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a {
    min-height: 44px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    margin: 2px 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li > a {
    min-height: 40px !important;
    font-size: 13px !important;
    padding: 9px 14px 9px 36px !important;
    border-radius: 8px !important;
    margin: 2px 8px !important;
  }
  .msm-mobile-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 16px 14px !important;
    border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
    background: var(--msm-surface, #ffffff) !important;
    gap: 12px !important;
    min-height: 64px !important;
    box-sizing: border-box !important;
  }
  .msm-mobile-drawer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .msm-mobile-drawer-copy {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .msm-mobile-drawer-copy strong {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #0f172a) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
    display: block !important;
  }
  .msm-mobile-drawer-copy small {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: var(--msm-muted, #64748b) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25 !important;
    display: block !important;
    margin-top: 2px !important;
  }
  .msm-mobile-drawer-close {
    background: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 999px !important;
    color: var(--msm-text-soft, #64748b) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex: 0 0 34px !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .msm-mobile-drawer-close svg {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    display: block !important;
    pointer-events: none;
  }
  .msm-mobile-drawer-close:hover, .msm-mobile-drawer-close:focus, .msm-mobile-drawer-close:active {
    background: rgba(15, 23, 42, 0.1) !important;
    color: var(--msm-text, #0f172a) !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
    transform: scale(0.96);
    outline: none !important;
  }
  body.msm-dark-mode & .msm-mobile-drawer-header {
    background: var(--msm-surface, #1e293b) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }
  body.msm-dark-mode & .msm-mobile-drawer-close {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
  }
  body.msm-dark-mode & .msm-mobile-drawer-close:hover, body.msm-dark-mode & .msm-mobile-drawer-close:focus, body.msm-dark-mode & .msm-mobile-drawer-close:active {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar {
    padding: 0 8px 30px !important;
    height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu {
    padding: 6px 0 !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 2px !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    justify-content: flex-start !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-radius: 10px !important;
    color: var(--msm-text) !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > i:first-child,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > i:first-child {
    font-size: 15px !important;
    width: 22px !important;
    min-width: 22px !important;
    text-align: center !important;
    color: var(--msm-muted) !important;
    flex: 0 0 22px !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .msm-menu-label {
    display: inline-block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--msm-text) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 1 auto !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .pull-right-container,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .pull-right-container {
    display: inline-flex !important;
    margin-left: auto !important;
    color: var(--msm-muted) !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a.msm-menu-link {
    background: var(--msm-primary-soft) !important;
    color: var(--msm-primary) !important;
    font-weight: 700 !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a.msm-menu-link > i:first-child,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a.msm-menu-link > i:first-child,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a.msm-menu-link > .msm-menu-label {
    color: var(--msm-primary) !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.header.msm-menu-header,
  body.msm-legacy-modern.sidebar-collapse:not(.sidebar-open) .main-sidebar.msm-sidebar-modern .sidebar-menu > li.header.msm-menu-header {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--msm-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 14px 4px !important;
    height: auto !important;
    min-height: auto !important;
    margin: 4px 0 0 !important;
    border-top: none !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.menu-open,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.menu-open,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.menu-open {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > a.msm-menu-link,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > a.msm-menu-link,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > a.msm-menu-link,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > a.msm-menu-link {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li:hover > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link:focus > .msm-menu-label,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link:focus > .msm-menu-label,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li:hover > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link:focus > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link:focus > .msm-menu-label,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li:hover > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link:focus > .msm-menu-label,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > a.msm-menu-link > .msm-menu-label,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link:focus > .msm-menu-label,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > a.msm-menu-link > .msm-menu-label {
    display: inline-block !important;
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    height: auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    z-index: auto !important;
    top: auto !important;
    left: auto !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .pull-right-container,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link > .pull-right-container,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .pull-right-container,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link > .pull-right-container,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li > a.msm-menu-link > .pull-right-container,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > a.msm-menu-link > .pull-right-container {
    display: inline-flex !important;
    margin-left: auto !important;
    position: static !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > .treeview-menu,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > .treeview-menu,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > .treeview-menu,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > .treeview-menu,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > .treeview-menu,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > .treeview-menu,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 8px !important;
    background: rgba(37, 99, 235, 0.04) !important;
    margin: 4px 0 6px !important;
    padding: 6px 0 6px 14px !important;
    z-index: auto !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > .treeview-menu > li > a,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu > li > a,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > .treeview-menu > li > a,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:hover > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus > .treeview-menu > li > a,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:focus-within > .treeview-menu > li > a {
    min-height: 40px !important;
    padding: 9px 12px !important;
    font-size: 13.5px !important;
    color: var(--msm-text-soft) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:not(.menu-open):not(.active) > .treeview-menu,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:not(.menu-open):not(.active) > .treeview-menu,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview:not(.menu-open):not(.active) > .treeview-menu {
    display: none !important;
  }
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.menu-open > .treeview-menu,
  body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active > .treeview-menu,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.menu-open > .treeview-menu,
  body.msm-legacy-modern.sidebar-collapse .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active > .treeview-menu,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.menu-open > .treeview-menu,
  body.msm-legacy-modern.sidebar-open .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active > .treeview-menu {
    display: block !important;
  }
}
body.msm-legacy-modern .main-header.msm-topbar-modern {
  background: var(--msm-surface) !important;
  border-bottom: 1px solid var(--msm-border) !important;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
  min-height: var(--msm-topbar-height);
  max-height: none;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .navbar,
body.msm-legacy-modern .main-header.msm-topbar-modern .logo {
  background: var(--msm-surface) !important;
  color: var(--msm-text) !important;
  height: var(--msm-topbar-height);
  line-height: normal;
  min-height: var(--msm-topbar-height);
  transition: background-color var(--msm-transition-fast), color var(--msm-transition-fast);
}

body.msm-legacy-modern .main-header.msm-topbar-modern .logo {
  border-right: 1px solid var(--msm-border);
  display: flex;
  align-items: center;
  font-weight: 800;
  overflow: hidden;
  padding: 0 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .logo:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .logo:focus,
body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle:focus,
body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:focus {
  background: var(--msm-primary-soft) !important;
  color: var(--msm-primary) !important;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .navbar {
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
  height: var(--msm-topbar-height) !important;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-left-controls {
  align-items: center;
  border-right: 0;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
  height: var(--msm-topbar-height);
  padding: 0 10px;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle {
  align-items: center;
  background: var(--msm-surface) !important;
  border: 1px solid var(--msm-border) !important;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.04);
  color: var(--msm-text-soft) !important;
  display: inline-flex;
  flex: 0 0 36px;
  font-size: 17px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  margin: 0 !important;
  min-height: 36px;
  padding: 0 !important;
  text-align: center;
  width: 36px;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle:focus {
  border-color: rgba(37, 99, 235, 0.32) !important;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle {
  align-items: center;
  background: var(--msm-surface) !important;
  border: 1px solid var(--msm-border) !important;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.04);
  color: var(--msm-text-soft) !important;
  display: inline-flex;
  flex: 0 0 36px;
  font-size: 15px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  margin: 0 !important;
  min-height: 36px;
  padding: 0 !important;
  width: 36px;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:focus {
  border-color: rgba(37, 99, 235, 0.32) !important;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle .fa-moon {
  color: #2563eb;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle .fa-sun {
  color: #f6b73c;
  text-shadow: 0 0 10px rgba(246, 183, 60, 0.28);
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-active-subscription-popover {
  align-items: center;
  background: var(--msm-surface) !important;
  border: 1px solid var(--msm-border) !important;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.04);
  color: var(--msm-text-soft) !important;
  display: inline-flex;
  flex: 0 0 36px;
  font-size: 15px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  margin: 0 !important;
  min-height: 36px;
  padding: 0;
  text-align: center;
  width: 36px;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a {
  align-items: center !important;
  background: var(--msm-surface) !important;
  border: 1px solid var(--msm-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.04) !important;
  color: var(--msm-text-soft) !important;
  display: inline-flex !important;
  flex: 0 0 36px !important;
  font-size: 15px !important;
  height: 36px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 36px !important;
  padding: 0 !important;
  position: relative !important;
  text-align: center !important;
  transition: all var(--msm-transition-fast) !important;
  width: 36px !important;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a:focus {
  background: var(--msm-primary-soft) !important;
  border-color: rgba(37, 99, 235, 0.32) !important;
  color: var(--msm-primary) !important;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu .notifications_count {
  position: absolute !important;
  top: -3px !important;
  right: -3px !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3) !important;
  border: 1.5px solid var(--msm-surface) !important;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-active-subscription-popover:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .msm-active-subscription-popover:focus {
  background: var(--msm-primary-soft) !important;
  border-color: #c8d9ff !important;
  color: var(--msm-primary) !important;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand {
  align-items: center;
  display: flex !important;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand-mini {
  align-items: center;
  background: var(--msm-primary);
  border-radius: 8px;
  color: #ffffff;
  display: none;
  font-size: 16px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--msm-primary), #4f8cff);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 16px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand-copy {
  display: grid;
  min-width: 0;
  text-align: left;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand-copy strong {
  color: var(--msm-text);
  font-size: 14px;
  line-height: 1.1;
}

body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand-copy small {
  color: var(--msm-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-legacy-modern .main-header.msm-topbar-modern #online_indicator {
  height: 8px;
  margin-left: auto;
  width: 8px;
}

@media (min-width: 768px) {
  body.msm-legacy-modern.sidebar-collapse .main-header.msm-topbar-modern .logo {
    width: 50px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.msm-legacy-modern.sidebar-collapse .main-header.msm-topbar-modern .msm-topbar-brand {
    display: none !important;
  }
  body.msm-legacy-modern.sidebar-collapse .main-header.msm-topbar-modern .logo > .logo-mini,
  body.msm-legacy-modern.sidebar-collapse .main-header.msm-topbar-modern .msm-topbar-brand-mini {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, var(--msm-primary), #4f8cff) !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions {
    align-items: center !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 0 0 0 auto !important;
    padding: 0 16px 0 0 !important;
    height: var(--msm-topbar-height) !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions > * {
    margin: 0 !important;
    align-self: center !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn-group {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn-group > .btn {
    margin: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    background: var(--msm-surface, #ffffff) !important;
    color: var(--msm-text-soft, #334155) !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn-group > .btn i {
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn,
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-topbar-icon-btn {
    margin: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    background: var(--msm-surface, #ffffff) !important;
    color: var(--msm-text-soft, #334155) !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn i,
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-topbar-icon-btn i {
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn:hover,
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-topbar-icon-btn:hover,
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn-group > .btn:hover {
    background: var(--msm-primary-soft, #eff6ff) !important;
    border-color: #bfdbfe !important;
    color: var(--msm-primary, #2563eb) !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn-danger.msm-topbar-icon-btn {
    color: var(--msm-danger) !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn-danger.msm-topbar-icon-btn:hover, body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .btn-danger.msm-topbar-icon-btn:focus {
    background: var(--msm-danger-soft) !important;
    border-color: #ffd0cc !important;
    color: var(--msm-danger) !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-pos-action {
    background: var(--msm-primary) !important;
    border-color: var(--msm-primary) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22) !important;
    color: #ffffff !important;
    height: 36px !important;
    min-height: 36px !important;
    width: auto !important;
    min-width: auto !important;
    padding: 0 14px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-pos-action:hover, body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-pos-action:focus {
    background: var(--msm-primary-hover) !important;
    border-color: var(--msm-primary-hover) !important;
    color: #ffffff !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-pos-action strong {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-active-subscription-popover {
    align-items: center !important;
    background: var(--msm-surface) !important;
    border: 1px solid var(--msm-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04) !important;
    color: var(--msm-text-soft) !important;
    display: inline-flex !important;
    height: 36px !important;
    min-height: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    justify-content: center !important;
    line-height: 1 !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-active-subscription-popover:hover, body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-active-subscription-popover:focus {
    background: var(--msm-primary-soft) !important;
    border-color: #c8d9ff !important;
    color: var(--msm-primary) !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .msm-topbar-date {
    color: var(--msm-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    height: 36px !important;
    line-height: 36px !important;
    margin: 0 4px !important;
    padding: 0 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    white-space: nowrap !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 8px !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li {
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li > a {
    color: var(--msm-text-soft) !important;
    line-height: 1 !important;
    min-height: 36px !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a {
    align-items: center !important;
    background: var(--msm-surface) !important;
    border: 1px solid var(--msm-border) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04) !important;
    color: var(--msm-text-soft) !important;
    display: inline-flex !important;
    height: 36px !important;
    min-height: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    justify-content: center !important;
    line-height: 1 !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a i {
    font-size: 15px !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a .notifications_count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3) !important;
    border: 2px solid var(--msm-surface, #ffffff) !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a:hover, body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a:focus {
    background: var(--msm-primary-soft) !important;
    border-color: rgba(37, 99, 235, 0.32) !important;
    color: var(--msm-primary) !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a {
    align-items: center !important;
    display: inline-flex !important;
    gap: 8px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 2px 12px 2px 3px !important;
    margin: 0 !important;
    background: var(--msm-surface-soft, #f8fafc) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04) !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1 !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a:hover, body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a:focus {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a .msm-user-avatar,
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a .user-image {
    align-items: center !important;
    background: linear-gradient(135deg, var(--msm-primary), #4f8cff) !important;
    border-radius: 9px !important;
    color: #ffffff !important;
    display: inline-flex !important;
    flex: 0 0 30px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    height: 30px !important;
    width: 30px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    object-fit: cover !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a .msm-user-name {
    display: inline-block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: inherit !important;
    max-width: 150px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
}
body.msm-legacy-modern .main-header.msm-topbar-modern .dropdown-menu {
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: var(--msm-shadow-float);
}

body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu {
  width: 300px !important;
  min-width: 300px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  padding: 0 !important;
  overflow: hidden !important;
  margin-top: 8px !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card > li,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu > li {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header {
  align-items: center !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  gap: 12px !important;
  padding: 16px 18px !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header .msm-user-card-avatar-wrap,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header .msm-user-card-avatar-wrap {
  flex: 0 0 44px;
  height: 44px;
  width: 44px;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header .msm-user-card-avatar-wrap .msm-user-card-avatar,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header .msm-user-card-avatar-wrap .msm-user-card-avatar {
  align-items: center;
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  color: #ffffff;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  height: 100%;
  justify-content: center;
  letter-spacing: -0.02em;
  width: 100%;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header .msm-user-card-avatar-wrap .msm-user-card-img,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header .msm-user-card-avatar-wrap .msm-user-card-img {
  border-radius: 12px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header .msm-user-card-info,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header .msm-user-card-info {
  flex: 1 1 auto;
  min-width: 0;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header .msm-user-card-info .msm-user-card-name,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header .msm-user-card-info .msm-user-card-name {
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 4px 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header .msm-user-card-info .msm-user-card-meta,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header .msm-user-card-info .msm-user-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header .msm-user-card-info .msm-user-card-role-pill,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header .msm-user-card-info .msm-user-card-role-pill {
  align-items: center;
  background: #e0e7ff;
  border-radius: 999px;
  color: #4338ca;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 4px;
  padding: 1.5px 8px;
  width: fit-content;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-header .msm-user-card-info .msm-user-card-business,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-header .msm-user-card-info .msm-user-card-business {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 500;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-subscription,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-subscription {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 10px 18px !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-subscription .msm-user-sub-badge,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-subscription .msm-user-sub-badge {
  align-items: center;
  color: #0f172a;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-subscription .msm-user-sub-badge i,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-subscription .msm-user-sub-badge i {
  color: var(--msm-primary, #3b82f6);
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-subscription .msm-user-sub-dates,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-subscription .msm-user-sub-dates {
  color: #64748b;
  font-size: 11px;
  margin-top: 2px;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  padding: 8px !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item {
  align-items: center !important;
  background: transparent !important;
  border-radius: 10px !important;
  color: #334155 !important;
  display: flex !important;
  gap: 12px !important;
  padding: 9px 12px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item:hover .msm-user-action-arrow,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item:hover .msm-user-action-arrow {
  transform: translateX(2px);
  color: #3b82f6 !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item .msm-user-action-icon,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item .msm-user-action-icon {
  align-items: center;
  border-radius: 9px;
  display: flex;
  flex: 0 0 32px;
  font-size: 14px;
  height: 32px;
  justify-content: center;
  width: 32px;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item .msm-user-action-icon.msm-action-profile,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item .msm-user-action-icon.msm-action-profile {
  background: #eff6ff;
  color: #2563eb;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item .msm-user-action-icon.msm-action-settings,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item .msm-user-action-icon.msm-action-settings {
  background: #f0fdf4;
  color: #16a34a;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item .msm-user-action-labels,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item .msm-user-action-labels {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item .msm-user-action-labels strong,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item .msm-user-action-labels strong {
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item .msm-user-action-labels small,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item .msm-user-action-labels small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.2;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-actions .msm-user-action-item .msm-user-action-arrow,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-actions .msm-user-action-item .msm-user-action-arrow {
  color: #94a3b8;
  font-size: 11px;
  transition: transform 0.15s ease, color 0.15s ease;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-footer,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-footer {
  background: #fafafa !important;
  border-top: 1px solid #f1f5f9 !important;
  padding: 10px 14px 14px !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-footer .msm-user-signout-btn,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-footer .msm-user-signout-btn {
  align-items: center !important;
  background: #fef2f2 !important;
  border: 1px solid #fee2e2 !important;
  border-radius: 10px !important;
  color: #dc2626 !important;
  display: flex !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 8px !important;
  justify-content: center !important;
  padding: 9px 16px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-footer .msm-user-signout-btn i,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-footer .msm-user-signout-btn i {
  font-size: 13px;
}
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu.msm-user-dropdown-card .msm-user-card-footer .msm-user-signout-btn:hover,
body.msm-legacy-modern .main-header.msm-topbar-modern .user-menu > .dropdown-menu .msm-user-card-footer .msm-user-signout-btn:hover {
  background: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #b91c1c !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15) !important;
}

@media (max-width: 767px) {
  body.msm-legacy-modern .main-header.msm-topbar-modern,
  .main-header.msm-topbar-modern {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    position: relative !important;
  }
  /* msm-dark-mode-toggle enabled on mobile */
  .msm-active-subscription-popover {
    display: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .logo,
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-logo,
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand-mini,
  body.msm-legacy-modern.sidebar-collapse .main-header.msm-topbar-modern .msm-topbar-brand-mini {
    display: none !important;
  }
  .msm-topbar-mobile-brand {
    align-items: center !important;
    display: flex !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    margin: 0 6px !important;
    max-width: 145px !important;
    min-width: 0 !important;
    text-align: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .msm-topbar-mobile-brand .msm-mobile-brand-pill {
    background: var(--msm-surface-soft, #f8fafc) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 999px !important;
    color: var(--msm-text, #0f172a) !important;
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 5px 12px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04) !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar {
    align-items: center !important;
    background: transparent !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: nowrap !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    justify-content: space-between !important;
    margin: 0 !important;
    order: 2 !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-left-controls {
    align-items: center !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
    height: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu,
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions {
    align-items: center !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    float: none !important;
    gap: 8px !important;
    margin: 0 0 0 auto !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu > .btn-group {
    display: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-active-subscription-popover {
    display: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav,
  .navbar-custom-menu.msm-topbar-actions .navbar-nav,
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    gap: 6px !important;
    align-items: center !important;
    float: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li {
    align-items: center !important;
    display: inline-flex !important;
    float: none !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li > a {
    align-items: center !important;
    display: inline-flex !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    height: 36px !important;
    width: 36px !important;
    min-height: 36px !important;
    min-width: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle,
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle,
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.notifications-menu > a,
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-user-avatar {
    align-items: center !important;
    background: var(--msm-surface, #ffffff) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04) !important;
    color: var(--msm-text-soft, #334155) !important;
    display: inline-flex !important;
    flex: 0 0 38px !important;
    font-size: 15px !important;
    height: 38px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    min-height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    text-align: center !important;
    width: 38px !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-user-avatar {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--msm-primary), #4f8cff) !important;
    color: #ffffff !important;
    border: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a {
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    display: inline-flex !important;
    height: 38px !important;
    justify-content: center !important;
    margin: 0 !important;
    min-height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    width: 38px !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle .fa-moon, body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle .fas.fa-moon {
    color: #2563eb !important;
    font-size: 14px !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle .fa-sun, body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle .fas.fa-sun {
    color: #f6b73c !important;
    font-size: 14px !important;
    text-shadow: 0 0 8px rgba(246, 183, 60, 0.3) !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:hover, body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:focus, body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:active {
    background: var(--msm-surface-soft, #f8fafc) !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
  }
  .popover {
    position: fixed !important;
    top: 54px !important;
    right: 12px !important;
    left: auto !important;
    max-width: calc(100vw - 24px) !important;
    width: 310px !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    z-index: 2000 !important;
  }
  .popover .arrow {
    right: 48px !important;
    left: auto !important;
  }
  .popover .popover-title {
    font-weight: 800 !important;
    font-size: 13.5px !important;
    border-radius: 14px 14px 0 0 !important;
    padding: 10px 14px !important;
    background: var(--msm-surface-soft, #f8fafc) !important;
    border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
  }
  .popover .popover-content {
    padding: 10px 14px !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .popover .popover-content table {
    margin-bottom: 0 !important;
    font-size: 12.5px !important;
  }
  .popover .popover-content table td {
    padding: 6px 4px !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-user-name,
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-pos-action,
  body.msm-legacy-modern .main-header.msm-topbar-modern #btnCalculator,
  body.msm-legacy-modern .main-header.msm-topbar-modern #header_shortcut_dropdown,
  body.msm-legacy-modern .main-header.msm-topbar-modern #view_todays_profit,
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-date,
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-active-subscription-popover {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1300px) {
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-date {
    display: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-custom-menu.msm-topbar-actions {
    gap: 5px !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-icon-btn {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .navbar-nav > li.user-menu > a .msm-user-name {
    max-width: 95px !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body.msm-legacy-modern .main-header.msm-topbar-modern #btnCalculator,
  body.msm-legacy-modern .main-header.msm-topbar-modern #view_todays_profit {
    display: none !important;
  }
  body.msm-legacy-modern .main-header.msm-topbar-modern .msm-pos-action {
    padding: 0 10px !important;
    font-size: 12px !important;
    height: 34px !important;
    line-height: 34px !important;
  }
}
.msm-mobile-bottom-nav {
  display: none;
}

.msm-mobile-quick-sheet {
  display: none;
}

.msm-quick-sheet-scrim {
  display: none;
}

.msm-mobile-fab {
  display: none;
}

@media (max-width: 767px) {
  .msm-mobile-bottom-nav {
    align-items: stretch;
    background: var(--msm-surface) !important;
    border-top: 1px solid var(--msm-border);
    bottom: 0;
    box-shadow: 0 -4px 18px rgba(16, 24, 40, 0.06);
    display: flex;
    height: calc(var(--msm-bottom-nav-height, 56px) + env(safe-area-inset-bottom, 0px));
    left: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    position: fixed;
    right: 0;
    z-index: 1030;
  }
  body.modal-open .msm-mobile-bottom-nav,
  body.msm-settings-modern .msm-mobile-bottom-nav,
  body.page-settings .msm-mobile-bottom-nav,
  body.msm-keyboard-active .msm-mobile-bottom-nav,
  body:has(#user_add_form) .msm-mobile-bottom-nav,
  body:has(#user_edit_form) .msm-mobile-bottom-nav,
  body:has(#add_expense_form) .msm-mobile-bottom-nav,
  body:has(#edit_expense_form) .msm-mobile-bottom-nav,
  body:has(.msm-expense-actions-bar) .msm-mobile-bottom-nav,
  body:has(#stock_transfer_form) .msm-mobile-bottom-nav,
  body:has(#stock_adjustment_form) .msm-mobile-bottom-nav,
  body:has(#add_purchase_form) .msm-mobile-bottom-nav,
  body:has(#edit_purchase_form) .msm-mobile-bottom-nav,
  body:has(#sell_form) .msm-mobile-bottom-nav,
  body:has(#add_sell_form) .msm-mobile-bottom-nav,
  body:has(#edit_sell_form) .msm-mobile-bottom-nav,
  body:has(#product_add_form) .msm-mobile-bottom-nav,
  body:has(#product_edit_form) .msm-mobile-bottom-nav,
  body:has(.msm-product-mobile-floating-bar) .msm-mobile-bottom-nav,
  body:has(.msm-purchase-sticky-bar) .msm-mobile-bottom-nav,
  body:has(.msm-mobile-sticky-bar) .msm-mobile-bottom-nav,
  body:has(#add_pos_sell_form) .msm-mobile-bottom-nav,
  body:has(#edit_pos_sell_form) .msm-mobile-bottom-nav,
  body.lockscreen .msm-mobile-bottom-nav,
  body:has(.pos-mobile-sticky-bar) .msm-mobile-bottom-nav {
    display: none !important;
    pointer-events: none;
  }
  .msm-bottom-nav-item {
    align-items: center;
    background: transparent;
    border: none;
    color: var(--msm-muted);
    cursor: pointer;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    min-height: 56px;
    height: 56px;
    min-width: 56px;
    padding: 6px 2px 4px;
    text-align: center;
    text-decoration: none !important;
    transition: color var(--msm-transition-fast), transform var(--msm-transition-fast);
    user-select: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .msm-bottom-nav-item:hover,
  .msm-bottom-nav-item:focus {
    color: var(--msm-primary) !important;
  }
  .msm-bottom-nav-item.is-active {
    color: var(--msm-primary, #047857) !important;
  }
  .msm-bottom-nav-item.is-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--msm-primary, #047857);
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.6);
  }
  .msm-bottom-nav-item.is-active .msm-bottom-nav-icon {
    filter: drop-shadow(0 2px 5px rgba(4, 120, 87, 0.35));
    transform: translateY(-1px);
  }
  .msm-bottom-nav-icon {
    display: block;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 4px;
    transition: transform 0.15s ease, filter 0.15s ease;
  }
  .msm-bottom-nav-label {
    display: block;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: -0.01em;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .msm-mobile-fab {
    position: fixed !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 18px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--msm-primary, #047857) 0%, #065f46 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.4) !important;
    z-index: 1030 !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, opacity 0.2s ease !important;
    will-change: transform, box-shadow;
    -webkit-tap-highlight-color: transparent;
  }
  .msm-mobile-fab i {
    color: #ffffff !important;
  }
  .msm-mobile-fab:hover, .msm-mobile-fab:focus {
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.55) !important;
  }
  .msm-mobile-fab:active {
    transform: scale(0.92) !important;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3) !important;
  }
  .msm-mobile-fab.is-pulsing {
    animation: msmFabPulse 0.8s ease-out;
  }
  @keyframes msmFabPulse {
    0% {
      box-shadow: 0 4px 16px rgba(4, 120, 87, 0.4);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 8px 26px rgba(4, 120, 87, 0.65);
      transform: scale(1.08);
    }
    100% {
      box-shadow: 0 4px 16px rgba(4, 120, 87, 0.4);
      transform: scale(1);
    }
  }
  body.modal-open .msm-mobile-fab,
  body.msm-keyboard-active .msm-mobile-fab,
  body.msm-action-sheet-open .msm-mobile-fab,
  body.msm-quick-sheet-open .msm-mobile-fab,
  body.sidebar-open .msm-mobile-fab,
  body.msm-settings-modern .msm-mobile-fab,
  body.page-settings .msm-mobile-fab,
  body.msm-report-modern .msm-mobile-fab,
  body:has(#business_configuration_form) .msm-mobile-fab,
  body:has(#bussiness_edit_form) .msm-mobile-fab,
  body:has(#user_add_form) .msm-mobile-fab,
  body:has(#user_edit_form) .msm-mobile-fab,
  body:has(#product_add_form) .msm-mobile-fab,
  body:has(#product_edit_form) .msm-mobile-fab,
  body:has(#add_purchase_form) .msm-mobile-fab,
  body:has(#edit_purchase_form) .msm-mobile-fab,
  body:has(#sell_form) .msm-mobile-fab,
  body:has(#add_pos_sell_form) .msm-mobile-fab,
  body:has(#edit_pos_sell_form) .msm-mobile-fab,
  body:has(.msm-product-mobile-floating-bar) .msm-mobile-fab,
  body:has(.msm-purchase-sticky-bar) .msm-mobile-fab,
  body:has(.msm-mobile-sticky-bar) .msm-mobile-fab,
  body:has(.pos-mobile-sticky-bar) .msm-mobile-fab,
  body.lockscreen .msm-mobile-fab {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(24px) scale(0.7) !important;
  }
  body.msm-report-modern .msm-mobile-fab,
  body.msm-settings-modern .msm-mobile-fab,
  body.page-settings .msm-mobile-fab,
  body:has(#bussiness_edit_form) .msm-mobile-fab,
  body:has(#business_configuration_form) .msm-mobile-fab,
  body:has(#role_add_form) .msm-mobile-fab,
  body:has(#role_form) .msm-mobile-fab,
  body:has(.msm-role-permissions-page) .msm-mobile-fab,
  body.page-roles .msm-mobile-fab {
    display: none !important;
  }
  body .content,
  body.msm-legacy-modern .content,
  body:has(.msm-mobile-fab) .content,
  body.msm-legacy-modern:has(.msm-mobile-fab) .content {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.msm-legacy-modern .main-footer,
  .main-footer {
    display: none !important;
  }
  .msm-bottom-nav-fab {
    position: relative;
    padding-top: 0;
  }
  .msm-fab-circle {
    align-items: center;
    background: linear-gradient(135deg, var(--msm-primary) 0%, var(--msm-primary-hover) 100%);
    border: 3px solid var(--msm-surface);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
    color: #ffffff;
    display: flex;
    font-size: 17px;
    height: 44px;
    justify-content: center;
    margin-top: -18px;
    margin-bottom: 2px;
    transition: transform var(--msm-transition-fast), box-shadow var(--msm-transition-fast);
    width: 44px;
  }
  .msm-bottom-nav-fab:hover .msm-fab-circle,
  .msm-bottom-nav-fab:focus .msm-fab-circle {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
  }
  .msm-mobile-quick-sheet {
    background: var(--msm-surface);
    border-radius: 20px 20px 0 0;
    bottom: 0;
    box-shadow: 0 -10px 36px rgba(15, 23, 42, 0.22);
    display: flex;
    flex-direction: column;
    left: 0;
    max-height: 85vh;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    position: fixed;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
  }
  .msm-mobile-quick-sheet.is-active {
    transform: translateY(0);
  }
  .msm-quick-sheet-header {
    align-items: center;
    border-bottom: 1px solid var(--msm-border);
    display: flex;
    padding: 12px 18px 10px;
    position: relative;
  }
  .msm-quick-sheet-drag-handle {
    background: var(--msm-border-strong);
    border-radius: 999px;
    height: 4px;
    left: 50%;
    position: absolute;
    top: 6px;
    transform: translateX(-50%);
    width: 36px;
  }
  .msm-quick-sheet-title {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding-top: 4px;
  }
  .msm-quick-sheet-title strong {
    color: var(--msm-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
  }
  .msm-quick-sheet-title small {
    color: var(--msm-muted);
    font-size: 12px;
    margin-top: 2px;
  }
  .msm-quick-sheet-close {
    align-items: center;
    background: var(--msm-border);
    border: none;
    border-radius: 50%;
    color: var(--msm-text-soft);
    cursor: pointer;
    display: inline-flex;
    font-size: 20px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 32px;
  }
  .msm-quick-sheet-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px;
  }
  .msm-quick-actions-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
  }
  .msm-quick-action-tile {
    align-items: center;
    background: var(--msm-surface-soft);
    border: 1px solid var(--msm-border);
    border-radius: 12px;
    color: var(--msm-text) !important;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    min-height: 78px;
    padding: 10px 6px;
    text-align: center;
    text-decoration: none !important;
    transition: background-color var(--msm-transition-fast), border-color var(--msm-transition-fast);
  }
  .msm-quick-action-tile:hover,
  .msm-quick-action-tile:focus {
    background: var(--msm-primary-soft);
    border-color: rgba(37, 99, 235, 0.25);
  }
  .msm-quick-action-tile span {
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
  }
  .msm-tile-icon {
    align-items: center;
    border-radius: 10px;
    color: #ffffff;
    display: inline-flex;
    font-size: 16px;
    height: 36px;
    justify-content: center;
    width: 36px;
  }
  .msm-tile-primary {
    background: linear-gradient(135deg, var(--msm-primary), var(--msm-primary-hover));
  }
  .msm-tile-success {
    background: linear-gradient(135deg, var(--msm-success), #059669);
  }
  .msm-tile-danger {
    background: linear-gradient(135deg, var(--msm-danger), #dc2626);
  }
  .msm-tile-info {
    background: linear-gradient(135deg, var(--msm-info), #0284c7);
  }
  .msm-tile-purple {
    background: linear-gradient(135deg, var(--msm-purple), #6d28d9);
  }
  .msm-tile-warning {
    background: linear-gradient(135deg, var(--msm-warning), #d97706);
  }
  .msm-quick-sheet-links {
    border-top: 1px solid var(--msm-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
  }
  .msm-quick-link-row {
    align-items: center;
    border-radius: 8px;
    color: var(--msm-text-soft) !important;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 12px;
    min-height: 42px;
    padding: 8px 12px;
    text-decoration: none !important;
    transition: background-color var(--msm-transition-fast);
  }
  .msm-quick-link-row:hover,
  .msm-quick-link-row:focus {
    background: var(--msm-surface-soft);
    color: var(--msm-primary) !important;
  }
  .msm-quick-link-row i:first-child {
    font-size: 16px;
    width: 20px;
  }
  .msm-link-arrow {
    color: var(--msm-muted);
    font-size: 14px;
    margin-left: auto;
  }
  .msm-text-danger {
    color: var(--msm-danger) !important;
  }
  .msm-quick-sheet-scrim {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.25s ease;
    z-index: 1999;
  }
  .msm-quick-sheet-scrim.is-active {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 767px) {
  .scrolltop {
    bottom: calc(var(--msm-bottom-nav-height, 62px) + env(safe-area-inset-bottom, 0px) + 12px) !important;
    right: 12px !important;
    z-index: 998 !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 10px !important;
    opacity: 0.75 !important;
    backdrop-filter: blur(6px) !important;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.15) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
  }
  .scrolltop:hover, .scrolltop:active {
    opacity: 1 !important;
    transform: translateY(-2px) !important;
  }
  .scrolltop .scrollicon {
    font-size: 13px !important;
    line-height: 36px !important;
  }
}
.content.content-custom.msm-dashboard-modern,
.msm-dashboard-modern {
  --dash-surface: #ffffff;
  --dash-surface-subtle: #f8fafc;
  --dash-surface-muted: #f1f5f9;
  --dash-border: rgba(15, 23, 42, 0.08);
  --dash-border-strong: rgba(15, 23, 42, 0.14);
  --dash-text: #0f172a;
  --dash-muted: #64748b;
  --dash-soft: #94a3b8;
  --dash-primary: #4f46e5;
  --dash-primary-soft: rgba(79, 70, 229, 0.1);
  --dash-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px -12px rgba(15, 23, 42, 0.08);
  --dash-shadow-hover: 0 6px 16px -4px rgba(15, 23, 42, 0.07), 0 14px 28px -12px rgba(79, 70, 229, 0.14);
  --dash-radius: 16px;
  --dash-radius-sm: 12px;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  min-width: 0;
  width: 100%;
}
.content.content-custom.msm-dashboard-modern *, .content.content-custom.msm-dashboard-modern *::before, .content.content-custom.msm-dashboard-modern *::after,
.msm-dashboard-modern *,
.msm-dashboard-modern *::before,
.msm-dashboard-modern *::after {
  box-sizing: border-box;
}
.content.content-custom.msm-dashboard-modern .msm-dash-svg,
.msm-dashboard-modern .msm-dash-svg {
  display: block;
  flex-shrink: 0;
  height: 18px;
  width: 18px;
}
.content.content-custom.msm-dashboard-modern .msm-kpi-skeleton,
.msm-dashboard-modern .msm-kpi-skeleton {
  animation: msmKpiPulse 1.4s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.18) 25%, rgba(148, 163, 184, 0.34) 50%, rgba(148, 163, 184, 0.18) 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  display: inline-block;
  height: 1em;
  min-width: 72px;
  vertical-align: middle;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-indigo,
.msm-dashboard-modern .msm-icon-well-indigo {
  background: rgba(79, 70, 229, 0.11);
  color: #4f46e5;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-cyan,
.msm-dashboard-modern .msm-icon-well-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-emerald,
.msm-dashboard-modern .msm-icon-well-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-amber,
.msm-dashboard-modern .msm-icon-well-amber {
  background: rgba(245, 158, 11, 0.13);
  color: #d97706;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-orange,
.msm-dashboard-modern .msm-icon-well-orange {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-rose,
.msm-dashboard-modern .msm-icon-well-rose {
  background: rgba(244, 63, 94, 0.11);
  color: #e11d48;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-violet,
.msm-dashboard-modern .msm-icon-well-violet {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-crimson,
.msm-dashboard-modern .msm-icon-well-crimson {
  background: rgba(239, 68, 68, 0.11);
  color: #dc2626;
}
.content.content-custom.msm-dashboard-modern .msm-icon-well-teal,
.msm-dashboard-modern .msm-icon-well-teal {
  background: rgba(20, 184, 166, 0.12);
  color: #0d9488;
}

@keyframes msmKpiPulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.msm-dashboard-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  width: 100%;
}

.msm-dashboard-header {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: space-between;
  padding-bottom: 2px;
}

.msm-dashboard-title-block {
  min-width: 0;
}
.msm-dashboard-title-block h1 {
  color: var(--dash-text);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 6px 0 0;
}

.msm-dash-eyebrow-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.msm-dash-live-pill {
  align-items: center;
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-strong);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: var(--dash-text);
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 700;
  gap: 6px;
  padding: 3px 10px;
}
.msm-dash-live-pill .msm-live-dot {
  background: #10b981;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  height: 7px;
  width: 7px;
}

.msm-dash-subtitle-meta {
  color: var(--dash-muted);
  font-size: 12.5px;
  font-weight: 500;
}

.msm-active-period-chip {
  color: var(--dash-primary);
  font-weight: 600;
}

.msm-dashboard-filter-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.msm-period-presets {
  align-items: center;
  background: var(--dash-surface-muted);
  border: 1px solid var(--dash-border);
  border-radius: 11px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}

.msm-period-btn {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--dash-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  height: 30px;
  padding: 0 11px;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.msm-period-btn:hover {
  color: var(--dash-text);
}
.msm-period-btn.is-active {
  background: var(--dash-surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.09);
  color: var(--dash-primary);
}

.msm-dashboard-location-filter {
  align-items: center;
  display: flex;
  min-width: 195px;
  position: relative;
}
.msm-dashboard-location-filter .msm-filter-prefix-icon {
  color: var(--dash-muted);
  display: inline-flex;
  left: 11px;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}
.msm-dashboard-location-filter .msm-filter-prefix-icon .msm-dash-svg {
  height: 15px;
  width: 15px;
}
.msm-dashboard-location-filter .select2-container {
  min-width: 195px;
  width: 100% !important;
}
.msm-dashboard-location-filter .select2-selection--single {
  align-items: center !important;
  background: var(--dash-surface) !important;
  border: 1px solid var(--dash-border-strong) !important;
  border-radius: 11px !important;
  display: flex !important;
  height: 38px !important;
  padding-left: 26px !important;
}
.msm-dashboard-location-filter .select2-selection__rendered {
  color: var(--dash-text) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 36px !important;
  padding-left: 6px !important;
}
.msm-dashboard-location-filter .select2-selection__arrow {
  height: 36px !important;
}

.msm-dashboard-date-filter .input-group {
  display: block;
}
.msm-dashboard-date-filter #dashboard_date_filter {
  align-items: center;
  background: var(--dash-surface) !important;
  border: 1px solid var(--dash-border-strong) !important;
  border-radius: 11px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  color: var(--dash-text) !important;
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 600;
  gap: 8px;
  height: 38px;
  justify-content: space-between;
  padding: 0 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.msm-dashboard-date-filter #dashboard_date_filter:hover, .msm-dashboard-date-filter #dashboard_date_filter:focus {
  border-color: rgba(79, 70, 229, 0.45) !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12) !important;
}
.msm-dashboard-date-filter #dashboard_date_filter .msm-date-btn-inner {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}
.msm-dashboard-date-filter #dashboard_date_filter .msm-date-btn-inner .msm-dash-svg {
  color: var(--dash-primary);
  height: 15px;
  width: 15px;
}
.msm-dashboard-date-filter #dashboard_date_filter i.fa-caret-down {
  color: var(--dash-muted);
  font-size: 11px;
}

.msm-dashboard-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.msm-dashboard-action {
  align-items: center;
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: var(--dash-text) !important;
  display: inline-flex;
  flex: 1 0 auto;
  font-size: 13px;
  font-weight: 600;
  gap: 9px;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  padding: 6px 14px 6px 10px;
  text-decoration: none !important;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  width: auto;
}
.msm-dashboard-action .msm-action-icon {
  align-items: center;
  background: var(--dash-surface-muted);
  border-radius: 9px;
  color: var(--dash-primary);
  display: inline-flex;
  flex-shrink: 0;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.msm-dashboard-action .msm-action-icon .msm-dash-svg {
  height: 16px;
  width: 16px;
}
.msm-dashboard-action .msm-action-text {
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msm-dashboard-action:hover {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: var(--dash-shadow-hover);
  transform: translateY(-1px);
}
.msm-dashboard-action.msm-action-primary, .msm-dashboard-action.msm-action-pos {
  background: var(--dash-surface);
  border-color: var(--dash-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: var(--dash-text) !important;
}
.msm-dashboard-action.msm-action-primary .msm-action-icon, .msm-dashboard-action.msm-action-pos .msm-action-icon {
  background: var(--dash-surface-muted);
  color: var(--dash-primary);
}
.msm-dashboard-action.msm-action-primary:hover, .msm-dashboard-action.msm-action-pos:hover {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: var(--dash-shadow-hover);
}

.msm-dashboard-hero-grid {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 344px;
}

.msm-dashboard-hero-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  height: 100%;
  justify-content: space-between;
}
.msm-dashboard-hero-rail .msm-dashboard-summary-head {
  gap: 6px;
  margin-bottom: 8px;
}
.msm-dashboard-hero-rail .msm-head-title-group {
  gap: 7px;
}
.msm-dashboard-hero-rail .msm-head-title-group h3 {
  font-size: 12.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.msm-dashboard-hero-rail .msm-card-icon-badge {
  border-radius: 8px;
  height: 28px;
  width: 28px;
}
.msm-dashboard-hero-rail .msm-card-icon-badge .msm-dash-svg {
  height: 14px;
  width: 14px;
}
.msm-dashboard-hero-rail .msm-head-pill {
  font-size: 10px;
  padding: 2px 6px;
}
.msm-dashboard-hero-rail .msm-dashboard-due-card {
  flex: 0 0 auto;
  padding: 12px 14px;
}
.msm-dashboard-hero-rail .msm-dashboard-summary-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
}

.msm-dashboard-main-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  height: 100%;
}

.msm-dashboard-kpi-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  height: 100%;
  justify-content: space-between;
}

.msm-dashboard-kpi-primary-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1 1 auto;
}

.msm-dashboard-kpi-compact-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1 1 auto;
}

.msm-dashboard-modern .msm-kpi-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  isolation: isolate;
  margin-bottom: 0 !important;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 14px 18px !important;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.msm-dashboard-modern .msm-kpi-card::before {
  background: radial-gradient(circle at 100% 0%, var(--msm-kpi-glow, rgba(79, 70, 229, 0.075)) 0%, transparent 62%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-head,
.msm-dashboard-modern .msm-kpi-card .info-box-content {
  position: relative;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-clickable {
  cursor: pointer;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-clickable .msm-kpi-head,
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-clickable .info-box-content {
  pointer-events: none;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-clickable .hover-q,
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-clickable .msm-help-icon {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-clickable .msm-kpi-overlay-link {
  background: transparent !important;
  border: 0 !important;
  border-radius: inherit;
  box-shadow: none !important;
  inset: 0;
  outline: none;
  position: absolute;
  text-decoration: none;
  z-index: 2;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-clickable:has(.msm-kpi-overlay-link:focus-visible) {
  border-color: var(--msm-kpi-accent, var(--dash-primary));
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.22), var(--dash-shadow-hover);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-indigo {
  --msm-kpi-accent: #4f46e5;
  --msm-kpi-glow: rgba(79, 70, 229, 0.08);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-cyan {
  --msm-kpi-accent: #06b6d4;
  --msm-kpi-glow: rgba(6, 182, 212, 0.085);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-emerald {
  --msm-kpi-accent: #10b981;
  --msm-kpi-glow: rgba(16, 185, 129, 0.085);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-amber {
  --msm-kpi-accent: #f59e0b;
  --msm-kpi-glow: rgba(245, 158, 11, 0.085);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-orange {
  --msm-kpi-accent: #f97316;
  --msm-kpi-glow: rgba(249, 115, 22, 0.085);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-rose {
  --msm-kpi-accent: #f43f5e;
  --msm-kpi-glow: rgba(244, 63, 94, 0.08);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-violet {
  --msm-kpi-accent: #8b5cf6;
  --msm-kpi-glow: rgba(139, 92, 246, 0.085);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-crimson {
  --msm-kpi-accent: #ef4444;
  --msm-kpi-glow: rgba(239, 68, 68, 0.08);
}
.msm-dashboard-modern .msm-kpi-card.msm-tone-teal {
  --msm-kpi-accent: #14b8a6;
  --msm-kpi-glow: rgba(20, 184, 166, 0.085);
}
.msm-dashboard-modern .msm-kpi-card:hover {
  border-color: var(--dash-border-strong);
  box-shadow: var(--dash-shadow-hover);
  transform: translateY(-2px);
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-width: 0;
  padding-right: 2px;
}
.msm-dashboard-modern .msm-kpi-card .info-box-icon {
  align-items: center !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  float: none !important;
  flex-shrink: 0;
  font-size: 16px !important;
  height: 36px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 36px !important;
}
.msm-dashboard-modern .msm-kpi-card .info-box-icon .msm-dash-svg {
  height: 18px;
  width: 18px;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-title-wrap {
  flex: 0 1 auto;
  min-width: 0;
}
.msm-dashboard-modern .msm-kpi-card .info-box-text {
  align-items: center;
  color: var(--dash-muted);
  display: inline-flex;
  font-size: 12.5px;
  font-weight: 600;
  gap: 4px;
  letter-spacing: -0.005em;
  line-height: 1.3;
  max-width: 100%;
  text-transform: none;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-derived-pill {
  background: var(--dash-surface-muted);
  border: 1px solid var(--dash-border);
  border-radius: 999px;
  color: var(--dash-muted);
  flex-shrink: 0 !important;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  padding: 2.5px 7.5px;
  white-space: nowrap !important;
  line-height: 1.15;
  margin-left: auto;
  margin-right: 2px;
}
.msm-dashboard-modern .msm-kpi-card .info-box-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  margin-left: 0 !important;
  min-width: 0;
  padding: 0 !important;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-value-row {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.msm-dashboard-modern .msm-kpi-card .info-box-number {
  color: var(--dash-text);
  display: block;
  font-size: clamp(17px, 1.35vw, 20px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-large {
  padding: 14px 18px !important;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-large .info-box-number {
  font-size: clamp(19px, 1.55vw, 24px);
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .info-box-icon {
  height: 32px !important;
  width: 32px !important;
  border-radius: 8px !important;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .info-box-icon .msm-dash-svg {
  height: 16px !important;
  width: 16px !important;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .msm-kpi-head {
  gap: 6px !important;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .msm-kpi-derived-pill {
  font-size: 9px !important;
  padding: 2px 5.5px !important;
  letter-spacing: -0.01em;
}
.msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .info-box-text {
  font-size: 12px !important;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-sparkline {
  height: 36px;
  min-width: 0;
  overflow: hidden;
  width: 100%;
  margin: 0 !important;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-subtext {
  color: var(--dash-muted);
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
}
.msm-dashboard-modern .msm-kpi-card .msm-mini-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
  width: 100%;
}
.msm-dashboard-modern .msm-kpi-card .msm-mini-progress-track {
  background: var(--dash-surface-muted);
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
  width: 100%;
  margin: 0 !important;
}
.msm-dashboard-modern .msm-kpi-card .msm-mini-progress-fill {
  background: linear-gradient(90deg, #06b6d4, #0891b2);
  border-radius: 999px;
  display: block;
  height: 100%;
  transition: width 0.35s ease;
}
.msm-dashboard-modern .msm-kpi-card .msm-mini-progress-emerald .msm-mini-progress-fill {
  background: linear-gradient(90deg, #10b981, #059669);
}
.msm-dashboard-modern .msm-kpi-card .msm-mini-progress-teal .msm-mini-progress-fill {
  background: linear-gradient(90deg, #14b8a6, #0d9488);
}
.msm-dashboard-modern .msm-kpi-card .msm-mini-progress-labels {
  align-items: center;
  color: var(--dash-muted);
  display: flex;
  font-size: 11px;
  font-weight: 600;
  justify-content: space-between;
  padding: 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  width: 100%;
}
.msm-dashboard-modern .msm-kpi-card .msm-mini-progress-labels span, .msm-dashboard-modern .msm-kpi-card .msm-mini-progress-labels strong {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.msm-dashboard-modern .msm-kpi-card .msm-mini-progress-labels strong {
  color: var(--dash-text);
  font-variant-numeric: tabular-nums;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-footer {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 2px;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-trend {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 5px;
  line-height: 1.2;
  max-width: 100%;
  padding: 3px 9px;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-trend i {
  font-size: 10px;
  flex-shrink: 0;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-trend.is-good {
  background: rgba(16, 185, 129, 0.11);
  color: #059669;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-trend.is-bad {
  background: rgba(244, 63, 94, 0.11);
  color: #e11d48;
}
.msm-dashboard-modern .msm-kpi-card .msm-kpi-trend.is-flat, .msm-dashboard-modern .msm-kpi-card .msm-kpi-trend.is-loading {
  background: var(--dash-surface-muted);
  color: var(--dash-muted);
}

.msm-head-title-group {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}
.msm-head-title-group h3 {
  color: var(--dash-text);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}
.msm-head-title-group p {
  color: var(--dash-muted);
  font-size: 11.5px;
  margin: 2px 0 0;
}

.msm-card-icon-badge {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.msm-card-icon-badge .msm-dash-svg {
  height: 16px;
  width: 16px;
}

.msm-head-pill {
  background: var(--dash-surface-muted);
  border: 1px solid var(--dash-border);
  border-radius: 999px;
  color: var(--dash-muted);
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  white-space: nowrap;
}

.msm-dashboard-summary-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 11px;
}
.msm-dashboard-summary-head > span {
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 600;
}

.msm-dashboard-due-card,
.msm-dashboard-summary-card,
.msm-dashboard-quick-links-card,
.msm-analytics-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px;
}

.msm-dashboard-due-graph {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
}

.msm-dashboard-due-graph-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.msm-dashboard-due-graph-label {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}
.msm-dashboard-due-graph-label span {
  color: var(--dash-muted);
  font-size: 12.5px;
  font-weight: 600;
}
.msm-dashboard-due-graph-label strong {
  color: var(--dash-text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.msm-dashboard-due-track {
  background: var(--dash-surface-muted);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  width: 100%;
}
.msm-dashboard-due-track span {
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  border-radius: 999px;
  display: block;
  height: 100%;
  transition: width 0.35s ease;
  width: var(--due-bar-width, 0%);
}

.msm-dashboard-due-graph-row-payable .msm-dashboard-due-track span {
  background: linear-gradient(90deg, #f59e0b, #f43f5e);
}

.msm-dashboard-due-graph-row-credit .msm-dashboard-due-track span {
  background: linear-gradient(90deg, #10b981, #14b8a6);
}

.msm-dashboard-due-commission-row {
  align-items: center;
  border-top: 1px dashed var(--dash-border);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding-top: 6px;
}
.msm-dashboard-due-commission-row span {
  color: var(--dash-muted);
  font-weight: 600;
}
.msm-dashboard-due-commission-row strong {
  color: var(--dash-text);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.msm-dashboard-due-net {
  align-items: center;
  background: var(--dash-surface-subtle);
  border: 1px solid var(--dash-border);
  border-radius: 11px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-top: 2px;
  padding: 7px 10px;
}
.msm-dashboard-due-net span {
  color: var(--dash-text);
  display: block;
  font-size: 12.5px;
  font-weight: 700;
}
.msm-dashboard-due-net .msm-due-net-hint {
  color: var(--dash-muted);
  display: block;
  font-size: 11px;
}
.msm-dashboard-due-net strong {
  color: var(--dash-primary);
  font-size: 15.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.msm-dashboard-insights-row {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
}

.msm-analytics-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.msm-analytics-badge {
  background: rgba(16, 185, 129, 0.11);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  color: #059669;
  flex-shrink: 0;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  padding: 4px 10px;
}

.msm-analytics-mix-body {
  align-items: center;
  display: grid;
  flex: 1 1 auto;
  gap: 14px;
  grid-template-columns: minmax(180px, 215px) minmax(0, 1fr);
}

.msm-mix-chart-stage,
.msm-liquidity-chart-stage {
  min-height: 205px;
  position: relative;
  width: 100%;
}

.msm-analytics-chart-canvas {
  min-height: 205px;
  width: 100%;
}

.msm-analytics-empty-state {
  align-items: center;
  background: var(--dash-surface-subtle);
  border: 1px dashed var(--dash-border-strong);
  border-radius: 12px;
  color: var(--dash-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: absolute;
  text-align: center;
}
.msm-analytics-empty-state .msm-dash-svg {
  color: var(--dash-soft);
  height: 26px;
  width: 26px;
}
.msm-analytics-empty-state p {
  font-size: 12.5px;
  font-weight: 600;
  margin: 0;
}

.msm-empty-switch-btn {
  background: var(--dash-primary-soft);
  border: 1px solid rgba(79, 70, 229, 0.24);
  border-radius: 8px;
  color: var(--dash-primary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  transition: background-color 0.16s ease;
}
.msm-empty-switch-btn:hover {
  background: rgba(79, 70, 229, 0.18);
}

.msm-mix-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.msm-mix-legend-row {
  align-items: center;
  background: var(--dash-surface-subtle);
  border: 1px solid var(--dash-border);
  border-radius: 10px;
  display: grid;
  font-size: 12px;
  gap: 8px;
  grid-template-columns: 9px minmax(0, 1fr) auto 44px;
  padding: 7px 10px;
}

.msm-mix-dot {
  border-radius: 999px;
  height: 9px;
  width: 9px;
}

.msm-mix-name {
  color: var(--dash-muted);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msm-mix-val {
  color: var(--dash-text);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.msm-mix-share {
  color: var(--dash-muted);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.msm-health-meters-grid {
  border-top: 1px solid var(--dash-border);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
  padding-top: 12px;
}

.msm-health-meter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.msm-health-meter-top {
  align-items: center;
  display: flex;
  font-size: 11.5px;
  gap: 6px;
  justify-content: space-between;
}
.msm-health-meter-top span {
  color: var(--dash-muted);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msm-health-meter-top strong {
  color: var(--dash-text);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.msm-health-meter-track {
  background: var(--dash-surface-muted);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.msm-health-meter-bar {
  border-radius: 999px;
  display: block;
  height: 100%;
  transition: width 0.35s ease;
}
.msm-health-meter-bar.msm-bar-indigo {
  background: linear-gradient(90deg, #4f46e5, #6366f1);
}
.msm-health-meter-bar.msm-bar-amber {
  background: linear-gradient(90deg, #f59e0b, #fb923c);
}
.msm-health-meter-bar.msm-bar-teal {
  background: linear-gradient(90deg, #14b8a6, #0d9488);
}

.msm-dashboard-main-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.msm-dashboard-chart-column {
  min-width: 0;
}

.msm-dashboard-chart-row {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.msm-dashboard-chart-row.is-wide-charts {
  grid-template-columns: 1fr;
}

.msm-dashboard-modern .msm-dashboard-panel {
  background: var(--dash-surface) !important;
  border: 1px solid var(--dash-border) !important;
  border-radius: var(--dash-radius) !important;
  border-top: 1px solid var(--dash-border) !important;
  box-shadow: var(--dash-shadow) !important;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
  min-width: 0;
  overflow: hidden;
}
.msm-dashboard-modern .msm-dashboard-panel > .box-header {
  align-items: stretch;
  background: transparent !important;
  border-bottom: 1px solid var(--dash-border) !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px !important;
}
.msm-dashboard-modern .msm-dashboard-panel > .box-header::before, .msm-dashboard-modern .msm-dashboard-panel > .box-header::after {
  content: none !important;
  display: none !important;
}
.msm-dashboard-modern .msm-dashboard-panel > .box-header .box-icon {
  display: inline-flex;
  margin-right: 2px;
}
.msm-dashboard-modern .msm-dashboard-panel > .box-header .box-title {
  color: var(--dash-text) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  margin: 0 !important;
}
.msm-dashboard-modern .msm-dashboard-panel > .box-header > .box-tools {
  float: none !important;
  margin-left: auto;
  position: static !important;
  right: auto !important;
  top: auto !important;
}
.msm-dashboard-modern .msm-dashboard-panel > .box-body {
  flex: 1 1 auto;
  padding: 12px 14px 16px !important;
}

.msm-chart-panel-head-top {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
}

.msm-chart-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.msm-chart-stats-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.msm-chart-stat-pill {
  align-items: center;
  background: var(--dash-surface-subtle);
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  color: var(--dash-muted);
  display: inline-flex;
  font-size: 11px;
  gap: 5px;
  padding: 3px 8px;
}
.msm-chart-stat-pill strong {
  color: var(--dash-text);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.msm-chart-controls {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.msm-chart-type-switch {
  align-items: center;
  background: var(--dash-surface-muted);
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  display: inline-flex;
  gap: 2px;
  padding: 2px;
}

.msm-chart-mode-btn {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--dash-muted);
  cursor: pointer;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
  width: 28px;
}
.msm-chart-mode-btn .msm-dash-svg {
  height: 14px;
  width: 14px;
}
.msm-chart-mode-btn:hover {
  color: var(--dash-text);
}
.msm-chart-mode-btn.is-active {
  background: var(--dash-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  color: var(--dash-primary);
}

.msm-chart-layout-btn {
  background: var(--dash-surface-subtle);
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  color: var(--dash-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  height: 30px;
  padding: 0 10px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.msm-chart-layout-btn:hover, .msm-chart-layout-btn.is-active {
  border-color: rgba(79, 70, 229, 0.35);
  color: var(--dash-primary);
}

.msm-chart-container-wrap {
  min-height: 295px;
  width: 100%;
}

.msm-dashboard-side-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.msm-dashboard-summary-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
}
.msm-dashboard-summary-list > div {
  align-items: center;
  border-bottom: 1px dashed var(--dash-border);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 3px 4px 4px 2px;
}
.msm-dashboard-summary-list > div span {
  color: var(--dash-muted);
  font-weight: 600;
}
.msm-dashboard-summary-list > div strong {
  color: var(--dash-text);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  margin-right: 2px;
}
.msm-dashboard-summary-list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.msm-dashboard-summary-list > div.msm-summary-net-row {
  background: var(--dash-surface-subtle);
  border: 1px solid var(--dash-border);
  border-radius: 11px;
  margin-top: auto;
  padding: 7px 10px;
}
.msm-dashboard-summary-list > div.msm-summary-net-row span {
  color: var(--dash-text);
  font-weight: 700;
}
.msm-dashboard-summary-list > div.msm-summary-net-row strong {
  color: #059669;
  font-size: 15px;
  font-weight: 800;
}

.msm-dashboard-quick-links-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.msm-dashboard-quick-links-list a {
  align-items: center;
  background: var(--dash-surface-subtle);
  border: 1px solid var(--dash-border);
  border-radius: 11px;
  color: var(--dash-text) !important;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  padding: 9px 12px;
  text-decoration: none !important;
  transition: border-color 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
}
.msm-dashboard-quick-links-list a .msm-ql-icon {
  align-items: center;
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  color: var(--dash-primary);
  display: inline-flex;
  flex-shrink: 0;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.msm-dashboard-quick-links-list a .msm-ql-icon .msm-dash-svg {
  height: 15px;
  width: 15px;
}
.msm-dashboard-quick-links-list a .msm-ql-label {
  flex: 1 1 auto;
  min-width: 0;
}
.msm-dashboard-quick-links-list a .msm-ql-chevron {
  color: var(--dash-soft);
  height: 15px;
  width: 15px;
}
.msm-dashboard-quick-links-list a:hover {
  background: var(--dash-surface);
  border-color: rgba(79, 70, 229, 0.32);
  transform: translateX(2px);
}
.msm-dashboard-quick-links-list a.msm-quick-link-featured {
  background: rgba(79, 70, 229, 0.07);
  border-color: rgba(79, 70, 229, 0.24);
}
.msm-dashboard-quick-links-list a.msm-quick-link-featured .msm-ql-icon {
  background: #4f46e5;
  border-color: transparent;
  color: #ffffff;
}

.msm-dashboard-modern [id^=dash_sec_] {
  scroll-margin-top: 84px;
}

.msm-ops-nav-strip {
  align-items: center;
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: 14px;
  box-shadow: var(--dash-shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 14px;
}

.msm-ops-strip-label {
  color: var(--dash-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.msm-ops-pills {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 7px;
}

.msm-ops-pill {
  align-items: center;
  background: var(--dash-surface-subtle);
  border: 1px solid var(--dash-border);
  border-radius: 999px;
  color: var(--dash-text) !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 7px;
  padding: 4px 10px 4px 12px;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.msm-ops-pill:hover {
  background: var(--dash-surface-muted);
  border-color: rgba(79, 70, 229, 0.35);
}

.msm-ops-count {
  align-items: center;
  background: var(--dash-surface-muted);
  border-radius: 999px;
  color: var(--dash-muted);
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  height: 19px;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
}
.msm-ops-count.has-items {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

.msm-dashboard-lower-widgets,
.msm-dashboard-single-widget {
  margin-bottom: 0;
}

.msm-dashboard-modern .msm-dashboard-widget-card {
  background: var(--dash-surface) !important;
  border: 1px solid var(--dash-border) !important;
  border-radius: var(--dash-radius) !important;
  border-top: 1px solid var(--dash-border) !important;
  box-shadow: var(--dash-shadow) !important;
  margin-bottom: 16px !important;
  overflow: hidden;
}
.msm-dashboard-modern .msm-dashboard-widget-card > .box-header {
  align-items: center;
  background: transparent !important;
  border-bottom: 1px solid var(--dash-border) !important;
  display: flex;
  gap: 10px;
  padding: 13px 16px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card > .box-header::before, .msm-dashboard-modern .msm-dashboard-widget-card > .box-header::after {
  content: none !important;
  display: none !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card > .box-header .box-title {
  color: var(--dash-text) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card > .box-body {
  padding: 14px 16px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .dataTables_wrapper > .dt-buttons,
.msm-dashboard-modern .msm-dashboard-widget-card .dataTables_wrapper > .row:first-child .dt-buttons,
.msm-dashboard-modern .msm-dashboard-widget-card .dataTables_wrapper > .row:first-child .dataTables_filter,
.msm-dashboard-modern .msm-dashboard-widget-card .dataTables_wrapper > .row:first-child .dataTables_length {
  display: none !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 16px !important;
  justify-content: space-between !important;
  margin: 0 0 14px 0 !important;
  position: static !important;
  width: 100% !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-toolbar-left {
  align-items: center !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-wrap: wrap !important;
  gap: 10px 14px !important;
  min-width: 0 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-dashboard-table-filter {
  flex: 0 0 180px !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 150px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-dashboard-table-filter .select2-container {
  display: block !important;
  width: 100% !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-dashboard-table-filter .select2-container--default .select2-selection--single {
  align-items: center !important;
  background: var(--dash-surface-subtle) !important;
  border: 1px solid var(--dash-border-strong) !important;
  border-radius: 9px !important;
  display: flex !important;
  height: 33px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-dashboard-table-filter .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--dash-text) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 31px !important;
  padding-left: 10px !important;
  padding-right: 26px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-dashboard-table-filter .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 31px !important;
  right: 6px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-length-slot {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-length-slot .dropdown > .btn {
  background: var(--dash-surface-subtle) !important;
  border: 1px solid var(--dash-border-strong) !important;
  border-radius: 9px !important;
  color: var(--dash-text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  height: 33px !important;
  padding: 5px 12px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-length-slot .dropdown > .btn:hover, .msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-length-slot .dropdown > .btn:focus {
  background: var(--dash-surface-muted) !important;
  border-color: rgba(79, 70, 229, 0.4) !important;
  color: var(--dash-primary) !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-search-slot {
  align-items: center !important;
  display: flex !important;
  flex: 0 1 240px !important;
  margin: 0 !important;
  min-width: 160px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-search-slot .msm-sales-search-wrap,
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-search-slot .dataTables_filter {
  margin: 0 !important;
  width: 100% !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-search-slot input {
  background: var(--dash-surface-subtle) !important;
  border: 1px solid var(--dash-border-strong) !important;
  border-radius: 9px !important;
  color: var(--dash-text) !important;
  font-size: 12px !important;
  height: 33px !important;
  padding: 5px 12px !important;
  width: 100% !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-search-slot input::placeholder {
  color: var(--dash-muted) !important;
  font-size: 12px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-search-slot input:focus {
  border-color: rgba(79, 70, 229, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
  outline: none !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-toolbar-right {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 0 auto !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-actions {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-toolbar .msm-sales-table-actions .dt-buttons {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  float: none !important;
  gap: 6px !important;
  margin: 0 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .btn,
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .dt-button {
  background: var(--dash-surface-subtle) !important;
  border: 1px solid var(--dash-border-strong) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: var(--dash-text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  height: 33px !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .btn:hover, .msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .btn:focus,
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .dt-button:hover,
.msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .dt-button:focus {
  background: var(--dash-surface-muted) !important;
  border-color: rgba(79, 70, 229, 0.4) !important;
  color: var(--dash-primary) !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable {
  border-collapse: collapse !important;
  border: 0 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable thead th {
  background: var(--dash-surface-subtle) !important;
  border-bottom: 1px solid var(--dash-border-strong) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  color: var(--dash-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  padding: 10px 12px !important;
  text-transform: uppercase;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable tbody td {
  border-bottom: 1px solid var(--dash-border) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  color: var(--dash-text) !important;
  font-size: 13px;
  padding: 10px 12px !important;
  vertical-align: middle;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable tbody tr:hover td {
  background: var(--dash-surface-subtle) !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-shipping-status,
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status {
  align-items: center !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  display: inline-flex !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  gap: 5px !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  min-height: 22px !important;
  padding: 3px 10px !important;
  text-transform: capitalize !important;
  white-space: nowrap !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-shipping-status-ordered {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #b45309 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-shipping-status-packed {
  background: rgba(14, 165, 233, 0.12) !important;
  border: 1px solid rgba(14, 165, 233, 0.28) !important;
  color: #0369a1 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-shipping-status-shipped {
  background: rgba(99, 102, 241, 0.12) !important;
  border: 1px solid rgba(99, 102, 241, 0.28) !important;
  color: #4338ca !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-shipping-status-delivered {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #047857 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-shipping-status-cancelled {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
  color: #b91c1c !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status-paid {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #047857 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status-paid .msm-status-icon {
  color: #047857 !important;
  background: transparent !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status-partial {
  background: rgba(6, 182, 212, 0.12) !important;
  border: 1px solid rgba(6, 182, 212, 0.28) !important;
  color: #0e7490 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status-partial .msm-status-icon {
  color: #0e7490 !important;
  background: transparent !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status-due {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
  color: #b91c1c !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status-due .msm-status-icon {
  color: #b91c1c !important;
  background: transparent !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status-overdue {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
  color: #b45309 !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label.msm-payment-status-overdue .msm-status-icon {
  color: #b45309 !important;
  background: transparent !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label .msm-status-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  font-size: 10px !important;
  margin-right: 2px !important;
  width: auto !important;
  height: auto !important;
}
.msm-dashboard-modern .msm-dashboard-widget-card table.dataTable .label .msm-status-icon i {
  font-size: 10px !important;
  line-height: 1 !important;
}

@media (max-width: 1366px) and (min-width: 1200px) {
  .msm-dashboard-hero-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 12px;
  }
  .msm-dashboard-kpi-primary-row,
  .msm-dashboard-kpi-compact-row {
    gap: 10px;
  }
  .msm-dashboard-modern .msm-kpi-card {
    padding: 12px 14px !important;
    gap: 8px;
  }
  .msm-dashboard-modern .msm-kpi-card .msm-kpi-head {
    gap: 6px;
    justify-content: space-between;
    padding-right: 2px;
  }
  .msm-dashboard-modern .msm-kpi-card .info-box-icon {
    height: 28px !important;
    width: 28px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
  }
  .msm-dashboard-modern .msm-kpi-card .info-box-icon .msm-dash-svg {
    height: 14px;
    width: 14px;
  }
  .msm-dashboard-modern .msm-kpi-card .msm-kpi-title-wrap {
    flex: 0 1 auto;
    min-width: 0;
  }
  .msm-dashboard-modern .msm-kpi-card .info-box-text {
    font-size: 11.5px;
    line-height: 1.2;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .msm-dashboard-modern .msm-kpi-card .msm-kpi-derived-pill {
    font-size: 9px;
    line-height: 1.1;
    padding: 2px 6px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: auto;
    margin-right: 2px;
    letter-spacing: -0.015em;
  }
  .msm-dashboard-modern .msm-kpi-card .msm-mini-progress-labels {
    font-size: 10px;
    padding: 0 !important;
    margin: 0 !important;
  }
  .msm-dashboard-modern .msm-kpi-card .info-box-number {
    font-size: 17px;
  }
  .msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .info-box-icon {
    height: 30px !important;
    width: 30px !important;
    border-radius: 7px !important;
  }
  .msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .info-box-icon .msm-dash-svg {
    height: 15px !important;
    width: 15px !important;
  }
  .msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .msm-kpi-head {
    gap: 5px !important;
  }
  .msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .msm-kpi-derived-pill {
    font-size: 8.5px !important;
    padding: 1.5px 5px !important;
  }
  .msm-dashboard-modern .msm-kpi-card.msm-kpi-card-compact .info-box-text {
    font-size: 11px !important;
  }
  .msm-dashboard-hero-rail {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .msm-dashboard-hero-rail .msm-dashboard-due-card {
    padding: 11px 14px;
    flex: 0 0 auto;
  }
  .msm-dashboard-hero-rail .msm-dashboard-summary-card {
    padding: 11px 14px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .msm-dashboard-hero-rail .msm-dashboard-summary-head {
    gap: 4px;
    margin-bottom: 7px;
  }
  .msm-dashboard-hero-rail .msm-head-title-group {
    gap: 6px;
    min-width: 0;
  }
  .msm-dashboard-hero-rail .msm-head-title-group h3 {
    font-size: 11.5px;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .msm-dashboard-hero-rail .msm-card-icon-badge {
    border-radius: 6px;
    flex-shrink: 0;
    height: 24px;
    width: 24px;
  }
  .msm-dashboard-hero-rail .msm-card-icon-badge .msm-dash-svg {
    height: 12px;
    width: 12px;
  }
  .msm-dashboard-hero-rail .msm-head-pill {
    flex-shrink: 0;
    font-size: 9px;
    letter-spacing: -0.02em;
    padding: 1px 5px;
  }
  .msm-dashboard-hero-rail .msm-dashboard-due-graph-label span,
  .msm-dashboard-hero-rail .msm-dashboard-due-graph-label strong {
    font-size: 12px;
  }
  .msm-dashboard-hero-rail .msm-dashboard-summary-list > div {
    font-size: 11.5px;
    padding: 3px 2px;
  }
  .msm-dashboard-hero-rail .msm-dashboard-summary-list > div.msm-summary-net-row {
    padding: 5px 8px;
    margin-top: 4px;
  }
  .msm-dashboard-hero-rail .msm-dashboard-summary-list > div.msm-summary-net-row strong {
    font-size: 13.5px;
  }
}
@media (max-width: 1199px) {
  .msm-dashboard-modern .msm-kpi-card {
    padding: 12px 14px !important;
  }
  .msm-dashboard-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .msm-dashboard-action {
    gap: 6px;
    padding: 5px 8px;
  }
  .msm-dashboard-action .msm-action-icon {
    border-radius: 7px;
    height: 26px;
    width: 26px;
  }
  .msm-dashboard-action .msm-action-icon .msm-dash-svg {
    height: 14px;
    width: 14px;
  }
  .msm-dashboard-action .msm-action-text {
    font-size: 11.5px;
  }
  .msm-dashboard-hero-grid,
  .msm-dashboard-main-grid {
    grid-template-columns: 1fr;
  }
  .msm-dashboard-hero-rail {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .msm-dashboard-insights-row {
    grid-template-columns: 1fr;
  }
  .msm-dashboard-chart-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991px) {
  .msm-dashboard-modern .msm-kpi-card {
    padding: 10px 12px !important;
  }
  .msm-dashboard-kpi-primary-row {
    grid-template-columns: 1fr;
  }
  .msm-dashboard-kpi-compact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .msm-dashboard-hero-rail {
    grid-template-columns: 1fr;
  }
  .msm-dashboard-header {
    align-items: stretch;
  }
  .msm-dashboard-filter-bar {
    justify-content: flex-start;
    width: 100%;
  }
  .msm-period-presets {
    max-width: 100%;
    overflow-x: auto;
  }
  .msm-dashboard-location-filter,
  .msm-dashboard-date-filter {
    flex: 1 1 180px;
    width: 100%;
  }
  .msm-dashboard-location-filter #dashboard_date_filter,
  .msm-dashboard-date-filter #dashboard_date_filter {
    width: 100%;
  }
  .msm-analytics-mix-body {
    grid-template-columns: 1fr;
  }
  .msm-health-meters-grid {
    grid-template-columns: 1fr;
  }
  .msm-chart-toolbar {
    justify-content: flex-start;
  }
}
@media (max-width: 575px) {
  .msm-dashboard-kpi-compact-row {
    grid-template-columns: 1fr;
  }
  .msm-dashboard-quick-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .msm-dashboard-action {
    justify-content: flex-start;
    padding: 6px 10px 6px 8px;
  }
  .msm-dashboard-action .msm-action-text {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
body.msm-legacy-modern .content-wrapper .msm-products-header,
body.msm-legacy-modern .content-wrapper .msm-product-form-header {
  background: transparent;
  padding: 18px 20px 8px;
}

body.msm-legacy-modern .content-wrapper .msm-products-header > h1,
body.msm-legacy-modern .content-wrapper .msm-product-form-header > h1 {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--msm-text);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

body.msm-legacy-modern .content-wrapper .msm-products-header > h1 small {
  color: var(--msm-muted);
  font-size: 13px;
  font-weight: 600;
}

body.msm-legacy-modern .content-wrapper .msm-products-header .msm-sales-filter-toggle {
  align-items: center;
  background: var(--msm-primary-soft);
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  line-height: 1.2;
  padding: 7px 11px;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

body.msm-legacy-modern .content-wrapper .msm-products-header .msm-sales-filter-toggle:hover,
body.msm-legacy-modern .content-wrapper .msm-products-header .msm-sales-filter-toggle:focus {
  background: #ffffff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  outline: 0;
}

body.msm-legacy-modern .content-wrapper .msm-products-header .msm-sales-filter-toggle.collapsed {
  background: #ffffff;
  color: var(--msm-text-soft);
}

body.msm-legacy-modern .content-wrapper .msm-products-header .msm-sales-filter-toggle .msm-sales-filter-chevron {
  font-size: 9px;
  margin-left: 1px;
  transform: rotate(180deg);
  transition: transform 0.16s ease;
}

body.msm-legacy-modern .content-wrapper .msm-products-header .msm-sales-filter-toggle.collapsed .msm-sales-filter-chevron,
body.msm-legacy-modern .content-wrapper .msm-products-header .msm-sales-filter-toggle[aria-expanded=false] .msm-sales-filter-chevron {
  transform: rotate(0deg);
}

body.msm-legacy-modern .content-wrapper .msm-product-admin-header {
  align-items: center;
  display: flex;
  padding-bottom: 10px;
}

body.msm-legacy-modern .content-wrapper .msm-product-admin-header__copy {
  min-width: 0;
}

body.msm-legacy-modern .content-wrapper .msm-product-admin-header__copy > h1 {
  color: var(--msm-text);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

body.msm-legacy-modern .content-wrapper .msm-product-admin-header__copy > p {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin: 4px 0 0;
}

body.msm-legacy-modern .msm-products-page,
body.msm-legacy-modern .msm-product-form-page {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow-x: hidden;
  padding: 12px 20px 24px;
}

body.msm-legacy-modern .msm-products-page > .row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern .msm-products-page > .row > [class*=col-] {
  float: none;
  max-width: 100%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body.msm-legacy-modern .msm-products-page .box,
body.msm-legacy-modern .msm-products-page .nav-tabs-custom,
body.msm-legacy-modern .msm-product-form-page .box {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-top: 1px solid var(--msm-border) !important;
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  margin-bottom: 0;
  overflow: hidden;
}

body.msm-legacy-modern .msm-product-form-page > form > .box,
body.msm-legacy-modern .msm-product-utility-page .msm-product-import-card,
body.msm-legacy-modern .msm-product-utility-page .msm-product-instructions-card,
body.msm-legacy-modern .msm-product-utility-page .msm-labels-search-card,
body.msm-legacy-modern .msm-product-utility-page .msm-labels-settings-card {
  padding: 14px;
}

body.msm-legacy-modern .msm-modern-list-page.msm-products-page #accordion.box {
  background: #ffffff;
  border-radius: var(--msm-radius-lg);
}

body.msm-legacy-modern .msm-products-page .box-header,
body.msm-legacy-modern .msm-product-form-page .box-header {
  background: var(--msm-surface);
  border-bottom: 1px solid var(--msm-border);
  border-radius: 10px 10px 0 0;
  padding: 14px 16px;
}

body.msm-legacy-modern .msm-modern-list-page.msm-products-page #accordion > .box-header {
  background: #ffffff;
  border-bottom-color: var(--msm-border);
  padding: 12px 14px;
}

body.msm-legacy-modern .msm-modern-list-page.msm-products-page #accordion > .box-header .box-title a {
  align-items: center;
  background: var(--msm-primary-soft);
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  padding: 7px 12px;
  text-decoration: none;
}

body.msm-legacy-modern .msm-modern-list-page.msm-products-page #accordion > .box-header .box-title a:hover,
body.msm-legacy-modern .msm-modern-list-page.msm-products-page #accordion > .box-header .box-title a:focus {
  background: #ffffff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  outline: 0;
}

body.msm-legacy-modern .msm-products-page .box-body,
body.msm-legacy-modern .msm-product-form-page .box-body {
  background: var(--msm-surface);
  border-radius: 0 0 10px 10px;
  padding: 16px;
}

body.msm-legacy-modern .msm-products-page #accordion > .panel-collapse > .box-body {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 12px 14px 14px;
}

body.msm-legacy-modern .msm-products-page #accordion > .panel-collapse > .box-body > .col-md-3 {
  float: none;
  flex: 1 1 170px;
  max-width: 230px;
  min-width: 160px;
  padding-left: 6px;
  padding-right: 6px;
  width: auto;
}

body.msm-legacy-modern .msm-products-page #accordion > .panel-collapse > .box-body {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
}

body.msm-legacy-modern .msm-products-page #accordion .form-group {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-products-page #accordion .form-group label {
  color: var(--msm-text-soft);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 5px;
}

body.msm-legacy-modern .msm-products-page #accordion .form-control,
body.msm-legacy-modern .msm-products-page #accordion .select2-container--default .select2-selection--single {
  border-color: var(--msm-border-strong);
  border-radius: 9px;
  box-shadow: none;
  min-height: 34px;
}

body.msm-legacy-modern .msm-products-page #accordion .select2-container {
  width: 100% !important;
}

body.msm-legacy-modern .msm-products-page #accordion .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--msm-text-soft);
  font-size: 12px;
  line-height: 32px;
}

body.msm-legacy-modern .msm-products-page #accordion .select2-container--default .select2-selection--single .select2-selection__arrow {
  min-height: 32px;
}

body.msm-legacy-modern .msm-products-page #accordion br {
  display: none;
}

body.msm-legacy-modern .msm-products-page #accordion label:has(input[type=checkbox]) {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--msm-border);
  border-radius: 9px;
  display: inline-flex;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-products-page .form-group,
body.msm-legacy-modern .msm-product-form-page .form-group {
  margin-bottom: 14px;
}

body.msm-legacy-modern .msm-products-page .form-group label,
body.msm-legacy-modern .msm-product-form-page .form-group label {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

body.msm-legacy-modern .msm-products-tabs {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  margin-top: 10px;
  overflow: hidden;
}

body.msm-legacy-modern .msm-products-tabs > .tab-content {
  min-width: 0;
  overflow: hidden;
  padding-top: 8px;
  width: 100%;
}

body.msm-legacy-modern .msm-products-tabs > .tab-content > .tab-pane,
body.msm-legacy-modern .msm-products-tabs #product_stock_report,
body.msm-legacy-modern .msm-products-tabs #product_list_tab {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

body.msm-legacy-modern .msm-products-tabs > .nav-tabs {
  align-items: flex-end;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--msm-border) !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 28px;
  min-height: 58px;
  padding: 0 22px;
}

body.msm-legacy-modern .msm-products-tabs > .nav-tabs > li > a {
  align-items: center;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 0;
  color: var(--msm-text-soft) !important;
  display: inline-flex;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
  min-height: 58px;
  padding: 15px 0 14px;
  position: relative;
}

body.msm-legacy-modern .msm-products-tabs > .nav-tabs > li > a::before {
  content: none;
}

body.msm-legacy-modern .msm-products-tabs > .nav-tabs > li > a > i {
  flex: 0 0 auto;
  line-height: 1;
  margin-right: 6px;
}

body.msm-legacy-modern .msm-products-tabs > .nav-tabs > li.active > a,
body.msm-legacy-modern .msm-products-tabs > .nav-tabs > li.active > a:hover,
body.msm-legacy-modern .msm-products-tabs > .nav-tabs > li.active > a:focus {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #4f46e5 !important;
}

body.msm-legacy-modern .msm-products-tabs > .nav-tabs > li.active > a::before {
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  border-radius: 999px 999px 0 0;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

body.msm-legacy-modern .msm-products-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 0 0 14px;
}

body.msm-legacy-modern .msm-products-toolbar .btn {
  float: none !important;
  margin-left: 0 !important;
  min-height: 38px;
  padding-left: 14px;
  padding-right: 14px;
}

body.msm-legacy-modern .msm-products-toolbar .btn-primary,
body.msm-legacy-modern .msm-products-toolbar .btn-success {
  align-items: center;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0;
  min-width: 74px;
}

body.msm-legacy-modern .msm-products-toolbar .btn-success {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
  color: #ffffff;
}

body.msm-legacy-modern .msm-products-toolbar .btn-success:hover,
body.msm-legacy-modern .msm-products-toolbar .btn-success:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff;
}

body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar {
  box-sizing: border-box;
  flex: 0 0 auto;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  position: relative;
  width: 100% !important;
  z-index: 4;
}

body.msm-legacy-modern .msm-products-page .msm-products-table-toolbar,
body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--msm-border);
  box-sizing: border-box;
  flex-wrap: nowrap !important;
  margin: 0 0 14px !important;
  max-width: 100%;
  padding: 12px 16px 13px;
  width: 100% !important;
}

body.msm-legacy-modern .msm-products-page .msm-products-table-toolbar .msm-sales-table-toolbar-left,
body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar .msm-sales-table-toolbar-left {
  flex: 1 1 auto !important;
  max-width: none !important;
  min-width: 0 !important;
}

body.msm-legacy-modern .msm-products-page .msm-products-table-toolbar .msm-sales-table-toolbar-right,
body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar .msm-sales-table-toolbar-right {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  min-width: 0 !important;
}

body.msm-legacy-modern .msm-products-page .msm-products-table-toolbar .msm-sales-table-search-slot {
  flex: 0 1 230px !important;
  max-width: 230px !important;
  min-width: 180px !important;
  width: 230px !important;
}

body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar .msm-sales-table-toolbar-left {
  flex: 1 1 520px;
  max-width: calc(100% - 390px);
  min-width: 0;
}

body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar .msm-sales-table-search-slot {
  flex: 0 1 280px;
  max-width: 280px;
  min-width: 210px;
  width: 280px;
}

body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar .msm-sales-table-toolbar-right {
  flex: 0 0 auto;
  margin-left: auto;
  max-width: 100%;
  min-width: 0;
}

body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper {
  clear: both;
  max-width: 100% !important;
  min-width: 0;
  overflow: hidden;
  position: relative;
  width: 100% !important;
}

body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scroll,
body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scrollHead,
body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scrollBody,
body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scrollFoot {
  max-width: 100% !important;
  width: 100% !important;
}

body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scrollBody {
  overflow: auto !important;
}

body.msm-legacy-modern .msm-products-page .fixedHeader-floating,
body.msm-legacy-modern .msm-products-page .fixedHeader-locked {
  display: none !important;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper {
  max-width: 100%;
  padding-top: 4px;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .row:first-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-bottom: 14px;
  min-height: 42px;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .row:first-child > [class*=col-] {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .row:first-child > [class*=col-]:last-child {
  justify-content: flex-end;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_filter {
  margin-left: auto;
  text-align: right;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_filter input,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_length select {
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: var(--msm-radius-sm);
  box-shadow: none;
  min-height: 34px;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_length label,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_filter label {
  align-items: center;
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  margin: 0;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_filter input {
  min-width: 210px;
  padding-left: 12px;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dt-buttons,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dt-buttons.btn-group {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dt-buttons .btn,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dt-button,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper button.dt-button {
  align-items: center;
  background: #ffffff !important;
  border: 1px solid var(--msm-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
  color: var(--msm-text-soft) !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
  margin: 0 !important;
  min-height: 32px;
  padding: 6px 10px !important;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dt-buttons .btn:hover,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dt-button:hover,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper button.dt-button:hover {
  background: var(--msm-primary-soft) !important;
  border-color: #cfe0ff !important;
  color: var(--msm-primary) !important;
}

body.msm-legacy-modern .msm-products-page .table-responsive,
body.msm-legacy-modern .msm-products-page .dataTables_scroll {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  overflow: hidden;
}

body.msm-legacy-modern .msm-products-page .dataTables_scrollHead,
body.msm-legacy-modern .msm-products-page .dataTables_scrollBody {
  border-color: var(--msm-border) !important;
}

body.msm-legacy-modern .msm-products-page table.dataTable > thead > tr > th,
body.msm-legacy-modern .msm-products-page table.dataTable > thead > tr > td {
  background: #f7faff;
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 11px;
  padding-top: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr > td {
  background: #ffffff;
  border-color: #edf1f7;
  color: var(--msm-text-soft);
  font-size: 12px;
  line-height: 1.45;
  padding-bottom: 9px;
  padding-top: 9px;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr:nth-child(even) > td {
  background: #fbfcff;
}

body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr:hover > td {
  background: #f6f9ff;
}

body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr > td:nth-child(4) {
  color: var(--msm-text);
  font-weight: 800;
}

body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr > td:nth-child(5) {
  color: #42526e;
  max-width: 520px;
}

body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr > td:nth-child(2) {
  text-align: center;
}

body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr > td:nth-child(2) img,
body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr > td:nth-child(2) .product-thumbnail,
body.msm-legacy-modern .msm-products-page table.dataTable > tbody > tr > td:nth-child(2) .img-thumbnail {
  background: #eef2f7;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: none;
  height: 38px;
  object-fit: cover;
  padding: 3px;
  width: 38px;
}

body.msm-legacy-modern .msm-products-page table.dataTable .btn-info,
body.msm-legacy-modern .msm-products-page table.dataTable .btn-default.dropdown-toggle,
body.msm-legacy-modern .msm-products-page table.dataTable .dropdown-toggle.btn {
  align-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid rgba(29, 78, 216, 0.2) !important;
  border-radius: 8px !important;
  box-shadow: 0 7px 14px rgba(37, 99, 235, 0.18) !important;
  color: #ffffff !important;
  display: inline-flex;
  font-size: 10.5px;
  font-weight: 900;
  gap: 4px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 26px;
  min-width: 66px;
  padding: 5px 9px !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

body.msm-legacy-modern .msm-products-page table.dataTable .btn-info:hover,
body.msm-legacy-modern .msm-products-page table.dataTable .btn-default.dropdown-toggle:hover,
body.msm-legacy-modern .msm-products-page table.dataTable .dropdown-toggle.btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: rgba(30, 64, 175, 0.3) !important;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.24) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

body.msm-legacy-modern .msm-products-page table.dataTable .btn-info .caret,
body.msm-legacy-modern .msm-products-page table.dataTable .btn-default.dropdown-toggle .caret,
body.msm-legacy-modern .msm-products-page table.dataTable .dropdown-toggle.btn .caret {
  border-top-color: rgba(255, 255, 255, 0.92);
  margin-left: 1px;
}

body.msm-legacy-modern .msm-products-page table.dataTable .dropdown-menu {
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  box-shadow: var(--msm-shadow-float);
  overflow: hidden;
  padding: 6px;
}

body.msm-legacy-modern .msm-products-page table.dataTable .dropdown-menu > li > a {
  border-radius: 7px;
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
}

body.msm-legacy-modern .msm-products-page table.dataTable .dropdown-menu > li > a:hover,
body.msm-legacy-modern .msm-products-page table.dataTable .dropdown-menu > li > a:focus {
  background: var(--msm-primary-soft);
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-products-bulk-actions {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 10px 20px rgba(16, 24, 40, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  min-height: 48px;
  padding: 8px;
  width: 100%;
}

body.msm-legacy-modern .msm-products-bulk-actions form {
  display: inline-flex;
  margin: 0;
}

body.msm-legacy-modern .msm-products-bulk-actions .help-button {
  align-items: center;
  background: #e0f2fe;
  border-radius: 999px;
  color: #0284c7;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  margin-left: 2px;
  width: 22px;
}

body.msm-legacy-modern .msm-products-bulk-actions .btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(16, 24, 40, 0.06);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  gap: 6px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 32px;
  padding: 8px 13px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

body.msm-legacy-modern .msm-products-bulk-actions .btn:hover,
body.msm-legacy-modern .msm-products-bulk-actions .btn:focus {
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.1);
  transform: translateY(-1px);
}

body.msm-legacy-modern .msm-products-bulk-actions .btn i {
  font-size: 10px;
}

body.msm-legacy-modern .msm-products-bulk-actions .btn-danger {
  background: #fff1f3;
  border-color: #ffd6dd;
  color: #e11d48;
}

body.msm-legacy-modern .msm-products-bulk-actions .btn-success {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #059669;
}

body.msm-legacy-modern .msm-products-bulk-actions .bg-navy {
  background: #eef6ff !important;
  border-color: #cfe0ff !important;
  color: #1d4ed8 !important;
}

body.msm-legacy-modern .msm-products-bulk-actions .btn-warning {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #ea580c;
}

body.msm-legacy-modern .msm-product-admin-page {
  padding-top: 8px;
}

body.msm-legacy-modern .msm-product-admin-page--compact {
  padding-top: 4px;
}

body.msm-legacy-modern .msm-product-admin-page .msm-product-admin-card {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  margin: 0;
  overflow: hidden;
  padding: 14px;
}

body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-toolbar {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--msm-border);
  border-radius: 10px 10px 0 0;
  flex-wrap: nowrap;
  margin: 0;
  padding: 12px 14px;
}

body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-toolbar-left {
  flex: 1 1 auto;
  min-width: 0;
}

body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-title {
  color: var(--msm-text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-search-slot {
  flex: 0 1 260px;
  max-width: 280px;
  min-width: 190px;
}

body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-toolbar-right {
  flex: 0 0 auto;
  margin-left: auto;
}

body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-toolbar-right > .btn,
body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-toolbar-right > .btn-primary,
body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-actions .btn,
body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-actions .dt-button {
  align-items: center;
  border-radius: 8px !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px !important;
}

body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-toolbar-right > .btn-primary,
body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-actions .btn-primary,
body.msm-legacy-modern .msm-product-admin-page .msm-sales-table-actions .dt-button {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
  color: #ffffff !important;
}

body.msm-legacy-modern .msm-product-admin-page .msm-product-admin-help {
  background: #f8fbff;
  border-left: 1px solid var(--msm-border);
  border-right: 1px solid var(--msm-border);
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
}

body.msm-legacy-modern .msm-product-admin-page .msm-product-admin-table {
  border: 1px solid var(--msm-border);
  border-radius: 0 0 10px 10px;
  border-top: 0;
  margin: 0;
  overflow: auto;
}

body.msm-legacy-modern .msm-product-admin-page .msm-product-admin-table--compact {
  background: #ffffff;
}

body.msm-legacy-modern .msm-product-admin-page .msm-product-admin-compact-table {
  border-collapse: separate !important;
  border-spacing: 0;
  margin-bottom: 0 !important;
  width: 100% !important;
}

body.msm-legacy-modern .msm-product-admin-page .msm-product-admin-compact-table > thead > tr > th {
  background: #f7faff;
  border-bottom: 1px solid #dbe5f3 !important;
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 900;
  height: 42px;
  letter-spacing: 0;
  padding: 12px 14px !important;
  text-transform: uppercase;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-product-admin-page .msm-product-admin-compact-table > tbody > tr > td {
  border-color: #eef2f7 !important;
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 700;
  height: 42px;
  padding: 11px 14px !important;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-product-admin-page .msm-product-admin-compact-table > tbody > tr:hover > td {
  background: #fbfdff;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_wrapper {
  padding: 0;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_wrapper.msm-modern-controls-moved > .row:first-child {
  display: none;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_processing {
  align-items: center;
  background: #ffffff;
  border: 1px solid #bfd5ff;
  border-radius: 12px;
  box-shadow: var(--msm-shadow-float);
  color: #1e3a8a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 10px;
  left: 50%;
  line-height: 1.2;
  margin: 0;
  min-height: 40px;
  padding: 11px 16px;
  top: 54px;
  transform: translateX(-50%);
  width: auto;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_processing::before {
  animation: msm-sales-processing-spin 0.8s linear infinite;
  border: 2px solid #bfdbfe;
  border-radius: 999px;
  border-top-color: #2563eb;
  content: "";
  display: inline-block;
  height: 16px;
  width: 16px;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_info,
body.msm-legacy-modern .msm-product-admin-page .dataTables_paginate {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 700;
  padding: 14px 14px;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_wrapper > .row:last-child {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-top: 1px solid var(--msm-border);
  border-radius: 0 0 10px 10px;
  display: flex;
  margin: 0;
  min-height: 58px;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_wrapper > .row:last-child > [class*=col-] {
  float: none;
  padding-left: 0;
  padding-right: 0;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_wrapper > .row:last-child > [class*=col-]:first-child {
  flex: 1 1 auto;
}

body.msm-legacy-modern .msm-product-admin-page .dataTables_wrapper > .row:last-child > [class*=col-]:last-child {
  flex: 0 0 auto;
  margin-left: auto;
}

body.msm-legacy-modern .msm-product-admin-page table.dataTable > tbody > tr > td:nth-child(4),
body.msm-legacy-modern .msm-product-admin-page table.dataTable > tbody > tr > td:nth-child(5) {
  color: var(--msm-text-soft);
  font-weight: 700;
  max-width: none;
  text-align: left;
}

body.msm-legacy-modern .msm-product-admin-page table.dataTable > tbody > tr > td:first-child {
  color: var(--msm-text);
  font-weight: 900;
}

body.msm-legacy-modern .msm-product-admin-page table.dataTable > tbody > tr > td.dataTables_empty {
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 800;
  padding: 34px 16px;
  text-align: center;
}

body.msm-legacy-modern .msm-product-admin-page table.dataTable .btn-xs,
body.msm-legacy-modern .msm-product-admin-page table.dataTable .btn-primary,
body.msm-legacy-modern .msm-product-admin-page table.dataTable .btn-danger {
  border-radius: 7px !important;
  font-size: 11px;
  font-weight: 900;
  margin: 2px;
  min-height: 26px;
  padding: 5px 9px !important;
}

body.msm-legacy-modern .msm-product-admin-page table.dataTable .btn-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

body.msm-legacy-modern .msm-product-admin-page table.dataTable .btn-danger {
  background: #f43f5e !important;
  border-color: #f43f5e !important;
  color: #ffffff !important;
}

body.msm-legacy-modern .msm-product-utility-page {
  gap: 14px;
  padding-top: 8px;
}

body.msm-legacy-modern .msm-product-utility-page > .row {
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern .msm-product-utility-page > .row > [class*=col-] {
  padding-left: 0;
  padding-right: 0;
}

body.msm-legacy-modern .msm-product-utility-page .msm-product-import-card,
body.msm-legacy-modern .msm-product-utility-page .msm-product-instructions-card,
body.msm-legacy-modern .msm-product-utility-page .msm-labels-search-card,
body.msm-legacy-modern .msm-product-utility-page .msm-labels-settings-card {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern .msm-product-utility-page .box-header {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom: 1px solid var(--msm-border);
  padding: 13px 16px;
}

body.msm-legacy-modern .msm-product-utility-page .box-title {
  color: var(--msm-text);
  font-size: 17px;
  font-weight: 900;
}

body.msm-legacy-modern .msm-product-utility-page .box-body {
  padding: 16px;
}

body.msm-legacy-modern .msm-product-utility-page .msm-product-import-submit {
  align-items: flex-end;
  display: flex;
  min-height: 58px;
}

body.msm-legacy-modern .msm-product-utility-page .msm-product-utility-action {
  align-items: center;
  display: flex;
  min-height: 84px;
}

body.msm-legacy-modern .msm-product-utility-page input[type=file] {
  background: #f8fbff;
  border: 1px dashed #bfd5ff;
  border-radius: 10px;
  color: var(--msm-text-soft);
  min-height: 40px;
  padding: 8px;
  width: 100%;
}

body.msm-legacy-modern .msm-product-utility-page .btn-primary,
body.msm-legacy-modern .msm-product-utility-page .btn-success {
  align-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
  color: #ffffff !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
}

body.msm-legacy-modern .msm-product-utility-page .msm-product-instructions-card table,
body.msm-legacy-modern .msm-labels-page table {
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  overflow: hidden;
}

body.msm-legacy-modern .msm-product-utility-page .msm-product-instructions-card table th,
body.msm-legacy-modern .msm-labels-page table th {
  background: #f7faff;
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

body.msm-legacy-modern .msm-product-utility-page .msm-product-instructions-card table td,
body.msm-legacy-modern .msm-labels-page table td {
  border-color: #edf1f7;
  color: var(--msm-text-soft);
  font-size: 12px;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-labels-page #search_product_for_label {
  min-height: 40px;
}

body.msm-legacy-modern .msm-labels-page .input-group-addon {
  background: #f8fbff;
  border-color: var(--msm-border-strong);
  color: #64748b;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_info {
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 700;
  padding-top: 12px;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate {
  padding-top: 10px;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .pagination {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .paginate_button > a,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .pagination > li > a,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .pagination > li > span {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 8px !important;
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
  min-width: 34px;
  padding: 6px 10px;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .paginate_button.active > a,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .pagination > .active > a,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .pagination > .active > span {
  background: var(--msm-primary);
  border-color: var(--msm-primary);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
  color: #ffffff;
}

body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .pagination > li > a:hover,
body.msm-legacy-modern .msm-products-page .dataTables_wrapper .dataTables_paginate .pagination > li > a:focus {
  background: var(--msm-primary-soft);
  border-color: #cfe0ff;
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-product-form-page .product_form {
  display: grid;
  gap: 18px;
}

body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  margin-left: -6px;
  margin-right: -6px;
  row-gap: 2px;
}

body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > [class*=col-] {
  float: none;
  min-width: 0;
  padding-left: 6px;
  padding-right: 6px;
}

body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-sm-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-sm-4,
body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-sm-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-sm-12,
body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-md-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .hide {
  display: none !important;
}

body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .clearfix {
  display: none;
}

body.msm-legacy-modern .msm-product-form-page .form-group label {
  color: var(--msm-text-soft);
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 800;
  gap: 4px;
  line-height: 1.25;
  max-width: 100%;
}

body.msm-legacy-modern .msm-product-form-page textarea.form-control {
  min-height: 104px;
}

body.msm-legacy-modern .msm-product-form-page .input-group {
  align-items: stretch;
  display: flex;
  width: 100%;
}

body.msm-legacy-modern .msm-product-form-page .input-group .select2-container,
body.msm-legacy-modern .msm-product-form-page .input-group .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

body.msm-legacy-modern .msm-product-form-page .input-group .select2-container {
  width: auto !important;
}

body.msm-legacy-modern .msm-product-form-page .input-group-btn {
  display: flex;
  flex: 0 0 auto;
  min-width: 42px;
}

body.msm-legacy-modern .msm-product-form-page .input-group-btn > .btn {
  align-items: center;
  background: #eef5ff !important;
  border: 1px solid #bfd5ff !important;
  border-radius: 9px !important;
  color: #2563eb !important;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  min-height: 34px;
  min-width: 40px;
}

body.msm-legacy-modern .msm-product-form-page .input-group-btn > .btn i {
  color: #2563eb !important;
  font-size: 13px;
}

body.msm-legacy-modern .msm-product-form-page .input-group .select2-container--default .select2-selection--single {
  border-radius: 9px !important;
}

body.msm-legacy-modern .msm-product-form-page .select2-container {
  max-width: 100%;
  width: 100% !important;
}

body.msm-legacy-modern .msm-product-form-page .select2-container--default .select2-selection--single,
body.msm-legacy-modern .msm-product-form-page .select2-container--default .select2-selection--multiple,
body.msm-legacy-modern .msm-product-form-page .form-control {
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern .msm-product-form-page .multi-input {
  align-items: stretch;
  display: flex;
  gap: 0;
  width: 100%;
}

body.msm-legacy-modern .msm-product-form-page .multi-input > .form-control,
body.msm-legacy-modern .msm-product-form-page .multi-input > .select2-container,
body.msm-legacy-modern .msm-product-form-page .multi-input > .pull-left {
  float: none !important;
  min-width: 0;
}

body.msm-legacy-modern .msm-product-form-page .multi-input > .form-control:first-of-type {
  border-radius: 10px 0 0 10px;
  flex: 1 1 58%;
  width: auto !important;
}

body.msm-legacy-modern .msm-product-form-page .multi-input > .select2-container,
body.msm-legacy-modern .msm-product-form-page .multi-input > select.form-control {
  flex: 0 0 42%;
  width: auto !important;
}

body.msm-legacy-modern .msm-product-form-page .multi-input .select2-container--default .select2-selection--single {
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

body.msm-legacy-modern .msm-product-form-page input[type=file],
body.msm-legacy-modern .msm-product-form-page .upload-element {
  max-width: 100%;
}

body.msm-legacy-modern .msm-product-form-page .file-input,
body.msm-legacy-modern .msm-product-form-page .file-input .file-caption-main {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern .msm-product-form-page .file-input .file-caption-main {
  align-items: stretch;
  display: flex;
}

body.msm-legacy-modern .msm-product-form-page .file-input .file-caption {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern .msm-product-form-page .file-input .input-group-btn,
body.msm-legacy-modern .msm-product-form-page .file-input .input-group-append {
  display: inline-flex;
  flex: 0 0 auto;
  max-width: 52%;
  min-width: 0;
  overflow: hidden;
  width: auto;
}

body.msm-legacy-modern .msm-product-form-page .file-input .btn {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  max-width: 100%;
  min-height: 40px;
  overflow: hidden;
  padding: 0 12px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: auto;
}

body.msm-legacy-modern .msm-product-form-page .file-input .btn-file {
  flex: 0 0 auto;
  min-width: 92px;
}

body.msm-legacy-modern .msm-product-form-page .file-input .fileinput-remove-button {
  flex: 0 0 42px;
  font-size: 0;
  padding: 0 !important;
  width: 42px;
}

body.msm-legacy-modern .msm-product-form-page .file-input .btn i,
body.msm-legacy-modern .msm-product-form-page .file-input .btn .glyphicon,
body.msm-legacy-modern .msm-product-form-page .file-input .fileinput-remove-button i,
body.msm-legacy-modern .msm-product-form-page .file-input .fileinput-remove-button .glyphicon {
  font-size: 13px;
  margin: 0;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  margin-top: 4px;
  overflow: auto;
  padding: 12px;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table {
  border-collapse: separate !important;
  border-spacing: 0;
  table-layout: fixed;
  margin-bottom: 0 !important;
  min-width: 980px;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr > th {
  background: #999b9e;
  border-color: #8f9398 !important;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 12px !important;
  text-transform: uppercase;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr > td {
  background: #ffffff;
  border-color: #eef2f7 !important;
  padding: 14px 12px !important;
  vertical-align: top;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr > td:first-child {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table .col-sm-6 {
  float: none;
  padding-left: 6px;
  padding-right: 6px;
  width: auto;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr > td:first-child .col-sm-6 {
  padding-left: 0;
  padding-right: 0;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table .form-group {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table label {
  display: block;
  min-height: 18px;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table #profit_percent {
  margin-top: 24px;
}

body.msm-legacy-modern .msm-product-form-page .msm-product-price-table br {
  display: none;
}

body.msm-legacy-modern .msm-product-form-page .variation_images,
body.msm-legacy-modern .msm-product-form-page input[type=file].variation_images {
  background: #f8fbff;
  border: 1px dashed #bfd5ff;
  border-radius: 10px;
  color: var(--msm-text-soft);
  min-height: 40px;
  padding: 8px;
  width: 100%;
}

body.msm-legacy-modern .msm-product-form-actions {
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--msm-border);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  margin: 0;
  padding: 16px;
}

body.msm-legacy-modern .msm-product-form-actions .text-center {
  text-align: right;
}

body.msm-legacy-modern .msm-product-form-page .well,
body.msm-legacy-modern .msm-product-form-page .panel {
  background: #f9fbff;
  border-color: var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: none;
}

body.msm-legacy-modern .msm-product-form-actions .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  width: 100%;
}

body.msm-legacy-modern .msm-product-form-actions .btn-group > .btn {
  align-items: center;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  float: none;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  line-height: 1.2;
  min-height: 42px;
  padding: 11px 15px !important;
  white-space: normal;
}

body.msm-legacy-modern .msm-product-form-actions .btn-group > .btn i {
  font-size: 12px;
}

body.msm-legacy-modern .msm-product-form-actions .btn-group > .btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.24);
  color: #ffffff !important;
}

body.msm-legacy-modern .msm-product-form-actions .btn-group > .bg-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
  box-shadow: 0 14px 28px rgba(109, 40, 217, 0.24);
  color: #ffffff !important;
}

body.msm-legacy-modern .msm-product-form-actions .btn-group > .bg-maroon {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%) !important;
  box-shadow: 0 14px 28px rgba(190, 18, 60, 0.22);
  color: #ffffff !important;
}

body.msm-legacy-modern .msm-product-form-actions .btn-group > .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
  color: #ffffff !important;
  min-width: 110px;
}

body.msm-legacy-modern .msm-product-form-actions .btn-group > .btn[disabled],
body.msm-legacy-modern .msm-product-form-actions .btn-group > .btn.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 991px) {
  body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar .msm-sales-table-toolbar-left,
  body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar .msm-sales-table-toolbar-right {
    flex: 1 1 100%;
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
  }
  body.msm-legacy-modern .msm-products-page .msm-stock-report-table-toolbar .msm-sales-table-search-slot {
    flex: 1 1 260px;
    max-width: 100%;
    min-width: 0;
    width: auto;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .select2-container--default .select2-selection--multiple {
    max-height: 96px !important;
    overflow-y: auto !important;
    border-radius: 10px !important;
    padding: 4px 6px !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-table-toolbar .msm-sales-table-title {
    display: none !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-table-toolbar .msm-sales-table-toolbar-right {
    display: none !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-toolbar,
  body.msm-legacy-modern .msm-products-page .msm-products-excel-btn,
  body.msm-legacy-modern .msm-products-page .msm-products-add-btn {
    display: none !important;
  }
  body.msm-legacy-modern .msm-products-page #product_table_actions {
    display: none !important;
  }
  body.msm-legacy-modern .msm-products-page .dataTables_scrollFoot,
  body.msm-legacy-modern .msm-products-page .dataTables_scrollFootInner,
  body.msm-legacy-modern .msm-products-page .dataTables_scrollFoot table,
  body.msm-legacy-modern .msm-products-page .dataTables_scrollFoot tfoot,
  body.msm-legacy-modern .msm-products-page .dataTables_scrollFoot tr,
  body.msm-legacy-modern .msm-products-page .dataTables_scrollFoot td,
  body.msm-legacy-modern .msm-products-page #product_table tfoot,
  body.msm-legacy-modern .msm-products-page #product_table tfoot tr,
  body.msm-legacy-modern .msm-products-page #product_table tfoot td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: var(--msm-surface, #ffffff) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
    margin: 12px 0 6px !important;
    align-items: stretch !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions > form {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions > form > .btn {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions > .btn {
    width: 100% !important;
    display: inline-flex !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions .btn {
    min-height: 42px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.25 !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04) !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions .btn i {
    font-size: 13px !important;
    flex-shrink: 0 !important;
  }
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions .msm-help-icon,
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions .hover-q,
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions .help-button,
  body.msm-legacy-modern .msm-products-page .msm-products-bulk-actions i.fa-info {
    grid-column: 1/-1 !important;
    justify-self: center !important;
    margin-top: 4px !important;
  }
  body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-sm-3,
  body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-sm-4,
  body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-md-4,
  body.msm-legacy-modern .msm-product-form-page .product_form > .box > .box-body > .row > .col-sm-8 {
    flex-basis: 100%;
    max-width: 100%;
  }
  body.msm-legacy-modern .msm-products-toolbar .btn {
    width: 100%;
  }
  body.msm-legacy-modern .msm-product-form-actions .btn-group,
  body.msm-legacy-modern .msm-product-form-actions .btn-group > .btn {
    display: block;
    width: 100%;
  }
  body.msm-legacy-modern .msm-product-form-actions .btn-group > .btn + .btn {
    margin-top: 8px;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-panel {
    padding: 8px !important;
    overflow-x: hidden !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table {
    min-width: 0 !important;
    width: 100% !important;
    table-layout: auto !important;
    display: block !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody {
    display: block !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:first-child {
    display: none !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td {
    display: block !important;
    width: 100% !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    padding: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td:nth-child(1)::before {
    content: "Default Purchase Price";
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--msm-text, #0f172a);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--msm-border, #e2e8f0);
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td:nth-child(1) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td:nth-child(1) .col-sm-6 {
    width: 100% !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td:nth-child(2)::before {
    content: "Profit Margin (%)";
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--msm-text, #0f172a);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--msm-border, #e2e8f0);
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td:nth-child(2) #profit_percent {
    margin-top: 0 !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td:nth-child(2) br {
    display: none !important;
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td:nth-child(3)::before {
    content: "Default Selling Price";
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--msm-text, #0f172a);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--msm-border, #e2e8f0);
  }
  body.msm-legacy-modern .msm-product-form-page .msm-product-price-table > tbody > tr:not(:first-child) > td:nth-child(4)::before {
    content: "Product Variation Images";
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--msm-text, #0f172a);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--msm-border, #e2e8f0);
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table {
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > thead {
    display: none !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    gap: 10px !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td .form-control {
    min-height: 44px !important;
    font-size: 15px !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td .width-50 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 6px !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td:nth-child(1)::before {
    content: "Variation SKU";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--msm-muted, #64748b);
    margin-bottom: 4px;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td:nth-child(2)::before {
    content: "Variation Value";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--msm-muted, #64748b);
    margin-bottom: 4px;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td:nth-child(3)::before {
    content: "Default Purchase Price";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--msm-muted, #64748b);
    margin-bottom: 4px;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td:nth-child(4)::before {
    content: "Profit Margin (%)";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--msm-muted, #64748b);
    margin-bottom: 4px;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td:nth-child(5)::before {
    content: "Default Selling Price";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--msm-muted, #64748b);
    margin-bottom: 4px;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td:nth-child(6)::before {
    content: "Variation Images";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--msm-muted, #64748b);
    margin-bottom: 4px;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td:last-child {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 6px !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table > tbody > tr > td:last-child .btn {
    min-height: 40px !important;
    min-width: 44px !important;
    padding: 8px 16px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }
}
.msm-product-detail-dialog {
  width: 95vw !important;
  max-width: 1400px !important;
  margin: 20px auto !important;
}
@media (min-width: 1600px) {
  .msm-product-detail-dialog {
    max-width: 1540px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .msm-product-detail-dialog {
    max-width: 1360px !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .msm-product-detail-dialog {
    width: 96vw !important;
    max-width: 1140px !important;
    margin: 16px auto !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .msm-product-detail-dialog {
    width: 96vw !important;
    max-width: 96vw !important;
    margin: 12px auto !important;
  }
}
@media (max-width: 767px) {
  .msm-product-detail-dialog {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    min-height: 100dvh !important;
    z-index: 1050 !important;
  }
}

.msm-product-detail-modal {
  border-radius: 16px !important;
  border: 1px solid var(--msm-border, #e2e8f0) !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18) !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  max-height: calc(96vh - 20px) !important;
}
.msm-product-detail-modal .msm-modal-header-app {
  padding: 16px 24px 14px;
  border-bottom: 1px solid var(--msm-border, #e2e8f0);
  position: relative;
  background: #ffffff;
  flex: 0 0 auto !important;
}
.msm-product-detail-modal .msm-modal-header-app .msm-sheet-drag-handle {
  width: 40px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 999px;
  margin: 0 auto 12px;
}
.msm-product-detail-modal .msm-modal-header-app .msm-modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 14px;
  right: 18px;
  margin: 0;
  opacity: 0.8;
  border: 1px solid #e2e8f0;
  font-size: 20px;
  line-height: 1;
  transition: background 0.15s ease;
}
.msm-product-detail-modal .msm-modal-header-app .msm-modal-close-btn:hover {
  background: #e2e8f0;
  opacity: 1;
}
.msm-product-detail-modal .msm-modal-header-app .msm-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  padding-right: 40px;
  line-height: 1.3;
}
.msm-product-detail-modal .msm-modal-header-app .msm-product-chips-header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.msm-product-detail-modal .msm-modal-header-app .msm-product-chips-header .msm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  line-height: 1.25;
}
.msm-product-detail-modal .msm-modal-header-app .msm-product-chips-header .msm-chip.msm-chip-sku {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}
.msm-product-detail-modal .msm-modal-header-app .msm-product-chips-header .msm-chip.msm-chip-category {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.msm-product-detail-modal .msm-modal-header-app .msm-product-chips-header .msm-chip.msm-chip-brand {
  background: #f8fafc;
  color: #475569;
}
.msm-product-detail-modal .msm-modal-header-app .msm-product-chips-header .msm-chip.msm-chip-type {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
.msm-product-detail-modal .msm-modal-body-app {
  padding: 18px 24px !important;
  background: #f8fafc !important;
  flex: 1 1 auto !important;
  max-height: calc(90vh - 120px) !important;
  overflow-y: auto !important;
}
.msm-product-detail-modal .msm-product-view-layout {
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.msm-product-detail-modal .msm-product-view-layout .msm-product-view-hero {
  flex: 0 0 240px;
  width: 240px;
}
.msm-product-detail-modal .msm-product-view-layout .msm-product-view-info {
  flex: 1 1 auto;
  min-width: 0;
}
.msm-product-detail-modal .msm-product-hero-card {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.msm-product-detail-modal .msm-product-hero-card.has-photo {
  min-height: 160px;
  max-height: 240px;
  padding: 10px;
}
.msm-product-detail-modal .msm-product-hero-card.has-photo .msm-product-hero-img {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.msm-product-detail-modal .msm-product-hero-card.is-empty {
  min-height: 90px;
  padding: 14px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
}
.msm-product-detail-modal .msm-product-hero-card.is-empty .msm-empty-photo-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 600;
}
.msm-product-detail-modal .msm-product-hero-card.is-empty .msm-empty-photo-shell i {
  font-size: 20px;
  color: #cbd5e1;
}
.msm-product-detail-modal .msm-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.msm-product-detail-modal .msm-spec-grid .msm-spec-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.msm-product-detail-modal .msm-spec-grid .msm-spec-item--wide {
  grid-column: 1/-1;
}
.msm-product-detail-modal .msm-spec-grid .msm-spec-item .msm-spec-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.msm-product-detail-modal .msm-spec-grid .msm-spec-item .msm-spec-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}
.msm-product-detail-modal .msm-spec-grid .msm-spec-item .msm-badge-yes {
  color: #047857;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.msm-product-detail-modal .msm-spec-grid .msm-spec-item .msm-badge-no {
  color: #94a3b8;
  font-weight: 600;
}
.msm-product-detail-modal .msm-product-desc-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.msm-product-detail-modal .msm-product-desc-box .msm-desc-heading {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.msm-product-detail-modal .msm-product-desc-box .msm-desc-content {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}
.msm-product-detail-modal .msm-view-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}
.msm-product-detail-modal .msm-view-section-card > br {
  display: none;
}
.msm-product-detail-modal .msm-view-section-card .msm-section-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.msm-product-detail-modal .msm-view-section-card .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.msm-product-detail-modal .msm-view-section-card .col-md-12, .msm-product-detail-modal .msm-view-section-card .col-sm-12, .msm-product-detail-modal .msm-view-section-card .col-xs-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.msm-product-detail-modal .msm-view-section-card .table-responsive {
  margin-bottom: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background: #ffffff !important;
  width: 100% !important;
}
.msm-product-detail-modal .msm-view-section-card table.table {
  margin-bottom: 0 !important;
  background: #ffffff !important;
  border-collapse: collapse !important;
  width: 100% !important;
  table-layout: auto !important;
}
.msm-product-detail-modal .msm-view-section-card table.table tr.bg-green,
.msm-product-detail-modal .msm-view-section-card table.table thead tr.bg-green,
.msm-product-detail-modal .msm-view-section-card table.table thead tr.bg-gray,
.msm-product-detail-modal .msm-view-section-card table.table tr.bg-gray {
  background: #f8fafc !important;
}
.msm-product-detail-modal .msm-view-section-card table.table tr.bg-green th,
.msm-product-detail-modal .msm-view-section-card table.table thead tr.bg-green th,
.msm-product-detail-modal .msm-view-section-card table.table thead tr.bg-gray th,
.msm-product-detail-modal .msm-view-section-card table.table tr.bg-gray th {
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  border-top: none !important;
  border-bottom: 2px solid #e2e8f0 !important;
  padding: 10px 12px !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  vertical-align: middle !important;
  min-width: 95px;
}
.msm-product-detail-modal .msm-view-section-card table.table tbody tr {
  background: #ffffff !important;
}
.msm-product-detail-modal .msm-view-section-card table.table tbody tr:nth-child(even) {
  background: #f8fafc !important;
}
.msm-product-detail-modal .msm-view-section-card table.table tbody tr:hover {
  background: #f1f5f9 !important;
}
.msm-product-detail-modal .msm-view-section-card table.table tbody tr td {
  padding: 10px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border-top: 1px solid #f1f5f9 !important;
  white-space: normal !important;
  vertical-align: middle !important;
}
.msm-product-detail-modal .msm-view-section-card table.table tbody tr td .display_currency {
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}
.msm-product-detail-modal .msm-modal-footer-app {
  padding: 14px 24px;
  background: #ffffff;
  border-top: 1px solid var(--msm-border, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto !important;
}
.msm-product-detail-modal .msm-modal-footer-app .msm-modal-edit-action {
  min-height: 40px;
  border-radius: 8px;
  font-weight: 700;
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.msm-product-detail-modal .msm-modal-footer-app .msm-modal-print-action,
.msm-product-detail-modal .msm-modal-footer-app .msm-modal-close-action {
  min-height: 40px;
  border-radius: 8px;
  padding: 8px 18px;
}

@media (max-width: 767px) {
  .msm-product-detail-dialog {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    min-height: 100dvh !important;
    z-index: 1050 !important;
  }
  .msm-product-detail-modal {
    border-radius: 0 !important;
    height: 100% !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .msm-product-detail-modal .msm-modal-header-app {
    padding: 12px 16px !important;
    flex: 0 0 auto !important;
  }
  .msm-product-detail-modal .msm-modal-header-app .msm-sheet-drag-handle {
    display: none !important;
  }
  .msm-product-detail-modal .msm-modal-header-app .msm-modal-title {
    font-size: 17px !important;
  }
  .msm-product-detail-modal .msm-modal-body-app {
    flex: 1 1 auto !important;
    max-height: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 12px 14px !important;
  }
  .msm-product-detail-modal .msm-product-view-layout {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .msm-product-detail-modal .msm-product-view-layout .msm-product-view-hero,
  .msm-product-detail-modal .msm-product-view-layout .msm-product-view-info {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  .msm-product-detail-modal .msm-product-hero-card.has-photo {
    max-height: 200px !important;
  }
  .msm-product-detail-modal .msm-product-hero-card.has-photo .msm-product-hero-img {
    max-height: 180px !important;
  }
  .msm-product-detail-modal .msm-product-hero-card.is-empty {
    display: none !important;
  }
  .msm-product-detail-modal .msm-spec-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
  .msm-product-detail-modal .msm-spec-grid .msm-spec-item {
    padding: 6px 10px !important;
  }
  .msm-product-detail-modal .msm-spec-grid .msm-spec-item .msm-spec-val {
    font-size: 12px !important;
  }
  .msm-product-detail-modal .msm-view-section-card {
    padding: 10px 12px !important;
    margin-top: 10px !important;
    border-radius: 10px !important;
  }
  .msm-product-detail-modal .msm-view-section-card .msm-section-card-title {
    font-size: 12.5px !important;
    margin-bottom: 8px !important;
  }
  .msm-product-detail-modal .msm-view-section-card .table-responsive {
    border-radius: 8px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .msm-product-detail-modal .msm-view-section-card table.table th {
    font-size: 10px !important;
    padding: 8px 10px !important;
    min-width: 80px;
  }
  .msm-product-detail-modal .msm-view-section-card table.table td {
    font-size: 11.5px !important;
    padding: 8px 10px !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer,
  .msm-product-detail-modal .msm-modal-footer-app {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    flex: 0 0 auto !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-edit-action,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-edit-action,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-edit-action {
    width: 100% !important;
    min-height: 44px !important;
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    order: 1 !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-edit-action:hover, body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-edit-action:focus, body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-edit-action:active,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-edit-action:hover,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-edit-action:focus,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-edit-action:active,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-edit-action:hover,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-edit-action:focus,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-edit-action:active {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 8px !important;
    order: 2 !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-print-action,
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-close-action,
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .btn,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-print-action,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-close-action,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .btn,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .msm-modal-print-action,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .msm-modal-close-action,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .btn {
    flex: 1 1 50% !important;
    width: 50% !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-print-action,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-print-action,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .msm-modal-print-action {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-print-action:hover, body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-print-action:focus,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-print-action:hover,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-print-action:focus,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .msm-modal-print-action:hover,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .msm-modal-print-action:focus {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-close-action,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-close-action,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .msm-modal-close-action {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #64748b !important;
  }
  body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-close-action:hover, body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-close-action:focus,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-close-action:hover,
  .msm-product-detail-modal body.msm-legacy-modern .msm-product-detail-modal .modal-footer .msm-modal-footer-secondary-row .msm-modal-close-action:focus,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .msm-modal-close-action:hover,
  .msm-product-detail-modal .msm-modal-footer-app .msm-modal-footer-secondary-row .msm-modal-close-action:focus {
    background: #f8fafc !important;
    color: #0f172a !important;
  }
}
@media (min-width: 768px) and (max-width: 1366px) {
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table {
    min-width: 760px !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table th, body.msm-legacy-modern .msm-product-form-page table.variation_value_table td {
    min-width: 110px !important;
  }
  body.msm-legacy-modern .msm-product-form-page table.variation_value_table th input.form-control, body.msm-legacy-modern .msm-product-form-page table.variation_value_table td input.form-control {
    min-width: 90px !important;
  }
}
body.msm-legacy-modern .content-wrapper .msm-contacts-header {
  background: transparent;
  padding: 18px 20px 8px;
}

body.msm-legacy-modern .content-wrapper .msm-contacts-header > h1 {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--msm-text);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

body.msm-legacy-modern .content-wrapper .msm-contacts-header > h1 small {
  color: var(--msm-muted);
  font-size: 13px;
  font-weight: 600;
}

body.msm-legacy-modern .msm-contacts-page {
  display: grid;
  gap: 16px;
  padding: 12px 20px 24px;
}

body.msm-legacy-modern .msm-contacts-page .box {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-top: 1px solid var(--msm-border) !important;
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  margin-bottom: 0;
  overflow: hidden;
}

body.msm-legacy-modern .msm-contact-import-page {
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow-x: hidden;
  padding: 12px 20px 24px;
}

body.msm-legacy-modern .msm-contact-import-page > .row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-import-page > .row > [class*=col-] {
  float: none;
  max-width: 100%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-import-page .box {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-top: 1px solid var(--msm-border) !important;
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  margin-bottom: 0;
  overflow: hidden;
}

body.msm-legacy-modern .msm-contact-import-page .box-header {
  background: var(--msm-surface);
  border-bottom: 1px solid var(--msm-border);
  border-radius: 10px 10px 0 0;
  padding: 14px 16px;
}

body.msm-legacy-modern .msm-contact-import-page .box-body {
  background: var(--msm-surface);
  border-radius: 0 0 10px 10px;
  padding: 16px;
}

body.msm-legacy-modern .msm-contact-import-upload-row {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
}

body.msm-legacy-modern .msm-contact-import-page input[type=file] {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 8px;
  color: var(--msm-text-soft);
  display: block;
  min-height: 36px;
  padding: 7px 10px;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-import-page .form-group {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-contact-import-page .form-group label {
  color: var(--msm-text-soft);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 6px;
}

body.msm-legacy-modern .msm-contact-import-template {
  border-top: 1px solid var(--msm-border);
  margin-top: 16px;
  padding-top: 14px;
}

body.msm-legacy-modern .msm-contact-import-instructions-table {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-contacts-page #accordion.box {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

body.msm-legacy-modern .msm-contacts-page .box-header {
  background: var(--msm-surface);
  border-bottom: 1px solid var(--msm-border);
  padding: 14px 16px;
}

body.msm-legacy-modern .msm-contacts-page #accordion > .box-header {
  background: var(--msm-primary-soft);
  border-bottom-color: #dbe7ff;
}

body.msm-legacy-modern .msm-contacts-page #accordion > .box-header .box-title a {
  align-items: center;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  text-decoration: none;
}

body.msm-legacy-modern .msm-contacts-page .box-title {
  color: var(--msm-text);
  font-weight: 800;
}

body.msm-legacy-modern .msm-contacts-page .box-body {
  background: var(--msm-surface);
  padding: 16px;
}

body.msm-legacy-modern .msm-customer-groups-page .msm-contact-admin-card {
  padding: 14px;
}

body.msm-legacy-modern .msm-customer-groups-page .msm-sales-table-toolbar {
  margin-bottom: 12px;
}

body.msm-legacy-modern .msm-customer-groups-page .msm-contact-admin-table {
  border: 1px solid var(--msm-border);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

body.msm-legacy-modern .msm-customer-groups-page .dataTables_wrapper {
  overflow: visible;
}

body.msm-legacy-modern .msm-contacts-page .form-group {
  margin-bottom: 14px;
}

body.msm-legacy-modern .msm-contacts-page .form-group label {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

body.msm-legacy-modern .msm-contacts-page .box-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

body.msm-legacy-modern .msm-contacts-page .box-tools .btn {
  align-items: center;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0;
  min-height: 38px;
  padding-left: 14px;
  padding-right: 14px;
  width: auto;
}

body.msm-legacy-modern .msm-contacts-page .fixedHeader-floating,
body.msm-legacy-modern .msm-contacts-page .fixedHeader-locked {
  display: none !important;
}

body.msm-legacy-modern .msm-contacts-page #accordion .box-body {
  padding: 14px 16px 8px;
}

body.msm-legacy-modern .msm-contacts-page #accordion .row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

body.msm-legacy-modern .msm-contacts-page #accordion label {
  align-items: center;
  background: #f8fbff;
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  color: var(--msm-text-soft);
  display: flex;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
}

body.msm-legacy-modern .msm-contacts-page #accordion .input-group-addon {
  background: var(--msm-primary-soft);
  border-color: #dbe7ff;
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-contacts-page #accordion .select2-container--default .select2-selection--single,
body.msm-legacy-modern .msm-contacts-page #accordion .form-control {
  border-color: var(--msm-border-strong);
  border-radius: 8px;
  box-shadow: none;
  min-height: 38px;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper {
  max-width: 100%;
  padding-top: 4px;
}

body.msm-legacy-modern .msm-contact-view-page {
  display: grid;
  gap: 18px;
  padding: 18px 20px 24px;
}

body.msm-legacy-modern .msm-contact-view-page > .row {
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern .msm-contact-view-page > .row > [class*=col-] {
  padding-left: 0;
  padding-right: 0;
}

body.msm-legacy-modern .msm-contact-view-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

body.msm-legacy-modern .msm-contact-view-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 260px;
}

body.msm-legacy-modern .msm-contact-view-heading > div {
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-view-heading p {
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 4px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-view-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--msm-primary), #7c3aed);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

body.msm-legacy-modern .msm-contact-view-title {
  color: var(--msm-text);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

body.msm-legacy-modern .msm-contact-view-selector {
  margin-left: auto;
  max-width: 520px;
  width: min(520px, 100%);
}

body.msm-legacy-modern .msm-contact-view-selector .select2-container {
  width: 100% !important;
}

body.msm-legacy-modern .msm-contact-view-info-row,
body.msm-legacy-modern .msm-contact-view-tabs-row {
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-info-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
  border: 1px solid var(--msm-border) !important;
  border-radius: 14px;
  box-shadow: var(--msm-shadow-card);
  margin: 0;
  overflow: hidden;
}

body.msm-legacy-modern .msm-contact-info-card > .box-body {
  padding: 22px 24px;
}

body.msm-legacy-modern .msm-contact-info-grid > .col-md-12 {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body.msm-legacy-modern .msm-contact-info-column {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 213, 225, 0.72);
  border-radius: 12px;
  float: none;
  min-height: 100%;
  padding: 16px;
  width: auto;
}

body.msm-legacy-modern .msm-contact-info-column hr {
  border-color: var(--msm-border);
  margin: 14px 0;
}

body.msm-legacy-modern .msm-contact-info-column.mt-56 {
  margin-top: 0 !important;
}

body.msm-legacy-modern .msm-contact-info-column .profile-username {
  align-items: center;
  color: var(--msm-text);
  display: flex;
  flex-wrap: wrap;
  font-size: 20px;
  font-weight: 900;
  gap: 8px;
  line-height: 1.2;
  margin: 0 0 18px;
}

body.msm-legacy-modern .msm-contact-info-column .profile-username small {
  background: var(--msm-primary-soft);
  border: 1px solid #bfd5ff;
  border-radius: 999px;
  color: var(--msm-primary);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
}

body.msm-legacy-modern .msm-contact-info-column strong {
  align-items: center;
  color: var(--msm-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  letter-spacing: 0;
  margin-bottom: 4px;
}

body.msm-legacy-modern .msm-contact-info-column strong i {
  color: var(--msm-primary);
  min-width: 14px;
}

body.msm-legacy-modern .msm-contact-info-column .text-muted {
  color: var(--msm-muted) !important;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 13px;
}

body.msm-legacy-modern .msm-contact-info-actions {
  align-self: flex-end;
  display: flex;
  gap: 8px;
  grid-column: -2/-1;
  justify-content: flex-end;
  min-width: 0;
  padding: 0;
}

body.msm-legacy-modern .msm-contact-info-actions--due {
  grid-column: -2/-1;
  margin-bottom: -6px;
}

body.msm-legacy-modern .msm-contact-info-actions--due:empty {
  display: none;
}

body.msm-legacy-modern .msm-contact-info-actions .btn {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  height: 34px;
  justify-content: center;
  line-height: 1;
  min-width: 138px;
  padding: 0 13px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs {
  border-radius: 14px;
  margin: 0;
}

body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav {
  gap: 8px;
  min-height: 50px;
  overflow-x: auto;
  padding: 8px 12px 0;
}

body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav > li {
  flex: 0 0 auto;
}

body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav > li > a {
  align-items: center;
  border-radius: 9px 9px 0 0 !important;
  display: inline-flex;
  gap: 7px;
  min-height: 40px;
  padding-left: 13px;
  padding-right: 13px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs > .tab-content {
  padding: 18px;
}

body.msm-legacy-modern .msm-contact-tab-pane {
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-tab-pane > .row {
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern .msm-contact-tab-pane > .row > [class*=col-],
body.msm-legacy-modern .msm-contact-stock-filter > [class*=col-],
body.msm-legacy-modern .msm-contact-reward-grid > [class*=col-] {
  padding-left: 0;
  padding-right: 0;
}

body.msm-legacy-modern .msm-contact-tab-filter-row {
  background: var(--msm-surface-soft);
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  margin-bottom: 14px;
  padding: 14px;
}

body.msm-legacy-modern .msm-contact-tab-filter-row .box,
body.msm-legacy-modern .msm-contact-tab-filter-row .box-body {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

body.msm-legacy-modern .msm-contact-tab-filter-row .form-group,
body.msm-legacy-modern .msm-contact-stock-filter .form-group {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-contact-sales-filter-row {
  box-shadow: none;
  margin-bottom: 10px;
  padding: 9px 10px;
}

body.msm-legacy-modern .msm-contact-sales-toolbar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  min-height: 40px;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-sales-filter-tools,
body.msm-legacy-modern .msm-contact-sales-table-tools {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-sales-filter-tools {
  flex: 1 1 auto;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot {
  align-items: flex-end;
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-sales-table-tools {
  flex: 0 1 auto;
  justify-content: flex-end;
  margin-left: auto;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 100%;
  padding: 0 !important;
  width: auto;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .box-body {
  align-items: flex-end;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 !important;
  padding: 0 !important;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field {
  flex: 0 0 230px;
  float: none;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field-date {
  flex-basis: 300px;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field-check {
  flex: 0 0 auto;
}

body.msm-legacy-modern .msm-contact-sales-subscription-slot .msm-sales-filter-field-check {
  flex: 0 0 auto;
  float: none;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot label,
body.msm-legacy-modern .msm-contact-sales-filter-tools label,
body.msm-legacy-modern .msm-contact-sales-table-tools label {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 5px;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .form-control,
body.msm-legacy-modern .msm-contact-sales-filter-tools .dataTables_length select,
body.msm-legacy-modern .msm-contact-sales-table-tools .form-control,
body.msm-legacy-modern .msm-contact-sales-table-tools .dataTables_filter input,
body.msm-legacy-modern .msm-contact-sales-table-tools .dataTables_length select {
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: 7px;
  box-shadow: none;
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 700;
  height: 35px;
  min-height: 35px;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single,
body.msm-legacy-modern .msm-contact-sales-filter-slot .select2-selection.select2-selection--single {
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: 7px;
  height: 35px;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 33px;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 33px;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field-check .checkbox {
  margin: 0;
}

body.msm-legacy-modern .msm-contact-sales-subscription-slot .msm-sales-filter-field-check .form-group,
body.msm-legacy-modern .msm-contact-sales-subscription-slot .msm-sales-filter-field-check .checkbox {
  margin: 0;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field-check br,
body.msm-legacy-modern .msm-contact-sales-subscription-slot .msm-sales-filter-field-check br {
  display: none;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field-check label,
body.msm-legacy-modern .msm-contact-sales-subscription-slot .msm-sales-filter-field-check label {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: 8px;
  color: var(--msm-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  height: 35px;
  margin: 0;
  min-width: 136px;
  padding: 7px 12px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field-check .icheckbox_square-blue,
body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field-check input[type=checkbox],
body.msm-legacy-modern .msm-contact-sales-subscription-slot .msm-sales-filter-field-check .icheckbox_square-blue,
body.msm-legacy-modern .msm-contact-sales-subscription-slot .msm-sales-filter-field-check input[type=checkbox] {
  margin-right: 4px;
}

body.msm-legacy-modern .msm-contact-sales-length-slot,
body.msm-legacy-modern .msm-contact-sales-buttons-slot,
body.msm-legacy-modern .msm-contact-sales-search-slot,
body.msm-legacy-modern .msm-contact-sales-subscription-slot {
  align-items: center;
  display: inline-flex;
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .dataTables_length,
body.msm-legacy-modern .msm-contact-sales-search-slot .dataTables_filter {
  margin: 0;
}

body.msm-legacy-modern .msm-contact-sales-length-slot label,
body.msm-legacy-modern .msm-contact-sales-search-slot label {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  margin: 0;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-sales-length-slot select {
  min-width: 74px;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-native-label {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-custom {
  display: inline-flex;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-button {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: 7px;
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.06);
  color: var(--msm-text);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  min-height: 33px;
  min-width: 86px;
  padding: 7px 10px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-button:hover,
body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-button:focus {
  background: #f8fbff;
  border-color: #bcd0ff;
  outline: 0;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-button i {
  color: var(--msm-muted);
  font-size: 10px;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  box-shadow: var(--msm-shadow-float);
  margin-top: 8px;
  min-width: 126px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 5px;
  z-index: 1070;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu > li {
  margin: 0;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu-item {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--msm-text-soft);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 32px;
  padding: 7px 9px;
  text-align: left;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu-item:hover,
body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu-item:focus,
body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu-item.is-selected {
  background: var(--msm-primary-soft);
  color: var(--msm-primary);
  outline: 0;
}

body.msm-legacy-modern .msm-contact-sales-search-slot .msm-sales-search-control,
body.msm-legacy-modern .msm-contact-sales-search-slot .msm-sales-search-control label,
body.msm-legacy-modern .msm-contact-sales-search-slot .msm-sales-search-wrap {
  width: 100%;
}

body.msm-legacy-modern .msm-contact-sales-search-slot .msm-sales-search-wrap {
  align-items: center;
  display: flex;
  position: relative;
}

body.msm-legacy-modern .msm-contact-sales-search-slot .msm-sales-search-wrap i {
  color: var(--msm-muted);
  font-size: 12px;
  left: 12px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

body.msm-legacy-modern .msm-contact-sales-search-slot input {
  min-width: 170px;
  padding-left: 32px;
  width: 180px;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot {
  gap: 8px;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .btn-group {
  align-items: center;
  display: inline-flex;
  margin: 0;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .btn + .btn,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .btn-group + .btn,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .btn + .btn-group,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .btn-group + .btn-group {
  margin-left: 0;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-buttons,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-buttons.btn-group {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-buttons .btn,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-button,
body.msm-legacy-modern .msm-contact-sales-buttons-slot button.dt-button,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-table-btn {
  align-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid rgba(29, 78, 216, 0.24) !important;
  border-radius: 7px !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  height: 35px !important;
  min-height: 33px;
  justify-content: center;
  line-height: 1.1;
  margin: 0 !important;
  padding: 0 12px !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-print-btn {
  font-size: 10.5px !important;
  gap: 5px !important;
  height: 32px !important;
  line-height: 1.18 !important;
  max-height: 32px !important;
  min-height: 32px !important;
  padding: 6px 10px !important;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-buttons .btn:hover,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-buttons .btn:focus,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-button:hover,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-button:focus,
body.msm-legacy-modern .msm-contact-sales-buttons-slot button.dt-button:hover,
body.msm-legacy-modern .msm-contact-sales-buttons-slot button.dt-button:focus,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-table-btn:hover,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-table-btn:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: rgba(30, 64, 175, 0.36) !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24) !important;
  color: #ffffff !important;
  outline: 0;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-table-btn i,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-button i {
  color: inherit;
  font-size: 12px;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-table-btn .caret {
  border-top-color: rgba(255, 255, 255, 0.92);
  margin-left: 2px;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-dropdown,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-columns-dropdown {
  display: inline-flex;
  position: relative;
  vertical-align: top;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-dropdown > .dropdown-menu,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-columns-dropdown > .dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
  left: 0;
  margin-top: 8px;
  min-width: 190px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  right: auto;
  z-index: 2050;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-columns-dropdown .dropdown-menu {
  left: auto;
  min-width: 260px;
  right: 0;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-dropdown > .dropdown-menu:not(.msm-modern-dropdown-fixed) {
  left: 0;
  right: auto;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-columns-dropdown > .dropdown-menu:not(.msm-modern-dropdown-fixed) {
  left: auto;
  right: 0;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-menu-item,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: #334155 !important;
  display: flex !important;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  line-height: 1.2;
  min-height: 36px;
  padding: 9px 10px !important;
  text-align: left;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
  white-space: normal;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-menu-item:hover,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-menu-item:focus,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item:hover,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item:focus-within {
  background: var(--msm-primary-soft) !important;
  color: var(--msm-primary) !important;
  outline: 0;
  transform: translateX(2px);
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header {
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-text);
  margin-bottom: 5px !important;
  padding: 8px 9px 9px;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header strong,
body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header span {
  display: block;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header strong {
  font-size: 12px;
  font-weight: 900;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header span {
  color: var(--msm-muted);
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-native-checkbox {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-dot {
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px #ffffff;
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item.is-selected .msm-sales-colvis-dot {
  background: var(--msm-primary);
  border-color: var(--msm-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body.msm-legacy-modern .msm-contact-sales-controls-moved > .row:first-child {
  display: none !important;
}

body.msm-legacy-modern .msm-contact-sales-table-row {
  margin-top: 0;
}

body.msm-legacy-modern .msm-contact-purchase-filter-row {
  box-shadow: none;
  margin-bottom: 10px;
  padding: 9px 10px;
}

body.msm-legacy-modern .msm-contact-purchase-toolbar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  min-height: 40px;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-purchase-filter-tools,
body.msm-legacy-modern .msm-contact-purchase-table-tools {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-purchase-filter-tools {
  flex: 1 1 auto;
}

body.msm-legacy-modern .msm-contact-purchase-table-tools {
  flex: 0 1 auto;
  justify-content: flex-end;
  margin-left: auto;
}

body.msm-legacy-modern .msm-contact-purchase-date-field {
  flex: 0 0 300px;
  max-width: 100%;
}

body.msm-legacy-modern .msm-contact-purchase-date-field label,
body.msm-legacy-modern .msm-contact-purchase-filter-tools label,
body.msm-legacy-modern .msm-contact-purchase-table-tools label {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 5px;
}

body.msm-legacy-modern .msm-contact-purchase-date-field .form-control,
body.msm-legacy-modern .msm-contact-purchase-filter-tools .dataTables_length select,
body.msm-legacy-modern .msm-contact-purchase-table-tools .form-control,
body.msm-legacy-modern .msm-contact-purchase-table-tools .dataTables_filter input {
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: 7px;
  box-shadow: none;
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 700;
  height: 35px;
  min-height: 35px;
}

body.msm-legacy-modern .msm-contact-purchase-table-row {
  margin-top: 0;
}

body.msm-legacy-modern .msm-contact-purchase-controls-moved > .row:first-child {
  display: none !important;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-native-buttons-empty,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper > .dt-buttons {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper {
  overflow: visible;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .dataTables_scroll {
  clear: both;
  position: relative;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .dataTables_processing {
  display: none !important;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-overlay {
  align-items: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.76) 0%, rgba(255, 255, 255, 0.88) 100%);
  backdrop-filter: blur(1px);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: absolute;
  transform: translateY(3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 8;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-overlay.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(185, 208, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  color: #1e3a8a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 10px;
  line-height: 1;
  min-height: 42px;
  pointer-events: auto;
  padding: 11px 15px;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-spinner {
  animation: msm-sales-processing-spin 0.8s linear infinite;
  border: 2px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .payment-status-label,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-link,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .update_status {
  display: inline-flex;
  text-decoration: none;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .status-label,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .payment-status-label > .label {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  gap: 6px;
  line-height: 1;
  min-height: 24px;
  padding: 5px 9px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .status-label::before {
  background: currentColor;
  border-radius: 999px;
  content: "";
  flex: 0 0 6px;
  height: 6px;
  opacity: 0.75;
  width: 6px;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status::before,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .payment-status-label > .label::before {
  content: none;
  display: none;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status .msm-status-icon {
  align-items: center;
  background: currentColor;
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  flex: 0 0 15px;
  height: 15px;
  justify-content: center;
  line-height: 1;
  width: 15px;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status .msm-status-icon i {
  color: #ffffff;
  font-size: 8px;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .label-success,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-paid {
  background: rgba(22, 163, 74, 0.09) !important;
  border-color: rgba(22, 163, 74, 0.22) !important;
  color: #047857 !important;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .label-warning,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-due,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-overdue {
  background: rgba(249, 115, 22, 0.09) !important;
  border-color: rgba(249, 115, 22, 0.24) !important;
  color: #c2410c !important;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .label-info,
body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-partial {
  background: rgba(37, 99, 235, 0.09) !important;
  border-color: rgba(37, 99, 235, 0.22) !important;
  color: #1d4ed8 !important;
}

body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .label-danger {
  background: rgba(244, 63, 94, 0.09) !important;
  border-color: rgba(244, 63, 94, 0.24) !important;
  color: #be123c !important;
}

@media (max-width: 991px) {
  body.msm-legacy-modern .msm-contact-purchase-toolbar,
  body.msm-legacy-modern .msm-contact-purchase-filter-tools,
  body.msm-legacy-modern .msm-contact-purchase-table-tools {
    align-items: stretch;
  }
  body.msm-legacy-modern .msm-contact-purchase-filter-tools,
  body.msm-legacy-modern .msm-contact-purchase-table-tools,
  body.msm-legacy-modern .msm-contact-purchase-date-field,
  body.msm-legacy-modern .msm-contact-purchase-length-slot,
  body.msm-legacy-modern .msm-contact-purchase-search-slot {
    width: 100%;
  }
  body.msm-legacy-modern .msm-contact-purchase-date-field {
    flex-basis: 100%;
  }
  body.msm-legacy-modern .msm-contact-purchase-search-slot input {
    min-width: 0;
    width: 100%;
  }
}
body.msm-legacy-modern .msm-contact-documents-panel {
  box-sizing: border-box;
  padding: 10px 16px 14px;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-documents-toolbar {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: space-between;
  margin: 0 0 10px;
  min-height: 0;
  padding: 0 0 10px;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-documents-toolbar-left,
body.msm-legacy-modern .msm-contact-documents-toolbar-right {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-documents-toolbar-left {
  flex: 0 0 auto;
}

body.msm-legacy-modern .msm-contact-documents-toolbar-right {
  flex: 0 1 auto;
  justify-content: flex-end;
  margin-left: auto;
  max-width: 100%;
}

body.msm-legacy-modern .msm-contact-documents-toolbar .msm-contact-sales-search-slot input {
  min-width: 160px;
  width: 160px;
}

body.msm-legacy-modern .msm-contact-documents-buttons-slot {
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-documents-buttons-slot .btn,
body.msm-legacy-modern .msm-contact-documents-buttons-slot .btn-group > .btn,
body.msm-legacy-modern .msm-contact-documents-buttons-slot .dropdown > .btn,
body.msm-legacy-modern .msm-contact-documents-add-btn {
  align-items: center !important;
  box-sizing: border-box !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  font-size: 11px !important;
  gap: 5px !important;
  height: 32px !important;
  justify-content: center !important;
  line-height: 1.18 !important;
  max-height: 32px !important;
  min-height: 32px !important;
  padding: 6px 10px !important;
  white-space: nowrap !important;
}

body.msm-legacy-modern .msm-contact-documents-buttons-slot .btn i,
body.msm-legacy-modern .msm-contact-documents-buttons-slot .btn .fa {
  font-size: 10.5px !important;
  line-height: 1 !important;
  margin-right: 4px !important;
}

body.msm-legacy-modern .msm-contact-documents-add-btn {
  align-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid rgba(29, 78, 216, 0.24) !important;
  border-radius: 7px !important;
  box-sizing: border-box !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  font-size: 11px !important;
  font-weight: 900;
  gap: 5px !important;
  height: 32px !important;
  justify-content: center;
  line-height: 1.18 !important;
  margin: 0 !important;
  max-height: 32px !important;
  min-height: 32px !important;
  padding: 6px 10px !important;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-documents-add-btn i,
body.msm-legacy-modern .msm-contact-documents-add-btn .fa {
  font-size: 10.5px !important;
  line-height: 1 !important;
  margin-right: 0 !important;
}

body.msm-legacy-modern .msm-contact-documents-add-btn:hover,
body.msm-legacy-modern .msm-contact-documents-add-btn:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: rgba(30, 64, 175, 0.36) !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24) !important;
  color: #ffffff !important;
  outline: 0;
}

body.msm-legacy-modern .msm-contact-documents-buttons-slot .msm-sales-export-dropdown > .msm-sales-table-btn,
body.msm-legacy-modern .msm-contact-documents-buttons-slot .msm-sales-columns-dropdown > .msm-sales-table-btn {
  gap: 7px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

body.msm-legacy-modern .msm-contact-documents-buttons-slot .msm-sales-export-dropdown > .msm-sales-table-btn i,
body.msm-legacy-modern .msm-contact-documents-buttons-slot .msm-sales-columns-dropdown > .msm-sales-table-btn i {
  margin-right: 0 !important;
}

body.msm-legacy-modern .msm-contact-documents-buttons-slot .msm-sales-export-dropdown > .msm-sales-table-btn .caret,
body.msm-legacy-modern .msm-contact-documents-buttons-slot .msm-sales-columns-dropdown > .msm-sales-table-btn .caret {
  margin-left: 0 !important;
}

@media (min-width: 992px) {
  body.msm-legacy-modern .msm-contact-documents-buttons-slot .btn,
  body.msm-legacy-modern .msm-contact-documents-buttons-slot .btn-group > .btn,
  body.msm-legacy-modern .msm-contact-documents-buttons-slot .dropdown > .btn,
  body.msm-legacy-modern .msm-contact-documents-add-btn {
    flex: 0 0 88px !important;
    max-width: 88px !important;
    min-width: 88px !important;
    width: 88px !important;
  }
  body.msm-legacy-modern .msm-contact-documents-buttons-slot .btn-group,
  body.msm-legacy-modern .msm-contact-documents-buttons-slot .dropdown {
    flex: 0 0 88px !important;
    max-width: 88px !important;
    min-width: 88px !important;
    width: 88px !important;
  }
}
body.msm-legacy-modern .msm-contact-documents-table-wrap {
  width: 100%;
}

body.msm-legacy-modern .msm-contact-documents-controls-moved > .row:first-child {
  display: none !important;
}

@media (max-width: 991px) {
  body.msm-legacy-modern .msm-contact-documents-toolbar,
  body.msm-legacy-modern .msm-contact-documents-toolbar-left,
  body.msm-legacy-modern .msm-contact-documents-toolbar-right {
    align-items: stretch;
  }
  body.msm-legacy-modern .msm-contact-documents-toolbar-left,
  body.msm-legacy-modern .msm-contact-documents-toolbar-right,
  body.msm-legacy-modern .msm-contact-documents-length-slot,
  body.msm-legacy-modern .msm-contact-documents-search-slot,
  body.msm-legacy-modern .msm-contact-documents-buttons-slot,
  body.msm-legacy-modern .msm-contact-documents-add-btn {
    width: 100%;
  }
  body.msm-legacy-modern .msm-contact-documents-toolbar .msm-contact-sales-search-slot input {
    min-width: 0;
    width: 100%;
  }
  body.msm-legacy-modern .msm-contact-documents-buttons-slot {
    justify-content: flex-start;
  }
}
body.msm-legacy-modern .msm-contact-stock-filter {
  background: var(--msm-surface-soft);
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 9px 10px;
}

body.msm-legacy-modern .msm-contact-stock-toolbar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  min-height: 40px;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-stock-filter-tools,
body.msm-legacy-modern .msm-contact-stock-table-tools {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-stock-filter-tools {
  flex: 1 1 auto;
}

body.msm-legacy-modern .msm-contact-stock-table-tools {
  flex: 0 1 auto;
  justify-content: flex-end;
  margin-left: auto;
}

body.msm-legacy-modern .msm-contact-stock-location-field {
  flex: 0 0 300px;
  max-width: 100%;
}

body.msm-legacy-modern .msm-contact-stock-location-field label,
body.msm-legacy-modern .msm-contact-stock-filter-tools label,
body.msm-legacy-modern .msm-contact-stock-table-tools label {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 5px;
}

body.msm-legacy-modern .msm-contact-stock-location-field .form-control,
body.msm-legacy-modern .msm-contact-stock-filter-tools .form-control,
body.msm-legacy-modern .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single,
body.msm-legacy-modern .msm-contact-stock-filter-tools .select2-selection.select2-selection--single,
body.msm-legacy-modern .msm-contact-stock-table-tools .form-control,
body.msm-legacy-modern .msm-contact-stock-table-tools .dataTables_filter input {
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: 7px;
  box-shadow: none;
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 700;
  height: 35px;
  min-height: 35px;
}

body.msm-legacy-modern .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 33px;
}

body.msm-legacy-modern .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 33px;
}

body.msm-legacy-modern .msm-contact-stock-table-wrap {
  width: 100%;
}

body.msm-legacy-modern .msm-contact-stock-controls-moved > .row:first-child {
  display: none !important;
}

@media (max-width: 991px) {
  body.msm-legacy-modern .msm-contact-stock-toolbar,
  body.msm-legacy-modern .msm-contact-stock-filter-tools,
  body.msm-legacy-modern .msm-contact-stock-table-tools {
    align-items: stretch;
  }
  body.msm-legacy-modern .msm-contact-stock-filter-tools,
  body.msm-legacy-modern .msm-contact-stock-table-tools,
  body.msm-legacy-modern .msm-contact-stock-location-field,
  body.msm-legacy-modern .msm-contact-stock-length-slot,
  body.msm-legacy-modern .msm-contact-stock-search-slot {
    width: 100%;
  }
  body.msm-legacy-modern .msm-contact-stock-location-field {
    flex-basis: 100%;
  }
  body.msm-legacy-modern .msm-contact-stock-search-slot input {
    min-width: 0;
    width: 100%;
  }
}
body.msm-legacy-modern .msm-contact-payments-panel {
  background: var(--msm-surface-soft);
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  max-height: 520px;
  min-height: 240px;
  overflow: auto;
  padding: 12px;
}

body.msm-legacy-modern .msm-contact-payments-pagination {
  width: 100%;
}

body.msm-legacy-modern .msm-contact-reward-grid {
  display: grid;
  gap: 14px;
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern .msm-contact-reward-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  display: inline-flex;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
}

body.msm-legacy-modern .msm-contact-reward-card__icon {
  align-items: center;
  background: #fef3c7;
  border-radius: 10px;
  color: #b45309;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

body.msm-legacy-modern .msm-contact-reward-card__label,
body.msm-legacy-modern .msm-contact-reward-card__value {
  display: block;
}

body.msm-legacy-modern .msm-contact-reward-card__label {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 900;
}

body.msm-legacy-modern .msm-contact-reward-card__value {
  color: var(--msm-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

body.msm-legacy-modern .msm-contact-ledger-panel {
  min-width: 0;
}

body.msm-legacy-modern .msm-contact-ledger-controls {
  align-items: flex-end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.05fr) minmax(280px, 1.15fr) auto;
  padding-left: 0;
  padding-right: 0;
}

body.msm-legacy-modern .msm-contact-ledger-controls > [class*=col-] {
  float: none;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

body.msm-legacy-modern .msm-contact-ledger-panel .form-group {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-contact-ledger-panel label {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 7px;
}

body.msm-legacy-modern .msm-contact-format-toggle {
  align-items: center;
  background: #eef3ff;
  border: 1px solid #cad8ff;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 2px;
  min-height: 30px;
  overflow: hidden;
  padding: 2px;
}

body.msm-legacy-modern .msm-contact-ledger-controls > [class*=col-]:last-child {
  align-items: flex-end;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

body.msm-legacy-modern .msm-contact-ledger-filter .select2-container,
body.msm-legacy-modern .msm-contact-ledger-filter .form-control {
  max-width: 100%;
  width: 100% !important;
}

body.msm-legacy-modern .msm-contact-format-toggle > .btn {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px !important;
  box-shadow: none;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
  min-height: 26px;
  min-width: 64px;
  padding: 5px 9px;
  position: relative;
  transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

body.msm-legacy-modern .msm-contact-format-toggle > .btn + .btn {
  border-left: 0;
}

body.msm-legacy-modern .msm-contact-format-toggle > .btn:hover,
body.msm-legacy-modern .msm-contact-format-toggle > .btn:focus {
  background: rgba(255, 255, 255, 0.68);
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-contact-format-toggle > .btn.active,
body.msm-legacy-modern .msm-contact-format-toggle > .btn.active:hover,
body.msm-legacy-modern .msm-contact-format-toggle > .btn.active:focus {
  background: linear-gradient(135deg, var(--msm-primary), #6d4aff);
  box-shadow: 0 5px 10px rgba(37, 99, 235, 0.2);
  color: #ffffff;
}

body.msm-legacy-modern .msm-contact-format-toggle > .btn.active::after {
  content: none;
}

body.msm-legacy-modern .msm-contact-ledger-panel #print_ledger_pdf,
body.msm-legacy-modern .msm-contact-ledger-panel #send_ledger {
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  height: 34px;
  min-height: 34px;
  min-width: 34px;
  padding: 0;
}

body.msm-legacy-modern .msm-contact-ledger-inline-action,
body.msm-legacy-modern .msm-contact-payment-action-btn {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  gap: 5px;
  line-height: 1;
  margin: 2px 3px 2px 0;
  min-height: 28px;
  padding: 6px 9px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-ledger-results {
  clear: both;
  float: none;
  padding: 0;
  width: 100%;
}

body.msm-legacy-modern #contact_ledger_div {
  float: none;
  margin-top: 16px;
  min-width: 0;
  overflow-x: auto;
  padding: 0;
  width: 100%;
}

body.msm-legacy-modern #contact_ledger_div > [class*=col-] {
  float: none;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

body.msm-legacy-modern #contact_ledger_div {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.25fr);
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__business,
body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__table {
  grid-column: 1/-1;
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__business {
  align-self: end;
  margin-top: 10px;
  padding-top: 8px;
  text-align: right;
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__business p {
  color: var(--msm-text);
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 6px auto;
  max-width: 520px;
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__business strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}

body.msm-legacy-modern .msm-contact-ledger-state {
  align-items: center;
  background: var(--msm-surface-soft);
  border: 1px dashed var(--msm-border-strong);
  border-radius: 10px;
  color: var(--msm-muted);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  grid-column: 1/-1;
  justify-content: center;
  min-height: 180px;
  padding: 20px;
  text-align: center;
}

body.msm-legacy-modern .msm-contact-ledger-state--error {
  background: var(--msm-danger-soft);
  border-color: rgba(244, 63, 94, 0.32);
  color: var(--msm-danger);
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__recipient,
body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__summary,
body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__statement {
  background: var(--msm-surface-soft);
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  padding: 14px;
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__recipient--statement,
body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__statement {
  margin-top: 0 !important;
}

body.msm-legacy-modern #contact_ledger_div p.blue-heading,
body.msm-legacy-modern #contact_ledger_div h3.blue-heading {
  background: linear-gradient(135deg, var(--msm-primary), #7c3aed);
  border-radius: 7px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
  color: #ffffff !important;
  display: inline-block;
  padding: 6px 10px !important;
}

body.msm-legacy-modern #contact_ledger_div table tr.blue-heading {
  background: linear-gradient(135deg, var(--msm-primary), #7c3aed);
  color: #ffffff !important;
  display: table-row;
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__summary .blue-heading {
  display: block;
  text-align: right;
}

body.msm-legacy-modern .msm-contact-ledger-summary-table,
body.msm-legacy-modern .msm-contact-ledger-address-table,
body.msm-legacy-modern .msm-contact-aging-table {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-contact-ledger-statement-title {
  margin: 0 auto;
  max-width: 360px;
  width: 100%;
}

body.msm-legacy-modern .msm-contact-ledger-statement-title th,
body.msm-legacy-modern .msm-contact-ledger-statement-title td {
  border: 0;
  padding: 4px 6px;
}

body.msm-legacy-modern .msm-contact-ledger-line-details {
  background: var(--msm-surface-soft) !important;
  padding: 0 14px 12px !important;
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-product-row > td {
  background: #eef2f7 !important;
  border-bottom: 1px solid rgba(71, 85, 105, 0.12);
  border-top: 1px solid rgba(71, 85, 105, 0.12);
  color: var(--msm-text);
  vertical-align: middle;
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-payment-row > td {
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  border-bottom: 1px solid rgba(34, 197, 94, 0.14);
  border-top: 1px solid rgba(34, 197, 94, 0.14);
  color: #14532d;
  vertical-align: middle;
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-payment-row > td:first-child {
  border-left: 4px solid #22c55e;
}

body.msm-legacy-modern .msm-contact-ledger-entry-chip,
body.msm-legacy-modern .msm-contact-ledger-method-chip,
body.msm-legacy-modern .msm-contact-ledger-payment-note small {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  gap: 5px;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-contact-ledger-entry-chip--payment {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.26);
  color: #047857;
  padding: 5px 8px;
}

body.msm-legacy-modern .msm-contact-ledger-method-chip {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--msm-primary);
  padding: 4px 8px;
}

body.msm-legacy-modern .msm-contact-ledger-payment-note small {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.18);
  color: #047857;
  margin: 2px 3px 2px 0;
  padding: 4px 7px;
}

body.msm-legacy-modern .msm-contact-payment-child-cell {
  background: var(--msm-surface-soft) !important;
  color: var(--msm-text);
}

body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-nested-table {
  background: var(--msm-surface) !important;
  border: 1px solid var(--msm-border);
  border-radius: 8px;
  color: var(--msm-text);
  overflow: hidden;
}

body.msm-legacy-modern #contact_ledger_div table {
  max-width: 100%;
  width: 100% !important;
}

body.msm-legacy-modern #contact_ledger_div p.text-center {
  color: var(--msm-text);
  margin: 14px 0;
}

body.msm-legacy-modern #contact_ledger_div table thead th,
body.msm-legacy-modern #contact_ledger_div .bg-info,
body.msm-legacy-modern #contact_ledger_div [style*=background] {
  border-color: var(--msm-border);
}

@media (max-width: 991px) {
  body.msm-legacy-modern .msm-contact-info-grid > .col-md-12,
  body.msm-legacy-modern .msm-contact-ledger-controls,
  body.msm-legacy-modern #contact_ledger_div {
    grid-template-columns: 1fr;
  }
  body.msm-legacy-modern .msm-contact-info-actions {
    justify-content: flex-start;
  }
  body.msm-legacy-modern .msm-contact-ledger-controls > [class*=col-]:last-child {
    justify-content: flex-start;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-contact-view-page {
    padding: 14px 12px 18px;
  }
  body.msm-legacy-modern .msm-contact-info-card > .box-body,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs > .tab-content {
    padding: 14px;
  }
}
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .row:first-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-bottom: 14px;
  min-height: 42px;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .row:first-child > [class*=col-] {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .row:first-child > [class*=col-]:last-child {
  justify-content: flex-end;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_filter {
  margin-left: auto;
  text-align: right;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_filter input,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_length select {
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: var(--msm-radius-sm);
  box-shadow: none;
  min-height: 34px;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_length label,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_filter label {
  align-items: center;
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  margin: 0;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_filter input {
  min-width: 210px;
  padding-left: 12px;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dt-buttons,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dt-buttons.btn-group {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dt-buttons .btn,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dt-button,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper button.dt-button {
  align-items: center;
  background: #ffffff !important;
  border: 1px solid var(--msm-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
  color: var(--msm-text-soft) !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
  margin: 0 !important;
  min-height: 32px;
  padding: 6px 10px !important;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dt-buttons .btn:hover,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dt-button:hover,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper button.dt-button:hover {
  background: var(--msm-primary-soft) !important;
  border-color: #cfe0ff !important;
  color: var(--msm-primary) !important;
}

body.msm-legacy-modern .msm-contacts-page .table-responsive,
body.msm-legacy-modern .msm-contacts-page .dataTables_scroll,
body.msm-legacy-modern .msm-contacts-page .dataTables_scrollBody {
  border-color: var(--msm-border) !important;
  border-radius: 12px;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable > thead > tr > th,
body.msm-legacy-modern .msm-contacts-page table.dataTable > thead > tr > td {
  background: #f7faff;
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 11px;
  padding-top: 11px;
  text-transform: uppercase;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable > thead > tr > th:first-child,
body.msm-legacy-modern .msm-contacts-page table.dataTable > tbody > tr > td:first-child {
  padding-left: 14px;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable > tbody > tr > td {
  border-top-color: #eef2f7;
  color: var(--msm-text-soft);
  padding-bottom: 10px;
  padding-top: 10px;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable > tbody > tr:hover > td {
  background: #fbfdff;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable .btn-info,
body.msm-legacy-modern .msm-contacts-page table.dataTable .btn-default.dropdown-toggle,
body.msm-legacy-modern .msm-contacts-page table.dataTable .dropdown-toggle.btn {
  align-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid rgba(29, 78, 216, 0.2) !important;
  border-radius: 8px !important;
  box-shadow: 0 7px 14px rgba(37, 99, 235, 0.18) !important;
  color: #ffffff !important;
  display: inline-flex;
  font-size: 10.5px;
  font-weight: 900;
  gap: 4px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 26px;
  min-width: 66px;
  padding: 5px 9px !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable .btn-info:hover,
body.msm-legacy-modern .msm-contacts-page table.dataTable .btn-default.dropdown-toggle:hover,
body.msm-legacy-modern .msm-contacts-page table.dataTable .dropdown-toggle.btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: rgba(30, 64, 175, 0.3) !important;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.24) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

body.msm-legacy-modern .msm-contacts-page table.dataTable .btn-info .caret,
body.msm-legacy-modern .msm-contacts-page table.dataTable .btn-default.dropdown-toggle .caret,
body.msm-legacy-modern .msm-contacts-page table.dataTable .dropdown-toggle.btn .caret {
  border-top-color: rgba(255, 255, 255, 0.92);
  margin-left: 1px;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable .dropdown-menu {
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  box-shadow: var(--msm-shadow-float);
  overflow: hidden;
  padding: 6px;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable .dropdown-menu > li > a {
  border-radius: 7px;
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
}

body.msm-legacy-modern .msm-contacts-page table.dataTable .dropdown-menu > li > a:hover,
body.msm-legacy-modern .msm-contacts-page table.dataTable .dropdown-menu > li > a:focus {
  background: var(--msm-primary-soft);
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-contacts-page table.dataTable tfoot tr.footer-total > td {
  background: #f7faff !important;
  border-top: 1px solid var(--msm-border);
  color: var(--msm-text);
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_info {
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 700;
  padding-top: 12px;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate {
  padding-top: 10px;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .pagination {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .paginate_button > a,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .pagination > li > a,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .pagination > li > span {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 8px !important;
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
  min-width: 34px;
  padding: 6px 10px;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .paginate_button.active > a,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .pagination > .active > a,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .pagination > .active > span {
  background: var(--msm-primary);
  border-color: var(--msm-primary);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
  color: #ffffff;
}

body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .pagination > li > a:hover,
body.msm-legacy-modern .msm-contacts-page .dataTables_wrapper .dataTables_paginate .pagination > li > a:focus {
  background: var(--msm-primary-soft);
  border-color: #cfe0ff;
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-contact-modal .modal-content {
  border: 0;
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-lg);
  overflow: hidden;
}

body.msm-legacy-modern .msm-contact-modal .modal-header {
  background: var(--msm-surface-soft);
  border-bottom-color: var(--msm-border);
  padding: 16px 18px;
}

body.msm-legacy-modern .msm-contact-modal .modal-title {
  color: var(--msm-text);
  font-weight: 800;
}

body.msm-legacy-modern .msm-contact-modal .modal-body {
  background: var(--msm-surface);
  max-height: calc(100vh - 210px);
  overflow-y: auto;
  padding: 18px;
}

body.msm-legacy-modern .msm-contact-modal .modal-footer {
  background: var(--msm-surface-soft);
  border-top-color: var(--msm-border);
  padding: 14px 18px;
}

body.msm-legacy-modern .msm-contact-modal .form-group label {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
}

body.msm-legacy-modern .msm-contact-modal .input-group-addon {
  background: var(--msm-primary-soft);
  border-color: #dbe7ff;
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-contact-modal .input-group .form-control,
body.msm-legacy-modern .msm-contact-modal .form-control,
body.msm-legacy-modern .msm-contact-modal .select2-container--default .select2-selection--single {
  border-color: var(--msm-border-strong);
  border-radius: 8px;
  box-shadow: none;
  min-height: 38px;
}

body.msm-legacy-modern .msm-contact-modal .msm-contact-type-switch {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
}

body.msm-legacy-modern .msm-contact-modal .radio-inline.msm-contact-type-option {
  align-items: center;
  background: #f8fbff;
  border: 1px solid var(--msm-border);
  border-radius: 999px;
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  line-height: 1.2;
  margin: 0;
  min-height: 34px;
  padding: 7px 12px 7px 10px;
  position: relative;
}

body.msm-legacy-modern .msm-contact-modal .radio-inline.msm-contact-type-option input[type=radio] {
  height: 1px;
  left: 10px;
  margin: 0;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

body.msm-legacy-modern .msm-contact-modal .msm-contact-type-dot {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border-strong);
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px var(--msm-surface);
  display: inline-block;
  flex: 0 0 12px;
  height: 12px;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  width: 12px;
}

body.msm-legacy-modern .msm-contact-modal .radio-inline.msm-contact-type-option:has(input[type=radio]:checked) {
  background: var(--msm-primary-soft);
  border-color: rgba(37, 99, 235, 0.32);
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-contact-modal .radio-inline.msm-contact-type-option input[type=radio]:checked + .msm-contact-type-dot {
  background: var(--msm-primary);
  border-color: var(--msm-primary);
}

body.msm-legacy-modern .msm-contact-modal .radio-inline.msm-contact-type-option:focus-within {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body.msm-legacy-modern .msm-contact-modal .more_btn {
  border-radius: var(--msm-radius-sm);
  margin: 8px auto 12px;
}

@media (max-width: 767px) {
  body.msm-legacy-modern .msm-contacts-page .box-tools,
  body.msm-legacy-modern .msm-contacts-page .box-tools .btn {
    display: block;
    width: 100%;
  }
  body.msm-legacy-modern .msm-contact-modal .modal-body {
    max-height: calc(100vh - 170px);
  }
  body.msm-legacy-modern #contact_table > tbody > tr {
    padding: 12px 14px 10px 62px !important;
    position: relative !important;
  }
  body.msm-legacy-modern #contact_table .msm-contact-avatar-pill,
  .msm-contact-avatar-pill {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    width: 40px !important;
    height: 40px !important;
  }
}
body.msm-legacy-modern .content-wrapper .msm-sales-header {
  background: transparent;
  padding: 18px 20px 8px;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header > h1 {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--msm-text);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle {
  align-items: center;
  background: var(--msm-primary-soft);
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  line-height: 1.2;
  padding: 7px 11px;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle:hover,
body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle:focus {
  background: #ffffff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  outline: 0;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle.collapsed {
  background: #ffffff;
  color: var(--msm-text-soft);
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle .msm-sales-filter-chevron {
  font-size: 9px;
  margin-left: 1px;
  transform: rotate(180deg);
  transition: transform 0.16s ease;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle.collapsed .msm-sales-filter-chevron,
body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle[aria-expanded=false] .msm-sales-filter-chevron {
  transform: rotate(0deg);
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-summary {
  align-items: center;
  display: inline-flex;
  flex: 1 1 520px;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 180px;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-summary:empty {
  display: none;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-chip {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--msm-text);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
  line-height: 1.2;
  max-width: 250px;
  padding: 4px 2px;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-chip-date {
  color: #1d4ed8;
  max-width: 310px;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-chip-label {
  color: #64748b;
  font-size: 10px;
  text-transform: uppercase;
}

body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-chip-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page {
  display: grid;
  gap: 16px;
  padding: 12px 20px 24px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-panel {
  margin: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-inner {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  padding: 12px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row > .msm-sales-filter-field {
  float: none;
  flex: 1 1 150px;
  max-width: 190px;
  min-width: 132px;
  padding: 0;
  width: auto;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row > .msm-sales-filter-field-wide {
  flex-basis: 220px;
  max-width: 260px;
  min-width: 190px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row > .msm-sales-filter-field-date {
  flex-basis: 200px;
  max-width: 220px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row > .msm-sales-filter-field-check {
  flex: 0 0 auto;
  max-width: none;
  min-width: 132px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row .form-group {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row .form-group label {
  color: var(--msm-text-soft);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 5px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row .form-control {
  border-radius: 9px;
  font-size: 12px;
  min-height: 34px;
  padding-bottom: 6px;
  padding-top: 6px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row .select2-container {
  width: 100% !important;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row .select2-container--default .select2-selection--single {
  border-color: var(--msm-border-strong);
  border-radius: 9px;
  min-height: 34px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--msm-text-soft);
  font-size: 12px;
  line-height: 32px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-row .select2-container--default .select2-selection--single .select2-selection__arrow {
  min-height: 32px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-field-check .checkbox {
  margin: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-field-check .checkbox label {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--msm-border);
  border-radius: 9px;
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-field-check br {
  display: none;
}

body.msm-legacy-modern .msm-modern-list-page .box {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-top: 1px solid var(--msm-border) !important;
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  margin-bottom: 0;
  overflow: hidden;
}

body.msm-legacy-modern .msm-modern-list-page #accordion.box {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

body.msm-legacy-modern .msm-modern-list-page .box-header {
  background: var(--msm-surface);
  border-bottom: 1px solid var(--msm-border);
  padding: 14px 16px;
}

body.msm-legacy-modern .msm-modern-list-page > .box.box-primary > .box-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

body.msm-legacy-modern .msm-modern-list-page > .box.box-primary > .box-header .box-title {
  flex: 0 0 auto;
}

body.msm-legacy-modern .msm-modern-list-page #accordion > .box-header {
  background: var(--msm-primary-soft);
  border-bottom-color: #dbe7ff;
}

body.msm-legacy-modern .msm-modern-list-page #accordion > .box-header .box-title a {
  align-items: center;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  text-decoration: none;
}

body.msm-legacy-modern .msm-modern-list-page .box-title {
  color: var(--msm-text);
  font-weight: 800;
}

body.msm-legacy-modern .msm-modern-list-page .box-body {
  background: var(--msm-surface);
  padding: 16px;
}

body.msm-legacy-modern .msm-modern-list-page > .box.box-primary > .box-body {
  padding-top: 10px;
}

body.msm-legacy-modern .msm-modern-list-page .form-group {
  margin-bottom: 14px;
}

body.msm-legacy-modern .msm-modern-list-page .form-group label {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

body.msm-legacy-modern .msm-modern-list-page .box-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

body.msm-legacy-modern .msm-modern-list-page .box-tools .btn {
  min-height: 38px;
  padding-left: 14px;
  padding-right: 14px;
  width: auto;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-toolbar {
  align-items: center;
  display: flex;
  flex: 1 1 760px;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-start;
  margin-left: auto;
  position: static;
  width: auto;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-toolbar:not(.box-tools) {
  background: #ffffff;
  border-bottom: 1px solid var(--msm-border);
  gap: 12px;
  justify-content: space-between;
  margin: -16px -16px 14px;
  padding: 13px 16px;
  width: calc(100% + 32px);
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-toolbar-left,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-toolbar-right {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-toolbar-left {
  flex: 1 1 520px;
  justify-content: flex-start;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-toolbar-right {
  flex-wrap: nowrap;
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-title {
  color: var(--msm-text);
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page .msm-products-table-toolbar .msm-products-toolbar {
  align-items: center;
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-products-table-toolbar .msm-products-toolbar .btn {
  float: none !important;
  margin: 0 !important;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
  margin-left: auto;
  min-width: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-actions:empty {
  display: none;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper.msm-modern-controls-moved > .row:first-child {
  display: none !important;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-length-slot {
  flex: 0 0 auto;
  margin-right: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-search-slot {
  flex: 0 1 320px;
  margin-right: 0;
  max-width: 340px;
  min-width: 240px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-length-slot .dataTables_length,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-search-slot .dataTables_filter {
  align-items: center;
  display: flex;
  margin: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-length-slot label,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-search-slot label {
  align-items: center;
  color: var(--msm-text-soft);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 7px;
  margin: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-native-label {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-custom {
  display: inline-flex;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-button {
  align-items: center;
  appearance: none;
  background: #f8fafc;
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 38px;
  min-width: 104px;
  padding: 8px 11px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-button:hover,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-button:focus {
  background: #ffffff;
  border-color: #c7d2fe;
  outline: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-button i {
  color: var(--msm-muted);
  font-size: 11px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-current {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-menu {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  box-shadow: var(--msm-shadow-float);
  margin-top: 8px;
  min-width: 126px;
  overflow: hidden;
  padding: 5px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-menu > li {
  margin: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-menu-item {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--msm-text-soft);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 32px;
  padding: 7px 9px;
  text-align: left;
  width: 100%;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-menu-item:hover,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-menu-item:focus,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-length-menu-item.is-selected {
  background: var(--msm-primary-soft);
  color: var(--msm-primary);
  outline: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-search-control,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-search-control label,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-search-wrap {
  width: 100%;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-search-wrap {
  align-items: center;
  display: flex;
  position: relative;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-search-wrap i {
  color: var(--msm-muted);
  font-size: 12px;
  left: 13px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-search-slot input {
  min-width: 240px;
  width: 100%;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-btn,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-actions > .dt-button {
  align-items: center;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid rgba(29, 78, 216, 0.22) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 38px;
  padding: 9px 13px !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-btn:hover,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-btn:focus,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-actions > .dt-button:hover,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-actions > .dt-button:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: rgba(30, 64, 175, 0.35) !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-btn i,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-actions > .dt-button i {
  color: inherit;
  font-size: 12px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-btn .caret {
  border-top-color: rgba(255, 255, 255, 0.92);
  margin-left: 2px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-export-dropdown,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-columns-dropdown {
  display: inline-flex;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-export-dropdown .dropdown-menu,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-columns-dropdown .dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 11px;
  box-shadow: var(--msm-shadow-float);
  margin-top: 8px;
  min-width: 180px;
  overflow: hidden;
  padding: 5px;
  z-index: 1070;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-columns-dropdown .dropdown-menu {
  max-height: min(70vh, 520px);
  min-width: 250px;
  overflow-y: auto;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-export-dropdown .dropdown-menu > li,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-columns-dropdown .dropdown-menu > li {
  margin: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-header {
  border-bottom: 1px solid var(--msm-border);
  margin-bottom: 5px !important;
  padding: 8px 9px 9px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-header strong,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-header span {
  display: block;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-header strong {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-header span {
  color: var(--msm-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-export-menu-item {
  align-items: center;
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  color: var(--msm-text-soft) !important;
  display: flex !important;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  justify-content: flex-start;
  line-height: 1.2;
  min-height: 32px;
  padding: 7px 9px !important;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-export-menu-item i {
  color: currentColor;
  flex: 0 0 14px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-export-menu-item span {
  display: block;
  line-height: 1.2;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-export-menu-item:hover,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-export-menu-item:focus {
  background: var(--msm-primary-soft) !important;
  color: var(--msm-primary) !important;
  outline: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-item {
  align-items: center;
  background: transparent;
  border-radius: 7px;
  color: var(--msm-text-soft);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  line-height: 1.25;
  margin: 0;
  min-height: 34px;
  padding: 7px 10px;
  white-space: normal;
  width: 100%;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu > li:nth-child(odd):not(.msm-sales-colvis-menu-header) .msm-sales-colvis-menu-item {
  background: #f8fafc;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-item:hover,
body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-item:focus-within {
  background: var(--msm-primary-soft);
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-item.is-selected {
  color: var(--msm-text);
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-native-checkbox {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-dot {
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px #ffffff;
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-item.is-selected .msm-sales-colvis-dot {
  background: var(--msm-primary);
  border-color: var(--msm-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-colvis-menu-item span {
  display: block;
  min-width: 0;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-native-buttons-empty {
  display: none !important;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:first-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  min-height: 0;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:first-child > [class*=col-] {
  min-height: 0;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:first-child .dataTables_length,
body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:first-child .dt-buttons,
body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:first-child .dataTables_filter {
  display: none !important;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper .dataTables_processing {
  display: none !important;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scroll {
  position: relative;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-processing-overlay {
  align-items: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.76) 0%, rgba(255, 255, 255, 0.88) 100%);
  backdrop-filter: blur(1px);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: absolute;
  transform: translateY(3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 8;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-processing-overlay.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-processing-card {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(185, 208, 255, 0.92);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  color: #1e3a8a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 10px;
  line-height: 1;
  min-height: 42px;
  pointer-events: auto;
  padding: 11px 15px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-processing-spinner {
  animation: msm-sales-processing-spin 0.8s linear infinite;
  border: 2px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
  flex: 0 0 16px;
  height: 16px;
  width: 16px;
}

@keyframes msm-sales-processing-spin {
  to {
    transform: rotate(360deg);
  }
}
body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper .dataTables_filter input,
body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper .dataTables_length select {
  background: #ffffff;
  border: 1px solid var(--msm-border-strong);
  border-radius: var(--msm-radius-sm);
  box-shadow: none;
  min-height: 34px;
}

body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-search-slot .msm-sales-search-wrap input {
  background: #f8fafc;
  border-radius: 10px;
  min-height: 38px;
  padding-left: 35px;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:first-child .dataTables_length:empty,
body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:first-child .dataTables_filter:empty {
  display: none;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable > thead > tr > th,
body.msm-legacy-modern .msm-modern-list-page table.dataTable > thead > tr > td {
  background: #f7faff;
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 11px;
  padding-top: 11px;
  text-transform: uppercase;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable > tbody > tr > td {
  border-top-color: #eef2f7;
  color: var(--msm-text-soft);
  padding-bottom: 10px;
  padding-top: 10px;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable > tbody > tr:hover > td {
  background: #fbfdff;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .payment-status-label,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-link {
  display: inline-flex;
  text-decoration: none;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .payment-status-label:focus,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .payment-status-label:hover,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-link:focus,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-link:hover {
  text-decoration: none;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .payment-status-label > .label {
  --msm-status-accent: #2563eb;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0;
  line-height: 1;
  min-height: 26px;
  padding: 6px 10px;
  text-transform: none;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status::before,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .payment-status-label > .label::before {
  content: none;
  display: none;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status .msm-status-icon {
  align-items: center;
  background: #2563eb;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 16px;
  height: 16px;
  justify-content: center;
  line-height: 1;
  width: 16px;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status .msm-status-icon i {
  font-size: 7px;
  line-height: 1;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .label-success,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-paid {
  background: rgba(22, 163, 74, 0.08) !important;
  border-color: rgba(22, 163, 74, 0.16) !important;
  color: #047857 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-paid .msm-status-icon {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .label-warning,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-due,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-overdue {
  background: rgba(249, 115, 22, 0.08) !important;
  border-color: rgba(249, 115, 22, 0.18) !important;
  color: #ea580c !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-due .msm-status-icon,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-overdue .msm-status-icon {
  background: transparent;
  border: 0;
  color: #ea580c;
  height: 15px;
  width: 15px;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-due .msm-status-icon i,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-overdue .msm-status-icon i {
  display: block;
  font-size: 13px;
  line-height: 1;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .label-info,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-partial {
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.16) !important;
  color: #1d4ed8 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-payment-status-partial .msm-status-icon {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .label-danger {
  background: rgba(220, 38, 38, 0.08) !important;
  border-color: rgba(220, 38, 38, 0.16) !important;
  color: #b91c1c !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .label-danger .msm-status-icon {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge {
  --msm-status-accent: #64748b;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: 0;
  line-height: 1;
  min-height: 24px;
  padding: 5px 9px;
  text-transform: none;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge::before {
  align-items: center;
  background: var(--msm-status-accent);
  border-radius: 999px;
  color: #ffffff;
  content: "\f111";
  display: inline-flex;
  flex: 0 0 15px;
  font-family: "Font Awesome 5 Free";
  font-size: 7px;
  font-weight: 900;
  height: 15px;
  justify-content: center;
  line-height: 1;
  width: 15px;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-success {
  --msm-status-accent: #16a34a;
  background: rgba(22, 163, 74, 0.08) !important;
  border-color: rgba(22, 163, 74, 0.16) !important;
  color: #047857 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-success::before {
  content: "\f00c";
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-warning {
  --msm-status-accent: #f97316;
  background: rgba(249, 115, 22, 0.08) !important;
  border-color: rgba(249, 115, 22, 0.18) !important;
  color: #ea580c !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-warning::before {
  content: "\f017";
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-info {
  --msm-status-accent: #2563eb;
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.16) !important;
  color: #1d4ed8 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-info::before {
  content: "\f1e0";
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-danger {
  --msm-status-accent: #dc2626;
  background: rgba(220, 38, 38, 0.08) !important;
  border-color: rgba(220, 38, 38, 0.16) !important;
  color: #b91c1c !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-danger::before {
  content: "\f00d";
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-table-status-badge-neutral {
  --msm-status-accent: #64748b;
  background: rgba(100, 116, 139, 0.08) !important;
  border-color: rgba(100, 116, 139, 0.16) !important;
  color: #475569 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-link {
  display: inline-flex;
  text-decoration: none;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-link:focus,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-link:hover {
  text-decoration: none;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status {
  --msm-status-accent: #2563eb;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  gap: 6px;
  letter-spacing: 0;
  line-height: 1;
  min-height: 24px;
  padding: 6px 9px;
  text-transform: none;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status::before {
  align-items: center;
  background: var(--msm-status-accent);
  border-radius: 999px;
  color: #ffffff;
  content: "\f111";
  display: inline-flex;
  flex: 0 0 15px;
  font-family: "Font Awesome 5 Free";
  font-size: 7px;
  font-weight: 900;
  height: 15px;
  justify-content: center;
  line-height: 1;
  width: 15px;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-delivered {
  --msm-status-accent: #16a34a;
  background: rgba(22, 163, 74, 0.08) !important;
  border-color: rgba(22, 163, 74, 0.16) !important;
  color: #047857 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-ordered {
  --msm-status-accent: #64748b;
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.16) !important;
  color: #475569 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-packed,
body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-shipped {
  --msm-status-accent: #2563eb;
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.16) !important;
  color: #1d4ed8 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-cancelled {
  --msm-status-accent: #dc2626;
  background: rgba(220, 38, 38, 0.08) !important;
  border-color: rgba(220, 38, 38, 0.16) !important;
  color: #b91c1c !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-delivered::before {
  content: "\f00c";
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-cancelled::before {
  content: "\f00d";
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-shipped::before {
  content: "\f0d1";
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-packed::before {
  content: "\f466";
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable .msm-shipping-status-ordered::before {
  content: "\f07a";
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scroll {
  background: #ffffff;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody tfoot,
body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody tr.footer-total {
  border: 0 !important;
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  visibility: hidden !important;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody tfoot *,
body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody tr.footer-total > * {
  border: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  visibility: hidden !important;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollFoot {
  background: #f8fafc;
  border-top: 1px solid var(--msm-border);
  clear: both;
  display: block;
  overflow: hidden !important;
  position: relative;
  z-index: 2;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollFootInner,
body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollFoot table {
  background: #f8fafc;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollFoot table {
  margin-top: 0 !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total > td {
  background: #f8fafc !important;
  border-color: #e2e8f0;
  border-top: 0;
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  padding: 13px 10px;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: anywhere;
  white-space: normal;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total > td strong {
  color: var(--msm-text);
  font-size: 13px;
  line-height: 1;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .footer_sale_total,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .footer_total_paid,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .footer_total_remaining,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .footer_total_sell_return_due {
  color: #0f172a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.25;
  max-width: none !important;
  min-width: 96px !important;
  overflow-wrap: normal;
  white-space: normal;
  word-break: keep-all;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .footer_payment_status_count,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .payment_method_count,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .service_type_count {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  max-width: none !important;
  min-width: 92px !important;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .payment_method_count {
  color: #0f172a;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot tr.footer-total .service_type_count:empty {
  display: none;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:last-child {
  align-items: center;
  background: transparent;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 10px 16px 0;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:last-child > [class*=col-] {
  float: none;
  padding: 0;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:last-child > [class*=col-]:first-child {
  flex: 1 1 260px;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_wrapper > .row:last-child > [class*=col-]:last-child {
  flex: 0 0 auto;
  margin-left: auto;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_info {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 700;
  padding: 0 !important;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate {
  padding: 0 !important;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination > li > a,
body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination > li > span {
  align-items: center;
  background: transparent;
  border: 1px solid var(--msm-border);
  border-radius: 9px !important;
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  min-width: 34px;
  padding: 8px 11px;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination > li > a:hover,
body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination > li > a:focus {
  background: var(--msm-primary-soft);
  border-color: #bfdbfe;
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination > .active > a,
body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination > .active > span {
  background: var(--msm-primary);
  border-color: var(--msm-primary);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
  color: #ffffff;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination > .disabled > a,
body.msm-legacy-modern .msm-modern-list-page .dataTables_paginate .pagination > .disabled > span {
  background: transparent;
  color: #94a3b8;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody {
  border-bottom: 0 !important;
  max-height: 60vh !important;
  overflow: auto !important;
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
}

body.msm-legacy-modern .msm-sales-page #sell_table_wrapper.msm-sales-compact-scroll .dataTables_scrollBody {
  height: auto !important;
  min-height: 0 !important;
}

body.msm-legacy-modern .msm-sales-page #sell_table_wrapper .dataTables_scrollFoot table.dataTable {
  table-layout: auto;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody::-webkit-scrollbar {
  height: 6px;
  width: 8px;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody::-webkit-scrollbar-thumb {
  background: #dbe3ee;
  border-radius: 999px;
}

body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

body.msm-legacy-modern .msm-modern-list-page .clickable_td {
  cursor: pointer;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group {
  position: relative;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-toggle {
  align-items: center;
  background: linear-gradient(180deg, var(--msm-primary), #1d4ed8) !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.16);
  color: #ffffff !important;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 5px;
  line-height: 1;
  min-height: 28px;
  padding: 7px 10px !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-toggle .caret {
  border-top-color: currentColor;
  margin-left: 1px;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group.open > .dropdown-toggle,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-toggle:hover,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-toggle:focus {
  background: linear-gradient(180deg, #1d4ed8, #1e40af) !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
  color: #ffffff !important;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
  margin-top: 8px;
  min-width: 206px;
  overflow: hidden;
  padding: 6px;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu::before {
  background: #ffffff;
  border-left: 1px solid var(--msm-border);
  border-top: 1px solid var(--msm-border);
  content: "";
  height: 10px;
  left: 18px;
  position: absolute;
  top: -6px;
  transform: rotate(45deg);
  width: 10px;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a {
  align-items: center;
  border-radius: 9px;
  color: #334155;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  line-height: 1.2;
  padding: 9px 10px;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a i {
  color: #64748b;
  flex: 0 0 16px;
  font-size: 13px;
  text-align: center;
  transition: color 140ms ease;
  width: 16px;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:hover,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:focus {
  background: var(--msm-primary-soft);
  color: var(--msm-primary);
  transform: translateX(2px);
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:hover i,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:focus i {
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale {
  color: #dc2626;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale i {
  color: #ef4444;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale:hover,
body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale:focus {
  background: #fef2f2;
  color: #b91c1c;
}

body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > .divider {
  background: #e2e8f0;
  height: 1px;
  margin: 6px 4px;
}

body.msm-legacy-modern .content-wrapper .msm-direct-sell-header {
  background: transparent;
  padding: 18px 20px 8px;
}

body.msm-legacy-modern .content-wrapper .msm-direct-sell-header > h1 {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--msm-text);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

body.msm-legacy-modern .content-wrapper .msm-direct-sell-header > h1 small {
  color: var(--msm-muted);
  font-size: 13px;
  font-weight: 600;
}

body.msm-legacy-modern .msm-direct-sell-page {
  display: grid;
  gap: 16px;
  padding: 12px 20px 24px;
}

body.msm-legacy-modern .msm-direct-sell-page .box {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-top: 1px solid var(--msm-border) !important;
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  margin-bottom: 0;
  overflow: visible !important;
  position: relative;
}

body.msm-legacy-modern .msm-direct-sell-page .box-header {
  background: var(--msm-surface);
  border-bottom: 1px solid var(--msm-border);
  border-top-left-radius: var(--msm-radius-lg);
  border-top-right-radius: var(--msm-radius-lg);
  padding: 14px 16px;
}

body.msm-legacy-modern .msm-direct-sell-page .box-title {
  color: var(--msm-text);
  font-weight: 800;
}

body.msm-legacy-modern .msm-direct-sell-page .box-body {
  background: var(--msm-surface);
  border-bottom-left-radius: var(--msm-radius-lg);
  border-bottom-right-radius: var(--msm-radius-lg);
  padding: 16px;
  overflow: visible !important;
  position: relative;
}

body.msm-legacy-modern .msm-direct-sell-page .form-group label {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
}

body.msm-legacy-modern .msm-direct-sell-page #pos_table > thead > tr > th {
  background: #f7faff;
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 11px;
  padding-top: 11px;
  text-transform: uppercase;
}

body.msm-legacy-modern .msm-direct-sell-page #pos_table > tbody > tr > td {
  border-top-color: #eef2f7;
  padding-bottom: 10px;
  padding-top: 10px;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-direct-sell-page .well,
body.msm-legacy-modern .msm-direct-sell-page .bg-light-gray {
  background: #f9fbff !important;
  border-color: var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: none;
}

body.msm-legacy-modern .msm-direct-sell-page .input-group-addon {
  background: #f7faff;
  border-color: var(--msm-border-strong);
  color: var(--msm-muted);
}

body.msm-legacy-modern .msm-direct-sell-actions {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  margin: 0;
  padding: 14px;
  overflow: visible !important;
}

body.msm-legacy-modern .msm-direct-sell-actions .btn {
  border-radius: var(--msm-radius-sm);
  margin: 4px;
}

/* Product stock report has many columns; keep its controls pinned to the card
   width while the table itself scrolls horizontally inside DataTables. */
body.msm-legacy-modern .msm-products-page #product_stock_report {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

body.msm-legacy-modern .msm-products-page #product_stock_report .msm-stock-report-table-toolbar.msm-sales-table-toolbar:not(.box-tools) {
  box-sizing: border-box;
  flex: 0 0 auto;
  margin: 0 0 14px !important;
  max-width: 100% !important;
  min-width: 0;
  overflow: visible;
  padding: 13px 16px;
  width: 100% !important;
}

body.msm-legacy-modern .msm-products-page #product_stock_report .msm-stock-report-table-toolbar .msm-sales-table-toolbar-left {
  flex: 1 1 520px;
  max-width: calc(100% - 390px);
  min-width: 0;
}

body.msm-legacy-modern .msm-products-page #product_stock_report .msm-stock-report-table-toolbar .msm-sales-table-toolbar-right {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
  max-width: 100%;
  min-width: 0;
}

body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper {
  clear: both;
  max-width: 100% !important;
  min-width: 0;
  overflow: hidden;
  position: relative;
  width: 100% !important;
}

body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scroll,
body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scrollHead,
body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scrollBody,
body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scrollFoot {
  max-width: 100% !important;
  width: 100% !important;
}

body.msm-legacy-modern .msm-products-page #stock_report_table_wrapper .dataTables_scrollBody {
  overflow: auto !important;
}

@media (max-width: 767px) {
  body.msm-legacy-modern .msm-modern-list-page > .box.box-primary > .box-header {
    align-items: stretch;
  }
  body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-toolbar {
    flex-basis: 100%;
    margin-left: 0;
  }
  body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-length-slot {
    margin-right: 0;
  }
  body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-search-slot {
    flex-basis: 100%;
    margin-right: 0;
    max-width: 100%;
    min-width: 0;
  }
  body.msm-legacy-modern .msm-modern-list-page .msm-sales-table-search-slot input {
    min-width: 0;
  }
  body.msm-legacy-modern .msm-modern-list-page .box-tools,
  body.msm-legacy-modern .msm-modern-list-page .box-tools .btn {
    display: block;
    width: 100%;
  }
  body.msm-legacy-modern .msm-direct-sell-actions .btn {
    display: block;
    width: 100%;
  }
  body.msm-legacy-modern form#add_sell_form {
    padding-bottom: 84px !important;
  }
  body.msm-legacy-modern .msm-direct-sell-actions {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 16px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-direct-sell-actions .col-sm-12 {
    padding: 0 !important;
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .msm-direct-sell-actions .btn {
    flex: 1 1 50% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
  }
}
body.msm-legacy-modern .content-wrapper .msm-purchase-create-header {
  padding-bottom: 6px;
}

body.msm-legacy-modern .msm-purchase-create-page {
  gap: 14px;
  padding-top: 8px;
}

body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-create-card,
body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-create-card,
body.msm-legacy-modern .msm-purchase-create-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  border-top: 1px solid var(--msm-border) !important;
  box-shadow: var(--msm-shadow-card);
  margin-bottom: 0;
  overflow: visible !important;
  position: relative;
}

body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-create-card > .box-header,
body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-create-card > .box-header,
body.msm-legacy-modern .msm-purchase-create-card > .box-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--msm-border);
  border-top-left-radius: var(--msm-radius-lg);
  border-top-right-radius: var(--msm-radius-lg);
  display: flex;
  min-height: 50px;
  padding: 13px 16px;
}

body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-create-card > .box-footer,
body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-create-card > .box-footer,
body.msm-legacy-modern .msm-purchase-create-card > .box-footer {
  border-bottom-left-radius: var(--msm-radius-lg);
  border-bottom-right-radius: var(--msm-radius-lg);
}

body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-create-card > .box-body:last-child,
body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-create-card > .box-body:last-child,
body.msm-legacy-modern .msm-purchase-create-card > .box-body:last-child {
  border-bottom-left-radius: var(--msm-radius-lg);
  border-bottom-right-radius: var(--msm-radius-lg);
}

body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-create-card > .box-header .box-title,
body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-create-card > .box-header .box-title {
  color: var(--msm-text);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-create-card > .box-body,
body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-create-card > .box-body {
  overflow: visible !important;
  padding: 16px;
}

body.msm-legacy-modern .msm-purchase-create-page .box-body,
body.msm-legacy-modern .msm-purchase-create-page .payment_row,
body.msm-legacy-modern .msm-purchase-create-page .form-group,
body.msm-legacy-modern .msm-purchase-edit-page .box-body,
body.msm-legacy-modern .msm-purchase-edit-page .payment_row,
body.msm-legacy-modern .msm-purchase-edit-page .form-group {
  overflow: visible !important;
}

body.msm-legacy-modern .msm-purchase-create-page .form-group,
body.msm-legacy-modern .msm-purchase-edit-page .form-group {
  margin-bottom: 13px;
  overflow: visible !important;
}

body.msm-legacy-modern .msm-purchase-create-page .form-group label,
body.msm-legacy-modern .msm-purchase-edit-page .form-group label {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

body.msm-legacy-modern .msm-purchase-create-page .input-group,
body.msm-legacy-modern .msm-purchase-edit-page .input-group {
  align-items: stretch !important;
  display: flex !important;
  overflow: visible !important;
  position: relative;
  width: 100%;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .input-group-addon,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .input-group-addon {
  align-items: center;
  border-radius: 9px 0 0 9px !important;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  min-width: 38px;
  padding: 6px 12px;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .select2-container,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .select2-container {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 1% !important;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .select2-container .select2-selection--single,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .select2-container .select2-selection--single {
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  height: 38px;
  min-height: 38px;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .select2-container .select2-selection--single .select2-selection__rendered,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  overflow: hidden;
  padding-left: 11px;
  padding-right: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .select2-container .select2-selection--single .select2-selection__arrow,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .select2-container .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 7px;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .form-control:not(:first-child):not(:last-child),
body.msm-legacy-modern .msm-purchase-edit-page .input-group .form-control:not(:first-child):not(:last-child) {
  border-radius: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .form-control:last-child,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .form-control:last-child {
  border-radius: 0 9px 9px 0 !important;
  flex: 1 1 auto;
  min-width: 0;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .input-group-btn,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .input-group-btn {
  display: flex;
  flex: 0 0 auto;
  width: auto;
}
body.msm-legacy-modern .msm-purchase-create-page .input-group .input-group-btn > .btn,
body.msm-legacy-modern .msm-purchase-create-page .input-group .input-group-btn > .add_new_supplier,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .input-group-btn > .btn,
body.msm-legacy-modern .msm-purchase-edit-page .input-group .input-group-btn > .add_new_supplier {
  align-items: center;
  border-radius: 0 9px 9px 0 !important;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  padding: 6px 12px;
}
body.msm-legacy-modern .msm-purchase-create-page .select2-container,
body.msm-legacy-modern .msm-purchase-edit-page .select2-container {
  max-width: 100%;
  width: 100% !important;
}
body.msm-legacy-modern .msm-purchase-create-page .select2-container .select2-selection--single,
body.msm-legacy-modern .msm-purchase-edit-page .select2-container .select2-selection--single {
  border: 1px solid var(--msm-border, #cbd5e1);
  border-radius: 9px;
  height: 38px;
  min-height: 38px;
}
body.msm-legacy-modern .msm-purchase-create-page .select2-container .select2-selection--single .select2-selection__rendered,
body.msm-legacy-modern .msm-purchase-edit-page .select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--msm-text, #1e293b);
  font-size: 13px;
  line-height: 36px;
  padding-left: 11px;
  padding-right: 28px;
}
body.msm-legacy-modern .msm-purchase-create-page .select2-container .select2-selection--single .select2-selection__arrow,
body.msm-legacy-modern .msm-purchase-edit-page .select2-container .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 8px;
}

body.msm-legacy-modern .msm-purchase-create-page .help-block {
  color: var(--msm-muted);
  font-size: 11px;
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-purchase-create-page #supplier_address_div {
  background: #f8fbff;
  border: 1px dashed #cfe0ff;
  border-radius: 10px;
  color: var(--msm-text-soft);
  margin-top: 6px;
  min-height: 38px;
  padding: 9px 11px;
}
body.msm-legacy-modern .msm-purchase-create-page #supplier_address_div:empty {
  display: none !important;
}

body.msm-legacy-modern .msm-purchase-create-page strong:has(+ #supplier_address_div:empty),
#supplier_address_div:empty {
  display: none !important;
}

body.msm-legacy-modern .msm-purchase-product-toolbar {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}

body.msm-legacy-modern .msm-purchase-product-toolbar > [class*=col-] {
  float: none;
  padding: 0;
}

body.msm-legacy-modern .msm-purchase-product-toolbar .form-group {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-purchase-product-search {
  flex: 1 1 420px;
  min-width: 260px;
}

body.msm-legacy-modern .msm-purchase-product-action {
  flex: 0 0 auto;
}

body.msm-legacy-modern .msm-purchase-product-action .btn {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-purchase-products-card .table-responsive {
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  margin-top: 4px;
  overflow: auto;
}

body.msm-legacy-modern .msm-purchase-products-card #purchase_entry_table {
  margin-bottom: 0;
  min-width: 1180px;
}

body.msm-legacy-modern .msm-purchase-products-card #purchase_entry_table > thead > tr > th {
  background: #686868;
  border-bottom: 1px solid #555555;
  border-color: #555555;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 11px 9px;
  text-transform: uppercase;
}

body.msm-legacy-modern .msm-purchase-products-card #purchase_entry_table > tbody > tr > td {
  border-color: #edf2f7;
  padding: 9px;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-purchase-line-summary {
  background: #f8fbff;
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  margin-top: 12px;
  padding: 10px 12px;
}

body.msm-legacy-modern .msm-purchase-line-summary table {
  margin: 0;
}

body.msm-legacy-modern .msm-purchase-line-summary th,
body.msm-legacy-modern .msm-purchase-line-summary td {
  border: 0 !important;
  color: var(--msm-text);
  padding: 5px 0 !important;
}

body.msm-legacy-modern .msm-purchase-total-table {
  margin-bottom: 0;
}

body.msm-legacy-modern .msm-purchase-total-table > tbody > tr > td {
  border-top: 0;
  padding: 10px 12px;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-purchase-total-table .display_currency,
body.msm-legacy-modern .msm-purchase-grand-total .display_currency,
body.msm-legacy-modern #payment_due {
  color: var(--msm-text);
  font-size: 18px;
  font-weight: 900;
}

body.msm-legacy-modern .msm-purchase-grand-total {
  align-items: center;
  background: linear-gradient(135deg, #eef5ff 0%, #f7fffb 100%);
  border: 1px solid #cfe0ff;
  border-radius: 12px;
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  min-height: 50px;
  padding: 12px 16px;
}

body.msm-legacy-modern #toggle_additional_expense.msm-purchase-expense-toggle,
body.msm-legacy-modern .msm-purchase-expense-toggle {
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  margin: 10px auto 14px;
  min-height: 38px;
  padding: 8px 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
body.msm-legacy-modern #toggle_additional_expense.msm-purchase-expense-toggle:hover, body.msm-legacy-modern #toggle_additional_expense.msm-purchase-expense-toggle:focus,
body.msm-legacy-modern .msm-purchase-expense-toggle:hover,
body.msm-legacy-modern .msm-purchase-expense-toggle:focus {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
body.msm-legacy-modern #toggle_additional_expense.msm-purchase-expense-toggle:active,
body.msm-legacy-modern .msm-purchase-expense-toggle:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
}
body.msm-legacy-modern #toggle_additional_expense.msm-purchase-expense-toggle i.fa-plus,
body.msm-legacy-modern #toggle_additional_expense.msm-purchase-expense-toggle i.fas.fa-plus,
body.msm-legacy-modern .msm-purchase-expense-toggle i.fa-plus,
body.msm-legacy-modern .msm-purchase-expense-toggle i.fas.fa-plus {
  color: var(--msm-primary, #047857);
  font-size: 11px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
body.msm-legacy-modern #toggle_additional_expense.msm-purchase-expense-toggle i.fa-chevron-down,
body.msm-legacy-modern #toggle_additional_expense.msm-purchase-expense-toggle i.fas.fa-chevron-down,
body.msm-legacy-modern .msm-purchase-expense-toggle i.fa-chevron-down,
body.msm-legacy-modern .msm-purchase-expense-toggle i.fas.fa-chevron-down {
  color: #64748b;
  font-size: 11px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body.msm-legacy-modern .row:has(#additional_expenses_div:not([style*="display: none"]):not([style*="display:none"])) #toggle_additional_expense {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
body.msm-legacy-modern .row:has(#additional_expenses_div:not([style*="display: none"]):not([style*="display:none"])) #toggle_additional_expense i.fa-chevron-down,
body.msm-legacy-modern .row:has(#additional_expenses_div:not([style*="display: none"]):not([style*="display:none"])) #toggle_additional_expense i.fas.fa-chevron-down {
  transform: rotate(180deg);
}
body.msm-legacy-modern .row:has(#additional_expenses_div:not([style*="display: none"]):not([style*="display:none"])) #toggle_additional_expense i.fa-plus,
body.msm-legacy-modern .row:has(#additional_expenses_div:not([style*="display: none"]):not([style*="display:none"])) #toggle_additional_expense i.fas.fa-plus {
  transform: rotate(45deg);
}

body.msm-legacy-modern #additional_expenses_div {
  animation: msmExpenseSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 16px;
  margin-top: 6px;
  padding: 14px 16px;
}
body.msm-legacy-modern #additional_expenses_div table {
  background: transparent;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 0;
  width: 100%;
}
body.msm-legacy-modern #additional_expenses_div table thead > tr > th {
  background: transparent;
  border-bottom: 2px solid #e2e8f0;
  border-top: none;
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 8px 10px;
  text-transform: uppercase;
}
body.msm-legacy-modern #additional_expenses_div table tbody > tr > td {
  border-bottom: none;
  border-top: 1px solid #edf2f7;
  padding: 6px 10px;
  vertical-align: middle;
}
body.msm-legacy-modern #additional_expenses_div table tbody > tr > td .form-control {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
  font-size: 13px;
  height: 38px;
  min-height: 38px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.msm-legacy-modern #additional_expenses_div table tbody > tr > td .form-control:focus {
  border-color: var(--msm-primary, #047857);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
}
body.msm-legacy-modern #additional_expenses_div table tbody > tr > td .form-control.input_number {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

@keyframes msmExpenseSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.msm-legacy-modern .msm-purchase-payment-card {
  margin-bottom: 24px;
  overflow: visible !important;
  position: relative;
  z-index: 10;
}
body.msm-legacy-modern .msm-purchase-payment-card .box-body {
  overflow: visible !important;
  padding-bottom: 24px;
}
body.msm-legacy-modern .msm-purchase-payment-card .payment_row {
  margin-bottom: 18px;
  overflow: visible !important;
  position: relative;
  z-index: 20;
}
body.msm-legacy-modern .msm-purchase-payment-card .payment_row > .row:first-child {
  background: #f8fbff;
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  margin: 0 0 14px;
  overflow: visible !important;
  padding: 12px 14px;
  position: relative;
  z-index: 25;
}
body.msm-legacy-modern .msm-purchase-payment-card .payment_row .form-group {
  margin-bottom: 14px;
  overflow: visible !important;
  position: relative;
}
body.msm-legacy-modern .msm-purchase-payment-card .payment_row .form-group:has(.paid_on),
body.msm-legacy-modern .msm-purchase-payment-card .payment_row .input-group:has(.paid_on) {
  overflow: visible !important;
  position: relative;
  z-index: 40;
}
body.msm-legacy-modern .msm-purchase-payment-card .payment_row .paid_on {
  background-color: #ffffff !important;
  cursor: pointer;
}
body.msm-legacy-modern .msm-purchase-payment-card .payment_row > hr {
  border-color: var(--msm-border);
  margin: 14px -16px;
  position: relative;
  z-index: 1;
}
body.msm-legacy-modern .msm-purchase-payment-card .pull-right {
  float: none !important;
  text-align: right;
}
body.msm-legacy-modern .msm-purchase-payment-card .msm-purchase-save-button {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 42px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 2;
}

body.msm-legacy-modern .bootstrap-datetimepicker-widget {
  background-color: #ffffff !important;
  border: 1px solid var(--msm-border, #cbd5e1) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  margin-top: 4px !important;
  opacity: 1 !important;
  padding: 10px !important;
  visibility: visible !important;
  z-index: 99999 !important;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget.top {
  margin-bottom: 4px !important;
  margin-top: 0 !important;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget.top:before, body.msm-legacy-modern .bootstrap-datetimepicker-widget.top:after {
  bottom: -7px;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table {
  border-collapse: separate;
  border-spacing: 2px;
  margin: 0 !important;
  width: 100% !important;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th {
  border-radius: 6px;
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  height: 32px;
  line-height: 32px;
  text-align: center;
  width: 32px;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.picker-switch {
  color: #0f172a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.picker-switch:hover {
  background: #f1f5f9;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.prev, body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.next {
  border-radius: 8px;
  cursor: pointer;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.prev:hover, body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.next:hover {
  background: #f1f5f9;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td {
  border-radius: 8px;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  height: 32px;
  line-height: 32px;
  text-align: center;
  transition: all 0.12s ease;
  width: 32px;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day:hover, body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.minute:hover, body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.hour:hover {
  background: #f1f5f9;
  cursor: pointer;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.active, body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.active:hover {
  background-color: var(--msm-primary, #047857) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.today {
  color: var(--msm-primary, #047857);
  font-weight: 800;
  position: relative;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.today:before {
  border-bottom-color: var(--msm-primary, #047857);
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.old, body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.new {
  color: #94a3b8;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-hour,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-minute,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-second {
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  height: 38px;
  line-height: 38px;
}
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .btn {
  border-radius: 8px;
  min-height: 30px;
}

@media (max-width: 1366px) {
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-details-card .box-body > .row,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-details-card .box-body > .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -6px;
    margin-right: -6px;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-details-card .box-body > .row > [class*=col-],
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-details-card .box-body > .row > [class*=col-] {
    float: none;
    padding-left: 6px;
    padding-right: 6px;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-details-card .box-body > .row > .col-sm-3,
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-details-card .box-body > .row > .col-md-3,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-details-card .box-body > .row > .col-sm-3,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-details-card .box-body > .row > .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-details-card .box-body > .row > .col-sm-4,
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-details-card .box-body > .row > .col-md-4,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-details-card .box-body > .row > .col-sm-4,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-details-card .box-body > .row > .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  body.msm-legacy-modern .msm-purchase-create-page .input-group .input-group-addon,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group .input-group-addon {
    min-width: 36px;
    padding: 6px 10px;
  }
  body.msm-legacy-modern .msm-purchase-create-page .input-group .select2-container .select2-selection--single,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group .select2-container .select2-selection--single {
    height: 38px !important;
    min-height: 38px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .input-group .select2-container .select2-selection--single .select2-selection__rendered,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group .select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 12.5px !important;
    line-height: 36px !important;
    padding-left: 9px !important;
    padding-right: 22px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .input-group .select2-container .select2-selection--single .select2-selection__arrow,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group .select2-container .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    right: 5px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .input-group .input-group-btn > .btn,
  body.msm-legacy-modern .msm-purchase-create-page .input-group .input-group-btn > .add_new_supplier,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group .input-group-btn > .btn,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group .input-group-btn > .add_new_supplier {
    height: 38px !important;
    min-height: 38px !important;
    padding: 6px 10px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-product-toolbar,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-product-toolbar {
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-product-toolbar .msm-purchase-product-search,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-product-toolbar .msm-purchase-product-search {
    flex: 1 1 auto;
    min-width: 0;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-product-toolbar .msm-purchase-product-action .btn,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-product-toolbar .msm-purchase-product-action .btn {
    font-size: 12.5px;
    min-height: 36px;
    padding: 7px 12px;
    white-space: nowrap;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card .table-responsive,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card .table-responsive {
    border-radius: 10px;
    margin-top: 4px;
    overflow-x: auto !important;
    scrollbar-color: #cbd5e1 transparent;
    scrollbar-width: thin;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card .table-responsive::-webkit-scrollbar,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card .table-responsive::-webkit-scrollbar {
    height: 6px;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card .table-responsive::-webkit-scrollbar-thumb,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card .table-responsive::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 3px;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card #purchase_entry_table,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card #purchase_entry_table {
    min-width: 1000px;
    width: 100%;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card #purchase_entry_table > thead > tr > th,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card #purchase_entry_table > thead > tr > th {
    font-size: 10.5px;
    letter-spacing: 0.2px;
    padding: 8px 6px;
    white-space: nowrap;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card #purchase_entry_table > tbody > tr > td,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card #purchase_entry_table > tbody > tr > td {
    font-size: 12px;
    padding: 6px 5px;
    vertical-align: middle;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card #purchase_entry_table > tbody > tr > td .form-control.input-sm,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card #purchase_entry_table > tbody > tr > td .form-control.input-sm {
    border-radius: 6px;
    font-size: 12px;
    height: 32px;
    min-height: 32px;
    padding: 3px 6px;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card #purchase_entry_table > tbody > tr > td input.purchase_quantity,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card #purchase_entry_table > tbody > tr > td input.purchase_quantity {
    font-weight: 700;
    text-align: center;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-products-card #purchase_entry_table > tbody > tr > td .sub_unit,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-products-card #purchase_entry_table > tbody > tr > td .sub_unit {
    font-size: 11px;
    height: 28px;
    margin-top: 2px;
    padding: 2px 4px;
  }
  body.msm-legacy-modern .msm-purchase-create-page #additional_expenses_div.col-md-8.col-md-offset-4,
  body.msm-legacy-modern .msm-purchase-edit-page #additional_expenses_div.col-md-8.col-md-offset-4 {
    margin-left: 16.666667%;
    width: 66.666667%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-details-card .box-body > .row,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-details-card .box-body > .row {
    display: flex;
    flex-wrap: wrap;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-details-card .box-body > .row > [class*=col-],
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-details-card .box-body > .row > [class*=col-] {
    float: none;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-purchase-create-page,
  body.msm-legacy-modern .msm-purchase-edit-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 100px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .msm-purchase-create-card > .box-body,
  body.msm-legacy-modern .msm-purchase-edit-page .msm-purchase-create-card > .box-body {
    padding: 13px;
  }
  body.msm-legacy-modern .msm-purchase-create-page .form-control,
  body.msm-legacy-modern .msm-purchase-create-page input.form-control,
  body.msm-legacy-modern .msm-purchase-create-page select.form-control,
  body.msm-legacy-modern .msm-purchase-edit-page .form-control,
  body.msm-legacy-modern .msm-purchase-edit-page input.form-control,
  body.msm-legacy-modern .msm-purchase-edit-page select.form-control {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .select2-container .select2-selection--single,
  body.msm-legacy-modern .msm-purchase-edit-page .select2-container .select2-selection--single {
    min-height: 44px !important;
    height: 44px !important;
    padding: 6px 12px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .select2-container .select2-selection--single .select2-selection__rendered,
  body.msm-legacy-modern .msm-purchase-edit-page .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 30px !important;
    font-size: 14px !important;
    padding-left: 0 !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .select2-container .select2-selection--single .select2-selection__arrow,
  body.msm-legacy-modern .msm-purchase-edit-page .select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 8px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .input-group-addon,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group-addon {
    min-width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    border-radius: 8px 0 0 8px !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page .input-group-btn > .btn,
  body.msm-legacy-modern .msm-purchase-create-page .input-group-btn > .add_new_supplier,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group-btn > .btn,
  body.msm-legacy-modern .msm-purchase-edit-page .input-group-btn > .add_new_supplier {
    min-width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    border-radius: 0 8px 8px 0 !important;
  }
  body.msm-legacy-modern .msm-purchase-create-page #ref_no,
  body.msm-legacy-modern .msm-purchase-create-page #transaction_date,
  body.msm-legacy-modern .msm-purchase-edit-page #ref_no,
  body.msm-legacy-modern .msm-purchase-edit-page #transaction_date {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 15px !important;
  }
  body.msm-legacy-modern .msm-purchase-product-action,
  body.msm-legacy-modern .msm-purchase-product-action .btn,
  body.msm-legacy-modern .msm-purchase-product-search {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .msm-purchase-product-action .btn {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .msm-purchase-grand-total {
    justify-content: flex-start !important;
  }
  body.msm-legacy-modern .msm-purchase-products-card .table-responsive {
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
  }
  body.msm-legacy-modern #purchase_entry_table {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    border: none !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern #purchase_entry_table > thead {
    display: none !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-gap: 10px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    padding: 14px !important;
    position: relative !important;
    transition: box-shadow 0.15s ease !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr:active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    vertical-align: top !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(1) {
    grid-column: 1/-1 !important;
    display: inline-flex !important;
    width: fit-content !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    border-radius: 4px !important;
    padding: 1px 6px !important;
    line-height: 1.2 !important;
    margin-bottom: -6px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(1)::before {
    content: "#";
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(2) {
    grid-column: 1/-1 !important;
    display: block !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1.35 !important;
    padding-right: 44px !important;
    word-break: break-word !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(2) small {
    display: block !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-top: 3px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:last-child,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.remove_purchase_entry_row) {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: none !important;
    z-index: 5 !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:last-child .remove_purchase_entry_row,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:last-child i.fa-times,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:last-child i.fa-trash,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.remove_purchase_entry_row) .remove_purchase_entry_row,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.remove_purchase_entry_row) i.fa-times,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.remove_purchase_entry_row) i.fa-trash {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: #fef2f2 !important;
    color: #ef4444 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    border: 1px solid #fee2e2 !important;
    transition: transform 0.1s ease, background 0.15s ease !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:last-child .remove_purchase_entry_row:active,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:last-child i.fa-times:active,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:last-child i.fa-trash:active,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.remove_purchase_entry_row) .remove_purchase_entry_row:active,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.remove_purchase_entry_row) i.fa-times:active,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.remove_purchase_entry_row) i.fa-trash:active {
    transform: scale(0.92) !important;
    background: #fee2e2 !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) {
    grid-column: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3)::before {
    content: "Quantity";
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    letter-spacing: 0.3px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .form-control,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) input.purchase_quantity {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .msm-qty-stepper-wrap {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .msm-qty-stepper-wrap .input-group-btn {
    width: auto !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .msm-qty-stepper-wrap .msm-stepper-btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    transition: background 0.12s ease, transform 0.1s ease !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .msm-qty-stepper-wrap .msm-stepper-btn:active {
    transform: scale(0.92) !important;
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .msm-qty-stepper-wrap .quantity-down {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .msm-qty-stepper-wrap .quantity-up {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .msm-qty-stepper-wrap input.purchase_quantity {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    text-align: center !important;
    font-weight: 800 !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(3) .sub_unit {
    min-height: 38px !important;
    height: 38px !important;
    font-size: 12.5px !important;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    width: 100% !important;
    margin-top: 3px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(4) {
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(4)::before {
    content: "Unit Cost";
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    letter-spacing: 0.3px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(4) .form-control,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(4) .purchase_unit_cost_without_discount {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: right !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(4) small {
    font-size: 11px !important;
    color: #64748b !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.default_sell_price) {
    grid-column: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(12)::before,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.default_sell_price)::before {
    content: "Selling Price";
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    letter-spacing: 0.3px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(12) .form-control,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(12) .default_sell_price,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.default_sell_price) .form-control,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.default_sell_price) .default_sell_price {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: right !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.row_subtotal_after_tax) {
    grid-column: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(10)::before,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.row_subtotal_after_tax)::before {
    content: "Subtotal";
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    letter-spacing: 0.3px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(10) .row_subtotal_after_tax,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:has(.row_subtotal_after_tax) .row_subtotal_after_tax {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--msm-primary, #047857) !important;
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 8px !important;
    padding: 0 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(11) {
    display: none !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(14) {
    grid-column: 1/-1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(13) .form-control,
  body.msm-legacy-modern #purchase_entry_table > tbody > tr > td:nth-of-type(14) .form-control {
    min-height: 44px !important;
    height: 44px !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1040 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 8px)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-breakdown {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px 10px !important;
    font-size: 11px !important;
    color: var(--msm-muted, #64748b) !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-breakdown .msm-breakdown-item {
    white-space: nowrap !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-breakdown .msm-breakdown-item b {
    color: var(--msm-text, #1e293b) !important;
    font-weight: 700 !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-total-line {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-total-line .msm-purchase-sticky-label {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #1e293b) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-total-line .msm-purchase-sticky-amount {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: var(--msm-primary, #047857) !important;
    letter-spacing: -0.2px !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-total-line .msm-purchase-sticky-items {
    font-size: 11.5px !important;
    color: var(--msm-muted, #64748b) !important;
    font-weight: 600 !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-btn {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    background: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
    border: none !important;
    gap: 8px !important;
    box-shadow: 0 3px 10px rgba(4, 120, 87, 0.35) !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    transition: transform 0.12s ease !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-btn:active {
    transform: scale(0.97) !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-btn i {
    font-size: 15px !important;
  }
}
body.msm-legacy-modern .content-wrapper .msm-finance-header {
  background: transparent;
  padding: 18px 20px 8px;
}

body.msm-legacy-modern .content-wrapper .msm-finance-header > h1 {
  align-items: center;
  color: var(--msm-text);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

body.msm-legacy-modern .content-wrapper .msm-finance-header small {
  color: var(--msm-text-soft);
  font-size: 13px;
  font-weight: 700;
}

body.msm-legacy-modern .content-wrapper .msm-finance-header .msm-sales-filter-toggle {
  align-items: center;
  background: var(--msm-primary-soft);
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  line-height: 1.2;
  padding: 7px 11px;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

body.msm-legacy-modern .content-wrapper .msm-finance-header .msm-sales-filter-toggle:hover,
body.msm-legacy-modern .content-wrapper .msm-finance-header .msm-sales-filter-toggle:focus {
  background: #ffffff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  outline: 0;
}

body.msm-legacy-modern .content-wrapper .msm-finance-header .msm-sales-filter-toggle.collapsed {
  background: #ffffff;
  color: var(--msm-text-soft);
}

body.msm-legacy-modern .content-wrapper .msm-finance-header .msm-sales-filter-toggle .msm-sales-filter-chevron {
  font-size: 9px;
  margin-left: 1px;
  transform: rotate(180deg);
  transition: transform 0.16s ease;
}

body.msm-legacy-modern .content-wrapper .msm-finance-header .msm-sales-filter-toggle.collapsed .msm-sales-filter-chevron,
body.msm-legacy-modern .content-wrapper .msm-finance-header .msm-sales-filter-toggle[aria-expanded=false] .msm-sales-filter-chevron {
  transform: rotate(0deg);
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel,
body.msm-legacy-modern .msm-finance-page .msm-finance-summary-card {
  margin: 0;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-account-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

body.msm-legacy-modern .msm-finance-page .msm-finance-summary-card {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-summary-card .box,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box {
  margin: 0;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-summary-table {
  margin: 0;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-summary-table th,
body.msm-legacy-modern .msm-finance-page .msm-finance-summary-table td {
  border-top: 1px solid #eef2f7 !important;
  color: var(--msm-text);
  font-size: 12px;
  padding: 10px 12px !important;
  vertical-align: middle !important;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-summary-table tr:first-child th,
body.msm-legacy-modern .msm-finance-page .msm-finance-summary-table tr:first-child td {
  border-top: 0 !important;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box,
body.msm-legacy-modern .msm-finance-page .msm-finance-table-card {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box-header {
  background: var(--msm-primary-soft);
  border-bottom: 1px solid #dbe7ff;
  padding: 10px 14px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box-title,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box-title a {
  align-items: center;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  margin: 0;
  text-decoration: none;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box-body,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-inner {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  padding: 12px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-inner .row,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box-body {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-inner .row::before,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-inner .row::after,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box-body::before,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .box-body::after {
  display: none;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel [class*=col-],
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-field {
  float: none;
  flex: 1 1 180px;
  max-width: 260px;
  min-width: 150px;
  padding: 0;
  width: auto;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-field-wide {
  flex-basis: 240px;
  max-width: 320px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .form-group,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-field .form-group {
  margin: 0;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel label,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-field label {
  color: var(--msm-text-soft);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 5px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .form-control,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-field .form-control {
  border-radius: 9px;
  min-height: 34px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-filter-panel .input-group-addon,
body.msm-legacy-modern .msm-finance-page .msm-finance-filter-field .input-group-addon {
  background: #f8fafc;
  border-color: var(--msm-border-strong);
  border-radius: 9px 0 0 9px;
  color: var(--msm-muted);
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-card > .box-body,
body.msm-legacy-modern .msm-finance-page .msm-finance-table-card.box > .box-body {
  padding: 16px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-card .box-body {
  overflow: visible;
}

body.msm-legacy-modern .msm-finance-page .msm-cash-register-open-card .box-body {
  padding: 18px;
}

body.msm-legacy-modern .msm-finance-page .msm-cash-register-open-form {
  align-items: flex-start;
}

body.msm-legacy-modern .msm-finance-page .msm-cash-register-open-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-modal-content {
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  padding: 18px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .table-slim {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  overflow: hidden;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-finance-modal-table {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 12px;
  margin-bottom: 0;
  overflow: hidden;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-finance-modal-table > thead > tr > th,
body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-finance-modal-table > tbody > tr > th,
body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-finance-modal-table > tbody > tr > td,
body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-finance-modal-table > tfoot > tr > th,
body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-finance-modal-table > tfoot > tr > td {
  border-color: #e5edf7 !important;
  font-size: 13px;
  padding: 10px 12px !important;
  vertical-align: middle !important;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-finance-modal-table > thead > tr > th {
  background: #f8fafc;
  color: var(--msm-text-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-cash-register-total-table tr.danger > th,
body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-cash-register-total-table tr.danger > td,
body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-cash-register-total-table tr.success > th,
body.msm-legacy-modern .msm-finance-page .msm-finance-modal-body .msm-cash-register-total-table tr.success > td {
  background: #f8fafc !important;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-card .table-responsive {
  border: 0;
  margin-bottom: 0;
  overflow: visible;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-card .dataTables_scrollHead {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid #dbe7ff;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-card .dataTables_scrollHead table.dataTable thead th,
body.msm-legacy-modern .msm-finance-page .msm-finance-table-card table.dataTable thead th {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
  border-bottom: 1px solid #dbe7ff !important;
  color: #51607a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.35;
  padding: 12px 10px !important;
  text-transform: uppercase;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-card .dataTables_scrollHead table.dataTable thead th {
  box-shadow: inset 0 -1px 0 rgba(219, 231, 255, 0.85);
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-card table.dataTable tbody td {
  color: var(--msm-text);
  font-size: 12px;
  line-height: 1.45;
  padding: 12px 10px !important;
  vertical-align: middle;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-card table.dataTable tbody tr:hover td {
  background: #f8fbff !important;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar {
  align-items: center;
  gap: 12px 16px;
  padding-bottom: 6px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .msm-sales-table-toolbar-left {
  flex: 1 1 520px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .msm-sales-table-toolbar-right {
  flex: 0 0 auto;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .msm-sales-table-title {
  font-size: 21px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .msm-sales-table-length-slot,
body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .msm-sales-table-search-slot {
  max-width: 100%;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .msm-sales-table-search-slot input {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  min-width: 220px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .msm-sales-table-actions {
  gap: 8px;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .btn {
  border-radius: 10px;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper {
  margin-top: 0;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper .row > [class*=col-] {
  padding-left: 0;
  padding-right: 0;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper > .row:first-child {
  display: none !important;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper .dataTables_processing {
  display: none !important;
}

body.msm-legacy-modern .msm-finance-page .dataTables_scroll {
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  overflow: hidden;
}

body.msm-legacy-modern .msm-finance-page .dataTables_scrollHead {
  background: #f8fafc;
}

body.msm-legacy-modern .msm-finance-page .dataTables_scrollBody {
  border-bottom: 1px solid var(--msm-border) !important;
}

body.msm-legacy-modern .msm-finance-page .dataTables_scrollBody tfoot,
body.msm-legacy-modern .msm-finance-page .dataTables_scrollBody tr.footer-total {
  border: 0 !important;
  display: none !important;
}

body.msm-legacy-modern .msm-finance-page .dataTables_scrollBody tfoot *,
body.msm-legacy-modern .msm-finance-page .dataTables_scrollBody tr.footer-total > * {
  border: 0 !important;
  height: 0 !important;
}

body.msm-legacy-modern .msm-finance-page table.dataTable tfoot tr.footer-total > td {
  background: #f8fafc !important;
  border-color: #e2e8f0;
  color: var(--msm-text);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 10px !important;
  text-align: center;
  white-space: nowrap;
}

body.msm-legacy-modern .msm-finance-page table.dataTable tfoot tr.footer-total > td strong {
  color: var(--msm-text);
  font-size: 13px;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper > .row:last-child {
  align-items: center;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 10px 0 0;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper > .row:last-child > [class*=col-] {
  float: none;
  padding: 0;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper > .row:last-child > [class*=col-]:first-child {
  flex: 1 1 260px;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper > .row:last-child > [class*=col-]:last-child {
  flex: 0 0 auto;
  margin-left: auto;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper .dataTables_info,
body.msm-legacy-modern .msm-finance-page .dataTables_wrapper .dataTables_paginate {
  margin-top: 0;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper .dataTables_paginate {
  padding: 0;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .btn,
body.msm-legacy-modern .msm-finance-page .box-tools .btn {
  border-radius: 9px;
  float: none !important;
  font-weight: 900;
  min-height: 34px;
  padding: 7px 12px;
  width: auto;
}

body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .btn-primary,
body.msm-legacy-modern .msm-finance-page .box-tools .btn-primary {
  background: var(--msm-primary);
  border-color: var(--msm-primary);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
  color: #ffffff;
}

body.msm-legacy-modern .msm-finance-page .nav-tabs-custom {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-lg);
  box-shadow: var(--msm-shadow-card);
  margin-bottom: 0;
  overflow: hidden;
}

body.msm-legacy-modern .msm-finance-page .nav-tabs-custom > .nav-tabs {
  background: #f8fafc;
  border-bottom: 1px solid var(--msm-border);
  padding: 10px 12px 0;
}

body.msm-legacy-modern .msm-finance-page .nav-tabs-custom > .nav-tabs > li > a {
  border-radius: 10px 10px 0 0;
  color: var(--msm-text-soft);
  font-weight: 900;
}

body.msm-legacy-modern .msm-finance-page .nav-tabs-custom > .nav-tabs > li.active > a,
body.msm-legacy-modern .msm-finance-page .nav-tabs-custom > .nav-tabs > li.active > a:hover,
body.msm-legacy-modern .msm-finance-page .nav-tabs-custom > .nav-tabs > li.active > a:focus {
  border-top: 3px solid var(--msm-primary);
  color: var(--msm-primary);
}

body.msm-legacy-modern .msm-finance-page .tab-content {
  padding: 16px;
}

body.msm-legacy-modern .msm-finance-page table.msm-modern-table {
  margin-bottom: 0 !important;
}

body.msm-legacy-modern .msm-finance-page .dataTables_wrapper .dataTables_info,
body.msm-legacy-modern .msm-finance-page .dataTables_wrapper .dataTables_paginate {
  margin-top: 10px;
}

@media (max-width: 991px) {
  body.msm-legacy-modern .msm-finance-page .msm-finance-account-grid {
    grid-template-columns: 1fr;
  }
  body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  body.msm-legacy-modern .msm-finance-page .msm-finance-table-toolbar .msm-sales-table-toolbar-right {
    align-self: stretch;
    justify-content: flex-end;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-finance-table-toolbar .msm-sales-table-toolbar-right > .msm-desktop-add-btn,
  body.msm-legacy-modern .msm-finance-table-toolbar .msm-sales-table-toolbar-right > .btn-primary.hidden-xs,
  body.msm-legacy-modern body:has(.msm-mobile-fab) .msm-finance-table-toolbar .msm-sales-table-toolbar-right > .btn-primary {
    display: none !important;
  }
  body.msm-legacy-modern .table-border-center {
    display: block !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .table-border-center > thead {
    display: none !important;
  }
  body.msm-legacy-modern .table-border-center > tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .table-border-center > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .table-border-center > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }
  body.msm-legacy-modern .table-border-center > tbody > tr > td::before {
    content: "LIABILITIES (দায়)";
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--msm-danger, #ef4444);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--msm-border, #e2e8f0);
  }
  body.msm-legacy-modern .table-border-center > tbody > tr > td:nth-child(2)::before {
    content: "ASSETS (সম্পদ)";
    color: var(--msm-success, #10b981);
  }
  body.msm-legacy-modern .msm-expense-hero-amount {
    font-size: 26px !important;
    font-weight: 800 !important;
    height: 52px !important;
    min-height: 52px !important;
    text-align: center !important;
    color: var(--msm-primary, #2563eb) !important;
    border: 2px solid #93c5fd !important;
    border-radius: 12px !important;
    background: #eff6ff !important;
    letter-spacing: 0.5px !important;
  }
  body.msm-legacy-modern .msm-expense-hero-amount:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
  }
  body.msm-legacy-modern #add_expense_form {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.msm-legacy-modern #add_expense_form .msm-expense-actions-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 16px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern #add_expense_form .msm-expense-actions-bar .btn {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25) !important;
  }
}
body.msm-legacy-modern.msm-report-modern,
body.msm-legacy-modern.msm-admin-modern {
  background: var(--msm-bg);
}

body.msm-legacy-modern.msm-report-modern .content-wrapper,
body.msm-legacy-modern.msm-admin-modern .content-wrapper {
  background: var(--msm-bg);
  display: block !important;
  min-width: 0;
  width: auto;
}

body.msm-legacy-modern.msm-report-modern .content-header,
body.msm-legacy-modern.msm-admin-modern .content-header {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: space-between;
  padding: 20px 20px 12px;
}

body.msm-legacy-modern.msm-report-modern .content-header > h1,
body.msm-legacy-modern.msm-admin-modern .content-header > h1 {
  color: var(--msm-text);
  display: inline-flex;
  flex: 1 1 auto;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
}

body.msm-legacy-modern.msm-report-modern .content-header .breadcrumb,
body.msm-legacy-modern.msm-admin-modern .content-header .breadcrumb {
  background: transparent;
  flex: 0 0 auto;
  margin: 0 0 2px auto;
  padding: 0;
}

body.msm-legacy-modern.msm-report-modern .content,
body.msm-legacy-modern.msm-admin-modern .content {
  padding: 0 20px 20px;
  overflow-x: hidden;
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern.msm-report-modern .content > .row,
body.msm-legacy-modern.msm-admin-modern .content > .row {
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern.msm-report-modern .content > .row > [class*=col-],
body.msm-legacy-modern.msm-admin-modern .content > .row > [class*=col-] {
  min-width: 0;
}

body.msm-legacy-modern.msm-report-modern .content > .row > [class*=col-]:has(> .box),
body.msm-legacy-modern.msm-report-modern .content > .row > [class*=col-]:has(> .nav-tabs-custom),
body.msm-legacy-modern.msm-report-modern .content > .row > [class*=col-]:has(> .pos-tab-container),
body.msm-legacy-modern.msm-admin-modern .content > .row > [class*=col-]:has(> .box),
body.msm-legacy-modern.msm-admin-modern .content > .row > [class*=col-]:has(> .nav-tabs-custom),
body.msm-legacy-modern.msm-admin-modern .content > .row > [class*=col-]:has(> .pos-tab-container) {
  float: none;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body.msm-legacy-modern.msm-report-modern .content > .box,
body.msm-legacy-modern.msm-admin-modern .content > .box,
body.msm-legacy-modern.msm-report-modern .content .nav-tabs-custom,
body.msm-legacy-modern.msm-admin-modern .content .nav-tabs-custom,
body.msm-legacy-modern.msm-report-modern .content .pos-tab-container,
body.msm-legacy-modern.msm-admin-modern .content .pos-tab-container {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern.msm-report-modern .content .box,
body.msm-legacy-modern.msm-admin-modern .content .box {
  margin-bottom: 18px;
}

body.msm-legacy-modern.msm-report-modern .content .box-header,
body.msm-legacy-modern.msm-admin-modern .content .box-header,
body.msm-legacy-modern.msm-report-modern .content .nav-tabs-custom > .nav-tabs,
body.msm-legacy-modern.msm-admin-modern .content .nav-tabs-custom > .nav-tabs {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-bottom: 1px solid var(--msm-border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: space-between;
  padding: 12px 16px;
}

body.msm-legacy-modern.msm-report-modern .content .box-title,
body.msm-legacy-modern.msm-admin-modern .content .box-title {
  color: var(--msm-text);
  flex: 1 1 auto;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

body.msm-legacy-modern.msm-report-modern .content-header > h1 small,
body.msm-legacy-modern.msm-admin-modern .content-header > h1 small {
  align-self: flex-end;
  color: var(--msm-text-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  margin-left: 10px;
}

body.msm-legacy-modern.msm-report-modern .content .box-tools,
body.msm-legacy-modern.msm-admin-modern .content .box-tools {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  position: static;
}

body.msm-legacy-modern.msm-report-modern .content .box-tools .btn,
body.msm-legacy-modern.msm-admin-modern .content .box-tools .btn,
body.msm-legacy-modern.msm-report-modern .content .dt-buttons .dt-button,
body.msm-legacy-modern.msm-admin-modern .content .dt-buttons .dt-button,
body.msm-legacy-modern.msm-report-modern .content .buttons-html5,
body.msm-legacy-modern.msm-admin-modern .content .buttons-html5,
body.msm-legacy-modern.msm-report-modern .content .buttons-print,
body.msm-legacy-modern.msm-admin-modern .content .buttons-print,
body.msm-legacy-modern.msm-report-modern .content .buttons-colvis,
body.msm-legacy-modern.msm-admin-modern .content .buttons-colvis {
  align-items: center;
  background: var(--msm-primary);
  border: 1px solid var(--msm-primary);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.2);
  color: #fff !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  min-height: 38px;
  padding: 9px 14px;
  text-decoration: none;
}

body.msm-legacy-modern.msm-report-modern .content .box-tools .btn:hover,
body.msm-legacy-modern.msm-admin-modern .content .box-tools .btn:hover,
body.msm-legacy-modern.msm-report-modern .content .box-tools .btn:focus,
body.msm-legacy-modern.msm-admin-modern .content .box-tools .btn:focus,
body.msm-legacy-modern.msm-report-modern .content .dt-buttons .dt-button:hover,
body.msm-legacy-modern.msm-admin-modern .content .dt-buttons .dt-button:hover,
body.msm-legacy-modern.msm-report-modern .content .dt-buttons .dt-button:focus,
body.msm-legacy-modern.msm-admin-modern .content .dt-buttons .dt-button:focus {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff !important;
  transform: translateY(-1px);
}

body.msm-legacy-modern.msm-report-modern #accordion.box > .box-header,
body.msm-legacy-modern.msm-admin-modern #accordion.box > .box-header {
  background: var(--msm-primary-soft);
  border-bottom-color: #dbe7ff;
}

body.msm-legacy-modern.msm-report-modern #accordion.box > .box-header .box-title a,
body.msm-legacy-modern.msm-admin-modern #accordion.box > .box-header .box-title a {
  align-items: center;
  color: var(--msm-primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 8px;
  text-decoration: none;
}

body.msm-legacy-modern.msm-report-modern .content .box-body,
body.msm-legacy-modern.msm-admin-modern .content .box-body,
body.msm-legacy-modern.msm-report-modern .content .nav-tabs-custom > .tab-content,
body.msm-legacy-modern.msm-admin-modern .content .nav-tabs-custom > .tab-content {
  background: var(--msm-surface);
  padding: 16px;
}

body.msm-legacy-modern.msm-report-modern .content .form-group,
body.msm-legacy-modern.msm-admin-modern .content .form-group {
  margin-bottom: 14px;
}

body.msm-legacy-modern.msm-report-modern .content .form-group > label,
body.msm-legacy-modern.msm-admin-modern .content .form-group > label {
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

body.msm-legacy-modern.msm-report-modern .content .form-control,
body.msm-legacy-modern.msm-admin-modern .content .form-control,
body.msm-legacy-modern.msm-report-modern .content .select2-container--default .select2-selection--single,
body.msm-legacy-modern.msm-admin-modern .content .select2-container--default .select2-selection--single {
  border-radius: 12px;
  box-shadow: none;
  min-height: 40px;
}

body.msm-legacy-modern.msm-report-modern .content .select2-container--default .select2-selection--single .select2-selection__rendered,
body.msm-legacy-modern.msm-admin-modern .content .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}

body.msm-legacy-modern.msm-report-modern .content .select2-container--default .select2-selection--single .select2-selection__arrow,
body.msm-legacy-modern.msm-admin-modern .content .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper {
  margin-top: 0;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper > .row:first-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: space-between;
  margin: 0 0 12px;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-],
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper > .row:first-child > [class*=col-] {
  float: none;
  width: auto;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .dataTables_length,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .dataTables_filter,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper > .row:first-child .dataTables_length,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper > .row:first-child .dataTables_filter {
  margin: 0;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .dataTables_length label,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper > .row:first-child .dataTables_length label {
  align-items: center;
  color: var(--msm-text-soft);
  display: inline-flex;
  gap: 8px;
  margin: 0;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .dataTables_filter label,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper > .row:first-child .dataTables_filter label {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin: 0;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper .dataTables_scroll,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper .dataTables_scroll {
  border: 1px solid var(--msm-border);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_scrollHead,
body.msm-legacy-modern.msm-report-modern .content .dataTables_scrollBody,
body.msm-legacy-modern.msm-report-modern .content .dataTables_scrollFoot,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_scrollHead,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_scrollBody,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_scrollFoot {
  max-width: 100%;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_scrollBody,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_scrollBody {
  overflow: auto !important;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper table.dataTable,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper table.dataTable thead th,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper table.dataTable thead th {
  background: #f8faff;
  color: #4b5c7a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 14px 12px;
  vertical-align: middle;
  white-space: normal;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper table.dataTable tbody td,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper table.dataTable tbody td {
  color: var(--msm-text);
  font-size: 14px;
  padding: 14px 12px;
  vertical-align: middle;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper table.dataTable tbody tr:nth-child(even),
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper table.dataTable tbody tr:nth-child(even) {
  background: #fbfcff;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper .dataTables_info,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper .dataTables_info {
  color: var(--msm-text-soft);
  font-size: 13px;
  margin-top: 10px;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper .dataTables_paginate,
body.msm-legacy-modern.msm-admin-modern .content .dataTables_wrapper .dataTables_paginate {
  margin-top: 12px;
}

body.msm-legacy-modern.msm-report-modern .content .nav-tabs-custom > .nav-tabs > li > a,
body.msm-legacy-modern.msm-admin-modern .content .nav-tabs-custom > .nav-tabs > li > a {
  color: var(--msm-text-soft);
  font-weight: 800;
  padding: 12px 18px;
}

body.msm-legacy-modern.msm-report-modern .content .nav-tabs-custom > .nav-tabs > li.active > a,
body.msm-legacy-modern.msm-admin-modern .content .nav-tabs-custom > .nav-tabs > li.active > a {
  color: var(--msm-primary);
}

body.msm-legacy-modern.msm-admin-modern .content .msm-invoice-tabs > .nav-tabs {
  align-items: flex-end;
  gap: 26px;
  justify-content: flex-start;
  min-height: 50px;
  padding: 0 22px;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-invoice-tabs > .nav-tabs > li > a {
  min-height: 50px;
  padding: 12px 0 11px;
}

body.msm-legacy-modern.msm-report-modern .content .pos-tab-container,
body.msm-legacy-modern.msm-admin-modern .content .pos-tab-container {
  align-items: stretch;
  display: flex;
  overflow: hidden;
}

body.msm-legacy-modern.msm-report-modern .content .pos-tab-menu,
body.msm-legacy-modern.msm-admin-modern .content .pos-tab-menu {
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7ff 100%);
  border-right: 1px solid var(--msm-border);
  flex: 0 0 248px;
  float: none;
  max-width: 248px;
  min-height: 100%;
  padding: 8px 0;
  width: 248px;
}

body.msm-legacy-modern.msm-report-modern .content .pos-tab-menu .list-group,
body.msm-legacy-modern.msm-admin-modern .content .pos-tab-menu .list-group {
  border: 0;
  border-radius: 0;
  margin: 0;
}

body.msm-legacy-modern.msm-report-modern .content .pos-tab-menu .list-group-item,
body.msm-legacy-modern.msm-admin-modern .content .pos-tab-menu .list-group-item {
  border: 0;
  border-radius: 0;
  color: var(--msm-text-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  padding: 13px 12px;
}

body.msm-legacy-modern.msm-report-modern .content .pos-tab-menu .list-group-item.active,
body.msm-legacy-modern.msm-admin-modern .content .pos-tab-menu .list-group-item.active {
  background: linear-gradient(90deg, rgba(40, 86, 232, 0.12) 0%, rgba(40, 86, 232, 0.04) 100%);
  color: var(--msm-primary);
}

body.msm-legacy-modern.msm-report-modern .content .pos-tab,
body.msm-legacy-modern.msm-admin-modern .content .pos-tab {
  background: var(--msm-surface);
  flex: 1 1 auto;
  float: none;
  min-height: 100%;
  min-width: 0;
  padding: 16px;
  width: auto;
}

body.msm-legacy-modern.msm-report-modern .content .pos-tab .box,
body.msm-legacy-modern.msm-admin-modern .content .pos-tab .box {
  box-shadow: none;
}

body.msm-legacy-modern.msm-report-modern .content .btn,
body.msm-legacy-modern.msm-admin-modern .content .btn {
  border-radius: 12px;
}

body.msm-legacy-modern.msm-report-modern .content .form-actions,
body.msm-legacy-modern.msm-admin-modern .content .form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.msm-legacy-modern.msm-report-modern .content .table-responsive,
body.msm-legacy-modern.msm-admin-modern .content .table-responsive {
  border-radius: 16px;
  max-width: 100%;
  overflow-x: auto;
}

body.msm-legacy-modern.msm-report-modern .content .pagination,
body.msm-legacy-modern.msm-admin-modern .content .pagination {
  margin: 0;
}

body.msm-legacy-modern.msm-report-modern .content .pagination > li > a,
body.msm-legacy-modern.msm-report-modern .content .pagination > li > span,
body.msm-legacy-modern.msm-admin-modern .content .pagination > li > a,
body.msm-legacy-modern.msm-admin-modern .content .pagination > li > span {
  border-radius: 10px;
  margin: 0 4px 0 0;
}

body.msm-legacy-modern.msm-report-modern .content .pagination > li.active > a,
body.msm-legacy-modern.msm-report-modern .content .pagination > li.active > span,
body.msm-legacy-modern.msm-admin-modern .content .pagination > li.active > a,
body.msm-legacy-modern.msm-admin-modern .content .pagination > li.active > span {
  background: var(--msm-primary);
  border-color: var(--msm-primary);
}

body.msm-legacy-modern.msm-admin-modern .content-header.msm-user-management-header {
  padding-bottom: 10px;
}

body.msm-legacy-modern.msm-admin-modern .content-header.msm-user-management-header > h1 {
  font-size: 24px;
}

body.msm-legacy-modern.msm-admin-modern .content-header.msm-user-management-header > h1 small {
  display: inline-flex;
  margin-left: 10px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-page > .box,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-page .box,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-page .nav-tabs-custom {
  border-radius: 12px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list > .box > .box-header {
  min-height: 54px;
  padding: 10px 14px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list > .box > .box-header .box-title {
  font-size: 18px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list > .box > .box-body {
  padding: 12px 14px 14px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .dataTables_wrapper > .row:first-child {
  margin-bottom: 10px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-sales-table-toolbar:not(.box-tools) {
  margin: -12px -14px 14px;
  width: calc(100% + 28px);
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-sales-table-toolbar-right > .btn {
  min-height: 38px;
  padding-left: 14px;
  padding-right: 14px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-buttons {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-buttons .btn,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-buttons .dt-button,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-buttons .msm-sales-table-btn {
  border-radius: 8px !important;
  min-height: 38px;
  padding: 9px 14px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-dropdown {
  display: inline-flex;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-menu {
  border: 1px solid #dbe7ff;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  margin-top: 8px;
  min-width: 190px;
  padding: 6px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-menu > li {
  margin: 0;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-menu .msm-user-management-export-menu-item {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: #334155 !important;
  display: flex !important;
  font-size: 12px;
  font-weight: 850;
  gap: 8px;
  justify-content: flex-start;
  min-height: 34px;
  padding: 8px 10px !important;
  width: 100%;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-menu .msm-user-management-export-menu-item:hover,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .msm-user-management-export-menu .msm-user-management-export-menu-item:focus {
  background: #eff6ff !important;
  color: #2563eb !important;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .dataTables_wrapper:not(.msm-modern-controls-moved) > .row:first-child .dataTables_length,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .dataTables_wrapper:not(.msm-modern-controls-moved) > .row:first-child .dataTables_filter {
  display: flex !important;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .dataTables_wrapper > .row:first-child .dataTables_filter input {
  min-width: 230px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list .table-responsive {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list table.dataTable > thead > tr > th,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-list table.dataTable > thead > tr > td {
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  padding: 11px 10px;
  text-transform: uppercase;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list table.dataTable > tbody > tr > td {
  color: #1f2a44;
  font-size: 13px;
  line-height: 1.35;
  padding: 10px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-list table.dataTable tbody .btn {
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  margin: 1px 2px 1px 0;
  min-height: 27px;
  padding: 6px 8px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-form > form > .row,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-form > .box {
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-form .box-body {
  padding: 18px 18px 10px;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-form .btn-big,
body.msm-legacy-modern.msm-admin-modern .msm-role-permissions-page button[type=submit] {
  border-radius: 10px;
  font-weight: 900;
  min-height: 40px;
  min-width: 110px;
  padding: 10px 18px;
}

body.msm-legacy-modern.msm-admin-modern .msm-role-permissions-page .check_group {
  background: #fbfdff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin: 0 0 12px;
  padding: 12px 10px;
}

body.msm-legacy-modern.msm-admin-modern .msm-role-permissions-page .check_group h4 {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  margin: 6px 0 0;
}

body.msm-legacy-modern.msm-admin-modern .msm-role-permissions-page .check_group label,
body.msm-legacy-modern.msm-admin-modern .msm-user-management-form .checkbox label {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

body.msm-legacy-modern.msm-admin-modern .msm-role-permissions-page hr {
  border-top-color: #e2e8f0;
  margin: 12px 0;
}

body.msm-legacy-modern.msm-admin-modern .msm-user-management-profile .box-profile .profile-user-img {
  border: 3px solid #dbe7ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

body.msm-legacy-modern .modal-dialog.msm-user-management-modal .modal-content {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

body.msm-legacy-modern .modal-dialog.msm-user-management-modal .modal-header,
body.msm-legacy-modern .modal-dialog.msm-user-management-modal .modal-footer {
  background: #f8faff;
  border-color: #e2e8f0;
}

body.msm-legacy-modern .modal-dialog.msm-user-management-modal .modal-title {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 991px) {
  body.msm-legacy-modern.msm-report-modern .content,
  body.msm-legacy-modern.msm-admin-modern .content {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.msm-legacy-modern.msm-report-modern .content .pos-tab-container,
  body.msm-legacy-modern.msm-admin-modern .content .pos-tab-container {
    display: block;
  }
  body.msm-legacy-modern.msm-report-modern .content .pos-tab-menu,
  body.msm-legacy-modern.msm-admin-modern .content .pos-tab-menu {
    border-bottom: 1px solid var(--msm-border);
    border-right: 0;
    max-width: none;
    width: 100%;
  }
  body.msm-legacy-modern.msm-report-modern .content .pos-tab,
  body.msm-legacy-modern.msm-admin-modern .content .pos-tab {
    width: 100%;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-report-tabs .nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 6px 4px !important;
    gap: 8px !important;
    border-bottom: 2px solid var(--msm-border, #e2e8f0) !important;
    background: #ffffff !important;
  }
  body.msm-legacy-modern .msm-report-tabs .nav-tabs::-webkit-scrollbar {
    display: none !important;
  }
  body.msm-legacy-modern .msm-report-tabs .nav-tabs > li {
    display: inline-block !important;
    float: none !important;
    flex: 0 0 auto !important;
  }
  body.msm-legacy-modern .msm-report-tabs .nav-tabs > li > a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    background: #f8fafc !important;
    color: var(--msm-text, #334155) !important;
    margin-right: 0 !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern .msm-report-tabs .nav-tabs > li.active > a,
  body.msm-legacy-modern .msm-report-tabs .nav-tabs > li > a:focus,
  body.msm-legacy-modern .msm-report-tabs .nav-tabs > li > a:hover {
    background: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
    border-color: var(--msm-primary, #047857) !important;
  }
  body.msm-legacy-modern #pl_data_div > .col-xs-6,
  body.msm-legacy-modern .content > .row > .col-xs-6:has(.total_purchase),
  body.msm-legacy-modern .content > .row > .col-xs-6:has(.total_sell),
  body.msm-legacy-modern section.content:has(#purchase_sell_location_filter) .col-xs-6 {
    width: 100% !important;
    float: none !important;
    margin-bottom: 14px !important;
  }
  body.msm-legacy-modern .msm-report-kpi-container {
    padding: 0 !important;
    margin-bottom: 16px !important;
  }
  body.msm-legacy-modern .msm-report-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
  }
}
@media (max-width: 767px) and (max-width: 480px) {
  body.msm-legacy-modern .msm-report-kpi-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-report-kpi-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 16px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
    color: #0f172a !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap {
    width: 46px !important;
    height: 46px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 19px !important;
    flex-shrink: 0 !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-blue {
    background: #eff6ff !important;
    color: #2563eb !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-green {
    background: #ecfdf5 !important;
    color: #059669 !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-red {
    background: #fef2f2 !important;
    color: #dc2626 !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-purple {
    background: #f5f3ff !important;
    color: #7c3aed !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-orange {
    background: #fff7ed !important;
    color: #ea580c !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-body {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-title {
    font-size: 11.5px !important;
    font-weight: 750 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    display: block !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-val {
    margin: 3px 0 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-hint {
    font-size: 11px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    display: block !important;
    margin-top: 1px !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    font-size: 10.5px !important;
    font-weight: 750 !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-badge.msm-badge-up {
    background: #dcfce7 !important;
    color: #15803d !important;
  }
  body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-badge.msm-badge-down {
    background: #fee2e2 !important;
    color: #b91c1c !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table),
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table),
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table),
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table),
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table),
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table),
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table),
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table),
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table),
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table),
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table),
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table),
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table),
  body.msm-legacy-modern body.msm-report-modern .table-responsive,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) thead,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) thead,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) thead,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) thead,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) .dataTables_scrollHead,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) thead,
  body.msm-legacy-modern body.msm-report-modern .table-responsive .dataTables_scrollHead,
  body.msm-legacy-modern body.msm-report-modern .table-responsive thead,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper .dataTables_scrollHead,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper thead {
    display: table-header-group !important;
    visibility: visible !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) thead tr,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) .dataTables_scrollHead tr,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) thead tr,
  body.msm-legacy-modern body.msm-report-modern .table-responsive .dataTables_scrollHead tr,
  body.msm-legacy-modern body.msm-report-modern .table-responsive thead tr,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper .dataTables_scrollHead tr,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper thead tr {
    display: table-row !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) thead tr th,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) .dataTables_scrollHead tr th,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) thead tr th,
  body.msm-legacy-modern body.msm-report-modern .table-responsive .dataTables_scrollHead tr th,
  body.msm-legacy-modern body.msm-report-modern .table-responsive thead tr th,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper .dataTables_scrollHead tr th,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper thead tr th {
    display: table-cell !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 10px 12px !important;
    white-space: nowrap !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: 1px solid #f1f5f9 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) thead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) thead tr th:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive thead tr th:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper .dataTables_scrollHead tr th:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper thead tr th:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 3 !important;
    background: #f1f5f9 !important;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06) !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table {
    display: table !important;
    width: 100% !important;
    min-width: 720px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tbody,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tbody,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tbody,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tbody,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tbody,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tbody,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tbody {
    display: table-row-group !important;
    padding: 0 !important;
    gap: 0 !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tbody > tr,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tbody > tr,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tbody > tr,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tbody > tr,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tbody > tr,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tbody > tr {
    display: table-row !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    position: static !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tbody > tr:nth-child(even),
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tbody > tr:nth-child(even),
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tbody > tr:nth-child(even) {
    background: #f8fafc !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tbody > tr:hover,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tbody > tr:hover,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tbody > tr:hover,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tbody > tr:hover,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tbody > tr:hover,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tbody > tr:hover {
    background: #f1f5f9 !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tbody > tr > td,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tbody > tr > td,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tbody > tr > td,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tbody > tr > td,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tbody > tr > td,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tbody > tr > td {
    display: table-cell !important;
    padding: 9px 12px !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: 1px solid #f8fafc !important;
    font-size: 12.5px !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    color: #1e293b !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tbody > tr > td:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tbody > tr > td:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tbody > tr > td:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tbody > tr > td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    background: inherit !important;
    font-weight: 600 !important;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06) !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tfoot,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tfoot,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tfoot,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tfoot,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tfoot,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tfoot,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tfoot {
    display: table-footer-group !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tfoot tr,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tfoot tr,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tfoot tr,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tfoot tr,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tfoot tr,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tfoot tr {
    display: table-row !important;
    background: #f1f5f9 !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tfoot tr td, body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tfoot tr th,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tfoot tr td,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tfoot tr th,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tfoot tr td,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tfoot tr th,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tfoot tr td,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tfoot tr th,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tfoot tr td,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tfoot tr th,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tfoot tr td,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tfoot tr th {
    display: table-cell !important;
    padding: 10px 12px !important;
    font-size: 12.5px !important;
    font-weight: 750 !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1 !important;
    white-space: nowrap !important;
    border-top: 2px solid #cbd5e1 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tfoot tr td:first-child, body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tfoot tr td:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) table.table tfoot tr th:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tfoot tr td:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive table.table tfoot tr th:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tfoot tr td:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.dataTable tfoot tr th:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tfoot tr td:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper table.table tfoot tr th:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 1 !important;
    background: #e2e8f0 !important;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06) !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) #product_sell_report_table,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) #product_sell_report_with_purchase_table,
  body.msm-legacy-modern body.msm-report-modern .table-responsive #product_sell_report_table,
  body.msm-legacy-modern body.msm-report-modern .table-responsive #product_sell_report_with_purchase_table,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper #product_sell_report_table,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper #product_sell_report_with_purchase_table {
    min-width: 1080px !important;
  }
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_report_with_purchase_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#product_sell_grouped_report_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_products_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_categories_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_brands_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_locations_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_invoice_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_date_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_customer_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_by_day_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#profit_loss_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) #product_sell_report_table th:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern .table-responsive:has(#purchase_sell_table) #product_sell_report_table td:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive #product_sell_report_table th:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern body.msm-report-modern .table-responsive #product_sell_report_table td:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper #product_sell_report_table th:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern body.msm-report-modern .dataTables_wrapper #product_sell_report_table td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
    background: #fff !important;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06) !important;
  }
  body.msm-legacy-modern #product_sell_report_table > thead > tr > th:first-child,
  body.msm-legacy-modern #product_sell_report_table th:first-child,
  body.msm-legacy-modern #product_sell_report_table > tbody > tr > td:first-child,
  body.msm-legacy-modern #product_sell_report_table td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
    background: #fff !important;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.06) !important;
  }
  body.msm-legacy-modern .dt-buttons,
  body.msm-legacy-modern .dataTables_wrapper .dt-buttons,
  body.msm-legacy-modern .content .dt-buttons,
  body.msm-legacy-modern .msm-sales-table-toolbar .dt-buttons {
    display: none !important;
  }
  body.msm-legacy-modern .col-md-3.col-md-offset-7.col-xs-6,
  body.msm-legacy-modern .col-md-2.col-xs-6 {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-bottom: 8px !important;
  }
  body.msm-legacy-modern .col-md-3.col-md-offset-7.col-xs-6 .form-group, body.msm-legacy-modern .col-md-3.col-md-offset-7.col-xs-6 .input-group, body.msm-legacy-modern .col-md-3.col-md-offset-7.col-xs-6 button,
  body.msm-legacy-modern .col-md-2.col-xs-6 .form-group,
  body.msm-legacy-modern .col-md-2.col-xs-6 .input-group,
  body.msm-legacy-modern .col-md-2.col-xs-6 button {
    width: 100% !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group {
    border-radius: 12px !important;
    padding: 12px !important;
    margin-bottom: 16px !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-1, body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    vertical-align: middle !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-1 h4 {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--msm-primary, #047857) !important;
    display: inline-block !important;
    padding-right: 12px !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 {
    float: right !important;
    margin-top: -2px !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 .checkbox {
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 .checkbox label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--msm-muted, #64748b) !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 {
    width: 100% !important;
    clear: both !important;
    padding-top: 10px !important;
    margin-top: 8px !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 {
    width: 100% !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 .checkbox {
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
  }
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 .checkbox label {
    font-size: 13px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    cursor: pointer !important;
  }
}
body.msm-legacy-modern .msm-report-tabs,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs {
  background: var(--msm-surface, #ffffff) !important;
  border: 1px solid var(--msm-border, #e2e8f0) !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden !important;
  margin-top: 16px !important;
  margin-bottom: 24px !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent !important;
  padding: 10px 14px !important;
  gap: 8px !important;
  border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  margin: 0 !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs::-webkit-scrollbar,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs::-webkit-scrollbar {
  height: 5px !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs::-webkit-scrollbar-track,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs::-webkit-scrollbar-track {
  background: transparent !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs::-webkit-scrollbar-thumb,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3) !important;
  border-radius: 10px !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs::-webkit-scrollbar-thumb:hover,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.5) !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li {
  display: inline-flex !important;
  float: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  padding: 8px 16px !important;
  border-radius: 24px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border: 1px solid var(--msm-border, #e2e8f0) !important;
  background: #f8fafc !important;
  color: var(--msm-text, #334155) !important;
  margin: 0 !important;
  gap: 8px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a i, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a .fa, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a .fas,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a i,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a .fa,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a .fas {
  font-size: 13px !important;
  color: #64748b !important;
  transition: color 0.2s ease !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a:hover,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a:hover i, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a:hover .fa, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a:hover .fas,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a:hover i,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a:hover .fa,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a:hover .fas {
  color: var(--msm-primary, #2563eb) !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li > a:focus,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li > a:focus {
  outline: none !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a:focus, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a:hover,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a:focus,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a:hover {
  background: var(--msm-primary, #2563eb) !important;
  color: #ffffff !important;
  border-color: var(--msm-primary, #2563eb) !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25) !important;
}
body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a i, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a .fa, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a .fas, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a:focus i, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a:focus .fa, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a:focus .fas, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a:hover i, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a:hover .fa, body.msm-legacy-modern .msm-report-tabs > .nav-tabs > li.active > a:hover .fas,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a i,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a .fa,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a .fas,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a:focus i,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a:focus .fa,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a:focus .fas,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a:hover i,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a:hover .fa,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .nav-tabs > li.active > a:hover .fas {
  color: #ffffff !important;
}
body.msm-legacy-modern .msm-report-tabs > .tab-content,
body.msm-legacy-modern .nav-tabs-custom.msm-report-tabs > .tab-content {
  padding: 20px !important;
  background: #ffffff !important;
  border-radius: 0 0 16px 16px !important;
}

body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px 16px !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-],
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-],
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-],
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-],
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-],
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-] {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length),
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-2,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length),
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length),
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-2,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length),
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length),
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-2,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length),
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 {
  flex: 0 0 auto !important;
  justify-content: flex-start !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length {
  margin: 0 !important;
  float: none !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin: 0 !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label select,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label select,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label select,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label select,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label select,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label select,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label select,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label select,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label select,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label select,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label select,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label select {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 34px !important;
  padding: 4px 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label select:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label select:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label select:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label select:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label select:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label select:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label select:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label select:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_length) .dataTables_length label select:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-2 .dataTables_length label select:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_length) .dataTables_length label select:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-2 .dataTables_length label select:focus {
  border-color: var(--msm-primary, #2563eb) !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons),
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons),
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons),
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons),
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons),
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons),
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 {
  flex: 1 1 auto !important;
  justify-content: center !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  float: none !important;
  margin: 0 !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
  margin: 0 !important;
  float: none !important;
  transition: all 0.15s ease !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button i, body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fa, body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn .fas {
  font-size: 12px !important;
  color: #64748b !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover {
  background: #f8fafc !important;
  border-color: var(--msm-primary, #2563eb) !important;
  color: var(--msm-primary, #2563eb) !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12) !important;
  transform: none !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover i, body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fa, body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover i,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover .fa,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover i,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover .fa,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:hover .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:hover .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:hover .fas,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover i,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover .fa,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:hover .fas {
  color: var(--msm-primary, #2563eb) !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:active, body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:active,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:active,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:active,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:active,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:active,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:active,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:active,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:active,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:active,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:active,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:active,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:active,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:active,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:active,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:active,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:active,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:active,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:active,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .dt-button:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:active,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-7 .dt-buttons .btn:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:active,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .dt-button:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:active,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dt-buttons) .dt-buttons .btn:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:active,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .dt-button:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:active,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-7 .dt-buttons .btn:focus {
  outline: none !important;
  border-color: var(--msm-primary, #2563eb) !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter),
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-3,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter),
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter),
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-3,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter),
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter),
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-3,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter),
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 {
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter {
  margin: 0 !important;
  float: none !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin: 0 !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label input,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label input,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label input,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label input,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label input,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label input {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 4px 12px !important;
  font-size: 13px !important;
  color: #1e293b !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
  width: 180px !important;
  max-width: 200px !important;
  transition: all 0.2s ease !important;
}
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label input:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input:focus,
body.msm-legacy-modern.msm-report-modern .content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label input:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label input:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input:focus,
body.msm-legacy-modern .msm-report-tabs .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label input:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row:first-child .col-sm-3 .dataTables_filter label input:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 > [class*=col-]:has(.dataTables_filter) .dataTables_filter label input:focus,
body.msm-legacy-modern .tab-content .dataTables_wrapper > .row.margin-bottom-20 .col-sm-3 .dataTables_filter label input:focus {
  border-color: var(--msm-primary, #2563eb) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
  width: 210px !important;
}

body.msm-legacy-modern .msm-report-tabs .tab-pane .table-responsive,
body.msm-legacy-modern .msm-report-tabs .tab-content .table-responsive {
  border-radius: 12px !important;
  border: 1px solid var(--msm-border, #e2e8f0) !important;
  background: #ffffff !important;
  overflow-x: auto !important;
  margin-bottom: 16px !important;
}
body.msm-legacy-modern #profit_by_products_table,
body.msm-legacy-modern #profit_by_categories_table,
body.msm-legacy-modern #profit_by_brands_table,
body.msm-legacy-modern #profit_by_locations_table,
body.msm-legacy-modern #profit_by_invoice_table,
body.msm-legacy-modern #profit_by_date_table,
body.msm-legacy-modern #profit_by_customer_table,
body.msm-legacy-modern #profit_by_day_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  margin-bottom: 0 !important;
}
body.msm-legacy-modern #profit_by_products_table thead th,
body.msm-legacy-modern #profit_by_categories_table thead th,
body.msm-legacy-modern #profit_by_brands_table thead th,
body.msm-legacy-modern #profit_by_locations_table thead th,
body.msm-legacy-modern #profit_by_invoice_table thead th,
body.msm-legacy-modern #profit_by_date_table thead th,
body.msm-legacy-modern #profit_by_customer_table thead th,
body.msm-legacy-modern #profit_by_day_table thead th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 12px 18px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  border-top: none !important;
}
body.msm-legacy-modern #profit_by_products_table tbody td,
body.msm-legacy-modern #profit_by_categories_table tbody td,
body.msm-legacy-modern #profit_by_brands_table tbody td,
body.msm-legacy-modern #profit_by_locations_table tbody td,
body.msm-legacy-modern #profit_by_invoice_table tbody td,
body.msm-legacy-modern #profit_by_date_table tbody td,
body.msm-legacy-modern #profit_by_customer_table tbody td,
body.msm-legacy-modern #profit_by_day_table tbody td {
  padding: 12px 18px !important;
  vertical-align: middle !important;
  border-top: 1px solid #f1f5f9 !important;
  font-size: 13.5px !important;
  color: #1e293b !important;
}
body.msm-legacy-modern #profit_by_products_table thead th:first-child,
body.msm-legacy-modern #profit_by_products_table tbody td:first-child,
body.msm-legacy-modern #profit_by_products_table tfoot td:first-child,
body.msm-legacy-modern #profit_by_categories_table thead th:first-child,
body.msm-legacy-modern #profit_by_categories_table tbody td:first-child,
body.msm-legacy-modern #profit_by_categories_table tfoot td:first-child,
body.msm-legacy-modern #profit_by_brands_table thead th:first-child,
body.msm-legacy-modern #profit_by_brands_table tbody td:first-child,
body.msm-legacy-modern #profit_by_brands_table tfoot td:first-child,
body.msm-legacy-modern #profit_by_locations_table thead th:first-child,
body.msm-legacy-modern #profit_by_locations_table tbody td:first-child,
body.msm-legacy-modern #profit_by_locations_table tfoot td:first-child,
body.msm-legacy-modern #profit_by_invoice_table thead th:first-child,
body.msm-legacy-modern #profit_by_invoice_table tbody td:first-child,
body.msm-legacy-modern #profit_by_invoice_table tfoot td:first-child,
body.msm-legacy-modern #profit_by_date_table thead th:first-child,
body.msm-legacy-modern #profit_by_date_table tbody td:first-child,
body.msm-legacy-modern #profit_by_date_table tfoot td:first-child,
body.msm-legacy-modern #profit_by_customer_table thead th:first-child,
body.msm-legacy-modern #profit_by_customer_table tbody td:first-child,
body.msm-legacy-modern #profit_by_customer_table tfoot td:first-child,
body.msm-legacy-modern #profit_by_day_table thead th:first-child,
body.msm-legacy-modern #profit_by_day_table tbody td:first-child,
body.msm-legacy-modern #profit_by_day_table tfoot td:first-child {
  width: 70% !important;
  text-align: left !important;
  font-weight: 600 !important;
}
body.msm-legacy-modern #profit_by_products_table thead th:nth-child(2),
body.msm-legacy-modern #profit_by_products_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_products_table tfoot td:nth-child(2),
body.msm-legacy-modern #profit_by_products_table .gross-profit,
body.msm-legacy-modern #profit_by_products_table .footer_total,
body.msm-legacy-modern #profit_by_categories_table thead th:nth-child(2),
body.msm-legacy-modern #profit_by_categories_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_categories_table tfoot td:nth-child(2),
body.msm-legacy-modern #profit_by_categories_table .gross-profit,
body.msm-legacy-modern #profit_by_categories_table .footer_total,
body.msm-legacy-modern #profit_by_brands_table thead th:nth-child(2),
body.msm-legacy-modern #profit_by_brands_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_brands_table tfoot td:nth-child(2),
body.msm-legacy-modern #profit_by_brands_table .gross-profit,
body.msm-legacy-modern #profit_by_brands_table .footer_total,
body.msm-legacy-modern #profit_by_locations_table thead th:nth-child(2),
body.msm-legacy-modern #profit_by_locations_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_locations_table tfoot td:nth-child(2),
body.msm-legacy-modern #profit_by_locations_table .gross-profit,
body.msm-legacy-modern #profit_by_locations_table .footer_total,
body.msm-legacy-modern #profit_by_invoice_table thead th:nth-child(2),
body.msm-legacy-modern #profit_by_invoice_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_invoice_table tfoot td:nth-child(2),
body.msm-legacy-modern #profit_by_invoice_table .gross-profit,
body.msm-legacy-modern #profit_by_invoice_table .footer_total,
body.msm-legacy-modern #profit_by_date_table thead th:nth-child(2),
body.msm-legacy-modern #profit_by_date_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_date_table tfoot td:nth-child(2),
body.msm-legacy-modern #profit_by_date_table .gross-profit,
body.msm-legacy-modern #profit_by_date_table .footer_total,
body.msm-legacy-modern #profit_by_customer_table thead th:nth-child(2),
body.msm-legacy-modern #profit_by_customer_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_customer_table tfoot td:nth-child(2),
body.msm-legacy-modern #profit_by_customer_table .gross-profit,
body.msm-legacy-modern #profit_by_customer_table .footer_total,
body.msm-legacy-modern #profit_by_day_table thead th:nth-child(2),
body.msm-legacy-modern #profit_by_day_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_day_table tfoot td:nth-child(2),
body.msm-legacy-modern #profit_by_day_table .gross-profit,
body.msm-legacy-modern #profit_by_day_table .footer_total {
  width: 30% !important;
  text-align: right !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  font-weight: 750 !important;
}
body.msm-legacy-modern #profit_by_products_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_categories_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_brands_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_locations_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_invoice_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_date_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_customer_table tbody td:nth-child(2),
body.msm-legacy-modern #profit_by_day_table tbody td:nth-child(2) {
  color: #0f172a !important;
}
body.msm-legacy-modern #profit_by_products_table tbody tr:nth-child(even) td,
body.msm-legacy-modern #profit_by_categories_table tbody tr:nth-child(even) td,
body.msm-legacy-modern #profit_by_brands_table tbody tr:nth-child(even) td,
body.msm-legacy-modern #profit_by_locations_table tbody tr:nth-child(even) td,
body.msm-legacy-modern #profit_by_invoice_table tbody tr:nth-child(even) td,
body.msm-legacy-modern #profit_by_date_table tbody tr:nth-child(even) td,
body.msm-legacy-modern #profit_by_customer_table tbody tr:nth-child(even) td,
body.msm-legacy-modern #profit_by_day_table tbody tr:nth-child(even) td {
  background: #fbfcfe !important;
}
body.msm-legacy-modern #profit_by_products_table tbody tr:hover td,
body.msm-legacy-modern #profit_by_categories_table tbody tr:hover td,
body.msm-legacy-modern #profit_by_brands_table tbody tr:hover td,
body.msm-legacy-modern #profit_by_locations_table tbody tr:hover td,
body.msm-legacy-modern #profit_by_invoice_table tbody tr:hover td,
body.msm-legacy-modern #profit_by_date_table tbody tr:hover td,
body.msm-legacy-modern #profit_by_customer_table tbody tr:hover td,
body.msm-legacy-modern #profit_by_day_table tbody tr:hover td {
  background: #f1f5f9 !important;
}
body.msm-legacy-modern #profit_by_products_table tfoot tr,
body.msm-legacy-modern #profit_by_categories_table tfoot tr,
body.msm-legacy-modern #profit_by_brands_table tfoot tr,
body.msm-legacy-modern #profit_by_locations_table tfoot tr,
body.msm-legacy-modern #profit_by_invoice_table tfoot tr,
body.msm-legacy-modern #profit_by_date_table tfoot tr,
body.msm-legacy-modern #profit_by_customer_table tfoot tr,
body.msm-legacy-modern #profit_by_day_table tfoot tr {
  background: #f8fafc !important;
}
body.msm-legacy-modern #profit_by_products_table tfoot tr td, body.msm-legacy-modern #profit_by_products_table tfoot tr th,
body.msm-legacy-modern #profit_by_categories_table tfoot tr td,
body.msm-legacy-modern #profit_by_categories_table tfoot tr th,
body.msm-legacy-modern #profit_by_brands_table tfoot tr td,
body.msm-legacy-modern #profit_by_brands_table tfoot tr th,
body.msm-legacy-modern #profit_by_locations_table tfoot tr td,
body.msm-legacy-modern #profit_by_locations_table tfoot tr th,
body.msm-legacy-modern #profit_by_invoice_table tfoot tr td,
body.msm-legacy-modern #profit_by_invoice_table tfoot tr th,
body.msm-legacy-modern #profit_by_date_table tfoot tr td,
body.msm-legacy-modern #profit_by_date_table tfoot tr th,
body.msm-legacy-modern #profit_by_customer_table tfoot tr td,
body.msm-legacy-modern #profit_by_customer_table tfoot tr th,
body.msm-legacy-modern #profit_by_day_table tfoot tr td,
body.msm-legacy-modern #profit_by_day_table tfoot tr th {
  padding: 12px 18px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border-top: 2px solid #cbd5e1 !important;
  border-bottom: none !important;
}
body.msm-legacy-modern #profit_by_products_table tfoot tr .footer_total,
body.msm-legacy-modern #profit_by_categories_table tfoot tr .footer_total,
body.msm-legacy-modern #profit_by_brands_table tfoot tr .footer_total,
body.msm-legacy-modern #profit_by_locations_table tfoot tr .footer_total,
body.msm-legacy-modern #profit_by_invoice_table tfoot tr .footer_total,
body.msm-legacy-modern #profit_by_date_table tfoot tr .footer_total,
body.msm-legacy-modern #profit_by_customer_table tfoot tr .footer_total,
body.msm-legacy-modern #profit_by_day_table tfoot tr .footer_total {
  color: var(--msm-primary, #2563eb) !important;
  font-size: 15px !important;
}

body.msm-legacy-modern .msm-report-kpi-container {
  padding: 0 !important;
  margin-bottom: 20px !important;
}
body.msm-legacy-modern .msm-report-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}
@media (max-width: 640px) {
  body.msm-legacy-modern .msm-report-kpi-grid {
    grid-template-columns: 1fr !important;
  }
}
body.msm-legacy-modern .msm-report-kpi-card {
  background: #ffffff !important;
  border: 1px solid var(--msm-border, #e2e8f0) !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
  position: relative !important;
  overflow: hidden !important;
  color: var(--msm-text, #0f172a) !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap {
  width: 50px !important;
  height: 50px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-blue {
  background: #eff6ff !important;
  color: #2563eb !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-green {
  background: #ecfdf5 !important;
  color: #059669 !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-red {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-purple {
  background: #f5f3ff !important;
  color: #7c3aed !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-icon-wrap.msm-kpi-orange {
  background: #fff7ed !important;
  color: #ea580c !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-body {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-top-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-title {
  font-size: 12px !important;
  font-weight: 750 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  display: block !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-val {
  margin: 4px 0 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-hint {
  font-size: 12px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
  display: block !important;
  margin-top: 2px !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-badge.msm-badge-up {
  background: #dcfce7 !important;
  color: #15803d !important;
}
body.msm-legacy-modern .msm-report-kpi-card .msm-kpi-badge.msm-badge-down {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

body.msm-legacy-modern .msm-pl-formula-card {
  background: var(--msm-surface, #ffffff) !important;
  border: 1px solid var(--msm-border, #e2e8f0) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
  margin-top: 18px !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-formula-header {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
  padding: 14px 20px !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-formula-header .msm-pl-formula-title {
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-formula-header .msm-pl-formula-title i {
  font-size: 17px !important;
  color: var(--msm-primary, #2563eb) !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-formula-body {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  background: #ffffff !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-equation-block {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  transition: all 0.2s ease !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-equation-block:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-equation-block.msm-pl-gross-block {
  border-left: 4px solid #6366f1 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-equation-block.msm-pl-net-block {
  border-left: 4px solid #059669 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-equation-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  flex-wrap: wrap !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-equation-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #475569 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-equation-label i {
  font-size: 14px !important;
  color: #64748b !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-amount-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 14px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-amount-badge.is-positive {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-amount-badge.is-negative {
  background: #fef2f2 !important;
  color: #dc2626 !important;
  border: 1px solid #fecaca !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-equation-formula {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-var {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-var.msm-pl-var-result {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
  font-weight: 750 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-var.msm-pl-var-lead {
  background: #f5f3ff !important;
  color: #6d28d9 !important;
  border: 1px solid #ddd6fe !important;
  font-weight: 750 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-var.msm-pl-var-pos {
  background: #f0fdf4 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-var.msm-pl-var-neg {
  background: #fff1f2 !important;
  color: #be123c !important;
  border: 1px solid #fecdd3 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-op {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  user-select: none !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-op.msm-pl-op-eq {
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-size: 13px !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-op.msm-pl-op-add {
  background: #dcfce7 !important;
  color: #15803d !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-op.msm-pl-op-sub {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  font-size: 14px !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-bracket {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  margin: 0 1px !important;
  user-select: none !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-group {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px 8px !important;
  padding: 3px 6px !important;
  border-radius: 10px !important;
  background: rgba(241, 245, 249, 0.6) !important;
  border: 1px dashed #cbd5e1 !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-group-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  margin-right: 2px !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-group-tag.msm-pl-tag-add {
  background: #dcfce7 !important;
  color: #15803d !important;
}
body.msm-legacy-modern .msm-pl-formula-card .msm-pl-group-tag.msm-pl-tag-deduct {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

.msm-settings-page-header,
.msm-settings-modern-page,
.msm-sa-settings-page {
  box-sizing: border-box;
}

.msm-settings-page-header {
  padding: 16px clamp(18px, 2.2vw, 34px) 8px;
}

.msm-settings-page-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.msm-settings-title-copy h1 {
  margin: 0;
  color: #061329;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}

.msm-settings-title-copy p {
  margin: 5px 0 0;
  color: #52627a;
  font-size: 13px;
  font-weight: 600;
}

.msm-settings-title-tools {
  flex: 0 1 360px;
  min-width: min(360px, 100%);
}

.msm-settings-page-header .msm-settings-search-group {
  display: flex;
  width: 100%;
}

.msm-settings-page-header .msm-settings-search-group .input-group-addon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  border: 1px solid #d6e1f0;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #ffffff;
  color: #64748b;
}

.msm-settings-page-header .msm-settings-search-control,
.msm-settings-page-header .select2-container {
  min-width: 0;
  flex: 1 1 auto;
}

.msm-settings-page-header .select2-container--default .select2-selection--single {
  min-height: 38px;
  border-color: #d6e1f0;
  border-radius: 0 8px 8px 0;
  box-shadow: none;
}

.msm-settings-page-header .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
}

.msm-settings-page-header .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

.msm-settings-modern-page {
  padding: 8px clamp(18px, 2.2vw, 34px) 92px;
}

.msm-settings-modern-page > form > .row,
.msm-settings-modern-page > form > .row > .col-xs-12 {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.msm-settings-shell {
  display: grid;
  grid-template-columns: minmax(206px, 232px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 10px;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-shell.pos-tab-container,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-shell.pos-tab-container {
  display: grid;
  grid-template-columns: minmax(206px, 232px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  overflow: visible;
  padding: 10px !important;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.msm-sa-settings-tabs {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.msm-settings-rail {
  position: sticky;
  top: 72px;
  z-index: 2;
  min-height: 0;
  max-height: calc(100vh - 118px);
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: none;
  scrollbar-width: thin;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-rail.pos-tab-menu,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-rail.pos-tab-menu {
  display: block;
  float: none;
  flex: 0 0 auto;
  width: 100%;
  max-width: 232px;
  min-height: 0;
  max-height: calc(100vh - 118px);
  padding: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #dbe5f4;
  border-right: 1px solid #dbe5f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-rail.pos-tab-menu,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-rail.pos-tab-menu {
  max-height: calc(100vh - 92px);
  padding: 6px;
  scrollbar-gutter: stable;
}

.msm-sa-settings-tabs > .pos-tab-menu {
  position: sticky;
  top: 72px;
  z-index: 2;
  min-height: 0;
  padding: 10px;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.msm-settings-tab-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.msm-sa-settings-tabs .list-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}

.msm-settings-tab-list .list-group-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 34px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.18;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.msm-sa-settings-tabs .list-group-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #263955;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.msm-settings-tab-list .list-group-item:hover,
.msm-settings-tab-list .list-group-item:focus {
  border-color: #d6e2f5;
  background: #f6f9fe;
  color: #1f5ff0;
  text-decoration: none;
  transform: translateX(1px);
}

.msm-sa-settings-tabs .list-group-item:hover {
  border-color: #d6e2f5;
  background: #f6f9fe;
  color: #1f5ff0;
}

.msm-settings-tab-list .list-group-item.active {
  border-color: #c7d9ff;
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  color: #1457e8;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1), inset 3px 0 0 #2365f2;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  white-space: normal;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list {
  gap: 3px;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item {
  min-height: 31px;
  padding: 4px 7px;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item.active,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item.active {
  border-color: #c7d9ff;
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  color: #1457e8;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1), inset 0 3px 0 #2365f2;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item.active .fa,
body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item.active .fas,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item.active .fas,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item.active .fa {
  color: #1457e8;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item:not(.active) .fa,
body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item:not(.active) .fas,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:not(.active) .fa,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:not(.active) .fas {
  color: #8da0bf;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item:hover .fa,
body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item:hover .fas,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover .fa,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover .fas {
  color: #1f5ff0;
}

.msm-sa-settings-tabs .list-group-item.active {
  border-color: #c7d9ff;
  background: linear-gradient(135deg, #eff5ff, #f7fbff);
  color: #1457e8;
  box-shadow: inset 3px 0 0 #2365f2;
}

.msm-settings-tab-list .list-group-item.active::after,
.msm-settings-rail .list-group > a.active::after {
  content: none !important;
  display: none !important;
}

.msm-settings-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-right: 7px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #8da0bf;
  font-size: 11px;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-nav-icon,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-nav-icon {
  flex-basis: 22px;
  height: 22px;
  margin-right: 6px;
  width: 22px;
}

.msm-settings-nav-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.msm-settings-nav-item.active .msm-settings-nav-icon {
  background: #dce9ff;
  color: #1457e8;
}

.msm-settings-nav-item:hover .msm-settings-nav-icon,
.msm-settings-nav-item:focus .msm-settings-nav-icon {
  background: #eaf1ff;
  color: #1f5ff0;
}

.msm-sa-settings-tabs .pos-tab-menu .list-group > .list-group-item.active::after,
.msm-sa-settings-tabs .pos-tab-menu .list-group > a.active::after {
  content: none !important;
  display: none !important;
}

.msm-settings-workspace,
.msm-sa-settings-tabs > .pos-tab {
  min-width: 0;
  padding: 0;
}

.msm-settings-workspace {
  margin-top: 0;
}

body.msm-legacy-modern.msm-admin-modern .content .msm-settings-workspace.pos-tab,
body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace.pos-tab {
  display: block;
  float: none;
  width: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.msm-settings-workspace .pos-tab-content,
.msm-sa-settings-tabs .pos-tab-content {
  min-width: 0;
  padding: 20px 20px 95px;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.msm-settings-workspace .box,
.msm-sa-settings-page .box {
  border: 1px solid #dce6f4;
  border-radius: 8px;
  box-shadow: none;
}

.msm-settings-workspace .box-header,
.msm-sa-settings-page .box-header {
  border-bottom: 1px solid #e3ebf6;
  background: #f8fbff;
}

.msm-settings-workspace .box-title,
.msm-sa-settings-page .box-title {
  color: #061329;
  font-size: 16px;
  font-weight: 800;
}

.msm-settings-workspace label,
.msm-sa-settings-page label {
  color: #34435c;
  font-size: 12px;
  font-weight: 800;
}

.msm-settings-workspace .form-control,
.msm-settings-workspace .select2-container--default .select2-selection--single,
.msm-sa-settings-page .form-control,
.msm-sa-settings-page .select2-container--default .select2-selection--single {
  min-height: 38px;
  border-color: #d6e1f0;
  border-radius: 7px;
  box-shadow: none;
}

.msm-settings-workspace textarea.form-control,
.msm-sa-settings-page textarea.form-control {
  min-height: 96px;
}

.msm-settings-workspace .form-control:focus,
.msm-sa-settings-page .form-control:focus {
  border-color: #6da2ff;
  box-shadow: 0 0 0 3px rgba(35, 101, 242, 0.12);
}

.msm-settings-workspace .input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.msm-settings-workspace .input-group > .input-group-addon:first-child {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  min-height: 40px;
  padding: 0;
  border: 1px solid #d6e1f0;
  border-right: 0;
  border-radius: 9px 0 0 9px;
  background: linear-gradient(180deg, #f6f9ff 0%, #edf4ff 100%);
  color: #8294b2;
  box-shadow: inset -1px 0 0 rgba(214, 225, 240, 0.55);
}

.msm-settings-workspace .input-group > .input-group-addon:first-child i {
  width: 15px;
  color: inherit;
  font-size: 12px;
  text-align: center;
}

.msm-settings-workspace .input-group > .form-control,
.msm-settings-workspace .input-group > .select2-container,
.msm-settings-workspace .input-group > .bootstrap-select {
  flex: 1 1 auto;
  width: 1% !important;
  min-width: 0;
}

.msm-settings-workspace .input-group > .form-control,
.msm-settings-workspace .input-group .select2-container--default .select2-selection--single,
.msm-settings-workspace .input-group > .bootstrap-select > .btn {
  min-height: 40px;
  border: 1px solid #d6e1f0;
  border-radius: 9px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.msm-settings-workspace .input-group > .input-group-addon:first-child + .form-control,
.msm-settings-workspace .input-group > .input-group-addon:first-child ~ .select2-container .select2-selection--single,
.msm-settings-workspace .input-group > .input-group-addon:first-child + .bootstrap-select > .btn {
  border-left: 0;
  border-radius: 0 9px 9px 0 !important;
}

.msm-settings-workspace .input-group .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}

.msm-settings-workspace .input-group .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.msm-settings-workspace .input-group > .form-control[readonly] {
  background: linear-gradient(180deg, #f8fafc 0%, #f4f7fb 100%);
  color: #172033;
  cursor: default;
}

.msm-settings-workspace .input-group:focus-within > .input-group-addon:first-child {
  background: #dce9ff;
  border-color: #6da2ff;
  color: #1457e8;
  box-shadow: inset -1px 0 0 rgba(109, 162, 255, 0.5), 0 0 0 3px rgba(35, 101, 242, 0.08);
}

.msm-settings-workspace .input-group:focus-within > .form-control,
.msm-settings-workspace .input-group:focus-within .select2-container--default .select2-selection--single,
.msm-settings-workspace .input-group:focus-within > .bootstrap-select > .btn {
  border-color: #6da2ff;
  box-shadow: 0 0 0 3px rgba(35, 101, 242, 0.1);
}

.msm-settings-workspace .file-input,
.msm-settings-modern-page .file-input {
  max-width: 100%;
  overflow: visible;
}

.msm-settings-workspace .file-caption-main.input-group,
.msm-settings-modern-page .file-caption-main.input-group {
  align-items: stretch;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px;
  max-width: 100%;
  width: 100%;
}

.msm-settings-workspace .file-caption-main > .file-caption,
.msm-settings-modern-page .file-caption-main > .file-caption {
  display: block;
  flex: 1 1 140px;
  min-width: 0;
  width: auto !important;
  max-width: 100%;
  border: 1px solid #d6e1f0;
  border-radius: 9px !important;
  background: #ffffff;
}

.msm-settings-workspace .file-caption-main .file-caption-name,
.msm-settings-modern-page .file-caption-main .file-caption-name {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msm-settings-workspace .file-caption-main > .input-group-btn,
.msm-settings-modern-page .file-caption-main > .input-group-btn {
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  width: auto;
  max-width: 100%;
}

.msm-settings-workspace .file-caption-main > .input-group-btn > .btn,
.msm-settings-modern-page .file-caption-main > .input-group-btn > .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  border-color: #d6e1f0;
  border-radius: 9px !important;
  box-shadow: none;
  white-space: nowrap;
  max-width: 100%;
}

.msm-settings-workspace .pos-tab-content {
  position: relative;
  padding-bottom: 95px !important;
}

.msm-settings-workspace .pos-tab-content > .row,
.msm-settings-workspace .pos-tab-content .row.well {
  margin-left: -8px;
  margin-right: -8px;
}

.msm-settings-workspace .pos-tab-content > .row > [class*=col-],
.msm-settings-workspace .pos-tab-content .row.well > [class*=col-] {
  padding-left: 8px;
  padding-right: 8px;
}

.msm-settings-workspace .pos-tab-content h4 {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 4px 0 14px;
  color: #0f1f38;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
}

.msm-settings-workspace .pos-tab-content h4::before {
  content: "";
  display: inline-flex;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2365f2;
  box-shadow: 0 0 0 4px rgba(35, 101, 242, 0.1);
}

.msm-settings-workspace .pos-tab-content hr {
  height: 1px;
  margin: 18px 0;
  border: 0;
  background: linear-gradient(90deg, rgba(35, 101, 242, 0.22), rgba(214, 225, 240, 0.92), rgba(214, 225, 240, 0));
}

.msm-settings-workspace .row.well {
  margin-bottom: 16px;
  padding: 16px 14px 10px;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

.msm-settings-workspace .form-group {
  margin-bottom: 16px;
}

.msm-settings-workspace .help-block {
  margin-top: 7px;
  color: #60708a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.msm-settings-workspace .pos-tab-content > .help-block,
.msm-settings-workspace .pos-tab-content p.help-block {
  padding: 10px 12px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #f8fbff;
  color: #40536f;
}

.msm-settings-workspace .checkbox {
  margin: 0;
}

.msm-settings-workspace .checkbox br {
  display: none;
}

.msm-settings-workspace .checkbox label,
.msm-settings-workspace .checkbox-inline {
  align-items: center;
  display: flex;
  gap: 10px;
  min-height: 42px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: #24344d;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.msm-settings-workspace .checkbox label:hover,
.msm-settings-workspace .checkbox-inline:hover {
  border-color: #c7d9ff;
  background: #f7faff;
  color: #1457e8;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.msm-settings-workspace .checkbox label:has(.icheckbox_square-blue.checked),
.msm-settings-workspace .checkbox-inline:has(.icheckbox_square-blue.checked) {
  border-color: #bfd5ff;
  background: #eef5ff;
  color: #1457e8;
}

.msm-settings-workspace table.table {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #dbe5f4;
  border-collapse: separate;
  border-radius: 8px;
  border-spacing: 0;
  background: #ffffff;
}

.msm-settings-workspace table.table > tbody > tr > th,
.msm-settings-workspace table.table > thead > tr > th {
  border-bottom: 1px solid #dbe5f4;
  background: #f6f9fe;
  color: #4b5f7c;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.msm-settings-workspace table.table > tbody > tr > td,
.msm-settings-workspace table.table > tbody > tr > th,
.msm-settings-workspace table.table > thead > tr > th {
  padding: 10px 12px;
  vertical-align: middle;
}

.msm-settings-workspace table.table-striped > tbody > tr:nth-of-type(odd) {
  background: #fbfdff;
}

.msm-settings-workspace table.table .form-control {
  min-height: 34px;
}

.msm-settings-workspace .multi-input {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.msm-settings-workspace .multi-input > label {
  flex: 0 0 100%;
}

.msm-settings-workspace .multi-input > br {
  display: none;
}

.msm-settings-workspace .multi-input .form-control {
  flex: 1 1 150px;
  min-width: 0;
  width: auto !important;
}

.msm-settings-workspace .custom_label_product_div .input-group {
  align-items: stretch;
  display: flex;
  gap: 8px;
}

.msm-settings-workspace .custom_label_product_div .input-group > .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: 1% !important;
  border-radius: 9px !important;
}

.msm-settings-workspace .custom_label_product_div .input-group > .input-group-addon {
  align-items: center;
  display: flex !important;
  flex: 0 0 150px;
  min-width: 150px;
  padding: 0;
  border: 0;
  background: transparent;
}

.msm-settings-workspace .custom_label_product_div .input-group > .input-group-addon select {
  width: 100%;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid #d6e1f0;
  border-radius: 9px;
  background: #ffffff;
  color: #172033;
  font-size: 12px;
  font-weight: 700;
}

.msm-settings-workspace textarea:not(.form-control) {
  width: 100%;
  min-height: 72px;
  padding: 9px 10px;
  border: 1px solid #d6e1f0;
  border-radius: 8px;
  background: #ffffff;
  color: #172033;
  resize: vertical;
}

.msm-settings-workspace .sms_service_settings {
  margin-top: 4px;
  margin-bottom: 14px;
  padding: 14px 10px 2px;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: #fbfdff;
}

.msm-settings-workspace .sms_service_settings.hide {
  display: none !important;
}

.msm-settings-workspace .test_email_btn,
.msm-settings-workspace .sms_service_settings .col-md-8 {
  display: flex;
  justify-content: flex-end;
}

.msm-settings-workspace .test_email_btn .btn,
.msm-settings-workspace #test_sms_btn {
  float: none !important;
}

.msm-settings-workspace .input-group > .input-group-addon:not(:first-child):not(:last-child),
.msm-settings-workspace .input-group > .input-group-addon:has(input[type=checkbox]) {
  border-radius: 9px;
}

.msm-settings-card {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.055);
}

.msm-settings-card:last-child {
  margin-bottom: 0;
}

.msm-settings-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6edf7;
}

.msm-settings-card__header h3 {
  margin: 2px 0 0;
  color: #0f1f38;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.msm-settings-card__header p {
  margin: 6px 0 0;
  color: #5f6f89;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.45;
}

.msm-settings-eyebrow {
  display: block;
  color: #2365f2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.msm-settings-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}

.msm-settings-field-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.msm-settings-field-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1366px) {
  .msm-settings-field-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.msm-settings-field-grid__wide {
  grid-column: 1/-1;
}

.msm-settings-toggle-sections {
  display: grid;
  gap: 16px;
}

.msm-settings-toggle-section {
  padding: 14px;
  border: 1px solid #e1e9f5;
  border-radius: 9px;
  background: #ffffff;
}

.msm-settings-toggle-section h4,
.msm-settings-subcard__title {
  margin: 0 0 12px;
  color: #172033;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.msm-settings-toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.msm-settings-toggle-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.msm-settings-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #dbe5f4;
  border-radius: 9px;
  background: #ffffff;
  color: #24344d;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.35;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.msm-settings-toggle:hover {
  border-color: #c7d9ff;
  background: #f7faff;
  color: #1457e8;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.08);
}

.msm-settings-toggle:has(.icheckbox_square-blue.checked),
.msm-settings-toggle:has(input[type=checkbox]:checked) {
  border-color: #bfd5ff;
  background: #eef5ff;
  color: #1457e8;
}

.msm-settings-toggle .icheckbox_square-blue,
.msm-settings-toggle input[type=checkbox] {
  flex: 0 0 auto;
}

.msm-settings-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.msm-settings-shortcut-list {
  display: grid;
  gap: 8px;
}

.msm-settings-shortcut-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(180px, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e4ebf6;
  border-radius: 8px;
  background: #ffffff;
}

.msm-settings-shortcut-row label {
  margin: 0;
  color: #33435d;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.msm-settings-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 14px;
  padding: 11px 12px;
  border: 1px solid #dbe7fb;
  border-radius: 9px;
  background: #f8fbff;
  color: #40536f;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.45;
}

.msm-settings-subcard {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e1e9f5;
  border-radius: 9px;
  background: #ffffff;
}

.msm-settings-repeater-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.msm-settings-action-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e1e9f5;
  border-radius: 9px;
  background: #f8fbff;
}

.msm-settings-action-panel .form-control {
  max-width: 320px;
}

.msm-settings-action-panel > span {
  margin-right: auto;
  color: #40536f;
  font-size: 12.5px;
  font-weight: 800;
}

.msm-settings-inline-pair,
.msm-settings-label-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.msm-settings-inline-pair > .form-control,
.msm-settings-label-row > .form-control {
  flex: 1 1 0;
  min-width: 0;
}

.msm-settings-inline-pair--suffix {
  gap: 0;
}

.msm-settings-inline-pair--suffix > .form-control {
  border-radius: 9px 0 0 9px;
}

.msm-settings-inline-suffix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 0 12px;
  border: 1px solid #d6e1f0;
  border-left: 0;
  border-radius: 0 9px 9px 0;
  background: #f7faff;
  color: #53657f;
  font-size: 12px;
  font-weight: 850;
}

.msm-settings-label-row > select.form-control {
  flex: 0 0 150px;
}

.msm-settings-label-row--checks {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
}

.msm-settings-label-row--checks > .form-control {
  width: 100%;
}

.msm-settings-mini-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 112px;
  min-height: 40px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #dbe5f4;
  border-radius: 9px;
  background: #ffffff;
  color: #33435d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.msm-settings-mini-check > input[type=checkbox] {
  flex: 0 0 auto;
  margin: 0;
}

.msm-settings-workspace .sms_service_settings.msm-settings-card {
  margin-top: 0;
  padding: 18px;
  border: 1px solid #dbe5f4;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.msm-theme-settings-page .msm-settings-workspace {
  max-width: 760px;
}

.msm-theme-settings-card {
  padding: 18px;
  border: 1px solid #dbe5f4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.msm-theme-settings-card .row {
  margin-left: -8px;
  margin-right: -8px;
}

.msm-theme-settings-card .row > [class*=col-] {
  padding-left: 8px;
  padding-right: 8px;
}

.msm-settings-actions {
  position: fixed;
  right: clamp(18px, 2.2vw, 34px);
  bottom: 18px;
  z-index: 1020;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.msm-settings-save {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  pointer-events: auto;
  box-shadow: 0 16px 34px rgba(35, 101, 242, 0.24);
}

.msm-sa-settings-page {
  padding-top: 8px;
}

.msm-sa-settings-page > .row,
.msm-sa-settings-page .msm-sa-settings-tabs {
  margin-left: 0;
  margin-right: 0;
}

body.msm-superadmin-modern .msm-sa-settings-header {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1760px;
  padding: 18px clamp(16px, 2.2vw, 42px) 10px;
}

body.msm-superadmin-modern .msm-sa-settings-header .msm-sa-page-header__main {
  flex: 1 1 auto;
}

body.msm-superadmin-modern .msm-sa-settings-header .msm-sa-page-header__actions {
  flex: 0 1 520px;
  min-width: min(420px, 100%);
}

body.msm-superadmin-modern .msm-sa-settings-header .msm-settings-search {
  width: 100%;
}

body.msm-superadmin-modern .msm-sa-settings-header .msm-settings-search-group {
  display: flex;
  width: 100%;
}

body.msm-superadmin-modern .msm-sa-settings-header .msm-settings-search-group .input-group-addon {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d6e1f0;
  border-right: 0;
  color: #64748b;
  display: inline-flex;
  justify-content: center;
  min-width: 42px;
}

body.msm-superadmin-modern .msm-sa-settings-header .msm-settings-search-control,
body.msm-superadmin-modern .msm-sa-settings-header .select2-container {
  flex: 1 1 auto;
  min-width: 0;
}

body.msm-superadmin-modern .msm-sa-settings-header .select2-container--default .select2-selection--single {
  border-color: #d6e1f0;
  border-radius: 0 8px 8px 0;
  min-height: 38px;
}

body.msm-superadmin-modern .msm-sa-settings-header .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
}

.msm-sa-settings-page .msm-sa-settings-tabs > [class*=col-] {
  float: none;
  width: auto;
  padding-left: 0;
  padding-right: 0;
}

.msm-sa-settings-page .btn-primary,
.msm-settings-modern-page .btn-primary {
  border-color: #1f5ff0;
  background: #2365f2;
  font-weight: 800;
}

body.msm-superadmin-modern .content .msm-sa-settings-tabs,
body.msm-legacy-modern.msm-superadmin-modern .content .msm-sa-settings-tabs {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  overflow: visible;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
}

body.msm-superadmin-modern .msm-sa-settings-tabs > .pos-tab-menu,
body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs > .pos-tab-menu {
  position: static;
  height: 100%;
  padding: 10px;
  box-shadow: none;
}

body.msm-superadmin-modern .msm-sa-settings-tabs > .pos-tab,
body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs > .pos-tab {
  display: block;
  padding: 0;
}

body.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-content,
body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-content {
  min-height: 100%;
  box-shadow: none;
}

body.msm-legacy-modern.msm-superadmin-modern .content-header.msm-sa-page-header.msm-sa-settings-header,
body.msm-superadmin-modern .content-header.msm-sa-page-header.msm-sa-settings-header {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  padding: 14px 18px 8px;
}

body.msm-legacy-modern.msm-superadmin-modern section.content.msm-sa-page.msm-sa-settings-page,
body.msm-superadmin-modern section.content.msm-sa-page.msm-sa-settings-page {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  padding: 0 18px 26px;
}

body.msm-legacy-modern.msm-superadmin-modern section.content.msm-sa-page.msm-sa-settings-page > form > .row > .col-xs-12,
body.msm-superadmin-modern section.content.msm-sa-page.msm-sa-settings-page > form > .row > .col-xs-12 {
  padding-left: 0;
  padding-right: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .msm-sa-settings-tabs.pos-tab-container,
body.msm-superadmin-modern .content .msm-sa-settings-tabs.pos-tab-container {
  border-radius: 8px;
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
  width: 100%;
}

body.msm-legacy-modern.msm-superadmin-modern .content-header.msm-sa-settings-header .msm-sa-page-header__actions,
body.msm-superadmin-modern .content-header.msm-sa-settings-header .msm-sa-page-header__actions {
  flex: 0 1 520px;
  margin-left: auto;
  min-width: min(420px, 100%);
}

@media (max-width: 1366px) {
  .msm-settings-field-grid--four,
  .msm-settings-field-grid[class*="--four"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 991px) {
  .msm-settings-field-grid,
  .msm-settings-field-grid--four,
  .msm-settings-toggle-grid,
  .msm-settings-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .msm-settings-repeater-grid {
    grid-template-columns: 1fr;
  }
  .msm-settings-shell,
  .msm-sa-settings-tabs {
    display: block;
  }
  body.msm-legacy-modern.msm-admin-modern .content .msm-settings-shell.pos-tab-container,
  body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-shell.pos-tab-container {
    display: block;
  }
  body.msm-superadmin-modern .msm-sa-settings-header {
    align-items: stretch;
    flex-direction: column;
  }
  body.msm-superadmin-modern .msm-sa-settings-header .msm-sa-page-header__actions {
    flex-basis: auto;
    min-width: 0;
    width: 100%;
  }
  body.msm-superadmin-modern .content .msm-sa-settings-tabs,
  body.msm-legacy-modern.msm-superadmin-modern .content .msm-sa-settings-tabs {
    display: block;
  }
  .msm-settings-rail,
  .msm-sa-settings-tabs > .pos-tab-menu {
    position: static;
    margin-bottom: 14px;
  }
  body.msm-legacy-modern.msm-admin-modern .content .msm-settings-rail.pos-tab-menu,
  body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-rail.pos-tab-menu {
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    margin-bottom: 14px;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .msm-settings-tab-list,
  .msm-sa-settings-tabs .list-group {
    flex-direction: row;
    overflow-x: auto;
    padding: 0 0 4px;
  }
  .msm-settings-tab-list .list-group-item,
  .msm-sa-settings-tabs .list-group-item {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list,
  body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list {
    flex-direction: row;
    min-width: max-content;
    overflow-x: auto;
  }
  body.msm-legacy-modern.msm-admin-modern .content .msm-settings-tab-list .list-group-item,
  body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
.msm-settings-back-btn {
  display: none;
}

@media (max-width: 767px) {
  .msm-settings-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #1e293b) !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #cbd5e1) !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    margin-bottom: 8px !important;
    text-decoration: none !important;
    width: fit-content !important;
    align-self: flex-start !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
    min-height: 36px !important;
  }
  .msm-settings-back-btn i {
    font-size: 13px !important;
  }
  .msm-settings-back-btn:hover, .msm-settings-back-btn:focus, .msm-settings-back-btn:active {
    background: #f1f5f9 !important;
    color: var(--msm-primary, #047857) !important;
    border-color: var(--msm-primary, #047857) !important;
  }
  .msm-settings-page-titlebar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .msm-settings-title-tools {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
  }
  .msm-settings-modern-page,
  .msm-settings-page-header {
    padding-left: 12px;
    padding-right: 12px;
  }
  .msm-settings-workspace .pos-tab-content,
  .msm-sa-settings-tabs .pos-tab-content {
    padding: 12px 12px 95px !important;
  }
  .msm-settings-card {
    padding: 14px;
  }
  .msm-settings-shell,
  .pos-tab-container.msm-settings-shell,
  body.msm-legacy-modern.msm-admin-modern .content .msm-settings-shell.pos-tab-container,
  body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-shell.pos-tab-container {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
  }
  .msm-settings-card,
  .msm-settings-workspace .msm-settings-card,
  .pos-tab-content,
  .msm-settings-workspace .pos-tab-content {
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
  }
  .msm-settings-card .box,
  .msm-settings-card .panel,
  .msm-settings-card .well,
  .msm-settings-card .msm-settings-card,
  .pos-tab-content .box,
  .pos-tab-content .panel,
  .pos-tab-content .well,
  .pos-tab-content .pos-tab-container {
    box-shadow: none !important;
    border: 1px solid var(--msm-border-light, #f1f5f9) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
  }
  .msm-settings-field-grid,
  .msm-settings-field-grid--two,
  .msm-settings-field-grid--four,
  .msm-settings-toggle-grid,
  .msm-settings-shortcut-grid,
  .msm-settings-repeater-grid {
    grid-template-columns: 1fr;
  }
  .msm-settings-shortcut-row {
    grid-template-columns: 1fr;
  }
  .msm-settings-label-row--checks {
    grid-template-columns: 1fr;
  }
  .msm-settings-action-panel,
  .msm-settings-inline-pair,
  .msm-settings-label-row {
    align-items: stretch;
    flex-direction: column;
  }
  .msm-settings-action-panel .form-control,
  .msm-settings-label-row > select.form-control {
    max-width: none;
    width: 100%;
  }
  body.msm-legacy-modern .content .msm-settings-actions {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1040 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    justify-content: center !important;
  }
  body.msm-legacy-modern .content .msm-settings-actions .msm-settings-save {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
  }
  body.msm-legacy-modern .content.msm-settings-modern-page {
    padding-bottom: 85px !important;
  }
  .msm-settings-shell,
  body.msm-legacy-modern .msm-settings-shell {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 10px 8px !important;
    border-radius: 14px !important;
  }
  .msm-settings-rail.pos-tab-menu,
  body.msm-legacy-modern .msm-settings-rail.pos-tab-menu,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-rail.pos-tab-menu {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    margin-bottom: 12px !important;
    border-bottom: 2px solid var(--msm-border, #e2e8f0) !important;
    padding: 4px 2px 10px !important;
  }
  .msm-settings-rail.pos-tab-menu::-webkit-scrollbar,
  body.msm-legacy-modern .msm-settings-rail.pos-tab-menu::-webkit-scrollbar,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-rail.pos-tab-menu::-webkit-scrollbar {
    display: none !important;
  }
  .msm-settings-tab-list,
  body.msm-legacy-modern .msm-settings-tab-list,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 2px !important;
    margin: 0 !important;
    width: max-content !important;
  }
  .msm-settings-tab-list .list-group-item.msm-settings-nav-item,
  body.msm-legacy-modern .msm-settings-tab-list .list-group-item.msm-settings-nav-item,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.msm-settings-nav-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    background: #f8fafc !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    color: var(--msm-text, #334155) !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }
  .msm-settings-tab-list .list-group-item.msm-settings-nav-item .msm-settings-nav-icon i,
  body.msm-legacy-modern .msm-settings-tab-list .list-group-item.msm-settings-nav-item .msm-settings-nav-icon i,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.msm-settings-nav-item .msm-settings-nav-icon i {
    font-size: 14px !important;
  }
  .msm-settings-tab-list .list-group-item.msm-settings-nav-item.active, .msm-settings-tab-list .list-group-item.msm-settings-nav-item:focus, .msm-settings-tab-list .list-group-item.msm-settings-nav-item:hover,
  body.msm-legacy-modern .msm-settings-tab-list .list-group-item.msm-settings-nav-item.active,
  body.msm-legacy-modern .msm-settings-tab-list .list-group-item.msm-settings-nav-item:focus,
  body.msm-legacy-modern .msm-settings-tab-list .list-group-item.msm-settings-nav-item:hover,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.msm-settings-nav-item.active,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.msm-settings-nav-item:focus,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.msm-settings-nav-item:hover {
    background: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
    border-color: var(--msm-primary, #047857) !important;
  }
  .msm-settings-tab-list .list-group-item.msm-settings-nav-item.active .msm-settings-nav-icon i, .msm-settings-tab-list .list-group-item.msm-settings-nav-item:focus .msm-settings-nav-icon i, .msm-settings-tab-list .list-group-item.msm-settings-nav-item:hover .msm-settings-nav-icon i,
  body.msm-legacy-modern .msm-settings-tab-list .list-group-item.msm-settings-nav-item.active .msm-settings-nav-icon i,
  body.msm-legacy-modern .msm-settings-tab-list .list-group-item.msm-settings-nav-item:focus .msm-settings-nav-icon i,
  body.msm-legacy-modern .msm-settings-tab-list .list-group-item.msm-settings-nav-item:hover .msm-settings-nav-icon i,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.msm-settings-nav-item.active .msm-settings-nav-icon i,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.msm-settings-nav-item:focus .msm-settings-nav-icon i,
  body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.msm-settings-nav-item:hover .msm-settings-nav-icon i {
    color: #ffffff !important;
  }
  .msm-settings-workspace,
  body.msm-legacy-modern .msm-settings-workspace {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-invoice-tabs > .nav-tabs {
    display: flex !important;
    background: #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 3px !important;
    border: none !important;
    margin-bottom: 14px !important;
  }
  body.msm-legacy-modern .msm-invoice-tabs > .nav-tabs > li {
    flex: 1 1 50% !important;
    float: none !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-invoice-tabs > .nav-tabs > li > a {
    border: none !important;
    border-radius: 9px !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 8px !important;
    color: var(--msm-text-soft, #475569) !important;
    background: transparent !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern .msm-invoice-tabs > .nav-tabs > li.active > a {
    background: #ffffff !important;
    color: var(--msm-primary, #2563eb) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  }
  body.msm-legacy-modern .msm-user-management-page .row:has(.info-box) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 0 14px !important;
  }
  body.msm-legacy-modern .msm-user-management-page .row:has(.info-box) > [class*=col-] {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-user-management-page .row:has(.info-box) .info-box {
    min-height: 64px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    display: flex !important;
    overflow: hidden !important;
  }
  body.msm-legacy-modern .msm-user-management-page .row:has(.info-box) .info-box .info-box-icon {
    width: 46px !important;
    height: 100% !important;
    line-height: 64px !important;
    font-size: 18px !important;
  }
  body.msm-legacy-modern .msm-user-management-page .row:has(.info-box) .info-box .info-box-content {
    padding: 6px 8px !important;
    margin-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  body.msm-legacy-modern .msm-user-management-page .row:has(.info-box) .info-box .info-box-content .info-box-text {
    font-size: 11px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  body.msm-legacy-modern .msm-user-management-page .row:has(.info-box) .info-box .info-box-content .info-box-number {
    font-size: 14px !important;
    font-weight: 800 !important;
  }
  body.msm-legacy-modern .msm-user-management-page .row:has(.info-box) .info-box .info-box-content .progress-description {
    display: none !important;
  }
}
body:has(.msm-role-permissions-page) .msm-mobile-fab,
body:has(#role_add_form) .msm-mobile-fab,
body:has(#role_form) .msm-mobile-fab,
body.page-roles .msm-mobile-fab,
.msm-role-permissions-page .msm-mobile-fab {
  display: none !important;
}

.msm-role-permissions-page .check_group,
body.msm-legacy-modern .msm-role-permissions-page .check_group {
  background: #ffffff;
  border: 1px solid var(--msm-border, #e2e8f0);
  border-radius: 12px;
  margin: 0 0 16px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.msm-role-permissions-page .check_group > .col-md-1,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-1 {
  flex: 0 0 170px;
  width: 170px;
  max-width: 170px;
  padding: 0 12px 0 0;
  float: none;
}
.msm-role-permissions-page .check_group > .col-md-1 h4,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-1 h4 {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.msm-role-permissions-page .check_group > .col-md-2,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 {
  flex: 0 0 130px;
  width: 130px;
  max-width: 130px;
  padding: 0 12px 0 0;
  float: none;
}
.msm-role-permissions-page .check_group > .col-md-2 .checkbox,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 .checkbox {
  margin: 4px 0 0;
}
.msm-role-permissions-page .check_group > .col-md-2 .checkbox label,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 .checkbox label {
  font-size: 12px;
  font-weight: 700;
  color: var(--msm-muted, #64748b);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.msm-role-permissions-page .check_group > .col-md-3,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-3 {
  flex: 0 0 280px;
  width: 280px;
  max-width: 280px;
  padding: 0 12px 0 0;
  float: none;
}
.msm-role-permissions-page .check_group > .col-md-3 h4,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-3 h4 {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.msm-role-permissions-page .check_group > .col-md-9,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 {
  flex: 1 1 500px;
  width: auto;
  max-width: 100%;
  padding: 0;
  float: none;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch;
}
.msm-role-permissions-page .check_group > .col-md-9 > .col-md-12,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}
.msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox {
  margin: 0 !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease-in-out !important;
}
.msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox:hover,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}
.msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox label,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox label {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  word-break: break-word !important;
}
.msm-role-permissions-page .check_group > .col-md-9 > hr,
body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > hr {
  grid-column: 1/-1;
  width: 100%;
  margin: 8px 0;
  border: 0;
  border-top: 1px dashed #e2e8f0;
}
@media (min-width: 768px) and (max-width: 991px) {
  .msm-role-permissions-page .check_group > .col-md-1, .msm-role-permissions-page .check_group > .col-md-2, .msm-role-permissions-page .check_group > .col-md-3,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-1,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-3 {
    flex: 1 1 auto;
    width: auto;
    max-width: 50%;
    margin-bottom: 10px;
  }
  .msm-role-permissions-page .check_group > .col-md-9,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 {
    flex: 1 1 100%;
    width: 100%;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
  }
}
@media (max-width: 767px) {
  .msm-role-permissions-page .check_group,
  body.msm-legacy-modern .msm-role-permissions-page .check_group {
    padding: 12px !important;
    margin-bottom: 12px !important;
    display: block !important;
  }
  .msm-role-permissions-page .check_group > .col-md-1, .msm-role-permissions-page .check_group > .col-md-2,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-1,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    vertical-align: middle !important;
  }
  .msm-role-permissions-page .check_group > .col-md-1 h4,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-1 h4 {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--msm-primary, #047857) !important;
    display: inline-block !important;
    padding-right: 10px !important;
  }
  .msm-role-permissions-page .check_group > .col-md-2,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 {
    float: right !important;
    margin-top: -2px !important;
  }
  .msm-role-permissions-page .check_group > .col-md-2 .checkbox,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 .checkbox {
    margin: 0 !important;
  }
  .msm-role-permissions-page .check_group > .col-md-2 .checkbox label,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-2 .checkbox label {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: var(--msm-muted, #64748b) !important;
    padding: 4px 8px !important;
    background: #f1f5f9 !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .msm-role-permissions-page .check_group > .col-md-9,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 {
    width: 100% !important;
    clear: both !important;
    padding-top: 10px !important;
    margin-top: 8px !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 {
    width: 100% !important;
    padding: 0 !important;
  }
  .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox {
    margin: 0 !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
  }
  .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox label,
  body.msm-legacy-modern .msm-role-permissions-page .check_group > .col-md-9 > .col-md-12 > .checkbox label {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }
}
.msm-role-permissions-page .btn-primary[type=submit],
body.msm-legacy-modern .msm-role-permissions-page .btn-primary[type=submit] {
  min-height: 44px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
@media (max-width: 767px) {
  .msm-role-permissions-page .row:has(button[type=submit]),
  body.msm-legacy-modern .msm-role-permissions-page .row:has(button[type=submit]) {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--msm-border, #e2e8f0);
    margin: 16px -15px -15px !important;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  }
  .msm-role-permissions-page .row:has(button[type=submit]) button[type=submit],
  body.msm-legacy-modern .msm-role-permissions-page .row:has(button[type=submit]) button[type=submit] {
    width: 100% !important;
    float: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1366px) {
  body.msm-legacy-modern .msm-settings-workspace .pos-tab-content > .row > .col-md-3,
  body.msm-legacy-modern .msm-settings-workspace .pos-tab-content .row.well > .col-md-3,
  body.msm-legacy-modern .msm-sa-settings-tabs .pos-tab-content > .row > .col-md-3 {
    width: 50% !important;
    float: left !important;
    min-height: 80px;
  }
  body.msm-legacy-modern .msm-settings-workspace .pos-tab-content > .row > .col-md-4,
  body.msm-legacy-modern .msm-settings-workspace .pos-tab-content .row.well > .col-md-4,
  body.msm-legacy-modern .msm-sa-settings-tabs .pos-tab-content > .row > .col-md-4 {
    width: 50% !important;
    float: left !important;
    min-height: 80px;
  }
  body.msm-legacy-modern #business_logo {
    max-width: 100% !important;
  }
}
body.msm-legacy-modern.msm-superadmin-modern {
  background: var(--msm-bg);
}

body.msm-legacy-modern.msm-superadmin-modern .content-wrapper {
  background: var(--msm-bg);
  min-width: 0;
  overflow-x: hidden;
}

body.msm-legacy-modern.msm-superadmin-modern .content-header {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: space-between;
  padding: 18px 20px 10px;
}

body.msm-legacy-modern.msm-superadmin-modern .content-header > h1 {
  color: var(--msm-text);
  display: inline-flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content-header > h1 small {
  color: var(--msm-text-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

body.msm-legacy-modern.msm-superadmin-modern .content {
  padding: 0 20px 20px;
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content > .row,
body.msm-legacy-modern.msm-superadmin-modern .content .row {
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content > .row > [class*=col-],
body.msm-legacy-modern.msm-superadmin-modern .content .row > [class*=col-] {
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content > .box,
body.msm-legacy-modern.msm-superadmin-modern .content .box,
body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom,
body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-container {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box {
  margin-bottom: 18px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box-header,
body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom > .nav-tabs {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-bottom: 1px solid var(--msm-border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: space-between;
  padding: 12px 16px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box-title {
  color: var(--msm-text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box-tools {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  position: static;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box-tools .btn,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-primary,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-success,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-danger,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-info {
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box-tools .btn,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-default,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-link {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  color: var(--msm-text-soft);
}

body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-primary,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-success,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-info {
  background: linear-gradient(135deg, var(--msm-primary) 0%, var(--msm-primary-hover) 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #ffffff;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box-header .box-tools .btn:hover,
body.msm-legacy-modern.msm-superadmin-modern .content .box-header .box-tools .btn:focus,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-primary:hover,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-success:hover,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-info:hover,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-primary:focus,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-success:focus,
body.msm-legacy-modern.msm-superadmin-modern .content .btn.btn-info:focus {
  background: linear-gradient(135deg, var(--msm-primary-hover) 0%, #1d4ed8 100%);
  color: #ffffff;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box-body,
body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom > .tab-content,
body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab {
  background: var(--msm-surface);
  padding: 16px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-card);
  color: var(--msm-text);
  overflow: hidden;
  position: relative;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box > .inner {
  padding: 18px 18px 16px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box h3 {
  color: var(--msm-text);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 8px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box p {
  color: var(--msm-text-soft);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box .icon {
  align-items: center;
  color: rgba(255, 255, 255, 0.14);
  display: flex;
  height: 100%;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  top: 0;
  width: 100%;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box .icon i {
  color: rgba(255, 255, 255, 0.26);
  font-size: 72px;
  transform: translate3d(14px, 8px, 0);
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box .small-box-footer {
  align-items: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.72) 0%, rgba(244, 247, 252, 0.92) 100%);
  border-top: 1px solid var(--msm-border);
  color: var(--msm-primary);
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  padding: 10px 14px;
  text-align: center;
  text-decoration: none;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-aqua,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-yellow,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-red,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-green {
  background: #ffffff !important;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-aqua .icon,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-aqua .small-box-footer {
  color: #0ea5e9;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-yellow .icon,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-yellow .small-box-footer {
  color: #f59e0b;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-red .icon,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-red .small-box-footer {
  color: #ef4444;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-green .icon,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-green .small-box-footer {
  color: #10b981;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box .icon,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box .small-box-footer,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-aqua .icon,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-yellow .icon,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-red .icon,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-green .icon {
  color: currentColor;
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-aqua .small-box-footer,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-yellow .small-box-footer,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-red .small-box-footer,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box.bg-green .small-box-footer {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

body.msm-legacy-modern.msm-superadmin-modern .content .small-box .small-box-footer:hover,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box .small-box-footer:focus {
  background: #eef4ff;
  color: var(--msm-primary);
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print {
  padding: 0 20px;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-card);
  display: flex;
  margin: 16px 20px 0;
  min-height: 60px;
  padding: 0 12px;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .container-fluid {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .navbar-header {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .navbar-brand {
  align-items: center;
  color: var(--msm-text);
  display: inline-flex;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .navbar-brand i {
  color: var(--msm-primary);
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .navbar-toggle {
  border-color: var(--msm-border-strong);
  margin-left: 10px;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .navbar-toggle .icon-bar {
  background: var(--msm-primary);
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .navbar-collapse {
  margin-left: auto;
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .nav.navbar-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .nav.navbar-nav > li > a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  gap: 6px;
  line-height: 1.2;
  margin: 8px 0;
  padding: 10px 14px;
}

body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .nav.navbar-nav > li > a:hover,
body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .nav.navbar-nav > li.active > a,
body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .nav.navbar-nav > li > a:focus {
  background: var(--msm-primary-soft);
  border-color: #dbe7ff;
  color: var(--msm-primary);
}

body.msm-legacy-modern.msm-superadmin-modern .content .box .table-responsive {
  border: 1px solid var(--msm-border);
  border-radius: 14px;
  overflow: auto;
}

body.msm-legacy-modern.msm-superadmin-modern .content .table-responsive {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

body.msm-legacy-modern.msm-superadmin-modern .content .table-responsive table.table {
  margin-bottom: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .table-responsive table.table > thead > tr > th,
body.msm-legacy-modern.msm-superadmin-modern .content .table-responsive table.table > tbody > tr > td {
  white-space: nowrap;
}

body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom {
  border: 1px solid var(--msm-border);
}

body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom > .nav-tabs {
  background: #f8fbff;
  gap: 4px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom > .nav-tabs > li > a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px 10px 0 0;
  color: var(--msm-text-soft);
  display: inline-flex;
  font-weight: 850;
  gap: 6px;
  margin: 0;
  padding: 10px 14px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom > .nav-tabs > li.active > a,
body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom > .nav-tabs > li > a:hover,
body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom > .nav-tabs > li > a:focus {
  background: #ffffff;
  border-color: var(--msm-border) var(--msm-border) #ffffff;
  color: var(--msm-primary);
}

body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom > .tab-content,
body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab {
  padding: 18px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-container {
  display: grid;
  grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu {
  background: #f8fbff;
  border-right: 1px solid var(--msm-border);
  min-width: 0;
  padding: 12px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu > li {
  margin-bottom: 8px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu > li > a {
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--msm-text-soft);
  display: block;
  font-weight: 800;
  padding: 12px 14px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu > li.active > a,
body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu > li > a:hover,
body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu > li > a:focus {
  background: #ffffff;
  border-color: #dbe7ff;
  color: var(--msm-primary);
}

body.msm-legacy-modern.msm-superadmin-modern .content .well {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--msm-border);
  border-radius: 14px;
  box-shadow: none;
}

body.msm-legacy-modern.msm-superadmin-modern .content .form-control,
body.msm-legacy-modern.msm-superadmin-modern .content .select2-container--default .select2-selection--single {
  border-color: var(--msm-border-strong);
  border-radius: 10px;
  min-height: 40px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .modal-content {
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-float);
}

body.msm-legacy-modern.msm-superadmin-modern .content .modal-header,
body.msm-legacy-modern.msm-superadmin-modern .content .modal-footer {
  background: #f8fbff;
  border-color: var(--msm-border);
}

body.msm-legacy-modern.msm-superadmin-modern .content .badge {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  padding: 5px 10px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box.box-success,
body.msm-legacy-modern.msm-superadmin-modern .content .box.box-primary,
body.msm-legacy-modern.msm-superadmin-modern .content .box.box-warning,
body.msm-legacy-modern.msm-superadmin-modern .content .box.box-danger {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-card);
}

body.msm-legacy-modern.msm-superadmin-public {
  background: var(--msm-bg);
  color: var(--msm-text);
}

body.msm-legacy-modern.msm-superadmin-public .container {
  max-width: 1180px;
  padding-left: 18px;
  padding-right: 18px;
}

body.msm-legacy-modern.msm-superadmin-public .box {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern.msm-superadmin-public .box-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--msm-border);
  padding: 16px 18px;
}

body.msm-legacy-modern.msm-superadmin-public .box-title {
  color: var(--msm-text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

body.msm-legacy-modern.msm-superadmin-public .box-body {
  padding: 18px;
}

body.msm-legacy-modern.msm-superadmin-public .box-body .box {
  box-shadow: none;
}

body.msm-legacy-modern.msm-superadmin-public .small-box {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern.msm-superadmin-public .small-box .inner {
  padding: 18px;
}

body.msm-legacy-modern.msm-superadmin-public .small-box h3 {
  color: var(--msm-text);
}

body.msm-legacy-modern.msm-superadmin-public .small-box .small-box-footer {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
  border-top: 1px solid var(--msm-border);
  color: var(--msm-primary);
  font-weight: 900;
}

body.msm-legacy-modern.msm-superadmin-public .btn,
body.msm-legacy-modern.msm-superadmin-public .btn-primary,
body.msm-legacy-modern.msm-superadmin-public .btn-default {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  gap: 7px;
  min-height: 38px;
}

@media (max-width: 991px) {
  body.msm-legacy-modern.msm-superadmin-modern section.no-print {
    padding: 0 12px;
  }
  body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar {
    margin: 12px 12px 0;
  }
  body.msm-legacy-modern.msm-superadmin-modern .content-header,
  body.msm-legacy-modern.msm-superadmin-modern .content {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-container {
    grid-template-columns: 1fr;
  }
  body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu {
    border-bottom: 1px solid var(--msm-border);
    border-right: 0;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar {
    padding: 8px 10px;
  }
  body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .container-fluid {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .navbar-collapse {
    width: 100%;
  }
  body.msm-legacy-modern.msm-superadmin-modern section.no-print > nav.navbar .nav.navbar-nav {
    width: 100%;
  }
  body.msm-legacy-modern.msm-superadmin-public .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.msm-legacy-modern.msm-superadmin-public .box-body {
    padding: 14px;
  }
}
body.msm-legacy-modern.msm-superadmin-modern .content .box.box-success,
body.msm-legacy-modern.msm-superadmin-modern .content .box.box-primary,
body.msm-legacy-modern.msm-superadmin-modern .content .box.box-info {
  border-radius: 16px;
  overflow: hidden;
}

body.msm-legacy-modern.msm-superadmin-modern .content .box.box-success > .box-header,
body.msm-legacy-modern.msm-superadmin-modern .content .box.box-primary > .box-header,
body.msm-legacy-modern.msm-superadmin-modern .content .box.box-info > .box-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

body.msm-legacy-modern.msm-superadmin-modern .content .badge {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 5px 10px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .table-responsive {
  border: 0;
  margin-bottom: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content table.dataTable thead th {
  background: #f8faff;
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.01em;
  padding: 12px 10px !important;
  text-transform: uppercase;
}

body.msm-legacy-modern.msm-superadmin-modern .content table.dataTable tbody td {
  border-top-color: #eef2f7;
  color: var(--msm-text);
  font-size: 13px;
  padding: 12px 10px !important;
  vertical-align: middle;
}

body.msm-legacy-modern.msm-superadmin-modern .content table.dataTable tbody tr:hover td {
  background: #fbfdff;
}

body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper {
  max-width: 100%;
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .row:first-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: space-between;
  margin: 0 0 12px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .dataTables_length label,
body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .dataTables_filter label {
  align-items: center;
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  margin: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .dataTables_length select,
body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .dataTables_filter input,
body.msm-legacy-modern.msm-superadmin-modern .content .form-control,
body.msm-legacy-modern.msm-superadmin-modern .content .select2-container--default .select2-selection--single {
  border-color: var(--msm-border-strong);
  border-radius: 10px;
  box-shadow: none;
  min-height: 38px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .dataTables_filter input {
  min-width: 220px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .pagination {
  margin: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .pagination > li > a,
body.msm-legacy-modern.msm-superadmin-modern .content .dataTables_wrapper .pagination > li > span {
  border-radius: 10px;
  font-weight: 800;
  margin: 0 3px;
  min-width: 38px;
  text-align: center;
}

body.msm-legacy-modern.msm-superadmin-modern .content .table > thead > tr > th,
body.msm-legacy-modern.msm-superadmin-modern .content .table > tbody > tr > td {
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-container {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  overflow: hidden;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu {
  background: #f8fbff;
  border-right: 1px solid var(--msm-border);
  min-width: 0;
  padding: 12px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu .list-group {
  margin-bottom: 0;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu .list-group-item {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  color: var(--msm-text-soft);
  font-weight: 800;
  margin-bottom: 8px;
  padding: 11px 12px;
  text-align: left !important;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-menu .list-group-item.active {
  background: linear-gradient(135deg, var(--msm-primary) 0%, var(--msm-primary-hover) 100%);
  border-color: transparent;
  color: #ffffff;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab {
  min-width: 0;
  padding: 12px 14px 16px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab .box {
  margin-bottom: 14px;
}

body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab .form-group label {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
}

body.msm-legacy-modern.msm-superadmin-modern .content .modal-content,
body.msm-legacy-modern.msm-superadmin-modern .content .modal-dialog .modal-content {
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-float);
  overflow: hidden;
}

body.msm-legacy-modern.msm-superadmin-modern .content .modal-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-bottom: 1px solid var(--msm-border);
}

body.msm-legacy-modern.msm-superadmin-modern .content .modal-body {
  background: var(--msm-surface);
}

body.msm-legacy-modern.msm-superadmin-modern .content .modal-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--msm-border);
}

body.msm-legacy-modern.msm-superadmin-modern .content .nav.navbar-nav > li > a,
body.msm-legacy-modern.msm-superadmin-modern .content .navbar-brand {
  color: var(--msm-text);
  font-weight: 800;
}

body.msm-legacy-modern.msm-superadmin-public {
  background: var(--msm-bg);
}

body.msm-legacy-modern.msm-superadmin-public .container,
body.msm-legacy-modern.msm-superadmin-public .container-fluid {
  max-width: 1180px;
}

body.msm-legacy-modern.msm-superadmin-public .box {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-radius: 18px;
  box-shadow: var(--msm-shadow-card);
  overflow: hidden;
}

body.msm-legacy-modern.msm-superadmin-public .box-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-bottom: 1px solid var(--msm-border);
  padding: 14px 16px;
}

body.msm-legacy-modern.msm-superadmin-public .box-title {
  color: var(--msm-text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

body.msm-legacy-modern.msm-superadmin-public .box-body {
  padding: 16px;
}

body.msm-legacy-modern.msm-superadmin-public .navbar {
  background: transparent;
}

body.msm-legacy-modern.msm-superadmin-public .form-control {
  border-color: var(--msm-border-strong);
  border-radius: 10px;
  box-shadow: none;
  min-height: 38px;
}

body.msm-legacy-modern.msm-superadmin-public .btn {
  border-radius: 10px;
  font-weight: 800;
}

body.msm-legacy-modern.msm-superadmin-public .btn.bg-maroon {
  background: linear-gradient(135deg, var(--msm-primary) 0%, var(--msm-primary-hover) 100%);
  border-color: transparent;
}

/* Final Phase 13 boundary polish: keep Superadmin modern, but scoped to the module. */
body.msm-legacy-modern.msm-superadmin-modern .content .box,
body.msm-legacy-modern.msm-superadmin-modern .content .nav-tabs-custom,
body.msm-legacy-modern.msm-superadmin-modern .content .pos-tab-container,
body.msm-legacy-modern.msm-superadmin-modern .content .small-box,
body.msm-legacy-modern.msm-superadmin-public .box,
body.msm-legacy-modern.msm-superadmin-public .small-box {
  border-radius: var(--msm-radius-md);
}

body.msm-legacy-modern.msm-superadmin-modern .content .modal-content,
body.msm-legacy-modern.msm-superadmin-modern .content .modal-dialog .modal-content {
  border-radius: var(--msm-radius-md);
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header {
  max-width: 1180px;
  padding: 14px 18px 0;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__row::before,
body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__row::after {
  display: none;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__row > [class*=col-] {
  float: none;
  min-width: 0;
  width: auto;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__row > [class*=col-]:first-child {
  flex: 0 1 220px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__row > [class*=col-]:last-child {
  flex: 1 1 auto;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__language,
body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__actions {
  align-items: center;
  display: flex;
  float: none !important;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 0 !important;
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__language {
  justify-content: flex-start;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__actions {
  color: var(--msm-text-soft) !important;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__actions a:not(.btn) {
  color: var(--msm-primary);
  font-weight: 850;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header .form-control {
  border-radius: var(--msm-radius-md);
  height: 38px;
  max-width: 180px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-auth-header .btn {
  border-radius: var(--msm-radius-md);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
  margin: 0;
  min-height: 38px;
  padding: 8px 14px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-page {
  padding-bottom: 28px;
  padding-top: 8px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-page > .logo {
  margin-bottom: 18px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid {
  margin-left: 0;
  margin-right: 0;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid::before,
body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid::after {
  display: none;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body::before,
body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body::after {
  display: none;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body > [class*=col-] {
  display: flex;
  float: none;
  padding: 0;
  width: calc(33.333% - 12px);
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body > .clearfix {
  display: none;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body > [class*=col-] > .box {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-bottom: 0;
  min-width: 0;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box.box-success {
  border-top: 3px solid var(--msm-success);
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-header {
  min-height: 58px;
  text-align: left;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-title {
  color: var(--msm-text);
  display: block;
  font-size: 16px;
  line-height: 1.25;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-body {
  color: var(--msm-text-soft);
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.65;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-body i.text-success {
  align-items: center;
  background: var(--msm-success-soft);
  border-radius: 999px;
  color: var(--msm-success);
  display: inline-flex;
  height: 18px;
  justify-content: center;
  margin-right: 5px;
  width: 18px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-body h3 {
  color: var(--msm-text);
  font-size: 22px;
  font-weight: 900;
  margin: 18px 0 4px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-body h3 small {
  color: var(--msm-muted);
  font-size: 13px;
  font-weight: 700;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-footer {
  background: #f8fbff !important;
  border-top: 1px solid var(--msm-border);
  color: var(--msm-text-soft);
  font-size: 12px;
  line-height: 1.45;
  padding: 14px;
}

body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-footer .btn-success {
  background: linear-gradient(135deg, var(--msm-primary) 0%, var(--msm-primary-hover) 100%);
  border-color: transparent;
  border-radius: var(--msm-radius-md);
  color: #ffffff;
  font-weight: 850;
  min-height: 40px;
}

/* Superadmin full SaaS boundary redesign */
body.msm-superadmin-modern .msm-sa-shell-nav {
  padding: 14px 18px 0;
}

body.msm-superadmin-modern .msm-sa-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: var(--msm-shadow-card);
  display: flex;
  gap: 14px;
  min-height: 62px;
  padding: 9px 12px;
}

body.msm-superadmin-modern .msm-sa-nav__brand {
  align-items: center;
  color: var(--msm-text);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  min-width: 190px;
  text-decoration: none;
}

body.msm-superadmin-modern .msm-sa-nav__brand span {
  align-items: center;
  background: var(--msm-primary-soft);
  border-radius: var(--msm-radius-md);
  color: var(--msm-primary);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

body.msm-superadmin-modern .msm-sa-nav__links {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  min-width: 0;
}

body.msm-superadmin-modern .msm-sa-nav__links a,
body.msm-superadmin-modern .msm-sa-nav-drawer a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--msm-radius-md);
  color: var(--msm-text-soft);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  min-height: 38px;
  padding: 9px 11px;
  text-decoration: none;
}

body.msm-superadmin-modern .msm-sa-nav__links a:hover,
body.msm-superadmin-modern .msm-sa-nav__links a:focus,
body.msm-superadmin-modern .msm-sa-nav__links a.is-active,
body.msm-superadmin-modern .msm-sa-nav-drawer a:hover,
body.msm-superadmin-modern .msm-sa-nav-drawer a:focus,
body.msm-superadmin-modern .msm-sa-nav-drawer a.is-active {
  background: var(--msm-primary-soft);
  border-color: #dbe7ff;
  color: var(--msm-primary);
}

body.msm-superadmin-modern .msm-sa-nav__toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  color: var(--msm-text);
  display: none;
  height: 40px;
  justify-content: center;
  margin-left: auto;
  width: 40px;
}

body.msm-superadmin-modern .msm-sa-nav-drawer {
  background: rgba(16, 24, 40, 0.42);
  bottom: 0;
  display: none;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity var(--msm-transition-fast);
  z-index: 1060;
}

body.msm-superadmin-modern .msm-sa-nav-drawer.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

body.msm-superadmin-modern .msm-sa-nav-drawer__panel {
  background: #ffffff;
  box-shadow: var(--msm-shadow-float);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  max-width: 330px;
  padding: 16px;
}

body.msm-superadmin-modern .msm-sa-nav-drawer__header {
  align-items: center;
  border-bottom: 1px solid var(--msm-border);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 12px;
}

body.msm-superadmin-modern .msm-sa-nav-drawer__header button {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

body.msm-superadmin-modern .msm-sa-page-header {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 18px 20px 12px;
}

body.msm-superadmin-modern .msm-sa-page-header__main {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

body.msm-superadmin-modern .msm-sa-page-header__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle {
  align-items: center;
  background: #eaf2ff;
  border: 1px solid #cddcff;
  border-radius: 999px;
  color: #1457e8;
  display: inline-flex;
  gap: 7px;
  min-height: 34px;
  padding: 8px 12px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle:hover,
body.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle:focus {
  background: #dfeaff;
  border-color: #acc5ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
  color: #0f4bd8;
}

body.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle .msm-sales-filter-chevron {
  font-size: 10px;
  transition: transform 0.18s ease;
}

body.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle.collapsed .msm-sales-filter-chevron,
body.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle[aria-expanded=false] .msm-sales-filter-chevron {
  transform: rotate(-90deg);
}

body.msm-superadmin-modern .msm-sa-page-header__icon {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: var(--msm-shadow-card);
  color: var(--msm-primary);
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
}

body.msm-superadmin-modern .msm-sa-page-header h1 {
  color: var(--msm-text);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.18;
  margin: 0;
}

body.msm-superadmin-modern .msm-sa-page-header p {
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 700;
  margin: 2px 0 0;
}

body.msm-superadmin-modern .msm-sa-page-header__kicker,
.msm-sa-eyebrow {
  color: var(--msm-primary);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.msm-superadmin-modern .msm-sa-page {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 1760px;
  padding: 14px clamp(16px, 2.2vw, 42px) 26px;
}

body.msm-superadmin-modern .msm-sa-dashboard {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: 1760px;
  padding: 14px clamp(22px, 2.4vw, 46px) 22px;
}

body.msm-superadmin-modern .msm-sa-dashboard-header {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)), #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 12px;
  overflow: hidden;
  padding: 14px 16px;
  position: relative;
}

body.msm-superadmin-modern .msm-sa-dashboard-header::before {
  background: linear-gradient(180deg, var(--msm-primary), #60a5fa);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

body.msm-superadmin-modern .msm-sa-dashboard-header::after {
  background: linear-gradient(180deg, var(--msm-primary), #60a5fa);
  bottom: 0;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
}

body.msm-superadmin-modern .msm-sa-dashboard-header__main {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

body.msm-superadmin-modern .msm-sa-dashboard-header__icon {
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #eef5ff);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--msm-radius-md);
  color: var(--msm-primary);
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
}

body.msm-superadmin-modern .msm-sa-dashboard-header h1 {
  color: var(--msm-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  margin: 2px 0 4px;
}

body.msm-superadmin-modern .msm-sa-dashboard-header p {
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

body.msm-superadmin-modern .msm-sa-dashboard-header__controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.msm-superadmin-modern .msm-sa-range {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
}

body.msm-superadmin-modern .msm-sa-range label,
body.msm-superadmin-modern .msm-sa-range button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: var(--msm-radius-sm);
  color: var(--msm-text-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  min-height: 34px;
  padding: 8px 10px;
  white-space: nowrap;
}

body.msm-superadmin-modern .msm-sa-range label.active,
body.msm-superadmin-modern .msm-sa-range label:hover,
body.msm-superadmin-modern .msm-sa-range button.active,
body.msm-superadmin-modern .msm-sa-range button:hover,
body.msm-superadmin-modern .msm-sa-range button:focus {
  background: linear-gradient(180deg, var(--msm-primary), #1d4ed8);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22);
  color: #ffffff;
  outline: 0;
}

body.msm-superadmin-modern .msm-sa-range input {
  display: none;
}

body.msm-superadmin-modern .msm-sa-metrics-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 14px;
}

body.msm-superadmin-modern .msm-sa-metric {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  display: flex;
  gap: 12px;
  min-height: 108px;
  min-width: 0;
  padding: 15px 14px;
  position: relative;
}

body.msm-superadmin-modern a.msm-sa-metric,
body.msm-superadmin-modern a.msm-sa-metric:hover,
body.msm-superadmin-modern a.msm-sa-metric:focus {
  color: inherit;
  text-decoration: none;
}

body.msm-superadmin-modern .msm-sa-metric--link {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.msm-superadmin-modern .msm-sa-metric--link:hover,
body.msm-superadmin-modern .msm-sa-metric--link:focus {
  border-color: #bfd3ff;
  box-shadow: 0 18px 38px rgba(35, 101, 242, 0.14);
  transform: translateY(-2px);
}

body.msm-superadmin-modern .msm-sa-metric--link:focus {
  outline: 3px solid rgba(35, 101, 242, 0.18);
  outline-offset: 2px;
}

body.msm-superadmin-modern .msm-sa-metric::before {
  border-radius: var(--msm-radius-md) var(--msm-radius-md) 0 0;
  content: "";
  height: 2px;
  left: 10px;
  opacity: 0.9;
  position: absolute;
  right: 10px;
  top: -1px;
}

body.msm-superadmin-modern .msm-sa-metric__icon {
  align-items: center;
  border-radius: var(--msm-radius-md);
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
}

body.msm-superadmin-modern .msm-sa-metric__body {
  min-width: 0;
}

body.msm-superadmin-modern .msm-sa-metric__label {
  color: var(--msm-muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
}

body.msm-superadmin-modern .msm-sa-metric strong {
  color: var(--msm-text);
  display: block;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 7px;
  overflow-wrap: anywhere;
}

body.msm-superadmin-modern .msm-sa-metric small {
  color: var(--msm-muted);
  display: block;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  margin-top: 7px;
}

body.msm-superadmin-modern .msm-sa-metric--blue .msm-sa-metric__icon {
  background: var(--msm-primary-soft);
  color: var(--msm-primary);
}

body.msm-superadmin-modern .msm-sa-metric--green .msm-sa-metric__icon {
  background: var(--msm-success-soft);
  color: var(--msm-success);
}

body.msm-superadmin-modern .msm-sa-metric--teal .msm-sa-metric__icon {
  background: var(--msm-info-soft);
  color: var(--msm-info);
}

body.msm-superadmin-modern .msm-sa-metric--amber .msm-sa-metric__icon {
  background: var(--msm-warning-soft);
  color: var(--msm-warning);
}

body.msm-superadmin-modern .msm-sa-metric--purple .msm-sa-metric__icon {
  background: var(--msm-purple-soft);
  color: var(--msm-purple);
}

body.msm-superadmin-modern .msm-sa-metric--red .msm-sa-metric__icon {
  background: var(--msm-danger-soft);
  color: var(--msm-danger);
}

body.msm-superadmin-modern .msm-sa-metric--blue::before {
  background: linear-gradient(90deg, var(--msm-primary), #0ea5e9);
}

body.msm-superadmin-modern .msm-sa-metric--green::before {
  background: linear-gradient(90deg, var(--msm-success), #22c55e);
}

body.msm-superadmin-modern .msm-sa-metric--teal::before {
  background: linear-gradient(90deg, var(--msm-info), #14b8a6);
}

body.msm-superadmin-modern .msm-sa-metric--amber::before {
  background: linear-gradient(90deg, var(--msm-warning), #f97316);
}

body.msm-superadmin-modern .msm-sa-metric--purple::before {
  background: linear-gradient(90deg, var(--msm-purple), #a855f7);
}

body.msm-superadmin-modern .msm-sa-metric--red::before {
  background: linear-gradient(90deg, var(--msm-danger), #fb7185);
}

body.msm-superadmin-modern .msm-sa-analytics-grid {
  display: grid;
  align-items: start;
  gap: 14px;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
  margin-bottom: 12px;
}

body.msm-superadmin-modern .msm-sa-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 253, 255, 0.96));
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
  min-width: 0;
  overflow: hidden;
}

body.msm-superadmin-modern .msm-sa-side-stack {
  display: grid;
  gap: 14px;
}

body.msm-superadmin-modern .msm-sa-panel__header {
  align-items: center;
  background: linear-gradient(180deg, #fbfdff, #f6f9fd);
  border-bottom: 1px solid var(--msm-border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 9px 14px;
}

body.msm-superadmin-modern .msm-sa-panel__header h3,
body.msm-superadmin-modern .msm-sa-panel .box-title {
  color: var(--msm-text);
  font-size: 15px;
  font-weight: 900;
  margin: 0;
}

body.msm-superadmin-modern .msm-sa-panel__header a {
  color: var(--msm-primary);
  font-size: 12px;
  font-weight: 850;
}

body.msm-superadmin-modern .msm-sa-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px 14px;
}

body.msm-superadmin-modern .msm-sa-revenue-suite {
  display: grid;
  align-items: stretch;
  gap: 16px;
  grid-template-columns: minmax(0, 1.48fr) minmax(340px, 0.72fr);
  padding: 15px 16px 16px;
}

body.msm-superadmin-modern .msm-sa-revenue-chart {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  min-height: 238px;
  padding: 16px 14px 12px;
}

body.msm-superadmin-modern .msm-sa-revenue-chart__plot {
  align-items: stretch;
  background: linear-gradient(to top, rgba(203, 213, 225, 0.62) 1px, transparent 1px) 0 0/100% 25%, #ffffff;
  display: flex;
  gap: 12px;
  min-height: 198px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 10px;
  scrollbar-width: thin;
}

body.msm-superadmin-modern .msm-sa-revenue-chart__plot::-webkit-scrollbar {
  height: 6px;
}

body.msm-superadmin-modern .msm-sa-revenue-chart__plot::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.22);
  border-radius: 999px;
}

body.msm-superadmin-modern .msm-sa-revenue-chart__item {
  align-items: center;
  display: grid;
  flex: 1 0 52px;
  gap: 7px;
  grid-template-rows: 20px minmax(126px, 1fr) 20px;
  max-width: 118px;
  min-width: 0;
}

body.msm-superadmin-modern .msm-sa-donut-card {
  align-items: center;
  background: radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.08), transparent 34%), linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  display: grid;
  gap: 12px;
  grid-template-columns: 118px minmax(0, 1fr);
  max-height: 238px;
  min-height: 238px;
  overflow: hidden;
  padding: 16px;
}

body.msm-superadmin-modern .msm-sa-donut-card__visual {
  align-items: center;
  display: flex;
  justify-content: center;
}

body.msm-superadmin-modern .msm-sa-donut-card__ring {
  align-items: center;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
  display: flex;
  height: 126px;
  justify-content: center;
  position: relative;
  width: 126px;
}

body.msm-superadmin-modern .msm-sa-donut-card__ring::after {
  background: #ffffff;
  border-radius: inherit;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  content: "";
  height: 76px;
  position: absolute;
  width: 76px;
}

body.msm-superadmin-modern .msm-sa-donut-card__ring span {
  color: var(--msm-text);
  display: grid;
  gap: 2px;
  position: relative;
  text-align: center;
  z-index: 1;
}

body.msm-superadmin-modern .msm-sa-donut-card__ring small {
  color: var(--msm-muted);
  font-size: 11px;
  font-weight: 850;
}

body.msm-superadmin-modern .msm-sa-donut-card__ring strong {
  color: var(--msm-text);
  font-size: 13px;
  font-weight: 900;
  max-width: 70px;
  overflow-wrap: anywhere;
}

body.msm-superadmin-modern .msm-sa-donut-card__legend {
  display: grid;
  gap: 7px;
  max-height: 200px;
  min-width: 0;
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
}

body.msm-superadmin-modern .msm-sa-donut-card__legend::-webkit-scrollbar {
  width: 6px;
}

body.msm-superadmin-modern .msm-sa-donut-card__legend::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.22);
  border-radius: 999px;
}

body.msm-superadmin-modern .msm-sa-donut-card__row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 10px minmax(0, 1fr) 38px minmax(58px, auto);
}

body.msm-superadmin-modern .msm-sa-donut-card__row i {
  border-radius: 3px;
  height: 10px;
  width: 10px;
}

body.msm-superadmin-modern .msm-sa-donut-card__row span,
body.msm-superadmin-modern .msm-sa-donut-card__row strong,
body.msm-superadmin-modern .msm-sa-donut-card__row em {
  color: var(--msm-text-soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  min-width: 0;
}

body.msm-superadmin-modern .msm-sa-donut-card__row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-superadmin-modern .msm-sa-donut-card__row strong,
body.msm-superadmin-modern .msm-sa-donut-card__row em {
  color: var(--msm-text);
  text-align: right;
}

body.msm-superadmin-modern .msm-sa-donut-card .msm-sa-empty {
  grid-column: 1/-1;
}

body.msm-superadmin-modern .msm-sa-revenue-chart__item strong {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

body.msm-superadmin-modern .msm-sa-revenue-chart__track {
  align-items: flex-end;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  height: 100%;
  justify-content: center;
  margin: 0 auto;
  overflow: visible;
  padding-top: 0;
  position: relative;
  width: 100%;
}

body.msm-superadmin-modern .msm-sa-revenue-chart__track::after {
  background: rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  bottom: -1px;
  content: "";
  height: 2px;
  left: 12%;
  position: absolute;
  right: 12%;
}

body.msm-superadmin-modern .msm-sa-revenue-chart__track span {
  background: linear-gradient(180deg, #2563eb 0%, #138fb5 48%, #10b981 100%);
  border-radius: 8px 8px 4px 4px;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.24);
  display: block;
  min-height: 8px;
  width: min(42px, 66%);
}

body.msm-superadmin-modern .msm-sa-revenue-chart__item small {
  color: var(--msm-text-soft);
  display: block;
  font-size: 12px;
  font-weight: 850;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-superadmin-modern .msm-sa-chart-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 70px minmax(0, 1fr) 96px;
}

body.msm-superadmin-modern .msm-sa-chart-row span,
body.msm-superadmin-modern .msm-sa-list-item span {
  color: var(--msm-text-soft);
  font-size: 12px;
  font-weight: 800;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.msm-superadmin-modern .msm-sa-chart-row div {
  background: #eef4ff;
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

body.msm-superadmin-modern .msm-sa-chart-row i {
  background: linear-gradient(90deg, var(--msm-primary), var(--msm-success));
  border-radius: inherit;
  display: block;
  height: 100%;
}

body.msm-superadmin-modern .msm-sa-chart-row strong,
body.msm-superadmin-modern .msm-sa-list-item strong {
  color: var(--msm-text);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

body.msm-superadmin-modern .msm-sa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 54px;
  padding: 8px 12px;
}

body.msm-superadmin-modern .msm-sa-list-item {
  align-items: center;
  background: #fbfdff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
}

body.msm-superadmin-modern .msm-sa-panel--compact-insight .msm-sa-panel__header {
  padding-bottom: 7px;
  padding-top: 8px;
}

body.msm-superadmin-modern .msm-sa-panel--compact-insight .msm-sa-list {
  min-height: 76px;
}

body.msm-superadmin-modern .msm-sa-panel--compact-insight .msm-sa-empty--compact {
  color: var(--msm-muted);
  min-height: 42px;
  padding: 8px;
}

body.msm-superadmin-modern .msm-sa-panel--compact-insight .msm-sa-empty--compact i {
  background: var(--msm-primary-soft);
  border-radius: 999px;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  line-height: 22px;
  width: 22px;
}

body.msm-superadmin-modern .msm-sa-panel--compact-insight .msm-sa-watchlist {
  max-height: 160px;
  min-height: 112px;
}

body.msm-superadmin-modern .msm-sa-panel--compact-insight .msm-sa-watchitem {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body.msm-superadmin-modern .msm-sa-panel--compact-insight .msm-sa-watchitem span {
  align-items: center;
  display: flex;
  gap: 7px;
}

body.msm-superadmin-modern .msm-sa-panel--compact-insight .msm-sa-watchitem span::before {
  border-radius: 999px;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

body.msm-superadmin-modern .msm-sa-watchitem--renewal {
  border-left-color: var(--msm-warning);
}

body.msm-superadmin-modern .msm-sa-watchitem--renewal span::before {
  background: var(--msm-warning);
  box-shadow: 0 0 0 4px var(--msm-warning-soft);
}

body.msm-superadmin-modern .msm-sa-watchitem--expired {
  border-left-color: var(--msm-danger);
}

body.msm-superadmin-modern .msm-sa-watchitem--expired span::before {
  background: var(--msm-danger);
  box-shadow: 0 0 0 4px var(--msm-danger-soft);
}

body.msm-superadmin-modern .msm-sa-watch-grid {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.msm-superadmin-modern .msm-sa-watchlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 176px;
  overflow: auto;
  padding: 10px;
}

body.msm-superadmin-modern .msm-sa-watchitem {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-left: 3px solid var(--msm-primary);
  border-radius: var(--msm-radius-md);
  display: grid;
  gap: 4px;
  padding: 8px 10px;
}

body.msm-superadmin-modern .msm-sa-watchitem span {
  color: var(--msm-text);
  font-weight: 900;
}

body.msm-superadmin-modern .msm-sa-watchitem small,
body.msm-superadmin-modern .msm-sa-watchitem em {
  color: var(--msm-muted);
  font-style: normal;
  font-weight: 750;
}

body.msm-superadmin-modern .msm-sa-filter-shell,
body.msm-superadmin-modern .msm-sa-table-shell,
body.msm-superadmin-modern .msm-sa-form-shell,
body.msm-superadmin-modern .msm-sa-profile-shell,
body.msm-superadmin-modern .msm-sa-checkout-shell {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: var(--msm-shadow-card);
  margin-bottom: 16px;
  overflow: hidden;
}

body.msm-superadmin-modern .msm-sa-filter-shell__header {
  align-items: center;
  background: #f8fbff;
  border-bottom: 1px solid var(--msm-border);
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
}

body.msm-superadmin-modern .msm-sa-filter-shell__header h3 {
  color: var(--msm-text);
  font-size: 15px;
  font-weight: 900;
  margin: 0;
}

body.msm-superadmin-modern .msm-sa-filter-shell .box,
body.msm-superadmin-modern .msm-sa-filter-shell .box-header {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
}

body.msm-superadmin-modern .msm-sa-filter-shell #accordion > .box-header {
  display: none;
}

body.msm-superadmin-modern .msm-sa-filter-shell .panel-collapse {
  display: block !important;
  height: auto !important;
}

body.msm-superadmin-modern .msm-sa-filter-shell .box-body {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding: 14px;
}

body.msm-superadmin-modern .msm-sa-filter-shell .box-body::before,
body.msm-superadmin-modern .msm-sa-filter-shell .box-body::after {
  display: none;
}

body.msm-superadmin-modern .msm-sa-filter-shell .box-body > [class*=col-] {
  float: none;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

body.msm-superadmin-modern .msm-sa-filter-shell .form-group {
  margin-bottom: 0;
}

body.msm-superadmin-modern .msm-sa-filter-shell label,
body.msm-superadmin-modern .msm-sa-form-shell label {
  color: var(--msm-muted);
  font-size: 12px;
  font-weight: 850;
}

body.msm-superadmin-modern .msm-sa-filter-shell .form-control,
body.msm-superadmin-modern .msm-sa-form-shell .form-control,
body.msm-superadmin-modern .msm-sa-form-shell .input-group-addon {
  border-color: #d7e2f1;
  border-radius: 7px;
  box-shadow: none;
  min-height: 38px;
}

body.msm-superadmin-modern .msm-sa-filter-shell .form-control:focus,
body.msm-superadmin-modern .msm-sa-form-shell .form-control:focus {
  border-color: #7ba8ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body.msm-superadmin-modern .msm-sa-table-shell > .box-header,
body.msm-superadmin-modern .msm-sa-form-shell > .box-header,
body.msm-superadmin-modern .msm-sa-profile-shell > .box-header,
body.msm-superadmin-modern .msm-sa-panel > .box-header {
  align-items: center;
  background: linear-gradient(180deg, #fbfdff, #f6f9fd);
  border-bottom: 1px solid var(--msm-border);
  display: flex;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 15px;
}

body.msm-superadmin-modern .msm-sa-table-shell > .box-header .box-title,
body.msm-superadmin-modern .msm-sa-form-shell > .box-header .box-title,
body.msm-superadmin-modern .msm-sa-profile-shell > .box-header .box-title,
body.msm-superadmin-modern .msm-sa-panel > .box-header .box-title {
  color: var(--msm-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

body.msm-superadmin-modern .msm-sa-table-shell > .box-body,
body.msm-superadmin-modern .msm-sa-form-shell > .box-body,
body.msm-superadmin-modern .msm-sa-profile-shell > .box-body,
body.msm-superadmin-modern .msm-sa-panel > .box-body {
  padding: 14px;
}

body.msm-superadmin-modern .msm-sa-reference-filter-panel {
  margin-bottom: 14px;
}

body.msm-superadmin-modern .msm-sa-reference-filter-panel .msm-sales-filter-inner {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

body.msm-superadmin-modern .msm-sa-table-toolbar {
  margin: 0 0 14px;
}

body.msm-superadmin-modern .msm-sa-table-toolbar .btn-primary {
  border-radius: 8px;
  font-weight: 850;
}

body.msm-superadmin-modern .msm-sa-table-shell .table-responsive {
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
}

body.msm-superadmin-modern .msm-sa-table-shell table {
  margin-bottom: 0;
  min-width: 760px;
}

body.msm-superadmin-modern .msm-sa-table-shell .dataTables_wrapper {
  min-width: 0;
}

body.msm-superadmin-modern .msm-sa-table-shell .dataTables_wrapper > .row:first-child,
body.msm-superadmin-modern .msm-sa-table-shell .dataTables_wrapper > .row:last-child {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 0;
  margin-right: 0;
}

body.msm-superadmin-modern .msm-sa-table-shell .dataTables_wrapper > .row:first-child > [class*=col-],
body.msm-superadmin-modern .msm-sa-table-shell .dataTables_wrapper > .row:last-child > [class*=col-] {
  float: none;
  min-width: 220px;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

body.msm-superadmin-modern .msm-sa-table-shell .dataTables_wrapper > .row:first-child > [class*=col-]:last-child,
body.msm-superadmin-modern .msm-sa-table-shell .dataTables_wrapper > .row:last-child > [class*=col-]:last-child {
  margin-left: auto;
}

body.msm-superadmin-modern .msm-sa-table-shell .dataTables_filter {
  text-align: right;
}

body.msm-superadmin-modern .msm-sa-table-shell .dataTables_filter input {
  max-width: 260px;
  width: min(260px, 100%);
}

body.msm-superadmin-modern .msm-sa-table-shell .pagination {
  margin: 0;
}

body.msm-superadmin-modern .msm-sa-table-shell .btn-xs,
body.msm-superadmin-modern .msm-sa-table-shell .btn-sm {
  border-radius: 7px;
  font-weight: 800;
}

body.msm-superadmin-modern .msm-sa-business-page .msm-sa-table-shell > .box-body {
  padding: 10px;
}

body.msm-superadmin-modern .msm-sa-business-page .msm-sa-table-toolbar {
  margin-bottom: 8px;
}

body.msm-superadmin-modern .msm-sa-business-page .msm-sales-table-toolbar:not(.box-tools) {
  padding-bottom: 9px;
  padding-top: 9px;
}

body.msm-superadmin-modern .msm-sa-business-page .msm-sa-table-shell .table-responsive {
  overflow-x: visible;
  overflow-y: visible;
}

body.msm-superadmin-modern .msm-sa-business-page .msm-sa-table-shell table {
  min-width: 0;
  width: 100% !important;
}

body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper .dataTables_scrollBody {
  max-height: none !important;
  overflow-y: visible !important;
}

body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper table.dataTable {
  border-collapse: collapse !important;
}

body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper table.dataTable thead > tr > th,
body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper table.dataTable tbody > tr > td {
  font-size: 12px;
  line-height: 1.22;
  padding: 7px 8px;
  vertical-align: top;
  white-space: normal;
  word-break: normal;
}

body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper table.dataTable thead > tr > th {
  color: #30446c;
  font-weight: 850;
}

body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper table.dataTable tbody > tr > td {
  color: #1f3766;
}

body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper table.dataTable tbody > tr > td:last-child {
  min-width: 118px;
  white-space: normal;
}

body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper .btn-xs,
body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper .btn-sm {
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.1;
  margin: 0 2px 3px 0;
  min-height: 0;
  padding: 4px 7px;
}

body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper .label,
body.msm-superadmin-modern .msm-sa-business-page #superadmin_business_table_wrapper .badge {
  border-radius: 4px;
  font-size: 11px;
  padding: 4px 6px;
}

body.msm-superadmin-modern .msm-sa-form-shell .box-body::after,
body.msm-superadmin-modern .msm-sa-profile-shell .box-body::after,
body.msm-superadmin-modern .msm-sa-panel .box-body::after {
  clear: both;
  content: "";
  display: table;
}

body.msm-superadmin-modern .msm-sa-form-shell .row {
  display: flex;
  flex-wrap: wrap;
}

body.msm-superadmin-modern .msm-sa-form-shell .checkbox,
body.msm-superadmin-modern .msm-sa-form-shell .form-group {
  margin-bottom: 15px;
}

body.msm-superadmin-modern .msm-sa-form-shell .checkbox label {
  align-items: flex-start;
  background: #f8fbff;
  border: 1px solid #dfe8f5;
  border-radius: 8px;
  color: var(--msm-text);
  display: flex;
  gap: 8px;
  min-height: 40px;
  padding: 10px 12px;
}

body.msm-superadmin-modern .msm-sa-form-shell .help-block {
  color: var(--msm-muted);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 0;
}

body.msm-superadmin-modern .msm-sa-profile-shell .well,
body.msm-superadmin-modern .msm-sa-tenant-subscription-page .box-success,
body.msm-superadmin-modern .msm-sa-content-card {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}

body.msm-superadmin-modern .msm-sa-profile-shell .well strong {
  color: var(--msm-text);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-top: 10px;
}

body.msm-superadmin-modern .msm-sa-profile-shell .well strong:first-child {
  margin-top: 0;
}

body.msm-superadmin-modern .msm-sa-profile-shell .well p {
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

body.msm-superadmin-modern .msm-sa-content-card {
  overflow: hidden;
}

body.msm-superadmin-modern .msm-sa-content-card .box-header {
  background: #f8fbff;
  border-bottom: 1px solid var(--msm-border);
}

body.msm-superadmin-modern .msm-sa-content-card .box-title {
  color: var(--msm-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

body.msm-superadmin-modern .msm-sa-content-card .box-body {
  color: #334155;
  line-height: 1.55;
}

body.msm-superadmin-modern .msm-sa-subscription-overview {
  overflow: hidden;
}

body.msm-superadmin-modern .msm-sa-subscription-overview > .box-header {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08)), #ffffff;
  display: flex;
  justify-content: space-between;
  min-height: 0;
  padding: 16px 20px;
}

body.msm-superadmin-modern .msm-sa-subscription-overview > .box-body {
  padding: 18px 20px 20px;
}

body.msm-superadmin-modern .msm-sa-kicker {
  color: var(--msm-primary);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 4px;
  text-transform: uppercase;
}

body.msm-superadmin-modern .msm-sa-active-plan {
  align-items: stretch;
  background: radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.14), transparent 28%), linear-gradient(135deg, #f3f8ff 0%, #eefcf8 100%);
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.09);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 1.15fr) repeat(3, minmax(150px, 0.65fr));
  padding: 14px;
}

body.msm-superadmin-modern .msm-sa-active-plan__identity,
body.msm-superadmin-modern .msm-sa-active-plan__detail {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(191, 213, 255, 0.86);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  min-width: 0;
  padding: 14px;
}

body.msm-superadmin-modern .msm-sa-active-plan__identity {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 255, 0.9));
}

body.msm-superadmin-modern .msm-sa-active-plan__identity {
  align-items: center;
  display: flex;
  gap: 12px;
}

body.msm-superadmin-modern .msm-sa-active-plan__icon {
  align-items: center;
  background: #eaf1ff;
  border-radius: 8px;
  color: var(--msm-primary);
  display: inline-flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

body.msm-superadmin-modern .msm-sa-active-plan h4 {
  color: var(--msm-text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
}

body.msm-superadmin-modern .msm-sa-active-plan__detail span {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

body.msm-superadmin-modern .msm-sa-active-plan__detail strong {
  color: #0f172a;
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

body.msm-superadmin-modern .msm-sa-active-plan__detail--days {
  background: linear-gradient(135deg, #ecfdf5, #eff6ff);
  border-color: #9ee6c3;
}

body.msm-superadmin-modern .msm-sa-subscription-queue {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 14px;
}

body.msm-superadmin-modern .msm-sa-subscription-queue__item {
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-left: 3px solid var(--msm-primary);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.04);
  min-width: 0;
  padding: 12px 14px;
}

body.msm-superadmin-modern .msm-sa-subscription-queue__item strong {
  color: var(--msm-text);
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

body.msm-superadmin-modern .msm-sa-subscription-queue__item small {
  color: #53657f;
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 5px;
}

body.msm-superadmin-modern .msm-sa-datatable-wrapper {
  position: relative;
}

body.msm-superadmin-modern .msm-sa-plan-grid,
body.msm-superadmin-public .msm-sa-plan-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.msm-superadmin-modern .msm-sa-plan-card,
body.msm-superadmin-public .msm-sa-plan-card {
  background: #ffffff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: var(--msm-shadow-card);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

body.msm-superadmin-modern .msm-sa-plan-card__header,
body.msm-superadmin-public .msm-sa-plan-card__header {
  align-items: flex-start;
  background: #f8fbff;
  border-bottom: 1px solid var(--msm-border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
}

body.msm-superadmin-modern .msm-sa-plan-card h3,
body.msm-superadmin-public .msm-sa-plan-card h3 {
  color: var(--msm-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}

body.msm-superadmin-modern .msm-sa-plan-card__badges,
body.msm-superadmin-public .msm-sa-plan-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

body.msm-superadmin-modern .msm-sa-status,
body.msm-superadmin-public .msm-sa-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  padding: 5px 8px;
}

body.msm-superadmin-modern .msm-sa-status.is-success,
body.msm-superadmin-public .msm-sa-status.is-success {
  background: var(--msm-success-soft);
  color: var(--msm-success);
}

body.msm-superadmin-modern .msm-sa-status.is-warning,
body.msm-superadmin-public .msm-sa-status.is-warning {
  background: var(--msm-warning-soft);
  color: var(--msm-warning);
}

body.msm-superadmin-modern .msm-sa-status.is-info,
body.msm-superadmin-public .msm-sa-status.is-info {
  background: var(--msm-info-soft);
  color: var(--msm-info);
}

body.msm-superadmin-modern .msm-sa-status.is-muted,
body.msm-superadmin-public .msm-sa-status.is-muted {
  background: #eef2f7;
  color: var(--msm-muted);
}

body.msm-superadmin-modern .msm-sa-plan-card__actions {
  display: inline-flex;
  gap: 6px;
}

body.msm-superadmin-modern .msm-sa-plan-card__price,
body.msm-superadmin-public .msm-sa-plan-card__price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 14px 4px;
}

body.msm-superadmin-modern .msm-sa-plan-card__price strong,
body.msm-superadmin-public .msm-sa-plan-card__price strong {
  color: var(--msm-text);
  font-size: 23px;
  font-weight: 900;
}

body.msm-superadmin-modern .msm-sa-plan-card__price span,
body.msm-superadmin-public .msm-sa-plan-card__price span {
  color: var(--msm-muted);
  font-weight: 800;
}

body.msm-superadmin-modern .msm-sa-plan-card__limits,
body.msm-superadmin-public .msm-sa-plan-card__limits {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 12px 14px;
}

body.msm-superadmin-modern .msm-sa-plan-card__limits li,
body.msm-superadmin-public .msm-sa-plan-card__limits li {
  background: #fbfdff;
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  min-width: 0;
  padding: 10px;
}

body.msm-superadmin-modern .msm-sa-plan-card__limits i,
body.msm-superadmin-public .msm-sa-plan-card__limits i {
  color: var(--msm-primary);
  margin-right: 6px;
}

body.msm-superadmin-modern .msm-sa-plan-card__limits span,
body.msm-superadmin-public .msm-sa-plan-card__limits span {
  color: var(--msm-text);
  font-weight: 900;
}

body.msm-superadmin-modern .msm-sa-plan-card__limits small,
body.msm-superadmin-public .msm-sa-plan-card__limits small {
  color: var(--msm-muted);
  display: block;
  font-size: 11px;
  font-weight: 750;
  margin-top: 4px;
}

body.msm-superadmin-modern .msm-sa-plan-card__permissions,
body.msm-superadmin-public .msm-sa-plan-card__permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 12px;
}

body.msm-superadmin-modern .msm-sa-plan-card__permissions span,
body.msm-superadmin-public .msm-sa-plan-card__permissions span {
  background: var(--msm-success-soft);
  border-radius: 999px;
  color: var(--msm-success);
  font-size: 11px;
  font-weight: 850;
  padding: 5px 8px;
}

body.msm-superadmin-modern .msm-sa-plan-card__description,
body.msm-superadmin-public .msm-sa-plan-card__description {
  color: var(--msm-muted);
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  padding: 0 14px 14px;
}

body.msm-superadmin-public .msm-sa-plan-card__footer {
  background: #f8fbff;
  border-top: 1px solid var(--msm-border);
  padding: 14px;
}

body.msm-superadmin-modern .msm-sa-two-column {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

body.msm-superadmin-modern .msm-sa-page-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.msm-superadmin-modern .msm-sa-content-card .box-body {
  max-height: 280px !important;
}

body.msm-superadmin-public .msm-sa-pricing-hero {
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 72vh;
}

body.msm-superadmin-public .msm-sa-pricing-hero__inner {
  align-items: center;
  display: flex;
  min-height: 72vh;
  padding: 32px 6vw 70px;
}

body.msm-superadmin-public .msm-sa-pricing-hero__copy {
  max-width: 560px;
  min-width: 0;
}

body.msm-superadmin-public .msm-sa-pricing-hero h1 {
  color: var(--msm-text);
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 10px 0 14px;
}

body.msm-superadmin-public .msm-sa-pricing-hero p {
  color: var(--msm-text-soft);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.65;
  margin: 0 0 18px;
}

body.msm-superadmin-public .msm-pricing-page {
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

body.msm-superadmin-public .msm-sa-public-page-shell,
.msm-sa-public-page-shell {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: var(--msm-shadow-card);
  margin: 24px auto;
  max-width: 1180px;
  padding: 24px;
}

body.msm-superadmin-modern .msm-sa-empty {
  align-items: center;
  color: var(--msm-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  min-height: 120px;
  padding: 18px;
  text-align: center;
}

body.msm-superadmin-modern .msm-sa-empty i {
  color: var(--msm-primary);
}

body.msm-superadmin-modern .msm-sa-empty--compact {
  min-height: 54px;
  padding: 9px;
}

body.msm-superadmin-modern .msm-sa-dashboard.is-loading {
  cursor: progress;
}

@media (max-width: 1199px) {
  body.msm-superadmin-modern .msm-sa-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.msm-superadmin-modern .msm-sa-analytics-grid,
  body.msm-superadmin-modern .msm-sa-watch-grid,
  body.msm-superadmin-modern .msm-sa-two-column {
    grid-template-columns: 1fr;
  }
  body.msm-superadmin-modern .msm-sa-plan-grid,
  body.msm-superadmin-public .msm-sa-plan-grid,
  body.msm-superadmin-modern .msm-sa-page-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  body.msm-superadmin-modern .msm-sa-nav__links {
    display: none;
  }
  body.msm-superadmin-modern .msm-sa-nav__toggle {
    display: inline-flex;
  }
  body.msm-superadmin-modern .msm-sa-dashboard-header,
  body.msm-superadmin-modern .msm-sa-page-header {
    align-items: stretch;
    flex-direction: column;
  }
  body.msm-superadmin-modern .msm-sa-dashboard-header__controls {
    justify-content: flex-start;
  }
  body.msm-superadmin-modern .msm-sa-range {
    flex-wrap: wrap;
    width: 100%;
  }
  body.msm-superadmin-modern .msm-sa-revenue-suite {
    grid-template-columns: 1fr;
  }
  body.msm-superadmin-modern .msm-sa-active-plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.msm-superadmin-modern .msm-sa-active-plan__identity {
    grid-column: 1/-1;
  }
}
@media (max-width: 767px) {
  body.msm-superadmin-modern .msm-sa-shell-nav,
  body.msm-superadmin-modern .msm-sa-page,
  body.msm-superadmin-modern .msm-sa-dashboard,
  body.msm-superadmin-modern .msm-sa-page-header {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.msm-superadmin-modern .msm-sa-metrics-grid,
  body.msm-superadmin-modern .msm-sa-plan-grid,
  body.msm-superadmin-public .msm-sa-plan-grid,
  body.msm-superadmin-modern .msm-sa-page-card-grid,
  body.msm-superadmin-modern .msm-sa-plan-card__limits {
    grid-template-columns: 1fr;
  }
  body.msm-superadmin-modern .msm-sa-chart-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  body.msm-superadmin-modern .msm-sa-chart-row strong {
    grid-column: 2;
    text-align: left;
  }
  body.msm-superadmin-modern .msm-sa-donut-card {
    grid-template-columns: 1fr;
    max-height: none;
  }
  body.msm-superadmin-modern .msm-sa-donut-card__legend {
    max-height: 150px;
  }
  body.msm-superadmin-modern .msm-sa-subscription-overview > .box-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  body.msm-superadmin-modern .msm-sa-active-plan {
    grid-template-columns: 1fr;
  }
  body.msm-superadmin-modern .msm-sa-active-plan__identity {
    align-items: flex-start;
  }
  body.msm-superadmin-public .msm-sa-pricing-hero,
  body.msm-superadmin-public .msm-sa-pricing-hero__inner {
    min-height: 620px;
  }
  body.msm-superadmin-public .msm-sa-pricing-hero__inner {
    align-items: flex-start;
    padding: 24px 16px 80px;
  }
  body.msm-superadmin-public .msm-sa-pricing-hero h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }
  body.msm-superadmin-public .msm-sa-pricing-hero p {
    font-size: 15px;
    max-width: 34rem;
  }
}
@media (max-width: 991px) {
  body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body > [class*=col-] {
    width: calc(50% - 9px);
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__row {
    align-items: stretch;
    flex-direction: column;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__row > [class*=col-] {
    flex: 0 0 auto !important;
    min-height: 0;
    width: 100%;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__actions,
  body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__language {
    justify-content: flex-start;
    width: 100%;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-auth-header__actions .btn {
    margin: 0;
    width: 100%;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body {
    gap: 12px;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid > .box > .box-body > [class*=col-] {
    width: 100%;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-header {
    min-height: 48px;
    padding: 12px 14px;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-title {
    font-size: 15px;
    white-space: normal;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-body {
    padding: 16px 14px;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-body h3 {
    font-size: 19px;
    line-height: 1.25;
    margin-top: 14px;
  }
  body.msm-legacy-modern.msm-superadmin-public .msm-pricing-grid .box-footer {
    padding: 12px 14px;
  }
}
body.msm-legacy-modern .modal {
  -webkit-overflow-scrolling: touch;
}

body.msm-legacy-modern .modal.fade .modal-dialog {
  transition: transform 0.16s ease-out, opacity 0.16s ease-out;
}

body.msm-legacy-modern .modal.in .modal-dialog,
body.msm-legacy-modern .modal.is-open .modal-dialog {
  transform: translate(0, 0);
}

body.msm-legacy-modern .modal-backdrop {
  background: rgba(15, 23, 42, 0.72);
}

body.msm-legacy-modern .modal-content {
  border: 1px solid var(--msm-border);
  border-radius: var(--msm-radius-md);
  box-shadow: var(--msm-shadow-float);
  overflow: visible;
}

body.msm-legacy-modern .modal-header,
body.msm-legacy-modern .modal-footer {
  border-color: var(--msm-border);
}

body.msm-legacy-modern .modal-header::before,
body.msm-legacy-modern .modal-header::after,
body.msm-legacy-modern .modal-footer::before,
body.msm-legacy-modern .modal-footer::after {
  content: "";
  display: table;
}

body.msm-legacy-modern .modal-header::after,
body.msm-legacy-modern .modal-footer::after {
  clear: both;
}

body.msm-legacy-modern .modal-title {
  color: var(--msm-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

body.msm-legacy-modern .modal .label,
body.msm-legacy-modern .modal .badge {
  align-items: center;
  border-radius: 5px;
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 700;
  gap: 4px;
  line-height: 1.2;
  max-width: 100%;
  min-height: 22px;
  overflow-wrap: anywhere;
  padding: 3px 7px;
  text-align: left;
  white-space: normal;
}

body.msm-legacy-modern .modal .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

body.msm-legacy-modern .modal .form-control {
  min-width: 0;
}

body.msm-legacy-modern.modal-open {
  overflow: hidden;
}

body.msm-legacy-modern .msm-modal--crud .modal-content,
body.msm-legacy-modern .msm-modal--detail .modal-content,
body.msm-legacy-modern .msm-modal--payment .modal-content,
body.msm-legacy-modern .msm-modal--media .modal-content {
  max-width: 100%;
}

body.msm-legacy-modern .select2-dropdown,
body.msm-legacy-modern .daterangepicker,
body.msm-legacy-modern .datepicker,
body.msm-legacy-modern .bootstrap-datetimepicker-widget,
body.msm-legacy-modern .dropdown-menu,
body.msm-legacy-modern .popover,
body.msm-legacy-modern #toast-container > .toast,
body.msm-legacy-modern .swal-modal,
body.msm-legacy-modern .tox-tinymce {
  border-color: var(--msm-border);
  box-shadow: var(--msm-shadow-float);
}

body.msm-legacy-modern .popover {
  background: var(--msm-surface);
  border: 1px solid var(--msm-border);
  border-radius: 10px;
  color: var(--msm-text);
  font-size: 12.5px;
  line-height: 1.45;
  max-width: min(360px, 100vw - 24px);
  min-width: 220px;
  overflow: hidden;
  padding: 0;
  z-index: 1075;
}

body.msm-legacy-modern .popover-title {
  background: linear-gradient(180deg, var(--msm-surface-soft), var(--msm-surface));
  border-bottom: 1px solid var(--msm-border);
  color: var(--msm-text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
  padding: 10px 12px;
}

body.msm-legacy-modern .popover-content {
  color: var(--msm-text-soft);
  padding: 10px 12px;
}

body.msm-legacy-modern .popover-content .table {
  background: transparent;
  color: inherit;
  margin: 0;
}

body.msm-legacy-modern .popover-content .table > tbody > tr > td,
body.msm-legacy-modern .popover-content .table > tbody > tr > th,
body.msm-legacy-modern .popover-content .table > tfoot > tr > td,
body.msm-legacy-modern .popover-content .table > tfoot > tr > th,
body.msm-legacy-modern .popover-content .table > thead > tr > td,
body.msm-legacy-modern .popover-content .table > thead > tr > th {
  border-color: var(--msm-border);
  padding: 6px 8px;
  vertical-align: middle;
}

body.msm-legacy-modern .popover-content .text-success,
body.msm-legacy-modern .popover-content .fa-check.text-success {
  color: var(--msm-success) !important;
}

body.msm-legacy-modern .popover.top > .arrow {
  border-top-color: var(--msm-border);
}

body.msm-legacy-modern .popover.top > .arrow::after {
  border-top-color: var(--msm-surface);
}

body.msm-legacy-modern .popover.right > .arrow {
  border-right-color: var(--msm-border);
}

body.msm-legacy-modern .popover.right > .arrow::after {
  border-right-color: var(--msm-surface);
}

body.msm-legacy-modern .popover.bottom > .arrow {
  border-bottom-color: var(--msm-border);
}

body.msm-legacy-modern .popover.bottom > .arrow::after {
  border-bottom-color: var(--msm-surface);
}

body.msm-legacy-modern .popover.left > .arrow {
  border-left-color: var(--msm-border);
}

body.msm-legacy-modern .popover.left > .arrow::after {
  border-left-color: var(--msm-surface);
}

html[data-msm-theme=dark] body.msm-legacy-modern .modal-content,
html[data-msm-theme=dark] body.msm-legacy-modern .select2-dropdown,
html[data-msm-theme=dark] body.msm-legacy-modern .daterangepicker,
html[data-msm-theme=dark] body.msm-legacy-modern .datepicker,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget,
html[data-msm-theme=dark] body.msm-legacy-modern .dropdown-menu,
html[data-msm-theme=dark] body.msm-legacy-modern .popover,
html[data-msm-theme=dark] body.msm-legacy-modern .swal-modal,
html[data-msm-theme=dark] body.msm-legacy-modern .tox-tinymce {
  background: var(--msm-surface);
  color: var(--msm-text);
}

html[data-msm-theme=dark] body.msm-legacy-modern .popover-title {
  background: linear-gradient(180deg, #172238, var(--msm-surface));
  border-bottom-color: var(--msm-border);
  color: var(--msm-text);
}

html[data-msm-theme=dark] body.msm-legacy-modern .popover-content {
  color: var(--msm-text-soft);
}

html[data-msm-theme=dark] body.msm-legacy-modern .popover-content .table > tbody > tr > td,
html[data-msm-theme=dark] body.msm-legacy-modern .popover-content .table > tbody > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .popover-content .table > tfoot > tr > td,
html[data-msm-theme=dark] body.msm-legacy-modern .popover-content .table > tfoot > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .popover-content .table > thead > tr > td,
html[data-msm-theme=dark] body.msm-legacy-modern .popover-content .table > thead > tr > th {
  background: transparent;
  border-color: var(--msm-border);
  color: var(--msm-text-soft);
}

@media (max-width: 767px) {
  body.msm-legacy-modern .msm-drp-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  body.msm-legacy-modern .msm-drp-backdrop.is-active {
    opacity: 1;
    visibility: visible;
  }
  body.msm-legacy-modern .daterangepicker {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(94vw, 360px) !important;
    max-width: 360px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 3000 !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    padding: 12px !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    background: #ffffff !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .daterangepicker::before, body.msm-legacy-modern .daterangepicker::after {
    display: none !important;
  }
  body.msm-legacy-modern .daterangepicker .ranges {
    float: none !important;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
  }
  body.msm-legacy-modern .daterangepicker .ranges ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .daterangepicker .ranges ul li {
    text-align: center !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 4px !important;
    background: #f8fafc !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    color: var(--msm-text, #334155) !important;
  }
  body.msm-legacy-modern .daterangepicker .ranges ul li.active {
    background: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
    border-color: var(--msm-primary, #047857) !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-calendars {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 4px 0 !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar.right {
    margin-top: 8px !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    padding-top: 8px !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar .calendar-table {
    background: transparent !important;
    border: none !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar .calendar-table table {
    width: 100% !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar .calendar-table table th, body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar .calendar-table table td {
    min-width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    font-size: 12px !important;
    text-align: center !important;
    border-radius: 6px !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar .calendar-table table td.active,
  body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar .calendar-table table td.active:hover {
    background-color: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-calendars .drp-calendar .calendar-table table td.in-range {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 10px 0 0 0 !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    margin-top: 8px !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-buttons .drp-selected {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--msm-muted, #64748b) !important;
    margin-bottom: 6px !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-buttons .btn {
    flex: 1 1 50% !important;
    min-height: 40px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-buttons .btn.applyBtn {
    background: var(--msm-primary, #047857) !important;
    border-color: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
  }
  body.msm-legacy-modern .daterangepicker .drp-buttons .btn.cancelBtn {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
  }
}
.bootstrap-datetimepicker-widget,
body.msm-legacy-modern .bootstrap-datetimepicker-widget {
  background: #ffffff !important;
  border: 1px solid var(--msm-border, #e2e8f0) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  color: var(--msm-text, #1e293b) !important;
  display: block;
  font-family: inherit;
  margin: 4px 0 !important;
  padding: 12px !important;
  width: 19em !important;
  z-index: 999999 !important;
}
.bootstrap-datetimepicker-widget:has(.bootstrap-datetimepicker-widget,
body.msm-legacy-modern .bootstrap-datetimepicker-widget), .bootstrap-datetimepicker-widget.dropdown-menu,
body.msm-legacy-modern .bootstrap-datetimepicker-widget:has(.bootstrap-datetimepicker-widget,
body.msm-legacy-modern .bootstrap-datetimepicker-widget),
body.msm-legacy-modern .bootstrap-datetimepicker-widget.dropdown-menu {
  z-index: 999999 !important;
}
.bootstrap-datetimepicker-widget.top,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.top {
  margin-bottom: 8px !important;
  margin-top: 0 !important;
}
.bootstrap-datetimepicker-widget.top:before,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.top:before {
  border-bottom: none !important;
  border-left: 7px solid transparent !important;
  border-right: 7px solid transparent !important;
  border-top: 7px solid var(--msm-border, #cbd5e1) !important;
  bottom: -7px !important;
  left: 12px !important;
}
.bootstrap-datetimepicker-widget.top:after,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.top:after {
  border-bottom: none !important;
  border-left: 6px solid transparent !important;
  border-right: 6px solid transparent !important;
  border-top: 6px solid #ffffff !important;
  bottom: -6px !important;
  left: 13px !important;
}
.bootstrap-datetimepicker-widget.top.pull-right:before,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.top.pull-right:before {
  left: auto !important;
  right: 12px !important;
}
.bootstrap-datetimepicker-widget.top.pull-right:after,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.top.pull-right:after {
  left: auto !important;
  right: 13px !important;
}
.bootstrap-datetimepicker-widget.bottom,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.bottom {
  margin-bottom: 0 !important;
  margin-top: 8px !important;
}
.bootstrap-datetimepicker-widget.bottom:before,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.bottom:before {
  border-bottom: 7px solid var(--msm-border, #cbd5e1) !important;
  border-left: 7px solid transparent !important;
  border-right: 7px solid transparent !important;
  border-top: none !important;
  left: 12px !important;
  top: -7px !important;
}
.bootstrap-datetimepicker-widget.bottom:after,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.bottom:after {
  border-bottom: 6px solid #ffffff !important;
  border-left: 6px solid transparent !important;
  border-right: 6px solid transparent !important;
  border-top: none !important;
  left: 13px !important;
  top: -6px !important;
}
.bootstrap-datetimepicker-widget.bottom.pull-right:before,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.bottom.pull-right:before {
  left: auto !important;
  right: 12px !important;
}
.bootstrap-datetimepicker-widget.bottom.pull-right:after,
body.msm-legacy-modern .bootstrap-datetimepicker-widget.bottom.pull-right:after {
  left: auto !important;
  right: 13px !important;
}
.bootstrap-datetimepicker-widget table,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table {
  margin: 0 !important;
  width: 100% !important;
}
.bootstrap-datetimepicker-widget table thead tr:first-child th,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table thead tr:first-child th {
  border-radius: 8px;
  color: var(--msm-text, #1e293b);
  cursor: pointer;
  font-weight: 700;
  padding: 6px 4px;
}
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
  background: #f1f5f9 !important;
  color: var(--msm-primary, #047857) !important;
}
.bootstrap-datetimepicker-widget table th.picker-switch,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.picker-switch {
  font-size: 13px;
  font-weight: 700;
  width: 145px;
}
.bootstrap-datetimepicker-widget table th.prev,
.bootstrap-datetimepicker-widget table th.next,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.prev,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.next {
  color: var(--msm-muted, #64748b);
  font-size: 13px;
}
.bootstrap-datetimepicker-widget table th.dow,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.dow {
  color: var(--msm-muted, #64748b);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 2px;
  text-transform: uppercase;
}
.bootstrap-datetimepicker-widget table td,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td {
  border-radius: 8px !important;
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.bootstrap-datetimepicker-widget table td.day,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day {
  height: 32px !important;
  line-height: 32px !important;
  width: 32px !important;
}
.bootstrap-datetimepicker-widget table td.day:hover,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day:hover {
  background: #f1f5f9 !important;
  color: var(--msm-text, #1e293b) !important;
}
.bootstrap-datetimepicker-widget table td.day.active, .bootstrap-datetimepicker-widget table td.day.active:hover,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day.active,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day.active:hover {
  background: var(--msm-primary, #047857) !important;
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: none !important;
}
.bootstrap-datetimepicker-widget table td.day.today,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day.today {
  color: var(--msm-primary, #047857);
  font-weight: 700;
  position: relative;
}
.bootstrap-datetimepicker-widget table td.day.today:before,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day.today:before {
  border-bottom-color: var(--msm-primary, #047857) !important;
}
.bootstrap-datetimepicker-widget table td.day.old, .bootstrap-datetimepicker-widget table td.day.new,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day.old,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day.new {
  color: #94a3b8 !important;
}
.bootstrap-datetimepicker-widget table td span,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td span {
  border-radius: 8px !important;
}
.bootstrap-datetimepicker-widget table td span:hover,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td span:hover {
  background: #f1f5f9 !important;
}
.bootstrap-datetimepicker-widget table td span.active,
body.msm-legacy-modern .bootstrap-datetimepicker-widget table td span.active {
  background: var(--msm-primary, #047857) !important;
  color: #ffffff !important;
  text-shadow: none !important;
}
.bootstrap-datetimepicker-widget .timepicker .timepicker-picker table td,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-picker table td {
  height: 36px;
  line-height: 36px;
}
.bootstrap-datetimepicker-widget .timepicker .timepicker-picker table td a.btn,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-picker table td a.btn {
  border-radius: 8px;
  color: var(--msm-muted, #64748b);
  padding: 6px;
}
.bootstrap-datetimepicker-widget .timepicker .timepicker-picker table td a.btn:hover,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-picker table td a.btn:hover {
  background: #f1f5f9;
  color: var(--msm-primary, #047857);
}
.bootstrap-datetimepicker-widget .timepicker .timepicker-picker table td span,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-picker table td span {
  height: 36px;
  line-height: 36px;
}
.bootstrap-datetimepicker-widget .timepicker .timepicker-hour,
.bootstrap-datetimepicker-widget .timepicker .timepicker-minute,
.bootstrap-datetimepicker-widget .timepicker .timepicker-second,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-hour,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-minute,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-second {
  color: var(--msm-text, #1e293b) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.bootstrap-datetimepicker-widget .btn[data-action],
body.msm-legacy-modern .bootstrap-datetimepicker-widget .btn[data-action] {
  border-radius: 8px;
  color: var(--msm-muted, #64748b);
  padding: 6px 12px;
}
.bootstrap-datetimepicker-widget .btn[data-action]:hover,
body.msm-legacy-modern .bootstrap-datetimepicker-widget .btn[data-action]:hover {
  background: #f1f5f9;
  color: var(--msm-primary, #047857);
}

html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget {
  background: var(--msm-surface, #1e293b) !important;
  border-color: var(--msm-border, #334155) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
  color: var(--msm-text, #f1f5f9) !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget.top:before,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget.top:before {
  border-top-color: var(--msm-border, #334155) !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget.top:after,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget.top:after {
  border-top-color: var(--msm-surface, #1e293b) !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget.bottom:before,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget.bottom:before {
  border-bottom-color: var(--msm-border, #334155) !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget.bottom:after,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget.bottom:after {
  border-bottom-color: var(--msm-surface, #1e293b) !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget table thead tr:first-child th:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget table td span:hover,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget table thead tr:first-child th:hover,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget table td.day:hover,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget table td span:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.picker-switch,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.prev,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget table th.next,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget table th.picker-switch,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget table th.prev,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget table th.next {
  color: var(--msm-text, #f1f5f9) !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day.old,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget table td.day.new,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget table td.day.old,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget table td.day.new {
  color: #64748b !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-hour,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-minute,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget .timepicker .timepicker-second,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget .timepicker .timepicker-hour,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget .timepicker .timepicker-minute,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget .timepicker .timepicker-second {
  color: var(--msm-text, #f1f5f9) !important;
}

body.msm-legacy-modern .table-responsive:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .dataTables_scrollBody:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .box:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .box-body:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .content:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .well:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .pos-tab-content:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .payment_row:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .input-group:has(.bootstrap-datetimepicker-widget),
body.msm-legacy-modern .has-dropdown-open,
body.msm-legacy-modern .msm-dt-dropdown-open {
  overflow: visible !important;
}

@media (max-width: 767px) {
  body.msm-legacy-modern .modal {
    padding: 0 10px !important;
  }
  body.msm-legacy-modern .modal-dialog {
    margin: 16px auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.msm-legacy-modern .modal-content {
    border-radius: 14px !important;
    max-height: calc(100dvh - 32px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2) !important;
  }
  body.msm-legacy-modern .modal-header {
    padding: 12px 16px !important;
    flex: 0 0 auto !important;
    border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
  }
  body.msm-legacy-modern .modal-body {
    padding: 14px 16px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 1 auto !important;
    max-height: calc(100dvh - 145px) !important;
  }
  body.msm-legacy-modern .modal-footer {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    flex: 0 0 auto !important;
    background: var(--msm-surface, #ffffff) !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern .modal-footer .btn {
    margin: 0 !important;
    min-height: 40px !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
  }
}
html[data-msm-theme=dark] body.msm-legacy-modern,
body.msm-legacy-modern.msm-dark-mode {
  --msm-bg: #0b1220;
  --msm-surface: #121c2e;
  --msm-surface-soft: #172338;
  --msm-surface-muted: #1d2b43;
  --msm-elevated: #142035;
  --msm-border: #25344c;
  --msm-border-strong: #344762;
  --msm-text: #f2f7ff;
  --msm-text-soft: #d5e0ee;
  --msm-muted: #9fb0c7;
  --msm-primary: #60a5fa;
  --msm-primary-hover: #93c5fd;
  --msm-primary-soft: rgba(96, 165, 250, 0.16);
  --msm-success: #34d399;
  --msm-success-soft: rgba(52, 211, 153, 0.16);
  --msm-warning: #fbbf24;
  --msm-warning-soft: rgba(251, 191, 36, 0.16);
  --msm-danger: #fb7185;
  --msm-danger-soft: rgba(251, 113, 133, 0.16);
  --msm-info: #38bdf8;
  --msm-info-soft: rgba(56, 189, 248, 0.16);
  --msm-purple: #a78bfa;
  --msm-purple-soft: rgba(167, 139, 250, 0.16);
  --msm-table-row-base: #142035;
  --msm-table-row-alt: #0f1728;
  --msm-table-row-hover: #1b2d46;
  --msm-shadow-card: 0 18px 42px rgba(0, 0, 0, 0.28);
  --msm-shadow-float: 0 24px 58px rgba(0, 0, 0, 0.42);
  background: var(--msm-bg) !important;
  color: var(--msm-text);
}

html[data-msm-theme=dark] body.msm-legacy-modern:not(.lockscreen) .wrapper,
html[data-msm-theme=dark] body.msm-legacy-modern:not(.lockscreen) .content-wrapper,
body.msm-legacy-modern.msm-dark-mode:not(.lockscreen) .wrapper,
body.msm-legacy-modern.msm-dark-mode:not(.lockscreen) .content-wrapper {
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 28vw), radial-gradient(circle at top right, rgba(52, 211, 153, 0.08), transparent 26vw), var(--msm-bg) !important;
  color: var(--msm-text);
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-header > h1,
html[data-msm-theme=dark] body.msm-legacy-modern h1,
html[data-msm-theme=dark] body.msm-legacy-modern h2,
html[data-msm-theme=dark] body.msm-legacy-modern h3,
html[data-msm-theme=dark] body.msm-legacy-modern h4,
html[data-msm-theme=dark] body.msm-legacy-modern h5,
html[data-msm-theme=dark] body.msm-legacy-modern h6,
body.msm-legacy-modern.msm-dark-mode .content-header > h1,
body.msm-legacy-modern.msm-dark-mode h1,
body.msm-legacy-modern.msm-dark-mode h2,
body.msm-legacy-modern.msm-dark-mode h3,
body.msm-legacy-modern.msm-dark-mode h4,
body.msm-legacy-modern.msm-dark-mode h5,
body.msm-legacy-modern.msm-dark-mode h6 {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern small,
html[data-msm-theme=dark] body.msm-legacy-modern .help-block,
html[data-msm-theme=dark] body.msm-legacy-modern .text-muted,
body.msm-legacy-modern.msm-dark-mode small,
body.msm-legacy-modern.msm-dark-mode .help-block,
body.msm-legacy-modern.msm-dark-mode .text-muted {
  color: var(--msm-muted) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .box,
html[data-msm-theme=dark] body.msm-legacy-modern .small-box,
html[data-msm-theme=dark] body.msm-legacy-modern .panel,
html[data-msm-theme=dark] body.msm-legacy-modern .well,
html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom,
html[data-msm-theme=dark] body.msm-legacy-modern .pos-tab-container,
html[data-msm-theme=dark] body.msm-legacy-modern .modal-content,
html[data-msm-theme=dark] body.msm-legacy-modern .popover,
html[data-msm-theme=dark] body.msm-legacy-modern .dropdown-menu,
html[data-msm-theme=dark] body.msm-legacy-modern .daterangepicker,
html[data-msm-theme=dark] body.msm-legacy-modern .datepicker,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-datetimepicker-widget,
html[data-msm-theme=dark] body.msm-legacy-modern .ui-datepicker,
body.msm-legacy-modern.msm-dark-mode .box,
body.msm-legacy-modern.msm-dark-mode .small-box,
body.msm-legacy-modern.msm-dark-mode .panel,
body.msm-legacy-modern.msm-dark-mode .well,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom,
body.msm-legacy-modern.msm-dark-mode .pos-tab-container,
body.msm-legacy-modern.msm-dark-mode .modal-content,
body.msm-legacy-modern.msm-dark-mode .popover,
body.msm-legacy-modern.msm-dark-mode .dropdown-menu,
body.msm-legacy-modern.msm-dark-mode .daterangepicker,
body.msm-legacy-modern.msm-dark-mode .datepicker,
body.msm-legacy-modern.msm-dark-mode .bootstrap-datetimepicker-widget,
body.msm-legacy-modern.msm-dark-mode .ui-datepicker {
  background: var(--msm-surface) !important;
  border-color: var(--msm-border) !important;
  box-shadow: var(--msm-shadow-card);
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .box-header,
html[data-msm-theme=dark] body.msm-legacy-modern .box-footer,
html[data-msm-theme=dark] body.msm-legacy-modern .panel-heading,
html[data-msm-theme=dark] body.msm-legacy-modern .panel-footer,
html[data-msm-theme=dark] body.msm-legacy-modern .modal-header,
html[data-msm-theme=dark] body.msm-legacy-modern .modal-footer,
html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs,
body.msm-legacy-modern.msm-dark-mode .box-header,
body.msm-legacy-modern.msm-dark-mode .box-footer,
body.msm-legacy-modern.msm-dark-mode .panel-heading,
body.msm-legacy-modern.msm-dark-mode .panel-footer,
body.msm-legacy-modern.msm-dark-mode .modal-header,
body.msm-legacy-modern.msm-dark-mode .modal-footer,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs {
  background: linear-gradient(180deg, var(--msm-surface-soft), var(--msm-surface)) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs {
  background: radial-gradient(circle at 8% 0%, rgba(124, 58, 237, 0.25), transparent 34%), linear-gradient(180deg, #1b1730 0%, #121022 100%) !important;
  background-color: #121022 !important;
  border-color: rgba(167, 139, 250, 0.22) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li {
  border-top: 0 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li.active,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li.active {
  border-top-color: transparent !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li > a,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li > a {
  background: transparent !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li > a:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li > a:focus,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li > a:hover,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li > a:focus {
  background: transparent !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li > a::before,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li > a::before {
  content: none !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li.active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li.active > a:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li.active > a:focus,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li.active > a,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li.active > a:hover,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li.active > a:focus {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .nav-tabs-custom > .nav-tabs > li.active > a::before,
body.msm-legacy-modern.msm-dark-mode .nav-tabs-custom > .nav-tabs > li.active > a::before {
  background: linear-gradient(90deg, #a78bfa, #60a5fa) !important;
  border-radius: 999px 999px 0 0;
  bottom: -1px;
  box-shadow: none !important;
  content: "" !important;
  height: 3px;
  left: 0;
  position: absolute;
  width: 100%;
}

html[data-msm-theme=dark] body.msm-legacy-modern .box-body,
html[data-msm-theme=dark] body.msm-legacy-modern .tab-content,
html[data-msm-theme=dark] body.msm-legacy-modern .pos-tab,
body.msm-legacy-modern.msm-dark-mode .box-body,
body.msm-legacy-modern.msm-dark-mode .tab-content,
body.msm-legacy-modern.msm-dark-mode .pos-tab {
  background: var(--msm-surface) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern label,
html[data-msm-theme=dark] body.msm-legacy-modern .control-label,
body.msm-legacy-modern.msm-dark-mode label,
body.msm-legacy-modern.msm-dark-mode .control-label {
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern input[type=text],
html[data-msm-theme=dark] body.msm-legacy-modern input[type=email],
html[data-msm-theme=dark] body.msm-legacy-modern input[type=number],
html[data-msm-theme=dark] body.msm-legacy-modern input[type=password],
html[data-msm-theme=dark] body.msm-legacy-modern input[type=search],
html[data-msm-theme=dark] body.msm-legacy-modern textarea,
html[data-msm-theme=dark] body.msm-legacy-modern select,
html[data-msm-theme=dark] body.msm-legacy-modern .bootstrap-select > .btn,
html[data-msm-theme=dark] body.msm-legacy-modern .select2-container--default .select2-selection--single,
html[data-msm-theme=dark] body.msm-legacy-modern .select2-container--default .select2-selection--multiple,
html[data-msm-theme=dark] body.msm-legacy-modern .select2-dropdown,
body.msm-legacy-modern.msm-dark-mode .form-control,
body.msm-legacy-modern.msm-dark-mode input[type=text],
body.msm-legacy-modern.msm-dark-mode input[type=email],
body.msm-legacy-modern.msm-dark-mode input[type=number],
body.msm-legacy-modern.msm-dark-mode input[type=password],
body.msm-legacy-modern.msm-dark-mode input[type=search],
body.msm-legacy-modern.msm-dark-mode textarea,
body.msm-legacy-modern.msm-dark-mode select,
body.msm-legacy-modern.msm-dark-mode .bootstrap-select > .btn,
body.msm-legacy-modern.msm-dark-mode .select2-container--default .select2-selection--single,
body.msm-legacy-modern.msm-dark-mode .select2-container--default .select2-selection--multiple,
body.msm-legacy-modern.msm-dark-mode .select2-dropdown {
  background: #0f1726 !important;
  border-color: var(--msm-border-strong) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .form-control::placeholder,
html[data-msm-theme=dark] body.msm-legacy-modern input::placeholder,
html[data-msm-theme=dark] body.msm-legacy-modern textarea::placeholder,
body.msm-legacy-modern.msm-dark-mode .form-control::placeholder,
body.msm-legacy-modern.msm-dark-mode input::placeholder,
body.msm-legacy-modern.msm-dark-mode textarea::placeholder {
  color: #788aa3 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .input-group-addon,
html[data-msm-theme=dark] body.msm-legacy-modern .input-group-btn > .btn,
body.msm-legacy-modern.msm-dark-mode .input-group-addon,
body.msm-legacy-modern.msm-dark-mode .input-group-btn > .btn {
  background: #18243a !important;
  border-color: var(--msm-border-strong) !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-msm-theme=dark] body.msm-legacy-modern .select2-container--default .select2-results__option,
html[data-msm-theme=dark] body.msm-legacy-modern .select2-container--default .select2-search--dropdown .select2-search__field,
body.msm-legacy-modern.msm-dark-mode .select2-container--default .select2-selection--single .select2-selection__rendered,
body.msm-legacy-modern.msm-dark-mode .select2-container--default .select2-results__option,
body.msm-legacy-modern.msm-dark-mode .select2-container--default .select2-search--dropdown .select2-search__field {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .select2-container--default .select2-results__option--highlighted[aria-selected],
body.msm-legacy-modern.msm-dark-mode .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--msm-primary) !important;
  color: #07111f !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern table,
html[data-msm-theme=dark] body.msm-legacy-modern .table,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable,
html[data-msm-theme=dark] body.msm-legacy-modern .dataTables_wrapper,
html[data-msm-theme=dark] body.msm-legacy-modern .dataTables_scroll,
body.msm-legacy-modern.msm-dark-mode table,
body.msm-legacy-modern.msm-dark-mode .table,
body.msm-legacy-modern.msm-dark-mode table.dataTable,
body.msm-legacy-modern.msm-dark-mode .dataTables_wrapper,
body.msm-legacy-modern.msm-dark-mode .dataTables_scroll {
  background: var(--msm-surface) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern table > thead > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern table > tbody > tr > td,
html[data-msm-theme=dark] body.msm-legacy-modern table > tfoot > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern table > tfoot > tr > td,
body.msm-legacy-modern.msm-dark-mode table > thead > tr > th,
body.msm-legacy-modern.msm-dark-mode table > tbody > tr > td,
body.msm-legacy-modern.msm-dark-mode table > tfoot > tr > th,
body.msm-legacy-modern.msm-dark-mode table > tfoot > tr > td {
  background: transparent !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern table > thead > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .dataTables_scrollHead,
html[data-msm-theme=dark] body.msm-legacy-modern .table-striped > tbody > tr:nth-of-type(odd),
body.msm-legacy-modern.msm-dark-mode table > thead > tr > th,
body.msm-legacy-modern.msm-dark-mode .dataTables_scrollHead,
body.msm-legacy-modern.msm-dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
  background: var(--msm-surface-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .dataTables_processing,
body.msm-legacy-modern.msm-dark-mode .dataTables_processing {
  background: rgba(18, 28, 46, 0.92) !important;
  border: 1px solid var(--msm-border-strong) !important;
  box-shadow: var(--msm-shadow-float) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .pagination > li > a,
html[data-msm-theme=dark] body.msm-legacy-modern .pagination > li > span,
body.msm-legacy-modern.msm-dark-mode .pagination > li > a,
body.msm-legacy-modern.msm-dark-mode .pagination > li > span {
  background: #111a2c !important;
  border-color: var(--msm-border-strong) !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .pagination > .active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .pagination > .active > span,
body.msm-legacy-modern.msm-dark-mode .pagination > .active > a,
body.msm-legacy-modern.msm-dark-mode .pagination > .active > span {
  background: var(--msm-primary) !important;
  border-color: var(--msm-primary) !important;
  color: #07111f !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .btn-default,
html[data-msm-theme=dark] body.msm-legacy-modern .btn-link,
body.msm-legacy-modern.msm-dark-mode .btn-default,
body.msm-legacy-modern.msm-dark-mode .btn-link {
  background: #162238 !important;
  border-color: var(--msm-border-strong) !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .btn-default:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .btn-default:focus,
body.msm-legacy-modern.msm-dark-mode .btn-default:hover,
body.msm-legacy-modern.msm-dark-mode .btn-default:focus {
  background: #1f3150 !important;
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-print-btn,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-print-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: rgba(96, 165, 250, 0.34) !important;
  color: #ffffff !important;
  box-shadow: 0 7px 15px rgba(37, 99, 235, 0.24) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-print-btn:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-print-btn:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-print-btn:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-print-btn:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: rgba(147, 197, 253, 0.42) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .navbar,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .logo,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .navbar,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .logo {
  background: rgba(14, 23, 38, 0.96) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-sidebar,
html[data-msm-theme=dark] body.msm-legacy-modern .left-side,
body.msm-legacy-modern.msm-dark-mode .main-sidebar,
body.msm-legacy-modern.msm-dark-mode .left-side {
  background: #0f1726 !important;
  border-color: var(--msm-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .sidebar-menu > li > a,
html[data-msm-theme=dark] body.msm-legacy-modern .sidebar-menu .treeview-menu > li > a,
body.msm-legacy-modern.msm-dark-mode .sidebar-menu > li > a,
body.msm-legacy-modern.msm-dark-mode .sidebar-menu .treeview-menu > li > a {
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .sidebar-menu > li.active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .sidebar-menu > li:hover > a,
html[data-msm-theme=dark] body.msm-legacy-modern .sidebar-menu .treeview-menu > li.active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .sidebar-menu .treeview-menu > li > a:hover,
body.msm-legacy-modern.msm-dark-mode .sidebar-menu > li.active > a,
body.msm-legacy-modern.msm-dark-mode .sidebar-menu > li:hover > a,
body.msm-legacy-modern.msm-dark-mode .sidebar-menu .treeview-menu > li.active > a,
body.msm-legacy-modern.msm-dark-mode .sidebar-menu .treeview-menu > li > a:hover {
  background: var(--msm-primary-soft) !important;
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern {
  background: transparent !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-action,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .info-box-new-style,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .box,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-side-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-action,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .info-box-new-style,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .box,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-side-card {
  background: linear-gradient(180deg, #172338 0%, #121c2e 100%) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .info-box-text,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-kpi-subtext,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .info-box-text,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-kpi-subtext {
  color: var(--msm-muted) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .info-box-number,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .info-box-number {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .content .small-box,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-shell,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-hero,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-metric-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-panel,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-chart,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-watchlist,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .content .small-box,
body.msm-legacy-modern.msm-dark-mode .msm-sa-shell,
body.msm-legacy-modern.msm-dark-mode .msm-sa-hero,
body.msm-legacy-modern.msm-dark-mode .msm-sa-card,
body.msm-legacy-modern.msm-dark-mode .msm-sa-metric-card,
body.msm-legacy-modern.msm-dark-mode .msm-sa-panel,
body.msm-legacy-modern.msm-dark-mode .msm-sa-chart,
body.msm-legacy-modern.msm-dark-mode .msm-sa-watchlist {
  background: linear-gradient(180deg, #172338 0%, #121c2e 100%) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-shell-nav,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-nav,
body.msm-legacy-modern.msm-dark-mode .msm-sa-shell-nav,
body.msm-legacy-modern.msm-dark-mode .msm-sa-nav {
  background: rgba(18, 28, 46, 0.96) !important;
  border-color: var(--msm-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-shell-nav a,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-nav a,
body.msm-legacy-modern.msm-dark-mode .msm-sa-shell-nav a,
body.msm-legacy-modern.msm-dark-mode .msm-sa-nav a {
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-shell-nav a.active,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sa-nav a.active,
body.msm-legacy-modern.msm-dark-mode .msm-sa-shell-nav a.active,
body.msm-legacy-modern.msm-dark-mode .msm-sa-nav a.active {
  background: var(--msm-primary-soft) !important;
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-shell,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-shell.pos-tab-container,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-shell,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-shell.pos-tab-container {
  background: #101a2b !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-rail,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-rail.pos-tab-menu,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-rail,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-rail.pos-tab-menu {
  background: linear-gradient(180deg, #17243a 0%, #111b2d 100%) !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
  scrollbar-color: #64748b #0b1220;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item {
  background: transparent !important;
  border-color: transparent !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:focus,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:focus {
  background: rgba(96, 165, 250, 0.14) !important;
  border-color: rgba(96, 165, 250, 0.38) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item.active,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(96, 165, 250, 0.12)) !important;
  border-color: rgba(96, 165, 250, 0.56) !important;
  box-shadow: inset 3px 0 0 #60a5fa, 0 12px 26px rgba(0, 0, 0, 0.18) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-nav-icon,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-nav-icon {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #93a8c5 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item.active .msm-settings-nav-icon,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover .msm-settings-nav-icon,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item.active .msm-settings-nav-icon,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover .msm-settings-nav-icon {
  background: rgba(96, 165, 250, 0.22) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .pos-tab-content,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .pos-tab-content {
  background: #101a2b !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #eaf2ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-card,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .row.well,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .sms_service_settings,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-action-panel,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-card,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .row.well,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .sms_service_settings,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-action-panel {
  background: #121d31 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: none !important;
  color: #eaf2ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-card__header,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-card__header {
  background: #162238 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #eaf2ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-card__header h3,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .box-title,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .pos-tab-content h4,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-card__header h3,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .box-title,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .pos-tab-content h4 {
  color: #f2f7ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-card__header p,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .help-block,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-card__header p,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .help-block {
  color: #9fb0c7 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace label,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace label {
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .bootstrap-select > .btn,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .select2-container--default .select2-selection--single,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace textarea:not(.form-control),
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .form-control,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .bootstrap-select > .btn,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .select2-container--default .select2-selection--single,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace textarea:not(.form-control) {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .input-group > .input-group-addon:first-child,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .input-group > .input-group-addon:first-child {
  background: #18243a !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  box-shadow: inset -1px 0 0 rgba(148, 163, 184, 0.2) !important;
  color: #93a8c5 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .file-caption-main > .file-caption,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .file-caption-main > .file-caption {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .checkbox label,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .checkbox-inline,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .checkbox label,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .checkbox-inline {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .checkbox label:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace .checkbox-inline:hover,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .checkbox label:hover,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace .checkbox-inline:hover {
  background: rgba(96, 165, 250, 0.12) !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace table.table,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace table.table {
  background: #111b2d !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace table.table > thead > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content .msm-settings-modern-page .msm-settings-workspace table.table > tbody > tr > th,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace table.table > thead > tr > th,
body.msm-legacy-modern.msm-dark-mode .content .msm-settings-modern-page .msm-settings-workspace table.table > tbody > tr > th {
  background: #162238 !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-shell,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-shell.pos-tab-container,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-shell,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-shell.pos-tab-container {
  background: #101a2b !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-rail,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-rail.pos-tab-menu,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-rail,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-rail.pos-tab-menu {
  background: linear-gradient(180deg, #17243a 0%, #111b2d 100%) !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
  scrollbar-color: #64748b #0b1220;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item {
  background: transparent !important;
  border-color: transparent !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item:focus,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item:focus {
  background: rgba(96, 165, 250, 0.14) !important;
  border-color: rgba(96, 165, 250, 0.38) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.active,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(96, 165, 250, 0.12)) !important;
  border-color: rgba(96, 165, 250, 0.56) !important;
  box-shadow: inset 3px 0 0 #60a5fa, 0 12px 26px rgba(0, 0, 0, 0.18) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-nav-icon,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-nav-icon {
  background: rgba(148, 163, 184, 0.12) !important;
  color: #93a8c5 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.active .msm-settings-nav-icon,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover .msm-settings-nav-icon,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item.active .msm-settings-nav-icon,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-tab-list .list-group-item:hover .msm-settings-nav-icon {
  background: rgba(96, 165, 250, 0.22) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .pos-tab-content,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .pos-tab-content {
  background: #101a2b !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #eaf2ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-card,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .row.well,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .sms_service_settings,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-action-panel,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-card,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .row.well,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .sms_service_settings,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-action-panel {
  background: #121d31 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: none !important;
  color: #eaf2ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-card__header,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-card__header {
  background: #162238 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #eaf2ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-card__header h3,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .box-title,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .pos-tab-content h4,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-card__header h3,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .box-title,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .pos-tab-content h4 {
  color: #f2f7ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-card__header p,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .help-block,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-card__header p,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .help-block {
  color: #9fb0c7 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace label,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace label {
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .bootstrap-select > .btn,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .select2-container--default .select2-selection--single,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace textarea:not(.form-control),
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .form-control,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .bootstrap-select > .btn,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .select2-container--default .select2-selection--single,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace textarea:not(.form-control) {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .input-group > .input-group-addon:first-child,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .input-group > .input-group-addon:first-child {
  background: #18243a !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  box-shadow: inset -1px 0 0 rgba(148, 163, 184, 0.2) !important;
  color: #93a8c5 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .input-group > .input-group-addon:not(:first-child),
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .input-group > .input-group-addon:has(input[type=checkbox]),
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .input-group > .input-group-addon:not(:first-child),
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .input-group > .input-group-addon:has(input[type=checkbox]) {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .file-input .file-caption,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .file-input .file-caption.form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .file-input .kv-fileinput-caption,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .file-caption-main > .file-caption,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .file-input .file-caption,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .file-input .file-caption.form-control,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .file-input .kv-fileinput-caption,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .file-caption-main > .file-caption {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .file-caption-name,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .file-caption-icon,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .file-caption-name,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .file-caption-icon {
  color: #9fb0c7 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .pos-tab-content > .help-block,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .pos-tab-content p.help-block,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .pos-tab-content > .help-block,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .pos-tab-content p.help-block {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #9fb0c7 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-notice,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-shortcut-row,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-subcard,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-mini-check,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-notice,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-shortcut-row,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-subcard,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-mini-check {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-shortcut-row label,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-notice strong,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-notice span,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-mini-check span,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-shortcut-row label,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-notice strong,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-notice span,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-mini-check span {
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-mini-check > input[type=checkbox],
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-mini-check > input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  background: #111b2d !important;
  border: 1px solid rgba(148, 163, 184, 0.54) !important;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: inline-grid;
  height: 14px;
  place-content: center;
  width: 14px;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-mini-check > input[type=checkbox]::after,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-mini-check > input[type=checkbox]::after {
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  content: "";
  height: 8px;
  opacity: 0;
  transform: rotate(45deg) scale(0.8);
  width: 4px;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-mini-check > input[type=checkbox]:checked,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-mini-check > input[type=checkbox]:checked {
  background: #2563eb !important;
  border-color: #60a5fa !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-mini-check > input[type=checkbox]:checked::after,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-mini-check > input[type=checkbox]:checked::after {
  opacity: 1;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-inline-suffix,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-inline-suffix {
  background: #18243a !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .checkbox label,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .checkbox-inline,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .checkbox label,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .checkbox-inline {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .checkbox label:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace .checkbox-inline:hover,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .checkbox label:hover,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace .checkbox-inline:hover {
  background: rgba(96, 165, 250, 0.12) !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle-section,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle-section {
  background: #111b2d !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle-section h4,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-subcard__title,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle-section h4,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-subcard__title {
  color: #f2f7ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.3) !important;
  color: #dbeafe !important;
  box-shadow: none !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle span,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle span {
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle:hover,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle:hover {
  background: #142239 !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle:hover span,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle:hover span {
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle:has(.icheckbox_square-blue.checked),
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle:has(input[type=checkbox]:checked),
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle:has(.icheckbox_square-blue.checked),
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle:has(input[type=checkbox]:checked) {
  background: rgba(37, 99, 235, 0.18) !important;
  border-color: rgba(96, 165, 250, 0.5) !important;
  color: #bfdbfe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle:has(.icheckbox_square-blue.checked) span,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-toggle:has(input[type=checkbox]:checked) span,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle:has(.icheckbox_square-blue.checked) span,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-toggle:has(input[type=checkbox]:checked) span {
  color: #bfdbfe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace table.table,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace table.table {
  background: #111b2d !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace table.table > thead > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content.msm-settings-modern-page .msm-settings-workspace table.table > tbody > tr > th,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace table.table > thead > tr > th,
body.msm-legacy-modern.msm-dark-mode .content.msm-settings-modern-page .msm-settings-workspace table.table > tbody > tr > th {
  background: #162238 !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-products-page .box,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-products-page .nav-tabs-custom,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-page .box,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-page > form > .box,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-utility-page .box,
body.msm-legacy-modern.msm-dark-mode .msm-products-page .box,
body.msm-legacy-modern.msm-dark-mode .msm-products-page .nav-tabs-custom,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-page .box,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-page > form > .box,
body.msm-legacy-modern.msm-dark-mode .msm-product-utility-page .box {
  background: var(--msm-surface) !important;
  border-color: var(--msm-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-products-page #accordion,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-products-page #accordion > .box-header,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-products-page #accordion > .panel-collapse > .box-body,
body.msm-legacy-modern.msm-dark-mode .msm-products-page #accordion,
body.msm-legacy-modern.msm-dark-mode .msm-products-page #accordion > .box-header,
body.msm-legacy-modern.msm-dark-mode .msm-products-page #accordion > .panel-collapse > .box-body {
  background: var(--msm-surface) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-page .table-responsive,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-page .variation_templates,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-page .variantion_box,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-page .table-responsive,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-page .variation_templates,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-page .variantion_box {
  background: var(--msm-surface) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-page .table-responsive table,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-page .table-responsive td,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-page .table-responsive th,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-page .table-responsive table,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-page .table-responsive td,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-page .table-responsive th {
  background: transparent !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-upload-zone__drop,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-upload-preview,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-compact-panel,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-review,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-review__row,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-suggestion,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-empty,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-card-v2,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-card-v2__actions,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-modal-preview,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-modal-fields,
body.msm-legacy-modern.msm-dark-mode .msm-media-upload-zone__drop,
body.msm-legacy-modern.msm-dark-mode .msm-media-upload-preview,
body.msm-legacy-modern.msm-dark-mode .msm-media-compact-panel,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-review,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-review__row,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-suggestion,
body.msm-legacy-modern.msm-dark-mode .msm-media-empty,
body.msm-legacy-modern.msm-dark-mode .msm-media-card-v2,
body.msm-legacy-modern.msm-dark-mode .msm-media-card-v2__actions,
body.msm-legacy-modern.msm-dark-mode .msm-media-modal-preview,
body.msm-legacy-modern.msm-dark-mode .msm-media-modal-fields {
  background: var(--msm-surface-soft) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-media-manager-modal .modal-body,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-media-manager-modal .modal-header,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-manager-v2,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-health div,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-panel,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-main,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-main__facts div,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-detail-grid div,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-toolbar,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-preview-tabs button,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-variant-preview,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-confirm__card,
body.msm-legacy-modern.msm-dark-mode .msm-product-media-manager-modal .modal-body,
body.msm-legacy-modern.msm-dark-mode .msm-product-media-manager-modal .modal-header,
body.msm-legacy-modern.msm-dark-mode .msm-media-manager-v2,
body.msm-legacy-modern.msm-dark-mode .msm-media-health div,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-panel,
body.msm-legacy-modern.msm-dark-mode .msm-media-main,
body.msm-legacy-modern.msm-dark-mode .msm-media-main__facts div,
body.msm-legacy-modern.msm-dark-mode .msm-media-detail-grid div,
body.msm-legacy-modern.msm-dark-mode .msm-media-toolbar,
body.msm-legacy-modern.msm-dark-mode .msm-media-preview-tabs button,
body.msm-legacy-modern.msm-dark-mode .msm-media-variant-preview,
body.msm-legacy-modern.msm-dark-mode .msm-media-confirm__card {
  background: #111a2c !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-main__preview,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-card-v2__image,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-card-v2__image img,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-modal-preview img,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-review__row img,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-compact-main img,
body.msm-legacy-modern.msm-dark-mode .msm-media-main__preview,
body.msm-legacy-modern.msm-dark-mode .msm-media-card-v2__image,
body.msm-legacy-modern.msm-dark-mode .msm-media-card-v2__image img,
body.msm-legacy-modern.msm-dark-mode .msm-media-modal-preview img,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-review__row img,
body.msm-legacy-modern.msm-dark-mode .msm-media-compact-main img {
  background: #0b1220 !important;
  border-color: var(--msm-border-strong) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-media-manager-modal .modal-title,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-compact-panel__head strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-compact-main strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-compact-panel__stats strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-manager-v2__header strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-health strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-panel__summary strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-suggestion__head strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-review__head strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-main__title strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-main__facts strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-detail-grid strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-metric-section h5,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-confirm__card strong,
body.msm-legacy-modern.msm-dark-mode .msm-product-media-manager-modal .modal-title,
body.msm-legacy-modern.msm-dark-mode .msm-media-compact-panel__head strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-compact-main strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-compact-panel__stats strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-manager-v2__header strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-health strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-panel__summary strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-suggestion__head strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-review__head strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-main__title strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-main__facts strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-detail-grid strong,
body.msm-legacy-modern.msm-dark-mode .msm-media-metric-section h5,
body.msm-legacy-modern.msm-dark-mode .msm-media-confirm__card strong {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-upload-zone__drop small,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-detail-grid span,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-compact-main span,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-compact-panel__stats span,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-manager-v2__header span:not(.label),
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-health span,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-panel__summary span:not(.label),
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-seo-review__head span:not(.label),
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-issue-link,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-main__title span:not(.label),
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-main__facts span,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-confirm__card p,
body.msm-legacy-modern.msm-dark-mode .msm-media-upload-zone__drop small,
body.msm-legacy-modern.msm-dark-mode .msm-media-detail-grid span,
body.msm-legacy-modern.msm-dark-mode .msm-media-compact-main span,
body.msm-legacy-modern.msm-dark-mode .msm-media-compact-panel__stats span,
body.msm-legacy-modern.msm-dark-mode .msm-media-manager-v2__header span:not(.label),
body.msm-legacy-modern.msm-dark-mode .msm-media-health span,
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-panel__summary span:not(.label),
body.msm-legacy-modern.msm-dark-mode .msm-media-seo-review__head span:not(.label),
body.msm-legacy-modern.msm-dark-mode .msm-media-issue-link,
body.msm-legacy-modern.msm-dark-mode .msm-media-main__title span:not(.label) {
  color: var(--msm-muted) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-main__facts span,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-confirm__card p,
body.msm-legacy-modern.msm-dark-mode .msm-media-main__facts span,
body.msm-legacy-modern.msm-dark-mode .msm-media-confirm__card p {
  color: var(--msm-muted) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-manager-v2.is-processing::after,
body.msm-legacy-modern.msm-dark-mode .msm-media-manager-v2.is-processing::after {
  background: rgba(7, 17, 31, 0.78) !important;
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-details,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-metric-section,
body.msm-legacy-modern.msm-dark-mode .msm-media-details,
body.msm-legacy-modern.msm-dark-mode .msm-media-metric-section {
  border-color: var(--msm-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-media-details summary,
body.msm-legacy-modern.msm-dark-mode .msm-media-details summary {
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .pos-form-actions .pos-total,
body.msm-legacy-modern.msm-dark-mode .pos-form-actions .pos-total {
  background: #07111f !important;
  border: 1px solid var(--msm-border-strong) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .pos-form-actions .btn,
html[data-msm-theme=dark] body.msm-legacy-modern .pos-express-btn,
body.msm-legacy-modern.msm-dark-mode .pos-form-actions .btn,
body.msm-legacy-modern.msm-dark-mode .pos-express-btn {
  border-color: rgba(148, 163, 184, 0.28) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .tox-tinymce,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-toolbar,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-toolbar__overflow,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-toolbar__primary,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-menubar,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-statusbar,
body.msm-legacy-modern.msm-dark-mode .tox-tinymce,
body.msm-legacy-modern.msm-dark-mode .tox .tox-toolbar,
body.msm-legacy-modern.msm-dark-mode .tox .tox-toolbar__overflow,
body.msm-legacy-modern.msm-dark-mode .tox .tox-toolbar__primary,
body.msm-legacy-modern.msm-dark-mode .tox .tox-menubar,
body.msm-legacy-modern.msm-dark-mode .tox .tox-statusbar {
  background: #101827 !important;
  border-color: var(--msm-border-strong) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-mbtn,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-tbtn,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-statusbar__path-item,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-statusbar__wordcount,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-statusbar__branding a,
body.msm-legacy-modern.msm-dark-mode .tox .tox-mbtn,
body.msm-legacy-modern.msm-dark-mode .tox .tox-tbtn,
body.msm-legacy-modern.msm-dark-mode .tox .tox-statusbar__path-item,
body.msm-legacy-modern.msm-dark-mode .tox .tox-statusbar__wordcount,
body.msm-legacy-modern.msm-dark-mode .tox .tox-statusbar__branding a {
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-tbtn svg,
body.msm-legacy-modern.msm-dark-mode .tox .tox-tbtn svg {
  fill: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-edit-area__iframe,
body.msm-legacy-modern.msm-dark-mode .tox .tox-edit-area__iframe {
  background: #0f1726 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-background,
html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-plot-background,
body.msm-legacy-modern.msm-dark-mode .highcharts-background,
body.msm-legacy-modern.msm-dark-mode .highcharts-plot-background {
  fill: transparent !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-axis-labels text,
html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-title,
html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-subtitle,
html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-legend text,
body.msm-legacy-modern.msm-dark-mode .highcharts-axis-labels text,
body.msm-legacy-modern.msm-dark-mode .highcharts-title,
body.msm-legacy-modern.msm-dark-mode .highcharts-subtitle,
body.msm-legacy-modern.msm-dark-mode .highcharts-legend text {
  fill: var(--msm-text-soft) !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-grid-line,
body.msm-legacy-modern.msm-dark-mode .highcharts-grid-line {
  stroke: var(--msm-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-footer,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sticky-action-bar,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-product-form-actions,
body.msm-legacy-modern.msm-dark-mode .main-footer,
body.msm-legacy-modern.msm-dark-mode .msm-sticky-action-bar,
body.msm-legacy-modern.msm-dark-mode .msm-product-form-actions {
  background: rgba(12, 19, 33, 0.96) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern hr,
body.msm-legacy-modern.msm-dark-mode hr {
  border-color: var(--msm-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge {
  border-color: var(--msm-border) !important;
  box-shadow: none;
}

html[data-msm-theme=dark] body.msm-legacy-modern .label-default,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge.default,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge.bg-gray,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-gray.label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-gray.badge,
body.msm-legacy-modern.msm-dark-mode .label-default,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge.default,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge.bg-gray,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-gray.label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-gray.badge {
  background: #23344f !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-gray:not(.label):not(.badge),
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper tr.bg-gray > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper tr.bg-gray > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .footer-total > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .footer-total > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-gray:not(.label):not(.badge),
body.msm-legacy-modern.msm-dark-mode .content-wrapper tr.bg-gray > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper tr.bg-gray > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .footer-total > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .footer-total > td {
  background: #172338 !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .label-success,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge.bg-green,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge.bg-olive,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-green.label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-green.badge,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .label-success,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge.bg-green,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge.bg-olive,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-green.label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-green.badge {
  background: var(--msm-success-soft) !important;
  border-color: rgba(52, 211, 153, 0.32) !important;
  color: #86efac !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .label-primary,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge.bg-blue,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-blue.label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-blue.badge,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .label-primary,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge.bg-blue,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-blue.label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-blue.badge {
  background: var(--msm-primary-soft) !important;
  border-color: rgba(96, 165, 250, 0.34) !important;
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .label-info,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge.bg-aqua,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-aqua.label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-aqua.badge,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .label-info,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge.bg-aqua,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-aqua.label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-aqua.badge {
  background: var(--msm-info-soft) !important;
  border-color: rgba(56, 189, 248, 0.32) !important;
  color: #7dd3fc !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .label-warning,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge.bg-yellow,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-yellow.label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-yellow.badge,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .label-warning,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge.bg-yellow,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-yellow.label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-yellow.badge {
  background: var(--msm-warning-soft) !important;
  border-color: rgba(251, 191, 36, 0.32) !important;
  color: #fde68a !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .label-danger,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .badge.bg-red,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-red.label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .bg-red.badge,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .label-danger,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .badge.bg-red,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-red.label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .bg-red.badge {
  background: var(--msm-danger-soft) !important;
  border-color: rgba(251, 113, 133, 0.34) !important;
  color: #fecdd3 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .bg-white,
html[data-msm-theme=dark] body.msm-legacy-modern .white,
body.msm-legacy-modern.msm-dark-mode .bg-white,
body.msm-legacy-modern.msm-dark-mode .white {
  background: var(--msm-surface) !important;
  color: var(--msm-text) !important;
}

/* Focused dark-mode contracts for the modernized workspaces.
   Avoid generic [class*=msm-] overrides; those hid the real component debt. */
html[data-msm-theme=dark] body.msm-legacy-modern .msm-sales-table-toolbar,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-inner,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page #accordion.box,
body.msm-legacy-modern.msm-dark-mode .msm-sales-table-toolbar,
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page .msm-sales-filter-inner,
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page #accordion.box {
  background: linear-gradient(180deg, #142035 0%, #111a2c 100%) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page .msm-sales-filter-field-check .checkbox label,
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page .msm-sales-filter-field-check .checkbox label {
  background: #0f1726 !important;
  border-color: var(--msm-border-strong) !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-dashboard-header,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-dashboard-header {
  background: radial-gradient(circle at 6% 0%, rgba(96, 165, 250, 0.22), transparent 32%), linear-gradient(135deg, #16243a 0%, #111a2c 62%, #102235 100%) !important;
  border-color: var(--msm-border-strong) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-dashboard-header__icon,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-dashboard-header__icon {
  background: rgba(96, 165, 250, 0.16) !important;
  border-color: rgba(147, 197, 253, 0.34) !important;
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-range,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-range {
  background: rgba(15, 23, 38, 0.82) !important;
  border-color: var(--msm-border-strong) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-range button:not(.active),
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-range button:not(.active) {
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-metric,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-metric {
  background: linear-gradient(180deg, rgba(23, 35, 56, 0.98), rgba(18, 28, 46, 0.96)) !important;
  border-color: var(--msm-border) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-metric__label,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-metric small,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-metric__label,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-metric small {
  color: var(--msm-muted) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-metric strong,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-metric strong {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-panel,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-revenue-chart,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-donut-card,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-plan-card,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-panel,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-revenue-chart,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-donut-card,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-plan-card {
  background: linear-gradient(180deg, rgba(20, 32, 53, 0.98), rgba(18, 28, 46, 0.98)) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-panel__header,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-panel > .box-header,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-subscription-overview > .box-header,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-plan-card__header,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-panel__header,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-panel > .box-header,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-subscription-overview > .box-header,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-plan-card__header {
  background: linear-gradient(180deg, #172338 0%, #142035 100%) !important;
  border-bottom-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-panel__header h3,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-panel .box-title,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-plan-card h3,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-panel__header h3,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-panel .box-title,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-plan-card h3 {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-active-plan,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-active-plan {
  background: linear-gradient(135deg, #121d31 0%, #102235 100%) !important;
  border-color: var(--msm-border) !important;
  box-shadow: none !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-active-plan__identity,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-active-plan__detail,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-active-plan__detail--days,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-plan-card__limits li,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-active-plan__identity,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-active-plan__detail,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-active-plan__detail--days,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-plan-card__limits li {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: none !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-active-plan__icon,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-active-plan__icon {
  background: rgba(96, 165, 250, 0.16) !important;
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-active-plan h4,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-active-plan__detail strong,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-plan-card__price strong,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-plan-card__limits span,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-active-plan h4,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-active-plan__detail strong,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-plan-card__price strong,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-plan-card__limits span {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-active-plan__detail span,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-plan-card__price span,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-plan-card__limits small,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-active-plan__detail span,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-plan-card__price span,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-plan-card__limits small {
  color: var(--msm-muted) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-revenue-chart__plot,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-revenue-chart__plot {
  background: linear-gradient(to top, rgba(52, 71, 98, 0.52) 1px, transparent 1px) 0 0/100% 25%, #101827 !important;
  border-radius: 10px;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-donut-card__ring::after,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-donut-card__ring::after {
  background: #121c2e !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-donut-card__row span,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-donut-card__row strong,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-donut-card__row em,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-revenue-chart__item strong,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-revenue-chart__item small,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-donut-card__row span,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-donut-card__row strong,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-donut-card__row em,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-revenue-chart__item strong,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-revenue-chart__item small {
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-watchitem,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-list-item,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-watchitem,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-list-item {
  background: linear-gradient(180deg, #142035 0%, #111a2c 100%) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-watchitem span,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-watchitem span {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-watchitem small,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-watchitem em,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-watchitem small,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-watchitem em {
  color: var(--msm-muted) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-summary-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-quick-links-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-due-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-summary-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-quick-links-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-due-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card {
  background: linear-gradient(180deg, #172338 0%, #121c2e 100%) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card > .box-header,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card > .box-header {
  background: #172338 !important;
  border-bottom-color: var(--msm-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-due-track,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-due-track {
  background: #25344c !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-due-net,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-due-net {
  background: #101827 !important;
  border-color: var(--msm-border-strong) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-quick-links-list a span,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-quick-links-list a span {
  background: rgba(96, 165, 250, 0.16) !important;
  color: var(--msm-primary-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card .dataTables_scroll,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card .dataTables_scrollHead,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card .dataTables_scrollHeadInner,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card .dataTables_scrollBody,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card .dataTables_scroll,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card .dataTables_scrollHead,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card .dataTables_scrollHeadInner,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card .dataTables_scrollBody {
  background: #142035 !important;
  border-color: var(--msm-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card table.dataTable,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card table.dataTable tbody tr,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card table.dataTable,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card table.dataTable tbody tr {
  background: #142035 !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot th,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page table.dataTable tfoot td,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollFoot,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page .dataTables_scrollFootInner,
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page table.dataTable tfoot th,
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page table.dataTable tfoot td,
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page .dataTables_scrollFoot,
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page .dataTables_scrollFootInner {
  background: #101827 !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody tr,
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page table.dataTable tbody tr {
  background: #142035 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-modern-list-page table.dataTable tbody tr:nth-child(even),
body.msm-legacy-modern.msm-dark-mode .msm-modern-list-page table.dataTable tbody tr:nth-child(even) {
  background: #111a2c !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-footer .msm-text-size-panel,
html[data-msm-theme=dark] body.msm-legacy-modern .main-footer .msm-text-size-panel__section,
html[data-msm-theme=dark] body.msm-legacy-modern .main-footer .msm-text-size-toggle,
body.msm-legacy-modern.msm-dark-mode .main-footer .msm-text-size-panel,
body.msm-legacy-modern.msm-dark-mode .main-footer .msm-text-size-panel__section,
body.msm-legacy-modern.msm-dark-mode .main-footer .msm-text-size-toggle {
  background: var(--msm-surface) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

/* Final dark-mode hardening pass.
   Many legacy pages still ship nested white surfaces from AdminLTE-era SCSS.
   Keep this scoped to structural shells so buttons, badges, icons and alerts keep their tone. */
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .box,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .box-solid,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .box-body,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .box-footer,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .panel,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .panel-body,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .well,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .tab-content,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .nav-tabs-custom,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .table-responsive,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_scroll,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_scrollBody,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper [class*=msm-][class*=-card],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper [class*=msm-][class*=-panel],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper [class*=msm-][class*=-shell],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper [class*=msm-][class*=-surface],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper [class*=msm-][class*=-workspace],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper [class*=msm-][class*=-section],
body.msm-legacy-modern.msm-dark-mode .content-wrapper .box,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .box-solid,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .box-body,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .box-footer,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .panel,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .panel-body,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .well,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .tab-content,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .nav-tabs-custom,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .table-responsive,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_scroll,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_scrollBody,
body.msm-legacy-modern.msm-dark-mode .content-wrapper [class*=msm-][class*=-card],
body.msm-legacy-modern.msm-dark-mode .content-wrapper [class*=msm-][class*=-panel],
body.msm-legacy-modern.msm-dark-mode .content-wrapper [class*=msm-][class*=-shell],
body.msm-legacy-modern.msm-dark-mode .content-wrapper [class*=msm-][class*=-surface],
body.msm-legacy-modern.msm-dark-mode .content-wrapper [class*=msm-][class*=-workspace],
body.msm-legacy-modern.msm-dark-mode .content-wrapper [class*=msm-][class*=-section] {
  background-color: var(--msm-surface) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .box-header,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .panel-heading,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .modal-header,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .table thead th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable thead th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_scrollHead,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sa-table-toolbar,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .box-header,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .panel-heading,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .modal-header,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .table thead th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable thead th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_scrollHead,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-table-toolbar,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sa-table-toolbar {
  background-color: var(--msm-surface-soft) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .content-header,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .content-header small,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .box-title,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .panel-title,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_info,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_empty,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .content-header,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .content-header small,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .box-title,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .panel-title,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_info,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_empty {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-header .dropdown-menu,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header .user-menu .dropdown-menu,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header .user-menu .user-header,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header .user-menu .user-footer,
body.msm-legacy-modern.msm-dark-mode .main-header .dropdown-menu,
body.msm-legacy-modern.msm-dark-mode .main-header .user-menu .dropdown-menu,
body.msm-legacy-modern.msm-dark-mode .main-header .user-menu .user-header,
body.msm-legacy-modern.msm-dark-mode .main-header .user-menu .user-footer {
  background: var(--msm-surface) !important;
  border-color: var(--msm-border) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-header .dropdown-menu > li > a,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header .user-menu .user-header p,
body.msm-legacy-modern.msm-dark-mode .main-header .dropdown-menu > li > a,
body.msm-legacy-modern.msm-dark-mode .main-header .user-menu .user-header p {
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .form-control[disabled],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .form-control[readonly],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper fieldset[disabled] .form-control,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .form-control[disabled],
body.msm-legacy-modern.msm-dark-mode .content-wrapper .form-control[readonly],
body.msm-legacy-modern.msm-dark-mode .content-wrapper fieldset[disabled] .form-control {
  background: #18243a !important;
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-edit-area,
html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-edit-area iframe,
body.msm-legacy-modern.msm-dark-mode .tox .tox-edit-area,
body.msm-legacy-modern.msm-dark-mode .tox .tox-edit-area iframe {
  background: #0f1726 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-container,
html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-root,
body.msm-legacy-modern.msm-dark-mode .highcharts-container,
body.msm-legacy-modern.msm-dark-mode .highcharts-root {
  background: transparent !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .highcharts-plot-border,
body.msm-legacy-modern.msm-dark-mode .highcharts-plot-border {
  stroke: var(--msm-border-strong) !important;
}

/* DataTables dark polish: readable controls + softer grid lines across every list page. */
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_length select,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_filter input,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper select.form-control,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_length select,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_filter input,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper select.form-control {
  background-color: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  color: #eef6ff !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_length select option,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper select.form-control option,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_length select option,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper select.form-control option {
  background-color: #0f1726 !important;
  color: #eef6ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_length label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_filter label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_length label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_filter label {
  color: var(--msm-text-soft) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .table-responsive,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_scroll,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_scrollHead,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_scrollBody,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_scrollFoot,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .table-responsive,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_scroll,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_scrollHead,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_scrollBody,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_scrollFoot {
  border-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable.no-footer,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.table-bordered,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable.no-footer,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.table-bordered {
  border-color: rgba(148, 163, 184, 0.2) !important;
  outline: 0 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > thead > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > tfoot > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > tfoot > tr > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .table-bordered > thead > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .table-bordered > tbody > tr > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .table-bordered > tfoot > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .table-bordered > tfoot > tr > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > thead > tr > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > tbody > tr > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > tfoot > tr > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > tfoot > tr > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .table-bordered > thead > tr > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .table-bordered > tbody > tr > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .table-bordered > tfoot > tr > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .table-bordered > tfoot > tr > td {
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > thead > tr > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > thead > tr > th {
  background: #162238 !important;
  color: #eaf2ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > tbody > tr > td {
  color: #e7effb !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .table-striped > tbody > tr:nth-of-type(odd) > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .table-striped > tbody > tr:nth-of-type(odd) > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:nth-child(odd) > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > tbody > tr:nth-child(odd) > td {
  background: var(--msm-table-row-base) !important;
  color: #e7effb !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .table-striped > tbody > tr:nth-of-type(even) > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable.table-striped > tbody > tr:nth-of-type(even) > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .table-striped > tbody > tr:nth-of-type(even) > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable.table-striped > tbody > tr:nth-of-type(even) > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:nth-child(even) > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > tbody > tr:nth-child(even) > td {
  background: var(--msm-table-row-alt) !important;
  color: #e7effb !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable > tbody > tr:hover > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable > tbody > tr:hover > td {
  background: var(--msm-table-row-hover) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_paginate .pagination > li > a,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_paginate .pagination > li > span,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_paginate .pagination > li > a,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_paginate .pagination > li > span {
  border-color: rgba(148, 163, 184, 0.22) !important;
}

/* Final dark-mode control hardening for list pages that still inherit light skins. */
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .dataTables_wrapper .dataTables_length select,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_length select.form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_length .form-control,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .dataTables_wrapper .dataTables_length select,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_length select.form-control,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_length .form-control {
  appearance: auto !important;
  -moz-appearance: auto !important;
  -webkit-appearance: menulist !important;
  background: #0f1726 !important;
  background-color: #0f1726 !important;
  border: 1px solid rgba(148, 163, 184, 0.34) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: #f8fbff !important;
  color-scheme: dark;
  font-weight: 800 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .dataTables_wrapper .dataTables_length select *,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_length select.form-control *,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .dataTables_wrapper .dataTables_length select *,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_length select.form-control * {
  background: #0f1726 !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .checkbox label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .checkbox label {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .icheckbox_square-blue,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check input[type=checkbox],
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .icheckbox_square-blue,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check input[type=checkbox] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: #17243a !important;
  background-image: none !important;
  border-color: rgba(148, 163, 184, 0.48) !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color-scheme: dark;
  height: 20px;
  width: 20px;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper table.dataTable,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper table.table,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper table.dataTable,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper table.table {
  border-color: rgba(148, 163, 184, 0.14) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper table.dataTable > thead > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper table.dataTable > tbody > tr > td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper table.dataTable > tfoot > tr > th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper table.dataTable > tfoot > tr > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper table.dataTable > thead > tr > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper table.dataTable > tbody > tr > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper table.dataTable > tfoot > tr > th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper table.dataTable > tfoot > tr > td {
  border-color: rgba(148, 163, 184, 0.13) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-button,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-button {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-button:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-button:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-button:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-button:focus {
  background: #142039 !important;
  border-color: rgba(96, 165, 250, 0.66) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-current,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-button i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-current,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-button i {
  color: #f8fbff !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-menu,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-menu {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-menu-item,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-menu-item {
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-menu-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-menu-item:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-menu-item.is-selected,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-menu-item:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-menu-item:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-menu-item.is-selected {
  background: rgba(96, 165, 250, 0.18) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle.collapsed,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle[aria-expanded=false],
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-header .msm-sales-filter-toggle,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-header .msm-sales-filter-toggle.collapsed,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-header .msm-sales-filter-toggle[aria-expanded=false] {
  background: #17243a !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.16) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-sales-header .msm-sales-filter-toggle:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-header .msm-sales-filter-toggle:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-sales-header .msm-sales-filter-toggle:focus {
  background: #1d2b43 !important;
  border-color: rgba(96, 165, 250, 0.58) !important;
  color: #93c5fd !important;
  outline: 0 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-export-dropdown .dropdown-menu,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-columns-dropdown .dropdown-menu,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed.msm-sales-export-menu,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed.msm-sales-colvis-menu,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-export-dropdown .dropdown-menu,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-columns-dropdown .dropdown-menu,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed.msm-sales-export-menu,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed.msm-sales-colvis-menu {
  background: #111b2d !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-colvis-menu-item,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-colvis-menu-item,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-colvis-menu-item,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-colvis-menu-item {
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item i,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item i,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item i {
  color: #93a8c5 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-colvis-menu-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-colvis-menu-item:focus-within,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item:focus,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-colvis-menu-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-colvis-menu-item:focus-within,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-colvis-menu-item:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-colvis-menu-item:focus-within,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item:hover,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item:focus,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-colvis-menu-item:hover,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-colvis-menu-item:focus-within {
  background: rgba(96, 165, 250, 0.16) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item:hover i,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item:focus i,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item:hover i,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item:focus i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item:hover i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-export-menu-item:focus i,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item:hover i,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed .msm-sales-export-menu-item:focus i {
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .dropdown-menu.msm-modern-dropdown-fixed,
html[data-msm-theme=dark] body.msm-legacy-modern > .dropdown-menu.msm-modern-dropdown-fixed,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .dropdown-menu.msm-modern-dropdown-fixed,
body.msm-legacy-modern.msm-dark-mode > .dropdown-menu.msm-modern-dropdown-fixed {
  background: #111b2d !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48) !important;
  color: #eaf2ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu::before,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu::before,
html[data-msm-theme=dark] body.msm-legacy-modern .dropdown-menu.msm-table-dropdown-fixed::before,
body.msm-legacy-modern.msm-dark-mode .dropdown-menu.msm-table-dropdown-fixed::before {
  background: #111b2d !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .dropdown-menu.msm-table-dropdown-fixed,
body.msm-legacy-modern.msm-dark-mode .dropdown-menu.msm-table-dropdown-fixed {
  background: #111b2d !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a {
  color: #dbeafe !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a i {
  color: #93a8c5 !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:focus {
  background: rgba(96, 165, 250, 0.16) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:hover i,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:focus i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:hover i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a:focus i {
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.disabled,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li.disabled > a,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a[disabled],
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.disabled,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li.disabled > a,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a[disabled] {
  color: #6f819b !important;
  cursor: not-allowed;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.disabled i,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li.disabled > a i,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a[disabled] i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.disabled i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li.disabled > a i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a[disabled] i {
  color: #5f7089 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale {
  color: #fb7185 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale i {
  color: #fb7185 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > li > a.delete-sale:focus {
  background: rgba(251, 113, 133, 0.14) !important;
  color: #fda4af !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > .divider,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody .btn-group > .dropdown-menu > .divider {
  background: rgba(148, 163, 184, 0.24) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .icheckbox_square-blue,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .iradio_square-blue,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .icheckbox_square-blue,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .iradio_square-blue {
  background: #0f1726 !important;
  background-image: none !important;
  border: 1px solid rgba(148, 163, 184, 0.46) !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  height: 20px !important;
  width: 20px !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .icheckbox_square-blue.checked,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .iradio_square-blue.checked,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .icheckbox_square-blue.checked,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .iradio_square-blue.checked {
  background: #2563eb !important;
  background-image: none !important;
  border-color: #60a5fa !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .icheckbox_square-blue.checked::after,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .icheckbox_square-blue.checked::after {
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  content: "";
  display: block;
  left: 50%;
  height: 10px;
  margin: -1px 0 0;
  opacity: 1;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
  width: 5px;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #accordion label:has(input[type=checkbox]),
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #accordion label:has(input[type=checkbox]) {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs {
  background: #121d31 !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs {
  background: radial-gradient(circle at 8% 0%, rgba(124, 58, 237, 0.25), transparent 34%), linear-gradient(180deg, #1b1730 0%, #121022 100%) !important;
  border-bottom-color: rgba(167, 139, 250, 0.22) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs > li > a,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs > li > a {
  background: transparent !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a:focus {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a::before,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a::before {
  background: linear-gradient(90deg, #a78bfa, #60a5fa) !important;
  content: "" !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .tab-content,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .tab-content {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollFoot,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollFootInner,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper tfoot,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper tfoot td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollFoot,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollFootInner,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper tfoot,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper tfoot td {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions {
  background: linear-gradient(180deg, #17243a 0%, #111b2d 100%) !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 34px rgba(0, 0, 0, 0.22) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .btn,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .btn {
  box-shadow: none !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .btn-danger,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .btn-danger {
  background: rgba(244, 63, 94, 0.12) !important;
  border-color: rgba(251, 113, 133, 0.38) !important;
  color: #fda4af !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .btn-success,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .btn-success {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
  color: #86efac !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .bg-navy,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .bg-navy {
  background: rgba(37, 99, 235, 0.16) !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .btn-warning,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .msm-products-bulk-actions .btn-warning {
  background: rgba(249, 115, 22, 0.13) !important;
  border-color: rgba(251, 146, 60, 0.42) !important;
  color: #fdba74 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table th:first-child,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table td.selectable_td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table th:first-child,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table td.selectable_td {
  text-align: center !important;
  vertical-align: middle !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table th:first-child input[type=checkbox],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table td.selectable_td input[type=checkbox],
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollHead input#select-all-row,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table th:first-child input[type=checkbox],
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table td.selectable_td input[type=checkbox],
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollHead input#select-all-row {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: #0b1220 !important;
  background-color: #0b1220 !important;
  border: 1px solid rgba(148, 163, 184, 0.56) !important;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(15, 23, 38, 0.68) !important;
  color-scheme: dark;
  cursor: pointer;
  display: inline-grid;
  float: none !important;
  height: 15px !important;
  margin: 0 !important;
  min-height: 15px !important;
  min-width: 15px !important;
  place-content: center;
  position: relative;
  vertical-align: middle;
  width: 15px !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table th:first-child input[type=checkbox]:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table td.selectable_td input[type=checkbox]:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollHead input#select-all-row:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table th:first-child input[type=checkbox]:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table td.selectable_td input[type=checkbox]:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollHead input#select-all-row:hover {
  border-color: rgba(147, 197, 253, 0.72) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table th:first-child input[type=checkbox]:checked,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table td.selectable_td input[type=checkbox]:checked,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollHead input#select-all-row:checked,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table th:first-child input[type=checkbox]:checked,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table td.selectable_td input[type=checkbox]:checked,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollHead input#select-all-row:checked {
  background: #2563eb !important;
  background-color: #2563eb !important;
  border-color: #60a5fa !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table th:first-child input[type=checkbox]:checked::after,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table td.selectable_td input[type=checkbox]:checked::after,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollHead input#select-all-row:checked::after,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table th:first-child input[type=checkbox]:checked::after,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table td.selectable_td input[type=checkbox]:checked::after,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollHead input#select-all-row:checked::after {
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  content: "";
  height: 8px;
  margin-top: -1px;
  transform: rotate(45deg);
  width: 4px;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table td:nth-child(2) .product-thumbnail-shell,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table td:nth-child(2) .product-thumbnail-shell {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table .product-thumbnail-small,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table .product-thumbnail-small {
  background: #18243a !important;
  border-color: rgba(148, 163, 184, 0.36) !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 38, 0.86), 0 8px 18px rgba(0, 0, 0, 0.18) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table .product-thumbnail-shell.is-empty .product-thumbnail-small,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table .product-thumbnail-shell.is-empty .product-thumbnail-small {
  background: #101a2b !important;
  border-color: rgba(96, 165, 250, 0.32) !important;
  filter: brightness(0.52) contrast(1.16) saturate(0.72);
  opacity: 0.76;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table td:nth-child(4) .label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table td:nth-child(4) .label {
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  gap: 5px;
  line-height: 1.2;
  min-height: 24px;
  padding: 5px 10px;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table td:nth-child(4) .bg-gray,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table td:nth-child(4) .bg-gray {
  background: #18243a !important;
  color: #94a3b8 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollBody,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollBody {
  scrollbar-color: #64748b #0b1220;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollBody::-webkit-scrollbar,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollBody::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollBody::-webkit-scrollbar-track,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollBody::-webkit-scrollbar-track {
  background: #0b1220;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #product_table_wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb {
  background: #64748b;
  border: 2px solid #0b1220;
  border-radius: 999px;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-view-page .msm-contact-info-card,
body.msm-legacy-modern.msm-dark-mode .msm-contact-view-page .msm-contact-info-card {
  background: linear-gradient(180deg, #142035 0%, #111a2c 100%) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: var(--msm-shadow-card) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-view-page .msm-contact-info-column,
body.msm-legacy-modern.msm-dark-mode .msm-contact-view-page .msm-contact-info-column {
  background: rgba(15, 23, 38, 0.74) !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-tab-filter-row,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-filter,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-documents-toolbar,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-payments-panel,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__recipient,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__summary,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-report__statement,
body.msm-legacy-modern.msm-dark-mode .msm-contact-tab-filter-row,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-filter,
body.msm-legacy-modern.msm-dark-mode .msm-contact-documents-toolbar,
body.msm-legacy-modern.msm-dark-mode .msm-contact-payments-panel,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .msm-contact-ledger-report__recipient,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .msm-contact-ledger-report__summary,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .msm-contact-ledger-report__statement {
  background: #111a2c !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-toolbar,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-documents-toolbar,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-toolbar,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-toolbar,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-toolbar,
body.msm-legacy-modern.msm-dark-mode .msm-contact-documents-toolbar,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-toolbar,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-toolbar {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-slot label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-tools label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-table-tools label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-date-field label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-filter-tools label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-table-tools label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-location-field label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-filter-tools label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-table-tools label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-slot label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-tools label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-table-tools label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-date-field label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-filter-tools label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-table-tools label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-location-field label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-filter-tools label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-table-tools label {
  color: #e5edf8 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-slot .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-tools .dataTables_length select,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-table-tools .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-table-tools .dataTables_filter input,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-table-tools .dataTables_length select,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-slot .select2-selection.select2-selection--single,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-date-field .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-filter-tools .dataTables_length select,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-table-tools .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-table-tools .dataTables_filter input,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-location-field .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-filter-tools .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-filter-tools .select2-selection.select2-selection--single,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-table-tools .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-table-tools .dataTables_filter input,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-slot .form-control,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-tools .dataTables_length select,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-table-tools .form-control,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-table-tools .dataTables_filter input,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-table-tools .dataTables_length select,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-slot .select2-selection.select2-selection--single,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-date-field .form-control,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-filter-tools .dataTables_length select,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-table-tools .form-control,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-table-tools .dataTables_filter input,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-location-field .form-control,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-filter-tools .form-control,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-filter-tools .select2-selection.select2-selection--single,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-table-tools .form-control,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-table-tools .dataTables_filter input {
  background: #0b1220 !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
  color: #f8fafc !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-overlay,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.76) 0%, rgba(8, 13, 24, 0.88) 100%) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-card,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-card {
  background: #111a2c !important;
  border-color: rgba(96, 165, 250, 0.34) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-spinner,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table_wrapper .msm-sales-processing-spinner {
  border-color: rgba(96, 165, 250, 0.28) !important;
  border-top-color: #60a5fa !important;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single .select2-selection__rendered,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single .select2-selection__rendered,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #f8fafc !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single .select2-selection__arrow b,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single .select2-selection__arrow b,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-slot .select2-container--default .select2-selection--single .select2-selection__arrow b,
body.msm-legacy-modern.msm-dark-mode .msm-contact-stock-filter-tools .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-top-color: #94a3b8 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-filter-slot .msm-sales-filter-field-check label,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-subscription-slot .msm-sales-filter-field-check label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-filter-slot .msm-sales-filter-field-check label,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-subscription-slot .msm-sales-filter-field-check label {
  background: #0b1220 !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
  color: #f8fafc !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-button,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-button {
  background: #0b1220 !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
  box-shadow: none !important;
  color: #f8fafc !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-button:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-button:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-button:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-button:focus {
  background: #111a2c !important;
  border-color: rgba(147, 197, 253, 0.42) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-button i,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-search-slot .msm-sales-search-wrap i,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-button i,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-search-slot .msm-sales-search-wrap i {
  color: #94a3b8 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-menu {
  background: #111a2c !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu-item,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-menu-item {
  color: #cbd5e1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu-item:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-length-slot .msm-sales-length-menu-item.is-selected,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-menu-item:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-menu-item:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-length-slot .msm-sales-length-menu-item.is-selected {
  background: rgba(37, 99, 235, 0.18) !important;
  color: #eff6ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-buttons .btn,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-button,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot button.dt-button,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-table-btn,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .dt-buttons .btn,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .dt-button,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot button.dt-button,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-table-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: rgba(96, 165, 250, 0.34) !important;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.36) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-buttons .btn:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-buttons .btn:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-button:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .dt-button:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot button.dt-button:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot button.dt-button:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-table-btn:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-table-btn:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .dt-buttons .btn:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .dt-buttons .btn:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .dt-button:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .dt-button:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot button.dt-button:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot button.dt-button:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-table-btn:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-table-btn:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: rgba(147, 197, 253, 0.52) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-dropdown .dropdown-menu,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-columns-dropdown .dropdown-menu,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-export-dropdown .dropdown-menu,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-columns-dropdown .dropdown-menu {
  background: #111a2c !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-menu-item,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-export-menu-item,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item {
  color: #cbd5e1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-menu-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-export-menu-item:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item:focus-within,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-export-menu-item:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-export-menu-item:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-item:focus-within {
  background: rgba(37, 99, 235, 0.18) !important;
  color: #eff6ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header {
  border-color: rgba(148, 163, 184, 0.2) !important;
  color: #e5edf8 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header span,
body.msm-legacy-modern.msm-dark-mode .msm-contact-sales-buttons-slot .msm-sales-colvis-menu-header span {
  color: #94a3b8 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .label-success,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-paid,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table .label-success,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table .msm-payment-status-paid {
  background: rgba(34, 197, 94, 0.16) !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
  color: #bbf7d0 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .label-warning,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-due,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-overdue,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table .label-warning,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table .msm-payment-status-due,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table .msm-payment-status-overdue {
  background: rgba(249, 115, 22, 0.16) !important;
  border-color: rgba(251, 146, 60, 0.3) !important;
  color: #fed7aa !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .label-info,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .msm-payment-status-partial,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table .label-info,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table .msm-payment-status-partial {
  background: rgba(96, 165, 250, 0.16) !important;
  border-color: rgba(147, 197, 253, 0.32) !important;
  color: #bfdbfe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-purchase-tab #purchase_table .label-danger,
body.msm-legacy-modern.msm-dark-mode .msm-contact-purchase-tab #purchase_table .label-danger {
  background: rgba(244, 63, 94, 0.16) !important;
  border-color: rgba(251, 113, 133, 0.32) !important;
  color: #fecdd3 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-shipping-status-ordered,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-shipping-status-ordered,
body.msm-legacy-modern.msm-dark-mode .label.msm-shipping-status-ordered,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-shipping-status-ordered {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-shipping-status-packed,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-shipping-status-packed,
body.msm-legacy-modern.msm-dark-mode .label.msm-shipping-status-packed,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-shipping-status-packed {
  background: rgba(14, 165, 233, 0.2) !important;
  border-color: rgba(14, 165, 233, 0.35) !important;
  color: #38bdf8 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-shipping-status-shipped,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-shipping-status-shipped,
body.msm-legacy-modern.msm-dark-mode .label.msm-shipping-status-shipped,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-shipping-status-shipped {
  background: rgba(99, 102, 241, 0.2) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  color: #818cf8 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-shipping-status-delivered,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-shipping-status-delivered,
body.msm-legacy-modern.msm-dark-mode .label.msm-shipping-status-delivered,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-shipping-status-delivered {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #34d399 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-shipping-status-cancelled,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-shipping-status-cancelled,
body.msm-legacy-modern.msm-dark-mode .label.msm-shipping-status-cancelled,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-shipping-status-cancelled {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-payment-status-paid,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-payment-status-paid,
body.msm-legacy-modern.msm-dark-mode .label.msm-payment-status-paid,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-payment-status-paid {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #34d399 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-payment-status-paid .msm-status-icon,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-payment-status-paid .msm-status-icon,
body.msm-legacy-modern.msm-dark-mode .label.msm-payment-status-paid .msm-status-icon,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-payment-status-paid .msm-status-icon {
  color: #34d399 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-payment-status-partial,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-payment-status-partial,
body.msm-legacy-modern.msm-dark-mode .label.msm-payment-status-partial,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-payment-status-partial {
  background: rgba(6, 182, 212, 0.2) !important;
  border-color: rgba(6, 182, 212, 0.35) !important;
  color: #38bdf8 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-payment-status-partial .msm-status-icon,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-payment-status-partial .msm-status-icon,
body.msm-legacy-modern.msm-dark-mode .label.msm-payment-status-partial .msm-status-icon,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-payment-status-partial .msm-status-icon {
  color: #38bdf8 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-payment-status-due,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-payment-status-due,
body.msm-legacy-modern.msm-dark-mode .label.msm-payment-status-due,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-payment-status-due {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-payment-status-due .msm-status-icon,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-payment-status-due .msm-status-icon,
body.msm-legacy-modern.msm-dark-mode .label.msm-payment-status-due .msm-status-icon,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-payment-status-due .msm-status-icon {
  color: #f87171 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-payment-status-overdue,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-payment-status-overdue,
body.msm-legacy-modern.msm-dark-mode .label.msm-payment-status-overdue,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-payment-status-overdue {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
}
html[data-msm-theme=dark] body.msm-legacy-modern .label.msm-payment-status-overdue .msm-status-icon,
html[data-msm-theme=dark] body.msm-legacy-modern table.dataTable .label.msm-payment-status-overdue .msm-status-icon,
body.msm-legacy-modern.msm-dark-mode .label.msm-payment-status-overdue .msm-status-icon,
body.msm-legacy-modern.msm-dark-mode table.dataTable .label.msm-payment-status-overdue .msm-status-icon {
  color: #fbbf24 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-view-page .profile-username,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-view-page .msm-contact-info-column strong,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-ledger-panel label,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div p,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div strong,
body.msm-legacy-modern.msm-dark-mode .msm-contact-view-page .profile-username,
body.msm-legacy-modern.msm-dark-mode .msm-contact-view-page .msm-contact-info-column strong,
body.msm-legacy-modern.msm-dark-mode .msm-contact-ledger-panel label,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div p,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div strong {
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-view-page .msm-contact-info-column .profile-username small,
body.msm-legacy-modern.msm-dark-mode .msm-contact-view-page .msm-contact-info-column .profile-username small {
  background: rgba(96, 165, 250, 0.16) !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  color: #bfdbfe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-reward-card,
body.msm-legacy-modern.msm-dark-mode .msm-contact-reward-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.13), rgba(96, 165, 250, 0.12)) !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-reward-card__icon,
body.msm-legacy-modern.msm-dark-mode .msm-contact-reward-card__icon {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fde68a !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .bg-info,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div [style*=background],
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div table thead th,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .bg-info,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div [style*=background],
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div table thead th {
  background: #1d4f70 !important;
  border-color: rgba(147, 197, 253, 0.28) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .bg-light-gray,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-nested-table,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .bg-light-gray,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .msm-contact-ledger-nested-table {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div table,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div table td,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div table th,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div table,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div table td,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div table th {
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-product-row > td,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-product-row > td {
  background: #172338 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-payment-row > td,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-payment-row > td {
  background: linear-gradient(180deg, rgba(22, 101, 52, 0.24), rgba(20, 83, 45, 0.2)) !important;
  border-color: rgba(74, 222, 128, 0.22) !important;
  color: #dcfce7 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-payment-row > td:first-child,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div .msm-contact-ledger-table--details > tbody > tr.msm-contact-ledger-payment-row > td:first-child {
  border-left-color: #4ade80 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-ledger-entry-chip--payment,
body.msm-legacy-modern.msm-dark-mode .msm-contact-ledger-entry-chip--payment {
  background: rgba(34, 197, 94, 0.16) !important;
  border-color: rgba(74, 222, 128, 0.28) !important;
  color: #bbf7d0 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-ledger-method-chip,
body.msm-legacy-modern.msm-dark-mode .msm-contact-ledger-method-chip {
  background: rgba(96, 165, 250, 0.14) !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  color: #bfdbfe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-ledger-payment-note small,
body.msm-legacy-modern.msm-dark-mode .msm-contact-ledger-payment-note small {
  background: rgba(34, 197, 94, 0.14) !important;
  border-color: rgba(74, 222, 128, 0.24) !important;
  color: #bbf7d0 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-payment-child-cell,
body.msm-legacy-modern.msm-dark-mode .msm-contact-payment-child-cell {
  background: #172338 !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle {
  background: rgba(37, 99, 235, 0.12) !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle > .btn,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle > .btn {
  color: #bfdbfe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle > .btn + .btn,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle > .btn + .btn {
  border-left-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle > .btn:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle > .btn:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle > .btn:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle > .btn:focus {
  background: rgba(96, 165, 250, 0.14) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle > .btn.active,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle > .btn.active:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle > .btn.active:focus,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle > .btn.active,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle > .btn.active:hover,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle > .btn.active:focus {
  background: linear-gradient(135deg, var(--msm-primary), #7c3aed) !important;
  box-shadow: 0 5px 10px rgba(37, 99, 235, 0.28) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-contact-format-toggle > .btn.active::after,
body.msm-legacy-modern.msm-dark-mode .msm-contact-format-toggle > .btn.active::after {
  content: none !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div p.blue-heading,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div h3.blue-heading,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div table tr.blue-heading,
html[data-msm-theme=dark] body.msm-legacy-modern #contact_ledger_div table tr.blue-heading th,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div p.blue-heading,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div h3.blue-heading,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div table tr.blue-heading,
body.msm-legacy-modern.msm-dark-mode #contact_ledger_div table tr.blue-heading th {
  background: linear-gradient(135deg, var(--msm-primary), #7c3aed) !important;
  color: #ffffff !important;
}

/* Superadmin dark-mode hardening.
   These components live outside the normal sales/header wrappers, so keep
   their dark contracts explicit instead of relying on broad shell rules. */
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav {
  background: linear-gradient(180deg, #142035 0%, #111a2c 100%) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav__brand,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav__links a,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav-drawer a,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav__brand,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav__links a,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav-drawer a {
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav__brand span,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav__brand span {
  background: rgba(37, 99, 235, 0.22) !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav__links a:hover,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav__links a:focus,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav__links a.is-active,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav-drawer a:hover,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav-drawer a:focus,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-nav-drawer a.is-active,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav__links a:hover,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav__links a:focus,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav__links a.is-active,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav-drawer a:hover,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav-drawer a:focus,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-nav-drawer a.is-active {
  background: rgba(96, 165, 250, 0.14) !important;
  border-color: rgba(147, 197, 253, 0.42) !important;
  color: #eff6ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-page-header__icon,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-page-header__icon {
  background: rgba(96, 165, 250, 0.16) !important;
  border: 1px solid rgba(147, 197, 253, 0.32) !important;
  box-shadow: none !important;
  color: #93c5fd !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle.collapsed,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle[aria-expanded=false],
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle.collapsed,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle[aria-expanded=false] {
  background: #17243a !important;
  border-color: rgba(148, 163, 184, 0.36) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.22) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle:hover,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle:focus,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle:hover,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-page-header__actions .msm-sales-filter-toggle:focus {
  background: #1d2b43 !important;
  border-color: rgba(96, 165, 250, 0.62) !important;
  color: #93c5fd !important;
  outline: 0 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-reference-filter-panel .msm-sales-filter-inner,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-reference-filter-panel .msm-sales-filter-inner {
  background: linear-gradient(180deg, #142035 0%, #111a2c 100%) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .box,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .box-body,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .box,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .box-body {
  background: #111a2c !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu .list-group-item,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu .list-group-item {
  background: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu .list-group-item:hover,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu .list-group-item:focus,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu .list-group-item:hover,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu .list-group-item:focus {
  background: #17243a !important;
  border-color: rgba(96, 165, 250, 0.42) !important;
  color: #eff6ff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu .list-group-item.active,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .pos-tab-menu .list-group-item.active {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-tabs .input-group-addon,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-tabs .input-group-addon {
  background: #17243a !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #bfdbfe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .pos-tab-content,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .pos-tab-content.active,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .pos-tab-content,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .pos-tab-content.active {
  background: #111a2c !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .pos-tab-content > .row,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .form-group,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .input-group,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .pos-tab-content > .row,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .form-group,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .input-group {
  background: transparent !important;
  color: var(--msm-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs label,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .control-label,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs label,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .control-label {
  color: #dbeafe !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .help-block,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs p,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .help-block,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs p {
  color: #9fb1c8 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .form-control,
html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .select2-container--default .select2-selection--single,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .form-control,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs .select2-container--default .select2-selection--single {
  background: #0b1220 !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs mark,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs mark {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 6px;
  color: #fde68a !important;
  padding: 2px 6px;
}

html[data-msm-theme=dark] body.msm-legacy-modern.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs code,
body.msm-legacy-modern.msm-dark-mode.msm-superadmin-modern .msm-sa-settings-page .msm-sa-settings-tabs code {
  background: #07111f !important;
  border: 1px solid rgba(96, 165, 250, 0.28) !important;
  border-radius: 6px;
  color: #f9a8d4 !important;
  display: inline-block;
  margin-top: 6px;
  max-width: 100%;
  overflow-x: auto;
  padding: 5px 8px;
  white-space: nowrap;
}

/* Final dark-mode stabilizer: keep legacy plugins readable after JS redraws. */
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_length select,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_length select {
  background-color: #0f1726 !important;
  border-color: rgba(148, 163, 184, 0.42) !important;
  color: #f8fbff !important;
  height: 34px !important;
  min-height: 34px !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .checkbox label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page .msm-sales-filter-field-check .checkbox label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .checkbox label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page .msm-sales-filter-field-check .checkbox label {
  align-items: center !important;
  background: #101827 !important;
  border-color: rgba(148, 163, 184, 0.42) !important;
  color: #f8fbff !important;
  display: inline-flex !important;
  gap: 9px !important;
  min-height: 34px !important;
  padding: 7px 11px !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .icheckbox_square-blue,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page .msm-sales-filter-field-check .icheckbox_square-blue,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .icheckbox_square-blue,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page .msm-sales-filter-field-check .icheckbox_square-blue {
  background: #17243a !important;
  background-color: #17243a !important;
  background-image: none !important;
  border: 1px solid rgba(147, 197, 253, 0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  flex: 0 0 18px !important;
  height: 18px !important;
  margin: 0 !important;
  opacity: 1 !important;
  position: relative !important;
  width: 18px !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable {
  border-color: rgba(148, 163, 184, 0.28) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable thead th,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody td,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tfoot td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable thead th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tfoot td {
  border-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tfoot tr.footer-total > td,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tfoot tr.footer-total > td {
  background: #101827 !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tfoot tr.footer-total strong,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tfoot tr.footer-total span,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tfoot tr.footer-total strong,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tfoot tr.footer-total span {
  color: #f8fbff !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs {
  background: #111a2c !important;
  border-bottom-color: rgba(148, 163, 184, 0.24) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-tabs > .nav-tabs > li.active > a:focus {
  background: #17243a !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .tox .tox-edit-area__iframe,
body.msm-legacy-modern.msm-dark-mode .tox .tox-edit-area__iframe {
  background-color: #0f1726 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-button,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-button {
  background: #0b1220 !important;
  border: 1px solid rgba(147, 197, 253, 0.38) !important;
  box-shadow: none !important;
  color: #eff6ff !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-button:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-button:focus,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-button:hover,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-button:focus {
  background: #111c30 !important;
  border-color: rgba(96, 165, 250, 0.62) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-current,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-length-button i,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-current,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-length-button i {
  color: #eff6ff !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-search-wrap,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-search-wrap {
  background: #0b1220 !important;
  border-color: rgba(147, 197, 253, 0.38) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-search-wrap input,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .dataTables_filter input,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-search-wrap input,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .dataTables_filter input {
  background: #0b1220 !important;
  border-color: rgba(147, 197, 253, 0.38) !important;
  color: #f8fbff !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-search-wrap input::placeholder,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-search-wrap input::placeholder {
  color: #9fb1c8 !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .checkbox label,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #accordion label:has(input[type=checkbox]),
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .checkbox label,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #accordion label:has(input[type=checkbox]) {
  background: #0b1220 !important;
  border-color: rgba(147, 197, 253, 0.38) !important;
  color: #f8fbff !important;
  opacity: 1 !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .icheckbox_square-blue.checked,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-products-page #accordion .icheckbox_square-blue.checked,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .msm-sales-filter-field-check .icheckbox_square-blue.checked,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-products-page #accordion .icheckbox_square-blue.checked {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  border-color: rgba(147, 197, 253, 0.72) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .checkbox label:has(.icheckbox_square-blue),
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .checkbox-inline:has(.icheckbox_square-blue),
body.msm-legacy-modern.msm-dark-mode .content-wrapper .checkbox label:has(.icheckbox_square-blue),
body.msm-legacy-modern.msm-dark-mode .content-wrapper .checkbox-inline:has(.icheckbox_square-blue) {
  background: #0b1220 !important;
  border-color: rgba(147, 197, 253, 0.38) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .checkbox label > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox),
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .checkbox-inline > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox),
body.msm-legacy-modern.msm-dark-mode .content-wrapper .checkbox label > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox),
body.msm-legacy-modern.msm-dark-mode .content-wrapper .checkbox-inline > input[type=checkbox]:not(.input-icheck):not(.msm-sales-colvis-native-checkbox) {
  background: #17243a !important;
  border-color: rgba(147, 197, 253, 0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  color-scheme: dark;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .dataTables_scroll,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .dataTables_scrollHead,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .dataTables_scrollBody,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page .dataTables_scrollFoot,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .dataTables_scroll,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .dataTables_scrollHead,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .dataTables_scrollBody,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page .dataTables_scrollFoot {
  background: #111a2c !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable thead th,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable thead th {
  background: #142035 !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody tr,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody tr {
  background: var(--msm-table-row-base) !important;
  color: #f8fbff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .msm-modern-list-page table.dataTable tbody tr:nth-child(even),
body.msm-legacy-modern.msm-dark-mode .content-wrapper .msm-modern-list-page table.dataTable tbody tr:nth-child(even) {
  background: var(--msm-table-row-alt) !important;
}

/* Keep dark-mode primary action surfaces aligned with the blue toolbar buttons. */
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand-mini,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-brand-mark,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-user-avatar,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-topbar-brand-mini,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-topbar-brand-mark,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-user-avatar {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: rgba(147, 197, 253, 0.44) !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-icon-btn,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-active-subscription-popover,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-pos-action,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-topbar-icon-btn,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-active-subscription-popover,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-pos-action {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: rgba(96, 165, 250, 0.36) !important;
  box-shadow: 0 7px 15px rgba(37, 99, 235, 0.24) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-icon-btn:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-topbar-icon-btn:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-active-subscription-popover:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-active-subscription-popover:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-pos-action:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-pos-action:focus,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-topbar-icon-btn:hover,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-topbar-icon-btn:focus,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-active-subscription-popover:hover,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-active-subscription-popover:focus,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-pos-action:hover,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-pos-action:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: rgba(147, 197, 253, 0.54) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .navbar .sidebar-toggle,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-dark-mode-toggle {
  background: #111a2c !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) !important;
  color: #dbeafe !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .navbar .sidebar-toggle:focus,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:hover,
html[data-msm-theme=dark] body.msm-legacy-modern .main-header.msm-topbar-modern .msm-dark-mode-toggle:focus,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .navbar .sidebar-toggle:hover,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .navbar .sidebar-toggle:focus,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-dark-mode-toggle:hover,
body.msm-legacy-modern.msm-dark-mode .main-header.msm-topbar-modern .msm-dark-mode-toggle:focus {
  background: #17243b !important;
  border-color: rgba(96, 165, 250, 0.44) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.menu-open > a,
html[data-msm-theme=dark] body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li.active > a,
body.msm-legacy-modern.msm-dark-mode .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a,
body.msm-legacy-modern.msm-dark-mode .main-sidebar.msm-sidebar-modern .sidebar-menu > li.menu-open > a,
body.msm-legacy-modern.msm-dark-mode .main-sidebar.msm-sidebar-modern .sidebar-menu > li.treeview.active > a,
body.msm-legacy-modern.msm-dark-mode .main-sidebar.msm-sidebar-modern .treeview-menu > li.active > a {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-left-color: rgba(147, 197, 253, 0.7) !important;
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.36), 0 8px 18px rgba(37, 99, 235, 0.18) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a > i,
html[data-msm-theme=dark] body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .sidebar-menu > li.menu-open > a > i,
html[data-msm-theme=dark] body.msm-legacy-modern .main-sidebar.msm-sidebar-modern .treeview-menu > li.active > a > i,
body.msm-legacy-modern.msm-dark-mode .main-sidebar.msm-sidebar-modern .sidebar-menu > li.active > a > i,
body.msm-legacy-modern.msm-dark-mode .main-sidebar.msm-sidebar-modern .sidebar-menu > li.menu-open > a > i,
body.msm-legacy-modern.msm-dark-mode .main-sidebar.msm-sidebar-modern .treeview-menu > li.active > a > i {
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .btn-primary,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dt-buttons .btn-primary,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dt-buttons .dt-button.btn-primary,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable tbody .action_btn,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper table.dataTable tbody .btn-group > .btn-primary,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .btn-primary,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dt-buttons .btn-primary,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dt-buttons .dt-button.btn-primary,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable tbody .action_btn,
body.msm-legacy-modern.msm-dark-mode .content-wrapper table.dataTable tbody .btn-group > .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: rgba(96, 165, 250, 0.36) !important;
  box-shadow: 0 7px 15px rgba(37, 99, 235, 0.24) !important;
  color: #ffffff !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_paginate .pagination > .active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .content-wrapper .dataTables_wrapper .dataTables_paginate .pagination > .active > span,
html[data-msm-theme=dark] body.msm-legacy-modern .pagination > .active > a,
html[data-msm-theme=dark] body.msm-legacy-modern .pagination > .active > span,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_paginate .pagination > .active > a,
body.msm-legacy-modern.msm-dark-mode .content-wrapper .dataTables_wrapper .dataTables_paginate .pagination > .active > span,
body.msm-legacy-modern.msm-dark-mode .pagination > .active > a,
body.msm-legacy-modern.msm-dark-mode .pagination > .active > span {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: rgba(96, 165, 250, 0.44) !important;
  box-shadow: 0 9px 18px rgba(37, 99, 235, 0.25) !important;
  color: #ffffff !important;
}

/* Modern SaaS Dashboard v2 Dark Mode Tokens & Overrides */
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern {
  --dash-surface: #111827;
  --dash-surface-subtle: #162033;
  --dash-surface-muted: #1e293b;
  --dash-border: rgba(148, 163, 184, 0.14);
  --dash-border-strong: rgba(148, 163, 184, 0.24);
  --dash-text: #f8fafc;
  --dash-muted: #94a3b8;
  --dash-soft: #64748b;
  --dash-primary: #818cf8;
  --dash-primary-soft: rgba(129, 140, 248, 0.16);
  --dash-shadow: 0 2px 6px rgba(2, 6, 23, 0.45), 0 12px 26px -14px rgba(2, 6, 23, 0.65);
  --dash-shadow-hover: 0 8px 22px -6px rgba(2, 6, 23, 0.72), 0 0 0 1px rgba(129, 140, 248, 0.28);
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-indigo,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-indigo {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-cyan,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-cyan {
  background: rgba(6, 182, 212, 0.18);
  color: #67e8f9;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-emerald,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-emerald {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-amber,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-amber {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-orange,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-orange {
  background: rgba(249, 115, 22, 0.18);
  color: #fdba74;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-rose,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-rose {
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-violet,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-violet {
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-crimson,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-crimson {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-icon-well-teal,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-icon-well-teal {
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern #dashboard_date_filter,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .btn,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .dt-button,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern #dashboard_date_filter,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .btn,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card .msm-sales-table-actions .dt-button {
  background: var(--dash-surface-subtle) !important;
  border-color: var(--dash-border-strong) !important;
  box-shadow: none !important;
  color: var(--dash-text) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-kpi-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-action,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-action.msm-action-primary,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-action.msm-action-pos,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-analytics-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-due-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-summary-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-quick-links-card,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-ops-nav-strip,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-panel,
html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-dashboard-widget-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-kpi-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-action,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-action.msm-action-primary,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-action.msm-action-pos,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-analytics-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-due-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-summary-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-quick-links-card,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-ops-nav-strip,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-panel,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-dashboard-widget-card {
  background: var(--dash-surface) !important;
  border-color: var(--dash-border) !important;
}

html[data-msm-theme=dark] body.msm-legacy-modern .msm-dashboard-modern .msm-ops-count.has-items,
body.msm-legacy-modern.msm-dark-mode .msm-dashboard-modern .msm-ops-count.has-items {
  background: rgba(245, 158, 11, 0.22);
  color: #fcd34d;
}

body.msm-legacy-modern :focus-visible {
  outline: 2px solid var(--msm-primary);
  outline-offset: 2px;
}

body.msm-legacy-modern .btn,
body.msm-legacy-modern .dropdown-toggle,
body.msm-legacy-modern .form-control,
body.msm-legacy-modern .select2-container--default .select2-selection--single {
  transition: background-color var(--msm-transition-fast), border-color var(--msm-transition-fast), box-shadow var(--msm-transition-fast), color var(--msm-transition-fast), transform var(--msm-transition-fast);
}

body.msm-legacy-modern .dropdown-menu {
  max-width: min(100vw - 24px, 420px);
}

body.msm-legacy-modern .dropdown-menu-right {
  right: 0;
  left: auto;
}

body.msm-legacy-modern .dropdown-menu-right.dropdown-menu {
  transform-origin: top right;
}

body.msm-legacy-modern .dropdown-menu {
  overflow: hidden;
}

body.msm-legacy-modern .dropdown-menu > li > a,
body.msm-legacy-modern .dropdown-menu > li > button {
  align-items: center;
  display: flex;
  gap: 8px;
  white-space: normal;
}

body.msm-legacy-modern .modal-content {
  max-width: 100%;
}

body.msm-legacy-modern .modal-body {
  min-width: 0;
}

body.msm-legacy-modern .content-wrapper,
body.msm-legacy-modern .content {
  min-width: 0;
}

body.msm-legacy-modern .content-wrapper .table-responsive,
body.msm-legacy-modern .content-wrapper .dataTables_scrollBody,
body.msm-legacy-modern .content-wrapper .dataTables_scrollHead,
body.msm-legacy-modern .content-wrapper .dataTables_scrollFoot {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

body.msm-legacy-modern .content-wrapper .dataTables_scroll {
  min-width: 0;
}

body.msm-legacy-modern .content-wrapper table.dataTable {
  width: 100% !important;
}

body.msm-legacy-modern .content-wrapper table.dataTable thead > tr > th,
body.msm-legacy-modern .content-wrapper table.dataTable tbody > tr > td,
body.msm-legacy-modern .content-wrapper table.dataTable tfoot > tr > th,
body.msm-legacy-modern .content-wrapper table.dataTable tfoot > tr > td {
  vertical-align: middle;
}

body.msm-legacy-modern .content-wrapper table.dataTable tfoot > tr > th,
body.msm-legacy-modern .content-wrapper table.dataTable tfoot > tr > td {
  background: #f8fbff;
  white-space: nowrap;
}

body.msm-legacy-modern .content-wrapper .dataTables_paginate,
body.msm-legacy-modern .content-wrapper .dataTables_info {
  float: none;
}

body.msm-legacy-modern .content-wrapper .dataTables_wrapper .row {
  margin-left: -8px;
  margin-right: -8px;
}

body.msm-legacy-modern .content-wrapper .dataTables_wrapper .row > [class*=col-] {
  min-width: 0;
  padding-left: 8px;
  padding-right: 8px;
}

body.msm-legacy-modern .content-wrapper .pagination > li > a,
body.msm-legacy-modern .content-wrapper .pagination > li > span {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

body.msm-legacy-modern .content-wrapper .btn .caret,
body.msm-legacy-modern .main-header .btn .caret {
  margin-left: 4px;
}

body.msm-legacy-modern .content-wrapper .input-group .form-control,
body.msm-legacy-modern .content-wrapper .input-group .input-group-addon,
body.msm-legacy-modern .content-wrapper .input-group .input-group-btn > .btn {
  min-height: 40px;
}

body.msm-legacy-modern .content-wrapper .select2-container--default .select2-selection--single {
  min-height: 40px;
}

body.msm-legacy-modern .content-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}

body.msm-legacy-modern .content-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

body.msm-legacy-modern .content-wrapper .msm-product-form-page .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .select2-container {
  flex: 1 1 auto;
  min-width: 0;
  width: 1% !important;
}

body.msm-legacy-modern .content-wrapper .msm-product-form-page .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .input-group-btn {
  display: flex;
  flex: 0 0 40px;
  min-width: 40px;
}

body.msm-legacy-modern .content-wrapper .msm-product-form-page .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) > .input-group-btn > .btn {
  border-radius: 9px !important;
  height: 34px;
  min-height: 34px !important;
  min-width: 40px;
  padding: 0 !important;
}

body.msm-legacy-modern .content-wrapper .msm-product-form-page .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) .select2-container--default .select2-selection--single {
  border-radius: 9px !important;
  min-height: 34px !important;
}

body.msm-legacy-modern .content-wrapper .msm-product-form-page .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px;
}

body.msm-legacy-modern .content-wrapper .msm-product-form-page .input-group:has(> .input-group-btn):not(.file-caption-main):not(:has(> .input-group-addon:first-child)) .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px;
}

body.msm-legacy-modern .content-wrapper .table-responsive {
  position: relative;
}

body.msm-legacy-modern .content-wrapper .table-responsive::-webkit-scrollbar,
body.msm-legacy-modern .content-wrapper .dataTables_scrollBody::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

body.msm-legacy-modern .content-wrapper .table-responsive::-webkit-scrollbar-thumb,
body.msm-legacy-modern .content-wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.42);
  border-radius: 999px;
}

body.msm-legacy-modern .content-wrapper .table-responsive::-webkit-scrollbar-track,
body.msm-legacy-modern .content-wrapper .dataTables_scrollBody::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.72);
}

body.msm-legacy-modern .content-wrapper .table > thead > tr > th,
body.msm-legacy-modern .content-wrapper .table > tbody > tr > td {
  min-height: 42px;
}

body.msm-legacy-modern .content-wrapper .dropdown-menu .divider {
  margin: 6px 0;
}

body.msm-legacy-modern .content-wrapper .dropdown-menu > li > a:focus,
body.msm-legacy-modern .content-wrapper .dropdown-menu > li > a:hover,
body.msm-legacy-modern .content-wrapper .dropdown-menu > li > button:focus,
body.msm-legacy-modern .content-wrapper .dropdown-menu > li > button:hover {
  background: var(--msm-primary-soft);
  color: var(--msm-primary);
}

@media (max-width: 1199px) {
  body.msm-legacy-modern .content-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  body.msm-legacy-modern .content {
    padding-left: 16px;
    padding-right: 16px;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar,
  body.msm-legacy-modern .msm-products-toolbar,
  body.msm-legacy-modern .msm-finance-table-toolbar,
  body.msm-legacy-modern .msm-contacts-table-toolbar,
  body.msm-legacy-modern .msm-admin-table-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar-right,
  body.msm-legacy-modern .msm-products-toolbar {
    flex-wrap: wrap;
  }
}
@media (max-width: 991px) {
  body.msm-legacy-modern .content-header {
    padding: 16px 16px 8px;
  }
  body.msm-legacy-modern .content {
    padding: 12px 16px 18px;
  }
  body.msm-legacy-modern .main-header .navbar-custom-menu,
  body.msm-legacy-modern .main-header .navbar-right {
    flex-wrap: wrap;
  }
  body.msm-legacy-modern .main-sidebar,
  body.msm-legacy-modern .left-side {
    width: 230px;
  }
  body.msm-legacy-modern.sidebar-collapse .main-sidebar,
  body.msm-legacy-modern.sidebar-collapse .left-side {
    transform: translateX(-100%);
  }
  body.msm-legacy-modern .sidebar-menu > li > a > span,
  body.msm-legacy-modern .main-sidebar .user-panel .info,
  body.msm-legacy-modern .main-sidebar .sidebar-form {
    white-space: nowrap;
  }
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar,
  body.msm-legacy-modern .content-wrapper .msm-products-table-toolbar,
  body.msm-legacy-modern .content-wrapper .msm-finance-table-toolbar,
  body.msm-legacy-modern .content-wrapper .msm-contacts-table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right,
  body.msm-legacy-modern .content-wrapper .msm-products-table-toolbar .msm-sales-table-toolbar-right,
  body.msm-legacy-modern .content-wrapper .msm-finance-table-toolbar .msm-sales-table-toolbar-right {
    align-self: stretch;
    justify-content: flex-end;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .content-header > h1 {
    font-size: 20px;
    line-height: 1.25;
  }
  body.msm-legacy-modern .content-header > h1 small {
    display: block;
    margin-top: 4px;
  }
  body.msm-legacy-modern .content-wrapper .btn {
    white-space: normal;
  }
  body.msm-legacy-modern .content-wrapper .btn,
  body.msm-legacy-modern .content-wrapper .dropdown-toggle,
  body.msm-legacy-modern .content-wrapper .form-control,
  body.msm-legacy-modern .content-wrapper .select2-container--default .select2-selection--single {
    min-height: 44px;
  }
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar,
  body.msm-legacy-modern .content-wrapper .msm-products-table-toolbar,
  body.msm-legacy-modern .content-wrapper .msm-finance-table-toolbar,
  body.msm-legacy-modern .content-wrapper .msm-contacts-table-toolbar,
  body.msm-legacy-modern .content-wrapper .msm-admin-table-toolbar,
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-left,
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right {
    width: 100%;
  }
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right,
  body.msm-legacy-modern .content-wrapper .msm-products-table-toolbar .msm-sales-table-toolbar-right,
  body.msm-legacy-modern .content-wrapper .msm-finance-table-toolbar .msm-sales-table-toolbar-right {
    justify-content: stretch;
  }
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right .btn,
  body.msm-legacy-modern .content-wrapper .msm-products-table-toolbar .msm-sales-table-toolbar-right .btn,
  body.msm-legacy-modern .content-wrapper .msm-finance-table-toolbar .msm-sales-table-toolbar-right .btn {
    width: 100%;
  }
  body.msm-legacy-modern .content-wrapper .msm-sales-search-wrap input,
  body.msm-legacy-modern .content-wrapper .dataTables_filter input {
    width: 100%;
  }
  body.msm-legacy-modern .content-wrapper .dropdown-menu {
    max-width: calc(100vw - 20px);
  }
  body.msm-legacy-modern .modal-dialog {
    margin: 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1050 !important;
  }
  body.msm-legacy-modern .modal.fade .modal-dialog {
    transform: translateY(100%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  body.msm-legacy-modern .modal.in .modal-dialog,
  body.msm-legacy-modern .modal.show .modal-dialog {
    transform: translateY(0) !important;
  }
  body.msm-legacy-modern input.form-control,
  body.msm-legacy-modern select.form-control,
  body.msm-legacy-modern textarea.form-control,
  body.msm-legacy-modern .form-control,
  body.msm-legacy-modern .select2-container--default .select2-selection--single,
  body.msm-legacy-modern .select2-container--default .select2-selection--multiple,
  body.msm-legacy-modern .select2-search__field,
  body.msm-legacy-modern .input-group input,
  body.msm-legacy-modern .input-group select,
  body.msm-legacy-modern .pos_quantity,
  body.msm-legacy-modern .pos_unit_price,
  body.msm-legacy-modern .pos_unit_price_inc_tax,
  body.msm-legacy-modern .pos-mobile-loc-select,
  body.msm-legacy-modern .msm-sales-search-wrap input,
  body.msm-legacy-modern .dataTables_filter input {
    font-size: 16px !important;
  }
  body.msm-legacy-modern .dropdown-menu > li > a,
  body.msm-legacy-modern .dropdown-menu > li > button {
    min-height: 44px !important;
  }
  body.msm-legacy-modern .content-wrapper .pagination > li > a,
  body.msm-legacy-modern .content-wrapper .pagination > li > span {
    min-height: 40px !important;
    min-width: 40px !important;
  }
  body.msm-legacy-modern .modal-content {
    border-radius: 20px 20px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-bottom: 0 !important;
    max-height: 90vh !important;
    max-height: 90dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.25) !important;
  }
  body.msm-legacy-modern .modal-header {
    flex: 0 0 auto !important;
    padding: 14px 16px !important;
  }
  body.msm-legacy-modern .modal-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 1 auto !important;
    max-height: calc(90vh - 130px) !important;
    max-height: calc(90dvh - 130px) !important;
    padding: 14px 16px !important;
  }
  body.msm-legacy-modern .modal-footer {
    position: sticky !important;
    bottom: 0 !important;
    background: var(--msm-surface) !important;
    border-top: 1px solid var(--msm-border) !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 8px !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 10 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05) !important;
  }
  body.msm-legacy-modern .modal-footer .btn {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
  }
  body.msm-keyboard-active .modal-footer {
    position: static !important;
    box-shadow: none !important;
  }
  body.msm-keyboard-active .msm-mobile-bottom-nav {
    display: none !important;
    pointer-events: none !important;
  }
  body.msm-keyboard-active .msm-mobile-sticky-bar,
  body.msm-keyboard-active .msm-purchase-sticky-bar,
  body.msm-keyboard-active .msm-expense-actions-bar,
  body.msm-keyboard-active #add_expense_form .msm-expense-actions-bar,
  body.msm-keyboard-active .msm-settings-actions,
  body.msm-keyboard-active .pos-mobile-sticky-bar,
  body.msm-keyboard-active .col-md-12:has(#submit_user_button),
  body.msm-keyboard-active .col-sm-12:has(#save_stock_transfer),
  body.msm-keyboard-active .col-sm-12:has(#save_stock_adjustment),
  body.msm-keyboard-active .col-sm-12:has(#submit_expense_btn),
  body.msm-keyboard-active .col-sm-12.msm-expense-actions-bar {
    position: static !important;
    box-shadow: none !important;
    border-top: none !important;
    padding: 12px 0 !important;
  }
  body.msm-keyboard-active #add_expense_form,
  body.msm-keyboard-active #stock_transfer_form,
  body.msm-keyboard-active #stock_adjustment_form {
    padding-bottom: 20px !important;
  }
  body.msm-keyboard-active .scrolltop {
    display: none !important;
  }
}
@media (max-width: 575px) {
  body.msm-legacy-modern .main-header .navbar {
    padding-left: 8px;
    padding-right: 8px;
  }
  body.msm-legacy-modern .main-header .navbar-custom-menu,
  body.msm-legacy-modern .main-header .navbar-right {
    gap: 6px;
  }
  body.msm-legacy-modern .main-header .navbar .btn,
  body.msm-legacy-modern .main-header .navbar .dropdown-toggle {
    min-height: 38px;
    padding-left: 10px;
    padding-right: 10px;
  }
  body.msm-legacy-modern .content-wrapper .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
  }
}
@media (max-width: 420px) {
  body.msm-legacy-modern .content-header {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.msm-legacy-modern .content {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.msm-legacy-modern .content-wrapper .btn,
  body.msm-legacy-modern .content-wrapper .dropdown-toggle {
    min-height: 42px;
  }
}
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar:not(.box-tools),
body.msm-legacy-modern .content-wrapper .msm-products-table-toolbar:not(.box-tools),
body.msm-legacy-modern .content-wrapper .msm-finance-table-toolbar:not(.box-tools),
body.msm-legacy-modern .content-wrapper .msm-contacts-table-toolbar:not(.box-tools),
body.msm-legacy-modern .content-wrapper .msm-admin-table-toolbar:not(.box-tools) {
  gap: 9px;
  padding-bottom: 10px;
  padding-top: 10px;
}

body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions,
body.msm-legacy-modern .content-wrapper .msm-products-toolbar {
  align-items: center !important;
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  gap: 7px;
  margin: 0 !important;
}

body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .btn-group,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .btn-group {
  align-items: center !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .btn,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .dropdown > .btn,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right .msm-sales-table-btn,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .btn,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .dt-button,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions .msm-sales-table-btn,
body.msm-legacy-modern .content-wrapper .msm-sales-export-dropdown > .btn,
body.msm-legacy-modern .content-wrapper .msm-sales-columns-dropdown > .btn,
body.msm-legacy-modern .content-wrapper .msm-products-toolbar > .btn,
body.msm-legacy-modern .content-wrapper .msm-products-toolbar .btn,
body.msm-legacy-modern .content-wrapper .dt-buttons .dt-button,
body.msm-legacy-modern .content-wrapper .dt-buttons .btn {
  align-items: center !important;
  border-radius: 7px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  font-size: 10.5px !important;
  gap: 5px !important;
  height: 32px !important;
  justify-content: center !important;
  line-height: 1.18 !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  min-height: 32px !important;
  min-width: 86px !important;
  padding: 6px 10px !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .btn i,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .dropdown > .btn i,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right .msm-sales-table-btn i,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .btn i,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .dt-button i,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions .msm-sales-table-btn i,
body.msm-legacy-modern .content-wrapper .msm-sales-export-dropdown > .btn i,
body.msm-legacy-modern .content-wrapper .msm-sales-columns-dropdown > .btn i,
body.msm-legacy-modern .content-wrapper .msm-products-toolbar > .btn i,
body.msm-legacy-modern .content-wrapper .msm-products-toolbar .btn i,
body.msm-legacy-modern .content-wrapper .dt-buttons .dt-button i,
body.msm-legacy-modern .content-wrapper .dt-buttons .btn i {
  font-size: 10.5px !important;
  line-height: 1 !important;
}

body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .btn-primary,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .dropdown > .btn-primary,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right .msm-sales-table-btn.btn-primary,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .btn-primary,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .dt-button,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions .msm-sales-table-btn.btn-primary,
body.msm-legacy-modern .content-wrapper .msm-sales-export-dropdown > .btn-primary,
body.msm-legacy-modern .content-wrapper .msm-sales-columns-dropdown > .btn-primary,
body.msm-legacy-modern .content-wrapper .msm-products-toolbar .btn-primary,
body.msm-legacy-modern .content-wrapper .dt-buttons .dt-button,
body.msm-legacy-modern .content-wrapper .dt-buttons .btn-primary {
  box-shadow: 0 7px 15px rgba(37, 99, 235, 0.17) !important;
}

body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .btn:hover,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .btn:focus,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .dropdown > .btn:hover,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .dropdown > .btn:focus,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right .msm-sales-table-btn:hover,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right .msm-sales-table-btn:focus,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .btn:hover,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .btn:focus,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .dt-button:hover,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .dt-button:focus,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions .msm-sales-table-btn:hover,
body.msm-legacy-modern .content-wrapper .msm-sales-table-actions .msm-sales-table-btn:focus,
body.msm-legacy-modern .content-wrapper .dt-buttons .dt-button:hover,
body.msm-legacy-modern .content-wrapper .dt-buttons .dt-button:focus {
  box-shadow: 0 9px 18px rgba(37, 99, 235, 0.21) !important;
}

body.msm-legacy-modern .content-wrapper .msm-sales-table-btn .caret,
body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right .btn .caret,
body.msm-legacy-modern .content-wrapper .dt-buttons .btn .caret {
  margin-left: 0;
}

@media (max-width: 767px) {
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .btn,
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right > .dropdown > .btn,
  body.msm-legacy-modern .content-wrapper .msm-sales-table-toolbar-right .msm-sales-table-btn,
  body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .btn,
  body.msm-legacy-modern .content-wrapper .msm-sales-table-actions > .dt-button,
  body.msm-legacy-modern .content-wrapper .msm-sales-table-actions .msm-sales-table-btn,
  body.msm-legacy-modern .content-wrapper .msm-sales-export-dropdown > .btn,
  body.msm-legacy-modern .content-wrapper .msm-sales-columns-dropdown > .btn,
  body.msm-legacy-modern .content-wrapper .msm-products-toolbar > .btn,
  body.msm-legacy-modern .content-wrapper .msm-products-toolbar .btn,
  body.msm-legacy-modern .content-wrapper .dt-buttons .dt-button,
  body.msm-legacy-modern .content-wrapper .dt-buttons .btn {
    height: 38px !important;
    min-height: 38px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.msm-legacy-modern *,
  body.msm-legacy-modern *::before,
  body.msm-legacy-modern *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern #pos_table {
    min-width: 0 !important;
    width: 100% !important;
  }
  .pos-header {
    padding: 0 !important;
    margin-bottom: 8px !important;
  }
  .pos-header-mobile {
    padding: 0 !important;
  }
  .pos-header-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 10px;
    background: #ffffff;
    border-bottom: 1px solid var(--msm-border, #e2e8f0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }
  .pos-header-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--msm-border, #e2e8f0);
    background: #f8fafc;
    color: var(--msm-text, #1e293b);
    font-size: 15px;
    text-decoration: none !important;
  }
  .pos-header-mobile-btn:active {
    background: #e2e8f0;
  }
  .pos-header-mobile-title {
    flex: 1;
    text-align: center;
    padding: 0 8px;
    overflow: hidden;
  }
  .pos-mobile-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pos-mobile-location-badge .pos-mobile-loc-select {
    height: 26px;
    padding: 0 6px;
    font-size: 12px;
    border-radius: 6px;
    display: inline-block;
    width: auto;
    max-width: 130px;
  }
  .pos-mobile-kebab-menu {
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--msm-border, #e2e8f0);
    padding: 6px 0;
    min-width: 200px;
  }
  .pos-mobile-kebab-menu > li > a {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .pos-mobile-kebab-menu > li > a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
  }
  .pos-mobile-segment-wrap {
    padding: 0 4px 8px;
  }
  .pos-mobile-segments {
    display: flex;
    background: #e2e8f0;
    border-radius: 10px;
    padding: 3px;
    gap: 3px;
  }
  .pos-segment-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
  }
  .pos-segment-btn.active {
    background: #ffffff;
    color: var(--msm-primary, #2563eb);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }
  .pos-cart-count-badge {
    background: var(--msm-primary, #2563eb);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 999px;
  }
  .pos-dual-view-row {
    margin-left: -5px !important;
    margin-right: -5px !important;
  }
  .pos-dual-view-row[data-active-view=catalog] .pos-pane-catalog {
    display: block !important;
  }
  .pos-dual-view-row[data-active-view=catalog] .pos-pane-cart .pos_product_div,
  .pos-dual-view-row[data-active-view=catalog] .pos-pane-cart .pos_form_totals,
  .pos-dual-view-row[data-active-view=catalog] .pos-pane-cart .pos-form-actions {
    display: none !important;
  }
  .pos-dual-view-row[data-active-view=cart] .pos-pane-catalog {
    display: none !important;
  }
  .pos-dual-view-row[data-active-view=cart] .pos-pane-cart {
    display: block !important;
  }
  .pos-dual-view-row[data-active-view=cart] .pos-pane-cart .pos_product_div {
    display: block !important;
  }
  .pos-dual-view-row[data-active-view=cart] .pos-pane-cart .pos_form_totals,
  .pos-dual-view-row[data-active-view=cart] .pos-pane-cart .pos-form-actions {
    display: none !important;
  }
  #pos_catalog_pane {
    padding: 0 4px !important;
  }
  #pos_catalog_pane #product_category_div,
  #pos_catalog_pane #product_brand_div {
    margin-bottom: 8px;
  }
  #product_list_body {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 4px !important;
    max-height: calc(100vh - 230px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
  #product_list_body .product_list {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #product_list_body .product_box {
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 125px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.1s ease, border-color 0.1s ease !important;
  }
  #product_list_body .product_box:active {
    transform: scale(0.97) !important;
    border-color: var(--msm-primary, #2563eb) !important;
  }
  #product_list_body .product_box .image-container {
    width: 100% !important;
    height: 65px !important;
    border-radius: 8px !important;
    margin-bottom: 6px !important;
  }
  #product_list_body .product_box .text_div {
    width: 100% !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: var(--msm-text, #1e293b) !important;
    max-height: 32px !important;
    overflow: hidden !important;
  }
  #pos_table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
  }
  #pos_table thead {
    display: none !important;
  }
  #pos_table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  #pos_table tr.product_row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas: "product remove" "price price" "qty subtotal" !important;
    row-gap: 8px !important;
    column-gap: 8px !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
  }
  #pos_table tr.product_row > td {
    display: block !important;
    border: none !important;
    padding: 0 !important;
  }
  #pos_table tr.product_row td.pos-cart-col-product {
    grid-area: product !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    color: var(--msm-text, #1e293b) !important;
  }
  #pos_table tr.product_row td.pos-cart-col-product .text-link {
    color: var(--msm-primary, #2563eb) !important;
  }
  #pos_table tr.product_row td.pos-cart-col-action {
    grid-area: remove !important;
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
  }
  #pos_table tr.product_row td.pos-cart-col-action .pos_remove_row {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 10px !important;
    background: #fee2e2 !important;
    color: #dc2626 !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.15s ease, transform 0.1s ease !important;
  }
  #pos_table tr.product_row td.pos-cart-col-action .pos_remove_row:active {
    background: #fecaca !important;
    transform: scale(0.92) !important;
  }
  #pos_table tr.product_row td.pos-cart-col-price {
    grid-area: price !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #64748b !important;
  }
  #pos_table tr.product_row td.pos-cart-col-price::before {
    content: "Unit Price:";
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
  }
  #pos_table tr.product_row td.pos-cart-col-price .pos_unit_price_inc_tax {
    width: 105px !important;
    height: 34px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    display: inline-block !important;
  }
  #pos_table tr.product_row td.pos-cart-col-qty {
    grid-area: qty !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  #pos_table tr.product_row td.pos-cart-col-qty .input-number {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
  }
  #pos_table tr.product_row td.pos-cart-col-qty .input-number .quantity-down,
  #pos_table tr.product_row td.pos-cart-col-qty .input-number .quantity-up {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    line-height: 40px !important;
    padding: 0 !important;
    text-align: center !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.12s ease !important;
  }
  #pos_table tr.product_row td.pos-cart-col-qty .input-number .quantity-down:active,
  #pos_table tr.product_row td.pos-cart-col-qty .input-number .quantity-up:active {
    background: #e2e8f0 !important;
    transform: scale(0.94) !important;
  }
  #pos_table tr.product_row td.pos-cart-col-qty .input-number .quantity-down i,
  #pos_table tr.product_row td.pos-cart-col-qty .input-number .quantity-up i {
    font-size: 14px !important;
  }
  #pos_table tr.product_row td.pos-cart-col-qty .input-number input.pos_quantity {
    width: 56px !important;
    height: 42px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0 !important;
  }
  #pos_table tr.product_row td.pos-cart-col-qty .sub_unit {
    margin-top: 4px !important;
    font-size: 12px !important;
    height: 32px !important;
    border-radius: 6px !important;
  }
  #pos_table tr.product_row td.pos-cart-col-subtotal {
    grid-area: subtotal !important;
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
  #pos_table tr.product_row td.pos-cart-col-subtotal::before {
    content: "SUBTOTAL";
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
  }
  #pos_table tr.product_row td.pos-cart-col-subtotal .pos_line_total_text {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--msm-primary, #047857) !important;
    line-height: 1.2 !important;
  }
  #pos_table tr.product_row td.pos-cart-col-subtotal input.pos_line_total {
    width: 90px !important;
    height: 34px !important;
    display: inline-block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: right !important;
    border-radius: 6px !important;
  }
  .pos-mobile-sticky-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    min-height: 64px !important;
    height: auto !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 14px calc(10px + env(safe-area-inset-bottom, 0px)) 14px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 1040 !important;
    box-sizing: border-box !important;
  }
  .pos-sticky-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  .pos-sticky-icon-wrap {
    position: relative;
    font-size: 22px;
    color: var(--msm-primary, #2563eb);
  }
  .pos-sticky-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 999px;
  }
  .pos-sticky-details {
    display: flex;
    flex-direction: column;
  }
  .pos-sticky-qty {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
  }
  .pos-sticky-amount {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
  }
  .pos-sticky-pay-btn {
    height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  }
  .pos-scanner-modal .modal-dialog {
    margin: 0 !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
  }
  .pos-scanner-modal .modal-content {
    border-radius: 20px 20px 0 0 !important;
    overflow: hidden;
  }
  .pos-scanner-modal .scanner-viewport-container {
    position: relative;
    width: 100%;
    height: 260px;
    background: #000000;
    overflow: hidden;
  }
  .pos-scanner-modal .scanner-overlay-guide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .pos-scanner-modal .scanner-guide-box {
    width: 75%;
    height: 55%;
    border: 2px solid #22c55e;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
  }
  .pos-scanner-modal .scanner-laser-line {
    width: 100%;
    height: 2px;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    position: absolute;
    top: 0;
    animation: posScannerLaser 2s infinite ease-in-out;
  }
  @keyframes posScannerLaser {
    0% {
      top: 5%;
      opacity: 0.6;
    }
    50% {
      top: 90%;
      opacity: 1;
    }
    100% {
      top: 5%;
      opacity: 0.6;
    }
  }
  .pos-scanner-modal .scanner-status-card {
    padding: 10px 14px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
  }
  .pos-scanner-modal .scanner-controls-bar {
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
  }
  .pos-scanner-modal .scanner-controls-bar .scanner-continuous-toggle {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    cursor: pointer;
  }
  #modal_payment .msm-payment-modal-row {
    display: flex !important;
    flex-direction: column !important;
  }
  #modal_payment .msm-payment-summary-col {
    order: -1 !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
  }
  #modal_payment .msm-payment-summary-col .box {
    border-radius: 10px !important;
    margin-bottom: 0 !important;
    background: #f39c12 !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    overflow: hidden !important;
  }
  #modal_payment .msm-payment-summary-col .box .box-body {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 10px !important;
    height: 100% !important;
    gap: 4px !important;
  }
  #modal_payment .msm-payment-summary-col .box .box-body > div {
    padding: 0 4px !important;
    margin: 0 !important;
    text-align: center !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }
  #modal_payment .msm-payment-summary-col .box .box-body > div:last-child {
    border-right: none !important;
  }
  #modal_payment .msm-payment-summary-col .box .box-body > div strong {
    display: block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.95) !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.1 !important;
    margin-bottom: 2px !important;
  }
  #modal_payment .msm-payment-summary-col .box .box-body > div br, #modal_payment .msm-payment-summary-col .box .box-body > div hr {
    display: none !important;
  }
  #modal_payment .msm-payment-summary-col .box .box-body > div .lead {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    display: block !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  #modal_payment .msm-payment-inputs-col {
    order: 1 !important;
  }
  #modal_payment .pos-quick-tender-chips {
    margin-bottom: 12px;
  }
  #modal_payment .pos-quick-tender-chips .quick-tender-label {
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
  }
  #modal_payment .pos-quick-tender-chips .quick-tender-group {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  #modal_payment .pos-quick-tender-chips .quick-tender-group::-webkit-scrollbar {
    display: none;
  }
  #modal_payment .pos-quick-tender-chips .quick-tender-group .btn-tender-chip {
    flex: 1;
    min-height: 38px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid var(--msm-border, #cbd5e1);
    background: #f8fafc;
  }
  #modal_payment .pos-quick-tender-chips .quick-tender-group .btn-tender-chip.active, #modal_payment .pos-quick-tender-chips .quick-tender-group .btn-tender-chip:active {
    background: var(--msm-primary, #2563eb) !important;
    color: #ffffff !important;
    border-color: var(--msm-primary, #2563eb) !important;
  }
  #modal_payment .modal-body {
    max-height: calc(100vh - 160px) !important;
    max-height: calc(100dvh - 160px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding: 12px 14px !important;
  }
  #modal_payment .modal-footer {
    position: sticky !important;
    bottom: 0 !important;
    background: #ffffff !important;
    z-index: 10 !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08) !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  #modal_payment .modal-footer .btn {
    margin: 0 !important;
  }
  #modal_payment .modal-footer .btn-default {
    flex: 0 0 auto !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
  }
  #modal_payment .modal-footer #pos-save {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 46px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    background: #22c55e !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3) !important;
  }
  #modal_payment .modal-footer #pos-save:active {
    background: #16a34a !important;
    transform: translateY(1px) !important;
  }
  body.lockscreen .modal-dialog,
  body:has(#add_pos_sell_form) .modal-dialog,
  body:has(#edit_pos_sell_form) .modal-dialog {
    margin: 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1050 !important;
  }
  body.lockscreen .modal.fade .modal-dialog,
  body:has(#add_pos_sell_form) .modal.fade .modal-dialog,
  body:has(#edit_pos_sell_form) .modal.fade .modal-dialog {
    transform: translateY(100%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  body.lockscreen .modal.in .modal-dialog,
  body:has(#add_pos_sell_form) .modal.in .modal-dialog,
  body:has(#edit_pos_sell_form) .modal.in .modal-dialog {
    transform: translateY(0) !important;
  }
  body.lockscreen .modal-content,
  body:has(#add_pos_sell_form) .modal-content,
  body:has(#edit_pos_sell_form) .modal-content {
    border-radius: 20px 20px 0 0 !important;
    border: none !important;
    border-bottom: 0 !important;
    max-height: 90vh !important;
    max-height: 90dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }
  body.lockscreen .modal-header,
  body:has(#add_pos_sell_form) .modal-header,
  body:has(#edit_pos_sell_form) .modal-header {
    flex: 0 0 auto !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  body.lockscreen .modal-header .modal-title,
  body:has(#add_pos_sell_form) .modal-header .modal-title,
  body:has(#edit_pos_sell_form) .modal-header .modal-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: var(--msm-text, #0f172a) !important;
    max-width: 85% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  body.lockscreen .modal-header .close,
  body:has(#add_pos_sell_form) .modal-header .close,
  body:has(#edit_pos_sell_form) .modal-header .close {
    font-size: 24px !important;
    opacity: 0.6 !important;
    padding: 4px 8px !important;
    min-height: 38px !important;
    min-width: 38px !important;
    margin: -4px -8px -4px auto !important;
    border: none !important;
    background: transparent !important;
  }
  body.lockscreen .modal-body,
  body:has(#add_pos_sell_form) .modal-body,
  body:has(#edit_pos_sell_form) .modal-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1 1 auto !important;
    max-height: calc(90vh - 130px) !important;
    max-height: calc(90dvh - 130px) !important;
    padding: 14px 16px !important;
    overscroll-behavior: contain !important;
  }
  body.lockscreen .modal-footer,
  body:has(#add_pos_sell_form) .modal-footer,
  body:has(#edit_pos_sell_form) .modal-footer {
    flex: 0 0 auto !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 10 !important;
    display: flex !important;
    gap: 8px !important;
  }
  body.lockscreen .modal-footer .btn,
  body:has(#add_pos_sell_form) .modal-footer .btn,
  body:has(#edit_pos_sell_form) .modal-footer .btn {
    min-height: 44px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
  }
  body.lockscreen .register_details_modal table.table,
  body.lockscreen .close_register_modal table.table,
  body:has(#add_pos_sell_form) .register_details_modal table.table,
  body:has(#add_pos_sell_form) .close_register_modal table.table,
  body:has(#edit_pos_sell_form) .register_details_modal table.table,
  body:has(#edit_pos_sell_form) .close_register_modal table.table {
    margin-bottom: 12px !important;
    width: 100% !important;
  }
  body.lockscreen .register_details_modal table.table th, body.lockscreen .register_details_modal table.table td,
  body.lockscreen .close_register_modal table.table th,
  body.lockscreen .close_register_modal table.table td,
  body:has(#add_pos_sell_form) .register_details_modal table.table th,
  body:has(#add_pos_sell_form) .register_details_modal table.table td,
  body:has(#add_pos_sell_form) .close_register_modal table.table th,
  body:has(#add_pos_sell_form) .close_register_modal table.table td,
  body:has(#edit_pos_sell_form) .register_details_modal table.table th,
  body:has(#edit_pos_sell_form) .register_details_modal table.table td,
  body:has(#edit_pos_sell_form) .close_register_modal table.table th,
  body:has(#edit_pos_sell_form) .close_register_modal table.table td {
    padding: 8px 6px !important;
    font-size: 13px !important;
    word-break: break-word !important;
  }
  body.lockscreen .register_details_modal .modal-footer,
  body.lockscreen .close_register_modal .modal-footer,
  body:has(#add_pos_sell_form) .register_details_modal .modal-footer,
  body:has(#add_pos_sell_form) .close_register_modal .modal-footer,
  body:has(#edit_pos_sell_form) .register_details_modal .modal-footer,
  body:has(#edit_pos_sell_form) .close_register_modal .modal-footer {
    flex-direction: column-reverse !important;
  }
  body.lockscreen .register_details_modal .modal-footer .btn,
  body.lockscreen .close_register_modal .modal-footer .btn,
  body:has(#add_pos_sell_form) .register_details_modal .modal-footer .btn,
  body:has(#add_pos_sell_form) .close_register_modal .modal-footer .btn,
  body:has(#edit_pos_sell_form) .register_details_modal .modal-footer .btn,
  body:has(#edit_pos_sell_form) .close_register_modal .modal-footer .btn {
    width: 100% !important;
  }
  body.lockscreen,
  body:has(#add_pos_sell_form),
  body:has(#edit_pos_sell_form) {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
  }
  body.lockscreen .wrapper,
  body:has(#add_pos_sell_form) .wrapper,
  body:has(#edit_pos_sell_form) .wrapper {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }
  body.lockscreen .content.pos-mobile-container,
  body.lockscreen .content:has(#add_pos_sell_form),
  body.lockscreen .content:has(#edit_pos_sell_form),
  body:has(#add_pos_sell_form) .content.pos-mobile-container,
  body:has(#add_pos_sell_form) .content:has(#add_pos_sell_form),
  body:has(#add_pos_sell_form) .content:has(#edit_pos_sell_form),
  body:has(#edit_pos_sell_form) .content.pos-mobile-container,
  body:has(#edit_pos_sell_form) .content:has(#add_pos_sell_form),
  body:has(#edit_pos_sell_form) .content:has(#edit_pos_sell_form) {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .pos-mobile-container,
  #pos_dual_view_container {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }
  .pos_form_totals,
  .pos-form-actions {
    display: none !important;
  }
  body.lockscreen .content,
  body:has(#add_pos_sell_form) .content,
  body:has(#edit_pos_sell_form) .content {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.lockscreen .msm-mobile-bottom-nav,
  body:has(#add_pos_sell_form) .msm-mobile-bottom-nav,
  body:has(#edit_pos_sell_form) .msm-mobile-bottom-nav,
  body:has(.pos-mobile-sticky-bar) .msm-mobile-bottom-nav {
    display: none !important;
    pointer-events: none !important;
  }
  body.modal-open .pos-mobile-sticky-bar {
    display: none !important;
    pointer-events: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1366px) {
  #product_list_body {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(130px, 1fr)) !important;
    gap: 10px !important;
    max-height: calc(100vh - 210px) !important;
    overflow-y: auto !important;
  }
  #product_list_body .product_list {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #product_list_body .product_box {
    width: 100% !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 10px !important;
    padding: 8px 6px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 150px !important;
    height: 100% !important;
    margin-bottom: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.15s ease !important;
  }
  #product_list_body .product_box:hover {
    border-color: var(--msm-primary, #2563eb) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-2px) !important;
  }
  #product_list_body .product_box .image-container {
    width: 100% !important;
    height: 70px !important;
    border-radius: 6px !important;
    margin-bottom: 6px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
  }
  #product_list_body .product_box .text_div {
    width: 100% !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--msm-text, #1e293b) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  #product_list_body .product_box .text_div .text,
  #product_list_body .product_box .text_div small {
    white-space: normal !important;
    word-break: break-word !important;
    max-height: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
  }
  #product_list_body .product_box .text_div .text-muted {
    font-size: 11px !important;
    color: #64748b !important;
  }
  #product_list_body .product_box .text_div .product_price_badge,
  #product_list_body .product_box .text_div .label {
    display: inline-block !important;
    margin-top: 2px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
  }
}
@media (min-width: 1367px) {
  #product_list_body {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(130px, 1fr)) !important;
    gap: 10px !important;
    max-height: calc(100vh - 210px) !important;
    overflow-y: auto !important;
  }
  #product_list_body .product_list {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #product_list_body .product_box {
    width: 100% !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 10px !important;
    padding: 8px 6px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 150px !important;
    height: 100% !important;
    margin-bottom: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.15s ease !important;
  }
  #product_list_body .product_box:hover {
    border-color: var(--msm-primary, #2563eb) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-2px) !important;
  }
  #product_list_body .product_box .image-container {
    width: 100% !important;
    height: 75px !important;
    border-radius: 6px !important;
    margin-bottom: 6px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
  }
  #product_list_body .product_box .text_div {
    width: 100% !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--msm-text, #1e293b) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  #product_list_body .product_box .text_div .text,
  #product_list_body .product_box .text_div small {
    white-space: normal !important;
    word-break: break-word !important;
    max-height: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
  }
  #product_list_body .product_box .text_div .text-muted {
    font-size: 11px !important;
    color: #64748b !important;
  }
  #product_list_body .product_box .text_div .product_price_badge,
  #product_list_body .product_box .text_div .label {
    display: inline-block !important;
    margin-top: 2px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
  }
}
@media (min-width: 768px) {
  .pos-form-actions {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
    padding: 8px 20px 10px !important;
    z-index: 1000 !important;
  }
  .pos-form-actions .pos-form-actions-flex,
  .pos-form-actions > .col-md-12 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 12px !important;
    padding: 0 !important;
  }
  .pos-form-actions .pos-form-actions-flex:before, .pos-form-actions .pos-form-actions-flex:after,
  .pos-form-actions > .col-md-12:before,
  .pos-form-actions > .col-md-12:after {
    display: none !important;
  }
  .pos-form-actions .pos-action-btn-group {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    flex: 1 1 auto !important;
  }
  .pos-form-actions .pos-action-btn-group .btn {
    margin: 0 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.15s ease !important;
  }
  .pos-form-actions .pos-action-btn-group .btn:hover {
    opacity: 0.92 !important;
    transform: translateY(-1px) !important;
  }
  .pos-form-actions .pos-action-btn-group #pos-cancel, .pos-form-actions .pos-action-btn-group #pos-delete {
    height: 38px !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
  }
  .pos-form-actions .pos-action-btn-group .pos-total {
    margin: 0 0 0 6px !important;
    border-radius: 8px !important;
    padding: 4px 12px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .pos-form-actions .pos-action-btn-group .pos-total .text {
    font-size: 11px !important;
    line-height: 1.1 !important;
    width: auto !important;
    white-space: nowrap !important;
  }
  .pos-form-actions .pos-action-btn-group .pos-total .number {
    font-size: 18px !important;
    font-weight: 800 !important;
  }
  .pos-form-actions .pos-action-right-group {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  .pos-form-actions .pos-action-right-group #recent-transactions {
    float: none !important;
    margin: 0 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  .pos_form_totals {
    background: #ffffff;
    border-top: 1px solid var(--msm-border, #e2e8f0);
    padding: 4px 8px;
  }
  .pos_form_totals .table {
    margin-bottom: 0;
  }
}
.msm-mobile-action-sheet {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2100;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.25s ease;
}
.msm-mobile-action-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}
.msm-mobile-action-sheet.is-open .msm-action-sheet-backdrop {
  opacity: 1;
}
.msm-mobile-action-sheet.is-open .msm-action-sheet-dialog {
  transform: translateY(0);
}
.msm-mobile-action-sheet .msm-action-sheet-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.msm-mobile-action-sheet .msm-action-sheet-dialog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--msm-card-bg, #ffffff);
  border-radius: 20px 20px 0 0;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 12px);
}
.msm-mobile-action-sheet .msm-action-sheet-header {
  padding: 12px 16px 8px;
  border-bottom: 1px solid var(--msm-border, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-handle {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #cbd5e1;
}
.msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--msm-text, #1e293b);
  margin: 4px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}
.msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-close {
  border: none;
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-close:active {
  background: #e2e8f0;
}
.msm-mobile-action-sheet .msm-action-sheet-body {
  padding: 10px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list li {
  margin: 0;
}
.msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 6px 0;
}
.msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item {
  width: 100%;
  min-height: 46px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--msm-text, #1e293b);
  text-align: left;
  transition: background 0.12s ease;
}
.msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item i {
  font-size: 16px;
  width: 22px;
  text-align: center;
  color: var(--msm-primary, #2563eb);
}
.msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item:active {
  background: #f1f5f9;
}
.msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item.text-danger i, .msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item:has(.fa-trash) i {
  color: #ef4444 !important;
}

body.msm-dark-mode .msm-mobile-action-sheet .msm-action-sheet-dialog,
body.dark-mode .msm-mobile-action-sheet .msm-action-sheet-dialog {
  background: #1e293b !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6) !important;
}
body.msm-dark-mode .msm-mobile-action-sheet .msm-action-sheet-header,
body.dark-mode .msm-mobile-action-sheet .msm-action-sheet-header {
  border-bottom-color: #334155 !important;
}
body.msm-dark-mode .msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-handle,
body.dark-mode .msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-handle {
  background: #475569 !important;
}
body.msm-dark-mode .msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-title,
body.dark-mode .msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-title {
  color: #f8fafc !important;
}
body.msm-dark-mode .msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-close,
body.dark-mode .msm-mobile-action-sheet .msm-action-sheet-header .msm-action-sheet-close {
  background: #334155 !important;
  color: #cbd5e1 !important;
}
body.msm-dark-mode .msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-divider,
body.dark-mode .msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-divider {
  background: #334155 !important;
}
body.msm-dark-mode .msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item,
body.dark-mode .msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item {
  color: #f1f5f9 !important;
}
body.msm-dark-mode .msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item:active,
body.dark-mode .msm-mobile-action-sheet .msm-action-sheet-body .msm-action-sheet-list .msm-action-sheet-item:active {
  background: #334155 !important;
}

@media (min-width: 768px) {
  .msm-contact-action-chips,
  .msm-contact-avatar-pill,
  .msm-contact-card-footer,
  .msm-mobile-fab,
  .msm-mobile-action-sheet,
  .msm-purchase-sticky-bar {
    display: none !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-sales-table-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-left {
    flex: 1 1 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right {
    flex: 1 1 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex: 2 1 0 !important;
    width: auto !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-columns-dropdown {
    display: none !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-export-dropdown {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-export-dropdown .btn,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-export-dropdown .msm-sales-table-btn {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-export-dropdown .btn i,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-export-dropdown .msm-sales-table-btn i {
    font-size: 11px !important;
    margin-right: 3px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-export-dropdown .btn .caret,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-export-dropdown .msm-sales-table-btn .caret {
    margin-left: 2px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-print-btn,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .buttons-print {
    flex: 1 1 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .msm-sales-print-btn i,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right .msm-sales-table-actions .buttons-print i {
    font-size: 11px !important;
    margin-right: 3px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right > .btn,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right > .btn-modal,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right > .btn-primary:not(.dropdown-toggle),
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right > a.btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 6px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right > .btn i,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right > .btn-modal i,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right > .btn-primary:not(.dropdown-toggle) i,
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-toolbar-right > a.btn i {
    font-size: 11px !important;
    margin-right: 3px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-search-slot {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-search-slot .dataTables_filter {
    width: 100% !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-search-slot .dataTables_filter label {
    width: 100% !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-search-slot .dataTables_filter label .msm-sales-search-wrap {
    width: 100% !important;
    display: flex !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-search-slot .dataTables_filter label .msm-sales-search-wrap input {
    width: 100% !important;
    height: 38px !important;
    font-size: 14px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-length-slot .msm-sales-length-button {
    height: 34px !important;
    font-size: 12px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern .msm-sales-table-toolbar .msm-sales-table-actions .btn {
    height: 34px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  body.msm-legacy-modern .add-product-price-table,
  body.msm-legacy-modern table.variation_value_table {
    display: block !important;
    width: 100% !important;
    border: none !important;
  }
  body.msm-legacy-modern .add-product-price-table > thead,
  body.msm-legacy-modern table.variation_value_table > thead {
    display: none !important;
  }
  body.msm-legacy-modern .add-product-price-table > tbody,
  body.msm-legacy-modern table.variation_value_table > tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  body.msm-legacy-modern .add-product-price-table > tbody > tr,
  body.msm-legacy-modern table.variation_value_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern .add-product-price-table > tbody > tr > td,
  body.msm-legacy-modern table.variation_value_table > tbody > tr > td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern .add-product-price-table > tbody > tr > td .col-sm-6,
  body.msm-legacy-modern table.variation_value_table > tbody > tr > td .col-sm-6 {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 6px !important;
  }
  body.msm-legacy-modern .add-product-price-table > tbody > tr > td input.form-control,
  body.msm-legacy-modern .add-product-price-table > tbody > tr > td select.form-control,
  body.msm-legacy-modern table.variation_value_table > tbody > tr > td input.form-control,
  body.msm-legacy-modern table.variation_value_table > tbody > tr > td select.form-control {
    height: 38px !important;
    font-size: 14px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .content-wrapper {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollHead:not(:has(#product_sell_report_table):not(:has(#profit_by_products_table))),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) > table.dataTable > thead,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) > table.dataTable > thead,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) > table.dataTable > thead {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table.dataTable > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) .table-striped > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) table.dataTable.table-striped > tbody > tr > td {
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)),
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) {
    overflow-x: hidden !important;
    width: 100% !important;
    max-height: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table),
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) thead,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) thead,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) thead,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) thead {
    order: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody {
    order: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tfoot {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody:has(.dataTables_empty) ~ tfoot, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table):has(.dataTables_empty) > tfoot, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table):has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table):has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table):has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table):has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table):has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table):has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table):has(tbody .dataTables_empty) > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 6px 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    padding: 12px 48px 12px 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    gap: 4px !important;
    transition: box-shadow 0.15s ease !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr > td {
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr:active,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr:active,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr:active {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr:has(td.dataTables_empty), body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr.odd:has(td.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr:has(td.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr.odd:has(td.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr:has(td.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr.odd:has(td.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr:has(td.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr.odd:has(td.dataTables_empty) {
    border: 1px dashed #cbd5e1 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr > td.dataTables_empty,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr > td.dataTables_empty,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr > td.dataTables_empty,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr > td.dataTables_empty {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 36px 16px !important;
    color: var(--msm-muted, #64748b) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 5 !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle {
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    box-shadow: none !important;
    position: relative !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle::after {
    content: "\f142" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    color: #475569 !important;
    display: inline-block !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle .caret, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle .sr-only {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-toggle:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-menu,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)):not(:has(#profit_loss_table)):not(:has(#purchase_sell_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-menu,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-modern-table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-menu,
  body.msm-legacy-modern:not(.msm-report-modern) .table-responsive:not(:has(#product_sell_report_table)):not(:has(#profit_by_products_table)) table.dataTable:not(#sell_table):not(#drafts_table):not(#quotations_table):not(#quotation_table):not(#shipments_table):not(#types_of_service_table):not(#product_table):not(#contact_table):not(#users_table):not(#product_sell_report_table):not(#product_sell_report_with_purchase_table):not(#product_sell_grouped_report_table):not(#profit_by_products_table):not(#profit_by_categories_table):not(#profit_by_brands_table):not(#profit_by_locations_table):not(#profit_by_invoice_table):not(#profit_by_date_table):not(#profit_by_customer_table):not(#profit_by_day_table):not(#profit_loss_table):not(#purchase_sell_table) tbody > tr .btn-group .dropdown-menu {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper .dataTables_scrollBody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper .dataTables_scroll,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper .dataTables_scrollBody {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#types_of_service_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table.dataTable,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#sell_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#drafts_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#quotations_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#quotation_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#shipments_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#product_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#contact_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#purchase_table,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#types_of_service_table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#types_of_service_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table.dataTable > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#sell_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#drafts_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#quotations_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#quotation_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#shipments_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#product_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#contact_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#purchase_table > tbody,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#types_of_service_table > tbody {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    gap: 12px !important;
    padding: 6px 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-page .dataTables_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-products-page .dataTables_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contacts-page .dataTables_wrapper table#types_of_service_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table.dataTable > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#contact_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#purchase_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page .dataTables_wrapper table#types_of_service_table > tbody > tr {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr,
  .dataTables_wrapper #product_table > tbody > tr,
  #product_table > tbody > tr {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    padding: 12px 48px 12px 76px !important;
    min-height: 80px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    cursor: pointer;
    margin-bottom: 12px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td,
  .dataTables_wrapper #product_table > tbody > tr > td,
  #product_table > tbody > tr > td {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    min-height: auto !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr:not(.is-selecting) > td.col-prod-select, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr:not(.is-selecting) > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr:not(.is-selecting) > td.col-prod-select,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr:not(.is-selecting) > td:nth-of-type(1),
  .dataTables_wrapper #product_table > tbody > tr:not(.is-selecting) > td.col-prod-select,
  .dataTables_wrapper #product_table > tbody > tr:not(.is-selecting) > td:nth-of-type(1),
  #product_table > tbody > tr:not(.is-selecting) > td.col-prod-select,
  #product_table > tbody > tr:not(.is-selecting) > td:nth-of-type(1) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-image,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(2),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2),
  #product_table > tbody > tr > td.col-prod-image,
  #product_table > tbody > tr > td:nth-of-type(2) {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    width: 54px !important;
    height: 54px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    z-index: 2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell,
  #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell,
  #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image img,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail-small,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .img-thumbnail,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) img,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-small,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .img-thumbnail,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-image img,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-image .product-thumbnail,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-image .product-thumbnail-small,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-image .img-thumbnail,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(2) img,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-small,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(2) .img-thumbnail,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image img,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail-small,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .img-thumbnail,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) img,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-small,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .img-thumbnail,
  #product_table > tbody > tr > td.col-prod-image img,
  #product_table > tbody > tr > td.col-prod-image .product-thumbnail,
  #product_table > tbody > tr > td.col-prod-image .product-thumbnail-small,
  #product_table > tbody > tr > td.col-prod-image .img-thumbnail,
  #product_table > tbody > tr > td:nth-of-type(2) img,
  #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail,
  #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-small,
  #product_table > tbody > tr > td:nth-of-type(2) .img-thumbnail {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell.is-empty,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell.is-empty,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell.is-empty,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell.is-empty,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell.is-empty,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell.is-empty,
  #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell.is-empty,
  #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell.is-empty {
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell.is-empty img,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell.is-empty img,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell.is-empty img,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell.is-empty img,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell.is-empty img,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell.is-empty img,
  #product_table > tbody > tr > td.col-prod-image .product-thumbnail-shell.is-empty img,
  #product_table > tbody > tr > td:nth-of-type(2) .product-thumbnail-shell.is-empty img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    opacity: 0.45 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3),
  #product_table > tbody > tr > td.col-prod-action,
  #product_table > tbody > tr > td:nth-of-type(3) {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 5 !important;
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group,
  #product_table > tbody > tr > td.col-prod-action .btn-group,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group {
    position: static !important;
    width: 34px !important;
    height: 34px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle,
  #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    font-size: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle .caret, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle .sr-only,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle .caret,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle .sr-only,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle .caret,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle .sr-only,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle .caret,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle .sr-only,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle .caret,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle .sr-only,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle .caret,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle .sr-only,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle .caret,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle .sr-only,
  #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle .caret,
  #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle .sr-only,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle .caret,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle .sr-only,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle .caret,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle .sr-only,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle .caret,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle .sr-only,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle .caret,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle .sr-only,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle .caret,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle .sr-only {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle::after,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle::after,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle::after,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle::after,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle::after,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle::after,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle::after,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle::after,
  #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle::after,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle::after,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle::after,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle::after,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle::after,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle::after {
    content: "⋮" !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    color: #475569 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:active, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:focus, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:hover,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:focus,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:hover,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:active,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:focus,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:hover,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:active,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:focus,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:hover,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:active,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:focus,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:hover,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:active,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:focus,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:hover,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:active,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:focus,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:hover,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:active,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:focus,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:hover,
  #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:active,
  #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:focus,
  #product_table > tbody > tr > td.col-prod-action .btn-group > button.dropdown-toggle:hover,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:active,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:focus,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-info.dropdown-toggle:hover,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:active,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:focus,
  #product_table > tbody > tr > td.col-prod-action .btn-group > .btn-default.dropdown-toggle:hover,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:active,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:focus,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > button.dropdown-toggle:hover,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:active,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:focus,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-info.dropdown-toggle:hover,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:active,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:focus,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group > .btn-default.dropdown-toggle:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group .dropdown-menu,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group .dropdown-menu,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-action .btn-group .dropdown-menu,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(3) .btn-group .dropdown-menu,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-action .btn-group .dropdown-menu,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(3) .btn-group .dropdown-menu,
  #product_table > tbody > tr > td.col-prod-action .btn-group .dropdown-menu,
  #product_table > tbody > tr > td:nth-of-type(3) .btn-group .dropdown-menu {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-title,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-title,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(4),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-title,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(4),
  #product_table > tbody > tr > td.col-prod-title,
  #product_table > tbody > tr > td:nth-of-type(4) {
    order: 1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0 !important;
    border: none !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    margin-bottom: 3px !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-stock,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(8),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8),
  #product_table > tbody > tr > td.col-prod-stock,
  #product_table > tbody > tr > td:nth-of-type(8) {
    order: 2 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
    margin-bottom: 5px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-stock::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(8)::before,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock::before,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8)::before,
  #product_table > tbody > tr > td.col-prod-stock::before,
  #product_table > tbody > tr > td:nth-of-type(8)::before {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge,
  #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge,
  #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    line-height: 1.25 !important;
    width: fit-content !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge::before,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge::before,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge::before,
  #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge::before,
  #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge::before {
    content: "Stock: " !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
    margin-right: 3px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-in,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-in,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-in,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-in,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-in,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-in,
  #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-in,
  #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-in {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-low,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-low,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-low,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-low,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-low,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-low,
  #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-low,
  #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-low {
    background: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-out,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-out,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-out,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-out,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-out,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-out,
  #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-out,
  #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-out {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-na,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-na,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-na,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-na,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-na,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-na,
  #product_table > tbody > tr > td.col-prod-stock .msm-stock-badge.stock-na,
  #product_table > tbody > tr > td:nth-of-type(8) .msm-stock-badge.stock-na {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sell-price,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-sell-price,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(7),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sell-price,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(7),
  #product_table > tbody > tr > td.col-prod-sell-price,
  #product_table > tbody > tr > td:nth-of-type(7) {
    order: 3 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: baseline !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #047857 !important;
    margin-right: 12px !important;
    margin-bottom: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sell-price::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-sell-price::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(7)::before,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sell-price::before,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(7)::before,
  #product_table > tbody > tr > td.col-prod-sell-price::before,
  #product_table > tbody > tr > td:nth-of-type(7)::before {
    content: "Price: " !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-right: 3px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sell-price > div,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(7) > div,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-sell-price > div,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(7) > div,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sell-price > div,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(7) > div,
  #product_table > tbody > tr > td.col-prod-sell-price > div,
  #product_table > tbody > tr > td:nth-of-type(7) > div {
    display: inline-block !important;
    font-weight: 800 !important;
    color: #047857 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-cost-price,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-cost-price,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(6),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-cost-price,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(6),
  #product_table > tbody > tr > td.col-prod-cost-price,
  #product_table > tbody > tr > td:nth-of-type(6) {
    order: 4 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: baseline !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-bottom: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-cost-price::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-cost-price::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(6)::before,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-cost-price::before,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(6)::before,
  #product_table > tbody > tr > td.col-prod-cost-price::before,
  #product_table > tbody > tr > td:nth-of-type(6)::before {
    content: "Cost: " !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-right: 3px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-cost-price > div,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(6) > div,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-cost-price > div,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(6) > div,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-cost-price > div,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(6) > div,
  #product_table > tbody > tr > td.col-prod-cost-price > div,
  #product_table > tbody > tr > td:nth-of-type(6) > div {
    display: inline-block !important;
    font-weight: 600 !important;
    color: #64748b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-category,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-category,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(10),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-category,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(10),
  #product_table > tbody > tr > td.col-prod-category,
  #product_table > tbody > tr > td:nth-of-type(10) {
    order: 5 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    line-height: 1.25 !important;
    margin-right: 6px !important;
    margin-top: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-category::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(10)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-category::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(10)::before,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-category::before,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(10)::before,
  #product_table > tbody > tr > td.col-prod-category::before,
  #product_table > tbody > tr > td:nth-of-type(10)::before {
    content: "🏷️ " !important;
    font-size: 10px !important;
    margin-right: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-category:empty,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(10):empty,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-category:empty,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(10):empty,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-category:empty,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(10):empty,
  #product_table > tbody > tr > td.col-prod-category:empty,
  #product_table > tbody > tr > td:nth-of-type(10):empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sku,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-sku,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(13),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sku,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(13),
  #product_table > tbody > tr > td.col-prod-sku,
  #product_table > tbody > tr > td:nth-of-type(13) {
    order: 6 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    color: #64748b !important;
    border: 1px dashed #cbd5e1 !important;
    line-height: 1.25 !important;
    margin-top: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sku::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(13)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-sku::before,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(13)::before,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sku::before,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(13)::before,
  #product_table > tbody > tr > td.col-prod-sku::before,
  #product_table > tbody > tr > td:nth-of-type(13)::before {
    content: "#" !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    margin-right: 1px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sku:empty,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(13):empty,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-sku:empty,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(13):empty,
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-sku:empty,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(13):empty,
  #product_table > tbody > tr > td.col-prod-sku:empty,
  #product_table > tbody > tr > td:nth-of-type(13):empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-locations, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-type, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-brand, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-tax, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td.col-prod-media,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td[id^=cf_], body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(n+14),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-locations,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-type,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-brand,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-tax,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td.col-prod-media,
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td[id^=cf_],
  body.msm-legacy-modern:not(.msm-report-modern) #product_table > tbody > tr > td:nth-of-type(n+14),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-locations,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(5),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-type,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(9),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-brand,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(11),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-tax,
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(12),
  .dataTables_wrapper #product_table > tbody > tr > td.col-prod-media,
  .dataTables_wrapper #product_table > tbody > tr > td[id^=cf_],
  .dataTables_wrapper #product_table > tbody > tr > td:nth-of-type(n+14),
  #product_table > tbody > tr > td.col-prod-locations,
  #product_table > tbody > tr > td:nth-of-type(5),
  #product_table > tbody > tr > td.col-prod-type,
  #product_table > tbody > tr > td:nth-of-type(9),
  #product_table > tbody > tr > td.col-prod-brand,
  #product_table > tbody > tr > td:nth-of-type(11),
  #product_table > tbody > tr > td.col-prod-tax,
  #product_table > tbody > tr > td:nth-of-type(12),
  #product_table > tbody > tr > td.col-prod-media,
  #product_table > tbody > tr > td[id^=cf_],
  #product_table > tbody > tr > td:nth-of-type(n+14) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #contact_table > tbody > tr,
  .dataTables_wrapper #contact_table > tbody > tr,
  #contact_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    background: var(--msm-surface, #ffffff) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04) !important;
    padding: 12px 14px 10px 62px !important;
    min-height: auto !important;
    height: auto !important;
    gap: 2px !important;
    margin-bottom: 10px !important;
    transition: all 0.15s ease !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table .msm-contact-avatar-pill,
  #contact_table .msm-contact-avatar-pill {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--msm-primary, #2563eb), #4f8cff) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.22) !important;
    z-index: 5 !important;
  }
  body.msm-legacy-modern #contact_table_wrapper .dataTables_scrollFoot,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table_wrapper .dataTables_scrollFoot,
  #contact_table_wrapper .dataTables_scrollFoot,
  #contact_table_wrapper .dataTables_scrollFootInner {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > thead,
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    padding: 4px 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    background: var(--msm-surface, #ffffff) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04) !important;
    position: relative !important;
    padding: 12px 14px 10px 62px !important;
    min-height: auto !important;
    height: auto !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    transition: box-shadow 0.15s ease !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td {
    display: none !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(1) {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    z-index: 10 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(1) .btn-group {
    margin: 0 !important;
    display: inline-flex !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(1) .btn-group .btn {
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    background: var(--msm-surface-soft, #f1f5f9) !important;
    color: var(--msm-text, #334155) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(1) .btn-group .btn:hover, body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(1) .btn-group .btn:focus, body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(1) .btn-group .btn:active {
    background: var(--msm-border, #e2e8f0) !important;
    color: var(--msm-primary, #2563eb) !important;
    border-color: #cbd5e1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(1) .btn-group .btn .caret {
    margin-left: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(3):not(:empty) {
    display: block !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 0 1px 0 !important;
    padding-right: 80px !important;
    word-break: break-word !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(4):not(:empty) {
    display: block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 0 2px 0 !important;
    padding-right: 80px !important;
    word-break: break-word !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(2) {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    color: var(--msm-text-soft, #475569) !important;
    background: var(--msm-surface-soft, #f1f5f9) !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    width: fit-content !important;
    height: 20px !important;
    line-height: 1 !important;
    margin: 1px 0 !important;
    letter-spacing: 0.2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:nth-of-type(2):empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.msm-contact-action-chips) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--msm-text, #334155) !important;
    padding: 0 !important;
    border: none !important;
    margin: 2px 0 !important;
    height: auto !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.msm-contact-action-chips) .msm-contact-phone-val {
    font-family: inherit !important;
    font-weight: 600 !important;
    color: #475569 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.msm-contact-action-chips) .msm-contact-action-chips {
    display: inline-flex !important;
    gap: 5px !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.msm-contact-action-chips) .msm-contact-action-chips .msm-contact-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    min-height: 24px !important;
    height: 24px !important;
    padding: 1px 7px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: transform 0.12s ease !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.msm-contact-action-chips) .msm-contact-action-chips .msm-contact-chip:active {
    transform: scale(0.95) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.msm-contact-action-chips) .msm-contact-action-chips .msm-contact-chip.chip-call {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.msm-contact-action-chips) .msm-contact-action-chips .msm-contact-chip.chip-whatsapp {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.contact_due) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 0 !important;
    border: none !important;
    margin: 3px 0 0 0 !important;
    height: auto !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.contact_due)::before {
    content: "Due: " !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.contact_due) .contact_due {
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 1px 7px !important;
    border-radius: 5px !important;
    line-height: 1.25 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.contact_due) .contact_due[data-orig-value="0"] {
    background: #f8fafc !important;
    color: #64748b !important;
    border: 1px solid #e2e8f0 !important;
    font-weight: 600 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.contact_due) .contact_due:not([data-orig-value="0"]) {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
    font-weight: 800 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.return_due) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.return_due):not(:has([data-orig-value="0"])) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 2px !important;
    height: auto !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.return_due):not(:has([data-orig-value="0"]))::before {
    content: "Return Due: " !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #d97706 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:has(.return_due):not(:has([data-orig-value="0"])) .return_due {
    font-weight: 700 !important;
    color: #b45309 !important;
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    padding: 1px 6px !important;
    border-radius: 5px !important;
    font-size: 11.5px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr > td:not(:has(.contact_due))::before {
    content: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr .msm-contact-card-footer {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr .msm-contact-card-footer .msm-contact-quick-btn {
    flex: 1 1 0 !important;
    min-height: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 8px !important;
    border-radius: 7px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: transform 0.1s ease, background 0.15s ease !important;
    cursor: pointer !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr .msm-contact-card-footer .msm-contact-quick-btn:active {
    transform: scale(0.96) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr .msm-contact-card-footer .msm-contact-quick-btn.msm-quick-ledger {
    background: var(--msm-surface-soft, #f8fafc) !important;
    color: var(--msm-text, #334155) !important;
    border: 1px solid var(--msm-border, #cbd5e1) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr .msm-contact-card-footer .msm-contact-quick-btn.msm-quick-ledger:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr .msm-contact-card-footer .msm-contact-quick-btn.msm-quick-pay {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #contact_table > tbody > tr .msm-contact-card-footer .msm-contact-quick-btn.msm-quick-pay:hover {
    background: #d1fae5 !important;
    color: #065f46 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-contact-avatar-pill {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.22) !important;
    z-index: 5 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(12, 1fr) !important;
    grid-template-areas: "invoice invoice invoice invoice invoice invoice pstatus pstatus pstatus pstatus action action" "customer customer customer customer customer customer customer customer customer customer customer customer" "date date date date date date date date date date date date" "total total total total total total total total total total total total" "paid paid paid paid paid paid due due due due due due" !important;
    row-gap: 6px !important;
    column-gap: 4px !important;
    align-items: center !important;
    padding: 12px 14px !important;
    min-height: auto !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 767px) and (min-width: 520px) {
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr {
    grid-template-areas: "invoice invoice invoice invoice invoice invoice pstatus pstatus pstatus pstatus action action" "customer customer customer customer customer customer customer customer customer customer customer customer" "date date date date date date date date date date date date" "paid paid paid paid total total total total due due due due" !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-action,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-action {
    grid-area: action !important;
    position: static !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    background: transparent !important;
    width: 36px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(1) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-action .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(1) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-action .btn-group {
    position: static !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle::before {
    content: "\f142" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    color: #475569 !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .sr-only {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-invoice,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-invoice {
    grid-area: invoice !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(3)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-invoice::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(3)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-invoice::before {
    content: "🧾 #";
    font-size: 13px;
    opacity: 0.85;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-pstatus,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-status,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-pstatus,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-status {
    grid-area: pstatus !important;
    position: static !important;
    padding: 0 !important;
    border: none !important;
    white-space: nowrap !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(7) .label,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-pstatus .label,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-status .label,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(7) .label,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-pstatus .label,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-status .label {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-customer,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-customer {
    grid-area: customer !important;
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-date,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-date {
    grid-area: date !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-date::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-date::before {
    content: "\f073" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-right: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-paid,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-paid {
    grid-area: paid !important;
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
    padding-top: 0 !important;
    border-top: none !important;
    font-size: clamp(10px, 2.7vw, 12.5px) !important;
    font-weight: 700 !important;
    color: #16a34a !important;
    background: transparent !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
}
@media (max-width: 767px) and (min-width: 520px) {
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-paid,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-paid {
    border-top: 1px dashed #e2e8f0 !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(10)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-paid::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(10)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-paid::before {
    content: "Paid: ";
    font-size: clamp(9px, 2.2vw, 10.5px) !important;
    font-weight: 600;
    color: #64748b;
    margin-right: 2px;
    flex-shrink: 0;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(10) span,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-paid span,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(10) span,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-paid span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: inherit !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-total,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-total {
    grid-area: total !important;
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
    font-size: clamp(11px, 3vw, 13.5px) !important;
    font-weight: 800 !important;
    color: var(--msm-primary, #047857) !important;
    background: transparent !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
}
@media (max-width: 767px) and (min-width: 520px) {
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-total,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-total {
    justify-content: center !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(9)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-total::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(9)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-total::before {
    content: "Total: ";
    font-size: clamp(9.5px, 2.3vw, 11px) !important;
    font-weight: 600;
    color: #64748b;
    margin-right: 2px;
    flex-shrink: 0;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(9) span,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-total span,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(9) span,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-total span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: inherit !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-due,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-due {
    grid-area: due !important;
    display: inline-flex !important;
    justify-content: flex-end !important;
    align-items: baseline !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
    padding-top: 0 !important;
    border-top: none !important;
    font-size: clamp(10px, 2.7vw, 12.5px) !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
    background: transparent !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
}
@media (max-width: 767px) and (min-width: 520px) {
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-due,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-due {
    border-top: 1px dashed #e2e8f0 !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(11)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-due::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(11)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-due::before {
    content: "Due: ";
    font-weight: 600;
    font-size: clamp(9px, 2.2vw, 10.5px) !important;
    color: #64748b;
    margin-right: 2px;
    flex-shrink: 0;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(11) span,
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td.col-dt-due span,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(11) span,
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td.col-dt-due span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: inherit !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(14),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(15),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(16),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(17),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(18),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(19),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(20),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(21),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(22),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(23),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(24),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(25),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #sell_table > tbody > tr > td:nth-of-type(26),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(14),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(15),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(16),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(17),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(18),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(19),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(20),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(21),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(22),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(23),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(24),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(25),
  body.msm-legacy-modern:not(.msm-report-modern) #sell_table > tbody > tr > td:nth-of-type(26) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    grid-template-columns: 1fr auto 36px !important;
    grid-template-areas: "ref status action" "customer customer customer" "date date items" !important;
    row-gap: 6px !important;
    column-gap: 6px !important;
    align-items: center !important;
    padding: 14px !important;
    min-height: auto !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(8) {
    grid-area: action !important;
    position: static !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 36px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group {
    position: static !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle::before {
    content: "\f142" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    color: #475569 !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle .sr-only {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(8) .btn-group .dropdown-toggle:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(2) {
    grid-area: ref !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(7) {
    grid-area: status !important;
    position: static !important;
    padding: 0 !important;
    border: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(7)::before {
    content: "👤 ";
    font-size: 10px;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(3) {
    grid-area: customer !important;
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(1) {
    grid-area: date !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(6) {
    grid-area: items !important;
    display: inline-flex !important;
    justify-content: flex-end !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(6)::before {
    content: "Items: ";
    font-weight: normal;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #drafts_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotations_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #quotation_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(5) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-drafts-page #sell_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #drafts_table > tbody > tr > td:nth-of-type(2)::before {
    content: "📝 #";
    font-size: 13px;
    opacity: 0.85;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-quotations-page #sell_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #quotations_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #quotation_table > tbody > tr > td:nth-of-type(2)::before {
    content: "📋 #";
    font-size: 13px;
    opacity: 0.85;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    grid-template-areas: "name charge action" "desc desc desc" !important;
    row-gap: 6px !important;
    column-gap: 8px !important;
    align-items: center !important;
    padding: 12px 14px !important;
    min-height: auto !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr > td {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr > td:nth-of-type(1) {
    grid-area: name !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr > td:nth-of-type(2) {
    grid-area: desc !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr > td:nth-of-type(3) {
    grid-area: charge !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--msm-primary, #047857) !important;
    white-space: nowrap !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr > td:nth-of-type(3)::before {
    content: "Charge: ";
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr > td:nth-of-type(4) {
    grid-area: action !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr > td:nth-of-type(4) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #types_of_service_table > tbody > tr > td:nth-of-type(4) .btn {
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    grid-template-areas: "order status action" "customer customer customer" "date date items" !important;
    row-gap: 6px !important;
    column-gap: 8px !important;
    align-items: center !important;
    padding: 12px 14px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(1) {
    grid-area: action !important;
    position: static !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group {
    position: static !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle::before {
    content: "\f142" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    color: #475569 !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .sr-only {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(3) {
    grid-area: order !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(3)::before {
    content: "📦 #";
    font-size: 13px;
    opacity: 0.85;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(7) {
    grid-area: status !important;
    white-space: nowrap !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(4) {
    grid-area: customer !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 0 !important;
    border: none !important;
    word-break: break-word !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(2) {
    grid-area: date !important;
    font-size: 12px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(9) {
    grid-area: items !important;
    display: inline-flex !important;
    justify-content: flex-end !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(9)::before {
    content: "Remaining: ";
    font-weight: normal;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-order-page #sell_table > tbody > tr > td:nth-of-type(10) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    grid-template-columns: 1fr auto 36px !important;
    grid-template-areas: "invoice status action" "customer customer customer" "mobile mobile mobile" "date date shipping" !important;
    row-gap: 6px !important;
    column-gap: 6px !important;
    align-items: center !important;
    padding: 14px !important;
    min-height: auto !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-action,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-action {
    grid-area: action !important;
    position: static !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    background: transparent !important;
    width: 36px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-action .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-action .btn-group {
    position: static !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle::before,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle::before {
    content: "\f142" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    color: #475569 !important;
    line-height: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .sr-only,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle .sr-only {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle:active,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-action .btn-group .dropdown-toggle:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-invoice,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-invoice,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-invoice,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-invoice {
    grid-area: invoice !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(3)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-invoice::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(3)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-invoice::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(3)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-invoice::before,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(3)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-invoice::before {
    content: "🚚 #";
    font-size: 13px;
    opacity: 0.85;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-status,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-pstatus,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-status,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-pstatus,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-status,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-pstatus,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-status,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-pstatus {
    grid-area: status !important;
    white-space: nowrap !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(8) .label,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-status .label,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-pstatus .label,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(8) .label,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-status .label,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-pstatus .label,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(8) .label,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-status .label,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-pstatus .label,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(8) .label,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-status .label,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-pstatus .label {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-customer,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-customer,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-customer,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-customer {
    grid-area: customer !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 0 !important;
    border: none !important;
    word-break: break-word !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-mobile,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-mobile {
    grid-area: mobile !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--msm-primary, #047857) !important;
    padding: 2px 0 !important;
    border: none !important;
    background: transparent !important;
    margin: 2px 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) a,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile a,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(5) a,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-mobile a,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) a,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile a,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(5) a,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-mobile a,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: var(--msm-primary, #047857) !important;
    text-decoration: none !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    transition: all 0.15s ease !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) a i,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call i,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile a i,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call i,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(5) a i,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call i,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-mobile a i,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call i,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) a i,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call i,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile a i,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call i,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(5) a i,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call i,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-mobile a i,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call i {
    font-size: 11px !important;
    color: #059669 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) a:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile a:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(5) a:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-mobile a:active,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) a:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile a:active,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call:active,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(5) a:active,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(5) .msm-tap-to-call:active,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-mobile a:active,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-mobile .msm-tap-to-call:active {
    background: #d1fae5 !important;
    transform: scale(0.96) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-date,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-date,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-date,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-date {
    grid-area: date !important;
    font-size: 12px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-date::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-date::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-date::before,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-date::before {
    content: "\f073" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-right: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-shipping,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-shipping,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-shipping,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-shipping {
    grid-area: shipping !important;
    display: inline-flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(7) .label,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td.col-dt-shipping .label,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(7) .label,
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td.col-dt-shipping .label,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(7) .label,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td.col-dt-shipping .label,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(7) .label,
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td.col-dt-shipping .label {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(14),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(15),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(14),
  body.msm-legacy-modern:not(.msm-report-modern) body.msm-legacy-modern:not(.msm-report-modern) .dataTables_wrapper #shipments_table > tbody > tr > td:nth-of-type(15),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(14),
  body.msm-legacy-modern:not(.msm-report-modern) .msm-shipments-page #sell_table > tbody > tr > td:nth-of-type(15),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(14),
  body.msm-legacy-modern:not(.msm-report-modern) #shipments_table > tbody > tr > td:nth-of-type(15) {
    display: none !important;
  }
  body.msm-legacy-modern .dataTables_scrollBody:has(#purchase_table),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:has(#purchase_table) {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollBody:has(#purchase_table) {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
  }
  body.msm-legacy-modern .dataTables_scrollFoot:has(#purchase_table),
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollFoot:has(#purchase_table),
  body.msm-legacy-modern #purchase_table > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_scrollFoot:has(#purchase_table),
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr:has(td.dataTables_empty), body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr.odd:has(td.dataTables_empty), body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr.even:has(td.dataTables_empty) {
    display: block !important;
    width: 100% !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr:has(td.dataTables_empty) > td.dataTables_empty, body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr.odd:has(td.dataTables_empty) > td.dataTables_empty, body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr.even:has(td.dataTables_empty) > td.dataTables_empty {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 24px 12px !important;
    color: #64748b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr {
    display: grid !important;
    grid-template-columns: 1fr auto auto 36px !important;
    grid-template-areas: "ref pstatus paystatus action" "supplier supplier supplier supplier" "date date date date" "total total due due" !important;
    row-gap: 6px !important;
    column-gap: 6px !important;
    align-items: center !important;
    padding: 12px 14px !important;
    min-height: auto !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.15s ease !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr:active {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(1) {
    grid-area: action !important;
    position: static !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(1) .btn-group {
    position: static !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle {
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(2) {
    grid-area: date !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(2)::before {
    content: "📅 ";
    font-size: 11px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(3) {
    grid-area: ref !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(3)::before {
    content: "📦 #";
    font-size: 13px;
    opacity: 0.8;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(5) {
    grid-area: supplier !important;
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(6) {
    grid-area: pstatus !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
    white-space: nowrap !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(6) .label {
    display: inline-block !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(7) {
    grid-area: paystatus !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
    white-space: nowrap !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(7) .label {
    display: inline-block !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(8) {
    grid-area: total !important;
    display: flex !important;
    align-items: baseline !important;
    margin-top: 4px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--msm-primary, #047857) !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(8)::before {
    content: "Total: ";
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-right: 3px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(9) {
    grid-area: due !important;
    display: inline-flex !important;
    justify-content: flex-end !important;
    align-items: baseline !important;
    margin-top: 4px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    line-height: 1.2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(9)::before {
    content: "Due: ";
    font-weight: 600;
    color: #64748b;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) #purchase_table > tbody > tr > td:nth-of-type(12) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfer_table,
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfers_table,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfer_table thead,
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfers_table thead,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table thead,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table thead {
    order: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfer_table tbody,
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfers_table tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table tbody {
    order: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfer_table tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfers_table tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table tfoot {
    order: 2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfer_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfer_table tbody:has(.dataTables_empty) ~ tfoot, body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfer_table:has(.dataTables_empty) > tfoot, body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfer_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfers_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfers_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfers_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_transfers_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table:has(tbody .dataTables_empty) > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding: 14px 14px 12px 14px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 12px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td {
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(2) {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(2)::before {
    content: "🔄 Ref: ";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-right: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) {
    order: 2 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: fit-content !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5)::before {
    content: "Status:";
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) a.stock_transfer_status,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) a.stock_transfer_status {
    text-decoration: none !important;
    display: inline-flex !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) .label,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) span,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) .label,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) span {
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    padding: 2px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    letter-spacing: 0.2px !important;
    text-transform: capitalize !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) .label.bg-green,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) span.bg-green,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) .label.bg-green,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) span.bg-green {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) .label.bg-yellow,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) span.bg-yellow,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) .label.bg-yellow,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) span.bg-yellow {
    background: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) .label.bg-red,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) span.bg-red,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) .label.bg-red,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) span.bg-red {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) .label.bg-gray,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(5) span.bg-gray,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) .label.bg-gray,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(5) span.bg-gray {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(1) {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(1)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(1)::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(4) {
    order: 4 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    line-height: 1.3 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    margin-top: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(3) {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(3)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(3)::before {
    content: "📍 ";
    font-size: 11px !important;
    margin-right: 3px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(4) {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(4)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(4)::before {
    content: "➔ ";
    font-size: 12px !important;
    font-weight: 900 !important;
    color: #2563eb !important;
    margin-right: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(6) {
    order: 5 !important;
    font-size: 12px !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(6)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(6)::before {
    content: "Shipping: ";
    font-weight: 600;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(7) {
    order: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 4px !important;
    padding-top: 8px !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    color: var(--msm-primary, #2563eb) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(7)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(7)::before {
    content: "Total Amount:";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(8) {
    order: 7 !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    font-style: italic !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(8):empty,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(8):empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(9) {
    order: 10 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    border-top: 1px solid var(--msm-border, #f1f5f9) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(9) .btn,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(9) a.btn,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(9) button.btn,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(9) .btn,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(9) a.btn,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(9) button.btn {
    min-height: 34px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(9) .print-invoice,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(9) .print-invoice {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(9) .btn-group,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(9) .btn-group {
    position: static !important;
    display: inline-flex !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfer_table > tbody > tr > td:nth-of-type(9) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_transfers_table > tbody > tr > td:nth-of-type(9) .btn-group .dropdown-toggle {
    min-height: 34px !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table thead,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table thead {
    order: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table tbody {
    order: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table tfoot {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table tfoot > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table tfoot > tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f8fafc !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table tfoot > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table tfoot > tr > td {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 13px !important;
    color: #1e293b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table tfoot > tr > td:empty,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table tfoot > tr > td:empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) table#expense_table tbody:has(.dataTables_empty) ~ tfoot, body.msm-legacy-modern:not(.msm-report-modern) table#expense_table:has(.dataTables_empty) > tfoot, body.msm-legacy-modern:not(.msm-report-modern) table#expense_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table:has(tbody .dataTables_empty) > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding: 14px 48px 12px 14px !important;
    min-height: 96px !important;
    gap: 6px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 12px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(1) {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    padding: 0 !important;
    border: none !important;
    width: 34px !important;
    height: 34px !important;
    z-index: 5 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(1) .btn-group {
    position: static !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle {
    min-width: 34px !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle::before {
    content: "\f142" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    color: #475569 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-toggle .sr-only {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(1) .btn-group .dropdown-menu {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(5) {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: calc(100% - 60px) !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    letter-spacing: 0.2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(5)::before {
    content: "🏷️ ";
    font-size: 11px;
    margin-right: 4px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(8) {
    order: 2 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    padding: 0 !important;
    border: none !important;
    margin: 2px 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(8) .label,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(8) span {
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    padding: 3px 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(3) {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    padding: 0 !important;
    border: none !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(3)::before {
    content: "Ref: ";
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(12) {
    order: 4 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 0 !important;
    border: none !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(12)::before {
    content: "\f007  For: ";
    font-family: "Font Awesome 5 Free", -apple-system, sans-serif !important;
    font-weight: 900 !important;
    font-size: 11px;
    color: #94a3b8;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(2) {
    order: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    gap: 5px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(2)::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 11px;
    color: #94a3b8;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(10) {
    order: 6 !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    margin-top: 4px !important;
    padding-top: 8px !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(10)::before {
    content: "Total Amount:";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(10) .final-total,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(10) .display_currency,
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(10) span {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #dc2626 !important;
    letter-spacing: 0.3px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(11) {
    order: 7 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #ea580c !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(11)::before {
    content: "Due: ";
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-right: 3px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(11):empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(14) {
    order: 8 !important;
    display: block !important;
    font-style: italic !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border-left: 3px solid #cbd5e1 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(14):empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(14)::before {
    content: "📝 ";
    font-style: normal !important;
    margin-right: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(13),
  body.msm-legacy-modern:not(.msm-report-modern) #expense_table > tbody > tr > td:nth-of-type(15) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_adjustment_table,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_adjustment_table thead,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table thead {
    order: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_adjustment_table tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table tbody {
    order: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_adjustment_table tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table tfoot {
    order: 2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_adjustment_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) table#stock_adjustment_table tbody:has(.dataTables_empty) ~ tfoot, body.msm-legacy-modern:not(.msm-report-modern) table#stock_adjustment_table:has(.dataTables_empty) > tfoot, body.msm-legacy-modern:not(.msm-report-modern) table#stock_adjustment_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table:has(tbody .dataTables_empty) > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding: 14px 14px 12px 14px !important;
    min-height: 88px !important;
    gap: 6px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 12px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td {
    background: transparent !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(3) {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(3)::before {
    content: "⚖️ Ref: ";
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(5) {
    order: 2 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: fit-content !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(5)::before {
    content: "Type:";
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--msm-muted, #64748b) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(5) .label,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(5) span {
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    padding: 2px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    letter-spacing: 0.2px !important;
    text-transform: capitalize !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(2) {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(2)::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: var(--msm-muted, #94a3b8) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(4) {
    order: 4 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    padding: 0 !important;
    border: none !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(4)::before {
    content: "\f041  Location: ";
    font-family: "Font Awesome 5 Free", -apple-system, sans-serif !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: #64748b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(6) {
    order: 5 !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    margin-top: 4px !important;
    padding-top: 8px !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    color: var(--msm-danger, #ef4444) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(6)::before {
    content: "Adjustment Total:";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(7) {
    order: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--msm-success, #16a34a) !important;
    padding: 0 !important;
    border: none !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(7)::before {
    content: "Recovered: ";
    font-weight: 600;
    color: #64748b;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(8) {
    order: 7 !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    font-style: italic !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(8):empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(9) {
    order: 8 !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(9)::before {
    content: "By: ";
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(1) {
    order: 10 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    border-top: 1px solid var(--msm-border, #f1f5f9) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(1) .btn,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(1) a.btn,
  body.msm-legacy-modern:not(.msm-report-modern) #stock_adjustment_table > tbody > tr > td:nth-of-type(1) button.btn {
    min-height: 34px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 16px !important;
    padding: 14px 48px 14px 14px !important;
    min-height: 84px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    gap: 3px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td {
    margin-left: 58px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(3) {
    margin-left: 58px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr::before {
    content: "\f007";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%) !important;
    color: #4338ca !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    box-shadow: 0 2px 8px rgba(67, 56, 202, 0.15) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(2) {
    margin-left: 58px !important;
    display: block !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    border: none !important;
    margin-bottom: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(3) {
    margin-left: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
    margin-bottom: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(3) .label,
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(3) span {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(1) {
    margin-left: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 12px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(1)::before {
    content: "@";
    color: #94a3b8;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(1) .label {
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    background: #fee2e2 !important;
    color: #991b1b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(4) {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11.5px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 1px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(4)::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    color: #94a3b8;
    margin-right: 5px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(5) {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    margin-left: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(5) .btn-group .dropdown-toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(5) .btn-group .dropdown-toggle .caret {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #users_table > tbody > tr > td:nth-of-type(3) {
    margin-left: 58px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #roles_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 16px !important;
    padding: 14px 16px !important;
    min-height: 80px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #roles_table > tbody > tr > td:nth-of-type(1) {
    display: block !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #roles_table > tbody > tr > td:nth-of-type(1) .msm-role-header-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #roles_table > tbody > tr > td:nth-of-type(1) .msm-role-title {
    font-size: 15px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    letter-spacing: -0.01em !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #roles_table > tbody > tr > td:nth-of-type(1) .msm-role-perm-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 999px !important;
    padding: 2px 9px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #roles_table > tbody > tr > td:nth-of-type(2) {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 0 0 !important;
    border-top: 1px dashed #f1f5f9 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #roles_table > tbody > tr > td:nth-of-type(2):empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #roles_table > tbody > tr > td:nth-of-type(2) .btn {
    min-height: 34px !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table thead,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table thead {
    order: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table tbody,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table tbody {
    order: 1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table tfoot {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table tfoot > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table tfoot > tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f8fafc !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table tfoot > tr > td,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table tfoot > tr > td {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: 13px !important;
    color: #1e293b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table tfoot > tr > td:empty,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table tfoot > tr > td:empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table tbody:has(.dataTables_empty) ~ tfoot, body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table:has(.dataTables_empty) > tfoot, body.msm-legacy-modern:not(.msm-report-modern) table#other_account_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table:has(tbody .dataTables_empty) > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid var(--msm-primary, #2563eb) !important;
    border-radius: 16px !important;
    padding: 16px 14px 12px 14px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(1) {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.3 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(1)::before {
    content: "\f19c";
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    color: var(--msm-primary, #2563eb) !important;
    margin-right: 6px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(1) .label {
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    margin-left: 6px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(2) {
    order: 2 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(2)::before {
    content: "💳 ";
    font-size: 10px;
    margin-right: 4px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(4) {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    font-family: "SF Mono", "Roboto Mono", Monaco, monospace !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: #334155 !important;
    background: rgba(241, 245, 249, 0.9) !important;
    border: 1px solid #cbd5e1 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    width: fit-content !important;
    margin-top: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(4)::before {
    content: "\f09d";
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    color: #64748b !important;
    margin-right: 8px !important;
    letter-spacing: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(6) {
    order: 4 !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    padding-top: 10px !important;
    margin-top: 6px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(6)::before {
    content: "Available Balance:";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(6) .balance,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(6) span {
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: 0.3px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(6) .balance[data-orig-value^="-"],
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(6) .msm-balance-negative {
    color: #dc2626 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(6) .balance:not([data-orig-value^="-"]),
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(6) .msm-balance-positive {
    color: #16a34a !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(9) {
    order: 10 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    border-top: 1px solid var(--msm-border, #f1f5f9) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(9) button,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(9) a.btn,
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(9) .btn {
    min-height: 34px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #other_account_table > tbody > tr > td:nth-of-type(8) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 16px !important;
    padding: 14px 16px !important;
    min-height: 90px !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    gap: 5px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(1),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(1) {
    display: block !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(1) .msm-loc-name-wrap,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(1) .msm-loc-name-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(1) .msm-loc-name,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(1) .msm-loc-name {
    font-size: 15px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(1) .msm-loc-status-pill,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(1) .msm-loc-status-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 10.5px !important;
    font-weight: 750 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(1) .msm-loc-status-pill.bg-light-green,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(1) .msm-loc-status-pill.bg-light-green {
    background: #dcfce7 !important;
    color: #15803d !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(1) .msm-loc-status-pill.bg-red,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(1) .msm-loc-status-pill.bg-red {
    background: #fee2e2 !important;
    color: #b91c1c !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(2),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(2) {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(2)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(2)::before {
    content: "ID: ";
    color: #94a3b8;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(3),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(3) {
    display: inline-flex !important;
    flex-direction: column !important;
    font-size: 12px !important;
    color: #475569 !important;
    padding: 0 !important;
    border: none !important;
    gap: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(3) .msm-loc-mobile-text,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(3) .msm-loc-mobile-text {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11.5px !important;
    color: #2563eb !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(4),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(4) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(4)::before,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(4)::before {
    content: "\f3c5";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    color: #94a3b8;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(11),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(5),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(6),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(7),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(8),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(9),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(10),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(11) {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(12),
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(12) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 8px 0 0 !important;
    margin-top: 4px !important;
    border-top: 1px dashed #f1f5f9 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(12) .btn,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(12) .btn {
    min-height: 34px !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(12) .btn-group .dropdown-toggle,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(12) .btn-group .dropdown-toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    box-shadow: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #business_location_table > tbody > tr > td:nth-of-type(12) .btn-group .dropdown-toggle .caret,
  body.msm-legacy-modern:not(.msm-report-modern) #business_tbl > tbody > tr > td:nth-of-type(12) .btn-group .dropdown-toggle .caret {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr {
    min-height: 64px !important;
    padding: 12px 14px !important;
    position: relative !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(1) {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
    padding: 0 76px 0 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(2) {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    width: fit-content !important;
    margin-right: 6px !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(2)::before {
    content: "Short: ";
    color: #94a3b8;
    font-weight: 500;
    margin-right: 2px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(3) {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(3)::before {
    content: "Decimal Allowed: ";
    color: #94a3b8;
    font-weight: 500;
    margin-right: 3px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(4) {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    z-index: 5 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(4) .btn {
    min-height: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(4) .edit_unit_button {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(4) .edit_unit_button:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(4) .delete_unit_button {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #unit_table > tbody > tr > td:nth-of-type(4) .delete_unit_button:active {
    background: #fee2e2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr {
    min-height: 64px !important;
    padding: 12px 14px !important;
    position: relative !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(1) {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
    padding: 0 76px 0 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(2) {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px dashed #cbd5e1 !important;
    width: fit-content !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(3) {
    font-size: 12.5px !important;
    color: var(--msm-muted, #64748b) !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
    border: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(4) {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    z-index: 5 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(4) .btn {
    min-height: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(4) .edit_category_button {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(4) .edit_category_button:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(4) .delete_category_button {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #category_table > tbody > tr > td:nth-of-type(4) .delete_category_button:active {
    background: #fee2e2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr {
    min-height: 64px !important;
    padding: 12px 14px !important;
    position: relative !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr > td:nth-of-type(1) {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
    padding: 0 76px 0 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr > td:nth-of-type(2) {
    font-size: 12.5px !important;
    color: var(--msm-muted, #64748b) !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
    border: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr > td:nth-of-type(3) {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    z-index: 5 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr > td:nth-of-type(3) .btn {
    min-height: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr > td:nth-of-type(3) .edit_brand_button {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr > td:nth-of-type(3) .edit_brand_button:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr > td:nth-of-type(3) .delete_brand_button {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #brands_table > tbody > tr > td:nth-of-type(3) .delete_brand_button:active {
    background: #fee2e2 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #warranty_table > tbody > tr {
    min-height: 64px !important;
    padding: 12px 14px !important;
    position: relative !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #warranty_table > tbody > tr > td:nth-of-type(1) {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
    padding: 0 54px 0 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #warranty_table > tbody > tr > td:nth-of-type(3) {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid #bfdbfe !important;
    width: fit-content !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #warranty_table > tbody > tr > td:nth-of-type(3)::before {
    content: "⏱ Duration: ";
    color: #60a5fa;
    font-weight: 600;
    margin-right: 3px;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #warranty_table > tbody > tr > td:nth-of-type(2) {
    font-size: 12.5px !important;
    color: var(--msm-muted, #64748b) !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
    border: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #warranty_table > tbody > tr > td:nth-of-type(4) {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    z-index: 5 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #warranty_table > tbody > tr > td:nth-of-type(4) .btn {
    min-height: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) #warranty_table > tbody > tr > td:nth-of-type(4) .btn:active {
    background: #e2e8f0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) table.dataTable > tbody > tr > td:empty {
    display: none !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_info {
    font-size: 12px !important;
    color: var(--msm-muted, #64748b) !important;
    padding: 8px 4px !important;
    text-align: center !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_paginate {
    text-align: center !important;
    margin-top: 8px !important;
    padding-right: 80px !important;
    box-sizing: border-box !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_paginate .pagination {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_paginate .pagination li {
    display: inline-block !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_paginate .pagination li > a, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_paginate .pagination li > span {
    min-width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 8px !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    background: #ffffff !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .dataTables_paginate .pagination li.active > a, body.msm-legacy-modern:not(.msm-report-modern) .dataTables_paginate .pagination li.active > span {
    background: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
    border-color: var(--msm-primary, #047857) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-mobile-fab {
    position: fixed !important;
    bottom: 74px !important;
    right: 18px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--msm-primary, #047857), #065f46) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.4) !important;
    z-index: 1030 !important;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-mobile-fab i {
    color: #ffffff !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .msm-mobile-fab:active {
    transform: scale(0.92) !important;
    box-shadow: 0 2px 6px rgba(4, 120, 87, 0.3) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .filter_box,
  body.msm-legacy-modern:not(.msm-report-modern) .box-filter,
  body.msm-legacy-modern:not(.msm-report-modern) #product_list_filter,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-filter-panel {
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .filter_box .box-header,
  body.msm-legacy-modern:not(.msm-report-modern) .box-filter .box-header,
  body.msm-legacy-modern:not(.msm-report-modern) #product_list_filter .box-header,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-filter-panel .box-header {
    padding: 10px 14px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .filter_box .box-body,
  body.msm-legacy-modern:not(.msm-report-modern) .box-filter .box-body,
  body.msm-legacy-modern:not(.msm-report-modern) #product_list_filter .box-body,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-filter-panel .box-body {
    padding: 10px 14px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .filter_box .form-group,
  body.msm-legacy-modern:not(.msm-report-modern) .box-filter .form-group,
  body.msm-legacy-modern:not(.msm-report-modern) #product_list_filter .form-group,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-filter-panel .form-group {
    margin-bottom: 8px !important;
  }
  body.msm-legacy-modern:not(.msm-report-modern) .filter_box .form-control,
  body.msm-legacy-modern:not(.msm-report-modern) .filter_box .select2-container .select2-selection--single,
  body.msm-legacy-modern:not(.msm-report-modern) .box-filter .form-control,
  body.msm-legacy-modern:not(.msm-report-modern) .box-filter .select2-container .select2-selection--single,
  body.msm-legacy-modern:not(.msm-report-modern) #product_list_filter .form-control,
  body.msm-legacy-modern:not(.msm-report-modern) #product_list_filter .select2-container .select2-selection--single,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-filter-panel .form-control,
  body.msm-legacy-modern:not(.msm-report-modern) .msm-sales-filter-panel .select2-container .select2-selection--single {
    min-height: 40px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
  }
  body.msm-legacy-modern .msm-product-form-page {
    padding-bottom: 85px !important;
  }
  body.msm-legacy-modern .msm-product-form-page .box {
    border-radius: 14px !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 14px !important;
  }
  body.msm-legacy-modern .msm-product-form-page .box .box-header {
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--msm-border, #f1f5f9) !important;
  }
  body.msm-legacy-modern .msm-product-form-page .box .box-header .box-title {
    font-size: 15px !important;
    font-weight: 700 !important;
  }
  body.msm-legacy-modern .msm-product-form-page .box .box-body {
    padding: 12px 14px !important;
  }
  body.msm-legacy-modern .msm-product-form-page .form-control {
    font-size: 16px !important;
    min-height: 44px !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .msm-product-form-page .select2-container .select2-selection--single {
    min-height: 44px !important;
    padding-top: 6px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern .msm-product-form-actions {
    display: none !important;
  }
  body.msm-legacy-modern .msm-product-mobile-floating-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1040 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08) !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  body.msm-legacy-modern .msm-product-mobile-floating-bar .msm-product-mobile-bar-btn {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 0 16px !important;
    border: none !important;
    gap: 6px !important;
    transition: transform 0.15s ease, opacity 0.15s ease !important;
  }
  body.msm-legacy-modern .msm-product-mobile-floating-bar .msm-product-mobile-bar-btn:active {
    transform: scale(0.97) !important;
    opacity: 0.9 !important;
  }
  body.msm-legacy-modern .msm-product-mobile-floating-bar .msm-product-mobile-bar-btn.btn-default {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    flex: 0 0 auto !important;
    min-width: 44px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  body.msm-legacy-modern .msm-product-mobile-floating-bar .msm-product-mobile-bar-btn.btn-primary {
    background: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
    flex: 2 1 auto !important;
    min-height: 44px !important;
    font-weight: 700 !important;
    min-width: 0 !important;
    box-shadow: 0 2px 6px rgba(4, 120, 87, 0.25) !important;
  }
  body.msm-legacy-modern .msm-product-mobile-floating-bar .msm-product-mobile-bar-btn.bg-maroon {
    background: #be123c !important;
    color: #ffffff !important;
    flex: 1 1 auto !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-width: 0 !important;
    padding: 0 8px !important;
  }
  body.msm-legacy-modern .msm-product-mobile-floating-bar .msm-product-mobile-bar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
  }
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs .nav-tabs.nav-justified,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    padding: 8px 6px !important;
    gap: 8px !important;
    border-bottom: 2px solid var(--msm-border, #e2e8f0) !important;
    background: #ffffff !important;
  }
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs .nav-tabs.nav-justified::-webkit-scrollbar,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav::-webkit-scrollbar {
    display: none !important;
  }
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs .nav-tabs.nav-justified > li,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav > li {
    display: inline-block !important;
    float: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs .nav-tabs.nav-justified > li > a,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav > li > a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    background: #f8fafc !important;
    color: var(--msm-text, #334155) !important;
    margin-right: 0 !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
  }
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs .nav-tabs.nav-justified > li > a i,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav > li > a i {
    font-size: 12px !important;
  }
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs .nav-tabs.nav-justified > li.active > a,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs .nav-tabs.nav-justified > li > a:focus,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tabs .nav-tabs.nav-justified > li > a:hover,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav > li.active > a,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav > li > a:focus,
  body.msm-legacy-modern .msm-contact-view-page .msm-contact-tab-nav > li > a:hover {
    background: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
    border-color: var(--msm-primary, #047857) !important;
    box-shadow: 0 2px 6px rgba(4, 120, 87, 0.2) !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-mobile-kpi {
    margin-bottom: 16px !important;
    padding: 0 !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-mobile-kpi .msm-ledger-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-mobile-kpi .msm-ledger-kpi-card {
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 10px 8px !important;
    text-align: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-mobile-kpi .msm-ledger-kpi-card.msm-ledger-kpi-due {
    border-color: #fecaca !important;
    background: #fffafa !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-mobile-kpi .msm-ledger-kpi-card .msm-ledger-kpi-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--msm-muted, #64748b) !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-mobile-kpi .msm-ledger-kpi-card .msm-ledger-kpi-val {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #1e293b) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-report__recipient,
  body.msm-legacy-modern .msm-contact-ledger-report__summary {
    width: 100% !important;
    float: none !important;
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 14px !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-report__recipient h3,
  body.msm-legacy-modern .msm-contact-ledger-report__summary h3 {
    text-align: left !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-report__recipient small,
  body.msm-legacy-modern .msm-contact-ledger-report__summary small {
    display: block !important;
    text-align: left !important;
  }
  body.msm-legacy-modern .msm-contact-ledger-summary-table {
    width: 100% !important;
    margin-top: 8px !important;
  }
  body.msm-legacy-modern .msm-purchase-payment-card,
  body.msm-legacy-modern .msm-purchase-create-card:last-of-type,
  body.msm-legacy-modern section.content:has(#add_purchase_form) {
    margin-bottom: 85px !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1040 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2 !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-total-line {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-total-line .msm-purchase-sticky-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--msm-muted, #64748b) !important;
    text-transform: uppercase !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-total-line .msm-purchase-sticky-amount {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--msm-primary, #047857) !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-summary .msm-purchase-sticky-items-line {
    font-size: 12px !important;
    color: var(--msm-muted, #64748b) !important;
    font-weight: 500 !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-btn {
    min-height: 44px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    background: var(--msm-primary, #047857) !important;
    color: #ffffff !important;
    border: none !important;
    gap: 8px !important;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3) !important;
    transition: transform 0.15s ease !important;
  }
  body.msm-legacy-modern .msm-purchase-sticky-bar .msm-purchase-sticky-btn:active {
    transform: scale(0.97) !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .main-footer,
  .main-footer {
    display: none !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern table#stock_transfer_table,
  body.msm-legacy-modern table#stock_transfers_table,
  body.msm-legacy-modern #stock_transfer_table,
  body.msm-legacy-modern #stock_transfers_table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  body.msm-legacy-modern table#stock_transfer_table thead,
  body.msm-legacy-modern table#stock_transfers_table thead,
  body.msm-legacy-modern #stock_transfer_table thead,
  body.msm-legacy-modern #stock_transfers_table thead {
    order: 0 !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody,
  body.msm-legacy-modern table#stock_transfers_table tbody,
  body.msm-legacy-modern #stock_transfer_table tbody,
  body.msm-legacy-modern #stock_transfers_table tbody {
    order: 1 !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tfoot,
  body.msm-legacy-modern table#stock_transfers_table tfoot,
  body.msm-legacy-modern #stock_transfer_table tfoot,
  body.msm-legacy-modern #stock_transfers_table tfoot {
    order: 2 !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern table#stock_transfer_table tbody:has(.dataTables_empty) ~ tfoot, body.msm-legacy-modern table#stock_transfer_table:has(.dataTables_empty) > tfoot, body.msm-legacy-modern table#stock_transfer_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern table#stock_transfers_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern table#stock_transfers_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern table#stock_transfers_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern table#stock_transfers_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern #stock_transfer_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern #stock_transfer_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern #stock_transfer_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern #stock_transfer_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern #stock_transfers_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern #stock_transfers_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern #stock_transfers_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern #stock_transfers_table:has(tbody .dataTables_empty) > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr,
  body.msm-legacy-modern #stock_transfer_table tbody > tr,
  body.msm-legacy-modern #stock_transfers_table tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding: 14px 14px 12px 14px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 12px !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr > td,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr > td,
  body.msm-legacy-modern #stock_transfer_table tbody > tr > td,
  body.msm-legacy-modern #stock_transfers_table tbody > tr > td {
    background: transparent !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(2),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(2),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(2),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(2) {
    order: 1 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(2)::before,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(2)::before,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(2)::before,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(2)::before {
    content: "🔄 Ref: ";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-right: 2px !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) {
    position: static !important;
    top: auto !important;
    right: auto !important;
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: fit-content !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5)::before,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5)::before,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5)::before,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5)::before {
    content: "Status:";
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--msm-muted, #64748b) !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) a.stock_transfer_status,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) a.stock_transfer_status,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) a.stock_transfer_status,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) a.stock_transfer_status {
    text-decoration: none !important;
    display: inline-flex !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) .label,
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) span,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) .label,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) span,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) .label,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) span,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) .label,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) span {
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    padding: 2px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    letter-spacing: 0.2px !important;
    text-transform: capitalize !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) .label.bg-green,
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) span.bg-green,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) .label.bg-green,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) span.bg-green,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) .label.bg-green,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) span.bg-green,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) .label.bg-green,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) span.bg-green {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) .label.bg-yellow,
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) span.bg-yellow,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) .label.bg-yellow,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) span.bg-yellow,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) .label.bg-yellow,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) span.bg-yellow,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) .label.bg-yellow,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) span.bg-yellow {
    background: #fffbeb !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) .label.bg-red,
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) span.bg-red,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) .label.bg-red,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) span.bg-red,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) .label.bg-red,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) span.bg-red,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) .label.bg-red,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) span.bg-red {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) .label.bg-gray,
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(5) span.bg-gray,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) .label.bg-gray,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(5) span.bg-gray,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) .label.bg-gray,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(5) span.bg-gray,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) .label.bg-gray,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(5) span.bg-gray {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(1),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(1),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(1),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(1) {
    font-size: 11.5px !important;
    color: var(--msm-muted, #64748b) !important;
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(1)::before,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(1)::before,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(1)::before,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(1)::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: var(--msm-muted, #94a3b8) !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(3),
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(4),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(3),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(4),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(3),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(4),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(3),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(4) {
    order: 4 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    line-height: 1.3 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    margin-top: 2px !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(3),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(3),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(3),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(3) {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(3)::before,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(3)::before,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(3)::before,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(3)::before {
    content: "📍 ";
    font-size: 11px !important;
    margin-right: 3px !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(4),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(4),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(4),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(4) {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(4)::before,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(4)::before,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(4)::before,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(4)::before {
    content: "➔ ";
    font-size: 12px !important;
    font-weight: 900 !important;
    color: #2563eb !important;
    margin-right: 4px !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(6),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(6),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(6),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(6) {
    order: 5 !important;
    font-size: 12px !important;
    color: var(--msm-muted, #64748b) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(6)::before,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(6)::before,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(6)::before,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(6)::before {
    content: "Shipping: ";
    font-weight: 600;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(7),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(7),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(7),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(7) {
    order: 6 !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    color: var(--msm-primary, #2563eb) !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    padding-top: 8px !important;
    margin-top: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(7)::before,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(7)::before,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(7)::before,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(7)::before {
    content: "Total Amount:";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #0f172a) !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(8),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(8),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(8),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(8) {
    order: 7 !important;
    font-size: 11.5px !important;
    color: var(--msm-muted, #64748b) !important;
    font-style: italic !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(8):empty,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(8):empty,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(8):empty,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(8):empty {
    display: none !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(9),
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(9),
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(9),
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(9) {
    order: 10 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    border-top: 1px solid var(--msm-border, #f1f5f9) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(9) .btn,
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(9) a.btn,
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(9) button.btn,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(9) .btn,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(9) a.btn,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(9) button.btn,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(9) .btn,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(9) a.btn,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(9) button.btn,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(9) .btn,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(9) a.btn,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(9) button.btn {
    min-height: 34px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(9) .print-invoice,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(9) .print-invoice,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(9) .print-invoice,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(9) .print-invoice {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(9) .btn-group,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(9) .btn-group,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(9) .btn-group,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(9) .btn-group {
    position: static !important;
    display: inline-flex !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern table#stock_transfer_table tbody > tr td:nth-of-type(9) .btn-group .dropdown-toggle,
  body.msm-legacy-modern table#stock_transfers_table tbody > tr td:nth-of-type(9) .btn-group .dropdown-toggle,
  body.msm-legacy-modern #stock_transfer_table tbody > tr td:nth-of-type(9) .btn-group .dropdown-toggle,
  body.msm-legacy-modern #stock_transfers_table tbody > tr td:nth-of-type(9) .btn-group .dropdown-toggle {
    min-height: 34px !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table,
  body.msm-legacy-modern #stock_adjustment_table {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table thead,
  body.msm-legacy-modern #stock_adjustment_table thead {
    order: 0 !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody,
  body.msm-legacy-modern #stock_adjustment_table tbody {
    order: 1 !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tfoot,
  body.msm-legacy-modern #stock_adjustment_table tfoot {
    order: 2 !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern table#stock_adjustment_table tbody:has(.dataTables_empty) ~ tfoot, body.msm-legacy-modern table#stock_adjustment_table:has(.dataTables_empty) > tfoot, body.msm-legacy-modern table#stock_adjustment_table:has(tbody .dataTables_empty) > tfoot,
  body.msm-legacy-modern #stock_adjustment_table tfoot:has(.dataTables_empty),
  body.msm-legacy-modern #stock_adjustment_table tbody:has(.dataTables_empty) ~ tfoot,
  body.msm-legacy-modern #stock_adjustment_table:has(.dataTables_empty) > tfoot,
  body.msm-legacy-modern #stock_adjustment_table:has(tbody .dataTables_empty) > tfoot {
    display: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding: 14px 14px 12px 14px !important;
    gap: 8px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 12px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr > td,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr > td {
    background: transparent !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(3),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(3) {
    order: 1 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--msm-text, #0f172a) !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(3)::before,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(3)::before {
    content: "⚖️ Ref: ";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-right: 2px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(5),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(5) {
    order: 2 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: fit-content !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(5)::before,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(5)::before {
    content: "Type:";
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--msm-muted, #64748b) !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(5) .label,
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(5) span,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(5) .label,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(5) span {
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    padding: 2px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    letter-spacing: 0.2px !important;
    text-transform: capitalize !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(2),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(2) {
    font-size: 11.5px !important;
    color: var(--msm-muted, #64748b) !important;
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(2)::before,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(2)::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: var(--msm-muted, #94a3b8) !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(4),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(4) {
    order: 4 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--msm-text-soft, #334155) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(4)::before,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(4)::before {
    content: "\f041  Location: ";
    font-family: "Font Awesome 5 Free", -apple-system, sans-serif !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: #64748b !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(6),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(6) {
    order: 5 !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    color: var(--msm-danger, #ef4444) !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    padding-top: 8px !important;
    margin-top: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(6)::before,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(6)::before {
    content: "Adjustment Total:";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--msm-text, #0f172a) !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(7),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(7) {
    order: 6 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--msm-success, #16a34a) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(7)::before,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(7)::before {
    content: "Recovered: ";
    font-weight: 600;
    color: #64748b;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(8),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(8) {
    order: 7 !important;
    font-size: 11.5px !important;
    color: var(--msm-muted, #64748b) !important;
    font-style: italic !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(8):empty,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(8):empty {
    display: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(9),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(9) {
    order: 8 !important;
    font-size: 11px !important;
    color: var(--msm-muted, #94a3b8) !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(9)::before,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(9)::before {
    content: "By: ";
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(1),
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(1) {
    order: 10 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    border-top: 1px solid var(--msm-border, #f1f5f9) !important;
    padding-top: 10px !important;
    margin-top: 4px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(1) .btn,
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(1) a.btn,
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(1) button.btn,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(1) .btn,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(1) a.btn,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(1) button.btn {
    min-height: 34px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(1) .btn-group,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(1) .btn-group {
    position: static !important;
    display: inline-flex !important;
    margin: 0 !important;
  }
  body.msm-legacy-modern table#stock_adjustment_table tbody > tr td:nth-of-type(1) .btn-group .dropdown-toggle,
  body.msm-legacy-modern #stock_adjustment_table tbody > tr td:nth-of-type(1) .btn-group .dropdown-toggle {
    min-height: 34px !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table {
    width: 100% !important;
    display: block !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table thead {
    display: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--msm-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 14px 48px 12px 14px !important;
    gap: 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(1) {
    border: none !important;
    padding: 0 45px 0 0 !important;
    font-size: 14.5px !important;
    font-weight: 750 !important;
    color: var(--msm-text, #0f172a) !important;
    line-height: 1.3 !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(5) {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    padding: 0 !important;
    border: none !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(5) i.remove_product_row {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    background: #fee2e2 !important;
    color: #ef4444 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(5) i.remove_product_row:hover {
    background: #fecaca !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(2) {
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(2)::before {
    content: "Quantity:";
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: var(--msm-text-soft, #334155) !important;
    min-width: 60px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(2) input.product_quantity {
    max-width: 140px !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: 16px !important;
    font-weight: 750 !important;
    text-align: center !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(3) {
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(3)::before {
    content: "Unit Price:";
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: var(--msm-text-soft, #334155) !important;
    min-width: 60px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(3) input.product_unit_price {
    max-width: 140px !important;
    height: 38px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(4) {
    border: none !important;
    border-top: 1px dashed var(--msm-border, #e2e8f0) !important;
    padding-top: 8px !important;
    margin-top: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(4)::before {
    content: "Line Subtotal:";
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--msm-muted, #64748b) !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tbody > tr.product_row > td:nth-of-type(4) input.product_line_total {
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    color: var(--msm-primary, #2563eb) !important;
    text-align: right !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 140px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tfoot {
    display: block !important;
    margin-top: 8px !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tfoot tr {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tfoot tr td {
    border: none !important;
    padding: 8px 0 !important;
    width: 100% !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tfoot tr td .pull-right {
    float: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 14px !important;
    color: var(--msm-text) !important;
  }
  body.msm-legacy-modern table#stock_adjustment_product_table tfoot tr td .pull-right #total_adjustment {
    font-size: 17px !important;
    font-weight: 850 !important;
    color: var(--msm-primary) !important;
  }
  body.msm-legacy-modern form#stock_transfer_form,
  body.msm-legacy-modern form#stock_adjustment_form {
    padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_transfer),
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_adjustment),
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_transfer),
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_adjustment) {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1040 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--msm-border, #e2e8f0) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_transfer) .col-md-12.text-right,
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_adjustment) .col-md-12.text-right,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_transfer) .col-md-12.text-right,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_adjustment) .col-md-12.text-right {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    padding: 0 !important;
    font-size: 11px !important;
    color: var(--msm-muted) !important;
    text-transform: uppercase !important;
  }
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_transfer) .col-md-12.text-right b,
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_adjustment) .col-md-12.text-right b,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_transfer) .col-md-12.text-right b,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_adjustment) .col-md-12.text-right b {
    display: block !important;
    font-size: 11px !important;
  }
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_transfer) .col-md-12.text-right span,
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_adjustment) .col-md-12.text-right span,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_transfer) .col-md-12.text-right span,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_adjustment) .col-md-12.text-right span {
    font-size: 18px !important;
    font-weight: 850 !important;
    color: var(--msm-primary) !important;
  }
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_transfer) .col-sm-12,
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_adjustment) .col-sm-12,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_transfer) .col-sm-12,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_adjustment) .col-sm-12 {
    padding: 0 !important;
    flex: 1 1 auto !important;
  }
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_transfer) .col-sm-12 button,
  body.msm-legacy-modern form#stock_transfer_form .row:has(#save_stock_adjustment) .col-sm-12 button,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_transfer) .col-sm-12 button,
  body.msm-legacy-modern form#stock_adjustment_form .row:has(#save_stock_adjustment) .col-sm-12 button {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
  }
}
body.msm-legacy-modern .modal-dialog,
body.msm-legacy-modern .modal-dialog.modal-xl,
body.msm-legacy-modern .modal-dialog.modal-lg,
body.msm-legacy-modern .view_modal .modal-dialog,
body.msm-legacy-modern .payment_modal .modal-dialog,
body.msm-legacy-modern .product_modal .modal-dialog,
body.msm-legacy-modern .contact_modal .modal-dialog,
body.msm-legacy-modern .quick_add_modal .modal-dialog {
  width: 95vw !important;
  max-width: 1380px !important;
  margin: 20px auto !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
}
@media (min-width: 1600px) {
  body.msm-legacy-modern .modal-dialog,
  body.msm-legacy-modern .modal-dialog.modal-xl,
  body.msm-legacy-modern .modal-dialog.modal-lg,
  body.msm-legacy-modern .view_modal .modal-dialog,
  body.msm-legacy-modern .payment_modal .modal-dialog,
  body.msm-legacy-modern .product_modal .modal-dialog,
  body.msm-legacy-modern .contact_modal .modal-dialog,
  body.msm-legacy-modern .quick_add_modal .modal-dialog {
    max-width: 1540px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  body.msm-legacy-modern .modal-dialog,
  body.msm-legacy-modern .modal-dialog.modal-xl,
  body.msm-legacy-modern .modal-dialog.modal-lg,
  body.msm-legacy-modern .view_modal .modal-dialog,
  body.msm-legacy-modern .payment_modal .modal-dialog,
  body.msm-legacy-modern .product_modal .modal-dialog,
  body.msm-legacy-modern .contact_modal .modal-dialog,
  body.msm-legacy-modern .quick_add_modal .modal-dialog {
    max-width: 1360px !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  body.msm-legacy-modern .modal-dialog,
  body.msm-legacy-modern .modal-dialog.modal-xl,
  body.msm-legacy-modern .modal-dialog.modal-lg,
  body.msm-legacy-modern .view_modal .modal-dialog,
  body.msm-legacy-modern .payment_modal .modal-dialog,
  body.msm-legacy-modern .product_modal .modal-dialog,
  body.msm-legacy-modern .contact_modal .modal-dialog,
  body.msm-legacy-modern .quick_add_modal .modal-dialog {
    width: 96vw !important;
    max-width: 1140px !important;
    margin: 16px auto !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  body.msm-legacy-modern .modal-dialog,
  body.msm-legacy-modern .modal-dialog.modal-xl,
  body.msm-legacy-modern .modal-dialog.modal-lg,
  body.msm-legacy-modern .view_modal .modal-dialog,
  body.msm-legacy-modern .payment_modal .modal-dialog,
  body.msm-legacy-modern .product_modal .modal-dialog,
  body.msm-legacy-modern .contact_modal .modal-dialog,
  body.msm-legacy-modern .quick_add_modal .modal-dialog {
    width: 96vw !important;
    max-width: 96vw !important;
    margin: 12px auto !important;
  }
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-dialog,
  body.msm-legacy-modern .modal-dialog.modal-xl,
  body.msm-legacy-modern .modal-dialog.modal-lg,
  body.msm-legacy-modern .view_modal .modal-dialog,
  body.msm-legacy-modern .payment_modal .modal-dialog,
  body.msm-legacy-modern .product_modal .modal-dialog,
  body.msm-legacy-modern .contact_modal .modal-dialog,
  body.msm-legacy-modern .quick_add_modal .modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 0 !important;
    z-index: 1050 !important;
    display: flex !important;
    flex-direction: column !important;
  }
}
body.msm-legacy-modern .modal-dialog.modal-sm,
body.msm-legacy-modern .modal-dialog.msm-modal-compact {
  max-width: 540px !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-dialog.modal-sm,
  body.msm-legacy-modern .modal-dialog.msm-modal-compact {
    max-width: 100% !important;
  }
}
body.msm-legacy-modern .modal-content {
  border-radius: 16px !important;
  border: 1px solid var(--msm-border, #e2e8f0) !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18) !important;
  background: var(--msm-bg-card, #ffffff) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  max-height: calc(96vh - 20px) !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-content {
    border-radius: 0 !important;
    height: 100% !important;
    max-height: 100dvh !important;
    border: none !important;
    box-shadow: none !important;
  }
}
body.msm-legacy-modern .modal-header {
  padding: 16px 24px !important;
  border-bottom: 1px solid var(--msm-border, #e2e8f0) !important;
  background: var(--msm-bg-card, #ffffff) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  flex: 0 0 auto !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-header {
    padding: 12px 16px !important;
  }
}
body.msm-legacy-modern .modal-header .modal-title-wrap,
body.msm-legacy-modern .modal-header .msm-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 44px;
}
body.msm-legacy-modern .modal-header .modal-title {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: var(--msm-text, #0f172a) !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-header .modal-title {
    font-size: 16.5px !important;
  }
}
body.msm-legacy-modern .modal-header .modal-title .badge, body.msm-legacy-modern .modal-header .modal-title .label {
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
}
body.msm-legacy-modern .modal-header .msm-product-chips-header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body.msm-legacy-modern .modal-header .msm-product-chips-header .msm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  line-height: 1.25;
}
body.msm-legacy-modern .modal-header .msm-product-chips-header .msm-chip.msm-chip-sku {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}
body.msm-legacy-modern .modal-header .msm-product-chips-header .msm-chip.msm-chip-category {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
body.msm-legacy-modern .modal-header .msm-product-chips-header .msm-chip.msm-chip-brand {
  background: #f8fafc;
  color: #475569;
}
body.msm-legacy-modern .modal-header .msm-product-chips-header .msm-chip.msm-chip-type {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}
body.msm-legacy-modern .modal-header .close {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #475569 !important;
  opacity: 0.85 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  position: absolute !important;
  top: 14px !important;
  right: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.15s ease !important;
  text-shadow: none !important;
}
body.msm-legacy-modern .modal-header .close:hover, body.msm-legacy-modern .modal-header .close:focus {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  opacity: 1 !important;
  transform: scale(1.04);
}
body.msm-legacy-modern .modal-body {
  padding: 20px 24px !important;
  background: #f8fafc !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  max-height: calc(90vh - 130px) !important;
  -webkit-overflow-scrolling: touch !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-body {
    padding: 12px 14px !important;
    max-height: none !important;
  }
}
body.msm-legacy-modern .modal-body .well {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  padding: 14px 18px !important;
  margin-bottom: 14px !important;
  color: #334155 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}
body.msm-legacy-modern .modal-body .well strong, body.msm-legacy-modern .modal-body .well b {
  color: #0f172a !important;
  font-weight: 700 !important;
}
body.msm-legacy-modern .modal-body .invoice-info {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}
body.msm-legacy-modern .modal-body .invoice-info .invoice-col {
  flex: 1 1 calc(33.333% - 10px) !important;
  min-width: 240px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #334155 !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-body .invoice-info .invoice-col {
    flex: 1 1 100% !important;
    min-width: 100% !important;
  }
}
body.msm-legacy-modern .modal-body .invoice-info .invoice-col b, body.msm-legacy-modern .modal-body .invoice-info .invoice-col strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}
body.msm-legacy-modern .modal-body .invoice-info .invoice-col address {
  margin-bottom: 0 !important;
  font-style: normal !important;
  line-height: 1.55 !important;
}
body.msm-legacy-modern .modal-body .table-responsive {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background: #ffffff !important;
  margin-bottom: 14px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}
body.msm-legacy-modern .modal-body table.table {
  margin-bottom: 0 !important;
  background: #ffffff !important;
  border-collapse: collapse !important;
  width: 100% !important;
  table-layout: auto !important;
}
body.msm-legacy-modern .modal-body table.table tr.bg-green,
body.msm-legacy-modern .modal-body table.table thead tr.bg-green,
body.msm-legacy-modern .modal-body table.table thead tr.bg-gray,
body.msm-legacy-modern .modal-body table.table tr.bg-gray,
body.msm-legacy-modern .modal-body table.table thead th {
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  border-top: none !important;
  border-bottom: 2px solid #e2e8f0 !important;
  padding: 11px 13px !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  vertical-align: middle !important;
}
body.msm-legacy-modern .modal-body table.table tbody tr {
  background: #ffffff !important;
  transition: background 0.1s ease !important;
}
body.msm-legacy-modern .modal-body table.table tbody tr:nth-child(even) {
  background: #fbfcfe !important;
}
body.msm-legacy-modern .modal-body table.table tbody tr:hover {
  background: #f1f5f9 !important;
}
body.msm-legacy-modern .modal-body table.table tbody tr td {
  padding: 10px 13px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border-top: 1px solid #f1f5f9 !important;
  white-space: normal !important;
  vertical-align: middle !important;
}
body.msm-legacy-modern .modal-body table.table tbody tr td .display_currency {
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}
body.msm-legacy-modern .modal-footer {
  padding: 14px 24px !important;
  background: var(--msm-bg-card, #ffffff) !important;
  border-top: 1px solid var(--msm-border, #e2e8f0) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex: 0 0 auto !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-footer {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
body.msm-legacy-modern .modal-footer .btn {
  min-height: 40px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  transition: all 0.15s ease !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .modal-footer .btn {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 10px !important;
  }
}
body.msm-legacy-modern .modal-footer .btn-primary {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22) !important;
}
body.msm-legacy-modern .modal-footer .btn-primary:hover, body.msm-legacy-modern .modal-footer .btn-primary:focus, body.msm-legacy-modern .modal-footer .btn-primary:active {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
body.msm-legacy-modern .modal-footer .btn-default {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}
body.msm-legacy-modern .modal-footer .btn-default:hover, body.msm-legacy-modern .modal-footer .btn-default:focus {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}
body.msm-legacy-modern .msm-modal-card-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}
body.msm-legacy-modern .msm-modal-card-section .msm-modal-section-title {
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
body.msm-legacy-modern .msm-modal-card-section .msm-modal-section-title i {
  color: #2563eb !important;
}
body.msm-legacy-modern .msm-modal-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-modal-stat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
}
body.msm-legacy-modern .msm-modal-stat-grid .msm-stat-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
body.msm-legacy-modern .msm-modal-stat-grid .msm-stat-box .msm-stat-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
}
body.msm-legacy-modern .msm-modal-stat-grid .msm-stat-box .msm-stat-val {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  word-break: break-word !important;
}
@media (max-width: 767px) {
  body.msm-legacy-modern .msm-modal-stat-grid .msm-stat-box .msm-stat-val {
    font-size: 12.5px !important;
  }
}

body.msm-legacy-modern.dark-mode .modal-content {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5) !important;
}
body.msm-legacy-modern.dark-mode .modal-header {
  background: #1e293b !important;
  border-bottom-color: #334155 !important;
}
body.msm-legacy-modern.dark-mode .modal-header .modal-title {
  color: #f8fafc !important;
}
body.msm-legacy-modern.dark-mode .modal-header .close {
  background: #334155 !important;
  border-color: #475569 !important;
  color: #cbd5e1 !important;
}
body.msm-legacy-modern.dark-mode .modal-header .close:hover {
  background: #475569 !important;
  color: #ffffff !important;
}
body.msm-legacy-modern.dark-mode .modal-body {
  background: #0f172a !important;
}
body.msm-legacy-modern.dark-mode .modal-body .well,
body.msm-legacy-modern.dark-mode .modal-body .invoice-info .invoice-col,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-card-section,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-stat-grid .msm-stat-box {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}
body.msm-legacy-modern.dark-mode .modal-body .well b, body.msm-legacy-modern.dark-mode .modal-body .well strong, body.msm-legacy-modern.dark-mode .modal-body .well .msm-modal-section-title, body.msm-legacy-modern.dark-mode .modal-body .well .msm-stat-val,
body.msm-legacy-modern.dark-mode .modal-body .invoice-info .invoice-col b,
body.msm-legacy-modern.dark-mode .modal-body .invoice-info .invoice-col strong,
body.msm-legacy-modern.dark-mode .modal-body .invoice-info .invoice-col .msm-modal-section-title,
body.msm-legacy-modern.dark-mode .modal-body .invoice-info .invoice-col .msm-stat-val,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-card-section b,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-card-section strong,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-card-section .msm-modal-section-title,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-card-section .msm-stat-val,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-stat-grid .msm-stat-box b,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-stat-grid .msm-stat-box strong,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-stat-grid .msm-stat-box .msm-modal-section-title,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-stat-grid .msm-stat-box .msm-stat-val {
  color: #f8fafc !important;
}
body.msm-legacy-modern.dark-mode .modal-body .well .msm-stat-label,
body.msm-legacy-modern.dark-mode .modal-body .invoice-info .invoice-col .msm-stat-label,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-card-section .msm-stat-label,
body.msm-legacy-modern.dark-mode .modal-body .msm-modal-stat-grid .msm-stat-box .msm-stat-label {
  color: #94a3b8 !important;
}
body.msm-legacy-modern.dark-mode .modal-body .table-responsive {
  border-color: #334155 !important;
  background: #1e293b !important;
}
body.msm-legacy-modern.dark-mode .modal-body table.table {
  background: #1e293b !important;
}
body.msm-legacy-modern.dark-mode .modal-body table.table tr.bg-green, body.msm-legacy-modern.dark-mode .modal-body table.table thead tr.bg-green, body.msm-legacy-modern.dark-mode .modal-body table.table thead tr.bg-gray, body.msm-legacy-modern.dark-mode .modal-body table.table tr.bg-gray, body.msm-legacy-modern.dark-mode .modal-body table.table thead th {
  background: #0f172a !important;
  color: #cbd5e1 !important;
  border-bottom-color: #334155 !important;
}
body.msm-legacy-modern.dark-mode .modal-body table.table tbody tr {
  background: #1e293b !important;
}
body.msm-legacy-modern.dark-mode .modal-body table.table tbody tr:nth-child(even) {
  background: #172033 !important;
}
body.msm-legacy-modern.dark-mode .modal-body table.table tbody tr:hover {
  background: #25334d !important;
}
body.msm-legacy-modern.dark-mode .modal-body table.table tbody tr td {
  color: #e2e8f0 !important;
  border-top-color: #27354f !important;
}
body.msm-legacy-modern.dark-mode .modal-body table.table tbody tr td .display_currency {
  color: #38bdf8 !important;
}
body.msm-legacy-modern.dark-mode .modal-footer {
  background: #1e293b !important;
  border-top-color: #334155 !important;
}
body.msm-legacy-modern.dark-mode .modal-footer .btn-default {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #cbd5e1 !important;
}
body.msm-legacy-modern.dark-mode .modal-footer .btn-default:hover {
  background: #334155 !important;
  color: #ffffff !important;
}

body.msm-legacy-modern .content-wrapper {
  overflow-x: hidden;
}

body.msm-legacy-modern .content-wrapper .label,
body.msm-legacy-modern .content-wrapper .badge,
body.msm-legacy-modern .modal .label,
body.msm-legacy-modern .modal .badge {
  align-items: center;
  border-radius: 5px;
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 700;
  gap: 4px;
  line-height: 1.2;
  max-width: 100%;
  min-height: 22px;
  overflow-wrap: anywhere;
  padding: 3px 7px;
  text-align: left;
  white-space: normal;
}

body.msm-legacy-modern .content-wrapper .btn,
body.msm-legacy-modern .modal .btn {
  white-space: normal;
}

body.msm-legacy-modern .content-wrapper small,
body.msm-legacy-modern .content-wrapper .help-block,
body.msm-legacy-modern .content-wrapper .text-muted,
body.msm-legacy-modern .modal small,
body.msm-legacy-modern .modal .help-block,
body.msm-legacy-modern .modal .text-muted {
  font-size: 12px;
  line-height: 1.4;
}

body.msm-legacy-modern .content-wrapper .btn-xs,
body.msm-legacy-modern .modal .btn-xs {
  font-size: 11.5px;
  line-height: 1.2;
}

body.msm-legacy-modern .modal .modal-content {
  max-width: calc(100vw - 24px);
}

body.msm-legacy-modern .modal .modal-body {
  overscroll-behavior: contain;
}

body.msm-legacy-modern #sell_form,
body.msm-legacy-modern #add_pos_sell_form,
body.msm-legacy-modern #edit_pos_sell_form {
  min-width: 0;
}

@media (min-width: 768px) {
  body.msm-legacy-modern #pos_table {
    min-width: 720px;
  }
}
body.msm-legacy-modern #pos_table th,
body.msm-legacy-modern #pos_table td {
  vertical-align: middle;
}

/*# sourceMappingURL=msm-modern.css.map */
