@font-face {
  font-family: "Cairo";
  src: url("../app-assets/fonts/Cairo/Cairo-VariableFont_wght.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --mk-primary: #344d70;
  --mk-primary-deep: #263d5d;
  --mk-primary-soft: rgb(52 77 112 / 10%);
  --mk-accent: #ff9f34;
  --mk-accent-soft: #fff3e4;
  --mk-bg: #f8fafc;
  --mk-surface: #fff;
  --mk-text: #111827;
  --mk-muted: #64748b;
  --mk-border: #e2e8f0;
  --mk-success: #16a34a;
  --mk-success-soft: #e9f8ef;
  --mk-warning: #f59e0b;
  --mk-warning-soft: #fff6df;
  --mk-danger: #dc2626;
  --mk-danger-soft: #feeeee;
  --mk-info: #2563eb;
  --mk-info-soft: #eaf0ff;
  --mk-neutral-soft: #eef2f6;
  --mk-sidebar-width: 282px;
  --mk-navbar-height: 76px;
  --mk-radius-xl: 24px;
  --mk-radius-lg: 20px;
  --mk-radius-md: 14px;
  --mk-shadow: 0 12px 30px rgb(15 23 42 / 4%);
  --mk-shadow-hover: 0 18px 38px rgb(15 23 42 / 7%);
  --mk-ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--mk-bg);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--mk-bg);
  color: var(--mk-text);
  font-family:
    "Cairo",
    "IBM Plex Sans Arabic",
    "Somar Rounded",
    "Tajawal",
    "Segoe UI",
    "Tahoma",
    "Arial",
    sans-serif;
  font-size: 15px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.mk-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.mk-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mk-app {
  min-height: 100vh;
}

/* Sidebar */
.mk-sidebar {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 60;
  width: var(--mk-sidebar-width);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-inline-end: 1px solid var(--mk-border);
  background: #fff;
  box-shadow: -6px 0 24px rgb(15 23 42 / 2.5%);
}

.mk-brand {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 23px;
  border-bottom: 1px solid var(--mk-border);
}

.mk-brand__mark {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--mk-primary);
  box-shadow: 0 9px 20px rgb(52 77 112 / 14%);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.mk-brand__mark::after {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 48%;
  width: 4px;
  background: var(--mk-accent);
  content: "";
  transform: rotate(24deg) scaleY(1.5);
}

.mk-brand__mark b {
  position: relative;
  z-index: 1;
}

.mk-brand__copy {
  min-width: 0;
}

.mk-brand__copy strong,
.mk-brand__copy span {
  display: block;
}

.mk-brand__copy strong {
  color: var(--mk-primary-deep);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.mk-brand__copy span {
  margin-top: 3px;
  color: #8592a4;
  font-size: 12.5px;
  font-weight: 650;
}

.mk-sidebar__close {
  display: none;
  width: 38px;
  height: 38px;
  margin-inline-start: auto;
  place-items: center;
  border: 1px solid var(--mk-border);
  border-radius: 12px;
  background: #fff;
  color: var(--mk-primary);
}

.mk-nav {
  flex: 1;
  overflow-y: auto;
  padding: 22px 17px 24px;
  scrollbar-color: #d9e0e8 transparent;
  scrollbar-width: thin;
}

.mk-nav-group + .mk-nav-group {
  margin-top: 22px;
}

.mk-nav-group h2 {
  margin: 0;
  padding: 0 14px 9px;
  color: #8c98a8;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.5;
}

.mk-nav-item {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
  padding: 0 14px;
  border-radius: 12px;
  color: #607086;
  font-size: 14.5px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.mk-nav-item:hover {
  background: #f6f8fb;
  color: var(--mk-primary);
}

.mk-nav-item.is-active {
  background: rgb(52 77 112 / 10%);
  color: var(--mk-primary);
  font-weight: 800;
}

.mk-nav-item.is-active::before {
  position: absolute;
  inset-block: 12px;
  inset-inline-end: 0;
  width: 3px;
  border-radius: 4px 0 0 4px;
  background: var(--mk-accent);
  content: "";
}

.mk-nav-item small {
  min-width: 28px;
  height: 21px;
  display: grid;
  place-items: center;
  margin-inline-start: auto;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--mk-neutral-soft);
  color: #78869a;
  font-size: 11.5px;
  font-weight: 800;
}

.mk-nav-item small.is-warning,
.mk-nav-item small.is-accent {
  background: var(--mk-accent-soft);
  color: #b95f00;
}

.mk-nav-item > i {
  width: 8px;
  height: 8px;
  margin-inline-start: auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--mk-danger);
  box-shadow: 0 0 0 4px var(--mk-danger-soft);
}

