/* Liverpool Learn progress widget v2.1.0 (GCSE course 631). Scoped to .llw.
   BDA style: Lexend, left aligned, no italics, cream background, 1.5 line height. No animation, no timers.
   Palette: cream #FDF8EC, teal #0E6E6E, orange #A8501A, ink #222831. Fonts self-hosted (SIL OFL 1.1). */
@font-face{font-family:LLWLexend;font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/Lexend-variable.woff2) format("woff2")}
@font-face{font-family:LLWLexend;font-style:normal;font-weight:100 499;font-display:swap;src:url(fonts/FiraSans-Regular-chem-subset.woff2) format("woff2");unicode-range:U+00B2-00B3,U+00B9,U+2070,U+2074-208E,U+2192}
@font-face{font-family:LLWLexend;font-style:normal;font-weight:500 900;font-display:swap;src:url(fonts/FiraSans-SemiBold-chem-subset.woff2) format("woff2");unicode-range:U+00B2-00B3,U+00B9,U+2070,U+2074-208E,U+2192}
.llw{color-scheme:light;font-family:LLWLexend,Lexend,Arial,Verdana,sans-serif;font-size:1.125rem;line-height:1.5;color:#222831;background:#FDF8EC;border:2px solid #222831;border-radius:10px;padding:1rem 1.1rem;margin:1.25rem 0;max-width:46rem;text-align:left;letter-spacing:.01em;word-spacing:.05em;overflow-wrap:break-word;word-break:normal;hyphens:none;-webkit-hyphens:none}
.ll-lesson .llw p,.ll-lesson .llw li,.ll-lesson .llw td,.ll-lesson .llw th,.ll-lesson .llw summary,.ll-lesson .llw label,.ll-lesson .llw legend{font-size:inherit!important} /* ll-readability fixes lesson text at 16px; the widget follows the reader's text size instead */
.llw *{box-sizing:border-box;font-style:normal;animation:none!important;transition:none!important}
.llw.llw h2,.llw.llw h3{font-family:LLWLexend,Lexend,Arial,sans-serif;color:#222831;font-weight:700;line-height:1.3;margin:0 0 .5rem;letter-spacing:0}
.llw.llw h2,.llw.llw h3,.llw.llw p,.llw.llw li,.llw.llw legend,.llw.llw label,.llw.llw th,.llw.llw td,.llw.llw summary{-webkit-hyphens:inherit;hyphens:inherit}
.llw.llw h2{font-size:1.375rem}.llw.llw h3{font-size:1.175rem;margin-top:1rem}
.llw p{margin:0 0 .75rem;max-width:100%}
.llw a{color:#0E6E6E;text-decoration:underline;text-underline-offset:2px;font-weight:600}
.llw .llw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.llw .llw-ic{width:1.1em;height:1.1em;flex:none;vertical-align:-.18em}
/* status: word + icon + colour (all >= 4.5:1 on cream and white) */
.llw .llw-st{display:inline-flex;align-items:center;gap:.35em;font-weight:700;padding:.05em .5em;border-radius:6px;border:2px solid currentColor;background:#fff;line-height:1.4;max-width:100%}
.llw .llw-st>span{overflow-wrap:normal;word-break:keep-all;hyphens:none;-webkit-hyphens:none}
.llw .st-secure{color:#0E6E6E}
.llw .st-getting{color:#222831}
.llw .st-revisit{color:#A8501A}
.llw .st-none{color:#4A4F57;border-style:dashed}
.llw .llw-now{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .6rem}
.llw .llw-sc{font-weight:600}
.llw .llw-rule,.llw .llw-why{font-size:1rem}
.llw .llw-why{margin:0 0 .4rem;padding:.2rem .5rem;border-left:4px solid #0E6E6E;background:#fff}
.llw .llw-warn{border:2px solid #A8501A;background:#fff;padding:.5rem .75rem;border-radius:6px}
/* questions */
.llw fieldset{border:1px solid #6b6b6b;border-radius:8px;margin:0 0 1rem;padding:.75rem .9rem;min-width:0;background:#fff}
.llw legend{float:left;width:100%;padding:0;margin:0 0 .5rem;font-weight:700}
.llw legend+*{clear:left}
.llw .llw-qn{display:block;font-weight:600;font-size:1rem;color:#0E6E6E}
.llw label{display:flex;gap:.6rem;align-items:flex-start;padding:.4rem .3rem;min-height:44px;cursor:pointer;border-radius:6px}
.llw label span{flex:1;min-width:0}
.llw input[type=radio],.llw input[type=checkbox]{width:1.3rem;height:1.3rem;margin:.15rem 0 0;flex:none;accent-color:#0E6E6E}
.llw label:focus-within{background:#FDF8EC;outline:2px solid #222831}
.llw .llw-guess{margin-top:.4rem;border-top:1px dashed #6b6b6b;padding-top:.6rem;font-weight:600}
.llw .llw-fb{clear:both;margin:.6rem 0 0;padding:.6rem .75rem;border-left:6px solid #6b6b6b;background:#FDF8EC}
.llw .llw-fb .llw-ic{margin-right:.35em}
.llw .llw-fb.ok{border-left-color:#0E6E6E}.llw .llw-fb.ok .llw-ic,.llw .llw-fb.ok strong{color:#0E6E6E}
.llw .llw-fb.no{border-left-color:#A8501A}.llw .llw-fb.no .llw-ic,.llw .llw-fb.no strong{color:#A8501A}
.llw .llw-result{font-weight:700;margin:.5rem 0;padding:.1rem 0}
.llw .llw-result:empty{display:none}
.llw input:disabled+span{color:#222831}
/* after marking: the learner's own answer = border + label text + icon + colour (never colour alone; text >= 5.4:1 on white) */
.llw label.llw-mine,.llw label.llw-key{background:#fff;border:2px solid #0E6E6E;padding-left:.4rem;padding-right:.4rem;margin:.2rem 0}
.llw label.llw-mine.is-wrong{border-color:#A8501A;border-width:3px}
.llw label.llw-key{border-style:dashed}
.llw .llw-tag{display:block;width:fit-content;max-width:100%;margin-top:.3rem;padding:.05em .45em;border:2px solid currentColor;border-radius:6px;background:#fff;font-weight:700;font-size:.95em;color:#0E6E6E}
.llw .is-wrong .llw-tag{color:#A8501A}
.llw .llw-tag .llw-ic{margin-right:.3em}
/* units and formulas never break inside (mol/dm³, CO₂); the script shrinks one that is wider than its line */
.llw .llw-nw{white-space:nowrap}
/* buttons and controls */
.llw .llw-btns{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}
.llw button{font:inherit;font-weight:700;line-height:1.3;background:#0E6E6E;color:#fff;border:2px solid #0E6E6E;border-radius:8px;padding:.55rem 1rem;min-height:44px;min-width:44px;cursor:pointer;text-align:left;max-width:100%;white-space:normal}
.llw button.llw-secondary{background:#fff;color:#0E6E6E}
.llw button[hidden]{display:none}
.llw :focus-visible{outline:3px solid #222831!important;outline-offset:3px;box-shadow:0 0 0 6px #FDF8EC!important}
.llw details.llw-det{border:2px solid #0E6E6E;border-radius:8px;background:#fff;padding:0;margin:.75rem 0}
.llw details.llw-det>summary{cursor:pointer;font-weight:700;color:#0E6E6E;padding:.6rem .9rem;min-height:44px;list-style-position:inside}
.llw details.llw-det[open]>summary{border-bottom:1px solid #6b6b6b}
.llw details.llw-det>.llw-quiz{padding:.75rem .6rem}
.llw .llw-lab{display:block;font-weight:700;margin-top:.5rem}
.llw textarea{font:inherit;font-size:1rem;width:100%;min-height:5rem;padding:.5rem;border:2px solid #4A4F57;border-radius:6px;background:#fff;color:#222831}
/* tracker */
.llw ul{padding-left:1.25rem;margin:0 0 .75rem}.llw li{margin:.4rem 0}
.llw ul.llw-counts{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1rem}
.llw ul.llw-counts li{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:0}
.llw .llw-tablewrap{overflow-x:auto;max-width:100%}
.llw table{border-collapse:collapse;width:100%;background:#fff}
.llw th,.llw td{text-align:left;padding:.45rem .5rem;border-bottom:1px solid #c9c2b0;vertical-align:top;font-weight:400}
.llw thead th{font-weight:700}
.llw tbody th a{font-weight:600}
.llw .llw-mod th{background:#FDF8EC;border-top:2px solid #222831;padding-top:.6rem;font-weight:700}
.llw .llw-modn{font-weight:400}
/* Narrow space (phones, or large text): mount points are size containers, so this also kicks in at 200% text. */
[data-ll-lesson],[data-ll-today],[data-ll-tracker],[data-ll-code]{container-type:inline-size;container-name:llw}
@container llw (max-width:34em){
 .llw{font-size:1rem;padding:.6rem .45rem;border-width:2px}
 .llw details.llw-det>summary{padding:.45rem .45rem}
 .llw details.llw-det>.llw-quiz{padding:.4rem .2rem}
 .llw fieldset{padding:.5rem .35rem}
 .llw label{gap:.4rem;padding:.3rem 0}
 .llw input[type=radio],.llw input[type=checkbox]{width:1.1em;height:1.1em}
 .llw .llw-fb{padding:.45rem .4rem;border-left-width:5px}
 .llw .llw-st{padding:.05em .3em;gap:.25em}
 .llw button{padding:.5rem .7rem}
 .llw ul{padding-left:1rem}
}
@container llw (max-width:14em){
 /* very narrow column (320/390 px at 200% text): use every pixel, and hyphenate long words only
    (soft hyphens from the hand-checked list, plus the browser's en-GB dictionary; never words under 8 letters, so never "les-son"). Wider columns: no hyphenation (BDA). */
 .llw{padding:.5rem .3rem;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:8 3 3;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3}
 .llw details.llw-det{border-width:2px 0;border-radius:0}
 .llw label.llw-mine,.llw label.llw-key{border-width:0 0 0 5px;border-radius:0;padding-left:.25rem;padding-right:0}
 .llw label.llw-mine.is-wrong{border-width:0 0 0 6px}
 .llw .llw-tag{padding:0 .25em;font-size:.9em}
 .llw fieldset{border-width:1px 0 0;border-radius:0;padding:.45rem 0;background:transparent}
 .llw details.llw-det>.llw-quiz{padding:.3rem .15rem}
 .llw label{padding:.25rem 0}
}
@container llw (max-width:44em){
 .llw table,.llw tbody,.llw tr,.llw th,.llw td{display:block;width:100%}
 .llw thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .llw tbody tr{border-bottom:1px solid #c9c2b0;padding:.4rem 0}
 .llw tbody th,.llw tbody td{border:0;padding:.15rem .3rem}
 .llw .llw-mod th{padding:.5rem .3rem}
}
@media (max-width:40rem){.llw{margin-left:0;margin-right:0}}
/* phones: the lesson wrapper has .75rem side padding at <=420px (payload CSS); let the lesson block use that space too */
@media (max-width:420px){.ll-lesson>[data-ll-lesson]{margin-left:-.6rem;margin-right:-.6rem}}
@container llw (min-width:44em){.llw td .llw-st{white-space:nowrap}}
@media print{.llw{border:1px solid #000}.llw details.llw-det,.llw button{display:none}}
