/* support.css — public support page + its printed A4 sheet (29 Sept 2026). Linked by support.php only. */
.sp-main { max-width: 900px; margin: 0 auto; padding: 16px; }
.sp-main h1 { margin: 8px 0 4px; }
.sp-lead { color: #475467; margin: 0 0 12px; }
.sp-branch-note { background: #eef4fb; border-left: 4px solid #0b5394; padding: 8px 12px; border-radius: 4px; }
.sp-topics { border: 0; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.sp-topics legend { font-weight: 600; margin-bottom: 8px; }
.sp-tile { display: flex; align-items: center; gap: 8px; border: 1px solid #d0d5dd; border-radius: 8px; padding: 10px 12px; cursor: pointer; background: #fff; }
.sp-tile:has(input:checked) { border-color: #0b5394; background: #eef4fb; font-weight: 600; }
.sp-tile input { width: 18px; height: 18px; margin: 0; }
.sp-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 16px; }
.sp-row label { font-weight: 600; margin: 0; }
.sp-row select { min-width: 180px; }
.sp-hint { color: #667085; }
.sp-sheet { border: 1px solid #e4e7ec; border-radius: 10px; padding: 18px 20px; background: #fff; }
.sp-print-head { display: none; }
.sp-title { margin: 0; font-size: 1.35rem; }
.sp-sub { margin: 2px 0 12px; color: #667085; }
.sp-crisis { border: 2px solid #b42318; background: #fef3f2; border-radius: 8px; padding: 10px 14px; margin: 0 0 16px; }
.sp-crisis h3 { margin: 0 0 4px; color: #b42318; }
.sp-crisis p { margin: 0 0 6px; }
.sp-crisis-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.sp-crisis-list > li > .sp-cs { display: inline; }
.sp-crisis-list > li > .sp-cs li { display: inline; margin-right: 10px; }
.sp-topic { margin: 0 0 14px; }
.sp-topic > h3 { margin: 14px 0 6px; padding-bottom: 4px; border-bottom: 2px solid #0b5394; color: #0b5394; }
.sp-intro, .sp-none { color: #475467; }
.sp-org { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eaecf0; break-inside: avoid; page-break-inside: avoid; }
.sp-org h4 { margin: 0 0 2px; font-size: 1.02rem; }
.sp-sum { margin: 0 0 4px; }
.sp-cs { list-style: none; padding: 0; margin: 0 0 2px; }
.sp-c { margin: 1px 0; }
.sp-meta { color: #667085; font-size: .9em; }
.sp-web { margin: 2px 0 0; font-size: .92em; word-break: break-all; }
.sp-checked { margin: 2px 0 0; color: #98a2b3; font-size: .78em; }
.sp-finder { background: #f8fafc; }
.sp-org-qr .sp-qr { width: 78px; height: 78px; display: block; }
.sp-print-foot { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding-top: 10px; border-top: 1px solid #d0d5dd; font-size: .85rem; color: #475467; }
.sp-print-foot p { margin: 0 0 4px; }
.sp-foot-qr .sp-qr { width: 88px; height: 88px; display: block; }
.sp-mark { width: 40px; height: 40px; }

@media print {
    @page { size: A4; margin: 12mm 12mm 12mm 12mm; }
    body.sp-page { background: #fff; font-size: 10.5pt; }
    .sp-screen-only, .ps-topbar, nav, .ps-footer, footer.ps-footer { display: none !important; }
    .sp-main { max-width: none; padding: 0; }
    .sp-sheet { border: 0; padding: 0; }
    .sp-print-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid #0b5394; }
    .sp-brand { display: flex; gap: 8px; align-items: center; }
    .sp-mark { width: 14mm; height: 14mm; }
    .sp-word { font-size: 17pt; font-weight: 700; line-height: 1; }
    .sp-site { font-size: 9.5pt; color: #475467; }
    .sp-given { text-align: right; font-size: 9pt; line-height: 1.35; }
    .sp-title { font-size: 14pt; }
    .sp-org { padding: 5px 0; }
    .sp-org-qr .sp-qr { width: 20mm; height: 20mm; }
    .sp-foot-qr .sp-qr { width: 22mm; height: 22mm; }
    .sp-print-foot { font-size: 8.5pt; break-inside: avoid; }
    a { color: inherit; text-decoration: none; }
    .sp-crisis, .sp-finder { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.sp-small { font-size: .85rem; margin: 0; }
.sp-sub-h { margin: 8px 0 2px; font-size: .95rem; color: #475467; text-transform: uppercase; letter-spacing: .03em; }
.sp-where { margin: 2px 0 0; font-size: .92em; }
@media print { .sp-topic > h3, .sp-sub-h { break-after: avoid; page-break-after: avoid; } }
.sp-prt { display: none; }
.sp-discreet-note { background: #fffaeb; border: 1px solid #fedf89; border-left: 4px solid #dc6803; border-radius: 6px; padding: 10px 14px; margin: 0 0 14px; }
.sp-discreet-note ul { margin: 6px 0 0 18px; padding: 0; }
@media print { .sp-scr, .sp-discreet-note { display: none !important; } .sp-prt { display: block; } h2.sp-title .sp-prt { display: inline; } }
/* printed sheet: imported entries' long descriptions cut to 2 lines (full text stays on screen) */
@media print { .sp-imported .sp-sum { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
/* "Use my location" button (7 Oct 2026) - same look as the directory's .near-loc-btn (style.css is not loaded here) */
.sp-or { color: #667085; }
.sp-loc-btn { padding: 7px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; font-size: .9rem; color: #334155; cursor: pointer; white-space: nowrap; }
.sp-loc-btn:hover { background: #f1f5f9; border-color: #94a3b8; }
.sp-loc-btn.is-active { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; }
.sp-loc-btn:disabled { opacity: .6; cursor: wait; }
.sp-loc-status { margin: -8px 0 12px; font-size: .88rem; color: #667085; min-height: 1.2em; }
.sp-loc-status:empty { display: none; }
.sp-loc-status.ok { color: #15803d; }
.sp-loc-status.error { color: #b91c1c; }
/* Finder hint (7 Oct 2026): what to type into someone else's search tool */
.sp-hint { margin: 4px 0 0; font-size: .9em; color: #344054; }
.sp-hint strong { white-space: nowrap; }