.mk-sidebar-status {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 17px 20px;
  padding: 12px 14px;
  border: 1px solid var(--mk-border);
  border-radius: 14px;
  background: #fff;
}

.mk-sidebar-status__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d9eadf;
  border-radius: 11px;
  background: #f6fbf8;
  color: var(--mk-success);
}

.mk-sidebar-status strong,
.mk-sidebar-status small {
  display: block;
}

.mk-sidebar-status strong {
  color: #28483a;
  font-size: 13px;
  font-weight: 800;
}

.mk-sidebar-status small {
  margin-top: 1px;
  color: #80928a;
  font-size: 12px;
}

/* Navbar */
.mk-navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: var(--mk-sidebar-width) 0;
  z-index: 50;
  height: var(--mk-navbar-height);
  display: grid;
  grid-template-columns: minmax(215px, .72fr) minmax(360px, 1.28fr) auto;
  align-items: center;
  gap: 24px;
  padding: 0 34px;
  border-bottom: 1px solid var(--mk-border);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 20px rgb(15 23 42 / 2.5%);
}

.mk-navbar__context {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.mk-navbar__context-icon,
.mk-menu-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe6ee;
  border-radius: 11px;
  background: #f8fafc;
  color: var(--mk-primary);
}

.mk-menu-button {
  display: none;
  border: 1px solid var(--mk-border);
  background: #fff;
}

.mk-navbar__context > span:last-child {
  min-width: 0;
}

.mk-navbar__context small,
.mk-navbar__context strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-navbar__context small {
  color: var(--mk-accent);
  font-size: 12.5px;
  font-weight: 800;
}

.mk-navbar__context strong {
  color: var(--mk-primary-deep);
  font-size: 15.5px;
  font-weight: 900;
}

.mk-search {
  width: min(100%, 540px);
  height: 46px;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid #dfe5ec;
  border-radius: 13px;
  background: #f8fafc;
  color: #8996a7;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.mk-search:focus-within {
  border-color: rgb(52 77 112 / 38%);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(52 77 112 / 8%);
}

.mk-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mk-text);
  font-size: 14.5px;
  font-weight: 550;
}

.mk-search input::placeholder {
  color: #9aa6b5;
}

.mk-search kbd {
  min-width: 36px;
  padding: 2px 7px;
  border: 1px solid var(--mk-border);
  border-radius: 8px;
  background: #fff;
  color: #98a3b2;
  font-family: inherit;
  font-size: 11px;
  text-align: center;
}

.mk-navbar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mk-language,
.mk-control {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: #68778b;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.mk-language {
  font-size: 12px;
  font-weight: 800;
}

.mk-language:hover,
.mk-control:hover {
  border-color: var(--mk-border);
  background: #f8fafc;
  color: var(--mk-primary);
}

.mk-notification {
  position: relative;
}

.mk-notification em {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-end: 1px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--mk-danger);
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.mk-admin {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-inline-start: 6px;
  padding: 4px 5px 4px 11px;
  border: 1px solid var(--mk-border);
  border-radius: 13px;
  background: #fff;
  color: var(--mk-primary);
}

.mk-admin__avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--mk-primary);
  box-shadow: none;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.mk-admin__copy strong,
.mk-admin__copy small {
  display: block;
  white-space: nowrap;
}

.mk-admin__copy strong {
  color: var(--mk-primary-deep);
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.35;
}

.mk-admin__copy small {
  color: #949fad;
  font-size: 12px;
  line-height: 1.35;
}

.mk-admin > .mk-icon {
  display: none;
}

/* Main layout */
.mk-main {
  min-height: 100vh;
  margin-inline-start: var(--mk-sidebar-width);
  padding: calc(var(--mk-navbar-height) + 34px) 34px 42px;
}

.mk-container {
  width: min(100%, 1460px);
  margin: 0 auto;
}

.mk-section {
  margin-top: 40px;
}

.mk-section-head {
  min-height: 68px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.mk-section-head__eyebrow,
.mk-card-head__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #d87606;
  font-size: 13.5px;
  font-weight: 850;
}

