/**
 * Meldo-Videoplayer (Vimeo) – @since 3.197.0
 * Alles im 16:9-Bild: Kapitel-Zeitleiste, Aufgabenpunkte, Seitenfeld, Aufgabenkarten.
 * Vorlage: N8-HTML5-Player (Werkzeug video-basis/vimeo-player/player.css), hier unter
 * .mnw-vp gekapselt, auf --mnwd-Tokens umgestellt und gegen das Theme (BuddyBoss färbt
 * button:hover/:focus) mit gezieltem !important abgesichert.
 * Dunkle Flächen (Bühne, Leiste, Abdunklung) sind bewusst neutral, nicht Markenfarbe.
 */

.mnw-vp {
  --mnw-vp-radius: 14px;
  --mnw-vp-nacht: rgba(15, 20, 20, .55);
  display: block;
  max-width: 100%;
  margin: 0 auto 1.2em;
  font-family: var(--mnwd-schrift-text), system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--mnwd-tinte);
  -webkit-font-smoothing: antialiased;
}
.mnw-vp *, .mnw-vp *::before, .mnw-vp *::after { box-sizing: border-box; }
.mnw-vp [hidden] { display: none !important; }

/* Gegen das Theme: Knöpfe ohne fremde Flächen, Ränder, Schatten, Grossbuchstaben */
.mnw-vp button,
.mnw-vp-blatt button,
.mnw-vp-modal button {
  -webkit-appearance: none !important; appearance: none !important;
  margin: 0 !important; min-width: 0 !important; min-height: 0;
  box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important;
  text-shadow: none !important; line-height: 1.2 !important; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.mnw-vp button::before, .mnw-vp button::after,
.mnw-vp-blatt button::before, .mnw-vp-blatt button::after,
.mnw-vp-modal button::before, .mnw-vp-modal button::after { content: none !important; }
.mnw-vp svg { max-width: none !important; max-height: none !important; }
.mnw-vp ul, .mnw-vp li { list-style: none !important; margin: 0; padding: 0; }
.mnw-vp ul li::before { content: none !important; }

/* Bühne */
.mnw-vp .mnw-vp-buehne {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0f1414; /* design-ok: neutrales Videoschwarz */
  border-radius: var(--mnw-vp-radius); overflow: hidden; isolation: isolate; outline: none;
  transition: height .25s ease;
}
@supports not (aspect-ratio: 16 / 9) { .mnw-vp .mnw-vp-buehne { height: 0; padding-top: 56.25%; } }
.mnw-vp .mnw-vp-buehne.mnw-vp-gross { aspect-ratio: auto; }
.mnw-vp .mnw-vp-buehne:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100%; height: 100% !important; }
.mnw-vp .mnw-vp-buehne:-webkit-full-screen { border-radius: 0; width: 100%; height: 100% !important; }
.mnw-vp .mnw-vp-buehne.mnw-vp-fenstervoll {
  position: fixed !important; inset: 0 !important; z-index: 2147482500; width: 100vw !important; height: 100vh !important; height: 100dvh !important;
  aspect-ratio: auto; border-radius: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
html.mnw-vp-fenstervoll-offen, html.mnw-vp-fenstervoll-offen body { overflow: hidden !important; }
.mnw-vp .mnw-vp-buehne > iframe { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; border: 0; display: block; margin: 0 !important; max-width: none !important; }
/* 3.208.2: FitVids des Themes (BuddyBoss) packte den iframe in .fluid-width-video-wrapper ohne Höhe → schwarzes Bild, nur Ton.
   Die Bühne trägt .fitvidsignore; falls eine Hülle trotzdem entsteht, füllt sie die Bühne. */
.mnw-vp .mnw-vp-buehne > .fluid-width-video-wrapper { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; padding: 0 !important; margin: 0 !important; }
.mnw-vp .mnw-vp-buehne > .fluid-width-video-wrapper > iframe { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; border: 0; margin: 0 !important; max-width: none !important; }
.mnw-vp .mnw-vp-klick { position: absolute; inset: 0; cursor: pointer; }
.mnw-vp .mnw-vp-ruhig .mnw-vp-klick { cursor: none; }

/* Untertitel: über der Steuerleiste, rutscht nach unten, wenn sie ausgeblendet ist */
.mnw-vp .mnw-vp-ut {
  position: absolute; left: 50%; bottom: calc(var(--mnw-vp-leiste-h, 64px) + 14px); transform: translateX(-50%); max-width: 84%;
  background: rgba(20, 24, 24, .82); color: #fff; font-size: clamp(13px, 2vw, 22px); line-height: 1.35; padding: .28em .7em;
  border-radius: 8px; text-align: center; pointer-events: none; transition: bottom .25s;
}
.mnw-vp .mnw-vp-ruhig .mnw-vp-ut { bottom: 5%; }
.mnw-vp .mnw-vp-feldoffen .mnw-vp-ut { left: calc((100% - min(340px, 100%)) / 2); max-width: calc(100% - 380px); }

/* Steuerleiste im Bild */
.mnw-vp .mnw-vp-steuer {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px;
  background: linear-gradient(to top, rgba(10, 14, 14, .78), rgba(10, 14, 14, .45) 55%, rgba(10, 14, 14, 0));
  color: #fff; transition: opacity .25s; display: grid; gap: 6px;
}
.mnw-vp .mnw-vp-ruhig .mnw-vp-steuer { opacity: 0; }
.mnw-vp .mnw-vp-ruhig .mnw-vp-steuer:focus-within { opacity: 1; }
.mnw-vp .mnw-vp-zeile { display: flex; align-items: center; gap: 4px; min-width: 0; }
.mnw-vp .mnw-vp-platz { flex: 1; }
.mnw-vp .mnw-vp-k {
  width: 40px !important; height: 40px !important; padding: 0 !important; border: 0 !important; border-radius: 10px !important;
  background: transparent !important; color: #fff !important; display: grid !important; place-items: center; cursor: pointer; flex: none;
}
.mnw-vp .mnw-vp-k:hover, .mnw-vp .mnw-vp-k:focus { background: rgba(255, 255, 255, .14) !important; color: #fff !important; }
.mnw-vp .mnw-vp-k svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.mnw-vp .mnw-vp-k:focus-visible, .mnw-vp .mnw-vp-pill:focus-visible { outline: 2px solid var(--mnwd-akzent2) !important; outline-offset: 2px; }
.mnw-vp .mnw-vp-k[aria-pressed="false"] { opacity: .55; }
.mnw-vp .mnw-vp-uhr { font-variant-numeric: tabular-nums; font-size: 14px; padding: 0 6px; white-space: nowrap; opacity: .92; color: #fff; }
.mnw-vp .mnw-vp-pill {
  height: 32px !important; border: 0 !important; border-radius: 999px !important; background: rgba(255, 255, 255, .14) !important; color: #fff !important;
  padding: 0 12px !important; display: inline-flex !important; align-items: center; gap: 6px; cursor: pointer;
  font-family: var(--mnwd-schrift-titel), system-ui, sans-serif !important; font-weight: 700 !important; font-size: 13px !important; white-space: nowrap; min-width: 0;
}
.mnw-vp .mnw-vp-pill:hover, .mnw-vp .mnw-vp-pill:focus { background: rgba(255, 255, 255, .24) !important; color: #fff !important; }
.mnw-vp .mnw-vp-pill svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.mnw-vp .mnw-vp-pill.mnw-vp-kap { max-width: 38%; overflow: hidden; }
.mnw-vp .mnw-vp-pill.mnw-vp-kap span { overflow: hidden; text-overflow: ellipsis; }
.mnw-vp .mnw-vp-zahl { background: var(--mnwd-akzent2); color: var(--mnwd-auf-akzent2); border-radius: 999px; padding: 0 7px; font-size: 12px; line-height: 20px; }
.mnw-vp .mnw-vp-pill[aria-pressed="true"] { background: #fff !important; color: var(--mnwd-akzent-l22-4) !important; }

/* Zeitleiste: Kapitel-Abschnitte, Aufgabenpunkte, unsichtbarer Schieberegler für Tastatur/Ziehen */
.mnw-vp .mnw-vp-zeitleiste { position: relative; height: 22px; display: flex; align-items: center; }
.mnw-vp .mnw-vp-abschnitte { position: absolute; left: 0; right: 0; top: 50%; height: 5px; transform: translateY(-50%); transition: height .15s; }
.mnw-vp .mnw-vp-zeitleiste:hover .mnw-vp-abschnitte { height: 8px; }
.mnw-vp .mnw-vp-ab { position: absolute; top: 0; bottom: 0; background: rgba(255, 255, 255, .3); border-radius: 3px; overflow: hidden; }
.mnw-vp .mnw-vp-ab i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--mnwd-akzent); display: block; }
.mnw-vp .mnw-vp-ab.mnw-vp-jetzt { background: rgba(255, 255, 255, .42); }
.mnw-vp .mnw-vp-punkte { position: absolute; inset: 0; pointer-events: none; }
.mnw-vp .mnw-vp-punkte b { position: absolute; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--mnwd-akzent2); border: 2px solid #0f1414; /* design-ok: Rand in Videoschwarz */ }
.mnw-vp .mnw-vp-punkte b.mnw-vp-erledigt { background: #fff; box-shadow: inset 0 0 0 3px var(--mnwd-akzent); }
.mnw-vp .mnw-vp-zeitleiste input[type="range"] {
  position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
  opacity: 0 !important; cursor: pointer; border: 0 !important; background: none !important; -webkit-appearance: none; appearance: none;
}
.mnw-vp .mnw-vp-kopf { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); pointer-events: none; transform: scale(0); transition: transform .15s; }
.mnw-vp .mnw-vp-zeitleiste:hover .mnw-vp-kopf, .mnw-vp .mnw-vp-zeitleiste:focus-within .mnw-vp-kopf { transform: scale(1); }
.mnw-vp .mnw-vp-tipp {
  position: absolute; bottom: 26px; transform: translateX(-50%); background: #fff; color: var(--mnwd-tinte); border-radius: 8px; padding: 5px 10px;
  font-size: 13px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); pointer-events: none; max-width: 70vw; overflow: hidden; text-overflow: ellipsis; line-height: 1.35;
}
.mnw-vp .mnw-vp-tipp b { font-family: var(--mnwd-schrift-titel), system-ui, sans-serif; display: block; }
.mnw-vp .mnw-vp-tipp small { color: var(--mnwd-schwach); font-variant-numeric: tabular-nums; }
.mnw-vp .mnw-vp-tipp .mnw-vp-auf { color: var(--mnwd-akzent-l22-4); font-weight: 600; }

/* Grosser Knopf in der Mitte (nur Touch) */
.mnw-vp .mnw-vp-mitte { display: none !important; }
.mnw-vp .mnw-vp-touch .mnw-vp-mitte {
  display: grid !important; place-items: center; position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  width: 64px !important; height: 64px !important; padding: 0 !important; border-radius: 50% !important; border: 0 !important;
  background: var(--mnw-vp-nacht) !important; color: #fff !important; cursor: pointer; transition: opacity .25s;
}
.mnw-vp .mnw-vp-touch .mnw-vp-mitte svg { width: 34px; height: 34px; fill: #fff; }
.mnw-vp .mnw-vp-ruhig .mnw-vp-mitte { opacity: 0; pointer-events: none; }

/* Start */
.mnw-vp .mnw-vp-start { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; background: linear-gradient(rgba(250, 248, 243, .25), rgba(250, 248, 243, .55)); cursor: pointer; }
.mnw-vp .mnw-vp-start .mnw-vp-gross {
  display: inline-flex !important; align-items: center; gap: .55em; border: 0 !important; background: var(--mnwd-akzent) !important; color: var(--mnwd-auf-akzent, #fff) !important;
  font-family: var(--mnwd-schrift-titel), system-ui, sans-serif !important; font-weight: 700 !important; font-size: clamp(16px, 2.4vw, 24px) !important;
  padding: .7em 1.4em !important; border-radius: 999px !important; box-shadow: 0 6px 22px rgba(0, 0, 0, .22) !important; cursor: pointer;
}
.mnw-vp .mnw-vp-start .mnw-vp-gross svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.mnw-vp .mnw-vp-start .mnw-vp-gross:hover, .mnw-vp .mnw-vp-start .mnw-vp-gross:focus { background: var(--mnwd-akzent-l22-4) !important; color: #fff !important; }
.mnw-vp .mnw-vp-start .mnw-vp-wieder {
  border: 0 !important; background: #fff !important; color: var(--mnwd-akzent-l22-4) !important; font-family: var(--mnwd-schrift-titel), system-ui, sans-serif !important;
  font-weight: 700 !important; font-size: 14px !important; padding: .55em 1.1em !important; border-radius: 999px !important; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .12) !important;
}
.mnw-vp .mnw-vp-start .mnw-vp-info { background: rgba(255, 255, 255, .9); color: var(--mnwd-gedaempft); border-radius: 999px; padding: 3px 12px; font-size: 13px; }

/* Seitenfeld: Kapitel und Aufgaben, im Bild rechts */
.mnw-vp .mnw-vp-feld {
  position: absolute; top: 10px; right: 10px; bottom: calc(var(--mnw-vp-leiste-h, 64px) + 6px); width: min(340px, calc(100% - 20px));
  background: rgba(255, 255, 255, .97); border-radius: 12px; box-shadow: 0 10px 34px rgba(0, 0, 0, .28); display: grid; grid-template-rows: auto 1fr; overflow: hidden;
}
.mnw-vp .mnw-vp-feld-inhalt { overflow: auto; min-height: 0; }
.mnw-vp .mnw-vp-reiter { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--mnwd-linie); align-items: center; }
.mnw-vp .mnw-vp-reiter button {
  border: 0 !important; background: transparent !important; border-radius: 8px !important; padding: 6px 12px !important; cursor: pointer;
  font-family: var(--mnwd-schrift-titel), system-ui, sans-serif !important; font-weight: 700 !important; font-size: 14px !important; color: var(--mnwd-gedaempft) !important;
}
.mnw-vp .mnw-vp-reiter button[aria-selected="true"] { background: var(--mnwd-akzent-l93s43) !important; color: var(--mnwd-akzent-l22-4) !important; }
.mnw-vp .mnw-vp-reiter .mnw-vp-zu { margin-left: auto !important; width: 32px; height: 32px; padding: 0 !important; display: grid !important; place-items: center; }
.mnw-vp .mnw-vp-reiter .mnw-vp-zu svg { width: 18px; height: 18px; fill: currentColor; }
.mnw-vp .mnw-vp-liste { padding: 6px !important; }
.mnw-vp .mnw-vp-liste button {
  width: 100% !important; border: 0 !important; background: transparent !important; text-align: left; border-radius: 8px !important; padding: 7px 9px !important;
  display: flex !important; align-items: center; gap: 10px; cursor: pointer; color: var(--mnwd-tinte) !important; font-size: 15px !important; font-weight: 400 !important;
}
.mnw-vp .mnw-vp-liste button:hover, .mnw-vp .mnw-vp-liste button:focus { background: var(--mnwd-akzent-l93s43) !important; color: var(--mnwd-tinte) !important; }
.mnw-vp .mnw-vp-liste button.mnw-vp-aktiv { background: var(--mnwd-akzent-l93s43) !important; color: var(--mnwd-akzent-l22-4) !important; font-weight: 600 !important; }
.mnw-vp .mnw-vp-leer { padding: 12px; color: var(--mnwd-gedaempft); }
.mnw-vp .mnw-vp-nr, .mnw-vp-blatt .mnw-vp-nr { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--mnwd-papier); color: var(--mnwd-gedaempft); }
.mnw-vp .mnw-vp-t, .mnw-vp-blatt .mnw-vp-t { flex: 1; min-width: 0; }
.mnw-vp .mnw-vp-liste small { color: var(--mnwd-schwach); font-variant-numeric: tabular-nums; }
.mnw-vp .mnw-vp-marke, .mnw-vp-blatt .mnw-vp-marke { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 9px; background: var(--mnwd-papier); color: var(--mnwd-gedaempft); white-space: nowrap; }
.mnw-vp .mnw-vp-marke.mnw-vp-gut, .mnw-vp-blatt .mnw-vp-marke.mnw-vp-gut { background: var(--mnwd-erfolg-l); color: var(--mnwd-erfolg); }
.mnw-vp .mnw-vp-marke.mnw-vp-teil, .mnw-vp-blatt .mnw-vp-marke.mnw-vp-teil { background: var(--mnwd-akzent2-l93s63); color: var(--mnwd-tinte); }
.mnw-vp .mnw-vp-marke.mnw-vp-schlecht, .mnw-vp-blatt .mnw-vp-marke.mnw-vp-schlecht { background: var(--mnwd-fehler-l); color: var(--mnwd-fehler); }
.mnw-vp .mnw-vp-summe { padding: 8px 12px 2px; font-size: 13px; color: var(--mnwd-gedaempft); }
.mnw-vp .mnw-vp-summe b, .mnw-vp-blatt .mnw-vp-blatt-summe b { font-family: var(--mnwd-schrift-titel), system-ui, sans-serif; font-size: 20px; color: var(--mnwd-akzent-l22-4); }

/* Aufgabe: Karte im Bild bzw. Fenster über der Seite */
.mnw-vp .mnw-vp-auflage { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 20, 20, .45); padding: 14px; overflow: hidden; z-index: 3; }
.mnw-vp .mnw-vp-buehne:fullscreen .mnw-vp-auflage, .mnw-vp .mnw-vp-fenstervoll .mnw-vp-auflage { padding: 3%; }
.mnw-vp-aufgabe {
  background: #fff; border-radius: var(--mnw-vp-radius, 14px); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); width: min(980px, 100%); max-height: 100%; height: 100%;
  display: flex; flex-direction: column; overflow: hidden; color: var(--mnwd-tinte); font-family: var(--mnwd-schrift-text), system-ui, sans-serif;
}
.mnw-vp-aufgabe.mnw-vp-schluss { height: auto; width: min(620px, 100%); padding: clamp(14px, 2.4vw, 26px); display: grid; gap: 12px; overflow: auto; }
.mnw-vp-aufgabe-kopf { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; border-bottom: 1px solid var(--mnwd-linie); flex: none; min-height: 52px; }
.mnw-vp-aufgabe-titel { flex: 1; min-width: 0; font-family: var(--mnwd-schrift-titel), system-ui, sans-serif; font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mnw-vp-etikett { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mnwd-akzent-l22-4); white-space: nowrap; }
.mnw-vp-aufgabe-rahmen { position: relative; flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; background: var(--mnwd-papier); }
.mnw-vp-aufgabe-rahmen iframe { display: block; width: 100% !important; height: 100%; min-height: 100%; border: 0; margin: 0 !important; max-width: none !important; opacity: 0; transition: opacity .25s; }
.mnw-vp-geladen .mnw-vp-aufgabe-rahmen iframe { opacity: 1; }
.mnw-vp-laden { position: absolute; left: 50%; top: 40%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 3px solid var(--mnwd-linie); border-top-color: var(--mnwd-akzent); border-radius: 50%; animation: mnw-vp-dreh .8s linear infinite; }
.mnw-vp-geladen .mnw-vp-laden { display: none; }
@keyframes mnw-vp-dreh { to { transform: rotate(360deg); } }
.mnw-vp-schluss h2 { font-family: var(--mnwd-schrift-titel), system-ui, sans-serif; font-weight: 700; font-size: clamp(18px, 2.3vw, 26px); margin: 0; line-height: 1.2; color: var(--mnwd-tinte); }
.mnw-vp-schluss p { margin: 0; color: var(--mnwd-gedaempft); }
.mnw-vp-fuss { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.mnw-vp-tun {
  font-family: var(--mnwd-schrift-titel), system-ui, sans-serif !important; font-weight: 700 !important; font-size: 15px !important; min-height: 44px !important;
  padding: 0 18px !important; border-radius: 10px !important; border: 1.5px solid var(--mnwd-linie) !important; background: #fff !important; color: var(--mnwd-tinte) !important;
  cursor: pointer; display: inline-flex !important; align-items: center; gap: 8px; white-space: nowrap;
}
.mnw-vp-tun:hover, .mnw-vp-tun:focus { border-color: var(--mnwd-akzent) !important; color: var(--mnwd-akzent-l22-4) !important; background: #fff !important; }
.mnw-vp-tun.mnw-vp-haupt { background: var(--mnwd-akzent) !important; border-color: var(--mnwd-akzent) !important; color: #fff !important; }
.mnw-vp-tun.mnw-vp-haupt:hover, .mnw-vp-tun.mnw-vp-haupt:focus { background: var(--mnwd-akzent-l22-4) !important; color: #fff !important; }
.mnw-vp-tun.mnw-vp-still { border-color: transparent !important; background: transparent !important; color: var(--mnwd-gedaempft) !important; }
.mnw-vp-tun.mnw-vp-still:hover, .mnw-vp-tun.mnw-vp-still:focus { background: var(--mnwd-papier) !important; color: var(--mnwd-tinte) !important; }

/* Aufgabe als Fenster über der Seite (schmale Player, z. B. Handy oder Dock des PDF-Annotators) */
.mnw-vp-modal { position: fixed; inset: 0; z-index: 2147482000; background: rgba(15, 20, 20, .5); display: grid; place-items: center; padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)); }
.mnw-vp-modal .mnw-vp-aufgabe { width: min(980px, 100%); height: 100%; }
html.mnw-vp-modal-offen { overflow: hidden; }

/* Hinweis bei Tastenkürzeln (z. B. «+10 s») */
.mnw-vp .mnw-vp-blitz {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(15, 20, 20, .7); color: #fff; border-radius: 999px; padding: 8px 16px;
  font-family: var(--mnwd-schrift-titel), system-ui, sans-serif; font-weight: 700; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 2;
}
.mnw-vp .mnw-vp-blitz.mnw-vp-an { opacity: 1; }

/* Bottom Sheet (unter 640 px Playerbreite): über der ganzen Seite */
.mnw-vp-blatt { position: fixed; inset: 0; z-index: 2147483000; font-family: var(--mnwd-schrift-text), system-ui, sans-serif; color: var(--mnwd-tinte); -webkit-tap-highlight-color: transparent; }
.mnw-vp-blatt[hidden] { display: none !important; }
.mnw-vp-blatt .mnw-vp-blatt-hg { position: absolute; inset: 0; background: rgba(15, 20, 20, .45); opacity: 0; transition: opacity .22s; }
.mnw-vp-blatt.mnw-vp-offen .mnw-vp-blatt-hg { opacity: 1; }
.mnw-vp-blatt .mnw-vp-blatt-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 640px; max-height: 80vh; background: #fff; border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .2); display: flex; flex-direction: column; transform: translateY(100%); transition: transform .26s ease; padding-bottom: env(safe-area-inset-bottom);
}
.mnw-vp-blatt.mnw-vp-offen .mnw-vp-blatt-sheet { transform: none; }
.mnw-vp-blatt .mnw-vp-blatt-griff { width: 44px; height: 5px; border-radius: 3px; background: var(--mnwd-linie-stark); margin: 9px auto 4px; flex: none; }
.mnw-vp-blatt .mnw-vp-blatt-kopf { display: flex; gap: 6px; align-items: center; padding: 4px 12px 10px; border-bottom: 1px solid var(--mnwd-linie); flex: none; }
.mnw-vp-blatt .mnw-vp-blatt-kopf button {
  border: 0 !important; background: transparent !important; border-radius: 12px !important; padding: 10px 16px !important; cursor: pointer;
  font-family: var(--mnwd-schrift-titel), system-ui, sans-serif !important; font-weight: 700 !important; font-size: 17px !important; color: var(--mnwd-gedaempft) !important;
}
.mnw-vp-blatt .mnw-vp-blatt-kopf button[aria-selected="true"] { background: var(--mnwd-akzent-l93s43) !important; color: var(--mnwd-akzent-l22-4) !important; }
.mnw-vp-blatt .mnw-vp-blatt-kopf .mnw-vp-blatt-zu { margin-left: auto !important; width: 44px; height: 44px; padding: 0 !important; display: grid !important; place-items: center; font-size: 28px !important; line-height: 1 !important; }
.mnw-vp-blatt .mnw-vp-blatt-summe { padding: 12px 20px 0; font-size: 15px; color: var(--mnwd-gedaempft); flex: none; }
.mnw-vp-blatt .mnw-vp-blatt-summe[hidden] { display: none; }
.mnw-vp-blatt .mnw-vp-blatt-liste { list-style: none !important; margin: 0 !important; padding: 8px 10px 18px !important; overflow: auto; -webkit-overflow-scrolling: touch; }
.mnw-vp-blatt .mnw-vp-blatt-liste li { margin: 0; padding: 0; list-style: none !important; }
.mnw-vp-blatt .mnw-vp-blatt-liste li::before { content: none !important; }
.mnw-vp-blatt .mnw-vp-blatt-liste button {
  width: 100% !important; border: 0 !important; background: transparent !important; border-radius: 12px !important; padding: 12px !important; display: flex !important;
  align-items: center; gap: 12px; font-size: 16px !important; line-height: 1.3 !important; color: var(--mnwd-tinte) !important; min-height: 54px; text-align: left; cursor: pointer; font-weight: 400 !important;
}
.mnw-vp-blatt .mnw-vp-blatt-liste button.mnw-vp-aktiv { background: var(--mnwd-akzent-l93s43) !important; color: var(--mnwd-akzent-l22-4) !important; font-weight: 600 !important; }
.mnw-vp-blatt .mnw-vp-nr { width: 28px; height: 28px; font-size: 13px; }
.mnw-vp-blatt small { color: var(--mnwd-schwach); font-variant-numeric: tabular-nums; font-size: 14px; }
.mnw-vp-blatt .mnw-vp-marke { font-size: 13px; padding: 2px 10px; }
.mnw-vp-blatt .mnw-vp-leer { padding: 12px; color: var(--mnwd-gedaempft); }

/* Schmale Player: Klassen setzt vimeo-player.js nach der Breite des PLAYERS (nicht des Fensters –
   im Dock des PDF-Annotators ist der Player schmal, das Fenster breit). */
.mnw-vp .mnw-vp-b700.mnw-vp-feldoffen .mnw-vp-ut { display: none; }
.mnw-vp .mnw-vp-b640 .mnw-vp-wort { display: none; }
.mnw-vp .mnw-vp-b640 .mnw-vp-ut { font-size: 13px; max-width: 92%; }
.mnw-vp .mnw-vp-b640.mnw-vp-touch:not(.mnw-vp-ruhig) .mnw-vp-ut { opacity: 0; }
.mnw-vp .mnw-vp-b640.mnw-vp-touch .mnw-vp-mitte { width: 54px !important; height: 54px !important; top: 40%; }
.mnw-vp .mnw-vp-b640.mnw-vp-touch .mnw-vp-mitte svg { width: 28px; height: 28px; }
.mnw-vp .mnw-vp-b640 .mnw-vp-aufgabe-kopf .mnw-vp-etikett { display: none; }
.mnw-vp .mnw-vp-b560 .mnw-vp-k { width: 34px !important; height: 34px !important; }
.mnw-vp .mnw-vp-b560 .mnw-vp-k svg { width: 19px; height: 19px; }
.mnw-vp .mnw-vp-b560 .mnw-vp-nurbreit { display: none !important; }
.mnw-vp .mnw-vp-b560 .mnw-vp-pill.mnw-vp-kap { max-width: 46%; }
.mnw-vp .mnw-vp-b560 .mnw-vp-steuer { padding: 22px 8px 6px; }
.mnw-vp .mnw-vp-b560 .mnw-vp-uhr { font-size: 12px; padding: 0 3px; }
@media (max-width: 640px) { .mnw-vp-modal .mnw-vp-etikett { display: none; } }
@media (prefers-reduced-motion: reduce) { .mnw-vp *, .mnw-vp-blatt *, .mnw-vp-modal * { transition: none !important; animation: none !important; } }
