/* ADT Learning: shared styles for interactive learning (29 Nov 2026). Used with learning-ui.js.
   Rules: show the result first. Use space and thin lines instead of boxes inside boxes. Every
   state has a word and an icon as well as a colour. Nothing looks right or wrong until it has
   been checked. All colours come from styles.css, so light, dark and high contrast work. */
:root { --lu-right: #2A5A3A; --lu-part: #7A4E0B; --lu-wrong: #9A3B23; --lu-line: var(--color-border); --lu-ctl: var(--color-border-strong); }
html[data-theme="dark"] { --lu-right: #8CCB9F; --lu-part: #EBC36C; --lu-wrong: #F0A189; }
html.a11y-high-contrast { --lu-ctl: var(--color-text); --lu-line: var(--color-text); }
html.a11y-high-contrast:not([data-theme="dark"]) { --lu-right: #123D20; --lu-part: #4C2F00; --lu-wrong: #6B1F0C; }
html.a11y-high-contrast[data-theme="dark"] { --lu-right: #B8F0C8; --lu-part: #FFE09A; --lu-wrong: #FFC4B2; }
.lu-i { width: 22px; height: 22px; flex: none; }
.lu-h { font-size: 16px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
/* A heading that focus moves to isn't a control, so it has no focus box. Controls keep theirs. */
[data-focus]:focus, [data-focus]:focus-visible { outline: none; }
[data-focus] { scroll-margin-top: 90px; }
:is(.lu-opt input, .lu-fold > summary, .lu-link):focus-visible { outline: 3px solid var(--color-info); outline-offset: 2px; }

/* ---------- pictures ---------- the space is set aside before the file loads */
.lu-art { display: block; aspect-ratio: 3 / 2; width: 100%; border-radius: 16px; overflow: hidden; background: #F0E3CE; }
.lu-art svg { display: block; width: 100%; height: 100%; }
html[data-theme="dark"] .lu-art { background: #55504A; }
html[data-theme="dark"] .lu-art svg { filter: brightness(.86); }
.lu-intro { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: center; margin: 0 0 24px; }
.lu-intro > div > :last-child { margin-bottom: 0; }
.lu-intro.is-small { grid-template-columns: minmax(0, 1fr) 190px; }
@media (max-width: 640px) {
  .lu-intro, .lu-intro.is-small { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lu-intro > .lu-art { order: -1; aspect-ratio: 2 / 1; }
  .lu-intro.is-small > .lu-art { aspect-ratio: 5 / 2; }
}

.lu-intro p:not([class]), .tf-lead { font-size: 16px; line-height: 1.6; margin: 8px 0 0; }
.lu-intro h2 { font-size: 20px; }
#tf-check { margin: 36px 0 28px; }

/* ---------- progress ---------- */
.lu-prog { flex: 1; min-width: 160px; }
.lu-prog span { display: block; font-size: 14px; color: var(--color-text-muted); margin-bottom: 6px; }
.lu-track { height: 8px; border-radius: 4px; background: var(--color-border); overflow: hidden; }
.lu-track i { display: block; height: 100%; border-radius: 4px; background: var(--color-accent-orange); transition: width .25s ease; }

/* ---------- questions ---------- */
.lu-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.lu-set > legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.lu-set > legend + * { clear: both; }
.lu-set > legend.sr-only { width: 1px; margin: -1px; }
.lu-stem { margin: 0 0 14px; font-size: 17px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.lu-stem:empty { display: none; }
.lu-opt:has(input:disabled) { cursor: default; background: none; }
.lu-opt.is-out { border-style: dashed; color: var(--color-text-muted); }
.lu-list { list-style: none; margin: 0; padding: 0; }
.lu-opt { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 48px; margin: 0 0 10px; padding: 12px 16px; border: 1px solid var(--lu-ctl); border-radius: 12px; background: var(--color-surface); color: var(--color-text); font-size: 16px; line-height: 1.5; font-weight: 400; cursor: pointer; transition: background .12s ease, border-color .12s ease; }
.lu-opt:hover { background: var(--color-hover); }
.lu-opt-t { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.lu-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.lu-opt:has(input:focus-visible) { outline: 3px solid var(--color-info); outline-offset: 2px; }
.lu-dot { flex: none; width: 20px; height: 20px; margin-top: 2px; border: 2px solid var(--lu-ctl); border-radius: 50%; background: var(--color-surface); }
.lu-letter { flex: none; min-width: 26px; height: 26px; margin-top: -1px; border: 1.5px solid var(--lu-ctl); border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--color-text); }
.lu-opt:has(input:checked)[data-state] { box-shadow: none; border-width: 2px; padding: 11px 15px; }
.lu-opt[data-state="right"]:has(input:checked) .lu-dot { border-color: var(--lu-right); background: var(--lu-right); }
.lu-opt[data-state="miss"]:has(input:checked) .lu-dot { border-color: var(--lu-wrong); background: var(--lu-wrong); }
/* Selected, not checked: a filled dot and a thicker edge, in the same colour for every answer. */
.lu-opt:not([data-state]):has(input:checked) { border-color: var(--color-accent-orange); box-shadow: inset 0 0 0 1px var(--color-accent-orange); background: var(--tint-orange); }
.lu-opt:not([data-state]) input:checked + .lu-dot { border-color: var(--color-accent-orange); background: var(--color-accent-orange); }
.lu-opt input:checked + .lu-dot { box-shadow: inset 0 0 0 3px var(--color-surface); }
.lu-opt input:checked + .lu-letter { border-color: var(--color-accent-orange); background: var(--color-accent-orange); color: var(--color-surface); }
.lu-opt.is-result { cursor: default; border-color: var(--lu-line); background: none; }
.lu-opt.is-result:hover { background: none; }
.lu-opt.is-result[data-state] { border-width: 2px; padding: 11px 15px; }
.lu-opt[data-state="right"] { border-color: var(--lu-right); background: var(--tint-green); }
.lu-opt[data-state="part"] { border-color: var(--lu-part); background: var(--tint-gold); }
.lu-opt:is([data-state="wrong"], [data-state="miss"]) { border-color: var(--lu-wrong); background: var(--tint-red); }
.lu-mark { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; }
.lu-mark .lu-i { width: 18px; height: 18px; }
[data-state="right"] > .lu-opt-t > .lu-mark, .lu-verdict[data-state="right"] { color: var(--lu-right); }
[data-state="part"] > .lu-opt-t > .lu-mark, .lu-verdict[data-state="part"] { color: var(--lu-part); }
:is([data-state="wrong"], [data-state="miss"]) > .lu-opt-t > .lu-mark, .lu-verdict:is([data-state="wrong"], [data-state="miss"]) { color: var(--lu-wrong); }
.lu-verdict[data-state="info"] { color: var(--color-text); }
.lu-q { padding: 26px 0 16px; border-top: 1px solid var(--lu-line); }
.lu-q:first-child { border-top: 0; padding-top: 4px; }
.lu-from { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--color-text-muted); }
.lu-qfb { font-size: 16px; line-height: 1.6; }
.lu-qfb p { margin: 0 0 10px; max-width: 68ch; overflow-wrap: anywhere; }
.lu-result { margin: 12px 0 0; padding: 22px 0 0; border-top: 2px solid var(--lu-line); font-size: 16px; line-height: 1.6; }
.lu-result > * + * { margin-top: 14px; }
.lu-result:empty { display: none; }
.lu-fb .lu-links a { font-size: 16px; }
.lu-links { list-style: none; margin: 0; padding: 0; }
.lu-links a { display: flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--color-accent-orange); text-decoration: underline; text-underline-offset: 3px; }
.lu-err { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--lu-wrong); }
.lu-err:empty { display: none; }
.lu-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.lu-acts .btn { min-height: 44px; white-space: normal; }
.lu-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--color-accent-orange); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- feedback ---------- */
.lu-fb { margin: 24px 0 0; padding: 22px 0 0; border-top: 2px solid var(--lu-line); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.lu-fb > * + * { margin-top: 12px; }
.lu-fb > .lu-figs, .lu-fb > .lu-part, .lu-fb > .lu-safe, .lu-fb > .lu-key, .lu-fb > .lu-fold { margin-top: 22px; }
.lu-fb > .lu-fold + .lu-fold { margin-top: 0; border-top: 0; }
.lu-verdict { display: flex; align-items: flex-start; gap: 10px; }
.lu-verdict .lu-i { width: 28px; height: 28px; }
.lu-verdict :is(h2, h3, h4, p) { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.4; min-width: 0; }
.lu-lead { font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--color-text); }
.lu-fb p, .lu-fb li { max-width: 68ch; }
.lu-part p + p { margin-top: 12px; }
.lu-steps { list-style: none; counter-reset: lu; margin: 14px 0 0; padding: 0; }
.lu-steps li { counter-increment: lu; position: relative; padding: 0 0 12px 42px; min-height: 40px; line-height: 1.55; }
.lu-steps li::before { content: counter(lu); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: var(--tint-orange); color: var(--ink-orange); border: 1px solid var(--color-accent-orange); }
.lu-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 31px; bottom: 5px; width: 1px; background: var(--color-accent-orange); opacity: .5; }
.lu-steps li:last-child { padding-bottom: 0; min-height: 28px; }
.lu-key { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--tint-gold); color: var(--color-text); }
.lu-key .lu-i { color: var(--lu-part); width: 24px; height: 24px; }
.lu-key p { margin: 0; line-height: 1.55; }
.lu-key b { display: block; font-size: 14px; color: var(--lu-part); }
.lu-safe { padding: 18px; border: 2px solid var(--color-info); border-radius: 12px; }
.lu-safe .lu-h .lu-i { color: var(--color-info); }
.lu-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lu-sides > div + div { border-left: 1px solid var(--lu-line); padding-left: 24px; }
.lu-sides :is(h3, h4, h5) { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.lu-sides ul { list-style: disc; margin: 0; padding-left: 20px; }
.lu-sides li { margin-bottom: 8px; }
@media (max-width: 640px) { .lu-sides { grid-template-columns: 1fr; } .lu-sides > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--lu-line); padding-top: 18px; } }

/* ---------- amounts ----------
   Money in the total is solid. An amount that isn't in the total has a dashed line beside it,
   a lighter number and words saying what it is. */
.lu-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px 28px; margin: 0; }
.lu-fig { min-width: 0; padding-left: 18px; border-left: 4px solid var(--color-text); }
.lu-fig dt { font-size: 15px; font-weight: 600; line-height: 1.4; }
.lu-fig dd { margin: 0; }
.lu-fig b { display: block; font-size: 32px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--color-text); }
.lu-fig dd span { display: block; font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
.lu-fig.is-apart { border-left: 4px dashed var(--color-accent-orange); }
.lu-fig.is-apart b { font-size: 26px; font-weight: 600; line-height: 1.54; color: var(--color-text); }
.lu-fig[data-kind="none"] b { font-size: 22px; line-height: 1.5; }
.lu-total { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; font-size: 15px; font-variant-numeric: tabular-nums; }
.lu-total b { font-weight: 700; }

/* ---------- fold-outs: real details elements ---------- */
.lu-fold { border-top: 1px solid var(--lu-line); border-bottom: 1px solid var(--lu-line); }
.lu-fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 4px; font-size: 16px; font-weight: 600; line-height: 1.4; cursor: pointer; border-radius: 4px; }
.lu-fold > summary::-webkit-details-marker { display: none; }
.lu-fold > summary:hover { color: var(--color-accent-orange); }
.lu-fold > summary .lu-i { transition: transform .15s ease; }
.lu-fold[open] > summary .lu-i { transform: rotate(180deg); }
.lu-fold-in { padding: 4px 4px 18px; }
.lu-fold-in > * + * { margin-top: 12px; }

