/* The teaching film: two views, wide (960 x 600) and narrow (380 x 700), drawn in design pixels.
   Colours: blue = the AI teacher, green = strong, amber = shaky / needs attention, red = weak / lost.
   The connecting element: the seats of the class. */
.tf { overflow: hidden; }
.tf .bg { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 15%, color-mix(in srgb, var(--desk) 65%, var(--sheet)) 0%, var(--desk) 70%); }
.tf .sc { position: absolute; inset: 0; opacity: 0; }
.tf .cap-host { position: absolute; left: 0; right: 0; bottom: 16px; height: 96px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.tf .cap { font-size: 30px; padding: 0 40px; }
.tf .cap.fin { font-size: 38px; }
/* phones: the caption floats over the bottom of the picture, on a card */
.narrow .cap-host { bottom: 10px; height: 120px; }
.narrow .cap { font-size: 23px; left: 10px; right: 10px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--card) 94%, transparent); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.narrow .cap.fin { font-size: 27px; }
.tf .card { overflow: hidden; }
.tf .cd-t { font-size: 18px; }
.tf .chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.tf .chip.ai-ch { background: var(--blue-soft); border-color: transparent; color: var(--blue-t); }
.tf .pill { font-size: 11.5px; padding: 2px 9px; }
.tf .qb { display: flex; flex-wrap: wrap; gap: 6px; }
.tf .qb b { font-weight: 600; font-size: 12px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); transition: background-color .2s, color .2s, transform .2s; }
.tf .qb b.qy { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tf .qb b[data-s="tap"] { transform: scale(.94); }
.tf .qb b[data-s="on"] { background: var(--green); border-color: var(--green); color: #fff; }
.tf .qb b[data-s="hl"] { border-color: var(--blue); color: var(--blue-t); background: var(--blue-soft); }
.tf .lines { left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tf .lines path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; opacity: .7; }

/* the captions: one line arriving word by word, a serif, centred over the lower part of the stage */
.stg .cap { position: absolute; left: 24px; right: 24px; text-align: center; font-family: var(--serif); font-size: 32px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.stg .cap span { display: inline-block; }
.stg .ghost { opacity: 0; }

/* the seats: the connecting element */
.tf .seats { display: grid; grid-template-columns: repeat(8, var(--sz)); gap: var(--gp); --sz: 30px; --gp: 12px; }
.narrow .seats { --sz: 26px; --gp: 10px; }
.tf .st { position: relative; display: block; width: var(--sz); height: var(--sz); opacity: 0; }
.tf .st::before { content: ""; position: absolute; left: 50%; top: 0; width: 42%; height: 42%; transform: translateX(-50%); border-radius: 50%; background: var(--ink-3); transition: background-color .35s var(--ease); }
.tf .st::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 46%; border-radius: 6px 6px 3px 3px; background: color-mix(in srgb, var(--ink-3) 55%, var(--desk)); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.tf .st[data-s~="hand"], .tf .st[data-s~="hand2"] { background: linear-gradient(var(--amber), var(--amber)) 86% 0 / 3px 40% no-repeat; }
.tf .st[data-s~="hand"]::before, .tf .st[data-s~="hand2"]::before { background: var(--amber); }
.tf .st[data-s~="hand"]::after, .tf .st[data-s~="hand2"]::after { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.tf .st[data-s~="hand2"]::after { box-shadow: none; }
.tf .st[data-s~="lost"]::before, .tf .st[data-s~="weak"]::before { background: var(--red); }
.tf .st[data-s~="lost"]::after, .tf .st[data-s~="weak"]::after { background: color-mix(in srgb, var(--red) 70%, var(--desk)); }
.tf .st[data-s~="bored"]::before { background: color-mix(in srgb, var(--ink-3) 40%, var(--desk)); }
.tf .st[data-s~="bored"]::after { background: color-mix(in srgb, var(--ink-3) 22%, var(--desk)); }
.tf .st[data-s~="dim"]::before { background: color-mix(in srgb, var(--ink-3) 45%, var(--desk)); }
.tf .st[data-s~="dim"]::after { background: color-mix(in srgb, var(--ink-3) 25%, var(--desk)); }
.tf .st[data-s~="ok"]::before { background: var(--green); }
.tf .st[data-s~="ok"]::after { background: color-mix(in srgb, var(--green) 70%, var(--desk)); }
.tf .st[data-s~="shaky"]::before { background: var(--amber); }
.tf .st[data-s~="shaky"]::after { background: color-mix(in srgb, var(--amber) 70%, var(--desk)); }
.tf .st[data-s~="ring"]::after { box-shadow: 0 0 0 2px var(--desk), 0 0 0 4px var(--blue); }
.tf .st[data-s~="lit"]::before { background: var(--blue); }
.tf .st[data-s~="lit"]::after { background: color-mix(in srgb, var(--blue) 65%, var(--desk)); box-shadow: 0 0 0 3px var(--blue-soft); }

/* 1-2 and 8: the classroom */
.tf .cnt { left: 40px; top: 36px; display: flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--ink-2); opacity: 0; }
.tf .cnt b { font-size: 22px; color: var(--ink); font-weight: 500; }
.tf .cnt i { width: 1px; height: 18px; background: var(--line-2); margin: 0 8px; align-self: center; }
.tf .board { left: 250px; top: 36px; width: 460px; height: 92px; border-radius: 8px; background: var(--board); color: var(--chalk); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: inset 0 0 0 6px #5B4632; opacity: 0; }
.tf .bd-t { font-family: var(--serif); font-size: 26px; line-height: 1; }
.tf .bd-f { font-family: var(--mono); font-size: 15px; opacity: .85; }
.tf .tchr { left: 455px; top: 138px; width: 50px; height: 58px; color: var(--ink); opacity: 0; }
.tf .tchr svg { width: 100%; height: 100%; fill: currentColor; }
.tf .vac { left: 380px; top: 140px; width: 200px; height: 58px; display: flex; align-items: center; justify-content: center; border: 2px dashed var(--red); border-radius: 12px; color: var(--red-t); font-weight: 600; font-size: 12.5px; text-align: center; padding: 0 10px; background: var(--red-soft); opacity: 0; }
.tf .grid1 { left: 314px; top: 220px; }
.tf .tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; font-size: 12.5px; opacity: 0; }
.tf .tag.amb { color: var(--amber-t); background: var(--amber-soft); }
.tf .tag.red { color: var(--red-t); background: var(--red-soft); }
.tf .tag.gry { color: var(--ink-2); background: var(--line); }
.wide .t-hand { left: 656px; top: 390px; }
.wide .t-lost { left: 246px; top: 306px; }
.wide .t-bored { left: 656px; top: 263px; }
.tf .stat { left: 30px; top: 150px; width: 212px; padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 4px; opacity: 0; }
.tf .st-k { font-size: 12px; color: var(--ink-3); }
.tf .st-n { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1.05; white-space: nowrap; }
.tf .st-s { font-size: 13px; font-weight: 600; color: var(--red-t); opacity: 0; }
.tf .st-src { font-size: 10.5px; color: var(--ink-3); margin-top: 6px; }
.tf .tt { left: 726px; top: 150px; width: 204px; opacity: 0; }
.tf .tt-r { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; transition: background-color .3s; }
.tf .tt-r:last-child { border-bottom: 0; }
.tf .tt-r em { font-style: normal; font-weight: 600; font-size: 11.5px; }
.tf .tt-r em.ok { color: var(--green-t); } .tf .tt-r em.sh { color: var(--amber-t); } .tf .tt-r em.no { color: var(--red-t); }
.tf .tt-r[data-s="on"] { background: var(--red-soft); }
.narrow .cnt { left: 20px; top: 18px; }
.narrow .board { left: 40px; top: 56px; width: 300px; height: 76px; }
.narrow .bd-t { font-size: 22px; }
.narrow .tchr { left: 167px; top: 142px; width: 46px; height: 54px; }
.narrow .vac { left: 90px; top: 142px; width: 200px; height: 54px; }
.narrow .grid1 { left: 51px; top: 214px; }
.narrow .t-hand { left: 14px; top: 398px; }
.narrow .t-lost { left: 166px; top: 398px; }
.narrow .t-bored { left: 230px; top: 398px; }
.narrow .stat { left: 14px; top: 400px; width: 172px; padding: 12px; }
.narrow .st-n { font-size: 32px; }
.narrow .tt { left: 196px; top: 400px; width: 170px; }
.narrow .tt-r { padding: 6px 10px; font-size: 11.5px; }
.narrow .tt .cd-h { padding: 9px 10px 7px; }
.tf .s8 .tchr { left: 405px; }
.tf .aib { left: 470px; top: 142px; display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-t); font-weight: 600; font-size: 13px; opacity: 0; }
.tf .aib .face { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.narrow .s8 .tchr { left: 96px; }
.narrow .aib { left: 156px; top: 146px; }
.tf .hosts { left: 0; right: 0; top: 444px; display: flex; justify-content: center; align-items: center; gap: 10px; opacity: 0; }
.tf .hosts .or { color: var(--ink-3); font-size: 13px; }
.narrow .hosts { top: 404px; }

/* the teacher's face (a still of the real teacher) */
.tf .face { display: block; overflow: hidden; background: linear-gradient(160deg, #C9B8A8, #8C7466); }
.tf .face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* 3: syllabus, principles, plan */
.tf .doc { width: 272px; opacity: 0; }
.tf .doc ul, .tf .plan ol { list-style: none; margin: 0; padding: 8px 14px 12px; }
.tf .doc li { padding: 5px 8px; margin: 0 -8px; border-radius: 6px; font-size: 12.5px; color: var(--ink-2); transition: background-color .3s, color .3s; }
.tf .doc li[data-s="hl"] { background: var(--blue-soft); color: var(--ink); }
.tf .doc li[data-s="rd"]::after { content: " \2713"; color: var(--blue); font-weight: 600; }
.wide .syl { left: 40px; top: 50px; }
.wide .pri { left: 40px; top: 268px; }
.tf .ai { left: 432px; top: 202px; width: 100px; height: 100px; opacity: 0; }
.tf .ai-r { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); opacity: .35; }
.tf .ai[data-s="on"] .ai-r { animation: tfpulse 1.6s var(--ease) infinite; }
@keyframes tfpulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.35); opacity: 0; } }
.tf .ai-c { position: absolute; inset: 10px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px var(--blue); transition: background-color .4s; }
.tf .ai-c b { font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.tf .ai-c small { font-size: 10.5px; opacity: .9; }
.tf .ai[data-s="done"] .ai-c { background: var(--green); box-shadow: 0 10px 24px -10px var(--green); }
.tf .plan { left: 620px; top: 70px; width: 300px; opacity: 0; }
.tf .plan li { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; font-size: 12.5px; border-bottom: 1px solid var(--line); opacity: 0; }
.tf .plan li:last-child { border-bottom: 0; }
.tf .plan li b { color: var(--blue-t); font-weight: 500; }
.tf .apw { position: relative; height: 46px; border-top: 1px solid var(--line); }
.tf .ap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; background: var(--amber-soft); font-size: 12px; font-weight: 600; color: var(--amber-t); opacity: 0; }
.tf .ap-ok { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--green-soft); color: var(--green-t); font-weight: 600; font-size: 12.5px; opacity: 0; }
.narrow .doc { width: 170px; }
.narrow .doc li { font-size: 11px; padding: 4px 6px; margin: 0 -6px; }
.narrow .doc ul { padding: 6px 10px 8px; }
.narrow .doc .cd-h { padding: 10px 10px 8px; flex-direction: column; gap: 2px; }
.narrow .syl { left: 14px; top: 16px; }
.narrow .pri { left: 196px; top: 16px; }
.narrow .ai { left: 140px; top: 238px; }
.narrow .plan { left: 30px; top: 360px; width: 320px; }

