/* Read-only question page (/eXam/practice/view/<qid>): paper navigation, answer check,
   mark scheme and related lessons around the native question (eXam/native_reading.html). */
.rq-crumbs { color: rgb(148 163 184); }
.rq-crumbs a { color: inherit; text-decoration: underline; text-decoration-color: rgb(148 163 184 / .45); text-underline-offset: .2em; }
.rq-crumbs a:hover { color: rgb(226 232 240); }

.rq-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; margin: 0 0 1rem; font: 500 .9rem/1.3 Outfit, system-ui, sans-serif; }
.rq-nav--bottom { margin: 2rem 0 0; padding-top: 1rem; border-top: 1px solid rgb(148 163 184 / .2); }
.rq-step, .rq-paper { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; padding: .45rem .85rem; border-radius: .7rem; border: 1px solid rgb(148 163 184 / .28); color: inherit; text-decoration: none; white-space: nowrap; }
.rq-step:hover, .rq-paper:hover { border-color: rgb(56 189 248 / .7); }
.rq-step { justify-self: start; }
.rq-step--next { justify-self: end; }
.rq-step--off { border: 0; padding: 0; }
.rq-paper { justify-self: center; color: rgb(148 163 184); }

.rq-answer { margin: 1rem 0 0; }
.rq-hint { margin: 0 0 .6rem; font-size: .92rem; color: rgb(148 163 184); }
.rq-verdict { margin: 0 0 .6rem; padding: .6rem .85rem; border-radius: .7rem; font-weight: 600; }
.rq-verdict.is-right { background: rgb(34 197 94 / .14); color: rgb(134 239 172); }
.rq-verdict.is-wrong { background: rgb(244 63 94 / .13); color: rgb(253 164 175); }
.rq-reveal { border: 1px solid rgb(148 163 184 / .28); border-radius: .8rem; padding: .2rem .9rem; }
.rq-reveal > summary { cursor: pointer; padding: .55rem 0; font: 600 .95rem/1.3 Outfit, system-ui, sans-serif; }
.rq-reveal[open] { padding-bottom: .8rem; }
.rq-key { margin: .2rem 0 .5rem; font-size: 1.05rem; font-weight: 700; }
.rq-why { margin: 0; padding-left: 1.2rem; list-style: disc; font-family: Georgia, 'Source Serif 4', serif; line-height: 1.6; }
.rq-why li + li { margin-top: .3rem; }
.rq-note { margin: .1rem 0 .6rem; font-size: .85rem; color: rgb(148 163 184); }
.rq-scheme-shots a { display: block; cursor: zoom-in; }
.rq-scheme-shots img { display: block; max-width: 100%; height: auto; margin: .4rem 0; background: #fff; border-radius: .4rem; }
.rq-zoom-hint { display: none; margin: .2rem 0 0; font-size: .8rem; color: rgb(148 163 184); }
@media (max-width: 700px) { .rq-zoom-hint { display: block; } }
html[data-theme="light"] .rq-zoom-hint { color: rgb(71 85 105); }

.ex-native .rq-option { cursor: pointer; border-radius: .55rem; transition: background-color .15s; }
.ex-native :is(.ex-item, p).rq-option { margin-inline: -.5rem; padding: .3rem .5rem; }
.ex-native .rq-option:hover { background: rgb(56 189 248 / .08); }
.ex-native .rq-option:focus-visible { outline: 2px solid rgb(56 189 248); outline-offset: 1px; }
.ex-native .rq-option.rq-right { background: rgb(34 197 94 / .16); }
.ex-native .rq-option.rq-wrong { background: rgb(244 63 94 / .14); }
.ex-native .rq-right > .ex-item-label, .ex-native .rq-right > .ex-native-label, .ex-native tr.rq-right > :first-child { color: rgb(74 222 128); }
.ex-native .rq-wrong > .ex-item-label, .ex-native .rq-wrong > .ex-native-label, .ex-native tr.rq-wrong > :first-child { color: rgb(251 113 133); }

.rq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.2rem 0 .8rem; }
.rq-cta { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .55rem 1.1rem; border-radius: .8rem; background: linear-gradient(90deg, #0369a1, #4f46e5); color: #fff; font: 600 .95rem/1.2 Outfit, system-ui, sans-serif; text-decoration: none; }
.rq-cta:hover { filter: brightness(1.08); }
.rq-link { font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }

.rq-related { margin: 1.6rem 0 0; }
.rq-related h2 { margin: 0 0 .5rem; font: 600 1.05rem/1.3 Outfit, system-ui, sans-serif; }
.rq-related ul { margin: 0; padding: 0; list-style: none; }
.rq-related li + li { margin-top: .35rem; }
.rq-related a { display: inline-flex; align-items: baseline; gap: .5rem; color: inherit; text-decoration: underline; text-decoration-color: rgb(148 163 184 / .45); text-underline-offset: .2em; }
.rq-related small { color: rgb(148 163 184); }
.rq-tag { flex: none; padding: .05rem .45rem; border-radius: .4rem; font: 600 .72rem/1.5 Outfit, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .03em; background: rgb(251 146 60 / .16); color: rgb(253 186 116); }
.rq-tag--video { background: rgb(56 189 248 / .15); color: rgb(125 211 252); }

@media (max-width: 520px) {
  .rq-nav { grid-template-columns: 1fr 1fr; }
  .rq-paper { grid-column: 1 / -1; grid-row: 2; }
  .rq-step, .rq-paper { justify-content: center; justify-self: stretch; }
  .rq-step--off { display: none; }
}

html[data-theme="light"] .rq-crumbs, html[data-theme="light"] .rq-hint, html[data-theme="light"] .rq-note,
html[data-theme="light"] .rq-paper, html[data-theme="light"] .rq-related small { color: rgb(71 85 105); }
html[data-theme="light"] .rq-crumbs a:hover { color: rgb(15 23 42); }
html[data-theme="light"] .rq-verdict.is-right { background: rgb(220 252 231); color: rgb(21 128 61); }
html[data-theme="light"] .rq-verdict.is-wrong { background: rgb(255 228 230); color: rgb(190 18 60); }
html[data-theme="light"] .ex-native .rq-right > :is(.ex-item-label, .ex-native-label), html[data-theme="light"] .ex-native tr.rq-right > :first-child { color: rgb(21 128 61); }
html[data-theme="light"] .ex-native .rq-wrong > :is(.ex-item-label, .ex-native-label), html[data-theme="light"] .ex-native tr.rq-wrong > :first-child { color: rgb(190 18 60); }
html[data-theme="light"] .rq-tag { background: rgb(255 237 213); color: rgb(154 52 18); }
html[data-theme="light"] .rq-tag--video { background: rgb(224 242 254); color: rgb(3 105 161); }
html[data-theme="light"] .rq-cta { color: #fff; }
.rq-jump { display: inline-block; margin: 0 0 .8rem; font: 500 .9rem/1.3 Outfit, system-ui, sans-serif; color: rgb(125 211 252); text-decoration: underline; text-underline-offset: .2em; }
[id="rq-question"] { scroll-margin-top: 5rem; }
html[data-theme="light"] .rq-jump { color: rgb(3 105 161); }
.rq-worked { margin-top: .7rem; }
.rq-worked-part + .rq-worked-part { margin-top: .7rem; }
.rq-worked-label { margin: .2rem 0 .25rem; font: 600 .9rem/1.3 Outfit, system-ui, sans-serif; color: rgb(100 116 139); }
.rq-worked-fig { display: block; max-width: min(100%, 560px); height: auto; margin: .5rem 0 .75rem; background: #fff; border-radius: 6px; padding: 6px; }
/* Practice take page (practice_take.html): the reveal and each part stay hidden until marked. */
.ex-worked { margin-top: 1rem; }
.ex-worked[hidden], .ex-worked .rq-worked-part[hidden] { display: none; }
.ex-worked .rq-worked-part + .rq-worked-part { margin-top: 0; }
.ex-worked .rq-worked-part:not([hidden]) ~ .rq-worked-part:not([hidden]) { margin-top: .7rem; }

/* A paper's worked answers on one page (/eXam/practice/read/<subject>/<paper>/answers). */
.rw-intro { margin-top: .5rem; max-width: 42rem; font-size: .92rem; }
.rw-index { display: flex; flex-wrap: wrap; gap: .35rem; margin: .8rem 0 0; }
.rw-index a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; min-height: 2.2rem; padding: 0 .5rem; border-radius: .6rem; border: 1px solid rgb(148 163 184 / .25); color: inherit; text-decoration: none; font: 600 .85rem/1 Outfit, system-ui, sans-serif; }
.rw-index a:hover { border-color: rgb(56 189 248 / .7); }
.rw-q { margin: 0; padding: 1.1rem 0 1rem; border-top: 1px solid rgb(148 163 184 / .2); scroll-margin-top: 5rem; }
.rw-q h2 { margin: 0 0 .5rem; font: 600 1.1rem/1.3 Outfit, system-ui, sans-serif; }
.rw-q h2 a { color: inherit; text-decoration: underline; text-decoration-color: rgb(148 163 184 / .45); text-underline-offset: .2em; }
.rw-q h2 a:hover { text-decoration-color: currentColor; }
.rw-open { margin: .6rem 0 0; }

/* ▼▼ LIGHT THEME — GENERATED by scripts/build_light_theme.py from the rules above. Do not edit by hand: run the builder. Hand tuning goes in 36-theme-light.css. ▼▼ */
html[data-theme="light"] .rq-crumbs{color:rgb(61 75 94)}
html[data-theme="light"] .rq-crumbs a{text-decoration-color:rgb(61 75 94/0.85)}
html[data-theme="light"] .rq-crumbs a:hover{color:rgb(44 63 88)}
html[data-theme="light"] .rq-paper{color:rgb(61 75 94)}
html[data-theme="light"] .rq-hint{color:rgb(61 75 94)}
html[data-theme="light"] .rq-verdict.is-right{color:rgb(12 113 49)}
html[data-theme="light"] .rq-verdict.is-wrong{color:rgb(133 0 16)}
html[data-theme="light"] .rq-note{color:rgb(61 75 94)}
html[data-theme="light"] .rq-zoom-hint{color:rgb(61 75 94)}
html[data-theme="light"] .ex-native .rq-right > .ex-item-label,html[data-theme="light"] .ex-native .rq-right > .ex-native-label,html[data-theme="light"] .ex-native tr.rq-right > :first-child{color:rgb(18 112 52)}
html[data-theme="light"] .ex-native .rq-wrong > .ex-item-label,html[data-theme="light"] .ex-native .rq-wrong > .ex-native-label,html[data-theme="light"] .ex-native tr.rq-wrong > :first-child{color:rgb(136 1 20)}
html[data-theme="light"] .rq-related a{text-decoration-color:rgb(61 75 94/0.85)}
html[data-theme="light"] .rq-related small{color:rgb(61 75 94)}
html[data-theme="light"] .rq-tag{color:rgb(133 68 0)}
html[data-theme="light"] .rq-tag--video{color:rgb(0 90 133)}
html[data-theme="light"] .rq-jump{color:rgb(0 90 133)}
html[data-theme="light"] .rq-worked-label{color:rgb(87 101 122)}
html[data-theme="light"] .rw-q h2 a{text-decoration-color:rgb(61 75 94/0.85)}
/* ▲▲ LIGHT THEME END ▲▲ */
