/* Generated by tools/build_pages.py from style.css. Do not edit by hand. */
#teacher-app {
  --board: #1e3a2f;
  --board-deep: #142a21;
  --frame: #7a5332;
  --frame-dark: #4f3420;
  --chalk: #f3efe3;
  --yellow: #f7d25b;
  --pink: #ff8fb3;
  --blue: #7fd0ff;
  --green: #8dffa5;
  --ui-bg: #0f1a15;
  --ui-line: #2a3d33;
  --ui-text: #e8efe6;
  --ui-dim: #9db3a5;
  --danger: #ff8a7a;
  --board-font: 'Kalam', 'Segoe Print', 'Comic Sans MS', cursive;
  --ui-font: 'Mukta', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
#teacher-app, #teacher-app * { box-sizing: border-box; }
#teacher-app, #teacher-app { height: 100%; margin: 0; }
#teacher-app {
  background: var(--ui-bg);
  color: var(--ui-text);
  font: 400 17px/1.45 var(--ui-font);
}
#teacher-app .hidden { display: none !important; }
#teacher-app #app { display: flex; flex-direction: column; height: 100%; }
#teacher-app #stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 10px 10px 0;
  border: 10px solid var(--frame);
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--frame-dark), inset 0 0 60px rgba(0, 0, 0, .45), 0 2px 0 var(--frame-dark);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .06), transparent 55%),
    linear-gradient(160deg, var(--board), var(--board-deep));
  overflow: hidden;
}
#teacher-app #lines {
  position: absolute;
  inset: 0;
  padding: 3vh 165px 3vh 4.5vw;
  display: flex;
  flex-direction: column;
  gap: .28em;
  overflow: hidden;
  font-family: var(--board-font);
  font-size: clamp(24px, 3.1vw, 44px);
  line-height: 1.25;
  color: var(--chalk);
}
#teacher-app #overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#teacher-app #overlay path { transition: opacity .35s; }
#teacher-app #overlay path.fade, #teacher-app .line.fade { opacity: 0; }
#teacher-app .line { flex: 0 0 auto; transition: opacity .35s; text-shadow: 0 0 1px rgba(255, 255, 255, .35); }
#teacher-app .line .txt { display: inline; white-space: pre-wrap; }
#teacher-app .line .ch { opacity: 0; }
#teacher-app .line .ch.on { opacity: 1; }
#teacher-app .line.title { font-size: 1.32em; font-weight: 700; color: var(--yellow); text-align: center; margin-bottom: .1em; }
#teacher-app .line.formula { font-size: 1.15em; color: var(--blue); text-align: center; }
#teacher-app .line.note { font-size: .82em; color: var(--pink); }
#teacher-app .line.diagram { display: flex; justify-content: center; }
#teacher-app .line.diagram svg { height: clamp(130px, 24vh, 210px); width: auto; overflow: visible; }
#teacher-app .seg { fill: none; stroke: var(--chalk); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
#teacher-app .lbl { fill: var(--yellow); font-family: var(--board-font); font-size: 26px; opacity: 0; transition: opacity .4s; }
#teacher-app .lbl.on { opacity: 1; }
#teacher-app #avatar-bubble {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 105px;
  height: 117px;
  border-radius: 14px;
  background: #112e41;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  transition: box-shadow .25s;
  z-index: 7; 
}
#teacher-app #avatar-bubble.speaking { box-shadow: 0 0 0 4px rgba(247, 210, 91, .8), 0 6px 18px rgba(0, 0, 0, .45); }
#teacher-app #avatar { width: 100%; height: 100%; display: block; }
#teacher-app #avatar-canvas { width: 100%; height: 100%; display: block; border-radius: 14px; object-fit: cover; background: #112e41; }
#teacher-app .head { transform-origin: 130px 205px; }
#teacher-app #avatar-bubble.speaking .head { animation: nod 1.3s ease-in-out infinite; }
#teacher-app #eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes nod { 0%, 100% { transform: rotate(-.7deg) translateY(0); } 50% { transform: rotate(.7deg) translateY(-1.2px); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
#teacher-app .think {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  background: var(--chalk); border-radius: 14px; padding: 5px 10px; display: none; gap: 4px;
}
#teacher-app .think i { width: 7px; height: 7px; border-radius: 50%; background: var(--board-deep); animation: pulse 1s infinite; }
#teacher-app .think i:nth-child(2) { animation-delay: .15s; }
#teacher-app .think i:nth-child(3) { animation-delay: .3s; }
#teacher-app #avatar-bubble.thinking .think { display: flex; }
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
#teacher-app #student-chip {
  position: absolute; left: 14px; top: 12px; z-index: 3;
  font-size: 14px; color: var(--ui-dim);
}
#teacher-app #mcq {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(8, 20, 15, .78);
}
#teacher-app .mcq-card {
  width: min(780px, 100%);
  background: #182a22; color: var(--chalk);
  border: 2px solid var(--chalk); border-radius: 10px;
  padding: 18px 22px 20px;
}
#teacher-app .mcq-head { display: flex; justify-content: space-between; align-items: baseline; color: var(--yellow); font-weight: 600; }
#teacher-app .mcq-timer { font-variant-numeric: tabular-nums; font-size: 1.3em; }
#teacher-app .mcq-q { font: 700 clamp(20px, 2.4vw, 28px)/1.3 var(--board-font); margin: 8px 0 14px; }
#teacher-app .mcq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#teacher-app .mcq-opt {
  display: flex; gap: 10px; align-items: baseline; text-align: left;
  padding: 11px 13px; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--chalk);
  border: 2px solid rgba(243, 239, 227, .55);
  font: 500 clamp(16px, 1.8vw, 20px)/1.3 var(--ui-font);
}
#teacher-app .mcq-opt b { color: var(--yellow); }
#teacher-app .mcq-opt:hover:not(:disabled) { border-color: var(--yellow); background: rgba(247, 210, 91, .08); }
#teacher-app .mcq-opt:disabled { cursor: default; }
#teacher-app .mcq-opt.correct { border-color: var(--green); background: rgba(141, 255, 165, .14); }
#teacher-app .mcq-opt.wrong { border-color: var(--danger); background: rgba(255, 138, 122, .14); }
#teacher-app .mcq-bar { height: 8px; border-radius: 4px; background: rgba(243, 239, 227, .18); margin-top: 16px; overflow: hidden; }
#teacher-app .mcq-fill { height: 100%; width: 100%; background: var(--yellow); transition: width .1s linear; }
#teacher-app .mcq-fill.low { background: var(--danger); }
#teacher-app .mcq-result { min-height: 1.6em; margin-top: 10px; font-weight: 600; }
#teacher-app #toast {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 6;
  background: var(--chalk); color: #14231b; padding: 8px 16px; border-radius: 20px;
  font-weight: 500; max-width: 90%; text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