.mk-section-head h2 {
  margin: 0;
  color: var(--mk-primary-deep);
  font-size: clamp(26px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.4;
}

.mk-section-head p {
  margin: 6px 0 0;
  color: var(--mk-muted);
  font-size: 15px;
  line-height: 1.75;
}

.mk-live-pill,
.mk-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.mk-live-pill {
  border: 1px solid #cee8d8;
  background: #f3fbf6;
  color: #15803d;
}

.mk-live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mk-success);
  box-shadow: 0 0 0 4px var(--mk-success-soft);
}

.mk-outline-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid #d7e0e9;
  border-radius: 14px;
  background: #fff;
  color: var(--mk-primary);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mk-outline-button:hover {
  border-color: rgb(52 77 112 / 35%);
  box-shadow: 0 10px 22px rgb(15 23 42 / 7%);
  transform: translateY(-2px);
}

.mk-card {
  border: 1px solid var(--mk-border);
  border-radius: var(--mk-radius-lg);
  background: var(--mk-surface);
  box-shadow: var(--mk-shadow);
  transition: box-shadow 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.mk-card:hover {
  border-color: #d4dde7;
  box-shadow: 0 16px 36px rgb(15 23 42 / 5.5%);
}

.mk-card-head {
  min-height: 106px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 27px 21px;
}

.mk-card-head--compact {
  min-height: 91px;
  padding-bottom: 16px;
}

.mk-card-head h3 {
  margin: 0;
  color: var(--mk-primary-deep);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.mk-card-head p {
  margin: 4px 0 0;
  color: #7b8899;
  font-size: 14px;
  line-height: 1.7;
}

/* Hero */
.mk-hero {
  position: relative;
  min-height: 354px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(330px, .62fr);
  gap: 54px;
  overflow: hidden;
  padding: 42px 44px;
  border: 1px solid #e3e8ef;
  border-block-start: 3px solid rgb(255 159 52 / 68%);
  border-radius: var(--mk-radius-xl);
  background: #fff;
  box-shadow: 0 18px 44px rgb(15 23 42 / 5%);
}

.mk-hero::before {
  display: none;
}

.mk-hero__content,
.mk-quick-actions {
  position: relative;
  z-index: 1;
}

.mk-hero__badge {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #f0e1d0;
  border-radius: 999px;
  background: #fff;
  color: #a95d0c;
  font-size: 12.5px;
  font-weight: 800;
}

.mk-hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mk-accent);
  box-shadow: 0 0 0 4px rgb(255 159 52 / 10%);
}

.mk-hero h1 {
  max-width: 760px;
  margin: 25px 0 0;
  color: #152238;
  font-size: clamp(45px, 4vw, 56px);
  font-weight: 950;
  line-height: 1.25;
}

.mk-hero__content > p {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--mk-muted);
  font-size: 17px;
  font-weight: 550;
  line-height: 1.9;
}

.mk-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 21px;
}

.mk-hero__meta > span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #718096;
  font-size: 13px;
  font-weight: 700;
}

.mk-hero__meta > span + span {
  margin-inline-start: 16px;
  padding-inline-start: 16px;
  border-inline-start: 1px solid var(--mk-border);
}

.mk-hero__meta .mk-icon {
  width: 15px;
  height: 15px;
}

.mk-hero__meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mk-hero__meta i.is-success {
  background: var(--mk-success);
  box-shadow: 0 0 0 3px var(--mk-success-soft);
}

.mk-hero-pipeline {
  max-width: 760px;
  margin-top: 24px;
  padding: 17px 0 0;
  border-top: 1px solid var(--mk-border);
}

