:root {
  --ink: #0e1b2a;
  --muted: #55657a;
  --paper: #eef2f6;
  --panel: #ffffff;
  --line: #d3dce6;
  --primary: #1f5fd1;
  --igcse: #0e7c7b;
  --alevel: #5b3fd1;
  --alert: #d9391f;
  --radius: 6px;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 4rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--body); }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.6rem; font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
a { color: var(--primary); }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.top { display: flex; align-items: center; gap: 1.5rem; padding: .75rem clamp(1rem, 4vw, 3rem);
  background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; flex-wrap: wrap; }
.brand { font: 800 1.25rem var(--head); color: #fff; text-decoration: none; }
#nav { display: flex; gap: 1.1rem; flex: 1; flex-wrap: wrap; }
#nav a { color: #cfe0ff; text-decoration: none; font-weight: 500; }
#nav a:hover { color: #fff; text-decoration: underline; }
#auth { display: flex; align-items: center; gap: .75rem; }
.who { font-size: .9rem; color: #cfe0ff; }
.who .avatar { border-radius: 7px; }
/* Avatar items that move (items.js): small, slow, and still when reduced motion is asked for */
.avatar .ava-spin { transform-box: fill-box; transform-origin: center; animation: ava-spin .9s linear infinite; }
.avatar .ava-twinkle { transform-box: fill-box; transform-origin: center; animation: ava-twinkle 2.4s ease-in-out infinite; }
.avatar .ava-glow { animation: ava-glow 3s ease-in-out infinite; }
.avatar .ava-blink { animation: ava-blink 1.6s steps(1) infinite; }
.avatar .ava-tick { transform-box: view-box; transform-origin: 81px 85px; animation: ava-tick 6s steps(12) infinite; }
@keyframes ava-tick { to { transform: rotate(360deg); } }
@keyframes ava-spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.15); } }
@keyframes ava-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.6); } }
@keyframes ava-glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes ava-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .avatar [class^="ava-"] { animation: none !important; } }

main { max-width: 68rem; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 3rem) 4rem; }