/* 4: the class as the student sees it */
.tf .room4 { left: 36px; top: 26px; width: 610px; height: 420px; opacity: 0; display: grid; grid-template-columns: 230px 1fr; grid-template-rows: auto 170px 1fr auto; gap: 10px; padding: 0 12px 12px; }
.tf .r4-h { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 12px 2px 0; font-weight: 600; font-size: 13px; }
.tf .r4-p { margin-left: auto; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.tf .r4-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }
.tf .r4-face { position: relative; border-radius: 10px; overflow: hidden; opacity: 0; }
.tf .r4-face .face { position: absolute; inset: 0; }
.tf .r4-n { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); padding: 3px 8px; border-radius: 999px; }
.tf .wave { position: absolute; right: 8px; bottom: 9px; display: flex; gap: 2px; align-items: center; height: 16px; opacity: 0; }
.tf .wave i { display: block; width: 3px; height: 14px; border-radius: 2px; background: #fff; transform-origin: 50% 50%; }
.tf .r4-board { position: relative; border-radius: 10px; background: var(--board); color: var(--chalk); padding: 12px 14px; opacity: 0; }
.tf .b4-f { display: block; font-family: var(--mono); font-size: 17px; }
.tf .r4-board svg { position: absolute; right: 8px; top: 34px; width: 200px; height: 92px; }
.tf .r4-board path { fill: none; stroke: var(--chalk); stroke-width: 2; stroke-linecap: round; }
.tf .r4-board circle { fill: var(--chalk); opacity: 0; }
.tf .b4-n { position: absolute; left: 14px; bottom: 12px; font-size: 12px; font-style: italic; opacity: 0; }
.tf .r4-lab { position: relative; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); padding: 8px 10px; opacity: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.tf .lb-t { grid-column: 1 / -1; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.tf .r4-lab svg { width: 100%; height: 96px; }
.tf .r4-lab path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.tf .r4-lab .lb-bar { stroke-width: 4; }
.tf .r4-lab circle { fill: var(--blue); }
.tf .pend { transform-origin: 60px 6px; }
.tf .lb-r { border-collapse: collapse; font-size: 11.5px; justify-self: end; }
.tf .lb-r th { font-weight: 500; color: var(--ink-3); text-align: right; padding: 2px 6px; border-bottom: 1px solid var(--line-2); }
.tf .lb-r td { text-align: right; padding: 3px 6px; }
.tf .lb-r tr[data-k] { opacity: 0; }
.tf .r4-stop { border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; justify-content: center; opacity: 0; }
.tf .r4-stop > b { font-family: var(--serif); font-weight: 400; font-size: 21px; }
.tf .r4-sub { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2); padding: 0 4px; opacity: 0; }
.tf .mk { left: 670px; top: 26px; width: 254px; opacity: 0; }
.tf .mk-r { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); transition: color .3s, background-color .3s; }
.tf .mk-r:last-child { border-bottom: 0; }
.tf .mk-r .tk { background-color: var(--line-2); transition: background-color .3s; }
.tf .mk-r .tk[data-s="on"] { background-color: var(--green); }
.tf .mk-r[data-s="pub"] { background: var(--green-soft); color: var(--green-t); font-weight: 600; }
.narrow .room4 { left: 12px; top: 12px; width: 356px; height: 560px; grid-template-columns: 1fr; grid-template-rows: auto 128px 112px 108px auto auto; gap: 8px; padding: 0 10px 10px; }
.narrow .r4-board svg { width: 130px; height: 60px; top: 36px; }
.narrow .r4-stop { padding: 10px; gap: 8px; }
.narrow .r4-stop > b { font-size: 18px; }
.narrow .r4-sub { font-size: 12.5px; }
.narrow .mk { display: none; }