.mk-hero-pipeline__head,
.mk-hero-pipeline__legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mk-hero-pipeline__head strong {
  color: var(--mk-primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.mk-hero-pipeline__head > span {
  color: #8a96a5;
  font-size: 12px;
}

.mk-hero-pipeline__track {
  height: 6px;
  display: flex;
  gap: 3px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f5;
}

.mk-hero-pipeline__track > i {
  width: var(--track-width);
  height: 100%;
  border-radius: 999px;
  background: var(--track-color);
  transform-origin: right center;
}

.mk-hero-pipeline__legend {
  justify-content: flex-start;
  margin-top: 11px;
}

.mk-hero-pipeline__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #748196;
  font-size: 12.5px;
  font-weight: 700;
}

.mk-hero-pipeline__legend i,
.mk-status-widget__rows i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.is-blue {
  --state-color: var(--mk-info);
  --state-soft: var(--mk-info-soft);
}

.is-warning {
  --state-color: var(--mk-warning);
  --state-soft: var(--mk-warning-soft);
}

.is-success {
  --state-color: var(--mk-success);
  --state-soft: var(--mk-success-soft);
}

.is-danger {
  --state-color: var(--mk-danger);
  --state-soft: var(--mk-danger-soft);
}

.is-neutral {
  --state-color: #7b8a9e;
  --state-soft: var(--mk-neutral-soft);
}

.mk-hero-pipeline__legend i.is-blue,
.mk-status-widget__rows i.is-blue {
  background: var(--mk-info);
}

.mk-hero-pipeline__legend i.is-warning,
.mk-status-widget__rows i.is-warning {
  background: var(--mk-warning);
}

.mk-hero-pipeline__legend i.is-success,
.mk-status-widget__rows i.is-success {
  background: var(--mk-success);
}

.mk-hero-pipeline__legend i.is-danger,
.mk-status-widget__rows i.is-danger {
  background: var(--mk-danger);
}

.mk-status-widget__rows i.is-neutral {
  background: #94a3b8;
}

.mk-quick-actions {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e0e6ed;
  border-radius: 18px;
  background: #fafbfd;
  box-shadow: none;
}

.mk-quick-actions__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 1px 2px 17px;
  border-bottom: 1px solid #e8edf2;
}

.mk-quick-actions__head small,
.mk-quick-actions__head strong {
  display: block;
}

.mk-quick-actions__head small {
  color: #919cac;
  font-size: 12.5px;
}

.mk-quick-actions__head strong {
  margin-top: 2px;
  color: var(--mk-primary-deep);
  font-size: 17px;
  font-weight: 900;
}

.mk-quick-actions__head > span:last-child {
  min-width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe5ec;
  border-radius: 9px;
  background: #fff;
  color: #8592a4;
  font-size: 11px;
  font-weight: 800;
}

.mk-quick-actions__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 15px;
}

.mk-quick-action {
  min-height: 54px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--mk-primary-deep);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.mk-quick-action:hover {
  border-color: rgb(52 77 112 / 28%);
  box-shadow: 0 8px 18px rgb(15 23 42 / 4%);
  transform: translateY(-2px);
}

.mk-quick-action.is-primary {
  border-color: rgb(52 77 112 / 12%);
  background: #fff;
  box-shadow: none;
  color: var(--mk-primary-deep);
}

.mk-quick-action__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgb(52 77 112 / 8%);
  color: var(--mk-primary);
}

.mk-quick-action.is-primary .mk-quick-action__icon {
  background: var(--mk-accent-soft);
  color: #c96b03;
}

.mk-quick-action strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.mk-quick-action__arrow {
  width: 16px;
  height: 16px;
  color: #9aa6b5;
}

.mk-quick-action.is-primary .mk-quick-action__arrow {
  color: var(--mk-primary);
}

/* KPI */
.mk-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mk-kpi {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  padding: 19px 21px 17px;
  border: 1px solid var(--mk-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--mk-shadow);
  --kpi-color: var(--state-color, var(--mk-primary));
  --kpi-soft: var(--state-soft, var(--mk-primary-soft));
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.mk-kpi::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: var(--kpi-color);
  opacity: .72;
  content: "";
}

.mk-kpi.is-accent {
  --kpi-color: #d97706;
  --kpi-soft: var(--mk-accent-soft);
}

.mk-kpi.is-primary {
  --kpi-color: var(--mk-primary);
  --kpi-soft: var(--mk-primary-soft);
}

.mk-kpi.is-neutral {
  --kpi-color: #66768c;
  --kpi-soft: var(--mk-neutral-soft);
}

.mk-kpi:hover {
  border-color: color-mix(in srgb, var(--kpi-color) 18%, var(--mk-border));
  box-shadow: var(--mk-shadow-hover);
  transform: translateY(-3px);
}

.mk-kpi__top,
.mk-kpi__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mk-kpi__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--kpi-soft) 72%, #fff);
  color: var(--kpi-color);
}

.mk-kpi__icon .mk-icon {
  width: 21px;
  height: 21px;
}

.mk-kpi__status {
  color: #7b889a;
  font-size: 12.5px;
  font-weight: 750;
}

