.mmco-runs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #bbf7d0;
  border-radius: 24px;
  background: #ecfdf5;
  box-shadow: 0 14px 36px rgba(6, 95, 70, .10);
}
.mmco-runs-toolbar p {
  margin: 0 0 4px;
  color: #047857;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.mmco-runs-toolbar h3 {
  margin: 0;
  color: #064e3b;
  font-size: 22px;
  line-height: 1.1;
}
.mmco-runs-toolbar span[data-mmco-runs-selected-count] {
  display: block;
  margin-top: 6px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}
.mmco-runs-toolbar-actions,
.mmco-runs-actions,
.mmco-runs-run-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.mmco-runs-primary,
.mmco-runs-secondary,
.mmco-runs-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  padding: 12px 17px;
  font-weight: 950;
  font-size: 13px;
  text-decoration: none !important;
  cursor: pointer;
}
.mmco-runs-primary {
  background: #047857;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(4, 120, 87, .22);
}
.mmco-runs-primary:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}
.mmco-runs-secondary {
  background: #fff;
  color: #065f46 !important;
  border: 1px solid #bbf7d0;
}
.mmco-runs-danger {
  background: #fef2f2;
  color: #991b1b !important;
  border: 1px solid #fecaca;
}
.mmco-runs-message,
.mmco-runs-form-message {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 850;
}
.mmco-runs-message.is-ok,
.mmco-runs-form-message.is-ok { background: #dcfce7; color: #166534; }
.mmco-runs-message.is-error,
.mmco-runs-form-message.is-error,
.mmco-runs-error { background: #fee2e2; color: #991b1b; }
.mmco-runs-select-head,
.mmco-runs-select-cell {
  width: 76px;
  text-align: center !important;
  vertical-align: middle !important;
}
.mmco-runs-select-all {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mmco-runs-select-cell input,
.mmco-runs-select-head input {
  width: 20px;
  height: 20px;
  accent-color: #047857;
}
.mmco-runs-modal[hidden] { display: none !important; }
.mmco-runs-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.mmco-runs-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, .64);
  backdrop-filter: blur(6px);
}
.mmco-runs-dialog {
  position: relative;
  width: min(940px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #d1fae5;
  box-shadow: 0 28px 90px rgba(3, 7, 18, .34);
}
.mmco-runs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  background: linear-gradient(135deg, #064e3b, #047857);
  color: #fff;
}
.mmco-runs-head p {
  margin: 0 0 8px;
  color: #d1fae5;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.mmco-runs-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}
.mmco-runs-head span {
  display: block;
  max-width: 720px;
  margin-top: 10px;
  color: #d1fae5;
  font-size: 14px;
}
.mmco-runs-head button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.mmco-runs-form,
.mmco-runs-saved-body { padding: 26px 28px 30px; }
.mmco-runs-form label {
  display: block;
  margin: 0 0 16px;
  color: #064e3b;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.mmco-runs-form input,
.mmco-runs-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}
.mmco-runs-grid { display: grid; gap: 14px; }
.mmco-runs-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mmco-runs-check {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  align-self: end;
  min-height: 48px;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #374151 !important;
}
.mmco-runs-check input { width: auto; margin: 0; }
.mmco-runs-selected-list {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #d1fae5;
  border-radius: 20px;
  background: #f8fafc;
}
.mmco-runs-selected-list h3 {
  margin: 0 0 12px;
  color: #064e3b;
}
.mmco-runs-selected-card {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}
.mmco-runs-selected-card:last-child { border-bottom: 0; }
.mmco-runs-selected-card span { color: #4b5563; }
.mmco-runs-run-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #f8fafc;
}
.mmco-runs-run-card p {
  margin: 0 0 5px;
  color: #047857;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.mmco-runs-run-card h3 {
  margin: 0;
  color: #111827;
  font-size: 20px;
}
.mmco-runs-run-card span {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-weight: 750;
}
@media (max-width: 760px) {
  .mmco-runs-toolbar,
  .mmco-runs-run-card { align-items: stretch; flex-direction: column; }
  .mmco-runs-toolbar-actions,
  .mmco-runs-actions,
  .mmco-runs-run-actions { width: 100%; }
  .mmco-runs-primary,
  .mmco-runs-secondary,
  .mmco-runs-danger { width: 100%; }
  .mmco-runs-modal { padding: 12px; align-items: stretch; }
  .mmco-runs-dialog { max-height: 96vh; border-radius: 22px; }
  .mmco-runs-head,
  .mmco-runs-form,
  .mmco-runs-saved-body { padding: 20px; }
  .mmco-runs-grid.two { grid-template-columns: 1fr; }
}
