/* AAC guides section (/aac-guides/). Loaded after site.css on these pages only; uses its color tokens,
   so light and dark mode follow the rest of the site. */

.guide-meta { font-size: .95rem; margin-top: 12px !important; }

/* On this page */
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px 10px; margin: 0 0 32px; }
.toc-title { font-weight: 800; margin: 0 0 6px; }
.prose .toc ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.3em; }
.prose .toc li { margin-bottom: .3em; break-inside: avoid; font-size: 1rem; }

/* Example pictures are wider than the board guides' portrait pages */
.guide-fig.ag-fig { max-width: 600px; }

/* Source numbers in the text */
sup.cite { line-height: 0; font-size: .72em; margin-left: 1px; }
sup.cite a { text-decoration: none; font-weight: 700; padding: 0 2px; }
sup.cite a:hover { text-decoration: underline; }

/* Sources list */
.sources-intro { color: var(--ink-2); font-size: 1rem; }
.prose .sources { padding-left: 1.6em; font-size: 1rem; color: var(--ink-2); }
.prose .sources li { margin-bottom: .7em; scroll-margin-top: 16px; }
.sources li:target { background: var(--accent-soft); border-radius: 6px; }
.sources span { color: var(--ink-2); }

/* Small scripts: what it can look like */
.script { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--brand); border-radius: 0 14px 14px 0;
  padding: 14px 20px; margin: 0 0 24px; }
.script p { margin: 0 0 .5em; }
.script p:last-child { margin-bottom: 0; }
.script-title { font-weight: 800; }
.script .act { color: var(--ink-2); font-style: italic; }

/* Alerts (stroke warning) */
.callout.callout-alert { background: var(--surface); border-left-color: #C8323F; border: 1px solid var(--line); border-left: 6px solid #C8323F; }

/* Try this today */
.try-today { background: var(--surface-2); border-radius: 16px; padding: 20px 22px 22px; margin: 36px 0 8px; }
.prose .try-today h2 { margin-top: 0; }
.try-today .checks { grid-template-columns: 1fr; }
.try-today .checks li { font-weight: 600; margin: 0; }

/* Glossary */
.terms dt { font-weight: 800; margin-top: 14px; }
.terms dd { margin: 2px 0 0; }

/* Hub: guide cards with a small picture */
.guide-cards { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.guide-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.guide-card img { flex: none; width: 64px; height: 64px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; }
.guide-card h3 { font-size: 1.15rem; margin: 0 0 4px; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a:hover { color: var(--link); text-decoration: underline; }
.guide-card p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }

@media (max-width: 600px) {
  .prose .toc ol { columns: 1; }
  .guide-card { padding: 14px; gap: 12px; }
  .guide-card img { width: 52px; height: 52px; }
  .simple-table { font-size: .98rem; }
  .simple-table th, .simple-table td { padding: 8px 6px; }
}

@media print {
  .toc, .cta-card, .related-wrap { display: none; }
}
