/* Gastgeber-Bereich (#104): teilt den Adminrahmen und ergänzt Konto in der Seitenleiste, Zustandschips und Rollen. */
.host-account { position: relative; }
.admin-header .host-account { margin-inline-start: auto; }
.host-account-sidebar { display: none; }
.host-account-trigger {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px; border: 0; border-radius: 12px;
  background: transparent; color: var(--z-text); font: inherit; text-align: start; cursor: pointer;
}
.host-account-trigger:hover, .host-account-trigger:focus-visible { background: var(--z-primary-soft); }
.host-account-avatar {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--z-primary-soft); color: var(--z-primary); font-weight: 750;
}
.host-account-text { display: grid; min-width: 0; }
.host-account-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host-account-email { color: var(--z-muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host-account-header .host-account-text { display: none; }
.host-state-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.host-state-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--z-border);
  border-radius: 999px; background: var(--z-surface); color: var(--z-text); font-weight: 650; text-decoration: none;
}
.host-state-chip:hover, .host-state-chip:focus-visible { border-color: var(--z-primary); }
.host-state-chip.active { border-color: var(--z-text); background: var(--z-text); color: var(--z-surface); }
.host-events-hint { margin-top: 20px; }
@media(min-width:1024px) {
  .host-account-sidebar { display: block; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--z-border); }
  .host-account-header { display: none; }
}

/* Gastgeber-Team (#105, Bild 06): Liste links, Einladen rechts; Einladungsseite (Bild 04). */
.host-team { display: grid; gap: 16px; align-items: start; }
.host-team .card { margin: 0; }
.host-team h2 { margin: 0; font-size: 1.15rem; }
.host-team-list { padding: 0; }
.host-team-list h2 { padding: 20px 20px 16px; border-bottom: 1px solid var(--z-border); }
.host-team-rows { margin: 0; padding: 0; list-style: none; }
.host-team-row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.host-team-row + .host-team-row { border-top: 1px solid var(--z-border); }
.host-team-person { display: grid; flex: 1; min-width: 0; }
.host-team-name { font-weight: 700; overflow-wrap: anywhere; }
.host-team-meta { color: var(--z-muted); font-size: .85rem; overflow-wrap: anywhere; }
.host-team-menu-space { flex: none; width: 0; }
.host-avatar {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--z-primary-soft); color: var(--z-primary-strong); font-weight: 750;
}
.host-avatar.is-cohost { background: var(--z-success-soft); color: var(--z-success); }
.host-avatar.is-pending { border: 2px dashed var(--z-border); background: transparent; color: var(--z-muted); }
.host-avatar .icon { width: 20px; height: 20px; }
.host-role {
  flex: none; padding: 4px 12px; border-radius: 999px; background: var(--z-text); color: var(--z-surface);
  font-size: .85rem; font-weight: 700; white-space: nowrap;
}
.host-role.is-cohost { background: var(--z-primary-soft); color: var(--z-primary-strong); }
.host-team-revoke { flex: none; }
.host-team-invite { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.host-team-lead { margin: 0; color: var(--z-text); line-height: 1.45; }
.host-team-rules { margin: 0; padding-inline-start: 20px; color: var(--z-muted); font-size: .9rem; line-height: 1.5; }
.host-team-new { align-self: flex-start; }
.host-invite-link { display: flex; flex-direction: column; gap: 8px; }
.host-invite-link label { font-weight: 700; }
.host-invite-link input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--z-border); border-radius: 12px;
  background: var(--z-bg); color: var(--z-text); font: inherit; box-sizing: border-box;
}
.host-invite-link-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.host-invite-link-actions .button { width: 100%; }
.host-invite-link-actions .button.secondary { border-color: var(--z-border); color: var(--z-text); }
.host-invite-link-status { margin: 0; color: var(--z-muted); font-size: .9rem; }
.host-invite { display: flex; flex-direction: column; gap: 24px; }
.host-invite-card { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; padding: 28px 20px; text-align: center; }
.host-invite-card h1 { margin: 0; font-size: 1.9rem; line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }
.host-invite-avatars { display: flex; margin-bottom: 8px; }
.host-invite-avatars .host-avatar.is-large { width: 56px; height: 56px; font-size: 1.3rem; }
.host-invite-avatars .host-avatar + .host-avatar { margin-inline-start: -8px; box-shadow: 0 0 0 3px var(--z-surface); }
.host-avatar.is-join { background: var(--z-text); color: var(--z-surface); }
.host-invite-from, .host-invite-date { margin: 0; color: var(--z-muted); }
.host-invite-rights h2 { margin: 0 0 10px; font-size: 1.1rem; }
.host-invite-rights ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.host-invite-rights li { display: flex; gap: 14px; line-height: 1.4; }
.host-invite-rights .icon { flex: none; width: 22px; height: 22px; color: var(--z-success); }
.host-invite-actions { display: flex; flex-direction: column; gap: 10px; }
.host-invite-validity, .host-invite-account { margin: 0; color: var(--z-muted); font-size: .9rem; text-align: center; }
@media(min-width:1024px) {
  .host-team { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
}

/* Mein Konto (#107): Formulare in Karten, Erfolg unter dem Formular, Liste der eigenen Veranstaltungen im Löschdialog. */
.host-account-form { max-width: 480px; }
.host-account-success { margin: 0; color: var(--z-success); font-weight: 600; }
.host-account-events { margin: 0 0 12px; padding-inline-start: 20px; color: var(--z-muted); }

/* Rechtliche Links im Kontomenü (#124): gedämpft über „Abmelden“, durch eine Linie getrennt. */
.host-account-legal {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px;
  color: var(--z-muted); font-size: .875rem; text-decoration: none;
}
.host-account-legal:hover, .host-account-legal:focus-visible { background: var(--z-primary-soft); color: var(--z-text); }
.host-account-legal + .admin-account-signout { position: relative; margin-top: 9px; }
.host-account-legal + .admin-account-signout::before { content: ""; position: absolute; inset: -5px 8px auto; height: 1px; background: var(--z-border); }
