@font-face {
  font-family: "Omoto";
  src:
    local("Omoto"),
    local("Otomo Regular"),
    local("Otomo"),
    url("/fonts/omoto/Omoto.woff2") format("woff2"),
    url("/fonts/omoto/Omoto.woff") format("woff"),
    url("/fonts/omoto/Otomo%20Regular.ttf") format("truetype"),
    url("/fonts/Otomo%20Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html:has(body.dashboard-redesign) {
  background: rgba(23, 33, 43, 1);
  scrollbar-width: thin;
  scrollbar-color: #242F3D rgba(23, 33, 43, 1);
}

html:has(body.dashboard-redesign)::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html:has(body.dashboard-redesign)::-webkit-scrollbar-track {
  background: rgba(23, 33, 43, 1);
}

html:has(body.dashboard-redesign)::-webkit-scrollbar-thumb {
  background: #242F3D;
  border-radius: 999px;
}

html:has(body.dashboard-redesign)::-webkit-scrollbar-thumb:hover {
  background: #2f3d4f;
}

html:has(body.dashboard-redesign)::-webkit-scrollbar-corner {
  background: rgba(23, 33, 43, 1);
}

body.dashboard-redesign {
  --dash-bg: rgba(23, 33, 43, 1);
  --dash-surface: rgba(36, 47, 61, 0.75);
  --dash-surface-solid: #242F3D;
  --dash-surface-variant: #39495e;
  --dash-line: #2c3743;
  --dash-text: #ffffff;
  --dash-muted: #7f91a4;
  --dash-accent: rgba(113, 119, 248, 1);
  margin: 0;
  min-width: 1216px;
  background: var(--dash-bg);
  color: var(--dash-text);
  font-family: Stem, Tahoma, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #242F3D var(--dash-bg);
}

body.dashboard-redesign .dashboard-stage-shell {
  width: 100%;
  min-height: 100vh;
  overflow: visible;
}

body.dashboard-redesign::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body.dashboard-redesign::-webkit-scrollbar-track {
  background: var(--dash-bg);
}

body.dashboard-redesign::-webkit-scrollbar-thumb {
  background: #242F3D;
  border-radius: 999px;
}

body.dashboard-redesign::-webkit-scrollbar-thumb:hover {
  background: #2f3d4f;
}

body.dashboard-redesign::-webkit-scrollbar-corner {
  background: var(--dash-bg);
}

body.dashboard-redesign .dashboard-stage-frame {
  width: 100%;
  max-width: 1446px;
  min-height: 100vh;
  margin: 0 auto;
}

body.dashboard-redesign .dashboard-stage {
  display: grid;
  grid-template-areas:
    "header header header header header"
    ". sidebar . content .";
  grid-template-columns: 1fr 256px 40px 920px 1fr;
  grid-template-rows: 76px auto;
  row-gap: 32px;
  width: 100%;
  min-height: 100vh;
  padding-bottom: 32px;
}

body.dashboard-redesign .mobile-menu-btn,
body.dashboard-redesign .sidebar-overlay,
body.dashboard-redesign .sb-logo,
body.dashboard-redesign .sb-toggle {
  display: none !important;
}

body.dashboard-redesign .dashboard-header {
  grid-area: header;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  background: var(--dash-surface);
  border-bottom: none;
}

body.dashboard-redesign .dashboard-header-inner {
  width: 100%;
  height: 60px;
  margin-top: 6px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 256px 40px 920px 1fr;
  align-items: center;
  overflow: visible;
}

body.dashboard-redesign .dh-left {
  display: contents;
}

body.dashboard-redesign .dh-logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  color: var(--dash-text);
  font-family: Omoto, "Omoto Std", "Omotype", Stem, Tahoma, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.004em;
  text-transform: none;
  white-space: nowrap;
}

body.dashboard-redesign .dh-logo-accent {
  color: rgba(113, 119, 248, 1);
}

body.dashboard-redesign .dh-search {
  grid-column: 4;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  position: relative;
  width: 198px;
  margin: 0;
  transition: width 0.26s ease;
}

body.dashboard-redesign .dh-search:focus-within {
  width: 594px;
}

body.dashboard-redesign .dh-search .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--dash-muted);
}

body.dashboard-redesign .dh-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 42px;
  border-radius: 8px;
  border: 1px solid rgba(36, 47, 61, 0.75);
  background: var(--dash-bg);
  color: var(--dash-text);
  font-size: 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
  outline: none;
}

