
.demo-form[hidden], .demo-form [hidden] { display: none !important; }
.demo-form .demo-intro { margin: 0; color: var(--body); }
.demo-form .demo-message { grid-column: 1 / -1; }
.demo-form :is(select, textarea) { display: block; width: 100%; min-height: 44px; margin-top: 5px; padding: 8px 10px; border: 1px solid #aab3a5; border-radius: 7px; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.demo-form textarea { resize: vertical; }
.demo-form :is(input, select, textarea)[aria-invalid=true] { border-color: #a94d42; }
.demo-form .demo-form-actions { display: grid; gap: 10px; }
.demo-form-actions p { margin: 0; color: var(--body); font-size: .83rem; }
.demo-form-actions p a { text-decoration: underline; }
.demo-send-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo-clear { min-height: 44px; padding: 0 7px; color: var(--ink); background: transparent; border: 0; text-decoration: underline; }
.demo-form .demo-status { margin: 0; font-size: .9rem; color: var(--body); }
.demo-form .demo-field-error, .demo-form .demo-status[data-state=error] { display: block; color: #922a1d; }
.demo-form button:disabled { cursor: default; }
#demo { scroll-margin-top: 100px; }
@media (max-width: 600px) {
  .demo-send-actions { flex-direction: column-reverse; align-items: stretch; }
  .demo-send-actions button { width: 100%; }
}
