/* enLighten: the course's own look (course home + lesson player, enlighten.html). Nothing from css/ is loaded on
   that page. Phone first; wide screens get a fixed lesson menu on the left. Light and dark (html.dark-mode).
   Components used inside a lesson's content.html start with el-; the frame of the page starts with enl-. */
body.enl {
  --bg: #F6F7F9; --card: #FFFFFF; --soft: #EDEFF3; --ink: #15161B; --mute: #6A6F7D; --line: #E1E4EA;
  --sun: #FFB703; --sun-ink: #2B1E00; --rw: #F5B833; --rw-text: #8C5E00; --ls: #00997F; --part: var(--rw); --part-soft: #FFF3D3; --part-ink: #2B1E00; --part-text: var(--rw-text);
  --ok: #15924B; --ok-bg: #E4F6EA; --no: #D8394A; --no-bg: #FCE8EA;
  --r: 18px; --shadow: 0 1px 2px rgba(20, 20, 30, .05), 0 12px 32px -16px rgba(20, 20, 30, .22);
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; --display: "Unbounded", "Manrope", sans-serif;
  margin: 0; background: var(--bg); color: var(--ink); font: 500 17px/1.6 var(--text); -webkit-font-smoothing: antialiased;
}
html.dark-mode body.enl { --bg: #0D0E12; --card: #17181E; --soft: #1F2128; --ink: #F1F1EE; --mute: #9AA0AE; --line: #2A2D36; --part-soft: #3A2F12; --rw-text: #F7C95C;
  --ok-bg: #12301F; --no-bg: #3A161B; --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -18px rgba(0, 0, 0, .8); }
body.enl.part-ls { --part: var(--ls); --part-soft: #DDF4EF; --part-ink: #fff; --part-text: var(--ls); }
html.dark-mode body.enl.part-ls { --part-soft: #0F3029; }
body.enl *, body.enl *::before, body.enl *::after { box-sizing: border-box; }
body.enl [hidden] { display: none !important; }
body.enl button, body.enl input, body.enl textarea { font: inherit; color: inherit; }
body.enl a { color: inherit; text-decoration: none; }
.enl .i { width: 20px; height: 20px; flex: none; }

/* ---------- shared pieces ---------- */
.enl-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.enl-grow { flex: 1; }
.enl-brand { font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.enl-brand b { color: var(--sun); font-weight: 700; }
.enl-chip { padding: 5px 10px; border-radius: 99px; background: var(--ink); color: var(--bg); font: 800 12px/1 var(--text); letter-spacing: .04em; }
.enl-ib { display: grid; place-items: center; width: 42px; height: 42px; flex: none; cursor: pointer; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font: 800 13px/1 var(--text); }
.enl-ib:hover { border-color: var(--ink); }
.enl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; cursor: pointer; border: 0; border-radius: 99px; background: var(--ink); color: var(--bg) !important; font: 700 16px/1.2 var(--text); transition: transform .12s, opacity .12s; }
.enl-btn:active { transform: scale(.97); }
.enl-btn[disabled] { opacity: .32; cursor: default; }
.enl-btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line); }
.enl-btn.small { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.enl-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; transition: background .12s; }
a.enl-row:hover { background: var(--soft); }
.enl-row .k { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--soft); color: var(--mute); }
.enl-row .t { flex: 1; min-width: 0; }
.enl-row .t small { display: block; color: var(--mute); font: 700 11px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.enl-row .t b { display: block; font: 700 15.5px/1.3 var(--text); }
.enl-row .s { color: var(--mute); display: grid; place-items: center; }
.enl-row .s i { font: 700 11px/1 var(--text); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; background: var(--soft); }
.enl-row.off .t b { color: var(--mute); }
.enl-row.done .k { background: var(--ok-bg); color: var(--ok); }
.enl-row.done .s { color: var(--ok); }
.enl-row.cur { background: var(--part-soft); }
.enl-row.cur .k { background: var(--part); color: var(--part-ink); }

/* ---------- course home ---------- */
.enl-home { max-width: 1040px; margin: 0 auto; padding: 4px 16px 60px; }
.enl-hero { position: relative; overflow: hidden; padding: 28px 22px 26px; border-radius: 28px; background: var(--ink); color: var(--bg); }
.enl-hero::after { content: ""; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE08A, var(--sun) 55%, transparent 72%); opacity: .95; }
.enl-hero > * { position: relative; z-index: 1; }
.enl-hero small { font: 700 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.enl-hero h1 { margin: 12px 0 20px; max-width: 16em; font: 700 clamp(22px, 5.4vw, 38px)/1.18 var(--display); letter-spacing: -.03em; }
.enl-meter { height: 8px; max-width: 420px; border-radius: 99px; background: rgba(128, 128, 128, .35); overflow: hidden; }
.enl-meter i { display: block; height: 100%; border-radius: 99px; background: var(--sun); }
.enl-hero-n { margin: 8px 0 18px; font-size: 14px; opacity: .75; }
.enl-hero .enl-btn { background: var(--sun); color: var(--sun-ink) !important; }
.enl-unit { margin-top: 16px; padding: 18px 14px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.enl-unit { padding-bottom: 6px; }
.enl-unit-h { display: flex; gap: 14px; align-items: flex-start; padding: 0 6px 12px; cursor: pointer; border-radius: 16px; -webkit-tap-highlight-color: transparent; }
.enl-unit-h > div { flex: 1; min-width: 0; }
.enl-unit-h:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }
.enl-unit-h .chev { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -2px; border-radius: 50%; background: var(--bg); color: var(--mute); transition: transform .25s ease; }
.enl-unit-h .chev .i { width: 18px; height: 18px; }
.enl-unit.open .enl-unit-h .chev { transform: rotate(180deg); }
.enl-unit:not(.open) .enl-parts { display: none; }
.enl-unit.open { padding-bottom: 12px; }
.enl-unit-h .n { font: 700 26px/1 var(--display); color: var(--sun); letter-spacing: -.04em; padding-top: 3px; }
.enl-unit-h h2 { margin: 0; font: 700 21px/1.2 var(--display); letter-spacing: -.03em; }
.enl-unit-h p { margin: 4px 0 0; color: var(--mute); font-size: 14.5px; line-height: 1.45; }
.enl-parts { display: grid; gap: 10px; }
.enl-part { padding: 10px 6px 6px; border-radius: 18px; background: var(--bg); }
.enl-part h3 { display: flex; align-items: center; gap: 8px; margin: 2px 8px 6px; font: 800 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--rw-text); }
.enl-part h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.enl-part.ls h3 { color: var(--ls); }

