.mkp-live-demo {
  border: 1px solid var(--md-default-fg-color--lightest, #e5e7eb);
  border-radius: 0.5rem;
  padding: 1rem 1.15rem 1.15rem;
  margin: 1rem 0 1.25rem;
  background: linear-gradient(180deg, rgba(2, 132, 199, 0.04), transparent 48%);
}

.mkp-live-demo__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.mkp-live-demo__hint {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  opacity: 0.85;
}

.mkp-live-demo__mount .mkp-field {
  margin: 0.55rem 0;
}

.mkp-live-demo__mount label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.mkp-live-demo__mount input,
.mkp-live-demo__mount textarea,
.mkp-live-demo__mount select {
  width: 100%;
  max-width: 28rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.35rem;
  font: inherit;
}

.mkp-live-demo__mount button,
.mkp-live-demo__actions button {
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 0.35rem;
  background: #0284c7;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.mkp-live-demo__mount button:hover,
.mkp-live-demo__actions button:hover {
  background: #0369a1;
}

.mkp-live-demo__status {
  min-height: 1.25rem;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.mkp-live-demo__status[data-state="success"] {
  color: #047857;
}

.mkp-live-demo__status[data-state="error"] {
  color: #b91c1c;
}

.mkp-live-demo__status[data-state="loading"] {
  color: #0369a1;
}

.mkp-live-demo__output {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  white-space: pre-wrap;
  overflow-x: auto;
}

.mkp-live-demo-code {
  margin: 0 0 1.5rem;
}

.mkp-live-demo-code pre {
  margin-top: 0.35rem;
}

.mkp-live-demo__offline {
  padding: 0.75rem;
  border-radius: 0.35rem;
  background: #fff7ed;
  border: 1px solid #fdba74;
  font-size: 0.9rem;
}
