/* "Email your MLA": the same white column, ink, red and green as the flyer. */
a.brand { color: var(--ink); text-decoration: none; }
.page { max-width: 600px; margin: 0 auto; padding: 24px 16px 32px; display: block; }
.page h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.red { color: var(--red); }
.lede { margin: 0 0 20px; font-size: 18px; line-height: 1.45; }
.hint { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.hint a, .consent a, .prose a { color: var(--ink); text-underline-offset: 3px; }
.center { text-align: center; }

.step { border-top: 1px solid var(--rule); padding: 20px 0 8px; }
.step h2 { margin: 0 0 14px; font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 17px; font-weight: 800; flex: none;
}
.group { margin: 0 0 22px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.group h3 { margin: 0; font-size: 19px; font-weight: 800; }
.const-head { margin: 18px 0 4px; font-size: 16px; font-weight: 800; }
.link-btn {
  background: none; border: 0; padding: 6px 0; color: var(--red);
  font: 600 15px/1.2 var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
details.group > summary {
  cursor: pointer; font-size: 19px; font-weight: 800; padding: 10px 0; list-style-position: inside;
}

.mla-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mla-list:empty { display: none; }
.mla label {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px;
  border: 1px solid var(--rule); border-radius: 10px; cursor: pointer;
}
.mla label:has(input:checked) { border-color: var(--green); background: #f0f8f0; }
.mla label:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.mla input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.mla-text { display: flex; flex-direction: column; gap: 2px; }
.mla-name { font-weight: 600; font-size: 16px; }
.mla-meta { color: var(--muted); font-size: 14px; }
.role {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 600; vertical-align: 2px;
}
.count { margin: 4px 0 0; font-weight: 800; font-size: 17px; color: var(--green); }

.field-label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 16px; }
.step input[type="text"], .step input[type="email"], .step select, .step textarea {
  display: block; width: 100%; padding: 12px; border: 1.5px solid #b9b7b0; border-radius: 10px;
  font: 400 16px/1.45 var(--font); color: var(--ink); background: #fff;
}
.step textarea { resize: vertical; min-height: 280px; }
.step input:focus-visible, .step select:focus-visible, .step textarea:focus-visible, .mla input:focus-visible,
.consent input:focus-visible, .link-btn:focus-visible, details > summary:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 8px; font-size: 15px; line-height: 1.45; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.error { color: var(--red); font-weight: 600; font-size: 16px; min-height: 1.2em; margin: 12px 0; }
.error:empty { margin: 0; }
.btn-send { width: 100%; background: var(--red); color: #fff; font-size: 18px; min-height: 56px; margin-top: 8px; }
.btn-send:disabled { opacity: 0.6; cursor: wait; }
.btn-outline { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.done { border-top: 1px solid var(--rule); padding-top: 20px; }
.done h2 { margin: 0 0 12px; font-size: 26px; font-weight: 800; color: var(--green); }
.done p { font-size: 17px; line-height: 1.45; }
.sent-list { margin: 0 0 16px; padding-left: 22px; font-size: 16px; line-height: 1.5; }
.prose h2 { margin: 24px 0 8px; font-size: 20px; font-weight: 800; }
.prose p { font-size: 16px; line-height: 1.55; margin: 0 0 10px; }

/* The flyer page's "Email your MLA" panel */
.mla-cta { max-width: 600px; margin: 0 auto; padding: 24px 16px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.mla-cta h2 { margin: 0; font-size: 26px; font-weight: 800; text-wrap: balance; }
.mla-cta p { margin: 0; font-size: 17px; line-height: 1.45; }
.mla-cta .btn { width: 100%; }
