/* Help center layout shared by the guide and FAQ. */
.nav [aria-current="page"] { color: #ead8ff; text-decoration: underline; text-underline-offset: .45em; }
.doc-hero { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 235px; padding-block: 2rem; }
.doc-label { color: #d7bdff; font-weight: 650; letter-spacing: .1em; font-size: .87rem; }
.doc-hero h1 { font-size: clamp(2.7rem, 4.4vw, 4.4rem); margin: .4rem 0 .65rem; line-height: 1.15; }
.doc-lead { max-width: 43rem; color: #d5cee1; }
.doc-art { position: relative; width: min(25%, 220px); flex: none; aspect-ratio: 1.65; }
.doc-art img { display: block; position: absolute; width: 66%; height: auto; top: -7%; left: 17%; transform: rotate(-8deg); }
.doc-art i { position: absolute; inset: 27% 0 14%; border: 1px solid #dac4ff8c; border-radius: 50%; transform: rotate(-18deg); }
.doc-art b { position: absolute; right: 4%; top: 4%; color: #efd8ff; }
.doc-layout { display: grid; grid-template-columns: minmax(160px, .28fr) minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 5rem); align-items: start; padding-block: clamp(2rem, 4.5vw, 4rem); }
.contents { position: sticky; top: 1.5rem; }
.contents nav { display: grid; }
.contents nav>a { display: flex; align-items: baseline; gap: .7rem; padding: .6rem .25rem; border-bottom: 1px solid #e1dce9; color: #4b405a; }
.contents nav>a:hover, .answer a, .doc-card p a { color: #65409e; text-decoration: underline; text-underline-offset: .2em; }
.contents nav>a span,.qid { font-variant-numeric: tabular-nums; font-size: .85rem; font-weight: 650; color: #7855a8; }
.doc-body { min-width: 0; }
.guide-list, .faq-group { display: grid; gap: 1rem; }
.doc-card,.faq-group,.faq-search { background: white; border: 1px solid #e1dbe9; border-radius: 18px; padding: clamp(1.1rem, 2.2vw, 2rem); }
.doc-body [id] { scroll-margin-top: 1rem; }
.step-title { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.step-title>span { display: grid; place-items: center; flex: none; width: 2.55rem; height: 2.55rem; color: #7143af; background: #efe7fc; border-radius: 12px; font-weight: 750; }
.doc-body h2 { font-size: clamp(1.25rem, 1.8vw, 1.65rem); }
.doc-card>p, .answer p, .doc-next p { margin-top: .5rem; color: var(--muted); line-height: 1.8; }
.step-actions { display: flex; align-items: center; gap: .8rem 1rem; flex-wrap: wrap; margin-top: 1rem; }
.step-actions .text-link { margin: 0; }.doc-body .help-button { display: inline-flex; align-items: center; color: #603c96; font-weight: 650; }
.doc-next { margin-top: 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; background: #ede8f6; padding: 1.3rem; border-radius: 16px; }
.faq-search { margin-bottom: 1.1rem; }
.faq-search label { display: block; font-weight: 750; margin-bottom: .55rem; }
.faq-search input { width: 100%; border: 1px solid #cfc3dc; border-radius: 9px; padding: .7rem .9rem; font: inherit; color: var(--ink); background: #fbf9fd; }
.faq-search input:focus-visible { outline: 2px solid #986be0; outline-offset: 2px; }
#matches:not(:empty) { margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.faq-group { gap: 0; margin-bottom: 1rem; }.faq-group h2 { margin-bottom: .55rem; }
.faq-group summary { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: .65rem; padding: .9rem .15rem; }
.faq-group details:last-child { border-bottom: 0; }
.answer { padding: 0 .3rem 1rem 3.2rem; }.answer p:first-child { margin-top: 0; }
.doc-body [hidden] { display: none; }
@media (max-width: 700px) {
  .doc-hero { min-height: 180px; }.doc-art { width: 20%; }
  .doc-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .contents { position: static; }.contents nav { display: flex; flex-wrap: wrap; gap: .4rem; }
  .contents .eyebrow { flex-basis: 100%; margin-bottom: .2rem; }
  .contents nav>a { border: 1px solid #ded3ea; border-radius: 8px; padding: .36rem .65rem; gap: .35rem; font-size: .9rem; }
  .answer { padding-left: .15rem; }.faq-group summary { gap: .35rem; }
}
@media (max-width: 450px) {
  .doc-hero { min-height: 0; }.doc-art { display: none; }
  .doc-layout { padding-block: 1.5rem; }
}
