/* Family contributors — sponsor section (Settings). cache: 20260929contrib
   Scoped to #contributors-card / .tfh-ctb-*; uses the page's design tokens with fallbacks. */
#contributors-card[hidden], .tfh-ctb [hidden] { display: none !important; }
.tfh-ctb h3 { font-family: Fraunces, Georgia, serif; font-size: 1.05rem; letter-spacing: -0.01em; margin: 1.4rem 0 0.35rem; color: var(--ink, #1c1917); }
.tfh-ctb .tfh-ctb-sub { margin: 0 0 0.75rem; font-size: 0.95rem; }
.tfh-ctb .tfh-ctb-small { font-size: 0.9rem; color: var(--muted, #57534e); margin: 0.5rem 0 0; }
.tfh-ctb .tfh-ctb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin-top: 0.75rem; }
.tfh-ctb .tfh-ctb-days { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 600; color: var(--ink, #1c1917); }
.tfh-ctb .tfh-ctb-days input { width: 4.5rem; padding: 0.55rem 0.6rem; border-radius: 0.75rem; border: 1px solid var(--line, #e7e5e4); font: inherit; background: #fff; color: var(--ink, #1c1917); }
.tfh-ctb .tfh-ctb-btn { padding: 0.6rem 1.05rem; font-size: 0.95rem; line-height: 1.2; }
.tfh-ctb .tfh-ctb-url { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.75rem; }
.tfh-ctb .tfh-ctb-url input { flex: 1 1 14rem; min-width: 0; padding: 0.65rem 0.8rem; border-radius: 0.75rem; border: 1px solid var(--line, #e7e5e4); font: inherit; font-size: 0.92rem; background: #faf7f2; color: var(--ink, #1c1917); }
.tfh-ctb ul.tfh-ctb-links, .tfh-ctb ul.tfh-ctb-notes { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.tfh-ctb .tfh-ctb-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.65rem 0; border-top: 1px solid var(--line, #e7e5e4); font-size: 0.95rem; color: var(--muted, #57534e); }
.tfh-ctb .tfh-ctb-link:first-child { border-top: 0; }
.tfh-ctb .tfh-ctb-link .tfh-ctb-meta { color: var(--ink, #1c1917); font-weight: 600; }
.tfh-ctb .tfh-ctb-confirm { flex-basis: 100%; background: #fff7ed; border-radius: 0.75rem; padding: 0.75rem 0.9rem; color: #9a3412; font-size: 0.95rem; }
.tfh-ctb .tfh-ctb-confirm p { margin: 0 0 0.6rem !important; color: #9a3412 !important; }
.tfh-ctb .tfh-ctb-msg { margin: 0.75rem 0 0; padding: 0.65rem 0.85rem; border-radius: 0.75rem; font-size: 0.95rem; font-weight: 500; }
.tfh-ctb .tfh-ctb-msg:empty { display: none; }
.tfh-ctb .tfh-ctb-msg.ok { background: #ecfdf5; color: #047857; }
.tfh-ctb .tfh-ctb-msg.err { background: #fff1f2; color: #be123c; }
.tfh-ctb .tfh-ctb-msg.info { background: #fff7ed; color: #9a3412; }
.tfh-ctb .tfh-ctb-note { padding: 1rem 0; border-top: 1px solid var(--line, #e7e5e4); }
.tfh-ctb .tfh-ctb-note:first-child { border-top: 0; }
.tfh-ctb .tfh-ctb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 0.75rem; margin-bottom: 0.45rem; }
.tfh-ctb .tfh-ctb-by { font-weight: 600; color: var(--ink, #1c1917); font-size: 0.95rem; }
.tfh-ctb .tfh-ctb-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; background: #f5f5f4; color: #44403c; white-space: nowrap; }
.tfh-ctb .tfh-ctb-tag.pending { background: #fff7ed; color: #9a3412; }
.tfh-ctb .tfh-ctb-tag.approved { background: #ecfdf5; color: #047857; }
.tfh-ctb .tfh-ctb-tag.held { background: #f5f5f4; color: #57534e; }
.tfh-ctb .tfh-ctb-ans { margin: 0 0 0.45rem; font-size: 0.95rem; color: var(--ink, #1c1917); white-space: pre-wrap; overflow-wrap: anywhere; }
.tfh-ctb .tfh-ctb-ans .q { display: block; font-size: 0.85rem; color: var(--muted, #57534e); font-weight: 600; }
.tfh-ctb .tfh-ctb-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.tfh-ctb .tfh-ctb-note .tfh-ctb-confirm { margin-top: 0.6rem; }
.tfh-ctb .tfh-ctb-hold { background: #f5f5f4; color: #44403c !important; border-radius: 0.75rem; padding: 0.7rem 0.9rem; font-size: 0.95rem; }
@media (max-width: 520px) {
  .tfh-ctb .tfh-ctb-actions .btn, .tfh-ctb .tfh-ctb-row .btn { flex: 1 1 auto; text-align: center; }
}
/* 2026-10-12 family-help: heading row with right-aligned "Invite family"; pending notes first as amber-edged cards
   (same look as the /reports/ request cards: 4px amber left edge, light card, rounded). */
.tfh-ctb .tfh-ctb-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: nowrap; }
.tfh-ctb .tfh-ctb-top h2 { margin: 0; flex: 1 1 auto; min-width: 0; }
.tfh-ctb .tfh-ctb-invite { min-height: 44px; margin-left: auto; flex: 0 0 auto; white-space: nowrap; }
.tfh-ctb .tfh-ctb-explainer { margin: 0.5rem 0 0.25rem; color: var(--muted, #6b5e4e); }
.tfh-ctb .tfh-ctb-waiting { margin-top: 1rem; }
.tfh-ctb ul.tfh-ctb-pending { display: grid; gap: 0.7rem; }
.tfh-ctb .tfh-ctb-note.is-pending { background: #FFFEFB; border: 1px solid #D6CCC0; border-left: 4px solid #C4893A; border-radius: 0.9rem; padding: 0.8rem 0.95rem; }
.tfh-ctb .tfh-ctb-note.is-pending:first-child { border-top: 1px solid #D6CCC0; }
.tfh-ctb .tfh-ctb-invite-panel { margin-top: 0.5rem; }
