/* CLLT simulator. Plain and high-contrast, like the test centre's touch
   screen: big targets, one thing at a time, nothing to load but this file. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #111; font: 18px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: #1d3fb8; }
[hidden] { display: none !important; }

.bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px;
       padding: 10px 14px; background: #1e1b4b; color: #fff; min-height: 56px; }
.brand { color: #fff; font-weight: 700; text-decoration: none; margin-right: auto; }
.counter { font-weight: 700; font-size: 17px; }
.clock { font: 700 20px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; background: #fff; color: #111;
         padding: 7px 10px; border-radius: 6px; min-width: 76px; text-align: center; }
.clock.low { background: #ffd400; }

main { max-width: 640px; margin: 0 auto; padding: 16px 14px 40px; }
h1 { font-size: 26px; line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 21px; line-height: 1.35; margin: 0 0 16px; }
.facts { padding-left: 20px; margin: 0 0 20px; }
.facts li { margin-bottom: 10px; }
.small { font-size: 14px; color: #444; }
.note { background: #fff6cc; border: 2px solid #111; padding: 10px 12px; }
.error { background: #ffe3e3; border: 2px solid #a40000; color: #600; padding: 10px 12px; }

.big { display: block; width: 100%; min-height: 56px; margin: 0 0 12px; padding: 14px 16px;
       font: 700 19px/1.2 inherit; font-family: inherit; text-align: center; text-decoration: none;
       border: 2px solid #111; border-radius: 8px; background: #fff; color: #111; cursor: pointer; }
.big.primary { background: #1d3fb8; border-color: #1d3fb8; color: #fff; }
.big.wa { background: #0b7a3e; border-color: #0b7a3e; color: #fff; }
.big:disabled { background: #d6d6d6; border-color: #9a9a9a; color: #555; cursor: default; }
.big:focus-visible, .opt:focus-visible { outline: 4px solid #ffb000; outline-offset: 2px; }

.section { margin: 0 0 10px; font-weight: 700; color: #333; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.q-img { display: block; max-width: 100%; max-height: 220px; margin: 0 auto 14px; object-fit: contain; }
.options { margin-bottom: 18px; }
.opt { display: flex; gap: 12px; align-items: flex-start; width: 100%; min-height: 60px; margin: 0 0 10px;
       padding: 14px; font: inherit; text-align: left; background: #fff; color: #111;
       border: 2px solid #111; border-radius: 8px; cursor: pointer; }
.opt b { flex: none; width: 30px; height: 30px; line-height: 26px; text-align: center; border: 2px solid #111; border-radius: 50%; }
.opt[aria-checked="true"] { background: #1d3fb8; border-color: #1d3fb8; color: #fff; }
.opt[aria-checked="true"] b { border-color: #fff; background: #fff; color: #1d3fb8; }
.next { position: sticky; bottom: 10px; }

.verdict { padding: 16px; margin: 0 0 12px; border: 3px solid #111; text-align: center; }
.verdict strong { display: block; font-size: 32px; }
.verdict.pass { background: #dff5e6; border-color: #0b7a3e; }
.verdict.fail { background: #ffe3e3; border-color: #a40000; }
.sections { width: 100%; border-collapse: collapse; margin: 0 0 6px; font-size: 16px; }
.sections th, .sections td { border: 1px solid #111; padding: 8px 6px; text-align: left; }
.sections th { background: #eee; }
.ok { color: #0b5e30; font-weight: 700; }
.bad { color: #a40000; font-weight: 700; }
.actions { margin: 18px 0; }
.share { border-top: 2px solid #ddd; padding-top: 12px; }
.share p { font-weight: 600; word-break: break-word; }

.review summary { list-style: none; }
.review summary::-webkit-details-marker { display: none; }
.review ol { padding-left: 22px; }
.review li { margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid #ccc; }
.review .q-img { max-height: 140px; margin: 6px 0; }
.review p { margin: 6px 0; }
.ready-card { margin: 16px 0; padding: 16px; border: 3px solid #0b7a3e; background: #f0fbf4; display: grid; gap: 10px; }
.ready-card strong { font-size: 22px; }
.ready-card p { margin: 0; }
