﻿body.faq-page { background:#fafafa; }
.help-center { max-width:1120px; padding:36px 24px 64px; margin:auto; }
.help-hero { text-align:center; padding:40px 24px; background:linear-gradient(130deg,#fff8f8,#fff); border:1px solid #f0e5e5; border-radius:20px; }
.help-eyebrow { color:var(--color-primary); font-size:12px; font-weight:700; }
.help-hero h1 { font-size:28px; margin:10px 0; }
.help-hero p { color:#70747d; font-size:14px; }
.help-search { max-width:560px; margin:24px auto 0; display:flex; align-items:center; gap:12px; border:1px solid #dedee2; border-radius:12px; background:#fff; padding:0 16px; }
.help-search:focus-within { border-color:var(--color-primary); box-shadow:0 0 0 3px rgba(215,25,32,.06); }
.help-search > svg { width:22px; height:22px; color:#8a8e96; flex-shrink:0; }
.help-search input { height:52px; width:100%; min-width:0; font-size:14px; background:none; }
.help-search button { font-size:22px; color:#777; cursor:pointer; padding:8px; }
.help-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:28px; margin-top:32px; align-items:start; }
.help-sidebar h2 { font-size:13px; color:#7d8189; margin:0 12px 14px; }
.help-filters { display:flex; flex-direction:column; gap:6px; }
.help-filters button { display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:right; padding:14px; border-radius:10px; background:transparent; color:#62666f; font-size:13px; cursor:pointer; }
.help-filters button span { font-size:11px; opacity:.7; }
.help-filters button.is-active { background:#fceced; color:var(--color-primary); font-weight:700; }
.help-list-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.help-list-heading h2 { font-size:17px; }
#faq-result-count { font-size:12px; color:#90939b; }
.help-question { border:1px solid #e8e8ec; border-radius:12px; background:#fff; margin-bottom:10px; overflow:hidden; }
.help-question summary { display:flex; align-items:center; justify-content:space-between; gap:16px; list-style:none; cursor:pointer; padding:20px; font-size:14px; font-weight:600; line-height:1.9; }
.help-question summary::-webkit-details-marker { display:none; }
.help-question summary svg { width:18px; height:18px; flex-shrink:0; color:#8b8f96; transition:transform 150ms ease; }
.help-question[open] summary { color:var(--color-primary); }
.help-question[open] summary svg { transform:rotate(45deg); }
.help-answer { padding:0 20px 22px; font-size:13px; color:#62666d; line-height:2.2; white-space:pre-line; }
.help-contact { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; padding:24px; border:1px solid #e8e8ec; border-radius:16px; background:#fff; margin-top:32px; }
.help-contact h2 { font-size:16px; margin-bottom:6px; }
.help-contact p { color:#7b7f86; font-size:12px; }
.help-contact-actions { display:flex; gap:10px; }
.help-contact-actions a, .help-contact-actions button, .help-empty button { padding:11px 16px; border:1px solid #e0e0e4; border-radius:8px; font-size:12px; cursor:pointer; }
.help-contact-actions button { background:var(--color-primary); color:#fff; border-color:var(--color-primary); }
.help-empty { text-align:center; padding:48px 16px; background:#fff; border-radius:12px; }
.help-empty h3 { font-size:16px; }
.help-empty p { color:#7c8088; font-size:13px; margin:12px 0 20px; }
.help-center button:focus-visible, .help-question summary:focus-visible { outline:2px solid var(--color-primary); outline-offset:2px; }
@media(max-width:768px) {
 .help-center { padding:20px 12px 40px; }
 .help-hero { padding:28px 14px; border-radius:16px; }
 .help-hero h1 { font-size:22px; }
 .help-hero p { font-size:12px; line-height:2; }
 .help-search { margin-top:20px; padding-inline:12px; gap:8px; }
 .help-search input { height:48px; font-size:12px; }
 .help-layout { display:block; margin-top:24px; }
 .help-sidebar h2 { display:none; }
 .help-filters { flex-direction:row; gap:8px; overflow:auto; scrollbar-width:none; padding:2px 0 14px; margin-bottom:14px; }
 .help-filters button { white-space:nowrap; padding:10px 14px; border:1px solid #e6e6ea; background:#fff; }
 .help-filters button.is-active { border-color:#f5c7ca; background:#fceced; }
 .help-question summary { padding:16px; font-size:13px; }
 .help-answer { padding:0 16px 18px; }
 .help-contact { padding:20px; }
 .help-contact-actions { width:100%; }
 .help-contact-actions > * { flex:1; text-align:center; }
}
@media(prefers-reduced-motion:reduce) { .help-question summary svg { transition:none; } }
/* Clear input layout and native/custom clear-button consistency. */
.help-search-label { display:block; max-width:560px; margin:22px auto 8px; text-align:right; font-size:12px; color:#62666d; }
.help-search { margin-top:0; min-width:0; }
.help-search input { flex:1 1 0; width:0; text-align:right; padding:0; appearance:none; -webkit-appearance:none; }
.help-search input::-webkit-search-cancel-button { -webkit-appearance:none; }
.help-search #faq-clear { flex:0 0 36px; width:36px; height:44px; padding:0; border-radius:8px; }
.help-search #faq-clear[hidden] { display:none; }
@media(max-width:768px) {
 .help-search input { font-size:16px; }
 .help-search input::placeholder { font-size:13px; }
 .help-search-label { margin-top:20px; }
 .help-search { margin-top:0; }
}
/* The wrapper owns the focus ring; do not draw a second rectangular ring on its input. */
.help-search #faq-search,
.help-search #faq-search:focus,
.help-search #faq-search:focus-visible {
 outline:none;
 outline-offset:0;
 border:0;
 box-shadow:none;
 border-radius:0;
 background:transparent;
}
.help-search:focus-within { border-color:var(--color-primary); box-shadow:0 0 0 3px rgba(215,25,32,.06); }
