.enterprise-department-switcher {
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-top: 0;
  border-bottom: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 16%, transparent);
}

.enterprise-department-switcher-title {
  padding: 0 10px 6px;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.68;
  text-transform: uppercase;
}

.enterprise-department-switcher a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  opacity: 0.88;
}

.enterprise-department-switcher a:hover,
.enterprise-department-switcher a:focus-visible {
  background: color-mix(in srgb, currentColor 10%, transparent);
  opacity: 1;
  outline: none;
}

.enterprise-department-switcher a.enterprise-department-report {
  margin-left: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 12px;
  opacity: 0.7;
}
.enterprise-department-switcher a.enterprise-back-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  opacity: 1;
}
.enterprise-department-switcher a.enterprise-back-link span { font-size: 17px; line-height: 1; }

/* Shared admin navigation used by the dashboard and every department. */
.enterprise-sidebar.admin-sidebar {
  flex: 0 0 244px !important;
  width: 244px !important;
  min-width: 244px !important;
  max-width: 244px !important;
  background: #fff !important;
  color: #263447 !important;
  border-right: 1px solid #e2e7ed !important;
  box-shadow: none !important;
}
.enterprise-sidebar .enterprise-brand,
.enterprise-sidebar a.enterprise-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-height: 82px !important;
  padding: 16px 22px !important;
  border-bottom: 1px solid #e9edf2 !important;
  color: #17212f !important;
  text-decoration: none !important;
}
.enterprise-sidebar .enterprise-brand-mark { background: #2878d5 !important; }
.enterprise-sidebar .enterprise-brand-mark svg { width: 21px !important; height: 21px !important; fill: none !important; stroke: currentColor !important; stroke-width: 2 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
.enterprise-sidebar .enterprise-brand-mark { width: 48px !important; height: 48px !important; flex: 0 0 48px !important; overflow: hidden !important; border-radius: 10px !important; background: #10271d !important; }
.enterprise-sidebar .enterprise-brand-mark img { display: block !important; width: 100% !important; height: 100% !important; object-fit: contain !important; }
.enterprise-sidebar .enterprise-brand-copy strong { color: #17212f !important; font-size: 15px !important; letter-spacing: 0 !important; text-transform: none !important; }
.enterprise-sidebar .enterprise-brand-copy small { color: #788495 !important; }
.enterprise-sidebar .sidebar-nav { display: flex !important; flex: 1 1 auto !important; flex-direction: column !important; gap: 5px !important; padding: 18px 14px !important; }
.enterprise-sidebar .sidebar-divider { height: 1px; flex: 0 0 1px; margin: 10px 8px; background: #e2e7ed; }
.enterprise-sidebar a.sidebar-link,
.enterprise-sidebar a.sidebar-link:visited {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 44px !important;
  padding: 10px 11px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #526174 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
.enterprise-sidebar a.sidebar-link:hover,
.enterprise-sidebar a.sidebar-link:focus-visible { background: #f4f7fb !important; color: #17212f !important; text-decoration: none !important; }
.enterprise-sidebar a.sidebar-link.active { border-color: #e1e7ef !important; background: #f7f9fc !important; color: #17212f !important; font-weight: 650 !important; }
.enterprise-sidebar .nav-symbol { display: grid !important; width: 24px !important; place-items: center !important; color: #2878d5 !important; font-size: 18px !important; }
.enterprise-sidebar .nav-symbol svg { display: block !important; width: 19px !important; height: 19px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
.enterprise-sidebar .sidebar-footer { display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 14px !important; border-top: 1px solid #e9edf2 !important; }
.enterprise-sidebar .sidebar-user-pill { display: flex !important; align-items: center !important; gap: 10px !important; padding: 10px !important; border: 1px solid #e2e7ed !important; border-radius: 10px !important; background: #fff !important; }
.enterprise-sidebar .enterprise-avatar { display: grid !important; width: 36px !important; height: 36px !important; flex: 0 0 36px !important; place-items: center !important; border-radius: 50% !important; background: #dceaff !important; color: #2467b5 !important; font-size: 12px !important; font-weight: 700 !important; }
.enterprise-sidebar .sidebar-user-info { display: flex !important; min-width: 0 !important; flex-direction: column !important; gap: 3px !important; }
.enterprise-sidebar .sidebar-user-info .cashier-name { overflow: hidden !important; color: #17212f !important; font-size: 12px !important; text-overflow: ellipsis !important; }
.enterprise-sidebar .sidebar-user-info .cashier-role { color: #788495 !important; font-size: 10px !important; }
.enterprise-sidebar a.sidebar-logout,
.enterprise-sidebar a.sidebar-logout:visited {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 10px 14px !important;
  border: 1px solid #e3e8ef !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  color: #566579 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease !important;
}
.enterprise-sidebar a.sidebar-logout:hover,
.enterprise-sidebar a.sidebar-logout:focus-visible { border-color: #f1caca !important; background: #fff4f3 !important; color: #b42318 !important; text-decoration: none !important; }
.enterprise-sidebar a.sidebar-logout:focus-visible { outline: 3px solid rgb(180 35 24 / 18%) !important; outline-offset: 2px !important; }

/* Brand and navigation refinements shared across all admin modules. */
.enterprise-sidebar .enterprise-brand,
.enterprise-sidebar a.enterprise-brand {
  justify-content: center !important;
  min-height: 104px !important;
  padding: 12px 20px !important;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%) !important;
}
.enterprise-sidebar .enterprise-brand-image {
  display: block !important;
  width: 188px !important;
  max-width: 100% !important;
  height: 76px !important;
  object-fit: contain !important;
  background: transparent !important;
  filter: drop-shadow(0 5px 10px rgb(16 39 29 / 10%));
}
.app-shell > .sidebar .brand-logo,
.app-shell > .sidebar .brand-wrap .brand-logo {
  display: block !important;
  width: min(100%, 178px) !important;
  height: 82px !important;
  flex: 0 1 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border-radius: 9px !important;
}
.app-shell > .sidebar:not(.enterprise-sidebar) .brand-logo { padding: 6px !important; border-radius: 50% !important; background: #eee9dc !important; }
.supplier-reference-sidebar .brand { justify-content: center !important; padding: 0 8px 32px !important; }
.supplier-reference-sidebar .supplier-brand-logo {
  display: block !important;
  width: 156px !important;
  max-width: 100% !important;
  height: 112px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  padding: 8px !important;
  background: #eee9dc !important;
}
.login-brand-logo {
  display: block !important;
  width: 68px !important;
  height: 68px !important;
  flex: 0 0 68px !important;
  object-fit: contain !important;
  padding: 8px !important;
  border: 1px solid rgb(184 145 82 / 30%) !important;
  border-radius: 50% !important;
  background: #eee9dc !important;
  box-shadow: 0 7px 20px rgb(0 0 0 / 16%) !important;
}
.auth-brand-logo {
  padding: 12px !important;
  border: 1px solid rgb(184 145 82 / 32%) !important;
  border-radius: 50% !important;
  background: #eee9dc !important;
  filter: drop-shadow(0 7px 16px rgb(0 0 0 / 22%)) !important;
}
.login-mobile-brand .login-brand-logo { width: 58px !important; height: 58px !important; flex-basis: 58px !important; }
.enterprise-sidebar .sidebar-section-label {
  padding: 9px 11px 3px !important;
  color: #8995a5 !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: .12em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}
.enterprise-sidebar a.sidebar-link {
  position: relative !important;
  transition: background-color .16s ease, color .16s ease, transform .16s ease, border-color .16s ease !important;
}
.enterprise-sidebar a.sidebar-link:hover { transform: translateX(2px); }
.enterprise-sidebar a.sidebar-link:focus-visible {
  outline: 3px solid rgb(40 120 213 / 28%) !important;
  outline-offset: 1px !important;
}
.enterprise-sidebar a.sidebar-link.active {
  border-color: #dce7f5 !important;
  background: linear-gradient(100deg, #edf5ff 0%, #f7faff 100%) !important;
  box-shadow: inset 3px 0 0 #2878d5 !important;
}
.enterprise-sidebar .sidebar-divider { margin: 12px 8px 8px !important; }
.enterprise-sidebar .sidebar-footer { background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%); }

/* POS has legacy dark sidebar rules; keep the shared admin navigation light there too. */
body.cashier-shell .cashier-workspace > .enterprise-sidebar.admin-sidebar {
  flex: 0 0 244px !important;
  width: 244px !important;
  min-width: 244px !important;
  max-width: 244px !important;
  background: #fff !important;
  color: #263447 !important;
  border-right: 1px solid #e2e7ed !important;
  box-shadow: none !important;
}
body.cashier-shell .cashier-workspace > .enterprise-sidebar .enterprise-brand { background: #fff !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .enterprise-brand-mark { display: none !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .enterprise-brand-image { display: block !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .enterprise-brand-mark img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .enterprise-brand-copy { display: flex !important; min-width: 0 !important; flex-direction: column !important; gap: 3px !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .enterprise-brand-copy strong { color: #17212f !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .enterprise-brand-copy small { color: #788495 !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .sidebar-nav { flex-direction: column !important; align-items: stretch !important; padding: 18px 14px !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar a.sidebar-link { flex-direction: row !important; justify-content: flex-start !important; gap: 12px !important; min-height: 44px !important; padding: 10px 11px !important; color: #526174 !important; font-size: 14px !important; text-align: left !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar a.sidebar-link .sidebar-label { display: block !important; flex: 1 1 auto !important; min-width: 0 !important; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; line-height: 1.35 !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar a.sidebar-link.active { border-color: #e1e7ef !important; background: #f7f9fc !important; color: #17212f !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .sidebar-footer { display: flex !important; margin-top: auto !important; padding: 14px !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .sidebar-user-info { display: flex !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar .sidebar-user-pill { display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 10px !important; padding: 10px !important; border: 1px solid #e2e7ed !important; border-radius: 10px !important; background: #fff !important; }
body.cashier-shell .cashier-workspace > .enterprise-sidebar a.sidebar-logout { justify-content: center !important; color: #566579 !important; }
body.cashier-shell .cashier-workspace > .admin-layout { flex: 1 1 auto !important; width: calc(100vw - 244px) !important; max-width: calc(100vw - 244px) !important; }

@media (max-width: 700px) {
  .enterprise-sidebar.admin-sidebar { width: 100% !important; min-width: 0 !important; max-width: none !important; }
  .enterprise-sidebar .sidebar-nav { flex-direction: row !important; overflow-x: auto !important; }
  .enterprise-sidebar .sidebar-footer { display: none !important; }
  body.cashier-shell .cashier-workspace > .enterprise-sidebar.admin-sidebar { width: 100% !important; min-width: 0 !important; max-width: none !important; }
  body.cashier-shell .cashier-workspace > .admin-layout { width: 100% !important; max-width: 100% !important; }
}

/* Dark executive dashboard theme, scoped to the admin portal only. */
body.admin-shell.enterprise-shell {
  --dash-bg: #101117;
  --dash-panel: #191b24;
  --dash-border: #2d303b;
  --dash-muted: #a4a9b8;
  display: flex !important;
  min-height: 100vh !important;
  height: 100vh !important;
  overflow: hidden !important;
  background: var(--dash-bg) !important;
  color: #f6f6f8 !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar.admin-sidebar {
  flex: 0 0 188px !important;
  width: 188px !important;
  min-width: 188px !important;
  max-width: 188px !important;
  height: 100vh !important;
  padding: 0 12px !important;
  border-right: 1px solid #292a32 !important;
  background: linear-gradient(180deg, #17171c 0%, #111218 100%) !important;
  color: #d9dbe3 !important;
  box-shadow: 9px 0 30px rgb(0 0 0 / 18%) !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar .enterprise-brand,
body.admin-shell.enterprise-shell > .enterprise-sidebar a.enterprise-brand {
  justify-content: center !important;
  min-height: 148px !important;
  margin: 0 -12px 12px !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid #292a32 !important;
  background: #151519 !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar .enterprise-brand-image {
  width: 98px !important;
  height: 98px !important;
  padding: 6px !important;
  border: 1px solid rgb(218 187 127 / 38%) !important;
  border-radius: 50% !important;
  background: #eee9dc !important;
  filter: drop-shadow(0 4px 12px rgb(0 0 0 / 24%)) !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-nav {
  gap: 4px !important;
  padding: 4px 0 12px !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-section-label {
  padding: 14px 10px 6px !important;
  color: #777b89 !important;
  font-size: 9px !important;
  letter-spacing: .15em !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-divider {
  margin: 8px 4px 2px !important;
  background: #30313a !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-link,
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-link:visited {
  min-height: 39px !important;
  gap: 10px !important;
  padding: 8px 9px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  color: #b9bdc9 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar .nav-symbol { width: 21px !important; color: #9da5b5 !important; }
body.admin-shell.enterprise-shell > .enterprise-sidebar .nav-symbol svg { width: 17px !important; height: 17px !important; }
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-link:hover,
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-link:focus-visible {
  transform: translateX(2px);
  background: #22232c !important;
  color: #fff !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-link.active {
  border-color: #bc373d !important;
  background: linear-gradient(110deg, #aa292f, #842329) !important;
  box-shadow: inset 3px 0 #ef545b !important;
  color: #fff !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-link.active .nav-symbol { color: #fff !important; }
body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-footer {
  gap: 7px !important;
  margin: auto -12px 0 !important;
  padding: 12px !important;
  border-top: 1px solid #292a32 !important;
  background: #14151b !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-user-pill {
  padding: 8px !important;
  border: 1px solid #2e303a !important;
  border-radius: 8px !important;
  background: #1b1d26 !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar .enterprise-avatar { background: #303c52 !important; color: #e2e9fb !important; }
body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-user-info .cashier-name { color: #f2f3f7 !important; }
body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-user-info .cashier-role { color: #9da3b1 !important; }
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-logout,
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-logout:visited {
  min-height: 34px !important;
  justify-content: flex-start !important;
  border: 0 !important;
  background: transparent !important;
  color: #aeb3c0 !important;
  font-size: 12px !important;
}
body.admin-shell.enterprise-shell > .enterprise-sidebar a.sidebar-logout:hover { background: #25212a !important; color: #ff8e91 !important; }
body.admin-shell.enterprise-shell > .admin-layout.enterprise-layout {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100vh !important;
  overflow: auto !important;
  background: radial-gradient(ellipse at 70% 0%, #1b1b24 0%, #111219 55%, #101117 100%) !important;
}
body.admin-shell.enterprise-shell .enterprise-content {
  display: block !important;
  width: min(1500px, calc(100% - 32px)) !important;
  max-width: none !important;
  min-height: 100% !important;
  padding: 10px 0 24px !important;
}
body.admin-shell.enterprise-shell .dashboard-topbar {
  min-height: 54px;
  margin: 0 -16px 10px !important;
  padding: 0 20px !important;
  border-bottom: 1px solid #272a33 !important;
  background: rgb(16 17 23 / 86%);
}
body.admin-shell.enterprise-shell .dashboard-tools { width: 100%; gap: 12px; }
body.admin-shell.enterprise-shell .dashboard-search {
  flex: 0 1 340px;
  width: min(340px, 45vw) !important;
  height: 36px !important;
  border: 1px solid #252833 !important;
  border-radius: 10px !important;
  background: #1b1e28 !important;
  color: #9fa8bb !important;
}
body.admin-shell.enterprise-shell .dashboard-search svg { color: #a5b1c8 !important; }
body.admin-shell.enterprise-shell .dashboard-search input { color: #f2f3f7 !important; font-size: 12px !important; }
body.admin-shell.enterprise-shell .dashboard-search input::placeholder { color: #7e8597 !important; }
body.admin-shell.enterprise-shell .dashboard-notifications {
  width: 36px !important;
  height: 36px !important;
  border-color: #2b2e39 !important;
  background: #1b1e28 !important;
  color: #d8dce6 !important;
}
body.admin-shell.enterprise-shell .notification-wrap { margin-left: auto; }
body.admin-shell.enterprise-shell .dashboard-notifications:hover,
body.admin-shell.enterprise-shell .dashboard-notifications[aria-expanded="true"] { border-color: #484c59 !important; background: #252833 !important; }
body.admin-shell.enterprise-shell .dashboard-account { display: flex; align-items: center; gap: 8px; margin-left: 0; padding-left: 12px; border-left: 1px solid #2d303a; color: #f0f1f5; }
body.admin-shell.enterprise-shell .dashboard-account-avatar { display: grid; width: 32px; height: 32px; place-items: center; overflow: hidden; border-radius: 50%; background: #333b4d; color: #e4e9f5; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
body.admin-shell.enterprise-shell .dashboard-account-avatar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.admin-shell.enterprise-shell .dashboard-account > span:last-child { display: grid; gap: 2px; }
body.admin-shell.enterprise-shell .dashboard-account strong { font-size: 11px; }
body.admin-shell.enterprise-shell .dashboard-account small { color: #9da4b3; font-size: 9px; }
body.admin-shell.enterprise-shell .dashboard-hero {
  position: relative;
  display: flex;
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 18px 24px;
  border: 1px solid #31323a;
  border-radius: 10px;
  background: linear-gradient(90deg, rgb(15 16 21 / 98%) 0%, rgb(15 16 21 / 82%) 43%, rgb(15 16 21 / 14%) 100%), url('/images/japzgrill-banner-burger.png') center 53% / cover no-repeat;
  box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
}
body.admin-shell.enterprise-shell .dashboard-hero-copy { position: relative; z-index: 1; }
body.admin-shell.enterprise-shell .dashboard-hero-kicker { color: #e5b870; font-size: 8px; font-weight: 800; letter-spacing: .17em; }
body.admin-shell.enterprise-shell .dashboard-hero h1 { margin: 6px 0 3px; color: #f7f7f9; font-size: clamp(23px, 2.5vw, 31px); font-weight: 750; letter-spacing: -.04em; line-height: 1.12; }
body.admin-shell.enterprise-shell .dashboard-hero h1 em { color: #ef555c; font-style: normal; }
body.admin-shell.enterprise-shell .dashboard-hero p { margin: 0 0 8px; color: #d5d6db; font-size: 12px; }
body.admin-shell.enterprise-shell .dashboard-hero-date { display: flex; align-items: center; gap: 6px; color: #c4c8d2; font-size: 10px; }
body.admin-shell.enterprise-shell .dashboard-hero-date svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.admin-shell.enterprise-shell .dashboard-hero-brand { display: grid; align-content: center; justify-items: end; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: clamp(16px, 2vw, 25px); font-style: italic; font-weight: 700; text-shadow: 0 2px 16px #000; transform: rotate(-6deg); }
body.admin-shell.enterprise-shell .dashboard-hero-brand span { margin-top: 4px; color: #f26a6e; font-family: "DM Sans", sans-serif; font-size: 7px; font-style: normal; letter-spacing: .19em; }
body.admin-shell.enterprise-shell .dashboard-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 9px !important; margin-bottom: 12px !important; }
body.admin-shell.enterprise-shell .metric-card {
  min-height: 96px !important;
  gap: 4px !important;
  padding: 12px 13px !important;
  border: 1px solid #2c2e38 !important;
  border-radius: 9px !important;
  background: linear-gradient(145deg, #1c1e27, #171921) !important;
  box-shadow: 0 5px 14px rgb(0 0 0 / 14%) !important;
}
body.admin-shell.enterprise-shell .metric-card::before { display: none !important; }
body.admin-shell.enterprise-shell .metric-card > span { color: #c4c7d0 !important; font-size: 10px !important; }
body.admin-shell.enterprise-shell .metric-card > strong { color: #f7f7f9 !important; font-size: 19px !important; }
body.admin-shell.enterprise-shell .metric-card > small { color: #adb2bf !important; font-size: 9px !important; }
body.admin-shell.enterprise-shell .metric-card .metric-positive,
body.admin-shell.enterprise-shell .metric-card .metric-good { color: #49d68a !important; }
body.admin-shell.enterprise-shell .metric-card .metric-alert { color: #ff6269 !important; }
body.admin-shell.enterprise-shell .metric-icon-badge { top: 12px !important; right: 12px !important; width: 34px !important; height: 34px !important; border-radius: 50% !important; background: var(--metric-accent) !important; color: #fff !important; }
body.admin-shell.enterprise-shell .metric-icon-badge svg { width: 17px !important; height: 17px !important; }
body.admin-shell.enterprise-shell .metric-icon-badge svg,
body.admin-shell.enterprise-shell .quick-access-card > svg { fill: currentColor !important; stroke: none !important; }
body.admin-shell.enterprise-shell .metric-sales { --metric-accent: #bd343d; }
body.admin-shell.enterprise-shell .metric-orders { --metric-accent: #b8762c; }
body.admin-shell.enterprise-shell .metric-stock { --metric-accent: #3378d3; }
body.admin-shell.enterprise-shell .metric-staff { --metric-accent: #2c9961; }
body.admin-shell.enterprise-shell .metric-card:hover { transform: translateY(-2px) !important; border-color: #484b59 !important; box-shadow: 0 10px 25px rgb(0 0 0 / 25%) !important; }
body.admin-shell.enterprise-shell .dashboard-quick-access { margin: 0 0 12px; }
body.admin-shell.enterprise-shell .dashboard-quick-access h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #eff0f4; font-size: 14px; font-weight: 650; }
body.admin-shell.enterprise-shell .dashboard-quick-access h2::before { width: 3px; height: 17px; border-radius: 3px; background: #ef4f58; content: ""; }
body.admin-shell.enterprise-shell .quick-access-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
body.admin-shell.enterprise-shell .quick-access-card {
  position: relative;
  display: flex;
  min-height: 94px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  padding: 10px 20px 10px 10px;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 1px rgb(255 255 255 / 10%), 0 6px 18px rgb(0 0 0 / 13%);
  transition: transform .16s ease, filter .16s ease;
}
body.admin-shell.enterprise-shell .quick-access-card:hover { transform: translateY(-2px); filter: brightness(1.12); text-decoration: none; }
body.admin-shell.enterprise-shell .quick-access-card > svg { width: 21px; height: 21px; margin-bottom: 1px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.admin-shell.enterprise-shell .quick-access-card strong { font-size: 11px; }
body.admin-shell.enterprise-shell .quick-access-card small { max-width: 150px; color: rgb(255 255 255 / 82%); font-size: 8px; line-height: 1.3; }
body.admin-shell.enterprise-shell .quick-access-arrow { position: absolute; right: 8px; bottom: 8px; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 65%); color: #262833; font-size: 12px; }
body.admin-shell.enterprise-shell .quick-pos { background: linear-gradient(145deg, #b62f39, #781f2a); }
body.admin-shell.enterprise-shell .quick-inventory { background: linear-gradient(145deg, #ca6d2b, #82411f); }
body.admin-shell.enterprise-shell .quick-supplier { background: linear-gradient(145deg, #278252, #185038); }
body.admin-shell.enterprise-shell .quick-customers { background: linear-gradient(145deg, #3477c5, #214a83); }
body.admin-shell.enterprise-shell .quick-hr { background: linear-gradient(145deg, #7935a1, #4d286e); }
body.admin-shell.enterprise-shell .dashboard-activity-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 10px; }
body.admin-shell.enterprise-shell .dashboard-panel,
body.admin-shell.enterprise-shell .dashboard-bottom-grid .dashboard-panel {
  min-width: 0;
  min-height: 0;
  padding: 11px 12px;
  border: 1px solid #2c2f3a;
  border-radius: 9px;
  background: linear-gradient(145deg, #1a1c25, #15171f);
  box-shadow: 0 5px 17px rgb(0 0 0 / 13%);
}
body.admin-shell.enterprise-shell .dashboard-panel:hover { border-color: #3c3f4b; }
body.admin-shell.enterprise-shell .dashboard-panel .panel-heading { margin-bottom: 8px; }
body.admin-shell.enterprise-shell .dashboard-panel .panel-heading h2 { color: #f0f1f5; font-size: 12px; }
body.admin-shell.enterprise-shell .dashboard-panel .panel-heading > span,
body.admin-shell.enterprise-shell .dashboard-panel .panel-heading a { color: #b2b7c4; font-size: 9px; }
body.admin-shell.enterprise-shell .dashboard-bottom-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
body.admin-shell.enterprise-shell .sales-panel { margin: 0 !important; background: linear-gradient(145deg, #1a1c25, #15171f) !important; }
body.admin-shell.enterprise-shell .sales-chart { height: 155px; border-color: #323540; background: repeating-linear-gradient(to top, transparent 0, transparent 36px, rgb(255 255 255 / 5%) 37px, transparent 38px); }
body.admin-shell.enterprise-shell .sales-day { color: #9da3b2; font-size: 9px; }
body.admin-shell.enterprise-shell .sales-bar { width: min(28px, 60%); border-radius: 5px 5px 0 0; background: #71404a; }
body.admin-shell.enterprise-shell .sales-bar.today { background: #ed4c56; box-shadow: 0 0 14px rgb(237 76 86 / 22%); }
body.admin-shell.enterprise-shell .sales-chart.is-line-chart {
  position: relative;
  display: grid;
  height: 188px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 0 0 0 38px;
  border: 0;
  background: none;
}
body.admin-shell.enterprise-shell .sales-chart.is-line-chart .sales-day { position: relative; z-index: 1; justify-content: flex-end; gap: 5px; }
body.admin-shell.enterprise-shell .sales-chart.is-line-chart .sales-bar-track { display: none; }
body.admin-shell.enterprise-shell .sales-line-overlay { position: absolute; z-index: 0; inset: 7px 0 23px 38px; width: calc(100% - 38px); height: calc(100% - 30px); overflow: visible; }
body.admin-shell.enterprise-shell .sales-grid-line { fill: none; stroke: #30333d; stroke-width: 1; vector-effect: non-scaling-stroke; }
body.admin-shell.enterprise-shell .sales-area-fill { fill: url(#salesAreaFill); }
body.admin-shell.enterprise-shell .sales-trend-line { fill: none; stroke: #f04c58; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgb(240 76 88 / 36%)); }
body.admin-shell.enterprise-shell .sales-trend-point { fill: #f04c58; stroke: #f2e9ea; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
body.admin-shell.enterprise-shell .sales-trend-point.today { fill: #fff; stroke: #f04c58; stroke-width: 2.5; }
body.admin-shell.enterprise-shell .sales-axis-labels { position: absolute; inset: 5px auto 25px 0; display: flex; width: 34px; flex-direction: column; justify-content: space-between; color: #969baa; font-size: 8px; text-align: left; }
body.admin-shell.enterprise-shell .sales-axis-labels span { line-height: 1; }
body.admin-shell.enterprise-shell .dashboard-list-row { min-height: 33px; border-color: #2a2d37; color: #eceef3; font-size: 10px; }
body.admin-shell.enterprise-shell .dashboard-list-row small { color: #9fa5b2; font-size: 9px; }
body.admin-shell.enterprise-shell .order-status,
body.admin-shell.enterprise-shell .stock-pill { padding: 3px 7px; background: #292c36; color: #d2d5dd; font-size: 9px; }
body.admin-shell.enterprise-shell .status-preparing { background: #5a3a1e; color: #ffc77c; }
body.admin-shell.enterprise-shell .status-ready { background: #1c5036; color: #71e1a0; }
body.admin-shell.enterprise-shell .status-completed { background: #30333d; color: #c5c9d3; }
body.admin-shell.enterprise-shell .status-pending { background: #2d3958; color: #a9bcff; }
body.admin-shell.enterprise-shell .stock-pill { background: #542a2d; color: #ff9b9f; }
body.admin-shell.enterprise-shell .dashboard-empty { color: #a2a8b5; font-size: 10px; }
body.admin-shell.enterprise-shell .dashboard-notification-panel { border-color: #333641; background: #1c1e27; box-shadow: 0 14px 36px rgb(0 0 0 / 45%); }
body.admin-shell.enterprise-shell .dashboard-notification-panel .notification-panel-heading { border-color: #30323c; color: #f2f3f6; }
body.admin-shell.enterprise-shell .dashboard-notification-panel .notification-panel-heading span,
body.admin-shell.enterprise-shell .dashboard-notification-panel .notification-item small,
body.admin-shell.enterprise-shell .dashboard-notification-panel .notification-empty { color: #a8adba; }
body.admin-shell.enterprise-shell .dashboard-notification-panel .notification-item { border-color: #30323c; color: #eceef3; }
body.admin-shell.enterprise-shell .dashboard-notification-panel .notification-item:hover { background: #272a34; }
@media (max-width: 950px) {
  body.admin-shell.enterprise-shell .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.admin-shell.enterprise-shell .quick-access-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.admin-shell.enterprise-shell .dashboard-activity-grid { grid-template-columns: 1fr; }
  body.admin-shell.enterprise-shell .dashboard-bottom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 700px) {
  body.admin-shell.enterprise-shell { height: auto !important; min-height: 100vh !important; overflow: auto !important; flex-direction: column !important; }
  body.admin-shell.enterprise-shell > .enterprise-sidebar.admin-sidebar { position: relative !important; flex: 0 0 auto !important; width: 100% !important; min-width: 0 !important; max-width: none !important; height: auto !important; padding: 0 10px !important; }
  body.admin-shell.enterprise-shell > .enterprise-sidebar .enterprise-brand { display: none !important; }
  body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-nav { flex-direction: row !important; overflow-x: auto !important; padding: 8px 0 !important; }
  body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-section-label,
  body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-divider,
  body.admin-shell.enterprise-shell > .enterprise-sidebar .sidebar-footer { display: none !important; }
  body.admin-shell.enterprise-shell > .admin-layout.enterprise-layout { width: 100% !important; height: auto !important; overflow: visible !important; }
  body.admin-shell.enterprise-shell .enterprise-content { width: calc(100% - 24px) !important; padding: 8px 0 20px !important; }
  body.admin-shell.enterprise-shell .dashboard-topbar { margin: 0 -12px 8px !important; padding: 0 12px !important; }
  body.admin-shell.enterprise-shell .dashboard-account > span:last-child { display: none; }
  body.admin-shell.enterprise-shell .dashboard-hero { min-height: 120px; padding: 14px; background-position: 58% center; }
  body.admin-shell.enterprise-shell .dashboard-hero-brand { display: none; }
  body.admin-shell.enterprise-shell .quick-access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.admin-shell.enterprise-shell .dashboard-bottom-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 420px) {
  body.admin-shell.enterprise-shell .dashboard-search { width: auto !important; flex: 1 1 auto; }
  body.admin-shell.enterprise-shell .dashboard-tools { gap: 8px; }
  body.admin-shell.enterprise-shell .dashboard-metrics { grid-template-columns: 1fr !important; }
  body.admin-shell.enterprise-shell .quick-access-grid { grid-template-columns: 1fr 1fr; }
}

/* Administrator's five-department oversight cards. */
body.admin-shell.enterprise-shell .dashboard-departments { margin: 14px 0 16px; }
body.admin-shell.enterprise-shell .dashboard-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 10px; }
body.admin-shell.enterprise-shell .dashboard-section-kicker { color: #ee6970; font-size: 9px; font-weight: 750; letter-spacing: .14em; }
body.admin-shell.enterprise-shell .dashboard-section-heading h2 { margin: 3px 0 2px; color: #f3f4f7; font-size: 16px; font-weight: 700; }
body.admin-shell.enterprise-shell .dashboard-section-heading p { margin: 0; color: #a5aaba; font-size: 11px; }
body.admin-shell.enterprise-shell .department-count { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #343744; border-radius: 20px; background: #1b1d25; color: #c5c9d4; font-size: 10px; }
body.admin-shell.enterprise-shell .department-overview-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
body.admin-shell.enterprise-shell a.department-overview-card { --department-accent: #ec4c55; position: relative; display: flex; min-width: 0; min-height: 143px; flex-direction: column; align-items: flex-start; gap: 6px; overflow: hidden; padding: 13px; border: 1px solid color-mix(in srgb, var(--department-accent), #262833 70%); border-radius: 11px; background: linear-gradient(145deg, color-mix(in srgb, var(--department-accent), #1b1d25 76%), #191b23 78%); color: #f3f4f7; text-decoration: none; transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
body.admin-shell.enterprise-shell a.department-overview-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--department-accent), #fff 20%); box-shadow: 0 9px 22px rgb(0 0 0 / 20%); }
body.admin-shell.enterprise-shell a.department-overview-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--department-accent), #fff 25%); outline-offset: 2px; }
body.admin-shell.enterprise-shell .department-pos { --department-accent: #ed4b55 !important; }
body.admin-shell.enterprise-shell .department-inventory { --department-accent: #e9953f !important; }
body.admin-shell.enterprise-shell .department-supplier { --department-accent: #2bb878 !important; }
body.admin-shell.enterprise-shell .department-customers { --department-accent: #4289ed !important; }
body.admin-shell.enterprise-shell .department-hr { --department-accent: #a35be3 !important; }
body.admin-shell.enterprise-shell .department-icon { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--department-accent), transparent 78%); color: var(--department-accent); }
body.admin-shell.enterprise-shell .department-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.admin-shell.enterprise-shell .department-name { color: #c6cad4; font-size: 9px; font-weight: 700; letter-spacing: .025em; }
body.admin-shell.enterprise-shell .department-overview-card > strong { overflow: hidden; max-width: 100%; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
body.admin-shell.enterprise-shell .department-overview-card > small { overflow: hidden; max-width: 100%; color: #a5aaba; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
body.admin-shell.enterprise-shell .department-open { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 7px; border-top: 1px solid rgb(255 255 255 / 9%); color: color-mix(in srgb, var(--department-accent), #fff 25%); font-size: 9px; font-weight: 700; }
@media (max-width: 1200px) {
  body.admin-shell.enterprise-shell .department-overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  body.admin-shell.enterprise-shell .department-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.admin-shell.enterprise-shell .dashboard-section-heading { align-items: flex-start; }
}
@media (max-width: 420px) {
  body.admin-shell.enterprise-shell .department-overview-grid { grid-template-columns: 1fr; }
  body.admin-shell.enterprise-shell .department-overview-card { min-height: 132px; }
}