/* ---------- made-up documents ---------- */
.lu-doc { margin: 0 0 28px; }
.lu-doc > figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.lu-doc > figcaption span { font-size: 14px; font-weight: 400; color: var(--color-text-muted); }
.lu-doc-in { font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.lu-doc-in > p + p { margin-top: 8px; }
.lu-doc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lu-doc-head b { flex: 1; min-width: 0; }
.lu-doc .lu-small { margin-top: 12px; font-size: 14px; color: var(--color-text-muted); }
.lu-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; line-height: 1.5; }
.lu-table :is(th, td) { padding: 11px 14px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--lu-line); background: none; }
.lu-table thead th { font-size: 14px; font-weight: 700; color: var(--color-text-muted); background: none; }
.lu-table tbody th { font-weight: 600; }
.lu-table tbody tr:last-child > * { border-bottom: 0; }
.lu-table .is-total > * { font-weight: 700; border-top: 2px solid var(--color-text); }
.lu-cell-l { display: none; }
.lu-table:is(.is-list, .is-statement) :is(th, td):not(:first-child) { font-variant-numeric: tabular-nums; }
.lu-table.is-list :is(th, td):last-child, .lu-table.is-statement :is(th, td):nth-child(n+3) { text-align: right; white-space: nowrap; }
.lu-doc:is([data-type="statement"], [data-type="payslip"], [data-type="list"]) .lu-doc-in { border: 1px solid var(--lu-line); border-radius: 4px 4px 14px 14px; border-top: 5px solid var(--color-info); background: var(--color-surface); padding: 4px 4px 6px; }
.lu-doc:is([data-type="statement"], [data-type="payslip"]) .lu-doc-head { padding: 14px 14px 8px; font-size: 17px; }
.lu-doc:is([data-type="statement"], [data-type="payslip"], [data-type="list"]) .lu-small { margin: 6px 14px 10px; }
.lu-doc[data-type="payslip"] .lu-doc-in { border-top-color: var(--color-accent-orange); }
.lu-doc[data-type="list"] .lu-doc-in { border-top: 1px solid var(--lu-line); border-left: 5px solid var(--color-accent-orange); border-radius: 4px 14px 14px 4px; }
.lu-note { margin: 4px 10px 10px; padding: 14px 16px; background: var(--tint-gold); border-radius: 2px 2px 16px 2px; line-height: 1.5; }
.lu-doc[data-type="compare"] .lu-table thead th:not(:first-child) { font-size: 15px; color: var(--color-text); }
.lu-doc[data-type="compare"] .lu-doc-in { border-top: 2px solid var(--color-text); border-bottom: 1px solid var(--lu-line); }
.lu-doc[data-type="compare"] .lu-small { padding: 0 14px 14px; }
/* Phone messages and pop-ups: shown inside a phone or game screen */
.lu-doc:is([data-type="message"], [data-type="popup"], [data-type="advert"], [data-type="post"]) { max-width: 440px; margin-left: auto; margin-right: auto; }
.lu-doc:is([data-type="message"], [data-type="popup"], [data-type="advert"], [data-type="post"]) .lu-doc-in { border: 8px solid #24303C; border-radius: 28px; padding: 20px 18px; background: var(--color-surface); }
html[data-theme="dark"] .lu-doc:is([data-type="message"], [data-type="popup"], [data-type="advert"], [data-type="post"]) .lu-doc-in { border-color: #75665A; }
.lu-doc[data-type="message"] .lu-doc-head { padding-bottom: 14px; border-bottom: 1px solid var(--lu-line); }
.lu-ava { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--tint-neutral); }
.lu-bubbles { padding: 16px 0 6px; }
.lu-bubbles p { max-width: 94%; margin: 0 0 10px; padding: 12px 14px; border-radius: 18px 18px 18px 4px; background: var(--color-hover); line-height: 1.5; }
.lu-doc:is([data-type="popup"], [data-type="advert"]) .lu-doc-in { text-align: center; }
.lu-doc:is([data-type="popup"], [data-type="advert"]) .lu-doc-in > p { margin-top: 0; }
.lu-tagline { margin: -20px -18px 18px !important; padding: 14px 16px; border-radius: 19px 19px 0 0; background: #9A4A26; color: #fff; font-size: 17px; font-weight: 800; }
.lu-doc[data-type="popup"] .lu-tagline { background: #23514E; }
.lu-prod { font-size: 18px; font-weight: 700; line-height: 1.4; }
.lu-price { font-size: 34px; font-weight: 800; line-height: 1.3; font-variant-numeric: tabular-nums; }
.lu-timer { display: inline-block; margin: 8px auto 16px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.lu-wallet { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--lu-line); font-size: 15px; }
.lu-doc[data-type="advert"] .lu-small, .lu-doc[data-type="popup"] .lu-small { color: var(--color-text); font-weight: 600; }
.lu-doc[data-type="post"] .lu-prod { margin: -20px -18px 14px; padding: 28px 20px; border-radius: 19px 19px 0 0; background: #2E4D60; color: #fff; }
/* Email */
.lu-doc[data-type="email"] .lu-doc-in { border: 1px solid var(--lu-ctl); border-radius: 10px; padding: 0 20px 20px; background: var(--color-surface); }
.lu-mail { margin: 0 -20px 16px; padding: 14px 20px; background: var(--color-hover); border-radius: 9px 9px 0 0; font-size: 15px; }
.lu-mail > div { display: flex; gap: 8px; } .lu-mail dt { color: var(--color-text-muted); min-width: 62px; } .lu-mail dd { margin: 0; font-weight: 600; min-width: 0; }
.lu-doc .lu-fakebtn { display: inline-block; margin-top: 16px; padding: 9px 18px; border: 1px solid var(--lu-ctl); border-radius: 6px; font-weight: 600; }
@media (max-width: 640px) {
  .lu-table:is(.is-compare, .is-statement) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .lu-table.is-compare, .lu-table.is-compare :is(tbody, tr, th, td) { display: block; width: 100%; }
  .lu-table.is-compare tr { padding: 14px 4px; border-bottom: 1px solid var(--lu-line); }
  .lu-table.is-compare tr:last-child { border-bottom: 0; }
  .lu-table.is-compare :is(th, td) { padding: 0; border: 0; }
  .lu-table.is-compare tbody th { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
  .lu-table.is-compare td { padding: 4px 0; }
  .lu-table.is-compare.cols-3 tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
  .lu-table.is-compare.cols-3 tbody th { grid-column: 1 / -1; }
  .lu-doc[data-type="compare"] .lu-small { padding: 0 4px 14px; }
  .lu-table.is-compare .lu-cell-l { display: block; font-size: 14px; color: var(--color-text-muted); }
  .lu-table.is-statement, .lu-table.is-statement tbody { display: block; width: 100%; }
  .lu-table.is-statement tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 10px; border-bottom: 1px solid var(--lu-line); }
  .lu-table.is-statement tr:last-child { border-bottom: 0; }
  .lu-table.is-statement td { padding: 0; border: 0; display: block; }
  .lu-table.is-statement td:nth-child(1) { grid-area: 2 / 1; font-size: 14px; color: var(--color-text-muted); }
  .lu-table.is-statement td:nth-child(2) { grid-area: 1 / 1; font-weight: 600; }
  .lu-table.is-statement td:nth-child(n+3) { grid-area: 1 / 2 / 3; }
  .lu-table.is-statement td.is-blank { visibility: hidden; }
  .lu-table.is-statement .lu-cell-l { display: block; font-size: 14px; color: var(--color-text-muted); }
  .lu-table.is-statement td:nth-child(2) .lu-cell-l { display: none; }
  .lu-table.is-list :is(th, td) { padding: 10px; }
}

/* ---------- results, and screens with nothing to answer ---------- */
.lu-score { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tf-block ol.lu-recap, .lu-recap { list-style: none; margin: 0; padding: 0; }
.lu-recap > li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--lu-line); line-height: 1.5; }
.lu-recap > li:first-child { border-top: 0; }
.lu-recap > li > div { min-width: 0; }
.lu-recap b { display: block; } .lu-recap span { color: var(--color-text-muted); font-size: 15px; } .lu-recap em { font-style: normal; font-weight: 600; font-size: 15px; display: block; }
.lu-recap [data-state="right"] :is(.lu-i, em), .lu-recap [data-state="right"] > .lu-i { color: var(--lu-right); }
.lu-recap [data-state="part"] :is(.lu-i, em) { color: var(--lu-part); }
.lu-recap [data-state="wrong"] :is(.lu-i, em) { color: var(--lu-wrong); }
.lu-empty { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 720px; padding: 8px 0; }
.lu-empty h2 { font-size: 20px; margin: 0 0 8px; } .lu-empty p { font-size: 16px; line-height: 1.6; color: var(--color-text-muted); margin: 0; }
@media (max-width: 640px) { .lu-empty { grid-template-columns: minmax(0, 1fr); gap: 18px; } .lu-empty > .lu-art { aspect-ratio: 2 / 1; } .lu-fig b { font-size: 28px; } .lu-fig.is-apart b { font-size: 24px; } }

@media (prefers-reduced-motion: reduce) { .lu-track i, .lu-opt, .lu-fold > summary .lu-i { transition: none; } }
@media (forced-colors: active) {
  .lu-opt:has(input:checked) { outline: 3px solid Highlight; outline-offset: -3px; }
  .lu-opt:has(input:focus-visible) { outline: 3px solid CanvasText; outline-offset: 2px; }
  .lu-opt input:checked + .lu-dot { background: Highlight; forced-color-adjust: none; }
  .lu-opt.is-result[data-state] { border-width: 3px; }
  .lu-track { border: 1px solid CanvasText; } .lu-track i { background: Highlight; forced-color-adjust: none; }
  .lu-steps li:not(:last-child)::after { background: CanvasText; }
}
html.a11y-high-contrast :is(.lu-opt, .lu-key, .lu-doc-in, .lu-bubbles p, .lu-note) { border-width: 2px; border-style: solid; border-color: var(--color-text); }
html.a11y-high-contrast .lu-opt:not([data-state]):has(input:checked) { border-color: var(--color-accent-orange); box-shadow: inset 0 0 0 2px var(--color-accent-orange); }
html.a11y-high-contrast .lu-opt.is-result[data-state] { border-width: 4px; padding: 9px 13px; }
html.a11y-high-contrast .lu-opt[data-state="right"] { border-color: var(--lu-right); }
html.a11y-high-contrast .lu-opt[data-state="part"] { border-color: var(--lu-part); }
html.a11y-high-contrast .lu-opt:is([data-state="wrong"], [data-state="miss"]) { border-color: var(--lu-wrong); }
@media print { .lu-art, .lu-acts, .lu-prog { display: none !important; } .lu-fb, .lu-opt, .lu-doc { break-inside: avoid; } }
