/*
 * The visitors' feedback form: a page the Worker writes (api/src/feedback-pages.ts), reached from a site's footer. It is a file, not
 * inline, because the hub's policy blocks inline styles. It is plain and calm on purpose: the visitor came from a site they use, and it
 * must not look like the hub's admin screens. The app's font bundle is not loaded here, so it uses the system sans, and the colours are
 * the hub's (DESIGN.md) written out, because this file does not load the app's style sheet. web/src/feedback-form-css.test.ts checks them.
 */
* { box-sizing: border-box; }
body { margin: 0; background: #e8eef0; color: #172126; font: 1rem/1.5 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
main { max-width: 36rem; margin: 0 auto; padding: 16px 12px 48px; }
.back { margin: 0 0 12px; font-size: .9375rem; }
h1 { margin: 0 0 8px; font-size: 1.75rem; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h2 { margin: 0 0 8px; font-size: 1.125rem; line-height: 1.2; }
.lede { margin: 0 0 20px; color: #44545c; }
form, .notice { background: #fff; border: 1px solid #c5d1d6; border-radius: 8px; padding: 16px 12px; }
.notice { margin-top: 20px; font-size: .9375rem; color: #44545c; }
.notice ul { margin: 0; padding-left: 1.1rem; }
.notice li + li { margin-top: 6px; }
label { display: block; margin: 14px 0 4px; font-size: .875rem; font-weight: 700; color: #44545c; }
form > label:first-of-type { margin-top: 0; }
textarea, input[type="email"], input[type="text"] { width: 100%; padding: 10px 12px; border: 1px solid #62747c; border-radius: 6px; background: #fff; color: #172126; font: inherit; }
textarea { min-height: 9rem; resize: vertical; }
.hint { margin: 6px 0 0; font-size: .875rem; color: #44545c; }
.check { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.check label { margin: 0; font-size: 1rem; font-weight: 600; color: #172126; }
.check input { width: 1.5rem; height: 1.5rem; flex: none; accent-color: #0b6b45; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid #0b6b45; border-radius: 6px; background: #0b6b45; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
button { width: 100%; margin-top: 18px; }
button:hover, .button:hover { background: #095a3a; border-color: #095a3a; }
a { color: #1c56a3; }
:focus-visible { outline: 3px solid #0b57d0; outline-offset: 2px; }
.errors { margin: 0 0 16px; padding: 10px 12px 10px 28px; border: 1px solid #d58a82; border-radius: 6px; background: #fbe5e2; color: #7a1610; }
/* The field that catches programs. People never see it or reach it with a keyboard; a program that fills in every field does. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { button, .button { transition: background-color .15s ease-out, border-color .15s ease-out; } }
