/* D22SA1 — Startseite inline editor (side panel + live preview). */
.demo-editor-main {
  min-width: 0;
  padding-bottom: 88px;
}
.demo-editor-header {
  margin-bottom: 24px;
}
.demo-editor-header h1 {
  margin: 4px 0 8px;
  font-size: 28px;
}
.demo-editor-crumb {
  margin: 0;
  font-size: 13px;
  color: #b7b7c3;
}
.demo-editor-crumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.demo-editor-crumb a:hover {
  text-decoration: underline;
}
.demo-editor-lead {
  margin: 0;
  color: #b7b7c3;
  max-width: 42rem;
}
.demo-editor-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.demo-editor-panel {
  background: #202026;
  border: 1px solid #393942;
  border-radius: 12px;
  padding: 20px;
}
.demo-editor-panel label {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #b7b7c3;
}
.demo-editor-panel input {
  display: block;
  width: 100%;
  margin-top: 6px;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #393942;
  background: #15151a;
  color: #fff;
  font: inherit;
}
.demo-editor-panel input:focus {
  outline: 2px solid #6ea8ff;
  outline-offset: 1px;
}
.demo-editor-error {
  margin: 0 0 12px;
  color: #ffb4b4;
  font-size: 14px;
}
.demo-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.demo-editor-actions button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.demo-editor-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.demo-editor-shop-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.demo-editor-shop-link:hover {
  text-decoration: underline;
}
.demo-editor-status {
  margin: 12px 0 0;
  min-height: 1.2em;
  font-size: 13px;
  color: #b8f3cc;
}
.demo-editor-preview-wrap {
  min-width: 0;
}
.demo-editor-preview-label {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b7b7c3;
}
.demo-editor-preview {
  background: linear-gradient(160deg, #f7f4ef 0%, #ebe4d8 55%, #e2d8c8 100%);
  color: #1a1a1a;
  border-radius: 12px;
  padding: 36px 32px;
  min-height: 280px;
  box-sizing: border-box;
}
.demo-preview-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a564e;
}
.demo-preview-headline {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.demo-preview-sub {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.45;
  max-width: 36rem;
  color: #3a3832;
  overflow-wrap: anywhere;
}
.demo-preview-cta {
  display: inline-block;
  padding: 12px 18px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.demo-editor-footer {
  margin-top: 28px;
  font-size: 12px;
  color: #b7b7c3;
}
.demo-editor-footer a {
  color: #fff;
}
@media (max-width: 900px) {
  .demo-editor-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .demo-editor-header h1 {
    font-size: 24px;
  }
  .demo-editor-preview {
    padding: 24px 18px;
    min-height: 220px;
  }
}
