/* FAQs: the same shared surfaces, buttons and record cards as the other screens. */
#faq-overview-view main { display: flex; flex-direction: column; gap: 20px; min-width: 0; overflow-wrap: anywhere; }
#faq-overview-view main > .dashboard-card { margin: 0; }
#faq-overview-view .dashboard-card h2 { margin-top: 0; color: #16324f; }
#faq-overview-view .dashboard-card p { min-height: 0; }
#faq-overview-error:empty, .faq-overview-count:empty { display: none; }
.faq-overview-intro p { margin: 0 0 10px; }
.faq-overview-summary ul { margin: 0; padding-left: 20px; color: #16324f; }
.faq-overview-summary li { margin: 2px 0; }
.faq-overview-note { font-size: 13px; color: #4b5563; margin: 10px 0 0; }
.faq-overview-search { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.faq-overview-search label { font-weight: 600; color: #16324f; font-size: 14px; }
.faq-overview-search-row { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-overview-search-row input { flex: 1 1 220px; min-width: 0; }
.faq-overview-search input, .faq-overview-search select { box-sizing: border-box; min-height: 40px; padding: 8px 10px; font: inherit;
    font-size: 15px; border: 1px solid #94a3b8; border-radius: 6px; background: #fff; color: #16324f; max-width: 100%; }
.faq-overview-search-row button { margin: 0; }
.faq-overview-search label[for="faq-overview-filter"] { margin-top: 6px; }
.faq-overview-count { font-weight: 600; color: #16324f; }
.faq-overview-list { display: flex; flex-direction: column; gap: 10px; }
.faq-overview-post { padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.faq-overview-post-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; }
.faq-overview-post h3 { margin: 0; font-size: 16px; color: #16324f; }
.faq-overview-meta { margin: 4px 0 0; font-size: 13px; color: #4b5563; }
.faq-overview-kind { margin: 8px 0 0; font-size: 14px; color: #7a4b00; }
.faq-overview-badge { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.faq-overview-badge.is-ok { background: #e6f4ea; color: #1e5631; }
.faq-overview-badge.is-warn { background: #fff4d6; color: #7a4b00; }
.faq-overview-badge.is-none { background: #f1f5f9; color: #4b5563; }
.faq-overview-faqs { margin-top: 10px; }
.faq-overview-faqs summary { cursor: pointer; color: #16324f; font-weight: 600; font-size: 14px; }
.faq-overview-faqs ol { margin: 8px 0 0; padding-left: 0; list-style: none; }
.faq-overview-faqs li { margin-bottom: 10px; }
.faq-overview-question { margin: 0; font-weight: 600; color: #16324f; }
.faq-overview-answer { margin: 4px 0 0; font-size: 14px; color: #374151; }
.faq-overview-also { margin: 4px 0 0; font-size: 13px; color: #7a4b00; }
.faq-overview-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.faq-overview-actions button { margin: 0; }
.faq-overview-link { display: inline-flex; align-items: center; text-decoration: none; }
.faq-overview-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* Buttons in a row never get the older ".dashboard-card button + button" left margin; the row's gap spaces them. */
#faq-overview-view .faq-overview-search-row button + button,
#faq-overview-view .faq-overview-actions button + button { margin-left: 0; }
