/* Neutral browser-deck layout. Themes override via CSS custom properties or
   their own stylesheet; nothing here is course specific. */
:where(html, body) { margin: 0; width: 100%; height: 100%; overflow: hidden; background: var(--hypo-bg); color: var(--hypo-ink); }
.reveal { font-family: var(--hypo-font); font-size: 40px; line-height: 1.45; color: var(--hypo-ink); }
.reveal .slides { text-align: left; }
.reveal .slides > section.hypo-slide { padding: 0; height: 100%; box-sizing: border-box; }
.reveal [hidden] { display: none !important; }
.reveal p { margin: 0 0 .45em; }
.reveal ul, .reveal ol { margin: 0 0 .45em 1.1em; }
.reveal img { max-width: 100%; max-height: 100%; object-fit: contain; }
.reveal pre { font-size: .62em; white-space: pre; text-align: left; box-shadow: none; width: 100%; }
.reveal table { font-size: .72em; }
.hypo-slide-header { position: absolute; top: 0; left: 0; right: 0; height: 15%; padding: 3% 6% 0; box-sizing: border-box;
  display: flex; justify-content: space-between; align-items: flex-start; }
.hypo-slide-header h2 { font-size: 1.5em; margin: 0; color: var(--hypo-ink); text-transform: none; }
.hypo-eyebrow { font-size: .55em; color: var(--hypo-accent); letter-spacing: .05em; margin-bottom: .2em; }
.hypo-slide-logo { max-height: 70px; }
.hypo-slide-body { position: absolute; top: 17%; left: 6%; right: 6%; bottom: 9%; display: flex; align-items: flex-start; }
.hypo-slide-content { width: 100%; transform-origin: top left; }
.hypo-slide-footer { position: absolute; bottom: 2.5%; left: 6%; right: 6%; font-size: .5em; display: flex;
  justify-content: space-between; color: var(--hypo-muted); }
.hypo-cover, .hypo-divider { display: flex !important; flex-direction: column; justify-content: center; padding: 0 9% !important; height: 100%; }
.hypo-cover h1 { font-size: 2.2em; margin: 0 0 .3em; color: var(--hypo-ink); text-transform: none; }
.hypo-cover h2 { font-size: 1.1em; color: var(--hypo-muted); font-weight: 400; margin: 0 0 1.2em; text-transform: none; }
.hypo-cover p { color: var(--hypo-muted); }
.hypo-divider h2 { font-size: 1.9em; color: var(--hypo-accent); text-transform: none; }
.hypo-widget, .hypo-widget-fallback { width: 100%; }
.hypo-widget > :first-child:not(.hypo-widget-fallback) { display: block; width: 100%; height: 100%; }
.hypo-palette-toggle { position: fixed; top: 14px; right: 14px; z-index: 1000; border: 1px solid var(--hypo-border); border-radius: 50%;
  background: var(--hypo-surface); color: var(--hypo-ink); cursor: pointer; font-size: 22px; width: 40px; height: 40px; opacity: .4; }
.hypo-palette-toggle:hover, .hypo-palette-toggle:focus { opacity: 1; }
.photo-viewport { position: relative; overflow: hidden; max-width: 100%; flex: none; }
.photo-viewport img { position: absolute; left: var(--crop-x, 0); top: var(--crop-y, 0); max-width: none; max-height: none; }
.hypo-motion video, .hypo-motion img { width: 100%; height: 100%; object-fit: cover; }
.reveal .controls, .reveal .progress { color: var(--hypo-accent); }
