/* Course colours belong to the lesson, not to the surrounding MAQUA navigation. */
.topic-lesson {
  --topic-base: rgb(var(--topic-rgb));
  --topic-accent: color-mix(in srgb, var(--topic-base) 47%, #17212a);
  --topic-edge: color-mix(in srgb, var(--topic-base) 68%, #fff);
  --topic-soft: color-mix(in srgb, var(--topic-base) 19%, #fff);
  --topic-panel: color-mix(in srgb, var(--topic-base) 8%, #fff);
  --topic-screen: color-mix(in srgb, var(--topic-base) 4%, #fff);
  --topic-ink: #202b31;
  --topic-on-accent: #111820;
  /* Diagram surfaces remain light so labels and multiple data series stay legible. */
  --topic-diagram-soft: color-mix(in srgb, var(--topic-base) 28%, white);
  --topic-diagram-mid: color-mix(in srgb, var(--topic-base) 55%, white);
  --topic-diagram-ink: color-mix(in srgb, var(--topic-base) 35%, #14262b);
  --maqua-blue: var(--topic-base);
  --maqua-blue80: var(--topic-accent);
  --maqua-blue60: var(--topic-edge);
  --maqua-blue40: var(--topic-edge);
  --maqua-blue20: var(--topic-soft);
  --maqua-shadow: var(--topic-accent);
  --math-screen: var(--topic-screen);
  --ink: var(--topic-ink);
  accent-color: var(--topic-accent);
  background: var(--topic-screen);
  color: var(--topic-ink);
}
[data-theme="dark"] .topic-lesson {
  --topic-accent: color-mix(in srgb, var(--topic-base) 74%, #fff);
  --topic-edge: color-mix(in srgb, var(--topic-base) 72%, #d9e3e7);
  --topic-soft: color-mix(in srgb, var(--topic-base) 28%, #152029);
  --topic-panel: color-mix(in srgb, var(--topic-base) 13%, #18232b);
  --topic-screen: color-mix(in srgb, var(--topic-base) 8%, #10191f);
  --topic-ink: #f3f6f7;
  --topic-on-accent: #111820;
}
.topic-lesson :is(.geo-session-header,.geo-footer,.math-lesson-top,.math-footer) {background:var(--topic-screen)}
.topic-lesson :is(.meter>span,.session-progress>span,.math-progress span,.chapter-animation-meter>span) {background:var(--topic-base)}
.topic-lesson :is(.primary,.math-footer .math-btn,.math-result>.math-btn) {background:var(--topic-base);border-color:var(--topic-accent);color:var(--topic-on-accent)}
.topic-lesson .math-lesson {color:var(--topic-ink)}
.topic-lesson .math-btn {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson .math-btn:not([data-result]):is(:hover,[aria-pressed="true"]) {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}
.topic-lesson .math-choices .math-btn:not([data-result]),
.topic-lesson .math-control .math-btn {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson .math-choices .math-btn[aria-pressed="true"]:not([data-result]),
.topic-lesson .math-control .math-btn[aria-pressed="true"] {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}
.topic-lesson :is(.math-comparison,.math-order-workspace,.math-balance,.math-hint:not(.is-right):not(.is-wrong)) {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson :is(.math-pairs span,.index-result,.index-numberline span,.math-earned) {background:var(--topic-soft);color:var(--topic-ink)}
.topic-lesson .math-lesson small {color:var(--topic-accent)}
/* Graphs keep their data colours and dark labels against a light plotting surface. */
[data-theme="dark"] .topic-lesson .math-lesson svg:is([role="img"],[role="group"]) {background:#f7f8f8;border-radius:12px}
.topic-lesson > .chapter-lesson .chapter-model {background:var(--topic-soft)}
.topic-lesson > .chapter-lesson .guide-row .speech {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson > .chapter-lesson .guide-row .speech::before {background:var(--topic-panel);border-color:var(--topic-edge)}
.topic-lesson > .chapter-lesson .chapter-choices > button.chosen:not(.observation-right):not(.observation-retry) {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}
.topic-lesson .quiz-content .option:not(.is-correct):not(.is-wrong),
.topic-lesson .quiz-content .match-card:not(.pair-right):not(.pair-wrong) {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson .quiz-content .option.selected:not(.is-correct):not(.is-wrong),
.topic-lesson .quiz-content .match-card.active {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}
.topic-lesson .quiz-content .option-key {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson :is(button,a,input):focus-visible {outline-color:var(--topic-accent)}
[data-theme="dark"] .math-session.topic-lesson {--math-screen:var(--topic-screen)}
[data-theme="dark"] .topic-lesson .math-lesson {color:var(--topic-ink)}
/* Match geography's lesson framing, with scrolling content and a clear action area. */
.topic-lesson.math-session .math-lesson-top {max-width:970px;gap:20px}
.topic-lesson.math-session .math-lesson {max-width:900px}
.topic-lesson.math-session .math-footer {position:static;border-top:1px solid var(--topic-edge);padding:16px 0 max(16px,env(safe-area-inset-bottom))}
@media (max-width:700px) {
 .topic-lesson.math-session .math-lesson-top {gap:12px;padding-inline:18px}
 .topic-lesson.math-session .math-lesson {padding-inline:18px}
 .topic-lesson.math-session .math-lesson h1 {font-size:clamp(21px,5.7vw,26px);line-height:1.35}
 .topic-lesson.math-session :is(.math-visual,.system-graph,.rate-graph,.factor-graph,.inequality-line,.transform-graph,.centres-graph,.error-area) {max-width:100%;height:auto}
 .topic-lesson.math-session .math-choices .math-btn {font-size:16px;min-height:48px;overflow-wrap:anywhere}
}
.topic-lesson.geo-session .speech {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session .speech::before {background:var(--topic-panel);border-color:var(--topic-edge)}
.topic-lesson.geo-session :is(.crust-observe-choices,.intro-choices,.chapter-choices) button {border-color:var(--topic-edge)}
.topic-lesson.geo-session :is(.crust-observe-choices,.intro-choices,.chapter-choices) button:is(.chosen,[aria-pressed="true"]):not(.observation-right):not(.observation-retry) {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}
.geo-session.topic-lesson,[data-theme="dark"] .geo-session.topic-lesson {background:var(--topic-screen);color:var(--topic-ink)}
.topic-lesson.math-session .math-lesson :is(h1,p,div,section) {overflow-wrap:anywhere}
.topic-lesson.math-session .math-visual {width:min(100%,380px);max-width:100%}
.topic-lesson.math-session .matrix-control-many {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.topic-lesson.math-session .matrix-control-many>span {grid-column:1/-1}
.topic-lesson.math-session .matrix-control-many .math-btn {min-width:0}
/* Shared mathematical diagrams and controls use the active topic's shades. */
.topic-lesson.math-session :is(.math-pan,.index-groups>div,.factor-matrix i) {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.math-session :is(.math-token-x,.index-factor,.factor-grid i:not(.removed),.factor-square-control:not(.removed),.percent-track i) {background:var(--topic-base);color:var(--topic-on-accent)}
.topic-lesson.math-session :is(.factor-bars div,.factor-matrix>*,.factor-roots span,.interest-steps span,.rounding-digits .is-significant) {background:var(--topic-soft);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.math-session :is(.math-visual-steps .is-current,.math-visual-steps b,.interest-steps b) {color:var(--topic-accent)}
.topic-lesson.math-session .math-order-workspace.is-drop {background:var(--topic-soft);border-color:var(--topic-accent)}
.topic-lesson.math-session svg :is([fill="#00aabd"],[fill="#00b6c9"],[fill="#00bed6"],[fill="#00bdd2"],[fill="#2bc0d1"],[fill="#30c0d1"],[fill="#30bdcd"],[fill="#34bfce"]) {fill:var(--topic-base)}
.topic-lesson.math-session svg :is([stroke="#00aabd"],[stroke="#00b6c9"],[stroke="#00bed6"],[stroke="#00bdd2"],[stroke="#2ab7c5"],[stroke="#26b7c6"]) {stroke:var(--topic-diagram-ink)}
.topic-lesson.math-session svg :is([fill="#bcebf0"],[fill="#b8e8ed"],[fill="#c5eef2"],[fill="#d6f5f8"],[fill="#dbf5f6"]) {fill:var(--topic-diagram-soft)}
.topic-lesson.math-session svg :is([fill="#9ce4eb"],[fill="#a2e3ea"],[fill="#a9e9ef"],[fill="#66d1dd"]) {fill:var(--topic-diagram-mid)}
.topic-lesson.math-session svg :is([fill="#008b9b"],[fill="#00b9cc"]) {fill:var(--topic-diagram-ink)}
.topic-lesson.math-session svg :is([stroke="#008b9b"],[stroke="#00b9cc"]) {stroke:var(--topic-diagram-ink)}
.topic-lesson.math-session svg :is([fill="#bceef3"],[fill="#d8f5f7"],[fill="#c8f2f5"],[fill="#c7f0f4"],[fill="#edf8f9"]) {fill:var(--topic-diagram-soft)}
.topic-lesson.geo-session .arrange-list>li.arrange-picked {background:var(--topic-soft);border-color:var(--topic-accent);box-shadow:0 3px 0 var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session .arrange-list>li.arrange-insert-before::before,
.topic-lesson.geo-session .arrange-list>li.arrange-insert-after::after {background:var(--topic-accent)}
.topic-lesson.geo-session .playback-button {background:var(--topic-base);color:var(--topic-on-accent)}
.topic-lesson.geo-session .plate-stamps>button {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session .map-pin.selected:not(.right):not(.wrong) circle {fill:var(--topic-base);stroke:var(--topic-diagram-ink)}
.topic-lesson.geo-session .plate-region.active {fill:var(--topic-base)}
/* Answer feedback must remain distinct from the normal selected state. */
.topic-lesson .math-choices .math-btn[data-result="right"] {background:#d7f3e0;border-color:#388458;color:#163e27}
.topic-lesson .math-choices .math-btn[data-result="wrong"] {background:#ffeadf;border-color:#b9603f;color:#63301d}
[data-theme="dark"] .topic-lesson .math-choices .math-btn[data-result="right"] {background:#245b3e;border-color:#8bd8a7;color:#f2fff6}
[data-theme="dark"] .topic-lesson .math-choices .math-btn[data-result="wrong"] {background:#75402f;border-color:#f1ad8e;color:#fff4ee}

.course-picker-item[style*="--picker-rgb"] .course-picker-number {background:rgb(var(--picker-rgb));color:#17212a;border-color:color-mix(in srgb, rgb(var(--picker-rgb)) 70%, #17212a)}
.topic-lesson.geo-session :is(.crust-observe-choices,.intro-choices,.chapter-choices) button:not(.chosen):not([aria-pressed="true"]):not(.observation-right):not(.observation-retry) {background:var(--topic-panel);color:var(--topic-ink);border-color:var(--topic-edge)}
.topic-lesson.geo-session .g45-readable-key {background:var(--topic-panel);color:var(--topic-ink)}
.topic-lesson.geo-session .g45-readable-key b {color:var(--topic-accent)}

.complete-screen.topic-lesson {background:var(--topic-screen);color:var(--topic-ink)}
.complete-screen.topic-lesson :is(h1,.eyebrow,.result-stats strong) {color:var(--topic-accent)}
@media(max-width:700px){
 .math-session :is(.math-visual,.math-template-visual) :is(text[font-size="9"],text[font-size="10"],text[font-size="11"]){font-size:12px;font-weight:600}
 .math-session :is(.math-visual,.math-template-visual) text[font-size="12"]{font-size:13px}
 .math-session :is(.math-visual,.math-template-visual) text[font-size="13"]{font-size:14px}
}
/* The same topic shades also cover shared mathematical diagrams and controls. */
.topic-lesson.math-session svg :is([fill="#d4f3f6"],[fill="#d8f4f6"],[fill="#c5edf1"],[fill="#c7eef2"]) {fill:var(--topic-diagram-soft)}
.topic-lesson.math-session svg :is([fill="#075f6c"],[fill="#174d56"]) {fill:var(--topic-diagram-ink)}
.topic-lesson.math-session :is(.math-progress,.session-progress) {background:var(--topic-soft)}
.topic-lesson.geo-session :is(.observation,.mechanism-tabs button.chosen,.causal-slots button) {background:var(--topic-soft);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session :is(.causal-slots>li,.causal-slots>li>span:first-child) {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}

[data-theme="dark"] .topic-lesson .math-lesson svg.math-visual {background:#f7f8f8;border-radius:12px}
/* Mathematics and geography use the same header / content / action frame. */
.math-session.shared-lesson-frame {display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;overflow:hidden;padding:18px 32px 0}
.math-session.shared-lesson-frame>.math-lesson-top {position:static;width:100%;margin:0 auto;padding:0}
.math-session.shared-lesson-frame>.math-lesson {width:100%;min-width:0;min-height:0;max-width:900px;margin:0 auto;padding:0 0 24px;overflow:auto;overscroll-behavior:contain}
.math-session.shared-lesson-frame>.math-footer {position:static;display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin:0 -32px;padding:18px 32px max(24px,env(safe-area-inset-bottom));border-top:1px solid var(--topic-edge);background:var(--topic-screen)}
@media(max-width:700px){
 .math-session.shared-lesson-frame {gap:12px;padding:12px 18px 0}
 .math-session.shared-lesson-frame>.math-lesson-top {padding:0}
 .math-session.shared-lesson-frame>.math-lesson {padding:0 0 18px}
 .math-session.shared-lesson-frame>.math-footer {margin:0 -18px;padding:12px 18px max(16px,env(safe-area-inset-bottom))}
 .math-session.shared-lesson-frame>.math-footer>.math-btn {flex:1 1 auto;min-width:0;min-height:46px}
}
.math-session.shared-lesson-frame>.math-footer>.math-hint {flex:1 0 100%;min-width:0;max-height:min(23dvh,150px);overflow-y:auto;margin:0;overscroll-behavior:contain}
/* Earlier mathematics lessons use the same visual palette as the template. */
.topic-lesson.math-session svg :is([fill="#00a6ba"],[fill="#00a6b8"],[fill="#00a5b9"],[fill="#008fa0"],[fill="#009eb0"],[fill="#30bfce"]) {fill:var(--topic-base)}
.topic-lesson.math-session svg :is([stroke="#00a6ba"],[stroke="#00a6b8"],[stroke="#00a5b9"],[stroke="#008fa0"],[stroke="#009eb0"],[stroke="#75ced9"]) {stroke:var(--topic-diagram-ink)}
.topic-lesson.math-session svg :is([fill="#dcf5f7"],[fill="#e0f8fa"],[fill="#e0f7f9"],[fill="#eefbfc"],[fill="#eef9fa"],[fill="#e3f7f8"],[fill="#e4f7f9"]) {fill:var(--topic-diagram-soft)}
.topic-lesson.math-session svg :is([fill="#9ee5eb"],[fill="#a8e9ed"],[fill="#a6e5eb"],[fill="#87d5df"]) {fill:var(--topic-diagram-mid)}
/* Small counting dots need a darker shade than their surrounding card. */
.topic-lesson.math-session svg circle[fill="#00a6ba"] {fill:var(--topic-diagram-ink)}
.topic-lesson.math-session svg g[data-action="math-m15-answer"]>rect[fill="#e0f8fa"] {fill:color-mix(in srgb, var(--topic-base) 8%, white)}
/* Geography's compact selectors and diagram controls follow the current topic. */
.topic-lesson.geo-session .chapter-scenario-select {color:var(--topic-ink)}
.topic-lesson.geo-session .chapter-scenario-select select {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session :is(.spring-comparison-tabs,.arc-region-tabs,.hillslope-controls)>button,
.topic-lesson.geo-session .chapter-playback .play-chapter {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session :is(.spring-comparison-tabs,.arc-region-tabs,.hillslope-controls)>button:is(.chosen,[aria-pressed="true"]) {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}
.topic-lesson.geo-session .chapter-playback .lesson-back {color:var(--topic-accent)}
.topic-lesson.geo-session .chapter-animation-meter {background:var(--topic-soft)}
.topic-lesson.geo-session .chapter-percent {color:var(--topic-ink)}

/* Compact numerical controls keep a predictable, touch-friendly grid on phones. */
@media(max-width:700px){
 .topic-lesson.math-session .math-control-compact {display:grid;grid-template-columns:repeat(var(--control-columns),minmax(0,1fr));gap:8px}
 .topic-lesson.math-session .math-control-compact>span {grid-column:1/-1}
 .topic-lesson.math-session .math-control-compact .math-btn {min-width:0;min-height:44px;padding:6px 2px;overflow-wrap:normal}
}
/* The algebra tiles keep their contrasting comparison tile, while the rest follow the topic. */
.topic-lesson.math-session .identity-area span:not(:last-child),
.topic-lesson.math-session .identity-area-interactive .math-btn:not(:nth-child(4)) {background:var(--topic-diagram-mid);border-color:var(--topic-diagram-ink);color:#172d32}
.topic-lesson.math-session .identity-area span:nth-child(2),
.topic-lesson.math-session .identity-area span:nth-child(3),
.topic-lesson.math-session .identity-area-interactive .math-btn:nth-child(2),
.topic-lesson.math-session .identity-area-interactive .math-btn:nth-child(3) {background:var(--topic-diagram-soft)}
.topic-lesson.math-session .identity-area-interactive .math-btn[aria-pressed=true] {outline-color:var(--topic-diagram-ink);background:var(--topic-diagram-mid);color:#172d32}

@media(max-width:300px){
 .topic-lesson.math-session .math-control-compact {grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Older mathematics lessons share topic shades while keeping selected and unselected objects distinct. */
.topic-lesson.math-session .math-sequence-term {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.math-session .percent-track {background:var(--topic-soft)}
.topic-lesson.math-session .ratio-bars i {background:var(--topic-diagram-mid);border-color:var(--topic-diagram-ink)}
.topic-lesson.math-session .inequality-people .math-btn {background:var(--topic-panel);color:var(--topic-accent);border-color:var(--topic-edge)}
.topic-lesson.math-session .inequality-people .math-btn[data-present=true] {background:var(--topic-soft);color:var(--topic-ink);border-color:var(--topic-accent)}

.topic-lesson.math-session .math-sequence-term.is-highlighted {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}

/* Text and dialogue surfaces inside geography lessons follow the current topic too. */
.topic-lesson.geo-session :is(.lesson-back,.quiz-content>.exercise-hint,.chapter-question-figure>.figure-credit) {color:var(--topic-accent)}
.topic-lesson.geo-session :is(.prediction-feedback,.resident-speech) {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session .resident-speech::before {background:var(--topic-panel);border-color:var(--topic-edge)}
.topic-lesson.geo-session .resident-speech blockquote {color:var(--topic-ink)}
.topic-lesson.geo-session .resident-name {color:var(--topic-accent)}
.topic-lesson.geo-session .resident-source {color:var(--topic-accent)}
@media(max-width:700px){
 .topic-lesson.geo-session :is(.lesson-step-heading,.chapter-playback) .lesson-back {min-height:44px;padding:8px;font-size:14px}
}

/* A short power is one mathematical unit, including on narrow screens. */
.topic-lesson.math-session .math-atomic {white-space:nowrap;overflow-wrap:normal}

.topic-lesson.math-session .math-result-footer>.math-btn~.math-btn {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}

/* Keep checked answers legible; an empty ordering area explains its purpose. */
.topic-lesson.math-session .math-choices .math-btn[data-result]:disabled {opacity:1}
.topic-lesson.math-session .math-order-empty {align-self:center;color:var(--topic-ink);opacity:.8}
.topic-lesson.math-session .math-order-workspace[data-result="right"] {border-color:#388458}
.topic-lesson.math-session .math-order-workspace[data-result="wrong"] {border-color:#b9603f}
[data-theme="dark"] .topic-lesson.math-session .math-order-workspace[data-result="right"] {border-color:#8bd8a7}
[data-theme="dark"] .topic-lesson.math-session .math-order-workspace[data-result="wrong"] {border-color:#f1ad8e}
.topic-lesson.math-session .math-order-workspace[data-result] .math-btn:disabled {opacity:1}

.topic-lesson.math-session .math-formula-card {display:flex;align-items:center;justify-content:center;gap:.4em;flex-wrap:wrap;margin:12px auto 18px;padding:20px 12px;border:2px solid var(--topic-edge);border-radius:18px;background:var(--topic-panel);color:var(--topic-ink);font-size:clamp(21px,6vw,30px);font-weight:750}

/* Geography lesson controls and information panels use the active topic's palette. */
.topic-lesson.geo-session .playback-meter {background:var(--topic-soft)}
.topic-lesson.geo-session .playback-meter>span {background:var(--topic-base)}
.topic-lesson.geo-session .playback-button {box-shadow:0 4px 0 var(--topic-edge)}
.topic-lesson.geo-session .playback-button:active {box-shadow:0 1px 0 var(--topic-edge)}
.topic-lesson.geo-session .plate-name-card,
.topic-lesson.geo-session .production-example>div,
.topic-lesson.geo-session .g55-route-node,
.topic-lesson.geo-session .numeric-response {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session .plate-name-card .plate-letter {background:var(--topic-soft);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session .plate-stamps>button.chosen,
.topic-lesson.geo-session :is(.production-decision,.research-decision) button.chosen,
.topic-lesson.geo-session .g55-route-node.active {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}
.topic-lesson.geo-session .g55-route-node.passed {border-color:var(--topic-accent)}
.topic-lesson.geo-session :is(.g55-route-arrow,.production-example>span) {color:var(--topic-accent)}
.topic-lesson.geo-session .numeric-response input {background:var(--topic-screen);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session .numeric-response input:focus {outline-color:var(--topic-soft);border-color:var(--topic-accent)}
.topic-lesson.geo-session .quiz-content .match-card.active {outline-color:var(--topic-edge)}
.topic-lesson.geo-session .match-mobile-rail>button {background:var(--topic-panel);border-color:var(--topic-edge);color:var(--topic-ink)}
.topic-lesson.geo-session .match-mobile-rail>button.chosen {background:var(--topic-soft);border-color:var(--topic-accent);color:var(--topic-ink)}
.topic-lesson.math-session .index-fraction .index-factor-button:not(.is-cancelled) {border-color:var(--topic-accent)}
.topic-lesson.math-session .index-fraction .index-factor-button:focus-visible {outline-color:var(--topic-accent)}
.topic-lesson.math-session .rounding-slider input {accent-color:var(--topic-accent)}
.topic-lesson.math-session .math-visual-steps span::first-line {color:var(--topic-accent)}
