/* The FAQ pages (1.32.0): one help centre per product - Learn (/faq), SkillVerify (sv/faq.html), Team Skills
   (ts/faq.html) and Teach (teach/faq.html) - with the same look: a teal hero with a search box and "Ask the AI
   assistant", topic chips, and questions that open in place. Loaded after the product's own stylesheets; it uses
   only its own class names (faq-*), so it never changes the home pages' .faq blocks. */
.faq-hero { background: linear-gradient(160deg, #0F766E 0%, #115E59 60%, #0B3F3B 100%); color: #fff; padding: 44px 0 36px; }
.faq-hero .wrap { display: grid; gap: 14px; }
.faq-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #99F6E4; }
.faq-hero h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; color: #fff; }
.faq-hero p { margin: 0; max-width: 680px; color: #CCFBF1; }
.faq-hero p.faq-howto { font-size: .95rem; }   /* 1.50.0: the line pointing to the How-To guides */
.faq-howto a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.faq-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.faq-search { flex: 1 1 320px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 0 16px; max-width: 560px; }
.faq-search svg { width: 18px; height: 18px; stroke: #5D5D5D; fill: none; stroke-width: 2; flex: 0 0 auto; }
.faq-search input { border: 0; outline: 0; flex: 1; min-width: 0; padding: 12px 0; font: inherit; color: #1A1A1A; background: transparent; }
.faq-ask { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); color: #fff;
  border-radius: 999px; padding: 11px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.faq-ask:hover { background: rgba(255,255,255,.22); }
.faq-ask svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.faq-body { padding: 26px 0 56px; display: grid; gap: 22px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-cats a { text-decoration: none; border: 1px solid var(--line, #E5E5E5); background: var(--card, #fff); color: var(--ink, #1A1A1A);
  padding: 6px 14px; border-radius: 999px; font-size: .92rem; }
.faq-cats a:hover { border-color: var(--teal, #0D9488); color: var(--teal-dark, #0F766E); }
.faq-cats a .n { color: var(--faint, #8A8A8A); margin-left: 4px; font-size: .85em; }
.faq-cat { background: var(--card, #fff); border: 1px solid var(--line, #E5E5E5); border-radius: 14px; padding: 6px 22px 10px; scroll-margin-top: 16px; }
.faq-cat h2 { font-size: 1.15rem; margin: 16px 0 4px; color: var(--teal-dark, #0F766E); }
.faq-item { border-bottom: 1px solid var(--line, #E5E5E5); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-weight: 650; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal, #0D9488); font-size: 1.35rem; line-height: 1; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 2px solid var(--teal, #0D9488); outline-offset: 2px; border-radius: 4px; }
.faq-a { padding: 0 0 16px; color: var(--muted, #5D5D5D); }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child, .faq-a ul:last-child, .faq-a ol:last-child { margin-bottom: 0; }
.faq-a ul, .faq-a ol { margin: 0 0 10px; padding-left: 22px; }
.faq-a li { margin: 3px 0; }
.faq-item mark { background: #FEF3C7; color: inherit; border-radius: 2px; }
.faq-none { text-align: center; color: var(--muted, #5D5D5D); padding: 18px; }
.faq-more { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; background: var(--teal-wash, #F0FDFA);
  border: 1px solid var(--teal-tint, #CCFBF1); border-radius: 14px; padding: 18px 22px; }
.faq-more h2 { margin: 0 0 4px; font-size: 1.1rem; }
.faq-more p { margin: 0; color: var(--muted, #5D5D5D); }
.faq-more .faq-ask { color: var(--teal-dark, #0F766E); border-color: var(--teal, #0D9488); background: #fff; }
.faq-more .faq-ask:hover { background: var(--teal-wash, #F0FDFA); }
.faq-cat[hidden], .faq-item[hidden], .faq-none[hidden] { display: none !important; }
@media (max-width: 560px) {
  .faq-hero { padding: 32px 0 26px; }
  .faq-cat { padding: 4px 16px 8px; }
  .faq-ask { width: 100%; justify-content: center; }
}
