/*
 * Enterprise workbench visual layer.
 * This file changes presentation and UI state only. Existing PHP routes,
 * form contracts, permissions, AJAX calls, and business handlers remain owned
 * by the original templates and scripts.
 */

body.admin-enterprise-workbench {
  --workbench-rail-width: 64px;
  --workbench-sidebar-width: 248px;
  --workbench-header-height: 56px;
  --workbench-sidebar-head-height: 86px;
  --workbench-navy-950: #06172d;
  --workbench-navy-900: #08213f;
  --workbench-navy-800: #0b315d;
  --workbench-sidebar-bg: #071c38;
  --workbench-sidebar-bg-soft: #0b274a;
  --workbench-sidebar-border: rgba(167, 190, 216, 0.2);
  --workbench-sidebar-text: #edf4fb;
  --workbench-sidebar-muted: #9fb2c8;
  --workbench-blue-700: #0b4f93;
  --workbench-blue-600: #1265b3;
  --workbench-blue-100: #e7f0fa;
  --workbench-blue-50: #f2f7fc;
  --workbench-white: #ffffff;
  --workbench-canvas: #f5f7fa;
  --workbench-surface-soft: #f8fafc;
  --workbench-border: #dfe5ec;
  --workbench-border-strong: #cbd5e1;
  --workbench-text: #243244;
  --workbench-heading: #101d2e;
  --workbench-muted: #66758a;
  --workbench-success: #18764b;
  --workbench-warning: #a66308;
  --workbench-danger: #b73535;
  --workbench-radius: 5px;
  --admin-sidebar-width: var(--workbench-sidebar-width);
  --admin-rail-width: var(--workbench-rail-width);
  min-width: 320px;
  overflow-x: hidden;
  color: var(--workbench-text);
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  background: var(--workbench-canvas);
}

.admin-enterprise-workbench *,
.admin-enterprise-workbench *::before,
.admin-enterprise-workbench *::after {
  letter-spacing: 0;
}

.admin-enterprise-workbench #page-container,
.admin-enterprise-workbench #main-container {
  background: var(--workbench-canvas);
}

.admin-enterprise-workbench #page-container {
  min-height: 100vh;
}

/* Unified enterprise sidebar */

.admin-enterprise-workbench #sidebar {
  width: var(--workbench-sidebar-width) !important;
  color: var(--workbench-sidebar-text);
  background: var(--workbench-sidebar-bg) !important;
  border-right: 1px solid var(--workbench-sidebar-border);
  box-shadow: 4px 0 18px rgba(3, 18, 37, 0.14) !important;
}

.admin-enterprise-workbench #sidebar-scroll,
.admin-enterprise-workbench #sidebar .sidebar-content {
  width: 100% !important;
  height: 100%;
  color: var(--workbench-sidebar-text);
  background: var(--workbench-sidebar-bg) !important;
  overflow: hidden;
}

.admin-enterprise-workbench #sidebar .sidebar-content {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-head {
  position: relative;
  display: flex !important;
  width: 100%;
  height: var(--workbench-sidebar-head-height) !important;
  min-height: var(--workbench-sidebar-head-height) !important;
  padding: 0 20px !important;
  align-items: center;
  background: #061831 !important;
  border: 0;
  border-bottom: 1px solid var(--workbench-sidebar-border);
  box-shadow: none;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-brand {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 13px;
  color: #ffffff;
  text-decoration: none;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-brand:hover,
.admin-enterprise-workbench #sidebar .admin-sidebar-brand:focus-visible {
  color: #ffffff;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-brand:focus-visible {
  outline: 2px solid rgba(157, 207, 250, 0.86);
  outline-offset: 3px;
  border-radius: 4px;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-brand .logo {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 6px;
  object-fit: contain;
  background: var(--workbench-white);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 5px;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-brand-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-brand-copy strong,
.admin-enterprise-workbench #sidebar .admin-sidebar-brand-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-brand-copy strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-brand-copy small {
  color: #aebfd2;
  font-size: 12px;
  font-weight: 550;
  line-height: 17px;
}

.admin-enterprise-workbench #sidebar .admin-sidebar-mobile-close {
  position: absolute;
  top: 11px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #dce8f5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(187, 207, 228, 0.22);
  border-radius: 4px !important;
}

.admin-enterprise-workbench #sidebar .content-side {
  flex: 1 1 auto;
  width: 100%;
  height: calc(100vh - var(--workbench-sidebar-head-height)) !important;
  min-height: 0;
  padding: 0 !important;
  background: var(--workbench-sidebar-bg);
}

.admin-enterprise-workbench #sidebar .admin-sidebar-navigation {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 52px;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--workbench-sidebar-bg) !important;
}

.admin-enterprise-workbench #sidebar .admin-nav-context {
  display: block !important;
  grid-row: 1;
  width: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--workbench-sidebar-text);
  background: transparent !important;
  border: 0;
  scrollbar-color: #526b87 transparent;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.admin-enterprise-workbench #sidebar .admin-nav-context::-webkit-scrollbar {
  width: 5px;
}

