/* Selected lesson rules scoped to native article; native shell/theme remains authoritative. */
:where(.native-lesson):is(.maths-transfer .lesson-jump),
:where(.native-lesson) :is(.maths-transfer .lesson-jump){display:flex;gap:.75rem;flex-wrap:wrap;margin:1rem 0}
:where(.native-lesson):is(.maths-transfer .lesson-jump a),
:where(.native-lesson) :is(.maths-transfer .lesson-jump a){display:inline-flex;align-items:center;min-height:44px;padding:.55rem 1rem;border:1px solid var(--line);border-radius:.7rem;background:var(--card);color:var(--ink)}
:where(.native-lesson):is(.maths-transfer .lesson-stage),
:where(.native-lesson) :is(.maths-transfer .lesson-stage){scroll-margin-top:calc(var(--lesson-header-height,5rem) + 1rem)}
:where(.native-lesson):is(.maths-transfer .hybrid-curation),
:where(.native-lesson) :is(.maths-transfer .hybrid-curation){scroll-margin-top:calc(var(--lesson-header-height,5rem) + 1rem)}
:where(.native-lesson):is(.maths-transfer .hybrid-curated-resource),
:where(.native-lesson) :is(.maths-transfer .hybrid-curated-resource){padding:1rem;border:1px solid var(--line);border-radius:.75rem;background:var(--card)}
:where(.native-lesson):is(.maths-transfer .hybrid-feedback-open),
:where(.native-lesson) :is(.maths-transfer .hybrid-feedback-open){display:inline-flex;min-height:44px;margin-top:.6rem;padding:.45rem .75rem;border:1px solid var(--line);border-radius:.6rem;background:var(--card2);color:var(--ink);font:inherit;cursor:pointer}
:where(.native-lesson):is(.maths-transfer .hybrid-preview-note),
:where(.native-lesson) :is(.maths-transfer .hybrid-preview-note){color:var(--ink-soft)}
:where(.native-lesson):is(.worksheet-page .worksheet-controls),
:where(.native-lesson) :is(.worksheet-page .worksheet-controls){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:0 0 1rem;padding:.9rem;background:var(--card);border:1px solid var(--line);border-radius:.8rem}
:where(.native-lesson):is(.worksheet-page .worksheet-controls label),
:where(.native-lesson) :is(.worksheet-page .worksheet-controls label){display:flex;align-items:center;gap:.5rem}
:where(.native-lesson):is(.worksheet-page .print-sheet),
:where(.native-lesson) :is(.worksheet-page .print-sheet){display:block;position:static;margin:1rem auto 1.5rem;padding:1rem 1.25rem 1rem;max-width:780px;min-height:880px;background:var(--card);border:1px solid var(--line);border-radius:.8rem}
:where(.native-lesson):is(.worksheet-page .question-block),
:where(.native-lesson) :is(.worksheet-page .question-block){margin:.85rem 0;padding:.7rem .8rem;border-top:1px solid var(--line);background:var(--card2)}
:where(.native-lesson):is(.worksheet-page textarea[data-answer]),
:where(.native-lesson) :is(.worksheet-page textarea[data-answer]){display:block;width:100%;min-height:3.25rem;padding:.4rem .5rem;border:1px solid var(--line);border-radius:.35rem;background:var(--bg);color:var(--ink);font:inherit}
:where(.native-lesson):is(.worksheet-page .print-answer),
:where(.native-lesson) :is(.worksheet-page .print-answer){display:none}
:where(.native-lesson):is(.worksheet-page .print-footer),
:where(.native-lesson) :is(.worksheet-page .print-footer){position:static;display:flex;justify-content:space-between;gap:.5rem;margin-top:1.5rem;padding-top:.35rem;border-top:1px solid var(--line);color:var(--ink-soft);font-size:.75rem}
:where(.native-lesson):is(.worksheet-page .answer-key-link),
:where(.native-lesson) :is(.worksheet-page .answer-key-link){margin:1rem auto;max-width:780px}
:where(.native-lesson):is(.worksheet-page .answer-key-link a),
:where(.native-lesson) :is(.worksheet-page .answer-key-link a){color:var(--ink)}
@media (max-width:640px){:where(.native-lesson):is(.worksheet-page .worksheet-controls),
:where(.native-lesson) :is(.worksheet-page .worksheet-controls){grid-template-columns:1fr}
:where(.native-lesson):is(.worksheet-page .print-sheet),
:where(.native-lesson) :is(.worksheet-page .print-sheet){min-height:0;padding:.8rem .7rem 1rem}}
@media  print{:where(.native-lesson):is(.native-lesson),
:where(.native-lesson) :is(.native-lesson){height:auto;min-height:0;overflow:visible}
:where(.native-lesson):is(.native-lesson.worksheet-page),
:where(.native-lesson) :is(.native-lesson.worksheet-page){background:#fff!important;color:#111!important;font-size:11pt}
:where(.native-lesson):is(.worksheet-page .topbar),
:where(.native-lesson) :is(.worksheet-page .topbar),
:where(.native-lesson):is(.worksheet-page .global-search),
:where(.native-lesson) :is(.worksheet-page .global-search),
:where(.native-lesson):is(.worksheet-page .actions),
:where(.native-lesson) :is(.worksheet-page .actions),
:where(.native-lesson):is(.worksheet-page #bottomnav),
:where(.native-lesson) :is(.worksheet-page #bottomnav),
:where(.native-lesson):is(.worksheet-page .site-footer),
:where(.native-lesson) :is(.worksheet-page .site-footer),
:where(.native-lesson):is(.worksheet-page #bg-canvas),
:where(.native-lesson) :is(.worksheet-page #bg-canvas),
:where(.native-lesson):is(.worksheet-page #overlay),
:where(.native-lesson) :is(.worksheet-page #overlay),
:where(.native-lesson):is(.worksheet-page #sheet),
:where(.native-lesson) :is(.worksheet-page #sheet),
:where(.native-lesson):is(.worksheet-page .worksheet-controls),
:where(.native-lesson) :is(.worksheet-page .worksheet-controls),
:where(.native-lesson):is(.worksheet-page .privacy-note),
:where(.native-lesson) :is(.worksheet-page .privacy-note),
:where(.native-lesson):is(.worksheet-page .answer-key-link),
:where(.native-lesson) :is(.worksheet-page .answer-key-link),
:where(.native-lesson):is(.worksheet-page .skip-link),
:where(.native-lesson) :is(.worksheet-page .skip-link){display:none!important}
:where(.native-lesson):is(.worksheet-page main),
:where(.native-lesson) :is(.worksheet-page main){width:auto;max-width:none;margin:0;padding:0}
:where(.native-lesson):is(.worksheet-page .print-sheet),
:where(.native-lesson) :is(.worksheet-page .print-sheet){display:block;position:static;width:auto;height:auto;min-height:0;overflow:visible;margin:0;padding:0 0 2mm;box-shadow:none;border:0;border-radius:0;background:#fff!important;color:#111!important;break-after:page;page-break-after:always}
:where(.native-lesson):is(.worksheet-page .print-sheet:last-of-type),
:where(.native-lesson) :is(.worksheet-page .print-sheet:last-of-type){break-after:auto;page-break-after:auto}
:where(.native-lesson):is(.worksheet-page .print-header),
:where(.native-lesson) :is(.worksheet-page .print-header){color:#333!important;border-color:#08776f!important;break-inside:avoid}
:where(.native-lesson):is(.worksheet-page .print-title-row h1),
:where(.native-lesson) :is(.worksheet-page .print-title-row h1),
:where(.native-lesson):is(.worksheet-page .print-sheet h2),
:where(.native-lesson) :is(.worksheet-page .print-sheet h2),
:where(.native-lesson):is(.worksheet-page .question-block h2),
:where(.native-lesson) :is(.worksheet-page .question-block h2),
:where(.native-lesson):is(.worksheet-page .question-block p),
:where(.native-lesson) :is(.worksheet-page .question-block p){color:#111!important}
:where(.native-lesson):is(.worksheet-page .question-block),
:where(.native-lesson) :is(.worksheet-page .question-block){background:#fff!important;color:#111!important;break-inside:avoid}
:where(.native-lesson):is(.worksheet-page input[data-answer]),
:where(.native-lesson) :is(.worksheet-page input[data-answer]),
:where(.native-lesson):is(.worksheet-page textarea[data-answer]),
:where(.native-lesson) :is(.worksheet-page textarea[data-answer]){display:none!important}
:where(.native-lesson):is(.worksheet-page .print-answer),
:where(.native-lesson) :is(.worksheet-page .print-answer){display:block;min-height:2.5rem;border-bottom:1px solid #555;padding:.35rem .5rem;color:#111!important;white-space:pre-wrap;overflow-wrap:anywhere}
:where(.native-lesson):is(.worksheet-page .print-answer:empty),
:where(.native-lesson) :is(.worksheet-page .print-answer:empty){min-height:2.5rem}
:where(.native-lesson):is(.worksheet-page .print-footer),
:where(.native-lesson) :is(.worksheet-page .print-footer){position:static;margin-top:1.5rem;border-color:#777!important;color:#333!important;break-inside:avoid}}
:where(.native-lesson):is(.tld-teach),
:where(.native-lesson) :is(.tld-teach){background:var(--card);color:var(--ink);padding:1.25rem;border:1px solid var(--line);border-radius:var(--radius)}
:where(.native-lesson):is(.tld-teach .outcomes),
:where(.native-lesson) :is(.tld-teach .outcomes){border-left:3px solid var(--accent);padding:.6rem 1rem;background:var(--card2);margin:1rem 0}
:where(.native-lesson):is(.tld-teach .array),
:where(.native-lesson) :is(.tld-teach .array){display:block;max-width:510px;width:100%;height:auto;margin:1.2rem auto;background:var(--card2);border:1px solid var(--line);border-radius:.7rem;padding:.6rem;box-sizing:border-box}
:where(.native-lesson):is(.tld-teach .array text),
:where(.native-lesson) :is(.tld-teach .array text){font:15px var(--font-body,inherit);fill:var(--ink)}
:where(.native-lesson):is(.tld-teach .array .first circle),
:where(.native-lesson) :is(.tld-teach .array .first circle){fill:var(--accent)}
:where(.native-lesson):is(.tld-teach .array .second circle),
:where(.native-lesson) :is(.tld-teach .array .second circle){fill:var(--subject-maths,#efbe66)}
:where(.native-lesson):is(.tld-teach .array .removed circle),
:where(.native-lesson) :is(.tld-teach .array .removed circle){fill:var(--ink-soft);opacity:.5}
:where(.native-lesson):is(.tld-teach .array .removed path),
:where(.native-lesson) :is(.tld-teach .array .removed path),
:where(.native-lesson):is(.tld-teach .array .split),
:where(.native-lesson) :is(.tld-teach .array .split){stroke:var(--ink);stroke-width:2}
:where(.native-lesson):is(.tld-teach .array .split),
:where(.native-lesson) :is(.tld-teach .array .split){stroke-dasharray:6 5}
:where(.native-lesson):is(.tld-teach .equation),
:where(.native-lesson) :is(.tld-teach .equation){font-size:1.15rem;font-weight:700;background:var(--card2);padding:.75rem 1rem;border:1px solid var(--line);border-radius:.6rem;overflow-wrap:anywhere}
:where(.native-lesson):is(.tld-teach .question),
:where(.native-lesson) :is(.tld-teach .question){padding:1rem;background:var(--card2);border:1px solid var(--line);border-radius:.7rem;margin:1rem 0}
:where(.native-lesson):is(.tld-teach .question>label),
:where(.native-lesson) :is(.tld-teach .question>label){display:block;font-weight:650}
:where(.native-lesson):is(.tld-teach .answer-line),
:where(.native-lesson) :is(.tld-teach .answer-line){display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;margin:.7rem 0}
:where(.native-lesson):is(.tld-teach input:not([type=radio])),
:where(.native-lesson) :is(.tld-teach input:not([type=radio])){width:7rem;min-height:44px;padding:.6rem;font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:.5rem}
:where(.native-lesson):is(.tld-teach select),
:where(.native-lesson) :is(.tld-teach select){color:var(--ink);background:var(--card2)}
:where(.native-lesson):is(.tld-teach .feedback),
:where(.native-lesson) :is(.tld-teach .feedback){color:var(--ink)}
:where(.native-lesson):is(.tld-teach caption),
:where(.native-lesson) :is(.tld-teach caption){text-align:left;font-weight:700;padding:.6rem 0}
:where(.native-lesson):is(.tld-teach th),
:where(.native-lesson) :is(.tld-teach th){background:var(--card2)}
:where(.native-lesson):is(.tld-teach .hint-avatar),
:where(.native-lesson) :is(.tld-teach .hint-avatar){width:40px;height:40px}
@media (max-width:640px){:where(.native-lesson):is(.tld-teach),
:where(.native-lesson) :is(.tld-teach){padding:1rem}
:where(.native-lesson):is(.tld-teach .array text),
:where(.native-lesson) :is(.tld-teach .array text){font-size:16px}
:where(.native-lesson):is(.tld-teach .answer-line button),
:where(.native-lesson) :is(.tld-teach .answer-line button){flex:0 1 auto}}
:where(.native-lesson):is(.worksheet-controls),
:where(.native-lesson) :is(.worksheet-controls){display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
:where(.native-lesson):is(.worksheet-controls label),
:where(.native-lesson) :is(.worksheet-controls label){display:flex;gap:.6rem;align-items:center;min-height:44px;max-width:100%}
:where(.native-lesson):is(.worksheet-controls #print-name),
:where(.native-lesson) :is(.worksheet-controls #print-name){font:inherit;min-height:44px;width:11rem;max-width:100%;padding:.5rem .65rem;background:var(--card2);color:var(--ink);border:1px solid var(--line);border-radius:.55rem}
:where(.native-lesson):is(.worksheet-controls input[type=checkbox]),
:where(.native-lesson) :is(.worksheet-controls input[type=checkbox]){flex:0 0 auto;width:18px;height:18px;accent-color:var(--accent)}
:where(.native-lesson):is(.worksheet-controls button),
:where(.native-lesson) :is(.worksheet-controls button){font:inherit;min-height:44px;padding:.65rem 1rem;background:var(--accent);color:var(--accent-on);border:1px solid var(--line);border-radius:.65rem;font-weight:700}
:where(.native-lesson):is(.worksheet-controls #clear-button),
:where(.native-lesson) :is(.worksheet-controls #clear-button){background:var(--card2);color:var(--ink)}
:where(.native-lesson):is(.worksheet-controls #save-status),
:where(.native-lesson) :is(.worksheet-controls #save-status){flex:1 1 100%;line-height:1.5}
:where(.native-lesson):is(.print-header),
:where(.native-lesson) :is(.print-header){display:flex;align-items:center;gap:.5rem;border-bottom:2px solid var(--accent);padding-bottom:.65rem;margin-bottom:.8rem;font-size:.85rem}
:where(.native-lesson):is(.print-header .wordmark),
:where(.native-lesson) :is(.print-header .wordmark){margin-right:auto;white-space:nowrap;font-weight:800;font-size:1rem}
:where(.native-lesson):is(.print-header .brand-the),
:where(.native-lesson) :is(.print-header .brand-the){color:var(--ink)}
:where(.native-lesson):is(.print-header .brand-den),
:where(.native-lesson) :is(.print-header .brand-den){color:#e8938f}
:where(.native-lesson):is([data-theme=light] .print-header .brand-den),
:where(.native-lesson) :is([data-theme=light] .print-header .brand-den){color:#c0504d}
@media (max-width:640px){:where(.native-lesson):is(.worksheet-controls>button),
:where(.native-lesson) :is(.worksheet-controls>button){width:100%}
:where(.native-lesson):is(.print-header),
:where(.native-lesson) :is(.print-header){gap:.4rem}
:where(.native-lesson):is(.print-header .wordmark),
:where(.native-lesson) :is(.print-header .wordmark){font-size:.92rem}}
@media  print{:where(.native-lesson):is(.print-header .brand-den),
:where(.native-lesson) :is(.print-header .brand-den){color:#c0504d}
:where(.native-lesson):is(.print-header .brand-the),
:where(.native-lesson) :is(.print-header .brand-the){color:#111}
:where(.native-lesson):is(.print-header),
:where(.native-lesson) :is(.print-header){border-color:#147d7e}}
