/* vikarimusik-opgaver · tavle.css · til projektor og smartboard: stort, sort på hvidt. */
.vt-krop { background: #fff; }
.vt-app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5vh; padding: 3vh 4vw; text-align: center; }
.vt-titel { font-size: clamp(32px, 6vh, 72px); }
.vt-qr { width: min(62vh, 86vw); aspect-ratio: 1; }
.vt-qr svg { width: 100%; height: 100%; }
.vt-adresse { margin: 0; font-weight: 700; font-size: clamp(24px, 5.5vh, 64px); line-height: 1.1; color: var(--vm-handling); overflow-wrap: anywhere; }
.vt-tekst { margin: 0; font-size: clamp(18px, 3vh, 32px); color: var(--vm-daempet); }

/* 1.8.0: vikarens styring af en vikartime (?time=). Mobile-first; på tavlen i to kolonner. */
.vt-time { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; gap: 16px; padding: 16px; max-width: 1400px; margin: 0 auto; }
.vt-top { display: flex; flex-direction: column; gap: 12px; }
.vt-time-titel { margin: 0; font-family: var(--vm-skrift-titel); font-weight: 700; font-size: clamp(30px, 5vw, 56px); line-height: 1; }
.vt-trin { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; }
.vt-trin-knap { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--vm-streg); border-radius: var(--vm-hjoerne-md); background: var(--vm-hvid); font: 700 15px var(--vm-skrift); color: var(--vm-blaek); cursor: pointer; white-space: nowrap; }
.vt-trin-nr { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--vm-flade); font-size: 13px; }
.vt-gjort .vt-trin-nr { background: var(--vm-handling); color: #fff; }
.vt-nu .vt-trin-knap { border: 2px solid var(--vm-blaek); }
.vt-nu .vt-trin-nr { background: var(--vm-blaek); color: #fff; }
.vt-flade { flex: 1; }
.vt-start, .vt-del { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.vt-qr svg { width: 100%; height: 100%; }
.vt-qr-stor { width: min(60vh, 86vw); aspect-ratio: 1; justify-self: center; }
.vt-qr-lille { width: 140px; aspect-ratio: 1; }
.vt-start-tekst, .vt-del-hoved, .vt-del-side { display: flex; flex-direction: column; gap: 16px; }
.vt-vej { text-align: left; display: flex; flex-direction: column; gap: 6px; }
.vt-del-titel { margin: 0; font-family: var(--vm-skrift-titel); font-weight: 700; font-size: clamp(34px, 5vw, 64px); line-height: 1; }
.vt-del-tekst { margin: 0; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35; }
.vt-krav { padding: 14px 16px; border-radius: var(--vm-hjoerne-md); background: var(--vm-hvid); border: 1px solid var(--vm-streg); }
.vt-krav-liste { margin: 6px 0 0; padding-left: 22px; font-size: clamp(18px, 2vw, 26px); line-height: 1.4; }
.vt-sig { padding: 16px; border-radius: var(--vm-hjoerne-md); background: var(--vm-flade-groen); display: flex; flex-direction: column; gap: 8px; }
.vt-goer { margin: 0; padding-left: 1.9em; display: flex; flex-direction: column; gap: 6px; }
.vt-sig-linje { margin: 0; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35; font-weight: 700; }
.vt-ur { padding: 16px; border-radius: var(--vm-hjoerne-md); border: 2px solid var(--vm-blaek); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.vt-ur-tal { margin: 0; font-family: var(--vm-skrift-titel); font-weight: 700; font-size: clamp(56px, 8vw, 110px); line-height: 1; font-variant-numeric: tabular-nums; }
.vt-ur-status { margin: 0; font-size: 16px; font-weight: 700; color: var(--vm-daempet); }
.vt-ur-knapper { display: flex; gap: 8px; flex-wrap: wrap; }
.vt-hjaelp { padding: 14px 16px; border-radius: var(--vm-hjoerne-md); background: var(--vm-flade); font-size: 16px; line-height: 1.4; }
.vt-hjaelp p { margin: 4px 0 0; }
.vt-lille-qr { display: flex; align-items: center; gap: 12px; }
.vt-note { margin: 0; font-size: 16px; color: var(--vm-daempet); line-height: 1.4; }
.vt-koncert { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.vt-koncert-knap { align-self: flex-start; text-decoration: none; }
.vt-bund { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--vm-streg); }
.vt-nav { min-height: 56px; font-size: 20px; flex: 1; max-width: 320px; }
.vt-nav:disabled { opacity: .4; cursor: default; }
@media (min-width: 900px) {
  .vt-time { padding: 24px 32px; gap: 20px; }
  .vt-start { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .vt-del { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
}

/* 1.13.1: lave tavler (1366x768, 1280x720). Knapbjælken skjulte instruktionerne på trin 3, 4, 6 og 7 (24. okt.). Skrift og luft følger skærmens højde. */
@media (min-width: 900px) and (max-height: 860px) {
  .vt-time { padding: 12px 28px; gap: 10px; }
  .vt-top { gap: 8px; }
  .vt-time-titel { font-size: clamp(26px, 5vh, 44px); }
  .vt-trin-knap { min-height: 36px; font-size: 14px; }
  .vt-start-tekst, .vt-del-hoved, .vt-del-side { gap: 10px; }
  .vt-del-titel { font-size: clamp(28px, 6vh, 48px); }
  .vt-del-tekst, .vt-sig-linje { font-size: clamp(17px, 2.9vh, 24px); line-height: 1.3; }
  .vt-krav-liste { font-size: clamp(16px, 2.6vh, 22px); line-height: 1.3; }
  .vt-sig, .vt-krav, .vt-ur, .vt-hjaelp { padding: 10px 14px; }
  .vt-ur-tal { font-size: clamp(44px, 9vh, 80px); }
  .vt-qr-lille { width: 110px; }
  .vt-bund { padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
  .vt-nav { min-height: 48px; font-size: 18px; }
}

/* 1.14.0: skærmbillede af opgaven i hver del */
.vt-skud { margin: 0 0 16px; }
.vt-skud img { display: block; width: 100%; max-width: 420px; height: auto; border: 1px solid var(--vm-streg); border-radius: var(--vm-hjoerne-md); box-shadow: var(--vm-skygge-1); background: #fff; }
.vt-skud img { width: auto; max-height: max(200px, calc(100dvh - 470px)); }
