/* ============================================================
   Webinare.

   Die Bedienelemente kommen aus md3-kit.css, die Farben aus
   crm.css (--scrm-*) und bruecke.css (--accent). Hier steht nur,
   was es sonst nirgends gibt: die Kachel, die Teilnehmertabelle,
   der Nachrichtenplan und das Blatt von rechts.

   HELL, ohne theme-light: der Inhalt der Suite ist immer hell.
   ============================================================ */

.wbn { padding: 2px 0 24px; }
.wbn * { box-sizing: border-box; }
.wbn-sp { flex: 1; }
.wbn-leise { font-size: 12.5px; color: var(--scrm-mut, #8a97a8); }
.wbn-nichts { color: #c3ccd8; }
.wbn-rot { color: var(--scrm-kalt, #b3261e); }
.wbn-reihe { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.wbn-klein { height: 32px; font-size: 12.5px; padding-inline: 14px; border-radius: 16px; }
.wbn-klein.m3-ic { padding-inline-start: 10px; }
.wbn-klein .material-symbols-rounded { font-size: 16px; }
.wbn-ibtn-klein { width: 32px; height: 32px; }
.wbn-ibtn-klein .material-symbols-rounded { font-size: 18px; }

.wbn-karte {
  background: #fff;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--scrm-linie, #e7eef6);
}
.wbn-polster { padding: 14px; }
.wbn-polster h4 {
  margin: 0 0 11px;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; gap: 7px;
}
.wbn-polster h4 .material-symbols-rounded { font-size: 18px; color: var(--scrm-mut, #8a97a8); }
.wbn-polster p { margin: 0 0 4px; }

.wbn-leer {
  display: grid; place-items: center; gap: 9px;
  padding: 34px 14px;
  color: var(--scrm-mut, #8a97a8); font-size: 12.5px; text-align: center;
}
.wbn-leer .material-symbols-rounded { font-size: 30px; opacity: .5; }

.wbn-leiste {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-bottom: 13px;
}
.wbn-zahl { opacity: .6; margin-inline-start: 2px; }

.wbn-nh {
  margin: 20px 0 9px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--scrm-mut, #8a97a8);
  display: flex; align-items: center; gap: 8px;
}
.wbn-nh .z {
  background: #eef3f8; color: #5f7280;
  border-radius: 9px; padding: 1px 7px; font-size: 10.5px; letter-spacing: 0;
}

/* ---------- Kennzeichen ---------- */
.wbn-stat {
  display: inline-flex; align-items: center; gap: 5px;
  height: 23px; padding: 0 9px; border-radius: 7px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: #eef3f8; color: #5f7280; white-space: nowrap;
}
.wbn-stat .material-symbols-rounded { font-size: 13px; }
.wbn-stat.gruen { background: rgba(var(--scrm-gut-rgb, 14,124,107), .11); color: var(--scrm-gut, #0e7c6b); }
.wbn-stat.orange { background: rgba(var(--accent-rgb, 239,138,60), .14); color: var(--accent-dark, #c96a22); }
.wbn-stat.rot { background: #fbeceb; color: var(--scrm-kalt, #b3261e); }
.wbn-stat.blau { background: #e8f1fb; color: #2d6aa8; }

.wbn-av {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff; background: #3f7fc4;
}

/* ============================================================
   Übersicht
   ============================================================ */
.wbn-gitter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(314px, 1fr));
  gap: 13px;
}
.wbn-k {
  background: #fff; border-radius: 13px;
  box-shadow: inset 0 0 0 1px var(--scrm-linie, #e7eef6);
  overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s;
}
.wbn-k:hover, .wbn-k:focus-visible {
  box-shadow: inset 0 0 0 1px var(--scrm-linie2, #d9e4f0),
              0 12px 28px -16px rgba(18, 35, 58, .45);
  transform: translateY(-1px);
}
.wbn-k-bild {
  height: 88px; flex: none;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 10px 12px; color: #fff;
}
/* Vier Farben, fest an der Kennung — dieselbe Kachel soll nicht
   bei jedem Zeichnen die Farbe wechseln. */
.wbn-f1 { background: linear-gradient(135deg, #1b5a9e, #2f93c9); }
.wbn-f2 { background: linear-gradient(135deg, #8a4fb3, #c0588f); }
.wbn-f3 { background: linear-gradient(135deg, #1d7a6c, #56a86a); }
.wbn-f4 { background: linear-gradient(135deg, #b4692a, #d99a4e); }
.wbn-k-art {
  display: inline-flex; align-items: center; gap: 5px;
  height: 23px; padding: 0 9px; border-radius: 7px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(0, 0, 0, .26);
}
.wbn-k-art .material-symbols-rounded { font-size: 13px; }
.wbn-k-datum {
  background: rgba(255, 255, 255, .95); color: #12233a;
  border-radius: 9px; padding: 5px 9px; text-align: center; line-height: 1.05;
}
.wbn-k-datum b { display: block; font-size: 17px; font-weight: 800; }
.wbn-k-datum span {
  font-size: 9.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: #5f7280;
}
.wbn-k-t { padding: 11px 13px 3px; }
.wbn-k-t b { font-size: 14.5px; font-weight: 800; letter-spacing: -.012em; line-height: 1.25; display: block; }
.wbn-k-t p { margin: 3px 0 0; font-size: 12px; color: var(--scrm-mut, #8a97a8); }
.wbn-k-m { padding: 9px 13px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.wbn-k-bal {
  margin: 11px 13px 0; height: 6px; border-radius: 4px;
  background: #eef3f8; overflow: hidden;
}
.wbn-k-bal i { display: block; height: 100%; border-radius: 4px; background: var(--accent, #ef8a3c); }
.wbn-k-f {
  margin-top: auto; padding: 10px 13px 12px;
  font-size: 11.5px; color: var(--scrm-mut, #8a97a8);
}
.wbn-k-f b { color: #12233a; font-size: 13px; }

/* ============================================================
   Ein Webinar
   ============================================================ */
.wbn-zurueck { margin: -2px 0 8px -8px; }
.wbn-kopf { padding-bottom: 2px; }
.wbn-ob { display: flex; gap: 14px; align-items: flex-start; }
.wbn-sym {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #1b5a9e, #2f93c9);
}
.wbn-sym .material-symbols-rounded { font-size: 25px; }
.wbn-ti { min-width: 0; }
.wbn-ti h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.018em; }
.wbn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.wbn-a { margin-inline-start: auto; display: flex; gap: 7px; align-items: center; flex: none; }
.wbn-a .m3-btn { text-decoration: none; }

.wbn-zahlen { display: flex; margin: 16px 0 2px; flex-wrap: wrap; }
.wbn-zahlen > div {
  flex: 1; min-width: 132px;
  padding: 10px 16px 12px;
  border-inline-end: 1px solid var(--scrm-linie, #e7eef6);
}
.wbn-zahlen > div:first-child { padding-inline-start: 0; }
.wbn-zahlen > div:last-child { border-inline-end: 0; }
.wbn-zahlen b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.wbn-zahlen b i {
  font-style: normal; font-size: 13px; font-weight: 600;
  color: var(--scrm-mut, #8a97a8);
}
.wbn-zahlen span { font-size: 11px; color: var(--scrm-mut, #8a97a8); }
.wbn-zahlen .gut b { color: var(--scrm-gut, #0e7c6b); }

.wbn-tabs {
  display: flex; gap: 2px; flex-wrap: wrap;
  border-bottom: 1px solid var(--scrm-linie, #e7eef6);
  margin-bottom: 16px;
}
.wbn-tabs button {
  position: relative; height: 42px; padding: 0 14px;
  font: inherit; font-size: 13px; font-weight: 600;
  color: #5f7280; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
}
.wbn-tabs button .material-symbols-rounded { font-size: 18px; }
.wbn-tabs button:hover { color: #12233a; }
.wbn-tabs button[aria-selected="true"] { color: var(--accent-dark, #c96a22); font-weight: 700; }
.wbn-tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; inset-inline: 8px; bottom: -1px;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--accent, #ef8a3c);
}
.wbn-tabs .z {
  background: #eef3f8; color: #5f7280;
  border-radius: 9px; padding: 0 6px; font-size: 11px; font-weight: 700;
}
.wbn-tabs button[aria-selected="true"] .z {
  background: rgba(var(--accent-rgb, 239,138,60), .15); color: var(--accent-dark, #c96a22);
}

/* ---------- Teilnehmer ---------- */
.wbn-such {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px; border-radius: 18px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--scrm-linie2, #d9e4f0);
  min-width: 232px;
}
.wbn-such .material-symbols-rounded { font-size: 18px; color: var(--scrm-mut, #8a97a8); }
.wbn-such input { all: unset; flex: 1; min-width: 0; font: inherit; font-size: 13px; }

.wbn-tabrahmen {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--scrm-linie, #e7eef6);
}
.wbn-tab { width: 100%; border-collapse: collapse; }
.wbn-tab th {
  text-align: start; padding: 9px 12px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--scrm-mut, #8a97a8); background: #f8fafd;
  border-bottom: 1px solid var(--scrm-linie, #e7eef6); white-space: nowrap;
}
.wbn-tab td {
  padding: 8px 12px; border-bottom: 1px solid var(--scrm-linie, #e7eef6);
  vertical-align: middle; font-size: 13px;
}
.wbn-tab tr:last-child td { border-bottom: 0; }
.wbn-tab tbody tr:hover { background: #f9fbfd; }
.wbn-tab tr.gew { background: rgba(var(--accent-rgb, 239,138,60), .055); }
.wbn-wahl { width: 40px; }
.wbn-p { display: flex; align-items: center; gap: 9px; }
.wbn-p b { font-size: 13px; font-weight: 700; display: block; }
.wbn-p small { font-size: 11.5px; color: var(--scrm-mut, #8a97a8); }
.wbn-statknopf { all: unset; cursor: pointer; }
.wbn-dauer { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.wbn-bal { width: 54px; height: 5px; border-radius: 3px; background: #eef3f8; overflow: hidden; flex: none; }
.wbn-bal i { display: block; height: 100%; background: var(--scrm-gut, #0e7c6b); }
.wbn-frage {
  font-size: 12px; color: #5f7280; max-width: 260px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wbn-kauf {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--accent-dark, #c96a22);
}
.wbn-kauf .material-symbols-rounded { font-size: 14px; }

.wbn-wahlleiste {
  position: sticky; bottom: 0; margin-top: 12px; z-index: 2;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 12px;
  background: #123d6b; color: #fff;
  box-shadow: 0 14px 34px -14px rgba(10, 30, 55, .6);
}
.wbn-wahlleiste b { font-size: 13px; }
.wbn-wahlleiste .m3-btn { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.wbn-wahlleiste .m3-icon-btn { color: #fff; }

/* ---------- Nachrichten ---------- */
.wbn-ml { overflow: hidden; }
.wbn-ml-z {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-bottom: 1px solid var(--scrm-linie, #e7eef6);
  flex-wrap: wrap;
}
.wbn-ml-z:last-child { border-bottom: 0; }
.wbn-ml-z.aus { background: #fcfdfe; }
.wbn-ml-z.aus .wbn-ml-t b, .wbn-ml-z.aus .wbn-ml-t small { color: var(--scrm-mut, #8a97a8); }
.wbn-ml-ic {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  display: grid; place-items: center; background: #eef3f8; color: #5f7280;
}
.wbn-ml-z.an .wbn-ml-ic {
  background: rgba(var(--accent-rgb, 239,138,60), .13); color: var(--accent-dark, #c96a22);
}
.wbn-ml-t { min-width: 0; flex: 1; }
.wbn-ml-t b { font-size: 13.5px; font-weight: 700; display: block; }
.wbn-ml-t small { font-size: 11.5px; color: var(--scrm-mut, #8a97a8); }
.wbn-ml-r { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.wbn-ml-st { font-size: 11.5px; text-align: end; min-width: 92px; }
.wbn-ml-st b { display: block; color: var(--scrm-gut, #0e7c6b); font-size: 12px; }
.wbn-ml-st span { display: block; font-size: 11px; }
.wbn-fest {
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--scrm-mut, #8a97a8);
}

.wbn-warnung {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 11px 13px; border-radius: 11px; margin-top: 12px;
  background: #fff7ef; box-shadow: inset 0 0 0 1px #f3dcc3;
  font-size: 12.5px; line-height: 1.5; color: #7a4a16;
}
.wbn-warnung .material-symbols-rounded { font-size: 18px; flex: none; color: var(--scrm-warm, #c2691a); }
.wbn-warnung code {
  background: rgba(0, 0, 0, .06); border-radius: 5px; padding: 1px 5px;
  font-family: "Roboto Mono", ui-monospace, monospace; font-size: 11.5px;
}
.wbn-hinweis { background: #f1f5fa; box-shadow: inset 0 0 0 1px #e2eaf4; color: #41556d; }
.wbn-hinweis .material-symbols-rounded { color: var(--scrm-mut, #8a97a8); }

/* ---------- Anmeldeseite ---------- */
.wbn-zwei {
  display: grid; grid-template-columns: minmax(0, 1fr) 372px;
  gap: 16px; align-items: start;
}
.wbn-link {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 11px 13px; border-radius: 11px;
  background: #f3f7fb; box-shadow: inset 0 0 0 1px var(--scrm-linie2, #d9e4f0);
  font-size: 12.5px;
}
.wbn-link code {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: "Roboto Mono", ui-monospace, monospace; color: #5f7280;
}
.wbn-feldz {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 14px; border-bottom: 1px solid var(--scrm-linie, #e7eef6);
}
.wbn-feldz:last-child { border-bottom: 0; }
.wbn-feldz b { font-size: 13.5px; font-weight: 700; }
.wbn-feldz small { display: block; font-size: 11.5px; color: var(--scrm-mut, #8a97a8); }
.wbn-feldz .m3-segmented, .wbn-feldz .wbn-fest { margin-inline-start: auto; flex: none; }
.wbn-fragez { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.wbn-fragez .m3-field { flex: 1; min-width: 0; }
.wbn-fix {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.5; color: #41556d;
}
.wbn-fix .material-symbols-rounded { font-size: 19px; flex: none; color: var(--scrm-mut, #8a97a8); }

.wbn-vorschau {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--scrm-linie, #e7eef6);
  position: sticky; inset-block-start: 0;
}
.wbn-vorschau-k {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 13px; background: #f8fafd;
  border-bottom: 1px solid var(--scrm-linie, #e7eef6);
  font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--scrm-mut, #8a97a8);
}
.wbn-vorschau-k .material-symbols-rounded { font-size: 16px; }
.wbn-vorschau-i { padding: 14px; }
.wbn-vorschau-i h4 { margin: 0 0 3px; font-size: 15px; font-weight: 800; }
.wbn-vorschau-i p { margin: 0 0 13px; }

/* ---------- Nachbereitung und Auswertung ---------- */
.wbn-drei {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
  gap: 14px; align-items: start;
}
.wbn-nachz {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--scrm-linie, #e7eef6);
  font-size: 13px;
}
.wbn-nachz:last-of-type { border-bottom: 0; }
.wbn-ring {
  width: 128px; height: 128px; border-radius: 50%;
  margin: 8px auto 12px; display: grid; place-items: center; position: relative;
}
.wbn-ring::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: #fff; }
.wbn-ring b { position: relative; z-index: 1; font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.wbn-ring b i { font-style: normal; font-size: 13px; color: var(--scrm-mut, #8a97a8); }
.wbn-leg { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.wbn-leg div { display: flex; align-items: center; gap: 8px; }
.wbn-leg .pu { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.wbn-leg b { margin-inline-start: auto; }
.wbn-z {
  display: flex; align-items: baseline; gap: 8px;
  padding: 6px 0; font-size: 13px;
}
.wbn-z b { margin-inline-start: auto; font-weight: 700; }
.wbn-bal2 { height: 7px; border-radius: 4px; background: #eef3f8; overflow: hidden; margin-bottom: 6px; }
.wbn-bal2 i { display: block; height: 100%; background: var(--blue, #1a9bdb); }

/* ============================================================
   Das Blatt von rechts

   Liegt am body, nicht in der Suite: sonst klemmte es im
   Rollbereich des Inhalts fest.
   ============================================================ */
.wbn-scrim {
  position: fixed; inset: 0; z-index: 1600;
  background: rgba(9, 17, 32, .4);
  opacity: 0; transition: opacity .2s;
}
.wbn-scrim.an { opacity: 1; }
.wbn-blatt {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 1601;
  width: 620px; max-width: 94vw;
  display: flex; flex-direction: column; background: #fff;
  box-shadow: -14px 0 40px -18px rgba(18, 35, 58, .6);
  transform: translateX(100%);
  transition: transform .26s cubic-bezier(.2, 0, 0, 1);
}
.wbn-blatt.an { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .wbn-blatt { transition: none; } }
.wbn-bl-k {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--scrm-linie, #e7eef6);
}
.wbn-bl-k b { font-size: 15.5px; }
.wbn-bl-r { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 18px 22px; }
.wbn-bl-f {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-top: 1px solid var(--scrm-linie, #e7eef6);
}
.wbn-bl-ab {
  margin: 20px 0 11px; padding-top: 14px;
  border-top: 1px solid var(--scrm-linie, #e7eef6);
  font-size: 10.5px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--scrm-mut, #8a97a8);
}
.wbn-bl-ab:first-child { margin-top: 14px; border-top: 0; padding-top: 0; }
.wbn-arten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.wbn-arten button {
  all: unset; cursor: pointer; box-sizing: border-box;
  padding: 11px; border-radius: 11px; text-align: start;
  box-shadow: inset 0 0 0 1px var(--m3-outline, #bcc7cc);
}
.wbn-arten button .material-symbols-rounded { font-size: 21px; color: #5f7280; }
.wbn-arten button b { display: block; font-size: 13px; font-weight: 700; margin-top: 5px; }
.wbn-arten button small {
  display: block; font-size: 11px; line-height: 1.35;
  color: var(--scrm-mut, #8a97a8); margin-top: 2px;
}
.wbn-arten button.on {
  box-shadow: inset 0 0 0 2px var(--accent, #ef8a3c);
  background: rgba(var(--accent-rgb, 239,138,60), .06);
}
.wbn-arten button.on .material-symbols-rounded { color: var(--accent-dark, #c96a22); }

/* Schmaler Inhalt: die Vorschau der Anmeldeseite rutscht unter
   die Einstellungen, statt beide zu quetschen. */
@media (max-width: 1180px) {
  .wbn-zwei { grid-template-columns: minmax(0, 1fr); }
  .wbn-vorschau { position: static; }
}
