/* ── VERWALTUNG (Inhaltsansicht) ──────────────────────────────────
   Firmendaten, Backend Benutzer, Registrierte Benutzer. Die Bausteine
   kommen aus profile.css (.pf-*) und team.css (.tm-*); hier nur, was
   Liste, Suche, Detail und Protokoll zusätzlich brauchen.          */

/* Die Kontenliste braucht mehr Breite als die Textseiten */
#content-body.admin-wide {
  max-width: min(960px, calc(100vw - 80px));
}

.pf-f textarea {
  width: 100%;
  min-height: 72px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 6px 0;
  outline: none;
  resize: vertical;
}
.pf-f textarea:focus {
  border-bottom-color: var(--black);
}
.pf-f [aria-invalid='true'] {
  border-bottom-color: var(--red);
}

/* ── Liste ── */
.adm-search {
  display: block;
  max-width: 420px;
}
.adm-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 24px;
  width: 100%;
  padding: 9px 0;
  text-align: left;
  font: inherit;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.adm-row:hover .tm-email {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.adm-badge {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  white-space: nowrap;
}
.adm-badge.off {
  color: var(--red);
}
.adm-pager {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--mid);
}
.adm-pager .pf-link:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ── Detail ── */
#cu-back {
  margin-bottom: 28px;
}
.adm-lines {
  white-space: pre-line;
}
.adm-form {
  margin-top: 24px;
}