.mk-kpi__label {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: #5f6f84;
  font-size: 15px;
  font-weight: 800;
}

.mk-kpi__value {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1px;
  color: var(--mk-text);
  font-size: clamp(43px, 3.4vw, 50px);
  font-weight: 900;
  line-height: 1.12;
}

.mk-kpi__foot {
  margin-top: 7px;
  padding-top: 7px;
  color: #8b97a7;
  font-size: 12.5px;
}

.mk-kpi__foot a {
  width: 30px;
  height: 30px;
  display: grid;
  align-items: center;
  place-items: center;
  border: 1px solid #e1e6ed;
  border-radius: 9px;
  background: #fafbfc;
  color: #77869a;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.mk-kpi__foot a:hover {
  border-color: rgb(52 77 112 / 24%);
  background: var(--mk-primary-soft);
  color: var(--mk-primary);
}

.mk-kpi__foot .mk-icon {
  width: 15px;
  height: 15px;
}

/* Operations */
.mk-operations {
  display: grid;
  grid-template-columns: minmax(330px, .85fr) minmax(0, 1.65fr);
  gap: 20px;
}

.mk-orders-flow {
  grid-column: 2;
  grid-row: 1;
  min-height: 520px;
  overflow: hidden;
}

.mk-orders-flow__total {
  min-width: 100px;
  padding: 12px 15px;
  border: 1px solid #dfe6ee;
  border-radius: 14px;
  background: #f8fafc;
  text-align: center;
}

.mk-orders-flow__total strong,
.mk-orders-flow__total small {
  display: block;
}

.mk-orders-flow__total strong {
  color: var(--mk-primary);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.mk-orders-flow__total small {
  margin-top: 3px;
  color: #7d899b;
  font-size: 12px;
}

.mk-order-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 5px 25px 24px;
}

.mk-order-stage {
  position: relative;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--mk-border);
  border-radius: 15px;
  background: #fff;
}

.mk-order-stage::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--state-color);
  content: "";
}

.mk-order-stage__number {
  width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--state-soft) 72%, #fff);
  color: var(--state-color);
  font-size: 11px;
  font-weight: 800;
}

.mk-order-stage > div:nth-child(2) span,
.mk-order-stage > div:nth-child(2) strong,
.mk-order-stage > div:nth-child(2) small {
  display: block;
}

.mk-order-stage > div:nth-child(2) span {
  color: #66758a;
  font-size: 14px;
  font-weight: 750;
}

.mk-order-stage > div:nth-child(2) strong {
  margin-top: 8px;
  color: var(--mk-text);
  font-size: 42px;
  font-weight: 850;
  line-height: 1;
}

.mk-order-stage > div:nth-child(2) small {
  margin-top: 8px;
  color: #8b97a6;
  font-size: 12px;
}

.mk-stage-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf2;
}

.mk-stage-progress i {
  width: var(--stage-size);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--state-color);
  transform-origin: right center;
}

.mk-flow-insight {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 25px 24px;
  padding: 14px 16px;
  border: 1px solid #d9e3ed;
  border-radius: 15px;
  background: #fafbfd;
}

.mk-flow-insight__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mk-success-soft);
  color: var(--mk-success);
}

.mk-flow-insight > div {
  min-width: 0;
  flex: 1;
}

.mk-flow-insight strong,
.mk-flow-insight span {
  display: block;
}

.mk-flow-insight strong {
  color: var(--mk-primary-deep);
  font-size: 13px;
  font-weight: 800;
}

.mk-flow-insight span {
  margin-top: 2px;
  color: #7c899a;
  font-size: 12px;
}

.mk-flow-insight > a,
.mk-widget-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mk-primary);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.mk-flow-insight > a .mk-icon,
.mk-widget-action .mk-icon {
  width: 15px;
  height: 15px;
}

.mk-operations__side {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mk-status-widget {
  min-height: 250px;
  overflow: hidden;
}

.mk-status-widget__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mk-primary-soft);
  color: var(--mk-primary);
}

.mk-status-widget__icon.is-orange {
  background: var(--mk-accent-soft);
  color: #d97706;
}

.mk-status-widget__rows {
  padding: 0 24px;
}

.mk-status-widget__rows > div {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #edf1f5;
}

.mk-status-widget__rows span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #68768a;
  font-size: 13px;
  font-weight: 650;
}