button, .btn { font: 600 .95rem var(--body); background: var(--primary); color: #fff; border: 0;
  border-radius: var(--radius); padding: .6rem 1rem; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { filter: brightness(1.1); }
button.ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
button.danger { background: var(--alert); }
button.small { padding: .3rem .6rem; font-size: .85rem; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; padding: 2.5rem 0 3rem;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; margin: -2rem calc(-1 * clamp(1rem, 4vw, 3rem)) 2rem; padding-inline: clamp(1rem, 4vw, 3rem); }
.hero p.lead { font-size: 1.15rem; max-width: 34rem; }
.bitdemo { background: var(--panel); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; }
.bits { display: grid; grid-template-columns: repeat(8, 1fr); gap: .4rem; }
.bit { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); padding: .6rem 0 .3rem; display: grid; gap: .1rem; text-align: center; }
.bit span { font: 800 1.6rem var(--head); }
.bit small { font-size: .7rem; color: var(--muted); }
.bit[aria-pressed="true"] { background: var(--ink); color: #fff; }
.bit[aria-pressed="true"] small { color: #9fb4d6; }
.readout { margin: 1rem 0 0; font-size: 1.05rem; }
.readout output { font: 800 1.5rem var(--head); }

.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.course { display: block; padding: 1.25rem; background: var(--panel); border: 1px solid var(--line);
  border-left: 8px solid var(--c); border-radius: var(--radius); color: inherit; text-decoration: none; }
.course:hover { border-color: var(--c); }
.course h3 { margin-bottom: .2rem; }

.modules { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mod { display: grid; grid-template-columns: 3rem 1fr; align-items: center; gap: 1rem; padding: .8rem 1rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; }
.mod:hover { border-color: var(--c); }
.mod b { font: 800 1.6rem var(--head); color: var(--c); text-align: center; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.row { display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack { display: grid; gap: .75rem; }
.item { padding: .8rem 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.badge { font-size: .8rem; font-weight: 600; padding: .1rem .5rem; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); }
.badge.late { color: var(--alert); border-color: var(--alert); }
.badge.done { color: var(--igcse); border-color: var(--igcse); }

form.stack label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
input, select, textarea { font: inherit; padding: .5rem .6rem; border: 1px solid #9fb0c4; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 5rem; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; }

.notice { background: #fff4e5; border: 1px solid #f0c27a; padding: 1rem; border-radius: var(--radius); }
.crumbs { font-size: .9rem; margin-bottom: 1rem; }
#toast { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius); opacity: 0; pointer-events: none; transition: opacity .2s; }
#toast.show { opacity: 1; }

@media (max-width: 760px) { .hero { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Practice trainers */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.trainer .meter { padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.qprompt { font: 600 1.5rem/1.3 var(--head); margin: 0; }
.qprompt b { font-weight: 800; }
.bits .bit:disabled { cursor: default; opacity: .85; }
.dots { display: inline-flex; gap: .25rem; }
.dot { width: .8rem; height: .8rem; border-radius: 50%; display: inline-block; margin-right: .15rem; }
.dot.ok { background: var(--igcse); }
.dot.no { background: var(--alert); }
.feedback { padding: .8rem 1rem; border-radius: var(--radius); border-left: 6px solid; }
.feedback p { margin: .3rem 0 0; }
.feedback.ok { background: #e6f5f4; border-color: var(--igcse); }
.feedback.bad { background: #fdecea; border-color: var(--alert); }
.scroll { overflow-x: auto; }
table.results { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 1rem 0 .5rem; }
table.results th, table.results td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.results th { font-weight: 600; color: var(--muted); }

/* Practice switches: always one row, grouped in fours, scrolling sideways on very small screens */
.bits.inline { display: flex; flex-wrap: nowrap; gap: .25rem; overflow-x: auto; padding-bottom: .35rem; }
.bits.inline .bit { flex: 1 1 0; min-width: var(--minw, 1.6rem); max-width: 5rem; padding: .5rem 0 .25rem; }
.bits.inline .bit.gap { margin-left: .6rem; }
.bits.inline .bit span { font-size: clamp(1.1rem, 3.2vw, 1.6rem); }
.bits.inline .bit small { font-size: .65rem; min-height: 1em; }
/* Rows lined up with the switches: binary addition in columns, and the working space for conversions (app.js) */
.awrap { overflow-x: auto; padding-bottom: .35rem; }
.awrap .bits.inline { overflow: visible; padding-bottom: 0; }
.awrap .bits.inline + .bits.inline { margin-top: .25rem; }
.bits.inline .acell { flex: 1 1 0; min-width: var(--minw, 1.6rem); max-width: 5rem; text-align: center; }
.bits.inline .acell.gap { margin-left: .6rem; }
.arow-num .acell { font: 700 clamp(1.1rem, 3.2vw, 1.45rem) ui-monospace, SFMono-Regular, Menlo, monospace; padding: .05rem 0; }
.arow-cap { font-size: .78rem; margin: .1rem 0 .2rem; }
.acell.acarry { height: 1.7rem; padding: 0; border: 1.5px dashed var(--muted); background: transparent; color: var(--ink); font: 700 .95rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.acell.acarry[aria-pressed="true"] { border-style: solid; border-color: var(--primary); }
.acell.apv { height: 1.9rem; padding: 0; font-size: .85rem; text-align: center; border-style: dashed; }
.arule { border-top: 2px solid var(--ink); margin: .3rem 0 .4rem; }
.bits.inline .acell.agut { flex: 0 0 2.4rem; min-width: 0; max-width: none; margin-right: .35rem; display: grid; place-items: center; }
.arow-num .acell.agut { font-size: 1.35rem; }
.bits.inline .acell.alost { font: 600 .68rem var(--body, sans-serif); color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.bits.inline .acell.atail { flex: 0 0 4.2rem; min-width: 0; max-width: none; padding-left: .6rem; text-align: left; font: 500 .9rem var(--body, sans-serif); color: var(--muted); white-space: nowrap; align-self: center; }
.aworkspace { margin-top: .5rem; } .aworkspace summary { cursor: pointer; font-weight: 600; } .aworkspace textarea { margin-top: .35rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 480px) {
  main { padding-inline: .75rem; }
  .trainer { padding: .75rem; }
  .bits.inline .bit.gap { margin-left: .35rem; }
  .bits.inline .acell.gap { margin-left: .35rem; }
  .awide .bits.inline { gap: 2px; }
  .awide .bits.inline .bit, .awide .bits.inline .acell { min-width: 1.05rem; }
  .awide .bits.inline .bit.gap, .awide .bits.inline .acell.gap { margin-left: .2rem; }
  .awide .bits.inline .bit { padding: .35rem 0 .15rem; border-width: 1.5px; }
  .awide .bits.inline .bit span, .awide .arow-num .acell { font-size: 1rem; }
  .awide .bits.inline .acell.agut { flex-basis: 1.7rem; margin-right: .15rem; }
  .awide .bits.inline .acell.alost { font-size: .55rem; }
  .awide .bits.inline .acell.atail { display: none; }
  .awide .atail-cap { display: block; }
}
.atail-cap { display: none; margin: .35rem 0 0; font-size: .9rem; }

/* Pixel art */
.px { display: grid; width: max-content; border: 1px solid var(--ink); line-height: 0; }
.px i { display: block; width: var(--c); height: var(--c); }
.pxlayout { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; margin-bottom: 0; }
.gallery { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.thumb { display: grid; gap: .3rem; justify-items: start; padding: .6rem; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); color: inherit; text-decoration: none; }
.thumb:hover { border-color: var(--primary); }
.pal { display: flex; flex-wrap: wrap; gap: .6rem; }
.pal-item { display: grid; gap: .25rem; justify-items: center; padding: .4rem; border: 2px solid transparent; border-radius: var(--radius); }
.pal-item.sel { border-color: var(--primary); }
.swatch { display: block; width: 2.4rem; height: 2.4rem; border: 1px solid var(--ink); border-radius: 4px; padding: 0; }
button.swatch { cursor: pointer; }
.pal-item input[type=color] { width: 2.4rem; height: 1.6rem; padding: 0; border: 0; background: none; }
.pxwrap { overflow: auto; padding-bottom: .5rem; }
.pxin { display: grid; grid-template-columns: repeat(var(--cols), var(--cw)); gap: 2px; width: max-content; }
.pxc, .pxin input { width: var(--cw); height: 2.4rem; padding: 0; text-align: center; font: 600 .85rem var(--body);
  font-variant-numeric: tabular-nums; border: 1px solid #9fb0c4; border-radius: 3px; background: #fff; }
.pxin input.bad { outline: 3px solid var(--alert); outline-offset: -2px; }
.pxin input.good { outline: 3px solid var(--igcse); outline-offset: -2px; }
.pxed { display: grid; grid-template-columns: repeat(var(--cols), 1.6rem); gap: 1px; width: max-content; background: var(--line);
  border: 1px solid var(--line); touch-action: none; user-select: none; }
.pxe { width: 1.6rem; height: 1.6rem; cursor: crosshair; }

/* Sound explorer */
.snd-graph { overflow-x: auto; margin: 1rem 0 .25rem; }
.snd-graph canvas { width: 100%; min-width: 34rem; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: block; }
.snd-controls label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
.snd-controls input[type=range] { padding: 0; }

/* Completed pixel art: green when all correct, red when finished with mistakes */
.thumb.good { border-color: var(--igcse); box-shadow: 0 0 0 2px var(--igcse); }
.thumb.bad { border-color: var(--alert); box-shadow: 0 0 0 2px var(--alert); }
.state { font-weight: 600; }
.state.good { color: var(--igcse); }
.state.bad { color: var(--alert); }

/* Run length encoding */
.rle-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(10rem, 18rem); gap: .25rem .6rem; align-items: center; padding: .35rem 0; border-top: 1px solid var(--line); }
.rle-row code { overflow-x: auto; white-space: nowrap; letter-spacing: .08em; padding: .25rem 0; }
.rle-msg { grid-column: 2 / -1; }
.rle-msg:empty { display: none; }
.rle-in.good { outline: 3px solid var(--igcse); outline-offset: -2px; }
.rle-in.bad { outline: 3px solid var(--alert); outline-offset: -2px; }
@media (max-width: 600px) { .rle-row { grid-template-columns: 1fr; } .rle-msg { grid-column: 1; } }

/* Text explorer */
.asciitab { max-height: 24rem; overflow: auto; margin-top: .75rem; }
details.card summary { cursor: pointer; }

/* Flowcharts */
.fc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.fc-sep { width: 1px; height: 1.6rem; background: var(--line); margin: 0 .25rem; }
.fc-panel { margin: .5rem 0; max-width: 28rem; }
.fc-panel[hidden] { display: none; }
.fc-panel label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
.fc-scroll { overflow: auto; max-height: 75vh; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-top: .5rem; }
.fc-scroll svg { display: block; touch-action: none; user-select: none; }
.fc-checks { list-style: none; padding: 0; margin: 1rem 0 .5rem; display: grid; gap: .35rem; }
.fc-checks li { padding: .4rem .7rem; border-left: 5px solid; border-radius: 4px; background: var(--paper); }
.fc-checks li.good { border-color: var(--igcse); }
.fc-checks li.bad { border-color: var(--alert); }
.fc-checks li.warn { border-color: #d89a00; }
.fc-tool[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 1px; }

/* =====================================================================
   Rebuilt sections (the original file was cut off after the flowchart rules).
   Everything below styles classes that the JavaScript files use but that no other file defines.
   ===================================================================== */

/* Mono text helpers */
.sq-ed, .sq-code, .tr-code, .sq td, .gw-in, .tr-in { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* Logic gate explorer */
.lg-ins { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; margin: 1rem 0; }
.lg-ins .bit { min-width: 6rem; }
.lg-ins .bit[hidden] { display: none; }
.lg-fig { max-width: 26rem; }
.lg-fig svg { width: 100%; height: auto; display: block; }
.lg-lamp { align-self: center; font: 800 1.4rem var(--head); padding: .5rem 1.1rem; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
table.results.lg { width: auto; min-width: 12rem; }
table.results.lg th, table.results.lg td { text-align: center; padding: .4rem .9rem; font: 600 1.05rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
table.results.lg tr.lg-on td { background: #ffe9a8; }
table.results.lg tr.lg-bad td { background: #fdecea; }

/* Shared progress bar and chips for the activity pages */
.sq-bar { height: .6rem; background: var(--line); border-radius: 99px; overflow: hidden; margin: .5rem 0; }
.sq-bar i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .2s; }
.sq-lvl { margin: 1rem 0 .25rem; font: 600 .95rem var(--head); color: var(--muted); }
.sq-chip[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 1px; }
.sq-chip.done { color: var(--igcse); border-color: var(--igcse); }
.sq-tabs button[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 1px; }
.sq-tabs button span { font-weight: 400; opacity: .8; }

/* SQL and the story cases */
.sq-ed { min-height: 7rem; white-space: pre; overflow: auto; tab-size: 3; line-height: 1.5; }
.sq-code, .tr-code { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .9rem; margin: .4rem 0 .8rem; overflow-x: auto; font-size: .92rem; line-height: 1.55; white-space: pre; }
table.results.sq td, table.results.sq th { white-space: nowrap; }
.sq-null { color: var(--muted); font-style: italic; }
.sq-story { border-left: 8px solid var(--primary); }
.sq-story p { max-width: 46rem; }

/* Trace tables */
.tr-code .tr-ln { color: var(--muted); user-select: none; }
.tr-purpose { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .9rem; margin: 0; }
.tr-purpose legend { padding: 0 .3rem; }
.tr-opt { display: flex; gap: .5rem; align-items: baseline; padding: .25rem 0; font-weight: 500; }
.tr-opt input, .tr-purpose input[type=radio] { width: auto; }

/* Working tables for Dijkstra, A* and trace tables */
table.gw { border-collapse: collapse; margin: .75rem 0; font-size: .9rem; }
table.gw th, table.gw td { border: 1px solid #9fb0c4; padding: .3rem .45rem; text-align: center; vertical-align: middle; min-width: 4.2rem; }
table.gw thead th { background: var(--paper); font-weight: 600; }
table.gw tbody th { background: var(--paper); text-align: left; }
table.gw td.gw-done { background: #eef2f6; color: var(--muted); font-weight: 600; }
table.gw td.gw-pick { background: #ffe9a8; color: var(--ink); }
table.gw.tr td { min-width: 5rem; }
.gw-in, .tr-in { width: 100%; min-width: 3.4rem; max-width: 7rem; padding: .25rem .3rem; text-align: center; font-size: .9rem; }
.gw-in.good, .tr-in.good { outline: 3px solid var(--igcse); outline-offset: -2px; }
.gw-in.bad, .tr-in.bad { outline: 3px solid var(--alert); outline-offset: -2px; }
.gw-pair { display: grid; gap: .2rem; }
.gw-pair label { display: flex; gap: .25rem; align-items: center; font-weight: 600; }
.gw-sel { width: auto; min-width: 6.5rem; }
.gw-h td, .gw-h th { text-align: center; }
.gw-graph { max-width: 40rem; margin: .5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.gw-graph svg { width: 100%; height: auto; display: block; }

/* Rle practice grid */
.rle-grid { display: grid; }

/* Processor and interrupt controls (the diagram colours are in cpustyles.js) */
.cpu-ctl { gap: .75rem; }
.cpu-side { min-width: 0; }
.cpu-in { max-width: 14rem; }
.cpu-speed { width: auto; }

/* Mark book */
table.mbook { font-size: .85rem; }
table.mbook th, table.mbook td { text-align: center; }
table.mbook th:first-child, table.mbook thead th:first-child { text-align: left; }
table.mbook th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); white-space: normal; min-width: 9rem; }
table.mbook thead th { white-space: normal; min-width: 5.5rem; vertical-align: bottom; }
table.mbook small { color: var(--muted); font-weight: 400; }
td.mb { text-align: center; font-weight: 600; }
td.mb-good { background: #d9f0e3; color: #0b5a45; }
td.mb-ok { background: #fff4d6; color: #7a5200; }
td.mb-low { background: #fdecea; color: #a12a14; }
td.mb-miss { background: #fdecea; color: var(--alert); font-style: italic; }
td.mb-none { color: var(--muted); }

/* Truth table practice (app.js columnUi), set out like the exam paper's truth tables */
table.tt { border-collapse: collapse; margin: .3rem 0; font-size: 1.05rem; }
table.tt th, table.tt td { border: 1px solid var(--ink); padding: .3rem .8rem; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
table.tt thead th { font-family: inherit; background: var(--paper); }
table.tt .tt-o { border-left: 3px solid var(--ink); }
table.tt td.tt-o { padding: .15rem .4rem; min-width: 3.2rem; }
table.tt .tt-w { min-width: 8rem; } table.tt thead .tt-w.muted { font-size: .75rem; font-weight: 500; }
table.tt td.tt-w { padding: .1rem .3rem; }
table.tt .tt-work { width: 100%; min-width: 7rem; border: 0; background: transparent; font: inherit; font-size: .9rem; padding: .2rem; color: var(--muted); }
table.tt .tt-out { width: 2.2rem; text-align: center; font: 800 1.15rem var(--head); padding: .15rem 0; border: 2px dashed var(--line); border-radius: 6px; background: var(--panel); color: var(--ink); }
table.tt .tt-out:focus { border-style: solid; border-color: var(--primary); outline: none; }
table.tt td.tt-good { background: #e3f4ea; } table.tt td.tt-bad { background: #fdecea; }
table.tt td.tt-good .tt-out, table.tt td.tt-bad .tt-out { border-color: transparent; background: transparent; }
table.tt td.tt-bad small { display: inline-block; margin-left: .2rem; font: 700 .85rem var(--body); color: var(--igcse); }
table.tt td.tt-bad small::before { content: "→ "; color: var(--muted); }
