.tv-kopf { margin-bottom: 14px; }
.tv-banner-inhalt, .tv-umschalter-inhalt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tv-bereich-kopf { margin: 18px 0 10px; }
.tv-bereich-kopf h2 { display: inline; margin-right: 8px; }
.tv-speichern { margin-top: 12px; }
.tv-gesperrt { opacity: .6; pointer-events: none; }

.tv-kalender-wrap { margin-top: 14px; }
.tv-kal-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tv-kal-kopf h3 { margin: 0; font-size: 20px; }
.tv-kal-kopf-rechts { display: flex; align-items: center; gap: 8px; }
.tv-kal-steuer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.tv-kal-suche { flex: 1 1 180px; min-width: 150px; }
.tv-kal-leer { opacity: .7; font-size: 13px; margin: 6px 0 10px; }

.tv-kal-wtzeile { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.tv-kal-wt { font-size: 12px; opacity: .55; padding: 2px 4px; }
.tv-kal-tage { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.tv-kal-zelle { min-height: 88px; padding: 6px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 10px; background: rgba(255, 255, 255, .02); display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.tv-kal-zelle:hover { border-color: rgba(88, 101, 242, .5); }
.tv-kal-zelle.aus { opacity: .38; }
.tv-kal-tag-zahl { font-size: 13px; opacity: .85; align-self: flex-start; }
.tv-kal-zelle.heute .tv-kal-tag-zahl { background: #5865f2; color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; opacity: 1; }

.tv-chip { display: block; width: 100%; text-align: left; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; padding: 2px 7px; font-size: 12px; background: rgba(88, 101, 242, .20); color: inherit; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-chip-training { background: rgba(87, 242, 135, .18); }
.tv-chip-event { background: rgba(235, 69, 158, .18); }
.tv-chip-mehr { font-size: 12px; opacity: .7; background: none; border: 0; cursor: pointer; color: inherit; text-align: left; padding: 0 7px; }

.tvm .feld { margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.tvm .feld label { font-size: 13px; }
.tvm .feld .hilfe { font-size: 12px; opacity: .6; }
.tvm .pflicht { color: #ed4245; }
.tvm-abschnitt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin: 16px 0 6px; }
.tvm-inline { display: inline-flex; align-items: center; gap: 8px; }
.tv-zahl { display: inline-flex; align-items: center; gap: 6px; }
.tv-zahl-feld { width: 80px; text-align: center; }
.tvm-waehler { text-align: left; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.tvm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tvm-chip { display: inline-flex; align-items: center; gap: 4px; }
.tvm-chip .chip-weg { background: none; border: 0; cursor: pointer; color: inherit; opacity: .6; font-size: 15px; line-height: 1; padding: 0 2px; }
.tvm-chip .chip-weg:hover { opacity: 1; }

.tv-liste { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tv-liste-zeile { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 8px; background: rgba(255, 255, 255, .02); }
.tv-liste-zeile .wachsen { flex: 1 1 auto; }
.tv-liste-rechte { display: flex; gap: 12px; flex-wrap: wrap; }
.tv-liste-recht { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; opacity: .85; }
.tv-liste-add { display: flex; gap: 8px; align-items: center; }
.tv-liste-add .eingabe { flex: 1 1 auto; }
.tv-griff { opacity: .5; cursor: default; }
.tv-rollewahl { text-align: left; }

@media (max-width: 768px) {
  .tv-kal-wtzeile { display: none; }
  .tv-kal-tage { grid-template-columns: 1fr; }
  .tv-kal-zelle { min-height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .tv-kal-zelle .tv-chip { width: auto; }
}

.tv-abw-karte { margin-top: 12px; }
.tv-abw-liste { display: flex; flex-direction: column; gap: 8px; }
.tv-abw-zeile {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 10px;
  background: var(--flaeche-2, rgba(255,255,255,.03));
}
.tv-abw-zeile img, .tv-abw-zeile .avatar { flex: 0 0 auto; }
.tv-abw-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.tv-abw-name { font-weight: 600; }
.tv-abw-grund {
  font-size: .85em; opacity: .75;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tv-abw-zeit { flex: 0 0 auto; font-size: .82em; opacity: .7; white-space: nowrap; }

.tv-nav-inhalt { display: flex; flex-direction: column; gap: 14px; }
.tv-nav-gruppe { display: flex; flex-direction: column; gap: 7px; }
.tv-nav-label {
  font-size: .68rem; letter-spacing: .09em; text-transform: uppercase;
  opacity: .55; font-weight: 600;
}
.tv-nav-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.tv-tab {
  padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rand, rgba(255,255,255,.14));
  background: var(--flaeche-2, rgba(255,255,255,.03));
  color: inherit; font: inherit; font-size: .9rem; line-height: 1;
  transition: background .12s, border-color .12s, color .12s;
}
.tv-tab:hover { background: rgba(255,255,255,.08); }
.tv-tab.aktiv {
  background: var(--akzent, #5865F2);
  border-color: var(--akzent, #5865F2);
  color: #fff; font-weight: 600;
}

.tk-detail { margin-top: 12px; }
.tk-detail-kopf { display: flex; align-items: center; gap: 10px; }
.tk-detail-kopf h3 { flex: 1 1 auto; margin: 0; }
.tk-beschr { margin: 8px 0 12px; opacity: .85; white-space: pre-wrap; }
.tk-zeile { display: flex; gap: 10px; padding: 5px 0; border-top: 1px solid var(--rand, rgba(255,255,255,.08)); }
.tk-zeile b { flex: 0 0 90px; opacity: .6; font-weight: 600; }
.tk-zusagen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.tk-zusagen { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.tk-zusa-gruppe { display: flex; flex-direction: column; gap: 6px; }
.tk-zusa-kopf { font-size: .82rem; font-weight: 600; opacity: .8; }
.tk-zusa-namen { display: flex; flex-wrap: wrap; gap: 6px; }
.tk-person {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px; border-radius: 999px;
  background: var(--flaeche-2, rgba(255,255,255,.04));
  border: 1px solid var(--rand, rgba(255,255,255,.1));
  font-size: .85rem;
}
.tk-person img, .tk-person .avatar { width: 20px; height: 20px; border-radius: 50%; }
.tk-leer { opacity: .5; }