.mk-status-widget__rows strong {
  color: var(--mk-primary-deep);
  font-size: 17px;
  font-weight: 800;
}

.mk-widget-action {
  min-height: 47px;
  justify-content: space-between;
  margin: 4px 24px 15px;
  padding: 0 13px;
  border-top: 1px solid #edf1f5;
  border-radius: 0;
  background: transparent;
}

/* Tables */
.mk-table-card {
  overflow: hidden;
}

.mk-table-scroll {
  overflow-x: auto;
}

.mk-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

.mk-table th {
  height: 48px;
  padding: 0 22px;
  border-block: 1px solid var(--mk-border);
  background: #f8fafc;
  color: #617187;
  font-size: 13px;
  font-weight: 850;
  text-align: start;
}

.mk-table td {
  height: 68px;
  padding: 0 22px;
  border-bottom: 1px solid #edf1f5;
  color: #4e5e73;
  font-size: 14px;
  font-weight: 620;
}

.mk-table tbody tr:last-child td {
  border-bottom: 0;
}

.mk-table tbody tr {
  transition: background 180ms ease;
}

.mk-table tbody tr:hover {
  background: #fafbfd;
}

.mk-table td > strong {
  color: var(--mk-primary-deep);
  font-size: 14px;
  font-weight: 900;
}

.mk-person,
.mk-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mk-person > i,
.mk-product > i,
.mk-provider-row__avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mk-primary-soft);
  color: var(--mk-primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.mk-person > i.is-orange,
.mk-product > i.is-orange,
.mk-provider-row__avatar.is-orange {
  background: var(--mk-accent-soft);
  color: #c56600;
}

.mk-person > i.is-green,
.mk-product > i.is-green,
.mk-provider-row__avatar.is-green {
  background: var(--mk-success-soft);
  color: var(--mk-success);
}

.mk-product > i.is-blue {
  background: var(--mk-info-soft);
  color: var(--mk-info);
}

.mk-person strong,
.mk-person small,
.mk-product strong,
.mk-product small {
  display: block;
}

.mk-person strong,
.mk-product strong {
  color: var(--mk-primary-deep);
  font-size: 14px;
  font-weight: 850;
}

.mk-person small,
.mk-product small {
  margin-top: 1px;
  color: #939ead;
  font-size: 12.5px;
}

.mk-badge {
  min-height: 28px;
  gap: 7px;
  padding-inline: 11px;
  background: var(--state-soft);
  color: var(--state-color);
}

.mk-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.mk-stock {
  color: var(--mk-success);
  font-size: 12px;
  font-weight: 750;
}

.mk-row-action {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mk-border);
  border-radius: 10px;
  background: #fff;
  color: var(--mk-primary);
  transition: background 180ms ease, border-color 180ms ease;
}

.mk-row-action:hover {
  border-color: var(--mk-primary);
  background: var(--mk-primary-soft);
}

.mk-row-action .mk-icon {
  width: 17px;
  height: 17px;
}

/* Lists */
.mk-split-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mk-list-card {
  overflow: hidden;
}

.mk-list-card__count {
  min-width: 48px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mk-accent-soft);
  color: #bd6200;
  font-size: 17px;
  font-weight: 800;
}

.mk-provider-row,
.mk-auction-row {
  min-height: 70px;
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 10px 25px;
  border-top: 1px solid #edf1f5;
  transition: background 180ms ease;
}

.mk-provider-row {
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
}

.mk-auction-row {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.mk-provider-row:hover,
.mk-auction-row:hover {
  background: #fafcfe;
}

.mk-provider-row > div strong,
.mk-provider-row > div span,
.mk-provider-row > span:nth-child(3) strong,
.mk-provider-row > span:nth-child(3) small,
.mk-auction-row > div strong,
.mk-auction-row > div span,
.mk-auction-row > span:last-child strong,
.mk-auction-row > span:last-child small {
  display: block;
}

.mk-provider-row > div strong,
.mk-auction-row > div strong {
  color: var(--mk-primary-deep);
  font-size: 14.5px;
  font-weight: 850;
}

.mk-provider-row > div span {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: #8b97a7;
  font-size: 12px;
}

.mk-provider-row > div span .mk-icon {
  width: 13px;
  height: 13px;
}

.mk-provider-row > span:nth-child(3),
.mk-auction-row > span:last-child {
  min-width: 94px;
  text-align: end;
}

.mk-provider-row > span:nth-child(3) strong,
.mk-auction-row > span:last-child strong {
  color: var(--mk-primary-deep);
  font-size: 12px;
  font-weight: 800;
}

.mk-provider-row > span:nth-child(3) small,
.mk-auction-row > span:last-child small {
  color: #8c98a7;
  font-size: 12px;
}

.mk-provider-row button {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid #dce4ec;
  background: #fff;
  color: var(--mk-primary);
  font-size: 12px;
  font-weight: 800;
}

.mk-auction-row__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mk-neutral-soft);
  color: var(--mk-primary);
}

