.xp-scheduled-menu-item {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 48px;
  padding: 8px 16px;
  margin: 0;
  color: #000 !important;
  text-decoration: none !important;
  box-sizing: border-box;
}

.xp-scheduled-menu-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.xp-scheduled-menu-item.active {
  color: #1967d2 !important;
  background: #e8f0fe !important;
  border-left: 5px solid #1967d2;
}

.xp-scheduled-menu-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

.xp-scheduled-menu-label {
  font-size: 16px;
  line-height: 1.4;
}

body.xp-scheduled-route main > :not(.xp-scheduled-page) {
  display: none !important;
}

.xp-scheduled-page {
  padding: clamp(16px, 3vw, 32px);
  color: #1f2937;
}

.xp-scheduled-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.xp-scheduled-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.xp-scheduled-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.xp-scheduled-head p {
  margin: 6px 0 0;
  color: #64748b;
}

.xp-scheduled-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e8f0fe;
  color: #1967d2;
  font-weight: 700;
  white-space: nowrap;
}

.xp-scheduled-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.xp-scheduled-stat,
.xp-scheduled-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.2);
}

.xp-scheduled-stat {
  padding: 16px;
}

.xp-scheduled-stat span {
  display: block;
  color: #64748b;
  font-size: 13px;
  margin-bottom: 8px;
}

.xp-scheduled-stat strong {
  display: block;
  color: #111827;
  font-size: 30px;
  line-height: 1.1;
}

.xp-scheduled-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 14px;
}

.xp-scheduled-card {
  overflow: hidden;
}

.xp-scheduled-card-top {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.xp-scheduled-icon {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}

.xp-scheduled-card h2 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
}

.xp-scheduled-card p {
  margin: 0;
  color: #475569;
}

.xp-scheduled-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e5e7eb;
}

.xp-scheduled-meta div {
  padding: 12px;
  background: #f8fafc;
}

.xp-scheduled-meta span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 4px;
}

.xp-scheduled-meta strong {
  color: #111827;
  font-size: 16px;
}

.xp-scheduled-runs {
  padding: 14px 16px 16px;
}

.xp-scheduled-runs h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.xp-scheduled-run-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 8px;
}

.xp-scheduled-run {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
}

.xp-scheduled-empty,
.xp-scheduled-error {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.xp-scheduled-error {
  border-color: #fecaca;
  color: #991b1b;
}

@media (max-width: 900px) {
  .xp-scheduled-summary,
  .xp-scheduled-grid {
    grid-template-columns: 1fr;
  }

  .xp-scheduled-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .xp-scheduled-card-top,
  .xp-scheduled-meta,
  .xp-scheduled-run-list {
    grid-template-columns: 1fr;
  }
}
