/*
 * FAQ page: each category is a plain heading followed by a stack of
 * individually-boxed question pills (not one bordered card containing
 * a dense list) - closer to a support-centre accordion than the
 * app's own issue-review table, which the previous version borrowed
 * its ▸ marker/amber accent-border styling from and read as an odd
 * fit here (nothing on this page is a warning).
 *
 * Extracted from faq.html so the page carries no inline <style>,
 * which is what lets the Content-Security-Policy drop 'unsafe-inline'
 * from style-src (see CONTENT_SECURITY_POLICY in web/app.py).
 */
.faq-section {
    margin: 0 0 2.25rem;
}
.faq-section h2 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 0.9rem;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--grid-line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(19, 27, 46, 0.04);
    margin-bottom: 0.6rem;
    overflow: hidden;
}
.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.3rem;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.faq-summary::-webkit-details-marker {
    display: none;
}
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ink);
    position: relative;
    transition: transform 0.15s ease;
}
/* A chevron drawn from a rotated square's corner, not a font glyph -
   renders identically everywhere rather than depending on whichever
   Unicode arrow a given font happens to ship. Points down when
   closed, flips to point up on open. */
.faq-icon::before {
    content: "";
    position: absolute;
    top: 45%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--surface);
    border-bottom: 2px solid var(--surface);
    transform: translate(-50%, -50%) rotate(45deg);
}
.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 1.3rem 1.2rem;
    font-size: 0.92rem;
}
.faq-answer > *:first-child {
    margin-top: 0;
}
.faq-answer > *:last-child {
    margin-bottom: 0;
}
