:root {
  --okx-blue: #1E40E0;
  --okx-navy: #0A1A5C;
  --okx-bg: #F5F7FB;
  --okx-card: #fff;
  --okx-ink: #0E1530;
  --okx-muted: #566079;
  --okx-line: #E2E7F1;
  --okx-ok: #07875A;
  --okx-warn: #B45309;
  --okx-bad: #D9263B;
  --okx-accent: #FFB81C;
  --okx-side: 230px;
  --okx-header: 76px;
  --okx-ctrl: 44px;
  --okx-gap: 12px;
}

.okx-page { overflow-x: hidden; }
.okx-page .main-content,
.okx-page .page-content,
.okx-page .container-fluid,
.okx-dash,
.okx-card,
.okx-chart-wrap,
.okx-map { min-width: 0; max-width: 100%; }

@media (min-width: 992px) {
  .vertical-menu {
    top: 0;
    width: var(--okx-side);
    height: 100vh;
    background: #fff;
    border-right: 1px solid var(--okx-line);
    z-index: 1003;
  }
  #page-topbar {
    left: var(--okx-side);
    width: calc(100% - var(--okx-side));
    background: #fff;
    border-bottom: 1px solid var(--okx-line);
    box-shadow: none;
  }
  .main-content { margin-left: var(--okx-side); }
  .navbar-brand-box { display: none; }
  body.vertical-collpsed .vertical-menu { width: 70px; }
  body.vertical-collpsed #page-topbar { left: 70px; width: calc(100% - 70px); }
  body.vertical-collpsed .main-content { margin-left: 70px; }
  body.vertical-collpsed .okx-side-brand span,
  body.vertical-collpsed #side-menu span,
  body.vertical-collpsed .okx-badge,
  body.vertical-collpsed .menu-title { display: none; }
  body.vertical-collpsed .okx-side-brand { justify-content: center; padding: 8px; }
}

.vertical-menu {
  background: #fff;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}
.vertical-menu .h-100,
.vertical-menu [data-simplebar],
.vertical-menu .simplebar-content-wrapper {
  max-height: 100vh;
}
.vertical-menu [data-simplebar] {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.vertical-menu .simplebar-content-wrapper {
  overflow-x: hidden;
  overflow-y: auto;
}
.okx-side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--okx-header);
  padding: 0 12px;
  border-bottom: 1px solid var(--okx-line);
  text-decoration: none;
  color: var(--okx-navy);
  font-family: Sora, "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}
.okx-side-brand img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.okx-side-brand span { overflow: hidden; text-overflow: ellipsis; }
#sidebar-menu { padding: 4px 0 16px; }
.vertical-menu .menu-title {
  color: #8B93A7;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 14px 2px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.okx-nav-group { list-style: none; }
.okx-nav-details { margin: 0; }
.okx-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  margin: 8px 0 0;
  padding: 6px 14px;
  border: 0;
  background: transparent;
  color: #8B93A7;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  text-align: left;
  list-style: none;
  position: relative;
  z-index: 2;
}
.okx-nav-toggle::-webkit-details-marker { display: none; }
.okx-nav-toggle:focus-visible {
  outline: 2px solid var(--okx-blue);
  outline-offset: -2px;
}
.okx-nav-group.has-active > .okx-nav-details > .okx-nav-toggle,
.okx-nav-toggle.mm-active {
  background: transparent;
  color: var(--okx-navy) !important;
}
.okx-nav-group.has-active > .okx-nav-details > .okx-nav-toggle i,
.okx-nav-toggle.mm-active i { color: var(--okx-blue) !important; }
.okx-nav-toggle i {
  font-size: 10px;
  transform: rotate(-90deg);
  transition: transform .2s ease;
}
.okx-nav-details[open] > .okx-nav-toggle i { transform: none; }
.okx-nav-sub { list-style: none; margin: 0; padding: 0; }
.okx-nav-details:not([open]) > .okx-nav-sub { display: none !important; }
.okx-nav-details[open] > .okx-nav-sub {
  display: block !important;
  max-height: none !important;
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
  animation: okx-nav-in .2s ease;
}
@keyframes okx-nav-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.vertical-collpsed .okx-nav-toggle { display: none; }
body.vertical-collpsed .okx-nav-details > .okx-nav-sub { display: block !important; }
#sidebar-menu > ul > li > a,
.vertical-menu #sidebar-menu ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  height: 38px;
  padding: 0 10px;
  margin: 1px 8px;
  border-radius: 10px;
  color: #344166;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  font-family: "Plus Jakarta Sans", sans-serif;
  opacity: 1;
}
.vertical-menu #sidebar-menu ul li a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vertical-menu #sidebar-menu ul li a i,
.vertical-collpsed .vertical-menu #sidebar-menu > ul > li > a i {
  width: 16px;
  min-width: 16px;
  font-size: 14px;
  text-align: center;
  color: #344166;
  margin: 0;
}
.vertical-menu #sidebar-menu ul li a:hover {
  background: #EEF2FF;
  color: #1E40E0;
}
.vertical-menu #sidebar-menu ul li a:hover i {
  color: #1E40E0;
}
.vertical-menu #sidebar-menu ul li a:focus-visible {
  outline: 2px solid #1E40E0;
  outline-offset: 2px;
}
.vertical-menu #sidebar-menu ul li.mm-active > a,
.vertical-menu #sidebar-menu ul li a.mm-active {
  background: #1E40E0;
  color: #fff !important;
  font-weight: 600;
  opacity: 1;
}
.vertical-menu #sidebar-menu ul li.mm-active > a i,
.vertical-menu #sidebar-menu ul li a.mm-active i {
  color: #fff !important;
}
.vertical-menu #sidebar-menu ul li.mm-active > a:hover,
.vertical-menu #sidebar-menu ul li a.mm-active:hover {
  background: #1E40E0;
  color: #fff !important;
}
.vertical-menu #sidebar-menu ul li.mm-active > a:hover i,
.vertical-menu #sidebar-menu ul li a.mm-active:hover i {
  color: #fff !important;
}
.okx-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #E0E7FF;
  color: #1E40E0;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
  flex: none;
}
.vertical-menu #sidebar-menu li.mm-active > a .okx-badge {
  background: #fff;
  color: #1E40E0;
}