/* ---------- lesson player: frame ---------- */
.enl-handle { display: none; }
body.enl-play { height: 100dvh; overflow: hidden; }
body.enl-play #enl-root { display: flex; height: 100dvh; }
.enl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.enl-ttl { min-width: 0; }
.enl-ttl small { display: block; color: var(--part-text); font: 800 11px/1.3 var(--text); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enl-ttl b { display: block; font: 700 16px/1.25 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enl-dots { display: flex; gap: 4px; padding: 0 16px 10px; }
.enl-dots button { flex: 1; height: 5px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; }
.enl-dots button.past { background: var(--part); opacity: .45; }
.enl-dots button.cur { background: var(--part); }
.enl-stage { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 14px 24px; }
.enl-foot { display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.enl-foot .enl-btn:last-child { margin-left: auto; background: var(--part); color: var(--part-ink) !important; }
.enl-count { flex: 1; text-align: center; color: var(--mute); font: 700 14px/1 var(--text); }
.enl-side { position: fixed; z-index: 30; inset: 0 auto 0 0; width: min(330px, 88vw); overflow-y: auto; padding: 14px 12px 30px; background: var(--card); border-right: 1px solid var(--line); transform: translateX(-102%); transition: transform .22s ease; }
.enl-shade { position: fixed; z-index: 29; inset: 0; background: rgba(10, 10, 15, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.enl-menu .enl-side { transform: none; }
body.enl-menu .enl-shade { opacity: 1; pointer-events: auto; }
.enl-side-h { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 12px; }
.enl-side-u { border-top: 1px solid var(--line); }
.enl-side-u summary { display: flex; align-items: center; gap: 12px; padding: 13px 8px; cursor: pointer; list-style: none; }
.enl-side-u summary::-webkit-details-marker { display: none; }
.enl-side-u summary span { font: 700 14px/1 var(--display); color: var(--sun); }
.enl-side-u summary b { font: 700 15.5px/1.2 var(--text); }
.enl-side-u h4 { margin: 6px 10px 2px; font: 800 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--rw-text); }
.enl-side-u h4.ls { color: var(--ls); margin-top: 12px; }
.enl-side-u .enl-row { padding: 8px; }
.enl-side-u .enl-row .k { width: 32px; height: 32px; border-radius: 10px; }
.enl-side-u .enl-row .t small { display: none; }
.enl-note { max-width: 520px; margin: 12vh auto 0; padding: 28px 24px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.enl-note h2 { margin: 0 0 8px; font: 700 22px/1.2 var(--display); letter-spacing: -.03em; }
.enl-note p { margin: 0 0 18px; color: var(--mute); }

/* ---------- a lesson page (slide) and its content ---------- */
/* a page has no frame (the user, 2026-11-19: "remove the borders from all the slides"): its content stands on the page */
.enl-stage .slide { max-width: 720px; margin: 0 auto; padding: 8px 4px 20px; animation: enl-in .25s ease-out; }
@keyframes enl-in { from { opacity: 0; transform: translateY(8px); } }
.slide > :first-child { margin-top: 0; }
.slide > :last-child { margin-bottom: 0; }
.slide h1 { margin: 12px 0 14px; font: 700 clamp(25px, 6.4vw, 36px)/1.14 var(--display); letter-spacing: -.035em; }
.slide h2 { margin: 12px 0 12px; font: 700 clamp(21px, 5vw, 27px)/1.2 var(--display); letter-spacing: -.03em; }
.slide h3 { margin: 22px 0 8px; font: 800 17px/1.3 var(--text); }
.slide p { margin: 0 0 14px; }
.slide ul, .slide ol { margin: 0 0 14px; padding-left: 22px; }
.slide li { margin-bottom: 6px; }
.el-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--part-soft); color: var(--part-text); font: 800 11.5px/1 var(--text); letter-spacing: .09em; text-transform: uppercase; }
.el-ins { margin: 0 0 14px; font: 700 17.5px/1.45 var(--text); }
.el-tr { display: block; margin-top: 2px; color: var(--mute); font: 500 14.5px/1.45 var(--text); }
.el-goals { list-style: none; padding: 0; display: grid; gap: 8px; }
.el-goals li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--soft); font-weight: 600; }
.el-goals li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--sun); }
.el-tip { margin: 0 0 16px; padding: 14px 16px; border-radius: 18px; background: #FFF4D2; color: #2B1E00; }
html.dark-mode .el-tip { background: #332700; color: #FFE9A8; }
.el-tip b:first-child { display: block; margin-bottom: 3px; font: 800 11.5px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-tip .el-tr { color: inherit; opacity: .72; }
/* a grammar rule (the user, 2026-11-19: "a special design for grammar rule explanation boxes"): a green-headed card;
   <b> = the rule's name, <strong> = the form to notice (green), .pats = pairs "I | am", <em> = an example sentence */
.el-rule { margin: 0 0 16px; padding: 0 16px 14px; overflow: hidden; border: 1.5px solid var(--ok); border-radius: 20px; background: var(--card); font-size: 17px; line-height: 1.75; }
.el-rule::before { content: "Grammar rule"; display: block; margin: 0 -16px 12px; padding: 9px 16px 9px 42px; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17.500h6M10 21h4M12 3a6 6 0 0 0-3.500 10.900c.6.5 1 1.200 1 2v.100h5v-.100c0-.8.4-1.500 1-2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E") 14px 50% / 19px no-repeat; color: #fff; font: 800 11.5px/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.el-rule > b:first-child { display: block; margin-bottom: 8px; font: 700 21px/1.2 var(--display); letter-spacing: -.03em; }
.el-rule strong { padding: 1px 7px 2px; border-radius: 7px; background: var(--ok-bg); color: var(--ok); font-weight: 800; white-space: nowrap; }
.el-rule em { font-style: italic; }
.el-rule .pats { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 6px; margin: 2px 0 10px; }
.el-rule .pats p { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 7px 8px 7px 12px; border-radius: 12px; background: var(--soft); line-height: 1.3; }
.el-rule .pats span { color: var(--mute); font-weight: 700; font-size: 15.5px; }
/* example sentences inside the rule box (the user, 2026-11-19: "include example sentences inside the rule box") */
.el-rule .exs { margin: 12px 0 2px; padding: 2px 0 2px 14px; border-left: 3px solid var(--ok); }
.el-rule .exs::before { content: "Examples"; display: block; margin-bottom: 4px; color: var(--ok); font: 800 11px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.el-rule .exs p { margin: 0; line-height: 1.75; }
.el-rule .pats p > span:last-child:not(:first-child) { color: var(--ink); font-size: 17px; }
/* a line of a rule with its sign in a circle: .sg.pos = + (positive), .sg.neg = − (negative), .sg.que = ? (question) */
.el-rule .sg { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; line-height: 1.7; }
.el-rule .sg i { display: grid; place-items: center; width: 28px; height: 28px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--ok); color: #fff; font: 800 19px/1 var(--text); font-style: normal; }
.el-rule .sg.neg i { background: var(--no); }
.el-rule .sg.que i { background: var(--rw); font-size: 17px; }
.el-rule .sg.neg strong { background: var(--no-bg); color: var(--no); }
.el-rule .sg.que strong { background: #FFF3D3; color: var(--rw-text); }
html.dark-mode .el-rule .sg.que strong { background: #3A2F12; color: #F7C95C; }
.el-rule .el-tr { margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed var(--line); line-height: 1.5; }
.el-task { margin: 0 0 18px; padding: 16px 14px; border: 1.5px solid var(--line); border-radius: 20px; }
.el-task.all-ok { border-color: var(--ok); }
.el-task.some-no { border-color: var(--no); }
.el-task p:last-of-type { margin-bottom: 12px; }
.el-verdict { margin: 12px 0 0 !important; font: 800 15px/1 var(--text); }
.el-verdict.ok { color: var(--ok); } .el-verdict.no { color: var(--no); }
.el-answer { margin: 10px 0 0 !important; color: var(--ok); font-weight: 700; }
.el-check-b { margin-top: 4px; }
.el-link { padding: 0; border: 0; background: none; cursor: pointer; color: var(--part-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* word list */
.el-vocab { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); grid-auto-flow: row dense; gap: 10px; margin: 0 0 18px; }
/* a single word too long for one card ("apprenticeship", measured in enlighten.js) gets two columns, a whole row on a phone;
   if it still does not fit it wraps inside the card instead of spilling out */
.el-vocab .w .tx { min-width: 0; }
.el-vocab .w .tx b { overflow-wrap: anywhere; }
.el-vocab .w.long { grid-column: span 2; }
@media (max-width: 560px) { .el-vocab .w.long { grid-column: 1 / -1; } }
.el-vocab .w { position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; cursor: pointer; border: 1.5px solid var(--line); border-radius: 18px; background: var(--card); transition: border-color .12s, background .12s; }
.el-vocab .w:hover { border-color: var(--part-text); }
.el-vocab .w .tx b { display: block; font: 800 17px/1.2 var(--text); }
.el-vocab .w .tx small { color: var(--mute); font-size: 12.5px; }
.el-vocab .w em { display: none; font-style: normal; font-weight: 700; color: var(--part-text); }
.el-vocab .w.flip { background: var(--part-soft); border-color: var(--part-text); }
.el-vocab .w.flip .tx { display: none; }
.el-vocab .w.flip em { display: block; }
.el-au { display: grid; place-items: center; width: 40px; height: 40px; flex: none; cursor: pointer; border: 0; border-radius: 50%; background: var(--part); color: var(--part-ink); }
.el-au .i { width: 18px; height: 18px; }
.el-au.on { animation: enl-pulse .8s ease-in-out infinite; }
.el-au.big { width: 56px; height: 56px; } .el-au.big .i { width: 24px; height: 24px; }
@keyframes enl-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--part) 22%, transparent); } }

/* pictures */
.el-hero { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 16px; border-radius: 20px; background: var(--soft); }
.el-pic { display: block; width: 100%; max-height: 320px; object-fit: cover; margin: 0 0 16px; border-radius: 18px; background: var(--soft); }
.el-vocab .w.pic { flex-wrap: wrap; padding: 8px 8px 10px; }
.el-vocab .w.pic img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--soft); }
.el-vocab .w.pic.flip img { opacity: .35; }
.el-fig { margin: 0 0 14px; }
.el-fig img { display: block; width: 100%; max-height: 340px; object-fit: cover; object-position: 50% 20%; border-radius: 16px; background: var(--card); }
.el-fig figcaption { margin-top: 5px; color: var(--mute); font-size: 11.5px; line-height: 1.35; }
.el-fig + .el-avatar { display: none; }
img.el-avatar { object-fit: cover; padding: 0; }
.el-tree .p img { display: block; width: min(58px, 80%); height: auto; aspect-ratio: 1; margin: 0 auto 6px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.el-faces { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.el-faces figure { flex: 0 1 76px; max-width: 76px; margin: 0; text-align: center; }
.el-faces img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--soft); }
/* the class (invented students): large enough to see who is who, two across on a phone, four across on a wide page */
.el-faces:not(.real) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.el-faces:not(.real) figure { max-width: none; }
.el-faces:not(.real) figure:only-child { max-width: 150px; }
.el-faces:not(.real) img { border-radius: 22px; }
.el-faces:not(.real) figcaption { margin-top: 7px; font-size: 16px; }
@media (min-width: 600px) { .el-faces:not(.real) { grid-template-columns: repeat(4, 1fr); } }
.el-faces.real figure { flex: 0 1 112px; max-width: 112px; }
.el-faces.real img { aspect-ratio: 1; border-radius: 18px; object-position: 50% 15%; }
.el-faces.real figcaption b { display: block; margin-bottom: 2px; color: var(--ink); font: 800 14px/1.2 var(--text); }
.el-faces.real figcaption { font: 500 11px/1.35 var(--text); color: var(--mute); text-align: left; }
.el-faces figcaption { margin-top: 5px; font: 800 14px/1.2 var(--text); }

/* a reading text */
.el-text { margin: 0 0 18px; padding: 18px 16px 8px; border-radius: 22px; background: var(--soft); }
.el-text .src { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font: 800 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-text h2 { margin-top: 0; }
.el-text h3 { margin: 16px 0 4px; color: var(--part-text); font: 800 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-text p { font-size: 18px; line-height: 1.65; }
.el-text dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; margin: 0 0 6px; padding: 14px; border-radius: 16px; background: var(--card); font-size: 16px; }
.el-text dt { color: var(--mute); font-weight: 600; } .el-text dd { margin: 0; font-weight: 700; }
.el-avatar { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 12px; border-radius: 24px; background: linear-gradient(135deg, var(--sun), #FF7A59); color: #fff; font: 700 26px/1 var(--display); }
.el-text img { display: block; width: 100%; max-height: 260px; object-fit: cover; margin-bottom: 14px; border-radius: 16px; }

.el-line { display: flex; align-items: center; gap: 12px; margin: 0 0 10px !important; padding: 8px 12px 8px 8px; border-radius: 99px; background: var(--soft); font-weight: 700; }
.el-pick .el-au { display: inline-grid; vertical-align: middle; width: 34px; height: 34px; margin-right: 4px; }
.el-pick .el-au .i { width: 15px; height: 15px; }
/* a reading text that looks like a real web page (the user, 2026-11-19): .el-site.profile = a creator's profile
   page, .el-site.article = an article. A person's photo is always small and round or square (.ph), never a banner. */
.el-text.el-site { padding: 0; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.el-site .nav { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.el-site .nav b { font: 800 16px/1 var(--text); letter-spacing: -.03em; }
.el-site .nav b span { color: var(--part-text); }
.el-site .nav em { margin-left: auto; padding: 6px 12px; border-radius: 99px; background: var(--soft); color: var(--mute); font: 600 12px/1 var(--text); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el-site .head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 12px; }
.el-site .ph { position: relative; display: grid; place-items: center; width: 76px; height: 76px; flex: none; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--sun), #FF7A59); }
.el-site .ph figure { position: absolute; inset: 0; margin: 0; }
.el-site .ph img { width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; object-fit: cover; object-position: 50% 18%; }
.el-site .ph i { color: #fff; font: 700 24px/1 var(--display); font-style: normal; }
.el-site .ph figure + i { display: none; }
.el-site .who { min-width: 0; flex: 1; }
.el-site .who h2 { display: flex; align-items: center; gap: 6px; margin: 0; font: 800 19px/1.2 var(--text); letter-spacing: -.02em; }
.el-site .who p { margin: 2px 0 0; color: var(--mute); font-size: 14px; line-height: 1.3; }
.el-site .v { display: inline-grid; place-items: center; width: 17px; height: 17px; flex: none; border-radius: 50%; background: var(--part); }
.el-site .v::after { content: ""; width: 8px; height: 4px; margin-top: -2px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.el-site .follow { flex: none; padding: 9px 16px; border-radius: 99px; background: var(--ink); color: var(--bg); font: 700 13.5px/1 var(--text); }
.el-site .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 14px 12px; text-align: center; }
.el-site .stats div { padding: 9px 4px; border-radius: 14px; background: var(--soft); }
.el-site .stats b { display: block; font: 800 15.5px/1.2 var(--text); }
.el-site .stats small { color: var(--mute); font-size: 11.5px; font-weight: 600; }
.el-site .credit { display: block; padding: 0 14px 8px; color: var(--mute); font-size: 10.5px; line-height: 1.3; }
.el-site .tabs { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.el-site .tabs span { flex: 1; padding: 11px 0; text-align: center; color: var(--mute); font: 700 13.5px/1 var(--text); }
.el-site .tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.el-site .page { padding: 14px 14px 6px; }
.el-site dl { background: var(--soft); }
.el-site.article .page { padding-top: 16px; }
.el-site .cat { display: inline-block; margin-bottom: 8px; padding: 4px 9px; border-radius: 6px; background: var(--part); color: var(--part-ink); font: 800 10.5px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-site.article h2 { margin: 0 0 12px; font: 700 clamp(21px, 5.6vw, 27px)/1.2 var(--display); letter-spacing: -.03em; }
.el-site .by { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.el-site .by .ph { width: 46px; height: 46px; }
.el-site .by .ph i { font-size: 15px; }
.el-site .by b { display: block; font: 800 14.5px/1.25 var(--text); }
.el-site .by small { color: var(--mute); font-size: 12.5px; }
.el-site.article .credit { padding: 0 0 10px; }
.el-site.article h3 { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: 8px 0 6px; border-radius: 50%; background: var(--part-soft); color: var(--part-text); font: 800 13px/1 var(--text); letter-spacing: 0; }
.el-fig.sm { display: flex; align-items: center; gap: 12px; }
.el-fig.sm img { width: 84px; height: 84px; max-height: none; flex: none; border-radius: 50%; object-position: 50% 18%; }
@media (max-width: 380px) { .el-site .follow { display: none; } }

/* a recording */
.el-rec { margin: 0 0 18px; padding: 14px; border-radius: 20px; background: var(--soft); }
.el-rec .bar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.el-rec .bar .n { margin-left: auto; color: var(--mute); font-weight: 700; }
.el-rec .script p { margin: 8px 0 0; padding: 2px 6px; border-radius: 8px; }
.el-rec .script p.now { background: var(--part-soft); }

/* answers */
.el-ask { font-weight: 700; }
.el-opts { display: grid; gap: 8px; }
.el-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; cursor: pointer; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; font-weight: 600; transition: border-color .12s, transform .12s; }
.el-opt:hover:not([disabled]) { border-color: var(--part-text); transform: translateY(-1px); }
.el-opt i { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--soft); font: 800 13px/1 var(--text); font-style: normal; }
.el-opt.sel { border-color: var(--part-text); background: var(--part-soft); }
.el-opt.ok { border-color: var(--ok); background: var(--ok-bg); } .el-opt.ok i { background: var(--ok); color: #fff; }
.el-opt.no { border-color: var(--no); background: var(--no-bg); } .el-opt.no i { background: var(--no); color: #fff; }
.el-opt[disabled] { cursor: default; color: inherit; }
.el-pick p:not(.el-ins) { line-height: 2.3; }
.el-two { display: inline-flex; vertical-align: middle; margin: 0 2px; padding: 3px; border-radius: 99px; background: var(--soft); }
.el-two button { padding: 4px 10px; cursor: pointer; border: 0; border-radius: 99px; background: none; font: 700 15.5px/1.2 var(--text); }
.el-two button.sel { background: var(--ink); color: var(--bg); }
.el-two button.ok { background: var(--ok); color: #fff; } .el-two button.no { background: var(--no); color: #fff; text-decoration: line-through; }
.el-bank { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.el-bank span, .el-bank button, .el-order .slot button { padding: 7px 13px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); font: 700 15.5px/1.2 var(--text); }
.el-bank button, .el-order .slot button { cursor: pointer; }
.el-bank button.used { opacity: .25; }
.el-gap p:not(.el-ins) { line-height: 2.5; }
.el-gap .g { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.el-gap .g input { height: 40px; max-width: 46vw; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); font-weight: 700; }
.el-gap .g input:focus { outline: none; border-color: var(--part-text); }
.el-gap .g.ok input { border-color: var(--ok); background: var(--ok-bg); } .el-gap .g.no input { border-color: var(--no); background: var(--no-bg); text-decoration: line-through; }
.el-gap .g small { color: var(--ok); font: 800 15px/1 var(--text); }
.el-match .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.el-match .col { display: grid; gap: 8px; align-content: start; }
.el-match .el-opt { min-height: 56px; padding: 10px 12px; font-size: 15.5px; line-height: 1.3; }
.el-match .el-opt.ok { opacity: .6; }
.el-order .slot { display: flex; flex-wrap: wrap; gap: 8px; min-height: 58px; margin-bottom: 12px; padding: 9px; border: 1.5px dashed var(--line); border-radius: 16px; }
.el-order .slot.ok { border: 1.5px solid var(--ok); background: var(--ok-bg); } .el-order .slot.no { border: 1.5px solid var(--no); background: var(--no-bg); }

/* writing and speaking */
.el-frame { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0 0 14px; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15px; }
.el-frame div { padding: 10px 12px; border-right: 1.5px solid var(--line); } .el-frame div:last-child { border-right: 0; }
.el-frame span { display: block; padding: 2px 0; }
.el-starts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.el-starts span { padding: 6px 12px; border-radius: 99px; background: var(--soft); font-weight: 700; font-size: 15px; }
.el-write textarea { display: block; width: 100%; min-height: 150px; padding: 14px; resize: vertical; border: 1.5px solid var(--line); border-radius: 18px; background: var(--soft); line-height: 1.6; }
.el-write textarea:focus { outline: none; border-color: var(--part-text); }
.el-write .n, .el-say .n { display: block; margin: 8px 2px 12px; color: var(--mute); font-size: 13.5px; font-weight: 700; }
.el-check { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.el-check li { margin: 0; }
.el-check label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; cursor: pointer; border-radius: 14px; background: var(--soft); font-size: 15.5px; font-weight: 600; }
.el-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ok); }
.el-fb:empty { display: none; }
.el-fb { margin-top: 12px; display: grid; gap: 8px; }
.el-fb .el-verdict { margin: 0 0 2px !important; }
.el-fb .row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--ok-bg); }
.el-fb .row.no { background: var(--no-bg); }
.el-fb .m { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--ok); color: #fff; }
.el-fb .row.no .m { background: var(--no); }
.el-fb .m .i { width: 14px; height: 14px; stroke-width: 3; }
.el-fb .row b { display: block; font: 700 16px/1.4 var(--text); }
.el-fb .row small { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; font-weight: 600; }
.el-fb i { display: block; color: var(--mute); font-style: normal; font-weight: 500; font-size: 13.5px; }
.el-fb .row.heard { background: var(--soft); }
.el-fb .row.heard .m { background: var(--ink); color: var(--bg); }
.el-fb .row.heard small { margin: 0 0 2px; color: var(--mute); }
.el-fb .tip { margin: 0; padding: 10px 12px; border-radius: 14px; background: var(--soft); font-size: 14.5px; font-weight: 600; }
.el-model { margin-top: 12px; padding: 14px 16px; border-radius: 18px; background: var(--ok-bg); }
.el-model b:first-child { display: block; margin-bottom: 4px; color: var(--ok); font: 800 11.5px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-say .row { display: flex; align-items: center; gap: 14px; }
.el-mic { display: grid; place-items: center; width: 72px; height: 72px; cursor: pointer; border: 0; border-radius: 50%; background: var(--no); color: #fff; }
.el-mic .i { width: 30px; height: 30px; }
.el-mic.on { animation: enl-pulse 1s ease-in-out infinite; --part: var(--no); }

/* thinking lessons: a family tree, an ideas map, the learner's own notes */
.el-tree { position: relative; margin: 0 0 18px; padding: 16px 8px; border-radius: 22px; background: var(--soft); display: grid; gap: 40px; }
/* one generation = one row, never wrapped: an aunt or uncle stands beside the parents (the user, 2026-11-19) */
.el-tree .gen { position: relative; z-index: 1; display: flex; flex-wrap: nowrap; justify-content: center; align-items: stretch; gap: 8px; }
.el-tree .p { position: relative; flex: 1 1 0; min-width: 0; max-width: 150px; padding: 9px 6px; text-align: center; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.el-tree .p b { display: block; font: 800 15px/1.2 var(--text); overflow-wrap: anywhere; }
.el-tree .p small { display: block; margin-top: 2px; color: var(--mute); font-size: 12px; font-weight: 600; line-height: 1.25; }
.el-tree .p.me { border-color: var(--part-text); background: var(--part-soft); }
.el-tree .pair { position: relative; flex: 2 1 0; min-width: 0; max-width: 312px; display: flex; gap: 6px; padding: 5px; border-radius: 20px; background: color-mix(in srgb, var(--sun) 26%, transparent); }
/* the lines from a couple to its children, drawn by enlighten.js into this layer */
.el-tree svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.el-tree svg.lines path { fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.el-tree.link svg.lines path { stroke: var(--part); stroke-width: 2.5; }
/* linking: a dot under a couple, a dot above a child */
.el-tree .dot { position: absolute; z-index: 2; left: 50%; width: 26px; height: 26px; margin-left: -13px; padding: 0; cursor: pointer; border: 3px solid var(--card); border-radius: 50%; background: var(--mute); box-shadow: 0 0 0 1.5px var(--line); }
.el-tree .dot.out { bottom: -15px; }
.el-tree .dot.in { top: -15px; }
.el-tree .dot.on, .el-tree .dot.linked { background: var(--part); }
.el-tree .dot.on { box-shadow: 0 0 0 4px color-mix(in srgb, var(--part) 30%, transparent); }
/* the learner's own tree: it can grow wider than a phone, so it scrolls sideways; + and × buttons add and remove people */
.el-tree.link { display: block; overflow-x: auto; padding: 22px 10px 16px; }
.el-tree.link .tree-in { position: relative; display: grid; gap: 44px; width: max-content; min-width: 100%; }
.el-tree.link .gen { justify-content: center; }
.el-tree.link .p { flex: 0 0 auto; width: 112px; max-width: none; padding: 9px 6px 26px; }
.el-tree.link .pair { flex: 0 0 auto; max-width: none; }
.el-tree .tb { position: absolute; z-index: 3; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; cursor: pointer; border: 0; border-radius: 50%; font: 800 15px/1 var(--text); }
.el-tree .tb.add { right: 5px; bottom: 3px; background: var(--part-soft); color: var(--part-text); }
.el-tree .tb.del { left: 5px; bottom: 3px; background: var(--no-bg); color: var(--no); }
.el-tree .tb.row { position: static; align-self: center; flex: none; width: 34px; height: 34px; border: 1.5px dashed var(--mute); background: transparent; color: var(--mute); font-size: 20px; }
.el-tree .tb:hover { filter: brightness(.93); }
@media (max-width: 480px) { .el-tree.link { padding-left: 4px; padding-right: 4px; } .el-tree.link .p { width: 82px; padding-left: 4px; padding-right: 4px; } .el-tree.link .gen { gap: 6px; } .el-tree.link .pair { gap: 4px; padding: 4px; } .el-tree.link input.el-note { padding: 7px 3px; font-size: 12.5px; } .el-tree .tb.row { width: 28px; height: 28px; font-size: 17px; } }
.el-tree.picking .dot.in { animation: enl-pulse 1s ease-in-out infinite; }
.el-tree input.el-note { width: 100%; padding: 8px 6px; font-size: 14px; text-align: center; }
.el-map { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; padding: 14px; border-radius: 22px; background: var(--soft); }
.el-map .c { grid-column: 1 / -1; justify-self: center; padding: 14px 20px; text-align: center; border-radius: 99px; background: var(--part); color: var(--part-ink); font: 700 17px/1.2 var(--display); letter-spacing: -.02em; }
.el-map .b { padding: 10px 12px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.el-map .b small { display: block; color: var(--part-text); font: 800 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.el-map .b span { display: block; font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.el-map .b i { display: block; margin-top: 3px; color: var(--mute); font-style: normal; font-size: 13px; font-weight: 600; }
input.el-note, textarea.el-note { display: block; width: 100%; min-height: 40px; padding: 8px 12px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--card); font-weight: 700; font-size: 15.5px; }
input.el-note:focus, textarea.el-note:focus { outline: none; border-style: solid; border-color: var(--part-text); }
.el-form { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; margin: 0 0 18px; }
.el-form label { color: var(--mute); font-weight: 700; font-size: 15px; }

/* discussion: questions answered by speaking or typing */
.el-disc .dq { margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1.5px dashed var(--line); }
.el-disc .dq:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.el-disc .dq > p:first-child { margin: 0 0 10px; font: 700 17.5px/1.45 var(--text); }
.el-disc .el-two { display: flex; width: max-content; max-width: 100%; margin: 0 0 10px; }
.el-disc .el-starts { margin-bottom: 10px; }
.el-disc .el-starts button { padding: 6px 12px; cursor: pointer; border: 0; border-radius: 99px; background: var(--soft); color: var(--ink); font: 700 14.5px/1.3 var(--text); text-align: left; }
.el-disc .el-starts button:hover { background: var(--part-soft); color: var(--part-text); }
.el-disc .ans { display: flex; align-items: flex-start; gap: 10px; }
.el-disc textarea { flex: 1; min-width: 0; min-height: 64px; padding: 11px 13px; resize: vertical; border: 1.5px solid var(--line); border-radius: 16px; background: var(--soft); line-height: 1.5; }
.el-disc textarea:focus { outline: none; border-color: var(--part-text); }
.el-mic.sm { width: 48px; height: 48px; flex: none; background: var(--part); }
.el-mic.sm .i { width: 22px; height: 22px; }
.el-mic.sm.on { background: var(--no); }
.el-disc .sample { margin: 10px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--ok-bg); font-size: 16px; line-height: 1.5; }
.el-disc .sample b { display: block; margin-bottom: 2px; color: var(--ok); font: 800 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }

/* the result page */
.enl-end { text-align: center; }
.enl-score { display: inline-flex; align-items: baseline; gap: 6px; margin: 4px 0 12px; }
.enl-score b { font: 700 64px/1 var(--display); letter-spacing: -.05em; color: var(--part-text); }
.enl-score span { font: 700 22px/1 var(--display); color: var(--mute); }
.enl-end-b { display: grid; gap: 10px; justify-items: center; margin-top: 8px; }

/* ---------- wide screens ---------- */
@media (min-width: 760px) {
  .enl-parts { grid-template-columns: 1fr 1fr; }
  .enl-hero { padding: 44px 40px 40px; }
  .enl-unit { padding: 22px 18px 10px; }
  .enl-unit.open { padding-bottom: 16px; }
  .enl-stage { padding: 14px 28px 40px; }
  .enl-stage .slide { padding: 18px 8px 36px; }
  .el-task { padding: 20px; }
}
@media (min-width: 1100px) {
  /* the lesson menu stands on the left and can be hidden with the menu button (remembered: localStorage "enl-side") */
  body.enl-play .enl-side { position: static; transform: none; width: 320px; flex: none; }
  /* hiding and showing slides the menu out and in (the user, 2026-11-20: "slide out and in, not just pop up") */
  body.enl-play .enl-side { transition: margin-left .32s cubic-bezier(.4, 0, .2, 1), opacity .32s ease, visibility 0s; }
  body.enl-play.enl-noside .enl-side { margin-left: -321px; opacity: 0; visibility: hidden; transition: margin-left .32s cubic-bezier(.4, 0, .2, 1), opacity .25s ease, visibility 0s .32s; }
  .enl-main { position: relative; }
  .enl-handle { position: absolute; z-index: 5; left: 8px; top: 50%; display: grid; place-items: center; width: 30px; height: 56px; padding: 0; cursor: pointer; background: var(--card); border: 1px solid var(--line); border-radius: 99px; color: var(--mute); box-shadow: var(--shadow); }
  .enl-handle:hover { color: var(--ink); border-color: var(--ink); }
  .enl-handle .i { width: 16px; height: 16px; }
  body.enl-noside .enl-handle { left: 8px; }
  body.enl-noside .enl-handle .i { transform: rotate(180deg); }
  body.enl-play .enl-shade { display: none; }
}
@media (max-width: 420px) { .enl-foot .enl-btn span { display: none; } .enl-foot .enl-btn { padding: 12px 18px; } }

/* ================= readings in the type of the place they come from (the user, 2026-11-19: "completely different
   fonts for readings that match their vibe"): a social-network profile, a news article, a notebook page.
   The social profile follows the familiar layout of big social sites (cover, round photo, blue button, grey page with
   white cards) in a system typeface; the site name and mark are invented, no real brand is shown. ================= */
.el-text.el-site.profile { --fb: #1B6FE0; --fbg: #F0F2F5; --fcard: #FFFFFF; --fink: #050505; --fmute: #65676B; --fline: #CED0D4;
  --ff: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-family: var(--ff); background: var(--fbg); color: var(--fink); border: 0; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
html.dark-mode .el-text.el-site.profile { --fbg: #18191A; --fcard: #242526; --fink: #E4E6EB; --fmute: #B0B3B8; --fline: #3E4042; --fb: #4599FF; }
.el-site.profile .nav { background: var(--fcard); border-bottom: 1px solid var(--fline); padding: 8px 12px; }
.el-site.profile .nav b { color: var(--fb); font: 800 22px/1 system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: -.04em; text-transform: lowercase; }
.el-site.profile .nav b span { color: var(--fb); }
.el-site.profile .nav em { background: var(--fbg); color: var(--fmute); font: 400 14px/1 var(--ff); padding: 9px 14px; }
.el-site.profile .head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 12px; padding: 0 14px 12px; background: var(--fcard); }
.el-site.profile .head::before { content: ""; grid-column: 1 / -1; height: 96px; margin: 0 -14px; background: linear-gradient(120deg, #7FB2FF, #B8A6FF 55%, #FFC2A8); }
.el-site.profile .ph { width: 92px; height: 92px; margin-top: -40px; border: 4px solid var(--fcard); background: linear-gradient(135deg, #7FB2FF, #5C7CFA); }
.el-site.profile .who { padding-bottom: 4px; }
.el-site.profile .who h2 { font: 700 24px/1.15 var(--ff); letter-spacing: -.01em; color: var(--fink); }
.el-site.profile .who p { color: var(--fmute); font-size: 15px; }
.el-site.profile .v { background: var(--fb); }
.el-site.profile .follow { grid-column: 1 / -1; margin-top: 12px; padding: 10px; border-radius: 6px; background: var(--fb); color: #fff; text-align: center; font: 600 15px/1 var(--ff); }
.el-site.profile .stats { background: var(--fcard); padding: 0 14px 10px; gap: 0; text-align: left; display: flex; flex-wrap: wrap; column-gap: 14px; }
.el-site.profile .stats div { padding: 2px 0; background: none; border-radius: 0; display: flex; gap: 5px; align-items: baseline; }
.el-site.profile .stats b { font: 700 15px/1.3 var(--ff); }
.el-site.profile .stats small { color: var(--fmute); font-size: 15px; font-weight: 400; order: -1; }
.el-site.profile .credit { background: var(--fcard); color: var(--fmute); padding: 0 14px 8px; }
.el-site.profile .tabs { background: var(--fcard); border-top: 1px solid var(--fline); border-bottom: 0; padding: 0 6px; }
.el-site.profile .tabs span { flex: none; padding: 14px 12px; color: var(--fmute); font: 600 15px/1 var(--ff); }
.el-site.profile .tabs .on { color: var(--fb); box-shadow: inset 0 -3px 0 var(--fb); }
.el-site.profile .page { padding: 12px 10px 4px; }
.el-site.profile dl, .el-site.profile .post, .el-site.profile .page > p { margin: 0 0 10px; padding: 12px 14px; border-radius: 8px; background: var(--fcard); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.el-site.profile dl { font-size: 15px; gap: 8px 14px; }
.el-site.profile dl::before { content: "Intro"; grid-column: 1 / -1; font: 700 19px/1.2 var(--ff); color: var(--fink); }
.el-site.profile dt { color: var(--fmute); font-weight: 400; } .el-site.profile dd { font-weight: 600; }
.el-site.profile .post h3 { margin: 0 0 4px; color: var(--fink); font: 700 17px/1.3 var(--ff); letter-spacing: 0; text-transform: none; }
.el-site.profile .post p, .el-site.profile .page > p { margin-bottom: 0; font-size: 16.5px; line-height: 1.5; color: var(--fink); }
.el-site.profile .post:has(> h3:only-child) { padding: 10px 14px; }
.el-site.profile .post:has(> h3:only-child) h3 { margin: 0; }
.el-site.profile .g input { background: var(--fbg); border-color: var(--fline); color: var(--fink); }

/* a video page (.el-site.video): dark player with a play button, title, channel row, then the description */
.el-text.el-site.video { --vink: #0F0F0F; --vmute: #606060; --vline: #E5E5E5; --ff: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-family: var(--ff); background: #FFFFFF; color: var(--vink); border: 0; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
html.dark-mode .el-text.el-site.video { --vink: #F1F1F1; --vmute: #AAAAAA; --vline: #3A3A3A; background: #0F0F0F; }
.el-site.video .nav { border-bottom: 1px solid var(--vline); }
.el-site.video .nav b { color: var(--vink); font: 800 19px/1 var(--ff); letter-spacing: -.04em; }
.el-site.video .nav b::before { content: ""; display: inline-block; width: 26px; height: 18px; margin-right: 6px; vertical-align: -3px; border-radius: 6px; background: #E5352B linear-gradient(#fff, #fff) no-repeat 55% 50% / 0 0; clip-path: none; }
.el-site.video .nav b span { color: #E5352B; }
.el-site.video .nav em { background: none; border: 1px solid var(--vline); color: var(--vmute); }
.el-site.video .vid { position: relative; margin: 0; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.el-site.video .vid img { width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; object-fit: cover; }
.el-site.video .vid::after { content: ""; position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(0, 0, 0, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6v12l10-6z' fill='white'/%3E%3C/svg%3E") 54% 50% / 30px no-repeat; }
.el-site.video .vid i { position: absolute; right: 8px; bottom: 8px; padding: 3px 6px; border-radius: 5px; background: rgba(0, 0, 0, .8); color: #fff; font: 600 12px/1 var(--ff); font-style: normal; }
.el-site.video .page { padding: 12px 14px 6px; }
.el-site.video h2 { margin: 0 0 10px; font: 700 19px/1.3 var(--ff); letter-spacing: 0; color: var(--vink); }
.el-site.video .by { margin-bottom: 12px; }
.el-site.video .by .ph { width: 40px; height: 40px; background: linear-gradient(135deg, #5AA9FF, #8E7BFF); }
.el-site.video .by b { font: 600 15px/1.25 var(--ff); }
.el-site.video .by small { color: var(--vmute); font-size: 12.5px; }
.el-site.video .by .follow { margin-left: auto; background: var(--vink); color: #fff; border-radius: 99px; padding: 9px 14px; font: 600 13.5px/1 var(--ff); }
html.dark-mode .el-site.video .by .follow { color: #0F0F0F; }
.el-site.video .desc { padding: 12px 14px 4px; border-radius: 12px; background: color-mix(in srgb, var(--vmute) 12%, transparent); }
.el-site.video h3 { margin: 10px 0 2px; color: #065FD4; font: 600 13.5px/1.3 var(--ff); letter-spacing: 0; text-transform: none; }
html.dark-mode .el-site.video h3 { color: #6EA8FE; }
.el-site.video h3:first-child { margin-top: 0; }
.el-site.video p { font-size: 16.5px; line-height: 1.55; color: var(--vink); }
.el-site.video .credit { padding: 6px 0 8px; color: var(--vmute); }

/* a weather / city guide page (.el-site.weather): sky-blue header with the city and two big temperatures, then cards */
.el-text.el-site.weather { --wink: #10233A; --wmute: #5B6B80; --ff: "Avenir Next", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif; font-family: var(--ff); background: #EEF4FB; color: var(--wink); border: 0; border-radius: 16px; box-shadow: 0 1px 3px rgba(0, 0, 0, .16); }
html.dark-mode .el-text.el-site.weather { --wink: #E6EEF8; --wmute: #9FB0C6; background: #101A26; }
.el-site.weather .nav { border: 0; background: transparent; position: absolute; left: 0; right: 0; z-index: 1; }
.el-site.weather .nav b, .el-site.weather .nav b span { color: #fff; font: 700 15px/1 var(--ff); letter-spacing: .02em; }
.el-site.weather .nav em { background: rgba(255, 255, 255, .22); color: #fff; }
.el-text.el-site.weather { position: relative; }
.el-site.weather .sky { padding: 52px 16px 18px; color: #fff; background: linear-gradient(160deg, #2F7FE0, #57B4F2 60%, #9BD8F7); }
.el-site.weather .sky h2 { margin: 0; color: #fff; font: 700 30px/1.1 var(--ff); letter-spacing: -.02em; }
.el-site.weather .sky p { margin: 2px 0 14px; color: #fff; opacity: .9; font-size: 15px; }
.el-site.weather .temps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.el-site.weather .temps div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .2); }
.el-site.weather .temps b { display: block; font: 300 32px/1.05 var(--ff); letter-spacing: -.03em; }
.el-site.weather .temps small { font-size: 13px; opacity: .92; }
.el-site.weather .wimg { margin: 0; }
.el-site.weather .wimg img { width: 100%; max-height: 190px; margin: 0; border-radius: 0; object-fit: cover; }
.el-site.weather .page { padding: 12px 12px 4px; }
.el-site.weather .post { margin: 0 0 10px; padding: 12px 14px; border-radius: 14px; background: #FFFFFF; }
html.dark-mode .el-site.weather .post { background: #17253A; }
.el-site.weather .post h3 { margin: 0 0 4px; color: #2F7FE0; font: 700 12px/1 var(--ff); letter-spacing: .1em; text-transform: uppercase; }
.el-site.weather .post p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--wink); }
.el-site.weather .credit { padding: 0 2px 8px; color: var(--wmute); }

/* a table, and photos to choose from or talk about */
.el-table { width: 100%; margin: 0 0 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1.5px solid var(--line); border-radius: 16px; background: var(--card); font-size: 16px; }
.el-table caption { padding: 0 2px 8px; text-align: left; color: var(--mute); font: 800 11.5px/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-table th { padding: 10px 12px; text-align: left; background: var(--soft); font: 800 12px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.el-table td { padding: 10px 12px; border-top: 1.5px solid var(--line); font-weight: 600; line-height: 1.4; }
.el-table td:first-child { font-weight: 800; }
.el-table input.el-note { min-height: 36px; padding: 6px 10px; font-size: 15px; }
.el-table .g input { height: 36px; max-width: 30vw; }
.el-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin: 0 0 16px; }
.el-photos figure { margin: 0; }
.el-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--soft); }
.el-photos figcaption { margin-top: 6px; text-align: center; font: 800 15px/1.2 var(--text); }
.el-photos.big { grid-template-columns: 1fr; }
.el-photos.big img { aspect-ratio: 16 / 10; }
.el-vocab .w .sw { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); }

/* a news article: serif headline and text, a thin-ruled masthead */
.el-text.el-site.article { --aink: #121212; --amute: #5A5A5A; --aline: #DCDCDC; background: #FFFFFF; color: var(--aink); border: 0; border-radius: 6px; box-shadow: 0 1px 3px rgba(0, 0, 0, .16); font-family: "Source Serif 4", Georgia, "Times New Roman", serif; }
html.dark-mode .el-text.el-site.article { --aink: #EDEDED; --amute: #A8A8A8; --aline: #3A3A3A; background: #161616; }
.el-site.article .nav { justify-content: center; flex-direction: column; gap: 6px; padding: 12px 14px 8px; border-bottom: 3px double var(--aline); }
.el-site.article .nav b { font: 800 26px/1 "Playfair Display", Georgia, serif; letter-spacing: -.02em; color: var(--aink); }
.el-site.article .nav b span { color: var(--aink); font-style: italic; font-weight: 700; }
.el-site.article .nav em { margin: 0; padding: 0; background: none; color: var(--amute); font: 600 10.5px/1 system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.el-site.article .page { padding: 16px 16px 8px; }
.el-site.article .cat { padding: 0; background: none; color: #B3261E; font: 700 11px/1 system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: .14em; }
html.dark-mode .el-site.article .cat { color: #FF8A80; }
.el-site.article h2 { margin: 2px 0 12px; font: 800 clamp(25px, 6.6vw, 34px)/1.12 "Playfair Display", Georgia, serif; letter-spacing: -.02em; color: var(--aink); }
.el-site.article .by { padding: 10px 0; border-top: 1px solid var(--aline); border-bottom: 1px solid var(--aline); margin-bottom: 8px; }
.el-site.article .by b { font: 700 14px/1.25 system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
.el-site.article .by small, .el-site.article .credit { color: var(--amute); font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
.el-site.article p { font-size: 19px; line-height: 1.62; color: var(--aink); }
.el-site.article h3 { display: block; width: auto; height: auto; margin: 12px 0 0; border-radius: 0; background: none; color: var(--amute); font: 700 12px/1 system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; letter-spacing: .12em; }
.el-site.article h3::before { content: "Part "; text-transform: uppercase; }

/* a page from a student's notebook: handwriting on ruled paper */
.el-text.el-site.note { padding: 16px 18px 12px 30px; background: #FFFDF2 linear-gradient(#C9D8F0 1px, transparent 1px) 0 46px / 100% 34px; border: 0; border-left: 3px solid #F2A6A6; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .16); color: #1C2A4A; }
.el-site.note .src { background: none; color: #7A869E; padding: 0; margin-bottom: 0; font: 400 15px/34px "Patrick Hand", "Segoe Print", cursive; letter-spacing: .02em; text-transform: none; }
.el-site.note p { margin: 0; font: 400 22px/34px "Patrick Hand", "Segoe Print", "Bradley Hand", cursive; color: #1C2A4A; }

/* the highlighter of reading texts */
mark.el-hl { padding: 1px 0; border-radius: 3px; background: #FFE45C; color: #1A1A1A; cursor: pointer; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.el-text ::selection { background: #FFE45C; color: #1A1A1A; }
.el-hl-note { display: block; margin: -8px 2px 18px; color: var(--mute); font-size: 13px; font-weight: 600; line-height: 1.4; }
.el-hl-note .el-tr { font-size: 12.5px; }
.enl-hl-btn { position: fixed; z-index: 40; padding: 10px 16px; cursor: pointer; border: 0; border-radius: 99px; background: var(--ink); color: var(--bg); font: 700 14px/1 var(--text); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.enl-hl-btn::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: #FFE45C; }

/* ===== Units 3–10: more kinds of reading page and four small charts (docs/enlighten.md) ===== */
.el-site .sub { margin: -4px 0 12px; color: var(--mute); font-size: 14.5px; line-height: 1.4; }
.el-site .wimg { margin: 0; } .el-site .wimg img { display: block; width: 100%; max-height: 200px; margin: 0; border-radius: 0; object-fit: cover; }
/* a personal blog: soft rounded page, coral accents */
.el-text.el-site.blog { --ff: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif; font-family: var(--ff); background: #FFF6F1; color: #2B1D18; border: 0; border-radius: 20px; }
html.dark-mode .el-text.el-site.blog { background: #211815; color: #F3E7E1; }
.el-site.blog .nav { border: 0; padding: 14px 16px 0; } .el-site.blog .nav b { font: 800 18px/1 var(--ff); } .el-site.blog .nav b span { color: #F2603C; }
.el-site.blog .nav em { background: none; border: 1.5px solid currentColor; opacity: .55; }
.el-site.blog h2 { margin: 0 0 10px; font: 800 clamp(23px, 6vw, 30px)/1.15 var(--ff); letter-spacing: -.02em; }
.el-site.blog .by .ph { background: linear-gradient(135deg, #FF9A6B, #F2603C); }
.el-site.blog .post { margin: 0 0 12px; } .el-site.blog .post h3 { display: inline-block; margin: 0 0 6px; padding: 5px 11px; border-radius: 99px; background: #F2603C; color: #fff; font: 800 12.5px/1 var(--ff); letter-spacing: .02em; text-transform: none; }
.el-site.blog p { font-size: 17.5px; line-height: 1.6; }
/* a fact file: reference page, serif title, ruled rows */
.el-text.el-site.facts { --ff: "Source Serif 4", Georgia, serif; background: #FFFFFF; color: #1B1F23; border: 1px solid #C8CCD1; border-radius: 4px; box-shadow: none; }
html.dark-mode .el-text.el-site.facts { background: #15171A; color: #E6E8EB; border-color: #3A3F45; }
.el-site.facts .nav { background: color-mix(in srgb, currentColor 5%, transparent); } .el-site.facts .nav b { font: 700 19px/1 var(--ff); letter-spacing: 0; } .el-site.facts .nav b span { color: inherit; font-weight: 400; }
.el-site.facts h2 { margin: 0 0 4px; padding-bottom: 6px; border-bottom: 1px solid #A2A9B1; font: 400 clamp(26px, 7vw, 34px)/1.15 var(--ff); letter-spacing: 0; }
.el-site.facts .post { margin: 0; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.el-site.facts .post h3 { margin: 0 0 3px; color: #3366CC; font: 700 14px/1.2 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: 0; text-transform: none; }
html.dark-mode .el-site.facts .post h3 { color: #7FA7F5; }
.el-site.facts p { margin: 0; font: 400 18px/1.55 var(--ff); }
/* a school or city report: clean sheet, green rule */
.el-text.el-site.report { --ff: "Manrope", system-ui, sans-serif; background: #FFFFFF; color: #16211C; border: 0; border-top: 6px solid #00997F; border-radius: 10px; }
html.dark-mode .el-text.el-site.report { background: #141A18; color: #E3ECE8; }
.el-site.report .nav { border: 0; padding-bottom: 0; } .el-site.report .nav b { font: 800 12px/1 var(--ff); letter-spacing: .14em; text-transform: uppercase; color: #00997F; } .el-site.report .nav b span { color: inherit; opacity: .6; }
.el-site.report .nav em { background: none; padding: 0; }
.el-site.report h2 { margin: 0 0 10px; font: 800 clamp(22px, 5.8vw, 28px)/1.2 var(--ff); letter-spacing: -.02em; }
.el-site.report .post { margin: 0 0 12px; } .el-site.report .post h3 { margin: 0 0 4px; color: #00997F; font: 800 13px/1.2 var(--ff); letter-spacing: .08em; text-transform: uppercase; }
.el-site.report p { margin: 0 0 6px; font-size: 17px; line-height: 1.6; } .el-site.report .el-bars { margin: 0 0 14px; }
/* job adverts: cards on a grey board */
.el-text.el-site.ads { --ff: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-family: var(--ff); background: #F3F2EF; color: #1D2226; border: 0; border-radius: 10px; }
html.dark-mode .el-text.el-site.ads { background: #1B1F23; color: #E9EBEE; }
.el-site.ads .nav { background: #0A66C2; border: 0; } .el-site.ads .nav b, .el-site.ads .nav b span { color: #fff; font: 800 18px/1 var(--ff); } .el-site.ads .nav em { background: rgba(255, 255, 255, .2); color: #fff; }
.el-site.ads .page { padding: 12px 10px 4px; } .el-site.ads h2 { margin: 0 4px 10px; font: 700 18px/1.3 var(--ff); letter-spacing: 0; }
.el-site.ads .post { margin: 0 0 10px; padding: 12px 14px; border-radius: 10px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
html.dark-mode .el-site.ads .post { background: #262B30; }
.el-site.ads .post h3 { margin: 0 0 4px; color: #0A66C2; font: 700 17px/1.25 var(--ff); letter-spacing: 0; text-transform: none; } html.dark-mode .el-site.ads .post h3 { color: #70B5F9; }
.el-site.ads p { margin: 0 0 4px; font-size: 16px; line-height: 1.5; }
/* e-mails: one card per message, the first line of a message is its From / Subject row */
.el-text.el-site.mail { --ff: Roboto, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; font-family: var(--ff); background: #F6F8FC; color: #1F1F1F; border: 0; border-radius: 14px; }
html.dark-mode .el-text.el-site.mail { background: #1B1C1F; color: #E3E3E3; }
.el-site.mail .nav { border: 0; } .el-site.mail .nav b { font: 500 19px/1 var(--ff); letter-spacing: 0; } .el-site.mail .nav b span { color: #D93025; }
.el-site.mail .page { padding: 4px 10px 4px; } .el-site.mail h2 { display: none; }
.el-site.mail .post { margin: 0 0 10px; padding: 12px 14px; border-radius: 12px; background: #FFFFFF; } html.dark-mode .el-site.mail .post { background: #28292C; }
.el-site.mail .post h3 { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); font: 500 17px/1.3 var(--ff); letter-spacing: 0; text-transform: none; }
.el-site.mail .post p:first-of-type { color: #5F6368; font-size: 13.5px; } html.dark-mode .el-site.mail .post p:first-of-type { color: #A9ACB1; }
.el-site.mail p { margin: 0 0 6px; font-size: 16.5px; line-height: 1.55; }
/* a magazine page (interviews, guides): bold yellow masthead */
.el-text.el-site.mag { --ff: "Unbounded", "Manrope", system-ui, sans-serif; background: #FFFFFF; color: #14151A; border: 0; border-radius: 4px; }
html.dark-mode .el-text.el-site.mag { background: #15161B; color: #ECEDEF; }
.el-site.mag .nav { background: #FFD60A; border: 0; } .el-site.mag .nav b, .el-site.mag .nav b span { color: #14151A; font: 700 15px/1 var(--ff); letter-spacing: -.01em; text-transform: uppercase; } .el-site.mag .nav em { background: #14151A; color: #FFD60A; }
.el-site.mag h2 { margin: 0 0 10px; font: 700 clamp(20px, 5.4vw, 27px)/1.2 var(--ff); letter-spacing: -.03em; }
.el-site.mag .post { margin: 0 0 12px; } .el-site.mag .post h3 { margin: 0 0 4px; font: 800 16.5px/1.35 "Manrope", system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.el-site.mag .post h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: #FFD60A; }
.el-site.mag p { margin: 0 0 6px; font: 500 17px/1.6 "Manrope", system-ui, sans-serif; }

/* a bar chart of survey results */
.el-bars { margin: 0 0 18px; padding: 14px; border-radius: 18px; background: var(--soft); }
.el-bars > b { display: block; margin-bottom: 10px; font: 800 12px/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.el-bars p { display: grid; grid-template-columns: minmax(84px, 34%) 1fr auto; align-items: center; gap: 8px; margin: 0 0 7px !important; font-size: 15px; font-weight: 700; }
.el-bars i { height: 16px; border-radius: 99px; background: linear-gradient(90deg, var(--part) var(--v), color-mix(in srgb, var(--mute) 18%, transparent) var(--v)); }
.el-bars em { min-width: 34px; text-align: right; font-style: normal; font-weight: 800; }
/* a pie chart with its key */
.el-pie { display: grid; grid-template-columns: 128px 1fr; gap: 6px 16px; align-items: center; margin: 0 0 18px; padding: 14px; border-radius: 18px; background: var(--soft); }
.el-pie > b { grid-column: 1 / -1; font: 800 12px/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.el-pie i { width: 128px; aspect-ratio: 1; border-radius: 50%; }
.el-pie ul { margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 700; } .el-pie li { margin: 0 0 6px; } .el-pie em { font-style: normal; color: var(--mute); }
.el-pie u { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; }
/* a town map: blocks of buildings with streets across */
.el-plan { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 8px; margin: 0 0 18px; padding: 12px; border-radius: 18px; background: color-mix(in srgb, var(--mute) 16%, var(--bg)); }
.el-plan .b { display: grid; place-items: center; min-height: 54px; padding: 6px; text-align: center; border-radius: 12px; background: var(--card); border: 1.5px solid var(--line); font: 800 13.5px/1.2 var(--text); }
.el-plan .b.me { background: var(--sun); border-color: var(--sun); color: #1A1A1A; }
.el-plan .st { grid-column: 1 / -1; padding: 5px 0; text-align: center; color: var(--mute); font: 800 10.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; }
/* a flow chart: boxes joined by arrows */
.el-flow { display: grid; gap: 22px; margin: 0 0 18px; }
.el-flow div { position: relative; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.el-flow div + div::before { content: ""; position: absolute; left: 50%; top: -18px; width: 10px; height: 10px; margin-left: -6px; border-right: 2.5px solid var(--part); border-bottom: 2.5px solid var(--part); transform: rotate(45deg); }
.el-flow small { display: block; margin-bottom: 3px; color: var(--part-text); font: 800 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-flow span { font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.el-map .b input.el-note { margin-top: 4px; }

/* ===== Square corners and book pages (the user, 2026-11-20) =====
   Every reading sits on a printed page like Unlock's: a unit band on top, a course line in the footer, and each kind
      of text its own layout, with the picture set into the text and its caption on a bar (figure.bfig). */
/* rounded corners are back (the user, 2026-11-20: "use rounded edges like before. its more pleasing") */
.el-map .c, .el-map .b { border-radius: 50%; }

/* the page */
.el-book { --paper: #F5F2EA; --navy: #1F2B47; --acc: #7A3B4A; position: relative; margin: 0 0 18px; padding: 0 0 2px; background: var(--paper); color: #1B1B1B; box-shadow: 0 1px 0 #DDD6C6, 0 10px 24px -14px rgba(30, 25, 10, .35); }
html.dark-mode .el-book { --paper: #1C1B18; --navy: #33415F; color: #ECEAE4; box-shadow: 0 0 0 1px #2E2C27; }
body.part-ls .el-book { --acc: #1F6B5C; }
.el-book > .el-text { margin: 12px; }
.el-book + .el-hl-note { margin-top: -8px; }

/* a picture set into the text, its caption on a bar under it */
.el-site .bfig { margin: 0 0 12px; background: var(--fcap, #5B2433); }
.el-site .bfig img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 3; margin: 0; object-fit: cover; }
.el-site .bfig figcaption { padding: 6px 9px 7px; color: #fff; font: italic 600 13px/1.3 var(--text); }
.el-site .bfig small { display: block; padding: 0 9px 6px; color: rgba(255, 255, 255, .7); font: 500 10px/1.3 var(--text); }
.el-site .bfig.r, .el-site.facts .bfig, .el-site.blog .bfig, .el-site.mag .bfig, .el-site.report .bfig { float: right; width: 46%; margin: 4px 0 10px 12px; }
.el-site .post, .el-site .page > p { overflow: visible; }
.el-site .page::after { content: ""; display: block; clear: both; }
@media (min-width: 640px) { .el-site.facts .bfig, .el-site.blog .bfig, .el-site.mag .bfig, .el-site.report .bfig { width: 42%; } }

/* a web page printed in the book: a browser strip with three dots on top */
.el-site.profile, .el-site.video, .el-site.weather, .el-site.blog, .el-site.ads, .el-site.mail { box-shadow: 0 0 0 1px rgba(0, 0, 0, .12) !important; }
.el-site.profile > .nav::before, .el-site.video > .nav::before, .el-site.blog > .nav::before, .el-site.ads > .nav::before, .el-site.mail > .nav::before { content: ""; flex: none; width: 34px; height: 8px; margin-right: 4px; background: radial-gradient(circle at 4px 4px, #9AA3B5 3.4px, transparent 3.8px) 0 0 / 13px 8px repeat-x; border-radius: 0 !important; }

/* blog (and the student guide): a travel-site page — red caps name, a row of links, text with the picture beside it */
.el-text.el-site.blog { --ff: "Manrope", system-ui, sans-serif; background: linear-gradient(#E4F0EE, #F6FAF9 140px); color: #1E2A2A; }
html.dark-mode .el-text.el-site.blog { background: linear-gradient(#18302C, #141A19 140px); color: #E3ECEA; }
.el-site.blog .nav { flex-wrap: wrap; padding: 10px 14px 0; }
.el-site.blog .nav b { color: #D6334A; font: 800 19px/1 var(--ff); letter-spacing: .02em; text-transform: uppercase; } .el-site.blog .nav b span { color: #D6334A; }
.el-site.blog .nav em { margin-left: auto; padding: 0; border: 0; opacity: 1; color: #3E5C58; font: 800 10.5px/1 var(--ff); letter-spacing: .08em; text-transform: uppercase; }
.el-site.blog .page { padding: 10px 14px 4px; }
.el-site.blog .page > h2 { padding: 6px 0 8px; margin: 0 0 10px; border-bottom: 2px solid #9CC6BF; font: 800 clamp(21px, 5.6vw, 27px)/1.2 var(--ff); }
.el-site.blog .post h3 { display: block; margin: 12px 0 2px; padding: 0; background: none; color: #D6334A; font: 800 12px/1.2 var(--ff); letter-spacing: .1em; text-transform: uppercase; }
.el-site.blog p { font-size: 17px; line-height: 1.6; }
.el-site.blog .bfig { --fcap: #2F6E66; }

/* fact file: an encyclopaedia page — serif title over a rule, the picture as an infobox on the right */
.el-text.el-site.facts { background: #FFFFFF; border: 0; }
html.dark-mode .el-text.el-site.facts { background: #141518; }
.el-site.facts .page { padding: 12px 14px 6px; }
.el-site.facts .bfig { --fcap: #EAECF0; border: 1px solid #A2A9B1; padding: 4px; background: #F8F9FA; }
html.dark-mode .el-site.facts .bfig { background: #202226; border-color: #3A3F45; }
.el-site.facts .bfig figcaption { color: #202122; font-style: normal; text-align: center; font-size: 12.5px; padding: 6px 2px 2px; }
html.dark-mode .el-site.facts .bfig figcaption { color: #E6E8EB; }
.el-site.facts .bfig small { color: #72777D; text-align: center; padding: 0 2px 2px; }
.el-site.facts .post { border-bottom: 0; padding: 6px 0; }

/* report: a magazine page — condensed headline, the chart and the picture inside the text, serif body */
.el-text.el-site.report { background: #F2EFE6; border: 0; border-top: 0; color: #1D1D1B; }
html.dark-mode .el-text.el-site.report { background: #1A1916; color: #E9E6DD; }
.el-site.report .nav { padding: 10px 14px 6px; border-bottom: 2px solid #1D3A5F; }
.el-site.report .nav b { color: #1D3A5F; } html.dark-mode .el-site.report .nav b { color: #8DB3E8; }
.el-site.report .page > h2 { margin: 10px 0 10px; font: 700 clamp(24px, 6.6vw, 32px)/1.1 "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0; color: #1D3A5F; }
html.dark-mode .el-site.report .page > h2 { color: #A9C6EE; }
.el-site.report .post h3 { color: #1D3A5F; letter-spacing: .06em; } html.dark-mode .el-site.report .post h3 { color: #8DB3E8; }
.el-site.report p { font: 400 17.5px/1.55 "Source Serif 4", Georgia, serif; }
.el-site.report .bfig { --fcap: #1D3A5F; }
.el-site.report .el-bars, .el-site.report .el-pie { background: #FFFFFF; border: 1px solid #CFC8B6; }
html.dark-mode .el-site.report .el-bars, html.dark-mode .el-site.report .el-pie { background: #23221E; border-color: #3B3830; }

/* job adverts: a job site — navy title band, each advert a ruled box with a number */
.el-text.el-site.ads { background: #DCE6F2; }
html.dark-mode .el-text.el-site.ads { background: #17202B; }
.el-site.ads .nav { background: #1D3D7A; padding: 14px; }
.el-site.ads .nav b, .el-site.ads .nav b span { font: 800 26px/1 "Unbounded", var(--text); letter-spacing: -.03em; }
.el-site.ads .page { counter-reset: ad; padding: 12px 12px 4px; background: #FFFFFF; margin: 0 10px; }
html.dark-mode .el-site.ads .page { background: #1E252E; }
.el-site.ads .page > h2 { margin: 0 0 10px; color: #1D3D7A; font: 800 15px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; }
html.dark-mode .el-site.ads .page > h2 { color: #9DBBF2; }
.el-site.ads .bfig { --fcap: #1D3D7A; }
.el-site.ads .post { counter-increment: ad; position: relative; padding: 10px 12px 8px 44px; box-shadow: none; border: 1.5px solid #1D3D7A; background: transparent; }
.el-site.ads .post::before { content: counter(ad); position: absolute; left: 0; top: 0; bottom: 0; width: 32px; display: grid; place-items: center; background: #1D3D7A; color: #fff; font: 800 16px/1 var(--text); }

/* e-mails: a mail program window — grey bar, then each message as a white sheet with its From line */
.el-text.el-site.mail { background: #E8EAED; }
html.dark-mode .el-text.el-site.mail { background: #202124; }
.el-site.mail .nav { background: #FFFFFF; border-bottom: 1px solid #DADCE0; } html.dark-mode .el-site.mail .nav { background: #2B2C30; border-color: #3C4043; }
.el-site.mail .page { padding: 10px; }
.el-site.mail .bfig { --fcap: #3C4043; }
.el-site.mail .post { border-left: 4px solid #D93025; }

/* magazine interview: a book-review page — dark bar on top, serif headline, the photo in a green frame with its name bar */
.el-text.el-site.mag { background: #FFFFFF; }
html.dark-mode .el-text.el-site.mag { background: #15161B; }
.el-site.mag .nav { background: #2A2D2B; padding: 10px 14px; } .el-site.mag .nav b, .el-site.mag .nav b span { color: #8ED15A; font: 700 14px/1 var(--text); letter-spacing: .02em; text-transform: none; }
.el-site.mag .nav em { background: none; color: #fff; font: italic 600 13px/1 var(--text); padding: 0; }
.el-site.mag .page { padding: 14px 14px 6px; }
.el-site.mag .page > h2 { font: 600 clamp(22px, 6vw, 30px)/1.2 "Source Serif 4", Georgia, serif; letter-spacing: -.01em; }
.el-site.mag .bfig { --fcap: #6DB33F; border: 6px solid #6DB33F; }
.el-site.mag .bfig figcaption { color: #102008; font-style: normal; font-weight: 800; padding: 6px 4px 2px; }
.el-site.mag .bfig small { color: rgba(16, 32, 8, .65); padding: 0 4px 2px; }
.el-site.mag .post h3::before { background: #6DB33F; }
.el-site.mag p { font-family: "Manrope", system-ui, sans-serif; }
.el-site.mag table { background: #FFFFFF; border-top: 14px solid transparent; border-image: repeating-linear-gradient(90deg, #555 0 3px, transparent 3px 11px) 14; }

/* article: a chapter page — running head, a hatched band, the picture across the page with a caption bar, bold headline */
.el-site.article .page > .cat { display: block; margin: 0 0 8px; padding: 6px 0 8px; background: none; color: #444; border-bottom: 10px solid #3E6C84; box-shadow: 0 2px 0 #fff, 0 4px 0 #3E6C84; font: 700 11.5px/1.2 var(--text); letter-spacing: .1em; }
html.dark-mode .el-site.article .page > .cat { color: #C9C9C9; box-shadow: 0 2px 0 #161616, 0 4px 0 #3E6C84; }
.el-site.article .page > h2 { font: 800 clamp(23px, 6.2vw, 30px)/1.15 var(--text); letter-spacing: -.02em; }
.el-site.article .bfig { --fcap: #6A2335; }

/* a writer's notes (writing models): a page of lined paper, a margin line, handwriting */
.el-text.el-site.note { position: relative; padding: 14px 14px 10px 40px; background: #FDFCF6 repeating-linear-gradient(transparent 0 30px, #A9C7DE 30px 31px); background-position: 0 6px; border: 0; color: #1D2A52; box-shadow: 0 0 0 1px #DAD6C8 !important; }
.el-text.el-site.note::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 2px; background: #6FA6C9; }
html.dark-mode .el-text.el-site.note { background-color: #23231F; background-image: repeating-linear-gradient(transparent 0 30px, #34485A 30px 31px); color: #D7E2FF; box-shadow: 0 0 0 1px #3A3A33 !important; }
.el-site.note .src { margin: 0 0 1px; padding: 0; background: none; color: inherit; font: 400 20px/30px "Patrick Hand", cursive; letter-spacing: 0; text-transform: none; text-decoration: underline; }
.el-site.note p { margin: 0 0 30px; font: 400 19.5px/31px "Patrick Hand", cursive; }
.el-site.note p:last-child { margin-bottom: 0; }

/* ===== Critical Thinking opening page — in the enLighten look (the user, 2026-11-21: the book style did not match the site) ===== */
.el-ctband { display: block; width: fit-content; margin: 6px auto 14px; padding: 9px 18px; border-radius: 99px; background: var(--part); color: var(--part-ink); font: 700 clamp(16px, 4.4vw, 20px)/1 var(--display); letter-spacing: -.01em; }
.el-taskbox { position: relative; margin: 0 0 16px; padding: 30px 16px 14px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); border-left: 5px solid var(--part); font: 700 17.5px/1.45 var(--text); }
.el-taskbox::before { content: "Your task"; position: absolute; top: 12px; left: 16px; color: var(--part-text); font: 800 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-skillbox { margin: 0 0 18px; padding: 14px 16px; border-radius: 18px; background: var(--part-soft); color: var(--ink); font-size: 15.5px; line-height: 1.55; }
.el-skillbox > b { display: block; margin-bottom: 5px; color: var(--part-text); font: 800 11.5px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-skillbox .el-tr { display: block; margin-top: 8px; color: inherit; opacity: .72; }

/* the ideas maps on that page: small, clean, side by side when there is room */
.el-hmap { display: block; width: min(100%, 300px); margin: 0 auto 14px; padding: 10px 10px 6px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); color: var(--part); }
@media (min-width: 620px) { .el-hmap { display: inline-block; vertical-align: top; width: calc(50% - 8px); max-width: 300px; margin: 0 4px 14px; }
  .el-hmap:has(+ .el-hmap) { margin-left: max(4px, calc(50% - 308px)); } }
.el-hmap figcaption { margin: 0 0 4px; text-align: center; color: var(--part-text); font: 800 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.el-hmap svg { display: block; width: 100%; height: auto; overflow: visible; }
.el-hmap .ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: .55; }
.el-hmap .o { fill: var(--soft); stroke: currentColor; stroke-width: 2; }
.el-hmap .o2 { display: none; }
.el-hmap .t { fill: var(--ink); font-family: var(--text); font-weight: 700; text-anchor: middle; }
.el-hmap .t.f { fill: #15161B; }
.el-hmap .ic { fill: none; stroke: #15161B; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the ideas maps students fill in: the same hand-drawn ovals */
.el-map { background: transparent; padding: 4px 0; gap: 12px 8px; color: #1F3A68; font-family: "Patrick Hand", cursive; }
html.dark-mode .el-map { color: #A8C2EE; }
.el-map .c { padding: 18px 26px; background: var(--card); color: inherit; border: 2.5px solid currentColor; font: 400 24px/1.1 "Patrick Hand", cursive; letter-spacing: 0; }
.el-map .b { display: grid; align-content: center; justify-items: center; min-height: 96px; padding: 14px 18px; text-align: center; background: var(--card); border: 2px solid currentColor; }
.el-map .b small { color: inherit; font: 400 18px/1.1 "Patrick Hand", cursive; letter-spacing: 0; text-transform: none; text-decoration: underline; }
.el-map .b span { font: 400 17px/1.25 "Patrick Hand", cursive; color: var(--ink); }
.el-map .b i { font: 400 15px/1.25 "Patrick Hand", cursive; color: inherit; }
.el-map input.el-note { text-align: center; font-family: "Patrick Hand", cursive; font-size: 17px; }

/* ===== One type pairing per kind of reading page (the user, 2026-11-20: "different fonts for each reading that matches its style")
   --rf = body text, --rh = headings, the site name and the small headings. The rules below win over the kinds' own font rules. */
.el-site.profile { --rf: "Inter", system-ui, sans-serif;               --rh: "Inter", system-ui, sans-serif; }          /* social profile */
.el-site.video   { --rf: "Roboto", system-ui, sans-serif;              --rh: "Roboto", system-ui, sans-serif; }         /* video site */
.el-site.weather { --rf: "Quicksand", system-ui, sans-serif;           --rh: "Quicksand", system-ui, sans-serif; }      /* weather app */
.el-site.article { --rf: "Libre Franklin", "Helvetica Neue", sans-serif; --rh: "Archivo", "Helvetica Neue", sans-serif; } /* book chapter */
.el-site.blog    { --rf: "Lato", system-ui, sans-serif;                --rh: "Josefin Sans", system-ui, sans-serif; }   /* travel site */
.el-site.facts   { --rf: "Noto Sans", Arial, sans-serif;               --rh: "Libre Baskerville", Georgia, serif; }     /* encyclopaedia */
.el-site.report  { --rf: "PT Serif", Georgia, serif;                   --rh: "Oswald", "Arial Narrow", sans-serif; }    /* magazine */
.el-site.ads     { --rf: "IBM Plex Sans", system-ui, sans-serif;       --rh: "IBM Plex Sans", system-ui, sans-serif; }  /* job site */
.el-site.mail    { --rf: "Open Sans", "Segoe UI", sans-serif;          --rh: "Open Sans", "Segoe UI", sans-serif; }     /* mail program */
.el-site.mag     { --rf: "Work Sans", system-ui, sans-serif;           --rh: "EB Garamond", Garamond, serif; }          /* book review */
.el-site.note    { --rf: "Kalam", "Patrick Hand", cursive;             --rh: "Kalam", "Patrick Hand", cursive; }        /* handwriting */
body.enl .el-site[class] :is(p, li, dd, dt, td, th, small, em, figcaption, span, b, strong, i, a, input, textarea) { font-family: var(--rf) !important; }
body.enl .el-site[class] :is(h2, h3, .nav b, .nav b span, .cat, .src, .who h2, .by b, .bk-h) { font-family: var(--rh) !important; }
body.enl .el-site[class] .ph i { font-family: var(--rh) !important; }
body.enl .el-site.weather .temps b { font-family: var(--rh) !important; font-weight: 500; }
body.enl .el-site.mag .page > h2, body.enl .el-site.mag .post h3 { font-weight: 600; }
body.enl .el-site.mag .post h3 { font-size: 19px; }
body.enl .el-site.facts .page > h2 { font-size: clamp(24px, 6.4vw, 31px); }
body.enl .el-site.facts .post h3 { font-size: 15px; font-weight: 700; }
body.enl .el-site.blog .nav b, body.enl .el-site.blog .post h3 { letter-spacing: .06em; }
body.enl .el-site.note p { font-size: 18.5px; }
body.enl .el-site.note .src { font-weight: 700; }
/* picture credits on a lesson's end page: small and quiet */
.enl-credits { margin: 28px auto 0; max-width: 34em; color: var(--mute); font-size: 12.5px; line-height: 1.45; text-align: left; }
.enl-credits summary { cursor: pointer; text-align: center; font: 700 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.enl-credits p { margin: 8px 0 0; } .enl-credits b { color: var(--ink); font-weight: 700; } .enl-credits a { color: inherit; }

/* ===== The player in the style of Cambridge One (the user, 2026-11-20), with enLighten's own colours, fonts and rounded corners.
   Lessons and tasks are unchanged; only the look:
   a coloured top bar, a step line with numbered stops, centred instructions, answer cards with a round marker,
   one wide button bar at the bottom, and on question pages the reading text in a panel that slides out from the left. */

/* top bar: the part's colour, white title and buttons */
body.enl-play .enl-top { padding: 10px 14px; background: var(--part); color: var(--part-ink); }
body.enl-play .enl-top .enl-ttl small { color: color-mix(in srgb, var(--part-ink) 72%, transparent); }
body.enl-play .enl-top .enl-ttl b { color: var(--part-ink); font-size: 16.5px; }
body.enl-play .enl-top .enl-ib { background: rgba(255, 255, 255, .22); border-color: color-mix(in srgb, var(--part-ink) 22%, transparent); color: var(--part-ink); }
body.enl-play .enl-top .enl-ib:hover { background: rgba(255, 255, 255, .38); border-color: var(--part-ink); }
html.dark-mode body.enl-play .enl-top { background: color-mix(in srgb, var(--part) 86%, #000); }

/* step line: one segment per page; the pages done and the current page end in a numbered stop */
.enl-dots { gap: 6px; padding: 18px 20px 14px; background: var(--bg); }
.enl-dots button { position: relative; height: 4px; background: var(--line); }
.enl-dots button.past { background: color-mix(in srgb, var(--part) 45%, var(--part-text)); opacity: 1; }
.enl-dots button.cur { background: var(--part); }
.enl-dots button.past::after, .enl-dots button.cur::after { content: attr(data-n); position: absolute; right: -4px; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: inherit; color: var(--part-ink); font: 800 11px/1 var(--text); box-shadow: 0 0 0 3px var(--bg); }
.enl-dots button.cur::after { width: 26px; height: 26px; margin-top: -13px; font-size: 12.5px; }
.enl-count { display: none; }

/* bottom bar: Back as a small square button, Next as one wide bar */
.enl-foot { gap: 10px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 0; background: var(--bg); box-shadow: 0 -10px 24px -18px rgba(20, 20, 40, .35); }
/* Back on the left with its label, Next on the right, both the size of their text (the user, 2026-11-20: "make the next
   button smaller and the previous button with a text") */
.enl-foot { justify-content: space-between; }
.enl-foot .enl-btn { min-height: 48px; padding: 10px 22px; border-radius: 14px; font-size: 16px; }
.enl-foot .enl-btn.ghost { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); padding-left: 16px; }
.enl-foot .enl-btn.ghost span { display: inline !important; }
.enl-foot .enl-btn:last-child { flex: none; min-width: 132px; margin-left: auto; padding-right: 16px; letter-spacing: .02em; }

/* a page: centred heading and instructions, the content below at full width */
.enl-stage .slide { padding-top: 4px; }
.enl-stage .slide > .el-tag { display: flex; width: max-content; margin: 0 auto 10px; }
.enl-stage .slide > h1, .enl-stage .slide > h2 { text-align: center; }
.enl-stage .slide > .el-ins { text-align: center; font-size: 19px; line-height: 1.4; }
.enl-stage .slide > .el-ins .el-tr { font-size: 15px; }
.enl-end h1, .enl-end p { text-align: center; }

/* tasks: no box around them, the question in large text, answers as white cards with a round marker */
.el-task { padding: 0; border: 0; border-radius: 0; margin-bottom: 30px; }
.el-task.all-ok, .el-task.some-no { border: 0; }
.el-ask { margin: 0 0 14px !important; font: 600 19px/1.4 var(--text); }
.el-opts { gap: 12px; }
.el-opt { min-height: 62px; padding: 14px 18px; gap: 16px; border: 1.5px solid color-mix(in srgb, var(--part) 14%, var(--line)); border-radius: 16px; background: var(--card); box-shadow: 0 4px 16px -8px color-mix(in srgb, var(--part) 45%, transparent); font: 600 17.5px/1.35 var(--text); }
.el-opt:hover:not([disabled]) { border-color: var(--part-text); transform: none; box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--part) 60%, transparent); }
.el-opt i { position: relative; width: 24px; height: 24px; border-radius: 50%; background: transparent; border: 2.5px solid var(--part); font-size: 0; }
.el-opt.ok { border-color: var(--ok); background: var(--card); box-shadow: inset 0 0 0 1px var(--ok); }
.el-opt.no { border-color: var(--no); background: var(--card); box-shadow: inset 0 0 0 1px var(--no); }
.el-opt.ok i, .el-opt.no i { border: 0; background: transparent; }
.el-opt.ok i::before { content: ""; position: absolute; left: 4px; top: 5px; width: 14px; height: 7px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.el-opt.no i::before, .el-opt.no i::after { content: ""; position: absolute; left: 11px; top: 2px; width: 3px; height: 20px; border-radius: 2px; background: var(--no); transform: rotate(45deg); }
.el-opt.no i::after { transform: rotate(-45deg); }
.el-match .el-opt { min-height: 58px; font-size: 16px; }
.el-match .el-opt i { display: none; }
/* word tiles and the two-way choices look like Cambridge One's tiles: white, raised, rounded */
.el-bank button, .el-bank span, .el-order .slot button { padding: 10px 16px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--part) 18%, var(--line)); background: var(--card); box-shadow: 0 3px 10px -6px color-mix(in srgb, var(--part) 55%, transparent); font-size: 16.5px; }
.el-two { padding: 4px; border-radius: 12px; }
.el-two button { padding: 6px 12px; border-radius: 9px; }
.el-gap .g input { height: 44px; border-radius: 12px; background: var(--card); border-color: color-mix(in srgb, var(--part) 22%, var(--line)); }
/* Check: a wide bar in the part colour */
.el-check-b { display: flex; width: 100%; min-height: 54px; margin-top: 14px; border-radius: 16px; background: var(--part) !important; color: var(--part-ink) !important; font-size: 17px; }

/* the reading panel */
.slide.has-pane { animation-name: enl-fade; }
@keyframes enl-fade { from { opacity: 0; } }
.enl-pane { position: fixed; z-index: 25; top: var(--pane-top, 120px); bottom: var(--pane-bot, 80px); left: var(--pane-left, 0); width: min(600px, calc(100vw - var(--pane-left, 0px) - 56px)); transform: translateX(calc(-100% - var(--pane-left, 0px))); transition: transform .28s ease; }
.slide.pane-open .enl-pane { transform: none; }
.enl-pane-in { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 14px 14px 24px; background: var(--bg); border-radius: 0 22px 22px 0; box-shadow: 10px 0 30px -12px rgba(15, 15, 35, .45); }
.enl-pane-in .el-book, .enl-pane-in .el-text { margin-bottom: 0; }
.enl-pane-tab { position: absolute; left: 100%; top: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 9px; cursor: pointer; border: 0; border-radius: 0 16px 16px 0; background: var(--card); color: var(--ink); box-shadow: 6px 2px 18px -8px rgba(15, 15, 35, .45); }
.enl-pane-tab b { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 14px/1 var(--text); letter-spacing: .04em; }
.enl-pane-tab .i { width: 18px; height: 18px; color: var(--part-text); transition: transform .2s; }
.slide.pane-open .enl-pane-tab { box-shadow: inset 0 0 0 2px var(--sun), 6px 2px 18px -8px rgba(15, 15, 35, .45); }
.slide.pane-open .enl-pane-tab .i { transform: rotate(180deg); }
.slide.has-pane { padding-left: 34px; }
@media (min-width: 900px) { .slide.has-pane { padding-left: 4px; } }

/* rounded corners for the book pages and their pictures */
.el-book { border-radius: 20px; overflow: hidden; }
.el-book > .el-text { border-radius: 14px; overflow: hidden; }
.el-site .bfig { border-radius: 12px; overflow: hidden; }
.el-site.mag .bfig { border-radius: 14px; }
.el-site.ads .post, .el-site.mail .post { border-radius: 12px; }
.el-site.ads .post { overflow: hidden; }
.el-site.ads .page { border-radius: 12px 12px 0 0; }
/* the wide Next bar always shows its word (it has room now that Back is a small button) */
.enl-foot .enl-btn:last-child span { display: inline !important; }
/* two-way choices inside a sentence: compact, so a sentence stays on its lines */
.el-two { padding: 3px; margin: 2px; }
.el-two button { padding: 5px 11px; }
/* when the text opens, the exercise moves out of its way (as on Cambridge One) instead of staying behind it:
   wide screens — the exercise shifts right into the space next to the text, both stay readable;
   phones — the exercise slides to the right together with the text */
.enl-pane { width: var(--pane-w, min(600px, calc(100vw - 56px))); }
.slide.has-pane { transition: padding-left .28s ease; }
.slide.has-pane > :not(.enl-pane) { transition: transform .28s ease; }
body.enl-split .slide.has-pane.pane-open { max-width: none; margin-left: 0; padding-left: calc(var(--pane-w) + 56px); padding-right: 18px; }
body:not(.enl-split) .slide.has-pane.pane-open > :not(.enl-pane) { transform: translateX(calc(var(--pane-w) + 8px)); }
body:not(.enl-split) .slide.has-pane.pane-open { overflow-x: clip; }

/* ===================================================================== XP, streak, badges, Word rush, A1 exam
   (enlighten/extras.js, the user 2026-11-21: a student asked for game elements and visible results) */
.enl-ib.wide { width: auto; padding: 0 12px; gap: 6px; grid-auto-flow: column; }
.enl-ib.wide small { font: 700 11px/1 var(--text); color: var(--mute); letter-spacing: .04em; text-transform: uppercase; }
.enlx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; max-width: 640px; }
.enlx-stat { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); }
.enlx-stat .i { grid-row: span 2; width: 22px; height: 22px; color: var(--sun); }
.enlx-stat b { font: 700 17px/1.15 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.enlx-stat small { font: 600 11.5px/1.3 var(--text); opacity: .7; letter-spacing: 0; text-transform: none; }
.enlx-stat.fire .i { color: #FF7A3D; }
html.dark-mode .enlx-stat { background: rgba(0, 0, 0, .06); }
.enlx-rankbar { grid-column: 1 / -1; height: 4px; margin-top: 7px; border-radius: 99px; background: rgba(128, 128, 128, .35); overflow: hidden; }
.enlx-rankbar i { display: block; height: 100%; background: var(--sun); border-radius: 99px; }
@media (max-width: 520px) {
  .enlx-stats { grid-template-columns: 1fr 1fr; }
  .enlx-stat.xp { grid-column: 1 / -1; }
}
.enlx-card { margin-top: 16px; padding: 20px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; }
.enlx-card h1 { margin: 6px 0 10px; font: 700 clamp(24px, 6vw, 34px)/1.15 var(--display); letter-spacing: -.03em; }
.enlx-card h2 { margin: 6px 0 12px; font: 700 21px/1.2 var(--display); letter-spacing: -.03em; }
.enlx-card h3 { margin: 22px 0 10px; font: 700 16px/1.2 var(--display); }
.enlx-eyebrow { display: inline-block; color: var(--rw-text); font: 800 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.enlx-mute { color: var(--mute); font-size: 14px; }
.enlx-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.enlx-row h2 { margin-bottom: 4px; }
.enlx-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.enlx-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg); font-size: 15px; line-height: 1.4; }
.enlx-list li > span:nth-child(2) { flex: 1; }
.enlx-list .n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--mute); font: 700 13px/1 var(--display); }
.enlx-list li.on .n { background: var(--sun); color: var(--sun-ink); }
.enlx-list li .i { width: 20px; height: 20px; color: var(--ls); flex: none; }
.enlx-foot { margin: 14px 2px 0; color: var(--mute); font-size: 14.5px; line-height: 1.5; }
.enlx-foot b { color: var(--ink); }
.enlx-bdg { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.enlx-bdg .b { flex: none; width: 74px; text-align: center; }
.enlx-bdg .b i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; background: var(--soft); color: var(--mute); border: 2px dashed var(--line); font: 700 20px/1 var(--display); font-style: normal; }
.enlx-bdg .b small { display: block; color: var(--mute); font: 600 11px/1.25 var(--text); }
.enlx-bdg .b.on i { border: 0; background: radial-gradient(circle at 35% 30%, #FFE08A, var(--sun) 60%, #E09A00); color: var(--sun-ink); box-shadow: 0 6px 16px rgba(245, 184, 51, .35); }
.enlx-bdg .b.on small { color: var(--ink); }
.enlx-bdg .b .i { width: 24px; height: 24px; }
.enl-unit.complete .enl-unit-h .n { color: var(--ls); }
.enl-unit.complete .enl-unit-h h2::after { content: "Badge earned"; display: inline-block; margin-left: 10px; padding: 3px 8px; vertical-align: 3px; border-radius: 99px; background: var(--sun); color: var(--sun-ink); font: 800 10px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.enlx-unit-g { padding: 10px 6px 4px; }
.enl-unit:not(.open) .enlx-unit-g { display: none; }
.enlx-game-b { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(100deg, #FFF3D3, #FFE3A1); color: var(--sun-ink) !important; }
html.dark-mode .enlx-game-b { background: linear-gradient(100deg, #3A2F12, #4A3A10); color: #FFE7A8 !important; }
.enlx-game-b > .i:first-child { width: 26px; height: 26px; }
.enlx-game-b span { flex: 1; }
.enlx-game-b b { display: block; font: 700 16px/1.2 var(--display); }
.enlx-game-b small { font: 600 13px/1.3 var(--text); opacity: .8; }
.enlx-examc { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 24px 20px; background: var(--ink); color: var(--bg); border: 0; }
.enlx-examc .ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px; background: var(--sun); color: var(--sun-ink); }
.enlx-examc .ico .i { width: 30px; height: 30px; }
.enlx-examc p { margin: 0 0 16px; opacity: .8; font-size: 15px; line-height: 1.5; }
.enlx-examc .enlx-eyebrow { color: var(--sun); }
.enlx-examc .enl-btn { background: var(--sun); color: var(--sun-ink) !important; }
.enlx-gain { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 0 14px; }
.enlx-gain b { padding: 6px 14px; border-radius: 99px; background: var(--sun); color: var(--sun-ink); font: 700 16px/1.2 var(--display); }
.enlx-gain span { color: var(--mute); font-size: 14px; font-weight: 700; }

/* game and exam pages */
body.enlx-page .enl-top { max-width: 760px; margin: 0 auto; }
.enlx-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 60px; }
.enlx-gintro { text-align: center; padding: 28px 20px; }
.enlx-gintro .ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 20px; background: var(--sun); color: var(--sun-ink); }
.enlx-gintro .ico .i { width: 34px; height: 34px; }
.enlx-gintro p { max-width: 30em; margin: 0 auto 14px; color: var(--mute); }
.enlx-gintro .enl-btn { margin-top: 6px; }
.enlx-seg { display: inline-flex; gap: 4px; padding: 4px; margin: 4px 0 14px; border-radius: 99px; background: var(--soft); }
.enlx-seg button { padding: 8px 16px; border: 0; border-radius: 99px; background: transparent; cursor: pointer; font-weight: 700; }
.enlx-seg button.on { background: var(--card); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.enlx-hud { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 0; background: var(--bg); }
.enlx-hud .t { flex: 1; height: 12px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.enlx-hud .t i { display: block; height: 100%; width: 100%; border-radius: 99px; background: var(--ls); transition: width .1s linear; }
.enlx-hud .t.low i { background: #E5484D; }
.enlx-hud .sc { font-weight: 700; color: var(--mute); white-space: nowrap; }
.enlx-hud .sc b { color: var(--ink); font: 700 22px/1 var(--display); }
.enlx-hud .cb { position: absolute; right: 0; top: 100%; padding: 4px 10px; border-radius: 99px; background: #FF7A3D; color: #fff; font: 800 12px/1.2 var(--text); opacity: 0; transform: translateY(-4px); transition: .2s; }
.enlx-hud .cb.on { opacity: 1; transform: none; }
.enlx-q { display: grid; justify-items: center; gap: 10px; padding: 22px 16px; text-align: center; }
.enlx-q .pic { width: 140px; height: 140px; object-fit: cover; border-radius: 22px; }
.enlx-q h2 { margin: 0; font: 700 clamp(28px, 8vw, 40px)/1.1 var(--display); letter-spacing: -.03em; }
.enlx-say { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); cursor: pointer; }
.enlx-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.enlx-opt { min-height: 64px; padding: 12px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--card); cursor: pointer; font: 700 17px/1.3 var(--text); transition: transform .1s; }
.enlx-opt:active { transform: scale(.97); }
.enlx-opt.ok { border-color: var(--ls); background: #DDF4EF; color: #00664F; }
.enlx-opt.no { border-color: #E5484D; background: #FDE8E8; color: #A3262A; }
html.dark-mode .enlx-opt.ok { background: #0E3A31; color: #7CE2C8; }
html.dark-mode .enlx-opt.no { background: #3D1416; color: #FF9B9E; }
.enlx-facts { display: grid; gap: 8px; max-width: 460px; margin: 6px auto 16px; padding: 0; list-style: none; text-align: left; }
.enlx-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.enlx-facts .i { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--rw-text); }
.enlx-ehud { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.enlx-steps { display: flex; gap: 6px; flex: 1; }
.enlx-steps button { width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--card); cursor: pointer; font: 700 14px/1 var(--display); color: var(--mute); }
.enlx-steps button.done { border-color: var(--ls); color: var(--ls); }
.enlx-steps button.cur { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.enlx-clock { padding: 7px 12px; border-radius: 99px; background: var(--soft); font: 700 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.enlx-clock.low { background: #FDE8E8; color: #A3262A; }
.enlx-shead { margin: 22px 0 8px; }
.enlx-shead h1 { margin: 6px 0 4px; font: 700 clamp(24px, 6vw, 32px)/1.15 var(--display); letter-spacing: -.03em; }
.enlx-shead p { margin: 0; color: var(--mute); }
.enlx-text { margin: 16px 0; padding: 22px 20px; border-radius: 18px; background: #FFFDF6; border: 1px solid #EFE6CC; color: #2A2416; font: 400 17px/1.65 "Source Serif 4", Georgia, serif; }
html.dark-mode .enlx-text { background: #1E1B12; border-color: #3A3320; color: #EDE6D3; }
.enlx-text h3 { margin: 0; font: 700 22px/1.2 "Playfair Display", Georgia, serif; }
.enlx-text small { display: block; margin: 2px 0 10px; color: #8C7A50; font: 600 13px/1.3 var(--text); }
.enlx-text p { margin: 0 0 12px; }
.enlx-mq { margin: 14px 0; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.enlx-mq .q { display: flex; gap: 10px; margin: 0 0 12px; font-weight: 600; }
.enlx-mq .q b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); font: 700 13px/1 var(--display); }
.enlx-mopts { display: grid; gap: 8px; }
.enlx-mopt { padding: 12px 14px; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; font-weight: 600; }
.enlx-mopt.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.enlx-oq .line { display: flex; flex-wrap: wrap; gap: 6px; min-height: 52px; padding: 8px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--bg); }
.enlx-oq .line .ph { align-self: center; padding-left: 6px; color: var(--mute); font-size: 14px; }
.enlx-oq .bank { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.enlx-oq .tile { padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; font-weight: 700; }
.enlx-oq .line .tile { border-color: var(--ink); }
.enlx-rec { display: flex; align-items: center; gap: 14px; margin: 18px 0 6px; padding: 14px 16px; border-radius: 18px; background: #DDF4EF; color: #063D33; }
html.dark-mode .enlx-rec { background: #0E3A31; color: #CFF5EA; }
.enlx-rec b { display: block; font: 700 16px/1.25 var(--display); }
.enlx-rec small { font-weight: 700; opacity: .75; }
.enlx-play { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--ls); color: #fff; cursor: pointer; }
.enlx-play[disabled] { opacity: .35; cursor: default; }
.enlx-play .i { width: 24px; height: 24px; }
.enlx-efoot { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.enlx-res { text-align: center; }
.enlx-res.pass .enl-score b { color: var(--ls); }
.enlx-res.fail .enl-score b { color: #E5484D; }
.enlx-res > p { max-width: 32em; margin: 0 auto 18px; color: var(--mute); }
.enlx-bars { display: grid; gap: 8px; max-width: 480px; margin: 0 auto; text-align: left; }
.enlx-bars .r { display: grid; grid-template-columns: 96px 1fr 44px; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.enlx-bars .r div { height: 10px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.enlx-bars .r i { display: block; height: 100%; border-radius: 99px; background: #E5A23B; }
.enlx-bars .r.ok i { background: var(--ls); }
.enlx-bars .r b { text-align: right; color: var(--mute); }
.enlx-review { display: grid; gap: 8px; max-width: 480px; margin: 0 auto; text-align: left; }
.enlx-review a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--bg); font-weight: 700; }
.enlx-review a b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font: 700 13px/1 var(--display); }
.enlx-review a span { flex: 1; }
.enlx-wrong { max-width: 520px; margin: 18px auto 6px; text-align: left; }
.enlx-wrong summary { cursor: pointer; font-weight: 700; text-align: center; color: var(--rw-text); }
.enlx-wrong .w { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: 14.5px; }
.enlx-wrong .w small { color: var(--mute); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.enlx-wrong .w p { margin: 4px 0; font-weight: 600; }
.enlx-wrong .w span { display: block; }
.enlx-wrong .no { color: #C2363B; }
.enlx-wrong .ok { color: #00806A; font-weight: 700; }
.enlx-certw { display: grid; justify-items: center; gap: 12px; margin-top: 22px; }
.enlx-cert { position: relative; width: 100%; max-width: 620px; padding: 40px 28px 30px; text-align: center; background: #FFFDF6; color: #2A2416; border-radius: 20px; border: 2px solid #E8D9A8; box-shadow: inset 0 0 0 8px #FFFDF6, inset 0 0 0 10px #F5B833; }
.enlx-cert .seal { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE08A, #F5B833 60%, #E09A00); color: #2B1E00; }
.enlx-cert .seal .i { width: 32px; height: 32px; }
.enlx-cert .k { font: 800 12px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: #8C5E00; }
.enlx-cert .pre { margin: 18px 0 0; color: #6A5E40; }
.enlx-cert h2 { margin: 4px 0 6px; font: 700 clamp(28px, 7vw, 40px)/1.15 "Playfair Display", Georgia, serif; }
.enlx-cert .what { margin: 0 0 14px; }
.enlx-cert ul { display: inline-grid; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: #4A4230; }
.enlx-cert ul li::before { content: "✓ "; color: #00806A; font-weight: 800; }
.enlx-cert .meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid #E8D9A8; font: 700 13px/1.3 var(--text); color: #6A5E40; }
@media print {
  body.enlx-page .enl-top, body.enlx-page .enlx-res, body.enlx-page .enlx-gintro, .enlx-print, .enlx-certw > .enlx-mute { display: none !important; }
  body.enl { background: #fff; }
  .enlx-cert { box-shadow: inset 0 0 0 8px #FFFDF6, inset 0 0 0 10px #F5B833; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.enlx-more { display: none; margin: 10px 0 0; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 99px; background: transparent; cursor: pointer; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) {
  .enlx-list:not(.all) li:nth-child(n+5) { display: none; }
  .enlx-list:not(.all) ~ .enlx-more { display: inline-block; }
}
@media (min-width: 560px) { .enlx-cert ul { grid-template-columns: 1fr 1fr; column-gap: 18px; text-align: left; } }

/* ---------- levels A1 · A2 · B1 · B2 · C1 on the course home (docs/enlighten.md "Levels") */
.enl-levels { display: flex; gap: 3px; padding: 3px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.enl-levels a { padding: 7px 10px; border-radius: 99px; font: 800 12.5px/1 var(--text); letter-spacing: .03em; color: var(--ink); opacity: .78; }
.enl-levels a:hover { opacity: 1; }
.enl-levels a.on { background: var(--ink); color: var(--bg); opacity: 1; }
.enl-levels a.soon:not(.on) { opacity: .45; }
@media (max-width: 560px) {
  .enl-top:has(.enl-levels) { flex-wrap: wrap; row-gap: 10px; }
  .enl-levels { order: 9; flex: 1 0 100%; justify-content: space-between; }
  .enl-levels a { flex: 1; text-align: center; }
}

/* ===== enLighten A2 session (2026-11-21): goal lines that contain <strong> or <em> =====
   .el-goals li was a flex row, so every bold or italic piece of a goal became its own column (badly broken at 375 px).
   The goal is now one block of text with the dot placed absolutely, which keeps the same look. */
.el-goals li { display: block; position: relative; padding-left: 36px; }
.el-goals li::before { position: absolute; left: 14px; top: 12px; }

/* ===== enLighten A2 session (2026-11-21): tables on phones =====
   On a narrow screen a table with three or four columns could push the whole lesson page sideways.
   Cells are a little tighter there, and a table that is still too wide scrolls inside its own box. */
@media (max-width: 560px) {
  .el-table { display: block; max-width: 100%; overflow-x: auto; font-size: 15px; }
  .el-table > caption { display: block; }
  .el-table > tbody { display: table; width: 100%; border-collapse: separate; border-spacing: 0; }
  .el-table th, .el-table td { padding: 8px 9px; }
}

/* ---------- B2: site("journal", …) — an academic journal article (B2 U03 and U10 Reading 2; docs/enlighten-b2.md).
   The first post headed "Abstract" is set as a grey summary box; numbered headings in small caps; a table (lead=) sits above the figure. */
.el-text.el-site.journal { --ff: "Source Serif 4", Georgia, "Times New Roman", serif; --jline: #D5D2CA; --jmute: #5E5A52; background: #FFFFFF; color: #1A1A1A; border: 1px solid var(--jline); border-radius: 4px; box-shadow: none; font-family: var(--ff); }
html.dark-mode .el-text.el-site.journal { --jline: #3A3833; --jmute: #A8A398; background: #161513; color: #ECE9E2; }
.el-site.journal .nav { padding: 10px 14px; background: none; border-bottom: 2px solid #7A1F2B; }
html.dark-mode .el-site.journal .nav { border-bottom-color: #C46A76; }
.el-site.journal .nav b { font: 400 15px/1.1 var(--ff); letter-spacing: 0; color: inherit; } .el-site.journal .nav b span { margin-left: 4px; font-weight: 700; font-style: italic; color: #7A1F2B; }
html.dark-mode .el-site.journal .nav b span { color: #E38C98; }
.el-site.journal .nav em { padding: 0; background: none; color: var(--jmute); font: 600 11px/1.2 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: .06em; }
.el-site.journal .page { padding: 16px 16px 8px; }
.el-site.journal h2 { margin: 0 0 10px; font: 700 clamp(22px, 5.8vw, 29px)/1.2 var(--ff); letter-spacing: -.01em; }
.el-site.journal .by { padding: 0 0 10px; margin-bottom: 10px; border-bottom: 1px solid var(--jline); }
.el-site.journal .by .ph { display: none; }
.el-site.journal .by b { font: 600 14px/1.3 var(--ff); font-style: italic; } .el-site.journal .by small { color: var(--jmute); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
.el-site.journal .post { margin: 0 0 12px; }
.el-site.journal .post h3 { margin: 0 0 4px; font: 700 13px/1.2 var(--ff); font-variant: small-caps; letter-spacing: .06em; text-transform: lowercase; color: inherit; }
.el-site.journal p { margin: 0 0 8px; font: 400 17px/1.62 var(--ff); text-align: left; hyphens: auto; }
.el-site.journal .post:not(.post ~ .post) { padding: 10px 12px; border-left: 3px solid #7A1F2B; background: color-mix(in srgb, currentColor 5%, transparent); }
.el-site.journal .post:not(.post ~ .post) p { font-size: 15.5px; font-style: italic; }
.el-site.journal .el-table { margin: 0 0 14px; font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
.el-site.journal .bfig { float: none; width: 100%; margin: 4px 0 12px; }
.el-site.journal .bfig figcaption { color: var(--jmute); font-style: italic; }
.el-site.journal .el-table { width: 100%; table-layout: fixed; font-size: 14.5px; }
.el-site.journal .el-table th, .el-site.journal .el-table td { white-space: normal; overflow-wrap: break-word; }
.el-site.journal .el-table tr > :first-child { width: 38%; }
.el-site.journal .el-table th { letter-spacing: .03em; }
.el-site.journal .el-table th, .el-site.journal .el-table td { padding: 8px 9px; }

/* ===== C1: two new kinds of reading page (docs/enlighten-c1.md). Added by the C1 session, 2026-11-21.
   .el-site.column = a newspaper opinion column (serif headline, columnist byline, drop cap);
   .el-site.paper  = an extract from an academic paper (abstract box, numbered sections, journal running head). */
.el-text.el-site.column { --rf: "Source Serif 4", Georgia, serif; --rh: "Playfair Display", Georgia, serif; background: #FFFDF8; color: #1C1A17; border: 0; border-top: 3px double #1C1A17; }
html.dark-mode .el-text.el-site.column { background: #1A1916; color: #EDE9E1; border-top-color: #EDE9E1; }
.el-site.column .nav { border: 0; border-bottom: 1px solid currentColor; padding: 8px 14px; }
.el-site.column .nav b, .el-site.column .nav b span { color: inherit; font-size: 15px; letter-spacing: .02em; }
.el-site.column .nav em { background: none; color: #A0262E; font-style: normal; font-weight: 700; text-transform: uppercase; font-size: 11.5px; letter-spacing: .14em; padding: 0; }
html.dark-mode .el-site.column .nav em { color: #F08A8F; }
.el-site.column .page { padding: 12px 14px 8px; }
.el-site.column .page > h2 { margin: 4px 0 12px; font: 800 clamp(24px, 6.6vw, 34px)/1.12 var(--rh); letter-spacing: -.01em; color: #1C1A17; }
html.dark-mode .el-site.column .page > h2 { color: #EDE9E1; }
.el-site.column .by { padding: 0 0 10px; margin: 0 0 12px; border-bottom: 1px solid rgba(0, 0, 0, .14); }
html.dark-mode .el-site.column .by { border-bottom-color: rgba(255, 255, 255, .16); }
.el-site.column .by .ph { background: #A0262E; color: #fff; }
.el-site.column .post { margin: 0 0 10px; }
.el-site.column .post h3 { margin: 14px 0 4px; font: 700 18px/1.25 var(--rh); font-style: italic; text-transform: none; letter-spacing: 0; color: inherit; }
.el-site.column p { margin: 0 0 8px; font: 400 17.5px/1.62 var(--rf); }
.el-site.column .page > .post:not(.post ~ .post) p:first-child::first-letter { float: left; margin: 4px 8px 0 0; font: 800 54px/.8 "Playfair Display", Georgia, serif; color: #A0262E; }
html.dark-mode .el-site.column .page > .post:not(.post ~ .post) p:first-child::first-letter { color: #F08A8F; }
.el-text.el-site.paper { --rf: "Source Serif 4", Georgia, serif; --rh: "Libre Baskerville", Georgia, serif; background: #FFFFFF; color: #17191C; border: 0; }
html.dark-mode .el-text.el-site.paper { background: #17191C; color: #E6E8EB; }
.el-site.paper .nav { border: 0; border-bottom: 1px solid #9AA3AD; padding: 8px 14px; }
.el-site.paper .nav b, .el-site.paper .nav b span { color: #2D4A6B; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
html.dark-mode .el-site.paper .nav b, html.dark-mode .el-site.paper .nav b span { color: #9FC0E6; }
.el-site.paper .nav em { background: none; padding: 0; font-size: 12px; font-style: italic; color: inherit; opacity: .75; }
.el-site.paper .page { padding: 14px 16px 8px; }
.el-site.paper .page > h2 { margin: 6px 0 6px; text-align: center; font: 700 clamp(20px, 5.6vw, 26px)/1.25 var(--rh); }
.el-site.paper .sub { margin: 0 0 12px; text-align: center; font-size: 14px; font-style: italic; opacity: .8; }
.el-site.paper .by { justify-content: center; margin: 0 0 12px; }
.el-site.paper .post { margin: 0 0 10px; }
.el-site.paper .post h3 { margin: 12px 0 4px; font: 700 14px/1.3 var(--rh); letter-spacing: .04em; text-transform: none; color: #2D4A6B; }
html.dark-mode .el-site.paper .post h3 { color: #9FC0E6; }
.el-site.paper .page > .post:not(.post ~ .post) { padding: 10px 12px; background: #F1F4F7; border-left: 3px solid #2D4A6B; }
html.dark-mode .el-site.paper .page > .post:not(.post ~ .post) { background: #20252B; border-left-color: #9FC0E6; }
.el-site.paper .page > .post:not(.post ~ .post) p { font-size: 15.5px; }
.el-site.paper p { margin: 0 0 7px; font: 400 16.5px/1.6 var(--rf); text-align: justify; hyphens: auto; }
.el-site.paper .el-table, .el-site.paper .el-bars { font-size: 14px; }
.el-site.column .bfig, .el-site.paper .bfig { float: right; width: 46%; margin: 4px 0 10px 12px; }
@media (min-width: 640px) { .el-site.column .bfig, .el-site.paper .bfig { width: 40%; } }