.mk-auction-row__icon.is-orange {
  background: var(--mk-accent-soft);
  color: #d97706;
}

.mk-auction-row__icon.is-blue {
  background: var(--mk-info-soft);
  color: var(--mk-info);
}

.mk-auction-row__icon.is-green {
  background: var(--mk-success-soft);
  color: var(--mk-success);
}

.mk-auction-row > div span {
  margin-top: 2px;
  color: #8c98a8;
  font-size: 12px;
}

.mk-auction-row small.is-danger {
  color: var(--mk-danger);
}

.mk-auction-row small.is-warning {
  color: #b86a03;
}

.mk-auction-row small.is-success {
  color: var(--mk-success);
}

.mk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 4px 0;
  color: #94a0ae;
  font-size: 12px;
}

.mk-footer span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mk-footer i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mk-success);
  box-shadow: 0 0 0 4px var(--mk-success-soft);
}

/* Motion */
body.mk-preload .mk-sidebar {
  opacity: 0;
  transform: translateX(36px);
}

body.mk-preload .mk-navbar {
  opacity: 0;
  transform: translateY(-24px);
}

body.mk-preload [data-marketplace-hero] {
  opacity: 0;
  transform: translateY(24px);
}

body.mk-preload [data-marketplace-kpi] {
  opacity: 0;
  transform: translateY(24px);
}

body.mk-preload .mk-section-head {
  opacity: 0;
  transform: translateY(24px);
}

body.mk-preload [data-marketplace-operations],
body.mk-preload [data-marketplace-panel],
body.mk-preload [data-marketplace-table] {
  opacity: 0;
  transform: translateY(24px);
}

body.mk-preload .mk-hero-pipeline__track > i,
body.mk-preload .mk-stage-progress i {
  transform: scaleX(0);
}

html.kt-marketplace-mounted body.mk-preload .mk-sidebar {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 640ms var(--mk-ease), transform 640ms var(--mk-ease);
}

html.kt-marketplace-mounted body.mk-preload .mk-navbar {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 640ms var(--mk-ease) 70ms, transform 640ms var(--mk-ease) 70ms;
}

html.kt-marketplace-mounted body.mk-preload [data-marketplace-hero] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 760ms var(--mk-ease) 150ms, transform 760ms var(--mk-ease) 150ms;
}

html.kt-marketplace-mounted body.mk-preload .mk-section-head {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms var(--mk-ease) 280ms, transform 600ms var(--mk-ease) 280ms;
}

html.kt-marketplace-mounted body.mk-preload [data-marketplace-kpi] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 650ms var(--mk-ease) calc(330ms + var(--mk-kpi-order, 0) * 65ms),
    transform 650ms var(--mk-ease) calc(330ms + var(--mk-kpi-order, 0) * 65ms);
}

html.kt-marketplace-mounted body.mk-preload [data-marketplace-operations] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 650ms var(--mk-ease) calc(700ms + var(--mk-operation-order, 0) * 70ms),
    transform 650ms var(--mk-ease) calc(700ms + var(--mk-operation-order, 0) * 70ms);
}

html.kt-marketplace-mounted body.mk-preload [data-marketplace-panel] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms var(--mk-ease) calc(740ms + var(--mk-panel-order, 0) * 70ms),
    transform 620ms var(--mk-ease) calc(740ms + var(--mk-panel-order, 0) * 70ms);
}

html.kt-marketplace-mounted body.mk-preload [data-marketplace-table] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms var(--mk-ease) calc(840ms + var(--mk-table-order, 0) * 70ms),
    transform 620ms var(--mk-ease) calc(840ms + var(--mk-table-order, 0) * 70ms);
}

html.kt-marketplace-mounted body.mk-preload .mk-hero-pipeline__track > i,
html.kt-marketplace-mounted body.mk-preload .mk-stage-progress i {
  transform: scaleX(1);
  transition: transform 820ms var(--mk-ease) 380ms;
}