.okx-page #page-topbar { background: #fff; border-bottom: 1px solid var(--okx-line); box-shadow: none; }
.okx-page .navbar-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: var(--okx-header);
  padding: 0 16px 0 8px;
  background: #fff;
}
.okx-topbar-left,
.okx-topbar-tools {
  display: flex;
  align-items: center;
  min-width: 0;
}
.okx-topbar-left { flex: 1 1 280px; gap: 8px; }
.okx-topbar-tools { flex: 0 1 auto; gap: 10px; margin-left: auto; }
.okx-mobile-brand,
.okx-search-row,
.okx-filter-toggle { display: none; }
.okx-icon-btn,
.okx-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--okx-ink);
  cursor: pointer;
}
.okx-icon-btn {
  position: relative;
  width: 44px;
  border-radius: 10px;
  flex: none;
  text-decoration: none;
}
.okx-icon-btn:hover,
.okx-profile:hover { background: var(--okx-bg); color: var(--okx-ink); }
.okx-bell-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--okx-bad);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.okx-search { position: relative; flex: 1 1 240px; min-width: 180px; max-width: 360px; }
.okx-search > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--okx-muted);
  font-size: 13px;
  pointer-events: none;
}
.okx-search input {
  width: 100%;
  height: var(--okx-ctrl);
  border: 1px solid var(--okx-line);
  border-radius: 12px;
  padding: 0 12px 0 38px;
  font-size: 13px;
  color: var(--okx-ink);
  background: #F8FAFF;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.okx-search input:focus { outline: none; border-color: var(--okx-blue); box-shadow: 0 0 0 3px rgba(30,64,224,.12); background: #fff; }
.okx-search-results {
  position: absolute;
  z-index: 40;
  top: 42px;
  left: 0;
  width: min(360px, 80vw);
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--okx-line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(14,21,48,.08);
}
.okx-search-mobile { min-width: 0; max-width: none; }
.okx-search-mobile .okx-search-results { position: static; width: 100%; box-shadow: none; margin-top: 8px; }
.okx-search-results a, .okx-search-results p {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--okx-ink);
  border-bottom: 1px solid var(--okx-bg);
  font-size: 13px;
}
.okx-search-results a:hover, .okx-search-results a:focus { background: var(--okx-bg); }
.okx-search-results em { display: block; font-style: normal; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--okx-muted); }
.okx-search-results span { color: var(--okx-muted); font-size: 12px; }

