.csc-cron-list,
.csc-cron-audit {
  display: grid;
  gap: 10px;
}

.csc-cron-card,
.csc-cron-audit article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(31, 31, 40, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.csc-cron-card strong,
.csc-cron-card small,
.csc-cron-audit strong,
.csc-cron-audit small {
  display: block;
}

.csc-cron-card small,
.csc-cron-audit small {
  margin-top: 4px;
  color: var(--mia-muted);
  font-weight: 800;
}

.csc-cron-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.csc-cron-editor-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-items: end;
  padding: 12px;
  background: rgba(22, 18, 24, 0.56);
  backdrop-filter: blur(8px);
}

.csc-cron-editor {
  width: min(900px, 100%);
  max-height: calc(100vh - 24px);
  margin: 0 auto;
  padding: 18px;
  overflow-y: auto;
  border-radius: 24px 24px 16px 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(31, 31, 40, 0.28);
}

.csc-cron-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.csc-cron-form-grid label,
.csc-switch {
  display: grid;
  gap: 7px;
  color: var(--mia-ink);
  font-weight: 850;
}

.csc-switch {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin: 16px 0;
}

.csc-switch input {
  width: 21px;
  height: 21px;
  accent-color: var(--mia-pink);
}

@media (min-width: 760px) {
  .csc-cron-card {
    grid-template-columns: minmax(260px, 2fr) minmax(150px, 1fr) minmax(360px, 2fr);
    align-items: center;
  }

  .csc-cron-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .csc-cron-audit article {
    grid-template-columns: minmax(220px, 2fr) auto minmax(220px, 1fr);
    align-items: center;
  }

  .csc-cron-editor-backdrop {
    align-items: center;
    padding: 24px;
  }

  .csc-cron-editor {
    border-radius: 28px;
    padding: 24px;
  }

  .csc-cron-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .csc-cron-wide {
    grid-column: 1 / -1;
  }
}
