.post-demo {
  --forest: #26323d;
  --forest-soft: #465866;
  padding: 40px 0 72px;
  background: var(--soft);
}
.post-demo__shell { width: min(800px, calc(100% - 48px)); margin-inline: auto; }
.post-demo__back { display: inline-block; padding-block: 10px; font-weight: 700; }
.post-demo__intro { margin-block: 24px 32px; }
.post-demo h1 { margin: 12px 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.04em; }
.post-demo__intro > p { margin-bottom: 10px; }
.post-demo__privacy, .post-demo__hint { color: var(--muted); font-size: .9rem; }
.post-demo__form { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.post-demo__field { margin-bottom: 24px; min-width: 0; }
.post-demo__field label { display: block; margin-bottom: 8px; font-weight: 800; }
.post-demo__field input:not([type=hidden]), .post-demo__field textarea {
  width: 100%; padding: 12px; border: 1px solid #d0d9df; border-radius: 8px;
  color: var(--ink); background: var(--white); font-size: 1rem;
}
.post-demo__field textarea { resize: vertical; }
.post-demo [hidden] { display: none !important; }
.post-demo .rich-text-editor { min-height: 240px; font-size: 1rem; }
.post-demo .rich-text-toolbar button { min-height: 44px; min-width: 44px; font-size: .8rem; }
.post-demo .rich-text-status:empty { display: none; }
.post-demo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.post-demo__actions > a:not(.marketing-button) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.post-demo .marketing-button { cursor: pointer; text-align: center; }
.post-demo__error { color: #9b2937; font-size: .9rem; }
.post-demo__error ul { list-style: none; padding: 0; margin: 8px 0; }
.post-demo__board { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
.post-demo__board-header { padding: 24px 32px; background: #ecf1f4; }
.post-demo__badge { color: var(--muted); font-size: .8rem; font-weight: 800; }
.post-demo__board h2 { margin: 6px 0 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; }
.post-demo__board-content { padding: 24px 32px 32px; }
.post-demo__board-content > h3 { margin: 0 0 20px; font-size: 1.3rem; }
.post-demo__body { border-top: 1px solid var(--line); padding-top: 12px; }
.post-demo__body h2 { font-size: 1.2rem; }
.post-demo__body > :last-child { margin-bottom: 0; }
.post-demo__next { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-demo__next h2 { font-size: 1.5rem; letter-spacing: -.03em; }
@media (max-width: 600px) {
  .post-demo { padding-block: 20px 44px; }
  .post-demo__shell { width: calc(100% - 32px); }
  .post-demo__form, .post-demo__board-header, .post-demo__board-content { padding: 20px 16px; }
  .post-demo__actions .marketing-button { width: 100%; }
}
/* The shared full editor keeps the same controls and spacing as Manage. */
.post-demo { --accent: #4674ca; --paper: #fff; --canvas: #f3f6f8; --sage: #e4eaee; --sage-pale: #eef3f6; --danger: #9b2937; }
.post-demo__shell { width: min(900px, calc(100% - 48px)); }
.post-demo .post-demo__form { padding: 24px; display: grid; gap: 24px; }
.post-demo .post-demo__form .form-actions { margin-top: 0; }
.post-demo .form-errors:empty { display: none; }
.post-demo .resource-card, .post-demo .resource-link, .post-demo-preview .resource-card { margin-block: 16px; }
.post-demo .resource-card img, .post-demo .content-image img, .post-demo-preview img { max-width: 100%; height: auto; }
.post-demo .resource-card__copy, .post-demo .resource-link > span { min-width: 0; overflow-wrap: anywhere; }
.post-demo .prose table { max-width: 100%; overflow-wrap: anywhere; }
.post-demo .prose { overflow-x: auto; }
.post-demo__body { border-top: 0; }
.post-demo-preview .detail-main { padding: 24px; }
.post-demo-preview .detail-card { margin-inline: auto; }
.post-demo-preview .content-image img { max-height: 600px; object-fit: contain; }
.post-demo [data-practice-edit] { cursor: pointer; }
@media (max-width: 600px) {
  .post-demo__shell { width: calc(100% - 24px); }
  .post-demo .post-demo__form { padding: 16px; }
  .post-demo .content-publishing-section { padding: 16px; }
  .post-demo .form-actions { flex-wrap: wrap; }
}

.post-demo .post-demo__shell--result { width: min(1184px, calc(100% - 32px)); }
.post-demo .notice-card h3 a { color: inherit; }
.post-demo__notice-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); overflow-y: auto; }
.post-demo__notice-dialog::backdrop { background: rgb(32 42 51 / 55%); }
.post-demo__dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; color: var(--muted); font-weight: 700; }
.post-demo__notice-dialog .detail-card { padding: 24px; }
.post-demo__notice-dialog .detail-title h2 { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .post-demo__notice-dialog { padding: 12px; }
  .post-demo__notice-dialog .detail-card { padding: 16px; }
}
.post-demo__variant > h4 { margin: 0 0 6px; font-size: 1rem; }
.post-demo__variant-description { margin: 0 0 14px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.post-demo__comparison .post-demo__variant { display: flex; flex-direction: column; align-self: stretch; }
.post-demo__comparison .post-demo__variant > .notice-card,
.post-demo__comparison .post-demo__variant > .priority-pinned-area { margin-top: auto; }
@media (min-width: 24.001rem) {
  .post-demo__comparison .post-demo__variant--pinned { grid-column: span 2; }
}
@media (min-width: 62rem) {
  .post-demo__variant--pinned > .priority-pinned-area {
    height: 12.1rem;
    min-height: 12.1rem;
    max-height: 12.1rem;
  }
}

.post-demo__actions + .post-demo__hint { margin: 16px 0 0; }
