.mk-preview-notice {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgb(var(--mk-warm));
  color: rgb(var(--mk-on-dark));
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 700;
}

.mk-btn--ghost {
  border-color: transparent;
  background: transparent;
  color: rgb(var(--mk-heading));
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.mk-form-state {
  border: 1px solid rgb(var(--mk-border));
  border-radius: 0.5rem;
  padding: 1rem;
  line-height: 1.5;
}

.mk-form-state--success {
  border-color: rgb(75 130 96 / 0.42);
  background: rgb(231 244 236);
}

.mk-form-state--error {
  border-color: rgb(171 82 68 / 0.45);
  background: rgb(252 241 239);
}

.mk-form-state ul {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
}

.mk-history {
  display: grid;
  gap: clamp(2.4rem, 5vw, 4.5rem);
}

.mk-history__list {
  display: grid;
  gap: clamp(2.8rem, 6vw, 5.5rem);
}

.mk-history-article {
  display: grid;
  gap: clamp(1.3rem, 3.5vw, 3rem);
  align-items: center;
  border-top: 1px solid rgb(var(--mk-border));
  padding-top: clamp(1.6rem, 4vw, 3rem);
}

.mk-history-article__media {
  display: grid;
  gap: 0.7rem;
}

.mk-history-article__media picture,
.mk-history-article__media img {
  width: 100%;
  height: 100%;
}

.mk-history-article__media img {
  min-height: clamp(18rem, 42vw, 32rem);
  object-fit: cover;
}

.mk-history-article__media figcaption {
  color: rgb(var(--mk-muted));
  font-size: 0.86rem;
  line-height: 1.45;
}

.mk-history-placeholder {
  min-height: clamp(18rem, 42vw, 32rem);
  display: grid;
  align-content: end;
  gap: 0.35rem;
  border: 1px dashed rgb(var(--mk-border-strong));
  background:
    linear-gradient(135deg, rgb(var(--mk-surface-muted)) 0 25%, transparent 25% 50%, rgb(var(--mk-surface-muted)) 50% 75%, transparent 75%),
    rgb(var(--mk-bg-soft));
  background-size: 1.1rem 1.1rem;
  color: rgb(var(--mk-heading));
  padding: clamp(1rem, 3vw, 1.6rem);
}

.mk-history-placeholder span {
  color: rgb(var(--mk-muted));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mk-history-placeholder strong {
  max-width: 18rem;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.05;
}

.mk-history-article__body {
  display: grid;
  gap: 0.9rem;
  max-width: 42rem;
}

.mk-history-article__body h3 {
  font-size: 2rem;
  line-height: 1.04;
}

.mk-history-article__meta {
  color: rgb(var(--mk-muted));
  font-size: 0.9rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .mk-history-article {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .mk-history-article:nth-child(even) {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .mk-history-article:nth-child(even) .mk-history-article__media {
    order: 2;
  }

  .mk-history-placeholder strong {
    font-size: 2.35rem;
  }

  .mk-history-article__body h3 {
    font-size: 3rem;
  }
}