.okx-filter-slot { position: relative; display: flex; align-items: center; }
.okx-header-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.okx-header-filters select,
.okx-header-filters input,
.okx-header-filters button,
.okx-zone-lock,
.okx-filter-toggle {
  height: var(--okx-ctrl);
  border: 1px solid var(--okx-line);
  border-radius: 10px;
  background: #fff;
  color: var(--okx-ink);
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.okx-header-filters select[name="preset"] { width: 118px; }
.okx-header-filters input[type="date"] { width: 132px; }
.okx-header-filters select[name="zone"] { width: 132px; }
.okx-header-filters button {
  width: 72px;
  background: var(--okx-bg);
  font-weight: 700;
  cursor: pointer;
}
.okx-header-filters button:hover { border-color: var(--okx-blue); color: var(--okx-blue); }
.okx-zone-lock { display: inline-flex; align-items: center; max-width: 148px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.okx-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--okx-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.okx-create:hover { background: #1836c4; color: #fff; }
.okx-profile { gap: 8px; padding: 0 8px 0 4px; border-radius: 12px; }
.okx-avatar,
.okx-avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
}
.okx-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E4EBFF;
  color: var(--okx-blue);
  font-size: 12px;
  font-weight: 700;
}
.okx-profile .fa-chevron-down { color: var(--okx-muted); font-size: 11px; }
.okx-profile-wrap .dropdown-menu { min-width: 180px; margin-top: 8px; border: 1px solid var(--okx-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(14,21,48,.08); }
.okx-user { display: inline-flex; flex-direction: column; line-height: 1.15; text-align: left; max-width: 120px; }
.okx-user strong, .okx-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.okx-user strong { font-size: 12px; color: var(--okx-ink); font-weight: 700; }
.okx-user small { font-size: 11px; color: var(--okx-muted); font-weight: 600; }

.okx-page .page-content {
  background: var(--okx-bg);
  padding: calc(var(--okx-header) + 16px) 20px 24px;
}
.okx-page .container-fluid { padding-left: 0; padding-right: 0; }
.okx-dash {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--okx-ink);
  padding-bottom: 16px;
}
.okx-dash h1, .okx-dash h2, .okx-kpi-value, .okx-money { font-family: Sora, "Plus Jakarta Sans", sans-serif; }
.okx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 0 0 12px; }
.okx-head h1 { margin: 0; font-size: 24px; line-height: 30px; font-weight: 700; }
.okx-head p, .okx-period { margin: 2px 0 0; color: var(--okx-muted); font-size: 13px; }
.okx-kpis, .okx-grid { display: grid; gap: var(--okx-gap); margin-bottom: var(--okx-gap); align-items: stretch; }
.okx-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.okx-grid-analytics { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr) minmax(240px, 1fr); }
.okx-grid-ops { grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr) minmax(220px, 1fr); }
.okx-grid-bottom { grid-template-columns: minmax(0, 1.7fr) minmax(260px, .85fr); }
.okx-grid-bottom > article:first-child { grid-column: 1 / -1; }
.okx-span-all { grid-column: 1 / -1; }
.okx-card {
  background: var(--okx-card);
  border: 1px solid var(--okx-line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(14, 21, 48, 0.04);
}
.okx-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; min-height: 32px; }
.okx-card-head h2 { margin: 0; font-size: 15px; line-height: 20px; font-weight: 700; }
.okx-card-head a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--okx-bg);
  color: var(--okx-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.okx-card-head a:hover { color: var(--okx-blue); }
.okx-card-head span { color: var(--okx-muted); font-size: 12px; font-weight: 600; }
.okx-kpi { padding: 14px; min-height: 104px; display: flex; flex-direction: column; justify-content: center; }
.okx-kpi-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--okx-muted); }
.okx-kpi-label i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E4EBFF;
  color: var(--okx-blue);
  font-size: 13px;
  margin: 0;
}
.okx-kpi-completed .okx-kpi-label i { background: #E3F6EE; color: var(--okx-ok); }
.okx-kpi-pending .okx-kpi-label i { background: #FFF3DC; color: var(--okx-warn); }
.okx-kpi-cancelled .okx-kpi-label i { background: #FDE7EA; color: var(--okx-bad); }
.okx-kpi-riders .okx-kpi-label i { background: #F3E8FF; color: #7C3AED; }
.okx-kpi-vehicles .okx-kpi-label i { background: #E4EBFF; color: var(--okx-blue); }
.okx-kpi-value { font-size: 26px; line-height: 32px; font-weight: 700; margin-top: 6px; }
.okx-delta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; font-weight: 600; margin-top: 4px; }
.okx-delta-up { color: var(--okx-ok); }
.okx-delta-down { color: var(--okx-bad); }
.okx-delta-flat { color: var(--okx-muted); }
.okx-delta span:last-child { color: var(--okx-muted); font-weight: 500; }
.okx-seg { display: inline-flex; align-items: center; background: var(--okx-bg); border-radius: 8px; padding: 2px; height: 32px; }
.okx-seg button, .okx-tabs a {
  border: 0;
  background: transparent;
  color: var(--okx-muted);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  height: 28px;
  padding: 0 8px;
  text-decoration: none;
  line-height: 28px;
}
.okx-seg button.is-on, .okx-tabs a.is-on { background: #fff; color: var(--okx-blue); box-shadow: 0 1px 2px rgba(14,21,48,.06); }
.okx-chart-wrap { position: relative; height: 210px; }
.okx-chart-short { height: 150px; }
.okx-legend { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--okx-muted); margin: 8px 0 0; }
.swatch { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.swatch.orders { background: var(--okx-blue); }
.swatch.done { background: var(--okx-ok); }
.swatch.earn { background: var(--okx-accent); }
.okx-donut-wrap { position: relative; height: 156px; }
.okx-donut-center {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none;
}
.okx-donut-center strong { font-family: Sora, sans-serif; font-size: 20px; line-height: 1; }
.okx-donut-center span { font-size: 11px; color: var(--okx-muted); }
.okx-legend-list { list-style: none; margin: 8px 0 0; padding: 0; }
.okx-legend-list li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto auto; gap: 8px; align-items: center; font-size: 12px; padding: 2px 0; }
.okx-legend-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.okx-legend-list i { width: 8px; height: 8px; border-radius: 2px; }
.okx-legend-list em { color: var(--okx-muted); font-style: normal; min-width: 32px; text-align: right; }
.okx-money { font-size: 26px; font-weight: 700; line-height: 1.1; }
.okx-sub { color: var(--okx-muted); font-size: 12px; margin-bottom: 8px; }
.okx-money-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.okx-money-grid div { background: var(--okx-bg); border-radius: 8px; padding: 8px; }
.okx-money-grid span { display: block; color: var(--okx-muted); font-size: 11px; }
.okx-money-grid b { font-size: 13px; }
.okx-map {
  display: block;
  width: 100%;
  height: 230px;
  border-radius: 10px;
  background: #E8EEF9;
  overflow: hidden;
  color: var(--okx-muted);
  font-size: 13px;
  text-align: center;
  line-height: 230px;
}
.okx-map > span { line-height: 1.4; display: inline-block; vertical-align: middle; }
.okx-map-list { display: block; height: auto; max-height: 230px; overflow: auto; background: #fff; line-height: normal; text-align: left; }
.okx-map-list button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--okx-line); background: #fff; padding: 8px; font-size: 12px; }
.okx-map-legend { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; padding: 8px 0 0; margin: 0; font-size: 11px; color: var(--okx-muted); }
.okx-map-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.okx-map-legend .pickup { background: var(--okx-blue); }
.okx-map-legend .drop { background: var(--okx-accent); }
.okx-map-legend .rider { background: var(--okx-ok); }
.okx-map-legend .live { background: var(--okx-navy); }
.okx-map-legend .stale { background: var(--okx-warn); }
.okx-live-card { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--okx-line); border-radius: 10px; font-size: 12px; line-height: 1.35; }
.okx-live-card strong { font-size: 13px; }
.okx-live-card .okx-chip { margin-left: 6px; }
.okx-bar { display: grid; grid-template-columns: minmax(72px, 110px) minmax(0, 1fr) auto; gap: 8px; align-items: center; text-decoration: none; color: var(--okx-ink); font-size: 12px; padding: 4px 0; }
.okx-bar span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.okx-bar-track { height: 6px; background: #E4EBFF; border-radius: 4px; overflow: hidden; }
.okx-bar-track span { display: block; height: 100%; background: var(--okx-blue); border-radius: 4px; }
.okx-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.okx-table-wrap { overflow-x: auto; max-width: 100%; }
.okx-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 860px; }
.okx-table th { text-align: left; color: var(--okx-muted); font-weight: 700; font-size: 11px; padding: 8px; border-bottom: 1px solid var(--okx-line); white-space: nowrap; }
.okx-table td { padding: 8px; height: 44px; border-bottom: 1px solid #F3F5FB; vertical-align: middle; }
.okx-table a, .okx-preview { color: var(--okx-blue); font-weight: 700; background: none; border: 0; padding: 0; font-size: 12px; cursor: pointer; }
.okx-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.okx-chip-pending, .okx-chip-in-review { background: #FFF3DC; color: var(--okx-warn); }
.okx-chip-on-route { background: #E4EBFF; color: var(--okx-blue); }
.okx-chip-completed { background: #E3F6EE; color: var(--okx-ok); }
.okx-chip-cancelled { background: #FDE7EA; color: var(--okx-bad); }
.okx-chip-processing, .okx-chip-accepted { background: #F3E8FF; color: #7C3AED; }
.okx-feed { list-style: none; margin: 0; padding: 0; }
.okx-feed li { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid #F3F5FB; }
.okx-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; background: var(--okx-blue); flex: none; }
.okx-dot-completed { background: var(--okx-ok); }
.okx-dot-payment { background: var(--okx-accent); }
.okx-dot-rider { background: #7C3AED; }
.okx-dot-cancelled { background: var(--okx-bad); }
.okx-feed strong, .okx-feed span, .okx-feed time { display: block; }
.okx-feed span, .okx-feed time { color: var(--okx-muted); font-size: 12px; }
.okx-empty { color: var(--okx-muted); font-size: 13px; margin: 0; }
.okx-empty a { color: var(--okx-blue); font-weight: 700; }
.okx-empty-fill {
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
}

@media (max-width: 1599.98px) {
  .okx-search { max-width: 220px; min-width: 140px; }
  .okx-header-filters select[name="preset"] { width: 104px; }
  .okx-header-filters input[type="date"] { width: 112px; }
  .okx-header-filters select[name="zone"] { width: 108px; }
  .okx-user { max-width: 96px; }
}

@media (max-width: 1399.98px) {
  .okx-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .okx-grid-analytics { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .okx-grid-analytics > article:nth-child(3) { grid-column: 1 / -1; }
  .okx-grid-ops { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .okx-grid-ops > article:nth-child(3) { grid-column: 1 / -1; }
  .okx-search { max-width: 160px; min-width: 120px; }
  .okx-header-filters input[type="date"] { width: 108px; }
  .okx-header-filters select[name="zone"] { width: 100px; }
}

@media (max-width: 1399.98px) {
  .okx-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .okx-header-filters {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: min(320px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--okx-line);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(14,21,48,.08);
  }
  .okx-filter-slot.is-open .okx-header-filters { display: flex; }
  .okx-header-filters select,
  .okx-header-filters input,
  .okx-header-filters button,
  .okx-zone-lock { width: 100%; }
}

@media (max-width: 1099.98px) {
  .okx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .okx-grid-analytics,
  .okx-grid-ops,
  .okx-grid-bottom { grid-template-columns: 1fr; }
  .okx-grid-analytics > article:nth-child(3),
  .okx-grid-ops > article:nth-child(3),
  .okx-grid-bottom > article:first-child { grid-column: auto; }
}

@media (max-width: 991.98px) {
  .vertical-menu { display: none; top: 0; width: 240px; height: 100vh; z-index: 1005; background: #fff; }
  body.sidebar-enable .vertical-menu { display: block; }
  .okx-page .main-content { margin-left: 0; }
  .okx-page #page-topbar { left: 0; width: 100%; }
  .navbar-brand-box { display: none; }
  .okx-page .page-content { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 767.98px) {
  .okx-page .page-content { padding-top: 136px; }
}

@media (max-width: 767.98px) {
  .okx-kpis { grid-template-columns: 1fr; }
  .okx-head { flex-direction: column; align-items: flex-start; }
  .okx-money-grid { grid-template-columns: 1fr; }
  .okx-page .navbar-header { height: 64px; padding-right: 8px; }
  .okx-topbar-left .okx-search { display: none; }
  .okx-mobile-brand {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--okx-navy);
    font-family: Sora, "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .okx-search-row { display: block; padding: 0 12px 12px; background: #fff; }
  .okx-search-row .okx-search { display: block; max-width: none; }
  .okx-create { width: 44px; padding: 0; }
  .okx-create-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .okx-user,
  .okx-profile .fa-chevron-down,
  .okx-filter-toggle span { display: none; }
  .okx-chart-wrap { height: 180px; }
  .okx-map { height: 200px; line-height: 200px; }
}
