/* FAQ shares the compact visual language of the contact and information pages. */
#content .fq-page { font-family: Inter, "Segoe UI", Arial, sans-serif; padding-bottom: 26px; }
#content .fq-page [hidden] { display: none !important; }
#content .fq-page .fq-hero { margin: 24px 0 16px; padding: 26px 28px; border-radius: 10px; }
#content .fq-page .fq-hero .ag-kicker { margin-bottom: 10px; padding: 4px 9px; border-radius: 4px; font-size: 11px; letter-spacing: .04em; }
#content .fq-page .fq-hero h1 { font-size: 28px; line-height: 1.25; text-shadow: none; }
#content .fq-page .fq-hero .ag-lead { margin: 0; font-size: 15px; line-height: 1.55; }
#content .fq-page .fq-toc { gap: 8px; margin-bottom: 22px; }
#content .fq-page .fq-toc a { padding: 8px 11px; border-radius: 5px; font-size: 12px; line-height: 1.5; }
#content .fq-page :where(a, button, input, summary):focus-visible { outline: 2px solid var(--ag-blue); outline-offset: 4px; }
#content .fq-tools { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 26px; }
#content .fq-search { flex: 1; min-width: 0; }
#content .fq-search label { display: block; margin: 0 0 7px; color: var(--ag-text); font: 500 12px/1.5 Inter, "Segoe UI", Arial, sans-serif; }
#content .fq-input-wrap { position: relative; }
#content .fq-input-wrap > svg { position: absolute; left: 14px; top: 13px; color: var(--ag-muted); pointer-events: none; }
#content .fq-page #faq-search { display: block; width: 100%; height: 46px; margin: 0; padding: 10px 46px 10px 44px; border: 1px solid var(--ag-line); border-radius: 7px; background: #fff; color: var(--ag-ink); font: inherit; box-shadow: none; }
#content .fq-page #faq-search::placeholder { color: #6b7788; opacity: 1; font-size: 14px; }
#content .fq-page #faq-search::-webkit-search-cancel-button { -webkit-appearance: none; }
#content .fq-page button { font: 500 13px/1.5 Inter, "Segoe UI", Arial, sans-serif; cursor: pointer; }
#content .fq-page .fq-clear { position: absolute; right: 3px; top: 3px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--ag-navy); font-size: 25px; }
#content .fq-page .fq-expand, #content .fq-empty button { min-height: 46px; padding: 10px 14px; border: 1px solid var(--ag-line); border-radius: 7px; background: var(--ag-soft); color: var(--ag-navy); }
#content .fq-page .fq-expand:hover, #content .fq-empty button:hover, #content .fq-page .fq-clear:hover { background: #e6effa; }
#content .fq-page .fq-status { margin: -12px 0 18px; font-size: 13px; color: var(--ag-muted); }
#content .fq-section { margin: 0 0 28px; scroll-margin-top: 20px; }
#content .fq-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
#content .fq-page .fq-number { display: flex; align-items: center; justify-content: center; flex: 0 0 34px; height: 34px; border-radius: 7px; background: #eaf2fc; color: var(--ag-blue); font-size: 12px; font-weight: 600; }
#content .fq-page .fq-heading h2 { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 650; color: var(--ag-navy); }
#content .fq-list { border: 1px solid var(--ag-line); border-radius: 9px; background: #fff; box-shadow: 0 6px 20px -16px rgba(1, 40, 90, .25); }
#content .fq-item { margin: 0; scroll-margin-top: 20px; border-bottom: 1px solid var(--ag-line); }
#content .fq-item:last-child { border-bottom: 0; }
#content .fq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 64px; padding: 18px 22px; color: var(--ag-ink); font: 600 15px/1.5 Inter, "Segoe UI", Arial, sans-serif; cursor: pointer; list-style: none; border-radius: 8px; }
#content .fq-item summary::-webkit-details-marker { display: none; }
#content .fq-item summary::marker { content: ""; }
#content .fq-item summary:hover { background: var(--ag-soft); color: var(--ag-navy); }
#content .fq-item[open] summary { color: var(--ag-navy); }
#content .fq-page .fq-plus { position: relative; flex: 0 0 26px; height: 26px; border-radius: 50%; background: #edf4fc; color: var(--ag-blue); }
#content .fq-plus::before, #content .fq-plus::after { content: ""; position: absolute; top: 12px; left: 7px; width: 12px; height: 2px; background: currentColor; }
#content .fq-plus::after { transform: rotate(90deg); }
#content .fq-item[open] .fq-plus::after { display: none; }
#content .fq-page .fq-answer { padding: 0 64px 22px 22px; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
#content .fq-answer > :last-child { margin-bottom: 0; }
#content .fq-answer .pre { white-space: pre-line; }
#content .fq-answer a { text-decoration: underline; text-underline-offset: 3px; }
#content .fq-answer ul { list-style: disc; padding-left: 22px; }
#content .fq-answer ol { list-style: decimal; padding-left: 22px; }
#content .fq-answer li { list-style: inherit; }
#content .fq-empty { padding: 30px 24px; margin-bottom: 24px; border: 1px dashed var(--ag-line); border-radius: 9px; text-align: center; background: var(--ag-soft); }
#content .fq-page .fq-empty h2, #content .fq-page .fq-help h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.4; color: var(--ag-navy); }
#content .fq-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 24px; border: 1px solid var(--ag-line); border-radius: 9px; background: var(--ag-soft); }
#content .fq-page .fq-help p { margin: 0; font-size: 14px; line-height: 1.6; }
#content .fq-page .fq-help > a { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex-shrink: 0; min-height: 44px; padding: 10px 16px; border-radius: 6px; background: var(--ag-navy); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
#content .fq-page .fq-help > a:hover { background: #0b5fcc; }
@media (max-width: 760px) {
    #content .fq-page .fq-hero { margin-top: 16px; padding: 22px 18px; }
    #content .fq-page .fq-hero h1 { font-size: 24px; }
    #content .fq-page .fq-toc { flex-direction: column; gap: 6px; margin-bottom: 18px; }
    #content .fq-page .fq-toc a { display: flex; align-items: center; min-height: 44px; }
    #content .fq-tools { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
    #content .fq-search { flex-basis: 100%; }
    #content .fq-page .fq-expand { width: 100%; }
    #content .fq-page .fq-heading h2 { font-size: 17px; }
    #content .fq-heading { align-items: flex-start; gap: 10px; }
    #content .fq-item summary { padding: 16px; gap: 14px; font-size: 14px; }
    #content .fq-page .fq-answer { padding: 0 16px 20px; }
    #content .fq-help { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 18px; }
}
@media print {
    #content .fq-page .fq-hero { background: none; box-shadow: none; padding: 0; }
    #content .fq-page .fq-hero :is(h1, .ag-kicker, .ag-lead) { color: #000; background: none; }
    #content .fq-toc, #content .fq-tools, #content .fq-status, #content .fq-help, #content .fq-empty, #content .fq-plus { display: none !important; }
    #content .fq-page .fq-section[hidden], #content .fq-page .fq-item[hidden] { display: block !important; }
    #content .fq-item, #content .fq-list { box-shadow: none; }
    #content .fq-item summary { break-after: avoid; }
}
