:root { color-scheme: light dark; --fg: #1d1d1f; --bg: #fff; --muted: #6e6e73; --link: #0a64d8; }
@media (prefers-color-scheme: dark) { :root { --fg: #f5f5f7; --bg: #111; --muted: #a1a1a6; --link: #4da3ff; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 -apple-system, system-ui, sans-serif; }
main { max-width: 680px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: 2rem; margin: 0.4em 0; }
h2 { font-size: 1.2rem; margin-top: 1.8em; }
a { color: var(--link); }
.muted { color: var(--muted); }
/* WEBEXAMS-20261117: practice exams + question pages */
.crumbs, .small { font-size: 0.9rem; }
.qtext { font-weight: 600; }
.figure { max-width: 100%; height: auto; background: #fff; border-radius: 6px; }
.answers { list-style: none; padding-left: 0; }
.answers li { margin: 0.3em 0; }
.answers li.right, .ans.right { color: #1a7f37; font-weight: 600; }
.ans.wrong { color: #c62828; text-decoration: line-through; }
.tag { font-size: 0.8rem; border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; }
.hook { font-style: italic; }
.cta { margin-top: 2.5em; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--link) 10%, transparent); }
.button, button.button { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 0; background: var(--link); color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
fieldset.q { border: 1px solid color-mix(in srgb, var(--muted) 40%, transparent); border-radius: 10px; margin: 0 0 16px; padding: 10px 14px; }
fieldset.q legend { color: var(--muted); font-size: 0.9rem; }
.ans { display: block; padding: 6px 0; cursor: pointer; }
.bar { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0; }
.result { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; }
.result.pass { background: color-mix(in srgb, #1a7f37 15%, transparent); }
.result.fail { background: color-mix(in srgb, #c62828 12%, transparent); }
pre { white-space: pre-wrap; }