body.dashboard-redesign .dh-search input::placeholder {
  color: rgba(127, 145, 164, 0.85);
}

body.dashboard-redesign .dh-search:hover input {
  border-color: rgba(113, 119, 248, 0.78);
  box-shadow: none;
}

body.dashboard-redesign .dh-search input:focus {
  border-color: rgba(113, 119, 248, 0.78);
  box-shadow: none;
  background: rgba(30, 43, 60, 0.95);
}

/* На страницах с классом pt-dark (department, order-detail, new-order и т.д.)
   правило `body.pt-dark input[type="text"]` перебивает фон серч-инпута шапки через !important.
   Возвращаем ему фон страницы, чтобы поиск выглядел одинаково на всех страницах. */
body.pt-dark.dashboard-redesign .dh-search input,
body.pt-dark.dashboard-redesign .dh-search input[type="text"],
body.pt-dark.dashboard-redesign .dh-search input[type="search"] {
  background: var(--dash-bg) !important;
  border: 1px solid rgba(36, 47, 61, 0.75) !important;
  color: var(--dash-text) !important;
}

body.pt-dark.dashboard-redesign .dh-search input:focus {
  background: rgba(30, 43, 60, 0.95) !important;
  border-color: rgba(113, 119, 248, 0.78) !important;
  box-shadow: none !important;
}

body.dashboard-redesign .dh-user-menu {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  position: relative;
  display: inline-flex;
  align-items: center;
}

body.dashboard-redesign .dh-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--dash-text);
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
}

body.dashboard-redesign .dh-user-role {
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

body.dashboard-redesign .dh-user-avatar-wrap {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(127, 145, 164, 0.35);
  background: rgba(26, 38, 53, 0.72);
}

body.dashboard-redesign .dh-user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.dashboard-redesign .dh-user-avatar-fallback {
  color: var(--dash-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

body.dashboard-redesign .dh-user-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(127, 145, 164, 0.95);
  border-bottom: 1.5px solid rgba(127, 145, 164, 0.95);
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.92;
  transition: border-color 0.16s ease;
}

body.dashboard-redesign .dh-user:hover .dh-user-caret,
body.dashboard-redesign .dh-user:focus-visible .dh-user-caret,
body.dashboard-redesign .dh-user-menu.is-open .dh-user-caret {
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

body.dashboard-redesign .dh-user:focus-visible {
  outline: 1px solid rgba(127, 145, 164, 0.45);
  outline-offset: 4px;
  border-radius: 6px;
}

body.dashboard-redesign .dh-user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 224px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(127, 145, 164, 0.2);
  background: #17212b;
  box-shadow: 0 16px 36px rgba(6, 11, 20, 0.42);
  z-index: 40;
}

body.dashboard-redesign .dh-user-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(230, 236, 248, 0.95);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
}

body.dashboard-redesign .dh-user-dropdown-item-action {
  cursor: pointer;
}

body.dashboard-redesign .dh-user-dropdown-item-action:hover {
  background: rgba(127, 145, 164, 0.14);
  color: #ffffff;
}

body.dashboard-redesign .dh-user-dropdown-divider {
  height: 1px;
  margin: 6px 4px;
  background: rgba(127, 145, 164, 0.2);
}

body.dashboard-redesign .container {
  display: contents;
}

body.dashboard-redesign .dark-sidebar {
  grid-area: sidebar;
  width: 256px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: start;
  color: var(--dash-muted);
  background: transparent;
  overflow: visible;
}

body.dashboard-redesign .dark-sidebar.collapsed {
  width: 256px;
}

body.dashboard-redesign .dark-sidebar.collapsed .sb-label {
  display: inline !important;
}

body.dashboard-redesign .sidebar-top-card,
body.dashboard-redesign .sidebar-main-card {
  background: var(--dash-surface);
  border-radius: 12px;
}

body.dashboard-redesign .sidebar-top-card {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  box-sizing: border-box;
  width: 256px;
  height: 136px;
  margin-bottom: 16px;
  padding: 20px 16px;
  overflow: hidden;
  transition: height 0.24s ease, padding 0.24s ease;
}

body.dashboard-redesign .sidebar-top-card.is-collapsed {
  height: 64px;
}

body.dashboard-redesign .sb-top-inner {
  width: 100%;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  overflow: hidden;
}

body.dashboard-redesign .sb-top-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-left: 0;
}

