/* bv-components.css — shared components lifted from /odoo-erp/accounting/
   Purpose: the quick-answer card, the <details> FAQ accordion and the
   'Where to go next' related block need their own CSS to render. Wave 1 pages
   reuse this one file; nothing is inlined per page.
   Every selector is scoped to a component class (.qa*, .faq-item*, #related,
   .rec-row/.rec-tx/.rec-ch) so no existing element changes.
   NOTE: .rec-grid/.rec-card are already used by the Recognition badge block on
   these pages — that is why the related block is scoped under #related. */

.fh .faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px 72px;margin-top:56px}
.fh .faq-item h3{font-size:17.5px;font-weight:600;margin-bottom:10px}
.fh .faq-item p{font-size:14.5px;color:var(--muted)}
.fh .qa-sec{padding:72px 0 84px}
.fh .qa{border:1px solid var(--line);border-radius:var(--radius);background:#FAFAFA;padding:8px 32px}
.fh .qa-row{display:grid;grid-template-columns:180px 1fr;gap:28px;padding:22px 0;border-bottom:1px solid var(--line)}
.fh .qa-row:last-child{border-bottom:0}
.fh .qa-l{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue-bright);padding-top:3px}
.fh .qa-row p{font-size:16px;line-height:1.6;margin:0;color:var(--ink)}
.fh .faq-item{border-bottom:1px solid var(--line)}
.fh .faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center; justify-content:space-between;gap:14px;min-height:56px;padding:14px 0}
.fh .faq-item summary::-webkit-details-marker{display:none}
.fh .faq-item summary h3{margin:0;font-size:16px;font-weight:600;line-height:1.35}
.fh .faq-item summary::after{content:"";flex:0 0 14px;height:14px; background:linear-gradient(var(--blue-bright),var(--blue-bright)) center/14px 2px no-repeat, linear-gradient(var(--blue-bright),var(--blue-bright)) center/2px 14px no-repeat; transition:transform .2s ease}
.fh .faq-item[open] summary::after{transform:rotate(45deg)}
.fh .faq-item .faq-a{padding:0 0 18px}
.fh .faq-item .faq-a p{font-size:14.5px;color:var(--muted);margin:0}
.fh .rec-row{display:grid;grid-template-columns:1fr 20px;gap:12px;align-items:center; min-height:56px;text-decoration:none;color:inherit}
.fh .rec-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.fh .rec-tx b{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.3}
.fh .rec-tx small{font-size:12.5px;color:var(--muted);line-height:1.35}
.fh .rec-ch{color:var(--blue-bright);font-size:20px;text-align:right;line-height:1}

@media(max-width:800px){
  .fh .faq-grid{grid-template-columns:1fr}
}

@media(max-width:760px){
  .fh .qa{padding:4px 20px}
  .fh .qa-row{grid-template-columns:1fr;gap:8px;padding:18px 0}
}

@media (max-width:1024px){
  .fh .faq-grid{display:block}
  .fh #related .rec-grid{display:block;margin-top:26px}
  .fh #related .rec-card{display:block;border:0;border-bottom:1px solid var(--line); border-radius:0;padding:0;margin:0;background:transparent}
  .fh #related .rec-card h3{font-size:14px;font-weight:600;margin:0}
  .fh #related .rec-card p{margin:0}
  .fh #related .rec-card p a{min-height:56px;display:flex;flex-direction:column; justify-content:center;gap:2px;font-size:13px;color:var(--muted);text-decoration:none; padding-right:22px;position:relative}
  .fh #related .rec-card p a::after{content:"›";position:absolute;right:4px;top:50%; transform:translateY(-50%);color:var(--blue-bright);font-size:19px}
  .fh .qa-sec{padding:34px 0 44px}
  .fh .qa{padding:4px 18px}
  .fh .qa-row{padding:16px 0}
  .fh .qa-row p{font-size:15px}
  .fh .qa[data-collapsed="1"] .qa-row:nth-child(n+3){display:none}
  .fh .qa-more{display:block;width:100%;min-height:48px;border:0;border-top:1px solid var(--line); background:none;font-family:inherit;font-size:13.5px;font-weight:600;color:var(--blue-bright);cursor:pointer}
  .fh #related .rec-grid{display:block;margin-top:22px}
  .fh #related .rec-card{display:block;border:0;border-bottom:1px solid var(--line); border-radius:0;padding:0;margin:0;background:transparent}
  .fh #faq .faq-grid[data-collapsed="1"] .faq-item:nth-child(n+6){display:none}
  .fh .faq-ask{display:flex;align-items:center;justify-content:space-between;min-height:56px; font-size:14px;font-weight:600;color:var(--blue-bright);text-decoration:none; border-top:1px solid var(--line);margin-top:4px}
}

/* Engagement strip wrapper. New class, used only by the strip, so nothing else
   can be affected. The page's own dark-card grid (.mods) is fixed at four
   columns and would render broken with three cards. */
.fh .bv-eng-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:44px}
@media (max-width:1024px){.fh .bv-eng-grid{grid-template-columns:1fr;gap:16px;margin-top:32px}}
/* The engagement cards are light (--paper-2) but sit inside a .dark band, which
   sets color:#fff. The card's <p> declares its own colour and survives; its <h3>
   does not, and rendered white-on-light. Scoped to the strip only. */
.fh .bv-eng-grid .engagement-card h3{color:var(--ink)}