/* 5: two pathways */
.tf .chip.top { left: 396px; top: 22px; opacity: 0; }
.tf .pk { margin: 0 0 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-t); }
.tf .pa h4, .tf .pb2 h4 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.1; margin: 0 0 12px; }
.tf .pa { left: 40px; top: 104px; width: 400px; opacity: 0; }
.tf .pa-b { display: flex; gap: 16px; align-items: center; }
.tf .pa-c { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; font-weight: 600; font-size: 13px; width: 132px; flex: none; }
.tf .pa-c .num { font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.tf .pa .seats { --sz: 22px; --gp: 6px; }
.tf .pa-n { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-2); opacity: 0; }
.tf .pb2 { left: 500px; top: 104px; width: 424px; opacity: 0; }
.tf .live { position: relative; display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 10px; opacity: 0; }
.tf .lv-f { position: relative; height: 112px; border-radius: 8px; overflow: hidden; }
.tf .lv-f .face { position: absolute; inset: 0; }
.tf .lv-l { position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 5px; background: rgba(0,0,0,.5); color: #fff; font-size: 10.5px; font-weight: 600; padding: 2px 8px 2px 6px; border-radius: 999px; }
.tf .lv-l i { width: 7px; height: 7px; border-radius: 50%; background: #E5484D; }
.tf .lv-s p { margin: 0 0 6px; font-size: 12px; line-height: 1.35; color: var(--ink-2); opacity: 0; }
.tf .lv-s p b { display: block; font-size: 10.5px; color: var(--blue-t); text-transform: uppercase; letter-spacing: .06em; }
.tf .lv-s p.me b { color: var(--ink-3); }
.tf .wave.me { right: 12px; bottom: 10px; }
.tf .wave.me i { background: var(--ink-3); }
.tf .prof { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 12px; opacity: 0; }
.tf .prof > b { font-size: 13px; margin-right: 4px; }
.tf .own { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-weight: 600; font-size: 13px; opacity: 0; }
.narrow .chip.top { left: 104px; top: 14px; }
.narrow .s5 .lines { display: none; }
.narrow .pa { left: 14px; top: 60px; width: 352px; }
.narrow .pa h4, .narrow .pb2 h4 { font-size: 20px; margin-bottom: 8px; }
.narrow .pa-c { width: 104px; padding: 10px; font-size: 12px; }
.narrow .pa .seats { --sz: 20px; --gp: 7px; }
.narrow .pa-n { margin-top: 8px; font-size: 12.5px; }
.narrow .pb2 { left: 14px; top: 290px; width: 352px; }
.narrow .live { grid-template-columns: 96px 1fr; gap: 10px; padding: 8px; }
.narrow .lv-f { height: 100px; }
.narrow .lv-s p { font-size: 11px; margin-bottom: 4px; }
.narrow .prof { padding: 8px 10px; gap: 4px; }
.narrow .prof .pill { font-size: 10.5px; }
.narrow .own { padding: 8px 10px; font-size: 12px; }

/* 6: where each student stands */
.tf .grid6 { left: 50px; top: 70px; }
.tf .g6-l { display: block; margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.tf .dash { left: 430px; top: 40px; width: 494px; opacity: 0; }
.tf .db-r { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.tf .db-r[data-s="hl"] { background: var(--amber-soft); }
.tf .db-r[data-s="done"] { background: var(--green-soft); }
.tf .db-n { font-size: 13px; font-weight: 600; }
.tf .db-bw { position: relative; display: block; height: 10px; }
.tf .db-b { position: absolute; inset: 0; display: flex; border-radius: 5px; overflow: hidden; background: var(--line); }
.tf .db-af { opacity: 0; }
.tf .db-b i { display: block; height: 100%; }
.tf .db-b i.g { background: var(--green); } .tf .db-b i.a2 { background: var(--amber); } .tf .db-b i.r { background: var(--red); }
.tf .db-v { font-size: 12px; color: var(--ink-3); }
.tf .db-v b { font-weight: 500; }
.tf .db-v b.g { color: var(--green-t); } .tf .db-v b.a2 { color: var(--amber-t); } .tf .db-v b.r { color: var(--red-t); }
.tf .db-key { display: flex; gap: 14px; padding: 9px 16px; font-size: 11.5px; color: var(--ink-3); }
.tf .db-key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.tf .db-key i.g { background: var(--green); } .tf .db-key i.a2 { background: var(--amber); } .tf .db-key i.r { background: var(--red); }
.tf .db-x { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; opacity: 0; }
.narrow .grid6 { left: 51px; top: 18px; }
.narrow .g6-l { margin-top: 8px; }
.narrow .dash { left: 12px; top: 232px; width: 356px; }
.narrow .db-r { padding: 8px 12px; }
.narrow .db-key { padding: 7px 12px; }
.narrow .db-x { padding: 9px 12px; font-size: 11.5px; flex-wrap: wrap; gap: 6px; }

/* 7: the mock exam */
.tf .paper7 { left: 40px; top: 36px; width: 380px; opacity: 0; }
.tf .q7 { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: baseline; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13px; transition: background-color .3s; }
.tf .q7:last-child { border-bottom: 0; }
.tf .q7 b { color: var(--ink-3); font-weight: 500; }
.tf .q7 em { font-style: normal; color: var(--ink-3); font-size: 12px; }
.tf .q7[data-s="hl"] { background: var(--blue-soft); }
.tf .q7[data-s="hl"] b { color: var(--blue-t); }
.tf .q7[data-s="weak"] { background: var(--red-soft); }
.tf .coach { left: 450px; top: 36px; width: 474px; display: flex; flex-direction: column; gap: 12px; }
.tf .co-t { display: flex; gap: 12px; align-items: center; padding: 10px; opacity: 0; }
.tf .co-f { position: relative; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; }
.tf .co-f .face { position: absolute; inset: 0; }
.tf .co-t p { margin: 0; font-size: 14.5px; line-height: 1.4; }
.tf .co-p { padding: 12px 14px; opacity: 0; }
.tf .co-h { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.tf .tp { display: flex; gap: 3px; }
.tf .tp i { flex-basis: 0; display: flex; flex-direction: column; gap: 2px; padding: 6px 5px; border-radius: 6px; background: var(--blue-soft); font-style: normal; opacity: 0; transform-origin: 0 50%; min-width: 0; }
.tf .tp i:first-child, .tf .tp i:nth-child(2) { background: color-mix(in srgb, var(--blue) 26%, transparent); }
.tf .tp i:last-child { background: var(--line); }
.tf .tp b { font-size: 11.5px; font-weight: 600; }
.tf .tp em { font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.tf .co-tm { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-3); text-align: right; }
.tf .co-r { display: flex; gap: 14px; align-items: center; padding: 12px 14px; opacity: 0; }
.tf .co-s { font-size: 28px; font-weight: 500; flex: none; }
.tf .co-r > span { font-size: 13px; color: var(--ink-2); }
.narrow .paper7 { left: 12px; top: 12px; width: 356px; }
.narrow .q7 { padding: 6px 12px; font-size: 12px; }
.narrow .paper7 .cd-h { padding: 10px 12px 8px; }
.narrow .coach { left: 12px; top: 296px; width: 356px; gap: 8px; }
.narrow .co-t p { font-size: 13px; }
.narrow .co-f { width: 52px; height: 52px; }
.narrow .tp b { font-size: 10px; } .narrow .tp em { font-size: 9.5px; }
.narrow .co-s { font-size: 24px; }
.narrow .co-r > span { font-size: 12px; }

/* stills cut from the film */
.still .tf .cap-host { display: none; }