body.dashboard-redesign .sb-top-link {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 24px;
  max-height: 24px;
  padding: 0 12px;
  color: var(--dash-muted);
  text-decoration: none;
  overflow: hidden;
  transition: opacity 0.18s ease, transform 0.24s ease, max-height 0.24s ease;
}

body.dashboard-redesign .sb-top-link .icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--dash-muted);
}

body.dashboard-redesign .sb-top-label {
  font-size: 13px;
  line-height: 16px;
  white-space: nowrap;
}

body.dashboard-redesign .sb-top-link:hover,
body.dashboard-redesign .sb-top-link.active {
  color: var(--dash-text);
}

body.dashboard-redesign .sb-top-link:hover .icon,
body.dashboard-redesign .sb-top-link.active .icon {
  color: var(--dash-text);
}

body.dashboard-redesign .sb-top-toggle {
  position: absolute;
  top: 20px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--dash-muted);
  cursor: pointer;
  padding: 0;
}

body.dashboard-redesign .sb-top-toggle:hover,
body.dashboard-redesign .sb-top-toggle:focus-visible {
  color: #ffffff;
}

body.dashboard-redesign .sb-top-toggle::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.18s ease;
}

body.dashboard-redesign .sidebar-top-card.is-collapsed .sb-top-toggle::before {
  transform: rotate(135deg);
}

body.dashboard-redesign .sidebar-top-card.is-collapsed .sb-top-link:nth-child(n + 2) {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

body.dashboard-redesign .sidebar-main-card {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  box-sizing: border-box;
  width: 256px;
  height: 727px;
  padding: 20px 16px;
}

body.dashboard-redesign .sb-main-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

body.dashboard-redesign .sb-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.dashboard-redesign .sb-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.dashboard-redesign .sb-section-title {
  display: none;
}

body.dashboard-redesign .sb-section-divider {
  width: calc(100% - 24px);
  height: 1px;
  margin: 16px 12px;
  background: rgba(127, 145, 164, 0.28);
}

body.dashboard-redesign .sb-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 28px;
  padding: 2px 12px;
  color: var(--dash-muted);
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.24s ease;
}

/* Override common.css .dark-sidebar.collapsed .sb-item (spec 0,3,0)
   — we need spec ≥ 0,3,1 so sidebar collapsed-state doesn't break our layout */
body.dashboard-redesign .dark-sidebar .sb-item,
body.dashboard-redesign .dark-sidebar.collapsed .sb-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  justify-content: initial;
  gap: 12px;
  padding: 2px 12px;
}