#teacher-app #caption {
  min-height: 56px; padding: 10px 24px; text-align: center;
  font: 500 clamp(16px, 1.7vw, 21px)/1.4 var(--ui-font); color: var(--ui-text);
  display: flex; align-items: center; justify-content: center;
}
#teacher-app #caption.off { display: none; }
#teacher-app .inline { display: inline-flex; align-items: center; gap: 6px; color: var(--ui-dim); font-size: 15px; }
#teacher-app .btn {
  font: 600 16px var(--ui-font);
  padding: 9px 16px; border-radius: 8px; cursor: pointer;
  background: #21362b; color: var(--ui-text); border: 1px solid var(--ui-line);
}
#teacher-app .btn:hover:not(:disabled) { border-color: var(--ui-dim); }
#teacher-app .btn:disabled { opacity: .5; cursor: default; }
#teacher-app .btn.primary { background: var(--yellow); color: #1b2117; border-color: var(--yellow); }
#teacher-app .btn.primary:hover:not(:disabled) { background: #ffdf78; }
#teacher-app .btn.quiet { background: transparent; }
#teacher-app .btn.big { width: 100%; padding: 13px 16px; font-size: 18px; margin-top: 6px; }
#teacher-app input, #teacher-app select, #teacher-app textarea {
  font: 400 16px var(--ui-font); color: var(--ui-text);
  background: #16241d; border: 1px solid var(--ui-line); border-radius: 8px; padding: 9px 11px;
}
#teacher-app textarea { width: 100%; resize: vertical; }
#teacher-app input:focus-visible, #teacher-app select:focus-visible, #teacher-app textarea:focus-visible, #teacher-app .btn:focus-visible, #teacher-app .mcq-opt:focus-visible, #teacher-app .star:focus-visible {
  outline: 2px solid var(--yellow); outline-offset: 2px;
}
#teacher-app .modal {
  position: fixed; inset: 0; z-index: 20; overflow-y: auto;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 5vh 16px; background: rgba(6, 12, 9, .9);
}
#teacher-app .card {
  width: min(520px, 100%); background: #182a22; border: 1px solid var(--ui-line);
  border-radius: 12px; padding: 26px 26px 22px;
}
#teacher-app .card h1 { font: 700 44px/1.1 var(--board-font); color: var(--yellow); margin: 0 0 4px; }
#teacher-app .card h2 { font: 700 34px/1.15 var(--board-font); color: var(--yellow); margin: 0 0 4px; }
#teacher-app .brand-row { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; }
#teacher-app .brand-row h1 { margin: 0; }
#teacher-app .brand-icon { width: 48px; height: 48px; flex-shrink: 0; }
#teacher-app .sub { color: var(--ui-dim); margin: 0 0 18px; }
#teacher-app .field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; font-weight: 500; }
#teacher-app .field input, #teacher-app .field select { width: 100%; }
#teacher-app .row { display: flex; gap: 8px; }
#teacher-app .row select { flex: 1; min-width: 0; }
#teacher-app .note { padding: 9px 12px; border-radius: 8px; background: rgba(247, 210, 91, .1); border: 1px solid rgba(247, 210, 91, .35); margin-bottom: 12px; font-size: 15px; }
#teacher-app .note.error { background: rgba(255, 138, 122, .1); border-color: rgba(255, 138, 122, .5); }
#teacher-app details { margin-top: 18px; border-top: 1px solid var(--ui-line); padding-top: 14px; }
#teacher-app summary { cursor: pointer; font-weight: 600; margin-bottom: 12px; }
#teacher-app .gen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
#teacher-app .gen-grid .wide { grid-column: 1 / -1; }
#teacher-app .foot { color: var(--ui-dim); font-size: 14px; margin: 18px 0 0; }
#teacher-app .foot a { color: var(--ui-text); }
#teacher-app .stars { display: flex; gap: 6px; margin: 4px 0 16px; }
#teacher-app .star { font-size: 38px; line-height: 1; background: none; border: none; color: #3b4f44; cursor: pointer; padding: 2px 4px; }
#teacher-app .star.on { color: var(--yellow); }
#teacher-app .thanks { font-weight: 600; color: var(--green); }
@media (max-width: 800px) {
#teacher-app #mcq { align-items: flex-start; padding-top: 84px; overflow-y: auto; }
#teacher-app #lines { padding-right: 90px; }
#teacher-app #avatar-bubble { width: 64px; height: 72px; top: 10px; right: 10px; border-radius: 12px; }
#teacher-app .mcq-opts { grid-template-columns: 1fr; }
#teacher-app #stage { margin: 6px 6px 0; border-width: 6px; }
}
@media (prefers-reduced-motion: reduce) {
#teacher-app #avatar-bubble.speaking .head, #teacher-app #eyes, #teacher-app .think i { animation: none; }
}
#teacher-app .studio-name { flex: 1; align-self: center; color: var(--green); font-weight: 500; font-size: 15px; }
#teacher-app #controls { display: contents; }
#teacher-app #controls.hidden { display: none !important; }
#teacher-app #player-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 9; padding: 34px 12px 8px; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); transition: opacity .25s; }
#teacher-app #controls.idle #player-bar, #teacher-app #controls.idle #btn-close, #teacher-app #controls.idle #ask-panel { opacity: 0; pointer-events: none; }
#teacher-app #controls.quiz #player-bar, #teacher-app #controls.quiz #ask-panel { display: none; }
#teacher-app #btn-close { position: absolute; top: 12px; left: 12px; z-index: 9; transition: opacity .25s; }
#teacher-app #seek { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 20px; margin: 0 0 2px; background: transparent; cursor: pointer; }
#teacher-app #seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--yellow) var(--pct, 0%), rgba(255, 255, 255, .35) var(--pct, 0%)); }
#teacher-app #seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--yellow); border: 0; }
#teacher-app #seek::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
#teacher-app #seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--yellow); }
#teacher-app #seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--yellow); }
#teacher-app .pbar-row { display: flex; align-items: center; gap: 4px; }
#teacher-app .pbtn { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; font: 600 14px var(--ui-font); cursor: pointer; -webkit-tap-highlight-color: transparent; }
#teacher-app .pbtn:hover, #teacher-app .pbtn:focus-visible { background: rgba(255, 255, 255, .2); outline: none; }
#teacher-app .pbtn:disabled { opacity: .4; cursor: default; }
#teacher-app .pbtn svg { width: 26px; height: 26px; fill: currentColor; }
#teacher-app #btn-pause .ic-play { display: none; }
#teacher-app #btn-pause.is-paused .ic-play { display: block; }
#teacher-app #btn-pause.is-paused .ic-pause { display: none; }
#teacher-app .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#teacher-app .plabel { margin-left: 6px; font-size: 13px; opacity: .92; white-space: nowrap; }
#teacher-app .pspacer { flex: 1; }
#teacher-app .pbtn.txt { width: auto; padding: 0 14px; border-radius: 21px; font-size: 14px; }
#teacher-app .pbtn .short { display: none; }
#teacher-app #cc-toggle { position: relative; }
#teacher-app #cc-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
#teacher-app #cc-toggle span { border: 2px solid currentColor; border-radius: 5px; padding: 0 6px; font-size: 13px; font-weight: 700; line-height: 20px; opacity: .6; }
#teacher-app #cc-toggle input:checked + span { opacity: 1; color: var(--yellow); }
#teacher-app #cc-toggle input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
#teacher-app .pmenu-wrap { position: relative; }
#teacher-app #menu { position: absolute; right: 0; bottom: 50px; min-width: 210px; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; background: rgba(16, 28, 36, .96); z-index: 10; }
#teacher-app #menu.hidden { display: none; }
#teacher-app #menu .inline { display: flex; justify-content: space-between; color: #fff; }
#teacher-app #ask-panel { position: absolute; left: 12px; right: 12px; bottom: 82px; z-index: 9; padding: 8px; border-radius: 12px; background: rgba(16, 28, 36, .94); transition: opacity .25s; }
#teacher-app #ask-form { display: flex; gap: 8px; }
#teacher-app #ask-input { flex: 1; min-width: 0; }
@media (max-width: 560px) {
#teacher-app .plabel { display: none; }
#teacher-app .pbtn .long { display: none; }
#teacher-app .pbtn .short { display: inline; }
#teacher-app .pbtn.txt { padding: 0 10px; }
#teacher-app .pbtn { min-width: 38px; height: 38px; }
#teacher-app #player-bar { padding: 30px 6px 6px; }
#teacher-app #ask-panel { bottom: 74px; left: 6px; right: 6px; }
}
#teacher-app .seekrow { display: flex; align-items: center; gap: 10px; }
#teacher-app .seekwrap { position: relative; flex: 1; min-width: 0; }
#teacher-app .seekwrap #seek { position: relative; z-index: 1; margin: 0; }
#teacher-app .ticks { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
#teacher-app .ticks i { position: absolute; top: 50%; width: 2px; height: 10px; margin: -5px 0 0 -1px; border-radius: 1px; background: rgba(255, 255, 255, .75); }
#teacher-app .plabel.total { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
#teacher-app .plabel.total { display: inline; font-size: 12px; }
}
/* the teacher opens on top of the practice-test page */
#teacher-app { position: fixed; inset: 0; z-index: 60; overflow: hidden; }
#teacher-app input, #teacher-app select, #teacher-app textarea { width: auto; }
#teacher-app .btn:hover:not(:disabled) { background: #2b4538; }

