/* Help film «Tilpass» for Lingdys pupils: a visual copy of the teacher's results
   view and the Tilpass panel (prod: teacher/tilpasning-panel.js, -button.js),
   on a fixed 1920×1080 stage scaled to its box. Fictional pupils, no test code. */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: block; src: url('/fonts/S6uyw4BMUTPHjx4wXg.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: block; src: url('/fonts/S6u9w4BMUTPHh6UVSwiPGQ.woff2') format('woff2'); }

.hf-box { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #f5f5f4; }
.hf-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; font-family: 'Lato', system-ui, sans-serif; color: #14383C; background: #f5f5f4; overflow: hidden; }
.hf-stage * { box-sizing: border-box; }
.hf-abs { position: absolute; }
.hf-stage [hidden], .hf-page [hidden] { display: none !important; }

/* The teacher view */
.hf-top { left: 0; top: 0; width: 1920px; height: 104px; background: #fff; border-bottom: 2px solid #e7e5e4; display: flex; align-items: center; gap: 18px; padding: 0 120px; }
.hf-logo { width: 46px; height: 52px; }
.hf-brand { font-size: 40px; font-weight: 700; color: #0B3E44; }
.hf-card { left: 120px; top: 150px; width: 1680px; height: 440px; background: #fff; border-radius: 24px; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); }
.hf-test { left: 170px; top: 186px; font-size: 38px; font-weight: 700; color: #0B3E44; }
.hf-th { top: 270px; font-size: 24px; font-weight: 700; color: #57534e; }
.hf-row { left: 150px; width: 1620px; height: 88px; border-top: 2px solid #e7e5e4; }
.hf-name { font-size: 30px; color: #14383C; }
.hf-status { font-size: 24px; font-weight: 700; color: #1d4ed8; background: #dbeafe; border-radius: 999px; padding: 4px 18px; }
.hf-btn { font-size: 24px; font-weight: 700; border-radius: 8px; padding: 8px 14px; white-space: nowrap; color: #78716c; transform: translate(-50%, -50%); }
.hf-btn.on { background: #fef9c3; color: #a16207; }
.hf-badge { font-size: 17px; font-weight: 400; background: #ccfbf1; color: #0B5F69; border-radius: 4px; padding: 1px 7px; margin-left: 10px; vertical-align: 3px; }
.hf-act { font-size: 28px; color: #a8a29e; transform: translateY(-50%); }

/* The Tilpass panel (a modal over the view, as in prod) */
.hf-backdrop { left: 0; top: 0; width: 1920px; height: 1080px; background: rgba(0, 0, 0, .70); }
.hf-dialog { left: 640px; top: 150px; width: 640px; height: 710px; background: #fff; border-radius: 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.hf-title { left: 680px; top: 182px; width: 560px; font-size: 34px; font-weight: 700; color: #0B3E44; }
.hf-sec { left: 680px; width: 560px; border-top: 2px solid #e7e5e4; padding-top: 14px; font-size: 20px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #78716c; }
.hf-label { left: 680px; top: 314px; font-size: 22px; font-weight: 700; color: #57534e; }
.hf-info { left: 1212px; top: 312px; width: 28px; height: 28px; color: #0F6A75; }
.hf-select { left: 680px; top: 342px; width: 560px; height: 60px; border: 2px solid #d6d3d1; border-radius: 14px; font-size: 26px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; background: #fff; color: #14383C; }
.hf-select.focus { border-color: #0F6A75; box-shadow: 0 0 0 4px rgba(15, 106, 117, .2); }
.hf-classline { left: 680px; top: 416px; font-size: 22px; color: #78716c; }
.hf-options { left: 680px; top: 404px; width: 560px; background: #fff; border: 2px solid #d6d3d1; border-radius: 12px; box-shadow: 0 16px 30px rgba(0, 0, 0, .18); overflow: hidden; z-index: 3; }
.hf-opt { height: 45px; font-size: 24px; padding: 0 22px; display: flex; align-items: center; }
.hf-opt.sel { background: #e7e5e4; }
.hf-opt.hover { background: #0F6A75; color: #fff; }
.hf-toggle { left: 714px; width: 60px; height: 32px; border-radius: 999px; background: #d6d3d1; transform: translateY(-50%); }
.hf-toggle::after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: none; }
.hf-toggle.on { background: #14b8a6; }
.hf-toggle.on::after { left: 31px; }
.hf-toggle.off-dis { opacity: .5; }
.hf-tlabel { left: 794px; font-size: 26px; font-weight: 700; color: #0B3E44; transform: translateY(-100%); }
.hf-thint { left: 794px; font-size: 21px; color: #78716c; }
.hf-tdis { opacity: .5; }
.hf-reason { left: 680px; font-size: 21px; color: #78716c; }
.hf-close { left: 1141px; top: 794px; width: 110px; height: 52px; border-radius: 14px; background: #e7e5e4; color: #0B3E44; font-size: 24px; font-weight: 700; display: grid; place-items: center; }

/* Film overlays */
.hf-ring { border: 5px solid #11B49A; border-radius: 14px; box-shadow: 0 0 0 8px rgba(17, 180, 154, .18); pointer-events: none; z-index: 5; }
.hf-cursor { width: 46px; height: 46px; transform-origin: 6px 4px; z-index: 6; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.hf-cursor.pressed { transform: scale(.82); }
.hf-caption { left: 50%; bottom: 46px; width: max-content; max-width: 1560px; transform: translateX(-50%); background: #0B3E44; color: #fff; font-size: 42px; line-height: 1.25; font-weight: 700; border-radius: 18px; padding: 20px 36px; text-align: center; z-index: 7; }
.hf-end { left: 300px; top: 280px; width: 1320px; background: #fff; border-radius: 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); padding: 60px 70px; z-index: 6; }
.hf-end ol { margin: 0; padding: 0 0 0 1.2em; font-size: 40px; line-height: 1.35; color: #0B3E44; }
.hf-end li + li { margin-top: 26px; }
.hf-end .url { margin-top: 54px; font-size: 44px; font-weight: 700; color: #0F6A75; }
