← Files Video Moment FinderARCHIVED FILE

templates/study-guide.html

8.25 KB · Dec 3, 2026 · 06:18 UTC

↓ Download file

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="referrer" content="no-referrer">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src data:; style-src 'unsafe-inline'; script-src 'unsafe-inline'; base-uri 'none'; form-action 'none'">
<title>{{TITLE}} · VMF</title>
<style>
:root{color-scheme:light;--paper:#f7f5ee;--ink:#183329;--muted:#56665d;--line:#d7ddd2;--accent:#b94b27;--card:#fffef9;--soft:#e7ece1;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:17px;line-height:1.65}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.22em}a:hover{color:var(--accent)}a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:normal;letter-spacing:-.035em;line-height:1.12}h1{font-size:clamp(2.7rem,5.5vw,5rem);max-width:900px;margin:.45em 0}h2{font-size:clamp(1.8rem,3vw,2.7rem);margin-bottom:.6em}h3{font-size:1.08rem;line-height:1.5}p,li{max-width:75ch}p{margin-bottom:1.1em}li{margin:.45em 0}ul{padding-left:1.3em}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-100px;left:16px;background:white;padding:12px;z-index:5}.skip:focus{top:10px}.topbar{border-bottom:1px solid var(--line);padding:19px clamp(20px,5vw,80px);display:flex;justify-content:space-between;gap:16px;font-size:.72rem;letter-spacing:.15em;text-transform:uppercase}.wordmark{font-weight:800}.wordmark:before{content:"";display:inline-block;background:var(--accent);width:10px;height:10px;border-radius:50%;margin-right:10px}.topbar span:last-child{color:var(--muted)}.hero{padding:54px clamp(20px,5vw,80px) 48px;border-bottom:1px solid var(--line)}.eyebrow{font-size:.68rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:16px}.scope{display:inline-block;font-size:.76rem;padding:5px 12px;border:1px solid var(--line);border-radius:100px;background:var(--soft)}.subtitle{font-size:1.15rem;color:var(--muted);max-width:680px;margin-bottom:24px}.lecture{font-size:.78rem;color:var(--muted);max-width:850px}.layout{display:grid;grid-template-columns:260px minmax(0,900px);gap:clamp(32px,5vw,90px);padding:44px clamp(20px,5vw,80px);max-width:1510px;margin:auto}aside{align-self:start;position:sticky;top:24px}nav a{display:flex;text-decoration:none;gap:15px;font-size:.78rem;padding:12px 0;border-bottom:1px solid var(--line)}nav a span{color:var(--accent);font-size:.68rem;padding-top:2px}nav p{font-size:.65rem;letter-spacing:.13em;font-weight:800;text-transform:uppercase}.sidebar-note{font-size:.7rem;color:var(--muted);margin-top:28px;line-height:1.65}.lesson-section{scroll-margin-top:24px;padding-bottom:42px;margin-bottom:40px;border-bottom:1px solid var(--line)}.citations{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:.69rem;color:var(--muted);margin-top:25px}.timestamp{display:inline-block;font-variant-numeric:tabular-nums;font-size:.7rem;font-weight:650;background:var(--soft);border-radius:6px;padding:4px 9px;text-decoration:none}.experiment{background:var(--soft);padding:30px;border-radius:14px;border:0}.experiment label{display:block;font-weight:700;font-size:.85rem}.experiment input{width:min(100%,360px);accent-color:var(--ink)}#matrix-description{font-size:.82rem;margin:18px 0}#pair-matrix{display:grid;gap:4px;max-width:420px;aspect-ratio:1;margin:24px 0}#pair-matrix span{background:#bb563e;border-radius:3px}#pair-matrix .positive{background:#487743}#pair-matrix .self{background:#f7f5ee;border:1px solid #abb8aa}.question{background:var(--card);padding:25px 28px;margin:18px 0;border:1px solid var(--line);border-radius:12px}details{border-top:1px solid var(--line);padding:11px 0}summary{cursor:pointer;font-size:.82rem;font-weight:650}details p{margin:14px 0 0;font-size:.9rem}.takeaways{background:var(--ink);color:var(--paper);padding:32px;border-radius:14px;margin-bottom:42px}.takeaways .eyebrow{color:#d8b482}.takeaways li{font-size:.95rem}.source{padding:24px 0;border-top:1px solid var(--line);font-size:.8rem;scroll-margin-top:24px}.source-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:14px}.source-heading strong{font-size:.73rem;font-weight:700}.source-frame{margin:0;background:var(--card);padding:16px;border:1px solid var(--line);border-radius:10px}.source-frame img{display:block;width:min(100%,640px);height:auto;margin:auto}.source-frame figcaption{font-size:.74rem;color:var(--muted);margin:15px 0 0;max-width:75ch}.image-fallback{padding:15px;background:var(--soft);font-style:italic}.source-note{font-size:.8rem;color:var(--muted)}footer{font-size:.7rem;padding:24px clamp(20px,5vw,80px);border-top:1px solid var(--line);color:var(--muted)}
@media(max-width:800px){.layout{grid-template-columns:1fr;gap:35px;padding-top:26px}aside{position:static}nav{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}nav p{grid-column:1/-1;margin-bottom:8px}.sidebar-note{margin-top:16px}.hero{padding-top:35px}.topbar{font-size:.62rem;letter-spacing:.1em}.question,.experiment,.takeaways{padding:23px}.source-heading{flex-wrap:wrap}}
@media print{aside,.topbar,.skip,input{display:none}.layout{display:block;padding:0}.hero{padding:0 0 20px}body{background:white;font-size:11pt}.question,figure,.source{break-inside:avoid}.lesson-section{margin-bottom:20px;padding-bottom:20px}a{color:inherit}.takeaways{background:white;color:var(--ink);border:1px solid var(--line)}footer{padding:15px 0}details{display:block}}
</style>
</head>
<body>
<a class="skip" href="#main">Skip to lesson</a>
<header class="topbar"><span class="wordmark">Video Moment Finder</span><span>Learning from evidence</span></header>
<div class="hero"><span class="scope">{{COVERAGE}}</span><h1>{{TITLE}}</h1><p class="subtitle">{{SUBTITLE}}</p><p class="lecture">{{LECTURE}}</p></div>
<div class="layout"><aside><nav aria-label="Guide contents"><p>In this guide</p>{{NAV}}<a href="#practice"><span>+</span>Try it yourself</a><a href="#source-notes"><span>+</span>Source notes</a></nav><p class="sidebar-note">AI-assisted study guide. Lecture claims have timestamped evidence. Examples and practice are marked as generated. Source playback may require your connected account.</p></aside>
<main id="main">{{SECTIONS}}{{INTERACTION}}<section id="practice" class="lesson-section"><p class="eyebrow">Generated practice</p><h2>Make the idea yours</h2><p>Try each question before opening a hint or answer.</p>{{PRACTICE}}</section><section id="takeaways" class="takeaways"><p class="eyebrow">Keep these ideas</p><h2>What to take with you</h2><ul>{{TAKEAWAYS}}</ul></section><section id="source-notes"><p class="eyebrow">Evidence, scope & limitations</p><h2>Go back to the source</h2><p class="source-note">{{COVERAGE}}. {{GAPS}}</p><p class="source-note">Timestamp links open VMF. If playback is unavailable or a source URL has expired, the timestamps and evidence notes still identify the moment in your original recording.</p>{{SOURCES}}</section></main></div>
<footer>Made with VMF · Index once. Reuse evidence. Keep learning.</footer>
<script>
(() => {
  'use strict';
  const slider = document.getElementById('batch-size');
  if (!slider) return;
  const render = () => {
    const n = Number(slider.value), views = 2 * n;
    document.getElementById('batch-count').textContent = String(n);
    document.getElementById('matrix-description').textContent = `${n} originals → ${views} views → ${views} × ${views} = ${views * views} cells. ${views} directed positive-pair cells; ${views} self-comparisons; ${views * views - 2 * views} different-image pair cells.`;
    const matrix = document.getElementById('pair-matrix');
    matrix.style.gridTemplateColumns = `repeat(${views}, 1fr)`;
    matrix.replaceChildren();
    for (let row = 0; row < views; row++) for (let col = 0; col < views; col++) {
      const cell = document.createElement('span');
      if (row === col) cell.className = 'self';
      else if (Math.floor(row / 2) === Math.floor(col / 2)) cell.className = 'positive';
      matrix.appendChild(cell);
    }
  };
  slider.addEventListener('input', render); render();
})();
</script>
</body>
</html>

SHA-256: c38441c0b22293e4901b0a4ee8b65c0ef7a44137ce705733955a3f953434b428