body.dashboard-redesign .sb-item .icon,
body.dashboard-redesign .sb-item i {
  width: 24px;
  height: 24px;
  min-width: 24px;
  font-size: 14px;
  color: var(--dash-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.dashboard-redesign .sb-item .sb-label {
  font-size: 13px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dashboard-redesign .sb-item:hover,
body.dashboard-redesign .sb-item.active {
  color: var(--dash-text);
  background: transparent;
}

body.dashboard-redesign .sb-item:hover .icon,
body.dashboard-redesign .sb-item.active .icon,
body.dashboard-redesign .sb-item:hover i,
body.dashboard-redesign .sb-item.active i {
  color: var(--dash-text);
}

body.dashboard-redesign .sb-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(127, 145, 164, 0.28);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.dashboard-redesign #logoutBtn {
  margin-top: auto;
}

body.dashboard-redesign .main-content {
  grid-area: content;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: start;
  padding: 0 !important;
  margin: 0;
  overflow: visible;
  contain: none;
}

body.dashboard-redesign .dash-top-row {
  width: 100%;
  display: none;
  grid-template-columns: minmax(0, 58fr) minmax(360px, 42fr);
  gap: 18px;
  margin-bottom: 20px;
}

body.dashboard-redesign .upcoming-card,
body.dashboard-redesign .monitor-card,
body.dashboard-redesign .dashboard-orders-section {
  background: var(--dash-surface);
  border-radius: 12px;
  border: 1px solid rgba(127, 145, 164, 0.14);
  box-shadow: none;
}

body.dashboard-redesign .hm-filter-btn,
body.dashboard-redesign .monitor-period-btn,
body.dashboard-redesign .status-filter-tab,
body.dashboard-redesign .my-orders-btn,
body.dashboard-redesign .toolbar-btn,
body.dashboard-redesign .toolbar-search {
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

body.dashboard-redesign .upcoming-card,
body.dashboard-redesign .monitor-card {
  height: 248px;
  overflow: hidden;
}

body.dashboard-redesign .upcoming-card {
  display: flex;
  flex-direction: column;
  padding: 14px 16px 14px 18px;
}

body.dashboard-redesign .upcoming-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  flex: 1;
  min-height: 0;
  gap: 8px;
  align-items: stretch;
}

body.dashboard-redesign .upcoming-header {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 0 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(127, 145, 164, 0.16);
}

body.dashboard-redesign .upcoming-title {
  margin: 0;
  color: var(--dash-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

body.dashboard-redesign .upcoming-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.dashboard-redesign .hm-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(127, 145, 164, 0.18);
  background: rgba(26, 38, 53, 0.45);
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

body.dashboard-redesign .hm-filter-btn:hover {
  background: rgba(127, 145, 164, 0.12);
}

body.dashboard-redesign .hm-filter-btn.active {
  background: rgba(113, 119, 248, 0.18);
  border-color: rgba(113, 119, 248, 0.35);
  color: var(--dash-text);
}

body.dashboard-redesign .hm-filter-btn.active .hm-fdot {
  background: #ffffff !important;
}

body.dashboard-redesign .upcoming-link {
  margin-left: auto;
  color: #d6ddf4;
  font-size: 11px;
  font-weight: 600;
  line-height: 28px;
  text-decoration: none;
}

body.dashboard-redesign .upcoming-link:hover {
  color: #ffffff;
}

body.dashboard-redesign .compact-day {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 10px 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(127, 145, 164, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

body.dashboard-redesign .compact-day.is-today {
  background: rgba(113, 119, 248, 0.08);
  border-color: rgba(113, 119, 248, 0.28);
}

body.dashboard-redesign .compact-day-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

body.dashboard-redesign .compact-day-dow {
  color: var(--dash-text);
  font-size: 12px;
  line-height: 1;
  opacity: 0.8;
}

body.dashboard-redesign .compact-day-date {
  color: var(--dash-text);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 10px;
}

body.dashboard-redesign .compact-day-count {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dash-text);
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}

body.dashboard-redesign .compact-day-events {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
  scrollbar-width: thin;
}

body.dashboard-redesign .compact-day-event {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 6px 7px;
  border-radius: 8px;
  background: rgba(12, 22, 34, 0.34);
}

body.dashboard-redesign .compact-day-event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex: 0 0 auto;
}

body.dashboard-redesign .compact-day-event-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.dashboard-redesign .compact-day-event-title,
body.dashboard-redesign .compact-day-event-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dashboard-redesign .compact-day-event-title {
  color: var(--dash-text);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
}

body.dashboard-redesign .compact-day-event-meta,
body.dashboard-redesign .compact-day-more,
body.dashboard-redesign .compact-day-empty {
  color: var(--dash-muted);
  font-size: 9px;
  line-height: 1.25;
}

body.dashboard-redesign .compact-day-more {
  padding-top: 2px;
}

body.dashboard-redesign .compact-day-empty {
  margin-top: auto;
}

body.dashboard-redesign .monitor-body,
body.dashboard-redesign .monitor-line-section,
body.dashboard-redesign .monitor-line-wrap {
  width: 100%;
}

body.dashboard-redesign .monitor-card {
  display: flex;
  flex-direction: column;
  padding: 14px 16px 14px 18px;
}

body.dashboard-redesign .monitor-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

body.dashboard-redesign .monitor-line-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  border-right: none;
}

body.dashboard-redesign .monitor-line-header {
  height: auto;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.dashboard-redesign .monitor-line-title {
  display: inline-flex !important;
  align-items: center;
  color: var(--dash-text);
  font-size: 14px;
  font-weight: 600;
}

body.dashboard-redesign .monitor-period-btns {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(127, 145, 164, 0.16);
  background: rgba(26, 38, 53, 0.45);
}

body.dashboard-redesign .monitor-period-btn[data-period="24h"] {
  display: none;
}

body.dashboard-redesign .monitor-period-btn {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--dash-muted);
  font-size: 11px;
}

body.dashboard-redesign .monitor-period-btn.active {
  background: rgba(113, 119, 248, 0.18);
  color: var(--dash-text);
}

body.dashboard-redesign .monitor-live {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #8bdcb4;
  font-size: 10px;
  line-height: 1;
  opacity: 0.92;
}

body.dashboard-redesign .monitor-line-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

body.dashboard-redesign .monitor-donut-section {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 12px 0 0;
  border-top: 1px solid rgba(127, 145, 164, 0.16);
}

body.dashboard-redesign .monitor-donut-title,
body.dashboard-redesign .monitor-donut-wrap {
  display: none;
}

body.dashboard-redesign .monitor-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.dashboard-redesign .monitor-stat {
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

body.dashboard-redesign .monitor-stat-value {
  font-size: 18px;
  line-height: 1.1;
}

body.dashboard-redesign .monitor-stat-label {
  margin-top: 4px;
  font-size: 10px;
  color: var(--dash-muted);
}

body.dashboard-redesign .dashboard-orders-section {
  width: 100%;
  height: 879px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

body.dashboard-redesign .orders-toolbar {
  min-height: 46px;
  padding: 10px 14px;
  border: none;
  border-radius: 12px 12px 0 0;
  background: var(--dash-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body.dashboard-redesign .orders-toolbar-left,
body.dashboard-redesign .orders-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.dashboard-redesign .status-filter-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(23, 33, 43, 0.9);
  background: rgba(26, 38, 53, 0.45);
}

body.dashboard-redesign .status-filter-tab,
body.dashboard-redesign .my-orders-btn,
body.dashboard-redesign .toolbar-btn {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(23, 33, 43, 0.9);
  background: transparent;
  color: var(--dash-text);
  font-size: 11px;
  line-height: 1;
  font-family: inherit;
}

body.dashboard-redesign .status-filter-tab.active {
  background: rgba(113, 119, 248, 0.18);
  border-color: rgba(113, 119, 248, 0.32);
}

body.dashboard-redesign .toolbar-search-wrapper {
  position: relative;
  width: 108px;
  transition: width 0.24s ease;
}

body.dashboard-redesign .toolbar-search-wrapper:focus-within {
  width: 250px;
}

body.dashboard-redesign .toolbar-search-wrapper .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  color: var(--dash-muted);
}

body.dashboard-redesign .toolbar-search {
  width: 100%;
  height: 30px;
  padding: 0 12px 0 34px;
  border-radius: 8px;
  border: 1px solid rgba(23, 33, 43, 0.9);
  background: rgba(26, 38, 53, 0.62);
  color: var(--dash-text);
  font-size: 11px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
  outline: none;
}

body.dashboard-redesign .toolbar-search::placeholder {
  color: var(--dash-muted);
}

body.dashboard-redesign .toolbar-search-wrapper:hover .toolbar-search {
  border-color: rgba(113, 119, 248, 0.58);
}

body.dashboard-redesign .toolbar-search-wrapper:focus-within .toolbar-search {
  border-color: rgba(113, 119, 248, 0.78);
  background: rgba(30, 43, 60, 0.95);
}

body.dashboard-redesign .dashboard-orders-section .orders-table-container {
  width: 100%;
  height: 833px;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--dash-surface);
  border: none;
  border-radius: 0 0 12px 12px;
  scrollbar-width: thin;
  scrollbar-color: #242F3D var(--dash-bg);
}

body.dashboard-redesign .dashboard-orders-section .orders-table-container::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body.dashboard-redesign .dashboard-orders-section .orders-table-container::-webkit-scrollbar-track {
  background: var(--dash-bg);
}

body.dashboard-redesign .dashboard-orders-section .orders-table-container::-webkit-scrollbar-thumb {
  background: #242F3D;
  border-radius: 999px;
}

body.dashboard-redesign .dashboard-orders-section .orders-table-container::-webkit-scrollbar-thumb:hover {
  background: #2f3d4f;
}

body.dashboard-redesign .dashboard-orders-section .orders-table-container::-webkit-scrollbar-corner {
  background: var(--dash-bg);
}

body.dashboard-redesign .dashboard-orders-section .orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--dash-surface);
  table-layout: fixed;
}

body.dashboard-redesign .dashboard-orders-section .orders-table thead,
body.dashboard-redesign .dashboard-orders-section .orders-table tbody,
body.dashboard-redesign .dashboard-orders-section .orders-table tr,
body.dashboard-redesign .dashboard-orders-section .orders-table th,
body.dashboard-redesign .dashboard-orders-section .orders-table td {
  background: var(--dash-surface);
}

body.dashboard-redesign .dashboard-orders-section .orders-table th,
body.dashboard-redesign .dashboard-orders-section .orders-table td {
  border-right: 1px solid var(--dash-line);
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:last-child,
body.dashboard-redesign .dashboard-orders-section .orders-table td:last-child {
  border-right: none;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th {
  padding: 11px 14px;
  border-bottom: 1px solid var(--dash-line);
  color: rgba(214, 223, 239, 0.8);
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
}

body.dashboard-redesign .dashboard-orders-section .orders-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(127, 145, 164, 0.18);
  background: var(--dash-surface);
  color: #dce7f5 !important;
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dashboard-redesign .dashboard-orders-section .orders-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

body.dashboard-redesign .dashboard-orders-section .orders-table td:first-child,
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(2),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(3),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(4),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(8) {
  color: #dce7f5 !important;
}

body.dashboard-redesign .dashboard-orders-section .orders-table td > span,
body.dashboard-redesign .dashboard-orders-section .orders-table td > div,
body.dashboard-redesign .dashboard-orders-section .orders-table td > a {
  color: inherit;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:nth-child(1),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(1) {
  width: 17%;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:nth-child(2),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(2) {
  width: 17%;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:nth-child(3),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(3) {
  width: 11%;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:nth-child(4),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(4) {
  width: 9%;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:nth-child(5),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(5) {
  width: 10%;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:nth-child(6),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(6) {
  width: 12%;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:nth-child(7),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(7) {
  width: 13%;
}

body.dashboard-redesign .dashboard-orders-section .orders-table th:nth-child(8),
body.dashboard-redesign .dashboard-orders-section .orders-table td:nth-child(8) {
  width: 11%;
}

body.dashboard-redesign .application-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 99, 162, 0.25);
  color: #ff8cb8;
  font-size: 10px;
  font-weight: 700;
}

body.dashboard-redesign .order-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  font-size: 10px;
  font-weight: 600;
}

body.dashboard-redesign .order-status::before {
  display: none;
}

body.dashboard-redesign .order-status-in-progress,
body.dashboard-redesign .order-status-ready-ship {
  background: rgba(47, 208, 127, 0.2);
  color: #48f095;
}

body.dashboard-redesign .order-status-completed {
  background: rgba(127, 145, 164, 0.2);
  color: var(--dash-text);
}

body.dashboard-redesign .dashboard-orders-section .progress-bar {
  width: 82px;
  height: 5px;
  border-radius: 999px;
  background: rgba(127, 145, 164, 0.24);
}

body.dashboard-redesign .dashboard-orders-section .progress-fill {
  background: var(--dash-accent);
  border-radius: inherit;
  box-shadow: none;
}

@media (max-width: 1380px) {
  body.dashboard-redesign .dashboard-stage,
  body.dashboard-redesign .dashboard-header-inner {
    grid-template-columns: minmax(20px, 1fr) 256px 40px minmax(0, 920px) minmax(20px, 1fr);
  }

  body.dashboard-redesign .dash-top-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  body.dashboard-redesign .dashboard-stage,
  body.dashboard-redesign .dashboard-header-inner {
    grid-template-columns: minmax(12px, 1fr) 220px 24px minmax(0, 1fr) minmax(12px, 1fr);
    row-gap: 24px;
  }

  body.dashboard-redesign .dark-sidebar {
    width: 220px;
  }

  body.dashboard-redesign .sidebar-top-card {
    width: 220px;
  }

  body.dashboard-redesign .sidebar-main-card {
    width: 220px;
    padding-left: 16px;
    padding-right: 16px;
  }

  body.dashboard-redesign .sb-top-inner,
  body.dashboard-redesign .sb-top-menu,
  body.dashboard-redesign .sb-top-link,
  body.dashboard-redesign .sb-main-inner,
  body.dashboard-redesign .sb-nav,
  body.dashboard-redesign .sb-section-divider,
  body.dashboard-redesign .sb-item,
  body.dashboard-redesign .sb-footer {
    width: 100%;
  }

  body.dashboard-redesign .dash-top-row {
    display: none;
  }

  body.dashboard-redesign .upcoming-card,
  body.dashboard-redesign .monitor-card {
    height: auto;
  }

  body.dashboard-redesign .toolbar-search-wrapper {
    width: 180px;
  }
}
