.mp-dashboard {
  padding: 140px 0;
  background: var(--white);
  position: relative;
}

.mp-dashboard__head {
  max-width: 780px;
  margin-bottom: 60px;
}

.mp-dashboard__head .mp-label {
  margin-bottom: 18px;
  display: block;
}

.mp-dashboard__title {
  font-size: clamp(38px, 5.2vw, 72px);
  margin-bottom: 22px;
}

.mp-dashboard__head p {
  font-size: 17px;
  color: var(--text-secondary);
}

.mp-dashboard__wrap {
  background: linear-gradient(135deg, var(--mist) 0%, var(--soft) 100%);
  border-radius: 30px;
  padding: 30px;
  border: 1px solid var(--line);
}

.mp-dashboard__ui {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mp-dashboard__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.mp-dashboard__topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mp-dashboard__dots {
  display: flex;
  gap: 6px;
}
.mp-dashboard__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mp-dashboard__dots span:nth-child(1) { background: var(--pink); }
.mp-dashboard__dots span:nth-child(2) { background: var(--olive); }
.mp-dashboard__dots span:nth-child(3) { background: var(--lime); }

.mp-dashboard__crumb {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.mp-dashboard__crumb b {
  color: var(--ink);
  font-weight: 600;
}

.mp-dashboard__user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mp-dashboard__avt {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.mp-dashboard__user span:last-child {
  font-size: 12px;
  font-weight: 500;
}

.mp-dashboard__body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 520px;
}

.mp-dashboard__side {
  background: var(--soft);
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mp-dashboard__menu-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(46, 46, 46, 0.45);
  padding: 10px 12px;
  margin-top: 10px;
  text-transform: uppercase;
}
.mp-dashboard__menu-label:first-child { margin-top: 0; }

.mp-dashboard__side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(46, 46, 46, 0.75);
  transition: all 0.2s var(--ease-out-quart);
  text-decoration: none;
}
.mp-dashboard__side a.is-active {
  background: var(--ink);
  color: var(--lime);
}
.mp-dashboard__side a:not(.is-active):hover {
  background: var(--mist);
}

.mp-dashboard__menu-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.mp-dashboard__main {
  padding: 30px;
}

.mp-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.mp-dashboard__stat {
  background: var(--soft);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--line);
}

.mp-dashboard__stat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mp-dashboard__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
}

.mp-dashboard__stat-sub {
  display: block;
  font-size: 11px;
  color: var(--olive);
  font-weight: 600;
  margin-top: 6px;
}

.mp-dashboard__stat--lime {
  background: var(--lime);
  border-color: var(--olive);
}
.mp-dashboard__stat--lime .mp-dashboard__stat-sub { color: var(--ink); }

.mp-dashboard__stat--dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.mp-dashboard__stat--dark .mp-dashboard__stat-label { color: rgba(255, 255, 255, 0.6); }
.mp-dashboard__stat--dark .mp-dashboard__stat-num { color: var(--white); }
.mp-dashboard__stat--dark .mp-dashboard__stat-sub { color: var(--pink); }

.mp-dashboard__timeline {
  background: var(--soft);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--line);
}

.mp-dashboard__timeline h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 4px;
}

.mp-dashboard__timeline-sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.mp-dashboard__tl {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

.mp-dashboard__tl-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  position: relative;
}
.mp-dashboard__tl-item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.mp-dashboard__tl-item:last-child::before { display: none; }

.mp-dashboard__tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--line);
  z-index: 1;
}

.mp-dashboard__tl-item.is-done .mp-dashboard__tl-dot {
  background: var(--lime);
  border-color: var(--olive);
}

.mp-dashboard__tl-item.is-active .mp-dashboard__tl-dot {
  background: var(--ink);
  border-color: var(--ink);
}
.mp-dashboard__tl-item.is-active .mp-dashboard__tl-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: mp-pulse 1.5s ease-in-out infinite;
}

.mp-dashboard__tl-item.is-pending .mp-dashboard__tl-dot {
  background: var(--white);
  border-color: var(--line);
}

.mp-dashboard__tl-content h5 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.mp-dashboard__tl-content span {
  font-size: 11px;
  color: var(--text-muted);
}

.mp-dashboard__tl-time {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}
.mp-dashboard__tl-item.is-active .mp-dashboard__tl-time {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .mp-dashboard { padding: 100px 0; }
  .mp-dashboard__wrap { padding: 16px; border-radius: 22px; }
  .mp-dashboard__body { grid-template-columns: 1fr; }
  .mp-dashboard__side { display: none; }
}

@media (max-width: 640px) {
  .mp-dashboard { padding: 80px 0; }
  .mp-dashboard__grid { grid-template-columns: 1fr; }
  .mp-dashboard__main { padding: 20px; }
  .mp-dashboard__topbar { padding: 14px 16px; gap: 12px; }
  .mp-dashboard__crumb { font-size: 11px; }
}