.mk-backdrop {
  display: none;
}

:where(a, button, input):focus-visible {
  outline: 3px solid rgb(52 77 112 / 23%);
  outline-offset: 3px;
}

@media (max-width: 1299px) {
  .mk-navbar {
    grid-template-columns: minmax(185px, .7fr) minmax(270px, 1fr) auto;
    gap: 17px;
    padding-inline: 22px;
  }

  .mk-admin__copy {
    display: none;
  }

  .mk-hero {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    padding-inline: 32px;
  }

  .mk-quick-action {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
  }
}

@media (max-width: 1199px) {
  .mk-sidebar {
    transform: translateX(110%);
    transition: transform 320ms var(--mk-ease);
  }

  .mk-app.is-sidebar-open .mk-sidebar {
    transform: translateX(0);
  }

  .mk-sidebar__close,
  .mk-menu-button {
    display: grid;
  }

  .mk-navbar {
    inset-inline: 0;
  }

  .mk-main {
    margin-inline-start: 0;
  }

  .mk-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    border: 0;
    background: rgb(15 23 42 / 42%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .mk-app.is-sidebar-open .mk-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.mk-preload .mk-sidebar,
  html.kt-marketplace-mounted body.mk-preload .mk-sidebar {
    opacity: 1;
    transform: translateX(110%);
  }

  html.kt-marketplace-mounted body.mk-preload .mk-app.is-sidebar-open .mk-sidebar {
    transform: translateX(0);
  }

  .mk-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .mk-navbar {
    grid-template-columns: minmax(175px, 1fr) minmax(240px, 1.2fr) auto;
  }

  .mk-navbar__context-icon,
  .mk-language,
  .mk-navbar__actions > .mk-control:first-of-type {
    display: none;
  }

  .mk-main {
    padding-inline: 22px;
  }

  .mk-hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .mk-quick-actions {
    min-height: 250px;
  }

  .mk-operations,
  .mk-split-panels {
    grid-template-columns: 1fr;
  }

  .mk-orders-flow,
  .mk-operations__side {
    grid-column: auto;
    grid-row: auto;
  }

  .mk-order-stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .mk-navbar {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 14px;
  }

  .mk-search {
    display: none;
  }

  .mk-navbar__context small {
    display: none;
  }

  .mk-admin {
    padding: 5px;
    border: 0;
  }

  .mk-admin > .mk-icon {
    display: none;
  }

  .mk-main {
    padding: calc(var(--mk-navbar-height) + 20px) 14px 28px;
  }

  .mk-section {
    margin-top: 25px;
  }

  .mk-section-head {
    align-items: flex-start;
  }

  .mk-section-head .mk-outline-button {
    width: 44px;
    padding: 0;
    font-size: 0;
  }

  .mk-hero {
    padding: 24px 21px;
    border-radius: 23px;
  }

  .mk-hero h1 {
    font-size: 36px;
  }

  .mk-hero__content > p {
    font-size: 15px;
  }

  .mk-hero__meta > span + span {
    width: 100%;
    margin: 6px 0 0;
    padding: 0;
    border: 0;
  }

  .mk-hero-pipeline__legend {
    flex-wrap: wrap;
  }

  .mk-quick-actions__grid,
  .mk-kpi-grid,
  .mk-order-stages {
    grid-template-columns: 1fr;
  }

  .mk-kpi {
    min-height: 180px;
  }

  .mk-flow-insight {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .mk-flow-insight > div {
    min-width: calc(100% - 60px);
  }

  .mk-provider-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .mk-provider-row > span:nth-child(3) {
    display: none;
  }

  .mk-provider-row,
  .mk-auction-row {
    padding-inline: 16px;
  }

  .mk-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.mk-preload .mk-sidebar,
  body.mk-preload .mk-navbar,
  body.mk-preload [data-marketplace-hero],
  body.mk-preload [data-marketplace-kpi],
  body.mk-preload .mk-section-head,
  body.mk-preload [data-marketplace-operations],
  body.mk-preload [data-marketplace-panel],
  body.mk-preload [data-marketplace-table] {
    opacity: 1;
    transform: none;
  }

  body.mk-preload .mk-hero-pipeline__track > i,
  body.mk-preload .mk-stage-progress i {
    transform: scaleX(1);
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}
