/* Speaker notes and presenter view. */
/* ── Speaker notes and presenter view (instructor's laptop; the projector shows only the slide) ── */
.inotes { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.inotes div { border-left: 3px solid var(--p2); padding: 2px 0 2px 10px; }
.inotes div.ans { border-left-color: var(--ok); }
.inotes div.warn { border-left-color: var(--bad); }
.inotes dt { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.inotes dd { margin: 2px 0 0; font-size: .92rem; line-height: 1.5; }
.inotes dd .muted { display: block; font-size: .84rem; margin-top: 2px; }
.sp-notes .ip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sp-notes .ip-head h3 { margin: 0; }
.sp-notes .ip-head .mono { font-size: .76rem; color: var(--ink-3); }
.lesson.presenter { overflow: hidden; }
.lesson.presenter .lesson-head { display: none; }
.pv { position: fixed; inset: 0; z-index: 5; background: var(--paper); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 12px) max(16px, env(safe-area-inset-left, 0px)); }
.pv-top { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.pv-top .ttl { flex: 1 1 220px; min-width: 0; }
.pv-top .ttl .k { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--brass); }
.pv-top .ttl b { display: block; font-family: var(--f-display); font-size: 1.3rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-clock { display: flex; align-items: baseline; gap: 8px; }
.pv-clock b { font-family: var(--f-mono); font-size: 1.5rem; }
.pv-clock small, .pv-link { font-size: .76rem; color: var(--ink-2); }
.pv-link::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); margin-right: 6px; }
.pv-link.on::before { background: var(--ok); }
.pv-main { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 16px; min-height: 0; }
.pv-cur { min-height: 0; display: flex; }
.pv-cur .stage-box, .pv-next-box { flex: 1; position: relative; overflow: hidden; }
.pv-cur .stage, .pv-next-box .stage { position: absolute; top: 0; left: 0; transform-origin: 0 0; min-height: 0; }
.pv-side { min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 2px 4px 4px; }
.pv-side .panel { padding: 14px 16px; }
.pv-time { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .8rem; color: var(--ink-2); }
.pv-time b { font-family: var(--f-mono); font-size: 1.1rem; color: var(--ink); }
.pv-time.over b { color: var(--bad); }
.pv-next-box { border-radius: 10px; }
.still, .still * { animation: none !important; transition: none !important; pointer-events: none; }
.pv-help { font-size: .8rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .lesson.presenter { overflow-y: auto; }
  .pv { position: static; display: flex; flex-direction: column; min-height: 100%; }
  .pv-main { display: flex; flex-direction: column; }
  .pv-cur .stage-box { height: 62vw; flex: none; width: 100%; }
  .pv-side { overflow: visible; }
}
