/* Tool shell with the Wiki's shared article typography and heading interactions. */
.guide-breadcrumb { margin: 0 0 22px; color: var(--test-text-muted); font-size: .85rem; overflow-wrap: anywhere; }
.guide-kicker { color: #f8d5d5; letter-spacing: .16em; font-size: .75rem; margin-bottom: 18px; }
.guide-shell > header .guide-date { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #dfe8f3; font-size: .82rem; line-height: 1.6; margin: 22px 0 0; }
.guide-date span { white-space: nowrap; }
.guide-date a { color: inherit; text-underline-offset: 3px; }
html[data-theme="light"] .guide-shell > header .guide-date { color: #526b8f; }
html[data-theme="light"] .guide-kicker { color: var(--test-text-muted); }
.guide-breadcrumb a, .guide-related a { color: var(--color-link); text-underline-offset: 3px; }
.guide-body .guide-lead { padding: 0; margin-bottom: 24px; }
.guide-shell > .wiki-article { max-width: none; width: 100%; margin: 0; padding: 0; }
.guide-shell .guide-toc { width: 100%; margin: 24px 0 32px; }
.guide-toc > summary { cursor: pointer; margin: 0; }
.guide-toc[open] > summary { margin-bottom: 14px; }
.guide-paths { display: grid; gap: 14px; margin: 30px 0 40px; }
.guide-path { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; border-radius: 18px; background: var(--wiki-soft-surface); color: var(--text-body); text-decoration: none; }
.guide-path strong { display: block; margin-bottom: 8px; color: var(--color-accent); font-size: 1.25rem; }
.guide-path > span > span { display: block; color: var(--text-dim); font-size: .95rem; line-height: 1.7; }
.guide-path-arrow { flex: 0 0 auto; color: var(--text-primary); font-size: 1.6rem; }
.guide-path:hover { background: var(--wiki-soft-surface-alt); }
html[data-guide="choosing-tools"] .wiki-article > .wiki-fold-level-2 { margin: 14px 0; padding: 20px 26px; border-radius: 18px; background: var(--wiki-soft-surface); }
html[data-guide="choosing-tools"] .wiki-article > .wiki-fold-level-2 > h2 { font-size: 1.25rem; }
html[data-guide="choosing-tools"] .wiki-article > .wiki-fold-level-2 > h2::before { display: none; }
html[data-guide="choosing-tools"] .wiki-fold-level-2 > .wiki-fold-content { padding-top: 14px; }
html[data-guide="choosing-tools"] .wiki-article > .wiki-fold-level-2:has(> h2:hover) { background: var(--wiki-soft-surface-alt); }
html[data-guide="index"] .guide-shell > header { min-height: 0; }
.guide-body h2, .guide-body h3, .guide-body h4 { scroll-margin-top: 90px; }
.guide-related { display: flex; flex-wrap: wrap; gap: 24px; margin: 48px 0 10px; }
.guide-shell a:focus-visible, .guide-table-scroll:focus-visible { outline: 2px solid var(--test-accent); outline-offset: 4px; }
.guide-screening-example { margin: 24px 0; padding: 24px; border-radius: 20px; background: rgba(13, 20, 38, .92); color: #f0f0f0; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; }
.guide-screening-example .cols { display: grid; gap: 28px; }
.guide-screening-example .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-screening-example .col-card { min-width: 0; padding: 22px; border-radius: 14px; background: rgba(20, 30, 55, .7); }
.guide-screening-example p { margin: 8px 0; color: #f0f0f0; font-size: 1rem; line-height: 1.7; }
.guide-screening-example .small { color: #889cc5; font-size: .95rem; }
.guide-screening-example .guide-screening-heading { margin: 12px 0 6px; color: #f0f0f0; font-size: 1.15rem; font-weight: 700; }
.guide-screening-example .highlight { color: #f09b9c; }
.guide-screening-example a { color: #dfe8f3; text-underline-offset: 3px; }
.guide-screening-example .guide-screening-population { text-align: center; }
.guide-screening-dots { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; max-width: 340px; margin: 0 auto; }
.guide-screening-dot { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.guide-screening-dot.is-adhd { background: #3570a8; }
.guide-screening-dot.is-false-positive { background: #f09b9c; }
.guide-screening-dot.is-negative { background: rgba(255, 255, 255, .06); }
.guide-screening-blue { color: #3570a8; }
.guide-screening-muted-dot { margin-left: 12px; color: rgba(255, 255, 255, .2); }
.guide-screening-negative-dot { color: rgba(255, 255, 255, .14); }
.guide-screening-arrow { margin: 22px 0 10px; color: #889cc5; font-size: 1.3rem; }
.guide-screening-counts { margin-top: 8px; }
.guide-screening-counts > p { margin: 0; color: inherit; font-size: inherit; }
.guide-screening-explanation { display: grid; align-content: start; gap: 14px; min-width: 0; }
.guide-screening-example .guide-screening-parameters { line-height: 2; }
.guide-screening-example .guide-screening-conclusion { text-align: center; }
.guide-screening-example .guide-screening-conclusion > p:first-child { font-size: 1.6rem; line-height: 1.6; }
.guide-screening-conclusion strong { display: inline-block; font-size: 2.2rem; font-weight: 400; }
.guide-screening-example > figcaption { margin-top: 18px; color: #889cc5; font-size: .85rem; line-height: 1.7; }
.guide-screening-calculation { margin-top: 16px; color: #dfe8f3; font-size: .9rem; }
.guide-screening-calculation > summary { color: #dfe8f3; cursor: pointer; }
.guide-screening-calculation li, .guide-screening-calculation p { color: #dfe8f3; font-size: .9rem; }
@media (max-width: 900px) {
  .guide-screening-example { padding: 18px; }
  .guide-screening-example .cols-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .guide-breadcrumb { font-size: .8rem; }
  .guide-path { padding: 20px; gap: 16px; }
  .guide-path strong { font-size: 1.1rem; }
  html[data-guide="choosing-tools"] .wiki-article > .wiki-fold-level-2 { padding: 16px 20px; }
  html[data-guide="choosing-tools"] .wiki-article > .wiki-fold-level-2 > h2 { font-size: 1.1rem; }
}