.admin-enterprise-workbench #sidebar .admin-nav-context::-webkit-scrollbar-thumb {
  background: #526b87;
  border-radius: 3px;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main {
  width: 100%;
  margin: 0;
  padding: 10px 10px 20px;
  color: var(--workbench-sidebar-text);
  list-style: none;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main-heading {
  display: flex !important;
  width: auto;
  margin: 0;
  padding: 17px 10px 8px;
  color: var(--workbench-sidebar-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  align-items: center;
  gap: 10px;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main-heading::after {
  height: 1px;
  min-width: 0;
  flex: 1 1 auto;
  content: "";
  background: rgba(159, 178, 200, 0.3);
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li {
  width: 100%;
  margin: 0;
  padding: 0;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a {
  position: relative;
  display: flex !important;
  width: 100%;
  min-height: 48px;
  margin: 2px 0;
  padding: 0 12px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  overflow: hidden;
  color: #d9e5f2;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent !important;
  border-radius: 4px;
  box-shadow: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a::before,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a::after,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a.nav-submenu::before,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a.nav-submenu::after {
  display: none !important;
  content: none !important;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .admin-nav-icon {
  position: static;
  display: inline-flex;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  color: #c6d6e8;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  transform: none;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a > span {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .admin-nav-chevron {
  position: static;
  display: inline-flex;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0 0 0 auto;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  color: #96abc2;
  font-size: 11px;
  line-height: 1;
  transition: color 150ms ease, transform 150ms ease;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main ul {
  width: auto;
  margin: 0 2px 6px;
  padding: 5px 7px 8px 42px !important;
  background: rgba(22, 53, 91, 0.72);
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li:not(.open) > ul {
  display: none !important;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li.open > ul {
  display: block !important;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main ul > li {
  margin: 0;
  padding: 0;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main ul a {
  display: flex;
  min-height: 36px;
  margin: 1px 0;
  padding: 8px;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  color: #b8c9dc;
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 3px;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main ul a > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .admin-submenu-dot {
  position: static;
  display: inline-flex;
  width: 7px;
  height: 7px;
  min-width: 7px;
  margin: 0;
  flex: 0 0 7px;
  align-items: center;
  justify-content: center;
  color: #c5d6e8;
  font-size: 7px;
  line-height: 1;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main ul a.active .admin-submenu-dot {
  color: #58a2f0;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a:hover,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a:focus-visible,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main ul a:hover,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main ul a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(198, 218, 238, 0.1) !important;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main a:focus-visible {
  outline: 2px solid rgba(157, 207, 250, 0.72);
  outline-offset: -2px;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a.active {
  color: #ffffff;
  font-weight: 700;
  background: #1760bd;
  border-color: #2d7ed5 !important;
  box-shadow: inset 3px 0 0 #a8d4ff;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a.active > span {
  color: #ffffff !important;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li > a.active .admin-nav-icon,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li.has-active > a .admin-nav-icon,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li.has-active > a .admin-nav-chevron,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li:has(> ul a.active) > a .admin-nav-icon,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li:has(> ul a.active) > a .admin-nav-chevron {
  color: #ffffff;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li.open > a.nav-submenu,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li.has-active > a.nav-submenu,
.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li:has(> ul a.active) > a.nav-submenu {
  color: #ffffff;
  background: rgba(26, 90, 160, 0.36);
  border-color: rgba(102, 167, 229, 0.28) !important;
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main > li.open > a .admin-nav-chevron {
  color: #ffffff;
  transform: rotate(180deg);
}

.admin-enterprise-workbench #sidebar .admin-nav-context .nav-main ul a.active {
  color: #ffffff;
  font-weight: 700;
  background: rgba(28, 113, 207, 0.46);
  box-shadow: inset 2px 0 0 #7fc2ff;
}

.admin-enterprise-workbench .admin-sidebar-footer {
  display: flex;
  grid-row: 2;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 10px;
  align-items: center;
  justify-content: flex-end;
  background: #061831;
  border-top: 1px solid var(--workbench-sidebar-border);
}

.admin-enterprise-workbench .admin-sidebar-collapse {
  display: inline-flex;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #d4e1ef;
  background: transparent;
  border: 1px solid rgba(174, 199, 224, 0.48);
  border-radius: 4px;
  box-shadow: none;
}

.admin-enterprise-workbench .admin-sidebar-collapse:hover,
.admin-enterprise-workbench .admin-sidebar-collapse:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(220, 234, 247, 0.76);
}

.admin-enterprise-workbench .admin-sidebar-collapse:focus-visible {
  outline: 2px solid rgba(157, 207, 250, 0.72);
  outline-offset: 1px;
}

/* Header command surface */

.admin-enterprise-workbench #page-header {
  min-height: var(--workbench-header-height) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid var(--workbench-border);
  box-shadow: none !important;
  backdrop-filter: none;
}

.admin-enterprise-workbench #page-header > .admin-header-layout {
  width: 100% !important;
  max-width: none !important;
  height: var(--workbench-header-height) !important;
  min-height: var(--workbench-header-height) !important;
  margin: 0 !important;
  padding: 0 18px !important;
  gap: 16px;
}

.admin-enterprise-workbench #page-header .admin-header-primary,
.admin-enterprise-workbench #page-header .admin-header-toolbar,
.admin-enterprise-workbench #page-header .admin-header-command-group,
.admin-enterprise-workbench #page-header .admin-header-communication {
  display: flex;
  min-width: 0;
  align-items: center;
}

.admin-enterprise-workbench #page-header .admin-header-primary {
  flex: 1 1 320px;
  gap: 10px;
  overflow: hidden;
}

.admin-enterprise-workbench #page-header .admin-sidebar-toggle {
  display: inline-flex;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #526177;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px !important;
  box-shadow: none;
}

.admin-enterprise-workbench #page-header .admin-sidebar-toggle i {
  margin: 0;
  font-size: 15px;
  line-height: 1;
}

.admin-enterprise-workbench #page-header .admin-sidebar-toggle:hover,
.admin-enterprise-workbench #page-header .admin-sidebar-toggle:focus-visible {
  color: var(--workbench-blue-700);
  background: var(--workbench-blue-50);
  border-color: #d7e3ef;
}

.admin-enterprise-workbench #page-header .admin-breadcrumb {
  display: flex;
  min-width: 0;
  height: 34px;
  margin: 0 !important;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.admin-enterprise-workbench #page-header .admin-breadcrumb small,
.admin-enterprise-workbench #page-header .admin-breadcrumb strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-enterprise-workbench #page-header .admin-breadcrumb small {
  color: #7a8798;
  font-weight: 500;
}

.admin-enterprise-workbench #page-header .admin-breadcrumb strong {
  color: var(--workbench-heading);
  font-weight: 700;
}

.admin-enterprise-workbench #page-header .admin-breadcrumb > i {
  color: #b2bcc8;
  font-size: 10px;
}

.admin-enterprise-workbench #page-header .admin-header-toolbar {
  flex: 0 0 auto;
  gap: 9px;
}

.admin-enterprise-workbench #page-header .admin-header-command-group {
  min-height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
}

.admin-enterprise-workbench #page-header .admin-header-links {
  display: flex;
  height: 34px;
  padding: 0 3px;
  align-items: center;
  gap: 0;
  background: var(--workbench-surface-soft);
  border: 1px solid var(--workbench-border);
  border-radius: 5px;
}

.admin-enterprise-workbench #page-header .admin-header-command {
  display: inline-flex;
  height: 28px;
  min-height: 28px;
  padding: 0 9px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #526177;
  font-size: 12px;
  font-weight: 550;
  background: transparent;
  border: 0;
  border-radius: 3px !important;
  box-shadow: none;
}

.admin-enterprise-workbench #page-header .admin-header-command i {
  display: inline-flex;
  width: 14px;
  height: 14px;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: #48647e;
  font-size: 12px;
  line-height: 14px;
}

.admin-enterprise-workbench #page-header .admin-header-command:hover,
.admin-enterprise-workbench #page-header .admin-header-command:focus-visible {
  color: var(--workbench-blue-700);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(19, 39, 64, 0.08);
}

.admin-enterprise-workbench #page-header .admin-header-more {
  display: none !important;
}

.admin-enterprise-workbench #page-header .admin-header-divider {
  width: 1px;
  height: 24px;
  background: var(--workbench-border);
}

.admin-enterprise-workbench #page-header .admin-header-communication {
  gap: 1px;
}

.admin-enterprise-workbench #page-header .admin-header-communication > .btn,
.admin-enterprise-workbench #page-header #page-header-user-dropdown {
  display: inline-flex;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0 9px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #526177;
  font-size: 12px;
  font-weight: 550;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px !important;
  box-shadow: none;
}

.admin-enterprise-workbench #page-header .admin-header-communication > .btn:hover,
.admin-enterprise-workbench #page-header .admin-header-communication > .btn:focus-visible,
.admin-enterprise-workbench #page-header #page-header-user-dropdown:hover,
.admin-enterprise-workbench #page-header #page-header-user-dropdown:focus-visible,
.admin-enterprise-workbench #page-header .admin-account-group.show #page-header-user-dropdown {
  color: var(--workbench-blue-700);
  background: var(--workbench-blue-50);
  border-color: #d7e3ef;
}

.admin-enterprise-workbench .admin-account-avatar {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  color: #174f82;
  background: #e6eff8;
  border: 1px solid #ccdeee;
  border-radius: 4px;
}

.admin-enterprise-workbench .admin-account-avatar i,
.admin-enterprise-workbench .admin-account-chevron {
  margin: 0;
}

.admin-enterprise-workbench .admin-header-badge {
  top: 0;
  right: 0;
}

/* Main data canvas */

.admin-enterprise-workbench #main-container {
  min-height: calc(100vh - var(--workbench-header-height));
  padding-top: var(--workbench-header-height) !important;
  background: var(--workbench-canvas);
}

.admin-enterprise-workbench #main-container > .content,
.admin-enterprise-workbench #main-container > .bg-body-dark > .content,
.admin-enterprise-workbench #page-container.main-content-boxed #main-container > .content {
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 20px 22px 28px;
}

