/* Spot the Violation - pages.css
 * Styles for the prerendered pages only (scripts/prerender.js writes dist/drill/, dist/drills/, dist/minnesota/ and
 * dist/codes/), loaded after css/app.css: the no-JS menu button, the breadcrumb, the static choices, the answer <details>
 * and the link lists, which css/app.css has no class for. The header, its More menu, the footer, .jump-link, .card-go and
 * the pills are css/app.css's (the open phone menu there is written for both .site-nav.is-open and this checkbox). A
 * stylesheet rather than an inline <style> block, so the Content-Security-Policy can be style-src 'self' with no 'unsafe-inline'.
 */
.nav-toggle { cursor: pointer; }
.nav-check:focus-visible ~ .header-actions .nav-toggle { outline: 3px solid var(--accent); outline-offset: 2px; }
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.drill-meta { display: block; white-space: normal; }
.drill-meta > span { margin-right: 6px; }
.pre-choices .choice, .pre-choices .choice:hover { cursor: default; box-shadow: none; background: var(--surface); border-color: var(--border-strong); }
.pre-start { width: 100%; }
.pre-answer { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.pre-answer > summary { cursor: pointer; padding: 14px 16px; min-height: 52px; font-weight: 700; color: var(--accent-text); }
.pre-answer[open] > summary { border-bottom: 1px solid var(--border); }
.pre-answer .ref-title .code-badge { vertical-align: 2px; }
.pre-answer .ref-title .ref-section { font-size: 1rem; }
.pre-why { margin: 0; padding-left: 1.25rem; display: grid; gap: 6px; font-size: 0.92rem; }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 46em; }
.pre-group { margin-top: 28px; }
.pre-group > h2, .pre-group > h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pre-group > ul + h3 { margin-top: 20px; }
.pre-group .sub { margin: -2px 0 12px; color: var(--muted); font-size: 0.92rem; max-width: 46em; }
.pre-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 24px; }
@media (min-width: 720px) { .pre-list.is-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .pre-list.is-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pre-list li { display: flex; align-items: baseline; gap: 8px; }
.pre-list a { padding: 7px 0; min-width: 0; color: var(--text); text-decoration-color: var(--border-strong); }
.pre-list a:hover { color: var(--accent-text); text-decoration-color: currentColor; }
.pre-list .pill { flex: none; }
.code-sec { padding: 12px 14px; scroll-margin-top: 12px; }
.code-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; font-size: 1rem; }
.code-sec .code-drills { padding: 2px 0 0; background: none; }
.code-sec .code-drills a { min-height: 36px; padding: 6px 0; text-decoration: none; }
.code-sec .code-drills .t { text-decoration: underline; }
.code-sec:target { box-shadow: inset 4px 0 0 var(--accent); }
/* related pages as one line of plain links ("GFCI (6) · All electrical drills · All drills") */
.pre-links { margin: 20px 0 0; color: var(--muted); }
