/* feature-page-qa.css - page-specific styles split from feature-page.css
   (WO-MDT-1313-002). Loaded only by: assistant, finance, games, journal, planner, pricing, workouts.
   Rules keep their original cascade order relative to the core sheet:
   this file loads immediately after feature-page.css. */


/* ---- Q&A: one disclosure per question ------------------------------------ */
.dt-qa { display: grid; gap: 0; max-width: 760px; }

.dt-qa details { border-top: 1px solid var(--m2-hair); }

.dt-qa details:last-child { border-bottom: 1px solid var(--m2-hair); }

.dt-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 0; cursor: pointer; list-style: none; }

.dt-qa summary::-webkit-details-marker { display: none; }

.dt-qa summary h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }

.dt-qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px #cfc6ba; font-size: 1.125rem; line-height: 1; transition: transform var(--m-dur) var(--m2-ease); }

.dt-qa details[open] summary::after { transform: rotate(45deg); }

.dt-qa details > p { margin: 0 0 18px; max-width: 62ch; color: var(--m2-muted); }
/* Feel unification (r148): the summary is the one interactive element
   on the Q&A pages and it carried no hover or press state while the
   fleet's other disclosures answer the pointer. Same language as the
   nav panels and cards: an opacity-only wash on a ::before layer, an
   ember ring on the disc, a press scale on the disc. Hover is gated
   to fine pointers. */
.dt-qa summary { position: relative; isolation: isolate; }

.dt-qa summary::before { content: ""; position: absolute; inset: 0 -12px; z-index: -1; border-radius: 12px; background: #f1ede7; opacity: 0; transition: opacity var(--m-dur-fast) var(--m2-ease); pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .dt-qa summary:hover::before { opacity: 1; }
  .dt-qa summary:hover::after { box-shadow: inset 0 0 0 1px var(--m2-ember-ink); color: var(--m2-ember-ink); }
}

.dt-qa summary:active::before { opacity: 1; }

.dt-qa summary:active::after { transform: scale(.98); }

.dt-qa details[open] summary:active::after { transform: rotate(45deg) scale(.98); }
