/* The help page (help.js): questions as quiet rows, the form in one card, the other ways as buttons. */
.help { max-inline-size: 46rem; margin-inline: auto; padding-block: 2rem 4rem; display: grid; gap: 2.5rem; }
.help__head h1 { margin: 0 0 .5rem; }
.help__head .lead { margin: 0; color: var(--color-text-muted); }
.help__section h2 { margin: 0 0 1rem; }
.help__section h3 { margin: 2rem 0 .75rem; font-size: 1rem; }
.help__faq { border-block-start: 1px solid var(--color-border); }
.help__q { border-block-end: 1px solid var(--color-border); }
.help__q summary { color: var(--color-text); cursor: pointer; padding: 1rem .25rem; font-weight: 600; list-style-position: outside; }
.help__q summary:focus-visible { outline: 2px solid var(--color-focus-ring); outline-offset: 2px; border-radius: var(--radius-control); }
.help__q p { margin: 0 .25rem 1.1rem; line-height: 1.7; color: var(--color-text-muted); }
.help__said { margin-block-start: 1rem; }
.notice--error { background: var(--color-danger-soft); }
.help__trap { position: absolute; inset-inline-start: -10000px; inline-size: 1px; block-size: 1px; opacity: 0; }
.help__ways { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 0; }

/* The form (Bader, 15 Nov 2026): the look of Cnippet UI's support-request fieldset (v-fieldset-9, MIT). One card; a
   title; a label over each control and a short help line under it; soft rounded controls with a quiet shadow and a
   clear ring on focus. */
.help__form { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: 0 1px 2px color-mix(in srgb, #000 5%, transparent); }
.help__fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.help__formhead { display: flex; flex-direction: column; gap: .5rem; padding-block-end: 1.25rem; border-block-end: 1px solid var(--color-border); }
.help__form .help__legend { margin: 0; font: 600 1.125rem / 1.35 var(--type-label-family, inherit); color: var(--color-text); }
.help__formhead .help__promise { font-size: .875rem; }
.help__field { display: flex; flex-direction: column; gap: .5rem; }
.help__label { font: 500 .875rem / 1.4 var(--type-label-family, inherit); color: var(--color-text); }
.help__hint { margin: 0; font-size: .8125rem; line-height: 1.55; color: var(--color-text-muted); }
.help__control { font: inherit; font-size: .9375rem; inline-size: 100%; min-block-size: 2.5rem; padding: .5rem .75rem;
  border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-canvas); color: var(--color-text);
  box-shadow: 0 1px 2px color-mix(in srgb, #000 6%, transparent); transition: border-color .15s, box-shadow .15s; }
.help__control::placeholder { color: var(--color-text-subtle, var(--color-text-muted)); opacity: 1; }
.help__control:hover { border-color: var(--color-border-strong); }
.help__control:focus-visible, .help__control:focus { outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 22%, transparent); }
textarea.help__control { min-block-size: 7.5rem; resize: vertical; line-height: 1.6; }
/* Safari draws its own grey select unless told not to; this one matches the other fields in every browser. */
select.help__control { cursor: pointer; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; padding-inline-end: 2.5rem; }
[dir="rtl"] select.help__control { background-position: left .85rem center; }
.help__form :disabled { opacity: .6; cursor: not-allowed; }
.help__foot { display: flex; align-items: center; gap: 1rem; margin-block-start: 1.5rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--color-border); }
.help__foot .help__hint { flex: 1; }
.help__send { flex: none; min-inline-size: 7rem; }
@media (max-width: 40rem) { .help__foot { flex-direction: column; align-items: stretch; } .help__send { inline-size: 100%; } }
