/* Shared FAQ (Overscan "Questions", Inbox Workshop "Questions"). Since 1.10.0 the rows are kit "lit rows" (starsync-ui.css v2.9,
   BRAND.md "Lit row"): the side glow, the coloured title and mark, and the slide open and shut all come from the kit class .ss-lit.
   This file keeps only what the kit does not: the list frame, the answer text spacing and the Expand all button.
   Markup: .ov-faq-head (h2 + #ov-faq-all button) and .ov-faq > details.ss-lit[data-rc] > summary > h3.ss-lit-title + .ov-faq-body.
   Script: static/js/faq.js (Expand all / Collapse all only). */

/* Rows run 16px past the text on each side so the lit row's coloured edges never touch the words;
   on wider screens the rows hang out into the gutter so the text still lines up with the heading. */
.ov-faq { border-top: 1px solid var(--ss-line); max-width: 760px; }
@media (min-width: 720px) { .ov-faq { margin: 0 -16px; max-width: 792px; } }
.ov-faq summary:focus-visible { border-radius: var(--ss-r); }
/* Answer text: the kit gives the body its padding and 60ch width; only the gaps between paragraphs live here. */
.ss .ov-faq .ov-faq-body p { margin: 0 0 12px; }
.ss .ov-faq .ov-faq-body p:last-child { margin-bottom: 0; }
.ss .ov-faq .ov-faq-body .ov-faq-note { font-size: 13px; margin-top: -4px; color: var(--ss-text-3); }

/* FAQ "Expand all" / "Collapse all": ONE outline button (kit .ss-btn, so it has an edge at rest, rule 5a) on the heading's line;
   faq.js flips its words. min-width = the longer words, so the heading line does not jump. 44px tall to tap */
.ov-faq-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; max-width: 760px; margin: 0 0 12px; }
.ss .ov-faq-head h2 { margin: 0; }
.ov-faq-all { display: flex; }
.ov-faq-all[hidden] { display: none; }
.ov-faq-btn { min-height: 44px; min-width: calc(12ch + 30px); padding: 0 14px; font: 500 13px/1 var(--ss-font-mono); }
