/* The free tools that sit beside the letter pages: the repair findings, the recipient-address
   check, the mailing-record checklist and the creator example. Loaded after guide.css, so it
   reuses its colours and only adds what those pages did not have. */

.findings { margin: 12px 0 18px; padding: 0; list-style: none; }
.findings li { border: 1px solid var(--line); border-left-width: 4px; border-radius: 8px; padding: 10px 14px; margin: 8px 0; background: #fff; }
.findings li.error { border-left-color: #b42318; }
.findings li.confirm { border-left-color: #b54708; }
.findings li strong { display: block; }
.findings li small { color: var(--muted); display: block; }
.findings-heading { font-size: 1rem; margin: 18px 0 4px; }
.share-box { width: 100%; min-height: 220px; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--soft); color: var(--ink); }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.share-actions .button { border: 0; cursor: pointer; font: inherit; }
.copied-note { color: #067647; font-weight: 600; min-height: 1.4em; }

.published-address .address-block { font-size: 1.1rem; line-height: 1.5; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.source-quote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid var(--line); color: var(--muted); font-size: .95rem; }
.alert-note { border: 1px solid #fdb022; background: #fffaeb; border-radius: 8px; padding: 10px 14px; }
.status-pill { display: inline-block; font-weight: 700; border-radius: 999px; padding: 2px 12px; font-size: .9rem; }
.status-pill.match { background: #ecfdf3; color: #067647; }
.status-pill.mismatch { background: #fef3f2; color: #b42318; }
.status-pill.unable_to_verify { background: #fffaeb; color: #b54708; }
.ready-form select { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

.checklist fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 12px 0; }
.checklist legend { font-weight: 700; padding: 0 6px; }
.checklist .hint { color: var(--muted); font-size: .95rem; margin: 0 0 8px; }
.checklist .choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checklist .choices label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.saved-list li { margin: 4px 0; }

.creator-form h3 { margin: 22px 0 4px; }
.creator-form h3:first-child { margin-top: 0; }
.creator-form label { display: block; font-weight: 600; margin: 10px 0 4px; }
.creator-form input, .creator-form textarea { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; }
.creator-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.creator-form .pair.tight { grid-template-columns: 72px 1fr; gap: 8px; }
.creator-form label small { font-weight: 400; color: var(--muted); }
.creator-form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.creator-form .check input { width: auto; margin-top: 6px; }
.letter-preview { white-space: pre-wrap; font: 14px/1.55 Helvetica, Arial, sans-serif; border: 1px solid var(--line); border-radius: 8px; padding: 28px 32px; background: #fff; box-shadow: 0 1px 3px rgba(20, 24, 31, .08); }
.missing-list { color: #b42318; }
@media (max-width: 560px) { .creator-form .pair { grid-template-columns: 1fr; } .creator-form .pair.tight { grid-template-columns: 72px 1fr; } .letter-preview { padding: 18px; } }

@media print {
  header.top, footer, .no-print, .creator-form, .share-actions { display: none !important; }
  .letter-preview { border: 0; box-shadow: none; padding: 0; }
  body.printing-letter main > :not(#creatorPreviewBox) { display: none !important; }
  body { font-size: 12pt; }
}
