/* Volunteer outreach page (/volunteer/?v=CODE). Shared tokens, header and buttons come from styles.css;
   the report form reuses the "Count me in!" sheet styles in volunteer.css. Phone first, big tap targets. */

.page-outreach main { padding: 2rem 0 3rem; }
.page-outreach h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 2.75rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--heritage-green);
}
.out-pledge { margin: 14px 0 0; padding: 12px 16px; background: var(--paper); border-left: 5px solid var(--brand-green); border-radius: 6px; }
.out-howto { margin: 14px 0 0; }
.out-howto .button-secondary { width: 100%; background: var(--white); }   /* a big, easy-to-tap link to the how-to slides */
.out-notice { margin-top: 14px; padding: 10px 14px; background: #FFF4D6; border: 1px solid #EAD59A; border-radius: 8px; color: #5C4710; }
.out-status { margin: 18px 0; color: var(--muted); }
.out-panel { margin-top: 20px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.out-panel h2, .out-card h2, .out-card h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .03em; color: var(--heritage-green); }
.out-panel h2 { margin: 0 0 8px; font-size: 1.5rem; }
.out-panel p { margin: 0; }

.out-cards { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 22px; }
.out-card { padding: 20px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.out-top { display: flex; gap: 16px; align-items: center; }
.out-photo { flex: none; width: 96px; height: 120px; object-fit: cover; border-radius: 6px; background: var(--line); }
.out-name { margin: 0; font-size: 1.75rem; line-height: 1.1; }
.out-aka { margin: 4px 0 0; color: var(--muted); font-size: 1.125rem; }
.out-card h3 { margin: 22px 0 6px; font-size: 1.125rem; }

.out-info { margin: 16px 0 0; }
.out-row { padding: 10px 0; border-top: 1px solid var(--line); }
.out-row dt { font-family: var(--font-head); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.out-row dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.out-row a { color: var(--brand-green); }
/* tap-to-call and email links in a card: a full 44px tap area, while still reading as plain text */
.out-row dd a[href^="tel:"], .out-row dd a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
.out-age, .out-none { color: var(--muted); font-size: 1.125rem; }
.out-row dd .out-age, .out-row dd .out-warn { display: block; }
.out-found-item { display: block; margin-bottom: 8px; }
/* "Text this number": small, but still a full-size tap target */
.out-textlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin-left: 2px; background: none; border: 0;
  color: var(--brand-green); font: inherit; font-size: 1rem; font-weight: 600; text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.out-textlink:focus-visible { outline: 4px solid var(--ink); outline-offset: 2px; }
.out-uses { margin: 10px 0 0; font-size: 1rem; color: var(--muted); }
.vol-hint.out-notefound { margin-top: 12px; padding: 10px 12px; background: #FFF4D6; border-radius: 8px; color: #5C4710; font-weight: 600; }
.out-warn { margin-top: 2px; color: #8A3B12; font-weight: 600; font-size: 1.125rem; }  /* ⚠ and words, never colour alone */

.out-hist { margin: 0; padding-left: 1.2rem; font-size: 1.125rem; }
.out-hist li { margin: 4px 0; }
/* Older history folds under "Show all N" (a full-size tap target) */
.out-more-hist summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 1.125rem; font-weight: 600; color: var(--brand-green); text-decoration: underline; cursor: pointer; }
.out-more-hist summary:focus-visible { outline: 3px solid #284A32; outline-offset: 2px; }
/* A save that didn't go through: bold, boxed and impossible to miss */
.vol-sheet .vol-err:not([hidden]) { padding: 10px 12px; background: #FBE9E3; border: 2px solid #9A3B1E; border-radius: 8px; font-weight: 600; }

.out-hint { margin: 0 0 12px; font-size: 1.125rem; color: var(--muted); }
.out-fallback { margin-top: 14px; padding: 14px; background: #FFF4D6; border-radius: 10px; }
.out-fallback p { margin: 0 0 8px; font-size: 1.125rem; }
.out-fallback textarea { width: 100%; padding: 12px; font: inherit; font-size: 1.125rem; line-height: 1.5; color: var(--ink); background: var(--white); border: 2px solid var(--field-border); border-radius: 8px; resize: vertical; }
.out-send { display: flex; flex-wrap: wrap; gap: 12px; }
.out-send .button-secondary { min-width: 8.5rem; flex: 1 1 8.5rem; }
.out-send [data-send="fb"] { flex-basis: 100%; }   /* the long label gets its own row */
.out-prompt { margin: 16px 0 0; padding: 10px 14px; background: #FFF4D6; border-radius: 8px; font-weight: 600; }
.out-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 20px; }
.out-giveback {
  min-height: 48px; padding: 0 6px; background: none; border: 0;
  color: var(--brand-green); font: inherit; font-size: 1.125rem; text-decoration: underline; text-underline-offset: .15em; cursor: pointer;
}
.out-giveback:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; }
.out-copied { margin: 10px 0 0; min-height: 1.5em; color: var(--brand-green); font-weight: 600; font-size: 1.125rem; }

/* Progress: their own numbers only, in words as well as figures */
.out-progress ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.out-progress li { padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; line-height: 1.25; }
.out-progress b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--heritage-green); }
.out-progress span { font-size: 1.125rem; }
.out-progress .out-found { display: block; margin-top: 4px; font-size: 1rem; font-weight: 600; color: var(--heritage-green); }
@media (min-width: 640px) { .out-progress ul { grid-template-columns: repeat(4, 1fr); } }
.out-together { margin: 14px 0 0; font-size: 1.125rem; font-style: italic; }
.out-foundline { margin: 18px 0 0; font-size: 1.25rem; font-weight: 600; color: var(--heritage-green); }
/* What to check ("We have: phone. Still need: email · Are they coming?") and their answer, if any */
.out-check { margin: 14px 0 0; padding: 10px 14px; background: #FFF4D6; border-radius: 8px; font-size: 1.125rem; line-height: 1.45; }
.out-coming { margin: 10px 0 0; font-size: 1.125rem; }
.out-coming .out-age { font-size: 1.125rem; }
/* A detail marked wrong: crossed out, with "⚠ Wrong …" in words underneath (never colour alone) */
.out-wrong { color: var(--muted); text-decoration-thickness: 2px; }
.out-lost { margin: 18px 0 0; padding: 12px 14px; background: #FFF4D6; border-radius: 8px; font-size: 1.125rem; }
/* "They verified their info": email, then phone, each Correct / Changed / Didn't ask */
.vol-sheet fieldset.out-vset { margin-top: 12px; border-top: 0; }
.vol-sheet legend.out-vwhat { font-family: var(--font-body); font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--ink); overflow-wrap: anywhere; }
.out-vwhat span { font-weight: 600; }
.out-vnew label { display: block; margin-top: 10px; }
/* "Is it a cell or a landline?" and the address heading in the report form: plain body text, not a small label */
.out-typeq { margin: 14px 0 0; font-size: 18px; font-weight: 600; color: var(--ink); }

/* Found (Contact Status Confirmed): at the bottom, under their own heading; a green check and the word "Confirmed" */
.out-foundsec { margin-top: 36px; }
.out-foundsec h2 { margin: 0; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.15; text-transform: uppercase;
  letter-spacing: .03em; color: var(--heritage-green); }
.out-card-found { border-left: 6px solid var(--brand-green); }
.out-confirmed { margin: 8px 0 0; font-size: 1.125rem; font-weight: 700; line-height: 1.6; color: var(--brand-green); }
.out-tick { display: inline-block; width: 1.6em; height: 1.6em; margin-right: 6px; border-radius: 50%; background: var(--brand-green);
  color: #fff; font-size: 1rem; line-height: 1.6em; text-align: center; vertical-align: middle; }
/* Very narrow screens (a small phone zoomed right in): the name and "✓ Confirmed" go under the photo instead of beside it */
@media (max-width: 300px) { .out-top { flex-wrap: wrap; } }
.out-more { margin-top: 28px; padding: 20px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.out-more form p { margin: 14px 0 0; font-size: 1.125rem; }
.out-more label { display: block; margin: 14px 0 6px; font-family: var(--font-head); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.out-more textarea { width: 100%; min-height: 90px; padding: 12px; font: inherit; font-size: 1.125rem; border: 2px solid var(--field-border); border-radius: 8px; background: var(--white); color: var(--ink); }
.out-more .button-primary { margin-top: 14px; }
.out-more-done { margin: 0; font-weight: 600; color: var(--brand-green); }

/* Report form choices: one big tap target each */
.out-choices { display: grid; gap: 10px; margin-top: 10px; }
.vol-sheet .out-choice, .vol-sheet .out-chip { margin: 0; font-family: var(--font-body); font-size: 1.125rem; letter-spacing: 0; text-transform: none; cursor: pointer; }
.out-choice input, .out-chip input { position: absolute; opacity: 0; }
.out-choice > span { display: block; min-height: 52px; padding: 12px 16px; border: 2px solid var(--field-border); border-radius: 10px; background: var(--white); }
.out-choice > input:checked + span { background: var(--heritage-green); border-color: var(--heritage-green); color: var(--cream); }
.out-choice input:checked + span .vol-opt { color: var(--cream); }
.out-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.out-chip span { display: inline-block; min-height: 48px; padding: 10px 18px; border: 2px solid var(--field-border); border-radius: 99px; background: var(--white); }
.out-chip input:checked + span { background: var(--heritage-green); border-color: var(--heritage-green); color: var(--cream); }
.out-choice input:focus-visible + span, .out-chip input:focus-visible + span { outline: 4px solid var(--brand-green); outline-offset: 3px; }
.out-ask { margin: 14px 0 0; font-style: italic; font-size: 1.125rem; }
.vol-hint.out-how { margin-top: 16px; font-weight: 600; color: var(--heritage-green); }

@media (min-width: 640px) {
  .out-card { padding: 24px; }
  .out-photo { width: 120px; height: 150px; }
}
