:root { --background: #fff; --text: #243746; --accent: #166d78; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font: 15px/1.4 system-ui, sans-serif; }
.card { padding: 14px 16px 30px; max-width: 760px; margin: auto; }
h1 { font-size: 1.2rem; margin: 0 0 10px; }
h2 { font-size: 1rem; margin: 10px 0 9px; }
fieldset { border: 0; margin: 0; padding: 0; }
.classes { display: flex; gap: 6px 17px; flex-wrap: wrap; border-bottom: 1px solid color-mix(in srgb, var(--text) 20%, transparent); padding-bottom: 9px; }
.classes legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
label { cursor: pointer; }
input { accent-color: var(--accent); }
.question-id { font-size: .78rem; opacity: .7; }
.answer { display: flex; align-items: baseline; gap: 7px; margin: 5px 0; }
.answer input { flex: none; }
.answer-correct span { color: #146129; }
.answer-incorrect span { color: #a51b1b; }
a { color: var(--accent); } .hint { font-size: .8rem; }
#result { margin: 10px 0 0; font-weight: 600; }
#result.correct { color: #146129; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.credit { position: fixed; right: 8px; bottom: 8px; display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 50%; color: var(--text); background: var(--background); font: bold 11px/1 system-ui, sans-serif; cursor: help; }
.credit-tooltip { display: none; position: absolute; right: 0; bottom: calc(100% + 6px); width: max-content; padding: 5px 8px; border-radius: 4px; background: var(--text); color: var(--background); font: normal 12px/1.3 system-ui, sans-serif; }
.credit:hover .credit-tooltip, .credit:focus .credit-tooltip { display: block; }
