/* Honored Goodbyes — binder (extends styles.css + checklist.css) */
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.4rem; }
.choice { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; min-height: 48px; padding: 0.4rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--ivory); text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 500; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--sage-deep); flex: none; }
.choice:has(input:checked) { background: var(--sage-soft); border-color: var(--sage); font-weight: 600; }
.choice-clear { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; font: inherit; font-size: 0.92rem; min-height: 44px; padding: 0 0.4rem; cursor: pointer; }

.rows { display: grid; gap: 0.75rem; margin-bottom: 0.5rem; }
.row-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0.85rem; display: grid; gap: 0.6rem; }
.row-field { min-width: 0; }
.row-field input, .row-field textarea { min-height: 48px; font-size: 1rem; }
.row-field textarea { line-height: 1.45; resize: vertical; overflow: hidden; }
.row-remove { justify-self: end; min-height: 44px; font-size: 0.9rem; padding: 0.3rem 0.9rem; }
.guard { margin: 0; padding: 0.5rem 0.75rem; border-radius: 10px; background: #fbefeb; border: 1px solid #e3c4bb; color: #8a3b2e; font-size: 0.95rem; }
.utah-note.warn { border-left-color: #b5523f; background: #fbefeb; }
.hg-link { margin: 0.5rem 0 0.9rem; padding: 0.75rem 1rem; border: 1px dashed var(--gold); border-radius: 14px; background: rgba(212, 193, 154, .14); }
.hg-link p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
.print-note { display: none; }
@media (min-width: 720px) {
  .row-card { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; }
  .row-card.layout-pair { grid-template-columns: 1fr 1.4fr auto; }
  .row-card.layout-message { grid-template-columns: 12rem 1fr auto; align-items: start; }
  .row-card .guard { grid-column: 1 / -1; order: 5; }
  .row-remove { align-self: end; }
}
.cl-hero .privacy { font-size: 0.95rem; }

@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .cl-bar, .toolbar, .how-save, .jump, .reset-confirm, .flash, .row-remove, .add-row, .choice-clear, .skip, .more-tools, .hg-link { display: none !important; }
  .cl-hero { padding: 0 0 0.6rem; background: none; }
  .cl-hero .ornament, .cl-hero-note { display: none; }
  .cl-hero h1 { font-size: 22pt; }
  .tagline { font-size: 11pt; margin-top: 0.2rem; }
  .cl-intro, .cl-main { background: #fff; padding: 0; }
  .cl-section { box-shadow: none; border: 0; border-top: 1px solid #999; border-radius: 0; break-inside: auto; margin: 0 0 0.6rem; }
  .cl-section > summary { padding: 0.5rem 0; min-height: 0; }
  .cl-section > summary::after, .sum-bar, .sum-progress { display: none !important; }
  .field, .row-card { border: 0; border-bottom: 1px solid #ccc; border-radius: 0; background: none !important; padding: 0.35rem 0; break-inside: avoid; }
  .row-card { grid-template-columns: 1fr 1fr 1fr; }
  .row-card.layout-pair { grid-template-columns: 1fr 1.4fr; }
  .row-card.layout-message { grid-template-columns: 10rem 1fr; }
  .row-field input, .row-field textarea, .field > input, .field > textarea, .choices { display: none !important; }
  .print-text { display: block; min-height: 1.6em; border-bottom: 1px solid #aaa; white-space: pre-wrap; font-size: 11pt; }
  .field[data-fid="fun-obit"] .print-text, .field[data-fid$="-notes"] .print-text { min-height: 3.6em; }
  .field:has(.choices) .print-text { border: 0; }
  .field:has(.choices) .print-text::before { content: "\2610 "; }
  .field:has(.choices) { break-inside: avoid; }
  .cl-section .choices { display: flex !important; }
  .choice { border: 0; background: none !important; min-height: 0; padding: 0 0.6rem 0 0; }
  .choice-clear { display: none; }
  .field:has(.choices) .print-text { display: none; }
  .utah-note { font-size: 10pt; }
}