.admin-enterprise-workbench #main-container > .bg-body-dark {
  background: #edf2f7 !important;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .admin-page-heading {
  display: flex;
  min-height: 58px;
  margin: 0;
  padding: 0 0 16px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .admin-page-heading > div:first-child {
  min-width: 0;
}

.admin-enterprise-workbench .admin-page-kicker {
  display: block;
  margin: 0 0 3px;
  color: var(--workbench-blue-700);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.admin-enterprise-workbench .admin-page-heading h1 {
  margin: 0;
  color: var(--workbench-heading);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-enterprise-workbench .admin-page-heading p {
  margin: 4px 0 0;
  color: var(--workbench-muted);
  font-size: 12px;
  line-height: 1.5;
}

.admin-enterprise-workbench .admin-page-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-enterprise-workbench .btn {
  display: inline-flex;
  min-height: 36px;
  padding: 7px 12px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
  border-radius: 4px !important;
  box-shadow: none;
}

.admin-enterprise-workbench .btn i {
  display: inline-flex;
  min-width: 14px;
  height: 16px;
  margin: 0;
  align-items: center;
  justify-content: center;
  line-height: 16px;
}

.admin-enterprise-workbench .btn-sm {
  min-height: 32px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 20px;
}

.admin-enterprise-workbench .btn-primary,
.admin-enterprise-workbench .btn-alt-primary {
  color: #ffffff;
  background: var(--workbench-blue-700);
  border-color: var(--workbench-blue-700);
}

.admin-enterprise-workbench .btn-primary:hover,
.admin-enterprise-workbench .btn-primary:focus,
.admin-enterprise-workbench .btn-alt-primary:hover,
.admin-enterprise-workbench .btn-alt-primary:focus {
  color: #ffffff;
  background: #083f78;
  border-color: #083f78;
  box-shadow: 0 0 0 3px rgba(18, 101, 179, 0.16);
}

.admin-enterprise-workbench .btn-secondary,
.admin-enterprise-workbench .btn-alt-secondary,
.admin-enterprise-workbench .btn-default,
.admin-enterprise-workbench .btn-dual-secondary {
  color: #405168;
  background: #ffffff;
  border-color: var(--workbench-border-strong);
}

.admin-enterprise-workbench .btn-secondary:hover,
.admin-enterprise-workbench .btn-secondary:focus,
.admin-enterprise-workbench .btn-alt-secondary:hover,
.admin-enterprise-workbench .btn-alt-secondary:focus,
.admin-enterprise-workbench .btn-default:hover,
.admin-enterprise-workbench .btn-default:focus {
  color: var(--workbench-blue-700);
  background: var(--workbench-blue-50);
  border-color: #a9c3db;
}

.admin-enterprise-workbench .btn:focus-visible,
.admin-enterprise-workbench a:focus-visible,
.admin-enterprise-workbench button:focus-visible {
  outline: 2px solid rgba(18, 101, 179, 0.34);
  outline-offset: 2px;
}

.admin-enterprise-workbench .block {
  margin-bottom: 16px;
  background: #ffffff;
  border: 1px solid var(--workbench-border);
  border-radius: var(--workbench-radius) !important;
  box-shadow: none !important;
}

.admin-enterprise-workbench .block-header,
.admin-enterprise-workbench .block-header-default {
  min-height: 48px;
  padding: 10px 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .block-title {
  color: var(--workbench-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.admin-enterprise-workbench .block-content {
  padding: 16px;
}

.admin-enterprise-workbench .table-responsive {
  border: 1px solid var(--workbench-border);
  border-radius: 4px;
  background: #ffffff;
}

.admin-enterprise-workbench .block .table-responsive {
  border: 0;
  border-radius: 0;
}

.admin-enterprise-workbench .table {
  width: 100%;
  margin-bottom: 0;
  color: var(--workbench-text);
  font-size: 13px;
  background: #ffffff;
}

.admin-enterprise-workbench .table thead th {
  height: 42px;
  padding: 10px 12px;
  color: #526177;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  vertical-align: middle;
  white-space: nowrap;
  background: #f7f9fb;
  border-top: 0;
  border-bottom: 1px solid var(--workbench-border-strong);
}

.admin-enterprise-workbench .table tbody td {
  min-height: 44px;
  padding: 10px 12px;
  vertical-align: middle;
  border-top: 1px solid #e7ebf0;
}

.admin-enterprise-workbench .table-striped tbody tr:nth-of-type(odd) {
  background: #fbfcfd;
}

.admin-enterprise-workbench .table-hover tbody tr:hover {
  color: var(--workbench-text);
  background: var(--workbench-blue-50);
}

.admin-enterprise-workbench .form-group {
  margin-bottom: 16px;
}

.admin-enterprise-workbench label,
.admin-enterprise-workbench .col-form-label {
  margin-bottom: 6px;
  color: #405168;
  font-size: 12px;
  font-weight: 650;
  line-height: 20px;
}

.admin-enterprise-workbench .form-control,
.admin-enterprise-workbench .custom-select,
.admin-enterprise-workbench .select2-container .select2-selection--single,
.admin-enterprise-workbench .select2-container .select2-selection--multiple {
  min-height: 38px;
  color: var(--workbench-text);
  font-size: 13px;
  background: #ffffff;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 4px;
  box-shadow: none;
}

.admin-enterprise-workbench .form-control {
  padding: 8px 10px;
  line-height: 20px;
}

.admin-enterprise-workbench .form-control:hover,
.admin-enterprise-workbench .custom-select:hover {
  border-color: #a9b9c9;
}

.admin-enterprise-workbench .form-control:focus,
.admin-enterprise-workbench .custom-select:focus,
.admin-enterprise-workbench .select2-container--focus .select2-selection,
.admin-enterprise-workbench .select2-container--open .select2-selection {
  border-color: var(--workbench-blue-600);
  box-shadow: 0 0 0 3px rgba(18, 101, 179, 0.14);
}

.admin-enterprise-workbench .input-group-text {
  color: #526177;
  background: #f5f7fa;
  border-color: var(--workbench-border-strong);
  border-radius: 4px;
}

.admin-enterprise-workbench .dropdown-menu {
  min-width: 184px;
  margin-top: 6px;
  padding: 5px;
  background: #ffffff;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 5px;
  box-shadow: 0 12px 26px rgba(11, 31, 53, 0.14);
}

.admin-enterprise-workbench .dropdown-item {
  display: flex;
  min-height: 34px;
  padding: 7px 9px;
  align-items: center;
  color: #405168;
  font-size: 12px;
  line-height: 20px;
  border-radius: 3px;
}

.admin-enterprise-workbench .dropdown-item:hover,
.admin-enterprise-workbench .dropdown-item:focus {
  color: var(--workbench-blue-700);
  background: var(--workbench-blue-50);
}

.admin-enterprise-workbench .dropdown-divider {
  border-top-color: var(--workbench-border);
}

.admin-enterprise-workbench .nav-tabs,
.admin-enterprise-workbench .nav-tabs-alt,
.admin-enterprise-workbench .nav-tabs-block {
  gap: 0;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .nav-tabs .nav-link,
.admin-enterprise-workbench .nav-tabs-alt .nav-link,
.admin-enterprise-workbench .nav-tabs-block .nav-link {
  min-height: 40px;
  padding: 9px 13px;
  color: #66758a;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.admin-enterprise-workbench .nav-tabs .nav-link:hover,
.admin-enterprise-workbench .nav-tabs-alt .nav-link:hover,
.admin-enterprise-workbench .nav-tabs-block .nav-link:hover {
  color: var(--workbench-blue-700);
  background: var(--workbench-blue-50);
}

.admin-enterprise-workbench .nav-tabs .nav-link.active,
.admin-enterprise-workbench .nav-tabs-alt .nav-link.active,
.admin-enterprise-workbench .nav-tabs-block .nav-link.active {
  color: var(--workbench-blue-700);
  font-weight: 700;
  background: transparent;
}

.admin-enterprise-workbench .nav-tabs .nav-link::after,
.admin-enterprise-workbench .nav-tabs-alt .nav-link::after,
.admin-enterprise-workbench .nav-tabs-block .nav-link::after {
  right: 13px;
  left: 13px;
  height: 2px;
  background: transparent;
}

.admin-enterprise-workbench .nav-tabs .nav-link.active::after,
.admin-enterprise-workbench .nav-tabs-alt .nav-link.active::after,
.admin-enterprise-workbench .nav-tabs-block .nav-link.active::after {
  background: var(--workbench-blue-600);
}

.admin-enterprise-workbench .badge {
  font-weight: 700;
  letter-spacing: 0;
}

.admin-enterprise-workbench .badge-primary,
.admin-enterprise-workbench .badge-info {
  color: #0a4a86;
  background: #e4eef8;
}

.admin-enterprise-workbench .badge-success {
  color: #16633f;
  background: #e5f3eb;
}

.admin-enterprise-workbench .badge-warning {
  color: #8a5509;
  background: #fff2d8;
}

.admin-enterprise-workbench .pagination {
  display: flex;
  gap: 4px;
}

.admin-enterprise-workbench .page-link {
  display: inline-flex;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  color: #526177;
  font-size: 12px;
  background: #ffffff;
  border-color: var(--workbench-border-strong);
  border-radius: 4px !important;
}

.admin-enterprise-workbench .page-item.active .page-link {
  color: #ffffff;
  background: var(--workbench-blue-700);
  border-color: var(--workbench-blue-700);
}

/* Dashboard: resource index plus continuous activity feed */

.admin-enterprise-workbench .admin-dashboard {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.admin-enterprise-workbench .admin-dashboard > .admin-page-heading {
  grid-column: 1 / -1;
}

.admin-enterprise-workbench .dashboard-metric-strip {
  display: block;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--workbench-border);
  border-radius: 5px;
  box-shadow: none;
}

.admin-enterprise-workbench .dashboard-metric {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  min-height: 74px;
  padding: 12px 14px;
  align-items: center;
  gap: 11px;
  color: var(--workbench-text);
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--workbench-border);
  border-radius: 0;
  box-shadow: none;
}

.admin-enterprise-workbench .dashboard-metric:last-child {
  border-bottom: 0;
}

.admin-enterprise-workbench .dashboard-metric:hover,
.admin-enterprise-workbench .dashboard-metric:focus-visible {
  color: var(--workbench-text);
  background: var(--workbench-blue-50);
}

.admin-enterprise-workbench .dashboard-metric-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--workbench-blue-700) !important;
  background: #e7f0fa !important;
  border: 1px solid #cfdfed;
  border-radius: 4px;
}

.admin-enterprise-workbench .dashboard-metric-icon i {
  margin: 0;
  font-size: 14px;
  line-height: 1;
}

.admin-enterprise-workbench .dashboard-metric-copy {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 2px 8px;
}

.admin-enterprise-workbench .dashboard-metric-copy small {
  overflow: hidden;
  color: #405168;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-enterprise-workbench .dashboard-metric-copy strong {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--workbench-heading);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
}

.admin-enterprise-workbench .dashboard-metric-copy em {
  grid-column: 1;
  color: #8793a3;
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
}

.admin-enterprise-workbench .dashboard-metric-arrow {
  color: #9aa6b5;
  font-size: 11px;
}

.admin-enterprise-workbench .dashboard-feed-grid {
  display: grid;
  min-width: 0;
  margin: 0;
  grid-template-columns: 1fr;
  gap: 12px;
}

.admin-enterprise-workbench .dashboard-feed-grid > [class*="col-"] {
  width: 100%;
  max-width: none;
  padding: 0;
}

.admin-enterprise-workbench .dashboard-feed-grid .block {
  min-height: 0;
  margin: 0;
}

.admin-enterprise-workbench .dashboard-feed-grid .block-header {
  min-height: 46px;
}

.admin-enterprise-workbench .dashboard-feed-grid .block-content {
  padding: 0;
}

.admin-enterprise-workbench .dashboard-feed-grid .table td {
  height: 40px;
  padding: 9px 14px;
}

.admin-enterprise-workbench .dashboard-feed-grid .table a {
  display: block;
  overflow: hidden;
  color: #405168;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-enterprise-workbench .dashboard-feed-grid .table a:hover {
  color: var(--workbench-blue-700);
}

/* Exam management workbench */

.admin-enterprise-workbench .exam-management-page {
  padding-bottom: 0 !important;
}

.admin-enterprise-workbench .exam-workspace {
  display: grid;
  min-height: calc(100vh - 155px);
  margin: 0;
  grid-template-columns: minmax(520px, 1fr) 318px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--workbench-border);
  border-top: 0;
  border-radius: 0 0 5px 5px;
  box-shadow: none;
}

.admin-enterprise-workbench .exam-list-pane {
  min-width: 0;
  background: #ffffff;
  border-right: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .exam-list-toolbar {
  min-height: 44px;
  background: #ffffff;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .exam-table-wrap {
  min-width: 0;
  overflow-x: auto;
  background: #ffffff;
}

.admin-enterprise-workbench .exam-table {
  min-width: 660px;
  table-layout: fixed;
}

.admin-enterprise-workbench .exam-table thead th:nth-child(1) {
  width: 38%;
}

.admin-enterprise-workbench .exam-table thead th:nth-child(2) {
  width: 15%;
}

.admin-enterprise-workbench .exam-table thead th:nth-child(3) {
  width: 27%;
}

.admin-enterprise-workbench .exam-table thead th:nth-child(4) {
  width: 20%;
}

.admin-enterprise-workbench .exam-table tbody td {
  height: 68px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.admin-enterprise-workbench .exam-row {
  position: relative;
  cursor: pointer;
  background: #ffffff;
}

.admin-enterprise-workbench .exam-row:hover {
  background: var(--workbench-blue-50);
}

.admin-enterprise-workbench .exam-row.is-selected,
.admin-enterprise-workbench .exam-row[aria-selected="true"] {
  background: #edf4fb;
  box-shadow: inset 3px 0 0 var(--workbench-blue-600);
}

.admin-enterprise-workbench .exam-row:focus-visible {
  outline: 2px solid rgba(18, 101, 179, 0.35);
  outline-offset: -2px;
}

.admin-enterprise-workbench .exam-id,
.admin-enterprise-workbench .exam-name,
.admin-enterprise-workbench .exam-pay-type {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-enterprise-workbench .exam-id {
  margin-bottom: 2px;
  color: #68778a;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
}

.admin-enterprise-workbench .exam-name {
  color: var(--workbench-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

.admin-enterprise-workbench .exam-pay-type {
  margin-top: 2px;
  color: #7a8798;
  font-size: 10px;
  line-height: 15px;
}

.admin-enterprise-workbench .status-chip {
  display: inline-flex;
  min-height: 24px;
  padding: 3px 7px;
  align-items: center;
  justify-content: center;
  color: #176343;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
  background: #e8f3ed;
  border: 1px solid #cde4d7;
  border-radius: 3px;
}

.admin-enterprise-workbench .exam-date-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  color: #526177;
  font-size: 11px;
  line-height: 17px;
}

.admin-enterprise-workbench .exam-date-range small {
  color: #9aa6b5;
  font-size: 9px;
}

.admin-enterprise-workbench .exam-row-actions {
  white-space: nowrap;
}

.admin-enterprise-workbench .exam-row-actions .btn-group {
  margin-left: 5px;
}

.admin-enterprise-workbench .exam-more-button {
  width: 32px;
  min-width: 32px;
  padding: 0;
}

.admin-enterprise-workbench .exam-pagination {
  padding: 12px 14px;
  border-top: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .exam-context-panel {
  min-width: 0;
  padding: 18px;
  background: var(--workbench-surface-soft);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-enterprise-workbench .exam-context-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .exam-context-heading > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-enterprise-workbench .exam-context-heading h2 {
  margin: 10px 0 0;
  color: var(--workbench-heading);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
}

.admin-enterprise-workbench .js-context-no {
  color: #65758a;
  font-size: 10px;
  font-weight: 600;
}

.admin-enterprise-workbench .exam-context-actions {
  display: grid;
  margin: 16px 0;
  grid-template-columns: 1fr;
  gap: 8px;
}

.admin-enterprise-workbench .exam-context-actions .btn {
  width: 100%;
}

.admin-enterprise-workbench .exam-context-details {
  margin: 0;
  border-top: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .exam-context-details > div {
  display: grid;
  min-height: 42px;
  padding: 9px 0;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .exam-context-details dt,
.admin-enterprise-workbench .exam-context-details dd {
  margin: 0;
  font-size: 11px;
  line-height: 20px;
}

.admin-enterprise-workbench .exam-context-details dt {
  color: #758397;
  font-weight: 550;
}

.admin-enterprise-workbench .exam-context-details dd {
  color: #405168;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.admin-enterprise-workbench .exam-context-tip {
  display: grid;
  margin-top: 16px;
  padding: 10px 11px;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  color: #65758a;
  font-size: 10px;
  line-height: 17px;
  background: #eef2f6;
  border: 1px solid #e1e7ed;
  border-radius: 4px;
}

.admin-enterprise-workbench .exam-context-tip i {
  display: inline-flex;
  width: 16px;
  height: 17px;
  margin: 0;
  align-items: center;
  justify-content: center;
}

/* Dialogs and transient UI */

.admin-enterprise-workbench .modal-backdrop.show {
  opacity: 0.42;
  background: #07182c;
}

.admin-enterprise-workbench .modal-dialog {
  margin: 24px auto;
}

.admin-enterprise-workbench .modal-content {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(6, 23, 45, 0.2);
}

.admin-enterprise-workbench .modal-content > .block {
  margin: 0;
  border: 0;
  border-radius: 0 !important;
}

.admin-enterprise-workbench .modal-header,
.admin-enterprise-workbench .modal-content .block-header {
  min-height: 52px;
  padding: 12px 16px;
  background: #ffffff !important;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .modal-title,
.admin-enterprise-workbench .modal-content .block-title {
  color: var(--workbench-heading) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
}

.admin-enterprise-workbench .modal-body,
.admin-enterprise-workbench .modal-content .block-content {
  padding: 18px;
}

.admin-enterprise-workbench .modal-footer {
  display: flex;
  min-height: 56px;
  padding: 10px 16px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  background: #f8fafc;
  border-top: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .modal-footer > :not(:first-child),
.admin-enterprise-workbench .modal-footer > :not(:last-child) {
  margin: 0;
}

.admin-enterprise-workbench .swal-modal {
  width: min(440px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--workbench-border-strong);
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(6, 23, 45, 0.2);
}

.admin-enterprise-workbench .swal-title {
  margin: 0;
  padding: 18px 20px 8px;
  color: var(--workbench-heading);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.4;
}

.admin-enterprise-workbench .swal-text {
  max-width: none;
  padding: 0 20px;
  color: #526177;
  font-size: 13px;
  line-height: 1.65;
}

.admin-enterprise-workbench .swal-footer {
  display: flex;
  margin-top: 18px;
  padding: 12px 16px;
  justify-content: flex-end;
  gap: 8px;
  background: #f8fafc;
  border-top: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .swal-button-container {
  margin: 0;
}

.admin-enterprise-workbench .swal-button {
  min-width: 76px;
  min-height: 36px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
  border: 1px solid var(--workbench-blue-700);
  border-radius: 4px;
  box-shadow: none;
}

.admin-enterprise-workbench .swal-button--cancel {
  color: #405168;
  background: #ffffff;
  border-color: var(--workbench-border-strong);
}

.admin-enterprise-workbench .swal-button--danger {
  background: var(--workbench-danger);
  border-color: var(--workbench-danger);
}

.admin-enterprise-workbench #side-overlay {
  background: #ffffff;
  border-left: 1px solid var(--workbench-border);
  box-shadow: -16px 0 36px rgba(6, 23, 45, 0.16);
}

.admin-enterprise-workbench #page-footer {
  color: #7d8999;
  background: transparent;
  border-top: 1px solid var(--workbench-border);
}

/* Desktop offsets */

@media (min-width: 992px) {
  .admin-enterprise-workbench #page-container.sidebar-o {
    padding-left: var(--workbench-sidebar-width) !important;
  }

  .admin-enterprise-workbench #page-container.sidebar-o #page-header {
    left: var(--workbench-sidebar-width) !important;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini.sidebar-o {
    padding-left: var(--workbench-rail-width) !important;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini.sidebar-o #sidebar {
    width: var(--workbench-rail-width) !important;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini.sidebar-o #page-header {
    left: var(--workbench-rail-width) !important;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-sidebar-head {
    padding: 0 !important;
    justify-content: center;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-sidebar-brand {
    width: var(--workbench-rail-width);
    flex: 0 0 var(--workbench-rail-width);
    justify-content: center;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-sidebar-brand-copy,
  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-nav-context .nav-main-heading,
  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-nav-context .nav-main > li > a > span,
  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-nav-context .admin-nav-chevron,
  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-nav-context .nav-main ul {
    display: none !important;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-sidebar-navigation {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 52px;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-nav-context .nav-main {
    padding: 10px 8px 16px;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-nav-context .nav-main > li > a {
    width: 46px;
    min-height: 42px;
    margin: 3px auto;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-nav-context .admin-nav-icon {
    flex-basis: 20px;
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-sidebar-footer {
    display: flex !important;
    width: var(--workbench-rail-width);
    height: 52px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: #061831;
    border-top: 1px solid var(--workbench-sidebar-border);
  }

  .admin-enterprise-workbench #page-container.sidebar-mini #sidebar .admin-sidebar-collapse i {
    transform: rotate(180deg);
  }
}

@media (max-width: 1399.98px) {
  .admin-enterprise-workbench #page-header .admin-header-links {
    display: none !important;
  }

  .admin-enterprise-workbench #page-header .admin-header-more {
    display: inline-flex !important;
  }

  .admin-enterprise-workbench #page-header .admin-header-more > .btn {
    display: inline-flex;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #526177;
    background: #ffffff;
    border: 1px solid var(--workbench-border);
    border-radius: 4px !important;
  }

  .admin-enterprise-workbench .exam-workspace {
    grid-template-columns: minmax(500px, 1fr) 290px;
  }
}

@media (max-width: 1199.98px) {
  .admin-enterprise-workbench .admin-dashboard {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .admin-enterprise-workbench .exam-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-enterprise-workbench .exam-context-panel {
    border-top: 1px solid var(--workbench-border);
  }
}

@media (max-width: 991.98px) {
  .admin-enterprise-workbench #page-container.sidebar-o {
    padding-left: 0 !important;
  }

  .admin-enterprise-workbench #sidebar {
    width: min(280px, calc(100vw - 44px)) !important;
  }

  .admin-enterprise-workbench #page-header {
    left: 0 !important;
  }

  .admin-enterprise-workbench #page-header > .admin-header-layout {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .admin-enterprise-workbench .admin-sidebar-footer {
    display: none;
  }

  .admin-enterprise-workbench #sidebar .admin-sidebar-head {
    height: 64px !important;
    min-height: 64px !important;
    padding-right: 52px !important;
  }

  .admin-enterprise-workbench #sidebar .content-side {
    height: calc(100vh - 64px) !important;
  }

  .admin-enterprise-workbench #sidebar .admin-sidebar-brand-copy {
    display: flex !important;
  }

  .admin-enterprise-workbench #sidebar .admin-sidebar-navigation {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .admin-enterprise-workbench .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-enterprise-workbench .dashboard-metric-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-enterprise-workbench .dashboard-metric:nth-child(odd) {
    border-right: 1px solid var(--workbench-border);
  }

  .admin-enterprise-workbench .dashboard-metric:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .admin-enterprise-workbench #page-header .admin-breadcrumb small,
  .admin-enterprise-workbench #page-header .admin-breadcrumb > i,
  .admin-enterprise-workbench #page-header .admin-header-divider:first-of-type,
  .admin-enterprise-workbench #page-header .admin-message-button .admin-label {
    display: none;
  }

  .admin-enterprise-workbench #main-container > .content,
  .admin-enterprise-workbench #main-container > .bg-body-dark > .content,
  .admin-enterprise-workbench #page-container.main-content-boxed #main-container > .content {
    padding: 16px 14px 24px;
  }

  .admin-enterprise-workbench .admin-page-heading {
    min-height: 0;
    align-items: flex-start;
  }

  .admin-enterprise-workbench .admin-page-heading h1 {
    font-size: 20px;
  }

  .admin-enterprise-workbench .admin-page-heading p {
    display: none;
  }

  .admin-enterprise-workbench .exam-workspace {
    min-height: 0;
  }

  .admin-enterprise-workbench .exam-context-panel {
    padding: 16px;
  }

  .admin-enterprise-workbench .modal-dialog {
    margin: 12px;
  }
}

@media (max-width: 575.98px) {
  .admin-enterprise-workbench #page-header .admin-header-toolbar {
    gap: 1px;
  }

  .admin-enterprise-workbench #page-header .admin-header-divider,
  .admin-enterprise-workbench #page-header .admin-account-chevron,
  .admin-enterprise-workbench #page-header #page-header-user-dropdown > span:not(.admin-account-avatar) {
    display: none;
  }

  .admin-enterprise-workbench #page-header #page-header-user-dropdown {
    width: 34px;
    min-width: 34px;
    padding: 3px;
  }

  .admin-enterprise-workbench .admin-page-heading {
    flex-direction: column;
    gap: 10px;
  }

  .admin-enterprise-workbench .admin-page-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-enterprise-workbench .dashboard-metric-strip {
    grid-template-columns: 1fr;
  }

  .admin-enterprise-workbench .dashboard-metric,
  .admin-enterprise-workbench .dashboard-metric:nth-child(odd),
  .admin-enterprise-workbench .dashboard-metric:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--workbench-border);
  }

  .admin-enterprise-workbench .dashboard-metric:last-child {
    border-bottom: 0;
  }

  .admin-enterprise-workbench .nav-tabs .nav-link,
  .admin-enterprise-workbench .nav-tabs-alt .nav-link,
  .admin-enterprise-workbench .nav-tabs-block .nav-link {
    min-height: 38px;
    padding: 8px 11px;
  }

  .admin-enterprise-workbench .exam-list-toolbar .nav-tabs-alt {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  .admin-enterprise-workbench .exam-list-toolbar .nav-item,
  .admin-enterprise-workbench .exam-list-toolbar .nav-item.ml-auto {
    min-width: 0;
    margin-left: 0 !important;
  }

  .admin-enterprise-workbench .exam-list-toolbar .nav-link {
    width: 100%;
    gap: 3px;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 12px;
  }

  .admin-enterprise-workbench .exam-list-toolbar .nav-link .badge {
    min-width: 18px;
    padding-right: 4px;
    padding-left: 4px;
  }
}

/* Shared admin component refinement: toolbars, row actions, empty states, dialogs */

.admin-enterprise-workbench .admin-list-toolbar {
  display: flex;
  min-height: 60px;
  margin: 0 0 14px;
  padding: 11px 12px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: var(--workbench-surface-soft);
  border: 1px solid var(--workbench-border);
  border-radius: 4px;
}

.admin-enterprise-workbench .admin-list-toolbar > .input-group,
.admin-enterprise-workbench .admin-list-toolbar > .btn,
.admin-enterprise-workbench .admin-list-toolbar > .btn-group,
.admin-enterprise-workbench .admin-list-toolbar > .form-control {
  margin: 0 !important;
}

.admin-enterprise-workbench .admin-list-toolbar > .float-right,
.admin-enterprise-workbench .admin-list-toolbar > .text-right {
  display: flex;
  margin-left: auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  float: none !important;
}

.admin-enterprise-workbench .admin-list-toolbar .record-count {
  margin: 0 0 0 auto;
  line-height: 36px;
}

.admin-enterprise-workbench .admin-table-action-cell {
  white-space: normal;
}

.admin-enterprise-workbench .admin-table-action-cell > .btn + .btn,
.admin-enterprise-workbench .admin-table-action-cell > .btn + .btn-group,
.admin-enterprise-workbench .admin-table-action-cell > .btn-group + .btn,
.admin-enterprise-workbench .admin-table-action-cell > .btn-group + .btn-group {
  margin-left: 6px;
}

.admin-enterprise-workbench .admin-table-action-cell .table-action-group {
  display: inline-flex;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.admin-enterprise-workbench .admin-table-action-cell .table-action-group > .btn,
.admin-enterprise-workbench .admin-table-action-cell .table-action-group > .btn-group,
.admin-enterprise-workbench .admin-table-action-cell .table-action-group > .btn:not(:first-child),
.admin-enterprise-workbench .admin-table-action-cell .table-action-group > .btn-group:not(:first-child) {
  margin-left: 0;
}

.admin-enterprise-workbench .admin-table-action-cell .btn-sm {
  min-height: 34px;
}

.admin-enterprise-workbench .admin-table-action-cell .admin-icon-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 4px !important;
}

.admin-enterprise-workbench .admin-table-action-cell .admin-destructive-action {
  color: var(--workbench-danger);
  background: #fffafa;
  border-color: #e5c2c2;
}

.admin-enterprise-workbench .admin-table-action-cell .admin-destructive-action:hover,
.admin-enterprise-workbench .admin-table-action-cell .admin-destructive-action:focus {
  color: #ffffff;
  background: var(--workbench-danger);
  border-color: var(--workbench-danger);
}

.admin-enterprise-workbench .table .admin-empty-state-cell {
  height: 164px;
  padding: 0 !important;
  background: #ffffff !important;
  border-top: 0;
}

.admin-enterprise-workbench .table-hover .admin-empty-state-row:hover,
.admin-enterprise-workbench .table-striped .admin-empty-state-row:nth-of-type(odd) {
  background: #ffffff !important;
  box-shadow: none;
}

.admin-enterprise-workbench .admin-native-empty-row {
  display: none;
}

.admin-enterprise-workbench .admin-empty-state {
  display: flex;
  min-height: 164px;
  padding: 28px 20px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.admin-enterprise-workbench .admin-empty-state-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  color: var(--workbench-blue-700);
  font-size: 17px;
  background: var(--workbench-blue-50);
  border: 1px solid #d7e4f0;
  border-radius: 4px;
}

.admin-enterprise-workbench .admin-empty-state-title {
  color: var(--workbench-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.admin-enterprise-workbench .admin-empty-state-description {
  margin-top: 3px;
  color: var(--workbench-muted);
  font-size: 12px;
  line-height: 20px;
}

body.admin-enterprise-workbench .modal-content .block-header.bg-primary-dark,
body.admin-enterprise-workbench .modal-content .block-header.block-header-default,
body.admin-enterprise-workbench .modal-content > .modal-header {
  display: flex;
  min-height: 56px;
  padding: 11px 14px 11px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--workbench-heading) !important;
  background: #ffffff !important;
  border-bottom: 1px solid var(--workbench-border) !important;
  box-shadow: inset 3px 0 0 var(--workbench-blue-600);
}

body.admin-enterprise-workbench .modal-content .block-title,
body.admin-enterprise-workbench .modal-content .modal-title {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--workbench-heading) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
}

body.admin-enterprise-workbench .modal-content .block-options {
  display: flex;
  margin-left: auto;
  align-items: center;
}

body.admin-enterprise-workbench .modal-content .btn-block-option,
body.admin-enterprise-workbench .modal-content .modal-header .close {
  display: inline-flex;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: #66758a !important;
  font-size: 16px;
  line-height: 1;
  background: transparent !important;
  border: 1px solid transparent;
  border-radius: 4px !important;
  opacity: 1;
}

body.admin-enterprise-workbench .modal-content .btn-block-option:hover,
body.admin-enterprise-workbench .modal-content .btn-block-option:focus-visible,
body.admin-enterprise-workbench .modal-content .modal-header .close:hover,
body.admin-enterprise-workbench .modal-content .modal-header .close:focus-visible {
  color: var(--workbench-heading) !important;
  background: #eef3f7 !important;
  border-color: var(--workbench-border);
}

body.admin-enterprise-workbench .modal-footer[style*="display: block"],
body.admin-enterprise-workbench .modal-footer[style*="display:block"],
body.admin-enterprise-workbench .modal-footer[style*="display: flow-root"],
body.admin-enterprise-workbench .modal-footer[style*="display:flow-root"] {
  display: flex !important;
}

body.admin-enterprise-workbench .modal-footer {
  min-height: 60px;
  padding: 11px 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  background: var(--workbench-surface-soft);
}

body.admin-enterprise-workbench .modal-footer > .float-left {
  margin-right: auto !important;
  float: none !important;
}

body.admin-enterprise-workbench .modal-footer > .float-right {
  margin-left: auto !important;
  float: none !important;
}

body.admin-enterprise-workbench .modal-footer .btn:not(.admin-icon-button) {
  min-width: 76px;
}

@media (max-width: 767.98px) {
  .admin-enterprise-workbench .admin-list-toolbar > .float-right,
  .admin-enterprise-workbench .admin-list-toolbar > .text-right,
  .admin-enterprise-workbench .admin-list-toolbar .record-count {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .admin-enterprise-workbench .admin-list-toolbar > select.form-control,
  .admin-enterprise-workbench .admin-list-toolbar > .input-group {
    width: 100% !important;
  }

  .admin-enterprise-workbench .admin-empty-state,
  .admin-enterprise-workbench .table .admin-empty-state-cell {
    min-height: 148px;
    height: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-enterprise-workbench *,
  .admin-enterprise-workbench *::before,
  .admin-enterprise-workbench *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Administrator authentication */

body.admin-enterprise-auth {
  --auth-navy-950: #06172d;
  --auth-navy-800: #0b315d;
  --auth-blue-700: #0b4f93;
  --auth-blue-600: #1265b3;
  --auth-border: #dce3ea;
  --auth-text: #243244;
  min-width: 320px;
  margin: 0;
  overflow: hidden;
  color: var(--auth-text);
  font-family: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  background: #ffffff;
}

.admin-enterprise-auth *,
.admin-enterprise-auth *::before,
.admin-enterprise-auth *::after {
  letter-spacing: 0;
}

.admin-enterprise-auth #page-container,
.admin-enterprise-auth #main-container,
.admin-enterprise-auth .admin-login-background {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #ffffff !important;
}

.admin-enterprise-auth .admin-login-shell {
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 460px);
  overflow: hidden;
  background: #eef3f7;
}

.admin-enterprise-auth .admin-login-visual {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 42px 48px;
  overflow: hidden;
  color: #ffffff;
  background-color: var(--auth-navy-800);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.admin-enterprise-auth .admin-login-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background: rgba(6, 23, 45, 0.44);
}

.admin-enterprise-auth .admin-login-visual-content {
  align-self: flex-end;
  max-width: 560px;
  padding: 0 0 30px;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(3, 15, 29, 0.36);
}

.admin-enterprise-auth .admin-login-location {
  display: flex;
  margin: 0 0 10px;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
}

.admin-enterprise-auth .admin-login-location i {
  display: inline-flex;
  width: 16px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.admin-enterprise-auth .admin-login-visual-content h2 {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  font-weight: 750;
  line-height: 1.45;
}

.admin-enterprise-auth .admin-login-landmark {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 18px;
}

.admin-enterprise-auth .admin-login-copyright {
  position: absolute;
  right: 48px;
  bottom: 24px;
  left: 48px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 16px;
  text-align: right;
}

.admin-enterprise-auth .admin-login-panel {
  display: flex;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  background: #ffffff !important;
  border-left: 1px solid var(--auth-border);
  box-shadow: none;
}

.admin-enterprise-auth .admin-login-panel .content-full {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 38px 28px;
}

.admin-enterprise-auth .admin-login-header {
  margin-bottom: 28px;
}

.admin-enterprise-auth .admin-login-brand {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #17263a;
}

.admin-enterprise-auth .admin-login-brand:hover {
  color: #17263a;
  text-decoration: none;
}

.admin-enterprise-auth .admin-login-brand .logo {
  display: block;
  width: 34px;
  height: 34px;
  padding: 5px;
  object-fit: contain;
  background: #edf4fb;
  border: 1px solid #d3e2f0;
  border-radius: 5px;
}

.admin-enterprise-auth .admin-login-brand-name {
  min-width: 0;
  overflow: hidden;
  color: #17263a;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-enterprise-auth .admin-login-product-tag {
  padding: 3px 6px;
  color: var(--auth-blue-700);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  background: #edf4fb;
  border: 1px solid #d3e2f0;
  border-radius: 3px;
}

.admin-enterprise-auth .admin-login-intro {
  margin-top: 34px;
}

.admin-enterprise-auth .admin-login-eyebrow {
  margin: 0 0 3px;
  color: var(--auth-blue-700);
  font-size: 10px;
  font-weight: 750;
  line-height: 16px;
}

.admin-enterprise-auth .admin-login-intro h1 {
  margin: 0;
  color: #101d2e;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-enterprise-auth .admin-login-intro > p:last-child {
  margin: 6px 0 0;
  color: #69788c;
  font-size: 12px;
  line-height: 18px;
}

.admin-enterprise-auth .admin-login-form .form-group {
  margin-bottom: 15px;
}

.admin-enterprise-auth .admin-login-form .form-group > label {
  display: block;
  margin: 0 0 5px;
  color: #405168;
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
}

.admin-enterprise-auth .admin-login-form .form-control {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  color: #243244;
  font-size: 13px;
  line-height: 20px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  box-shadow: none;
}

.admin-enterprise-auth .admin-login-form .form-control:hover {
  border-color: #9eb0c2;
}

.admin-enterprise-auth .admin-login-form .form-control:focus {
  border-color: var(--auth-blue-600);
  box-shadow: 0 0 0 3px rgba(18, 101, 179, 0.14);
}

.admin-enterprise-auth .admin-login-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 8px;
  align-items: stretch;
}

.admin-enterprise-auth .admin-login-captcha-row img {
  display: block;
  width: 124px;
  height: 40px;
  margin: 0;
  object-fit: cover;
  background: #f5f7fa;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.admin-enterprise-auth .admin-login-options {
  display: flex;
  margin: 2px 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-enterprise-auth .admin-login-options .custom-control-label,
.admin-enterprise-auth .admin-login-forgot {
  color: #5f6f82;
  font-size: 11px;
  font-weight: 550;
  line-height: 18px;
}

.admin-enterprise-auth .admin-login-forgot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.admin-enterprise-auth .admin-login-forgot:hover {
  color: var(--auth-blue-700);
  text-decoration: none;
}

.admin-enterprise-auth .admin-login-submit {
  display: flex;
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  background: var(--auth-blue-700);
  border: 1px solid var(--auth-blue-700);
  border-radius: 4px !important;
  box-shadow: none;
}

.admin-enterprise-auth .admin-login-submit:hover,
.admin-enterprise-auth .admin-login-submit:focus {
  color: #ffffff;
  background: #083f78;
  border-color: #083f78;
  box-shadow: 0 0 0 3px rgba(18, 101, 179, 0.14);
}

@media (max-width: 991.98px) {
  .admin-enterprise-auth .admin-login-shell {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
  }

  .admin-enterprise-auth .admin-login-visual {
    padding: 34px;
  }
}

@media (max-width: 767.98px) {
  body.admin-enterprise-auth {
    overflow-y: auto;
  }

  .admin-enterprise-auth .admin-login-shell {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    background: #ffffff;
  }

  .admin-enterprise-auth .admin-login-visual {
    display: none;
  }

  .admin-enterprise-auth .admin-login-panel {
    min-height: 100vh;
    min-height: 100dvh;
    border-left: 0;
  }

  .admin-enterprise-auth .admin-login-panel .content-full {
    max-width: 420px;
    padding: 30px 22px;
  }
}

/* Shared enterprise tabs */

.admin-enterprise-workbench .admin-tabs {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.admin-enterprise-workbench .admin-tabs::-webkit-scrollbar {
  height: 4px;
}

.admin-enterprise-workbench .admin-tabs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.admin-enterprise-workbench .admin-tabs > .nav-item {
  display: flex;
  min-width: max-content;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.admin-enterprise-workbench .admin-tabs > .nav-item.ml-auto {
  margin-left: auto !important;
}

.admin-enterprise-workbench .admin-tabs .nav-link {
  position: relative;
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #5f6f82;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  letter-spacing: 0;
  border: 1px solid transparent;
  box-shadow: none;
}

.admin-enterprise-workbench .admin-tabs .nav-link:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(18, 101, 179, 0.28);
}

.admin-enterprise-workbench .admin-tabs .badge:empty,
.admin-enterprise-workbench .nav-tabs .badge:empty,
.admin-enterprise-workbench .nav-tabs-alt .badge:empty,
.admin-enterprise-workbench .nav-tabs-block .badge:empty {
  display: none !important;
}

.admin-enterprise-workbench .admin-tabs-primary,
.admin-enterprise-workbench .admin-tabs-content {
  min-height: 45px;
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--workbench-border);
}

.admin-enterprise-workbench .admin-tabs-primary .nav-link,
.admin-enterprise-workbench .admin-tabs-content .nav-link {
  min-height: 44px;
  padding: 11px 15px 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.admin-enterprise-workbench .admin-tabs-primary .nav-link:hover,
.admin-enterprise-workbench .admin-tabs-content .nav-link:hover {
  color: var(--workbench-blue-700);
  background: var(--workbench-blue-50);
}

.admin-enterprise-workbench .admin-tabs-primary .nav-link.active,
.admin-enterprise-workbench .admin-tabs-content .nav-link.active {
  color: #083d73;
  font-weight: 700;
  background: transparent;
}

.admin-enterprise-workbench .admin-tabs-primary .nav-link::after,
.admin-enterprise-workbench .admin-tabs-content .nav-link::after {
  right: 15px;
  bottom: -1px;
  left: 15px;
  display: block;
  height: 3px;
  background: transparent;
  border-radius: 2px 2px 0 0;
}

.admin-enterprise-workbench .admin-tabs-primary .nav-link.active::after,
.admin-enterprise-workbench .admin-tabs-content .nav-link.active::after {
  background: var(--workbench-blue-600);
}

.admin-enterprise-workbench .admin-tabs-secondary,
.admin-enterprise-workbench .admin-tabs-status {
  min-height: 44px;
  padding: 4px;
  gap: 2px;
  background: #f3f6f9;
  border: 1px solid var(--workbench-border);
  border-radius: 5px;
}

.admin-enterprise-workbench .admin-tabs-status {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
}

.admin-enterprise-workbench .admin-tabs-secondary > .nav-item.ml-auto,
.admin-enterprise-workbench .admin-tabs-status > .nav-item.ml-auto {
  margin-left: 8px !important;
}

.admin-enterprise-workbench .admin-tabs-secondary .nav-link,
.admin-enterprise-workbench .admin-tabs-status .nav-link {
  min-height: 34px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
}

.admin-enterprise-workbench .admin-tabs-secondary .nav-link::after,
.admin-enterprise-workbench .admin-tabs-status .nav-link::after {
  display: none;
}

.admin-enterprise-workbench .admin-tabs-secondary .nav-link:hover,
.admin-enterprise-workbench .admin-tabs-status .nav-link:hover {
  color: var(--workbench-blue-700);
  background: #e9eff5;
  border-color: #d8e1ea;
}

.admin-enterprise-workbench .admin-tabs-secondary .nav-link.active,
.admin-enterprise-workbench .admin-tabs-status .nav-link.active {
  color: #083d73;
  font-weight: 700;
  background: #ffffff;
  border-color: #ccd7e2;
  box-shadow: 0 1px 2px rgba(16, 29, 46, 0.08);
}

.admin-enterprise-workbench .admin-tabs-status .badge {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  margin: 0;
  padding: 0 6px;
  align-items: center;
  justify-content: center;
  color: #526177;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  background: #e3e9ef;
  border: 1px solid #d3dce5;
  border-radius: 10px;
}

.admin-enterprise-workbench .admin-tabs-status .nav-link.active .badge {
  color: #0a4a86;
  background: #e4eef8;
  border-color: #c8dced;
}

@media (max-width: 767.98px) {
  .admin-enterprise-workbench .admin-tabs-primary .nav-link,
  .admin-enterprise-workbench .admin-tabs-content .nav-link {
    min-height: 42px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .admin-enterprise-workbench .admin-tabs-primary .nav-link::after,
  .admin-enterprise-workbench .admin-tabs-content .nav-link::after {
    right: 12px;
    left: 12px;
  }

  .admin-enterprise-workbench .exam-list-toolbar .admin-tabs-status {
    display: inline-flex !important;
    width: max-content;
    max-width: 100%;
    grid-template-columns: none;
    overflow-x: auto;
  }

  .admin-enterprise-workbench .exam-list-toolbar .admin-tabs-status .nav-link {
    width: auto;
  }

  .admin-enterprise-workbench .admin-tabs-status .nav-link {
    gap: 4px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 12px;
  }

  .admin-enterprise-workbench .admin-tabs-status .badge {
    min-width: 18px;
    height: 18px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
    line-height: 16px;
  }
}
