/* Sitebeheer en profiel */
.admin-page .nowrap, .profile-page .nowrap { white-space: nowrap; }
.admin-loading, .profile-loading { display: grid; place-items: center; padding: 40px 0; }
.admin-sub, .profile-sub { margin: 2px 0 14px; }
.admin-none { text-align: center; padding: 22px 12px; }
.admin-foot { margin-top: 14px; }

/* Gebruikers */
.admin-toolbar { margin-bottom: 12px; }
.admin-search { max-width: 360px; flex: 1 1 240px; }
.admin-user { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.admin-user-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.admin-user-txt b { font-weight: 600; }
.admin-email { color: var(--ink-2); word-break: break-all; min-width: 140px; }
.admin-badges { gap: 4px; }
.admin-actions { width: 1%; }
.admin-tbl tr.admin-pending td { background: var(--amber-soft); }
.admin-tbl tr.admin-pending:hover td { background: var(--amber-soft); filter: brightness(.98); }
.admin-tbl tr.admin-bad td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.admin-detail { margin-top: 3px; max-width: 320px; overflow-wrap: anywhere; }
.admin-ip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; white-space: nowrap; }
.admin-more { justify-content: center; margin-top: 14px; }

/* Uitnodigingen */
.admin-url { margin-top: 10px; }
.admin-url .input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.panel > .table-wrap.admin-inner-table { margin-top: 10px; }

/* Instellingen */
.admin-select { width: auto; min-width: 220px; max-width: 100%; }
.admin-text { width: 260px; max-width: 100%; }
.admin-text[type="number"] { width: 110px; }
.admin-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; padding: 7px 10px; border-radius: 8px; background: var(--amber-soft); color: var(--ink-2); font-size: 13px; }
.admin-note .ic { flex-shrink: 0; margin-top: 2px; }

/* Systeem */
.admin-system { margin-top: 14px; }
.admin-stat-badge { margin-top: 6px; text-decoration: none; }
.admin-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 10px 0 0; }
.admin-dl dt { color: var(--ink-3); font-size: 13px; }
.admin-dl dd { margin: 0; overflow-wrap: anywhere; }

/* Profiel */
.profile-page { max-width: 760px; }
.profile-head { margin-bottom: 2px; }
.profile-avatar-row { gap: 16px; margin-top: 10px; }
.profile-avatar { display: grid; place-items: center; }
.profile-narrow { max-width: 420px; }
.profile-warn { color: var(--red); }
.btn.profile-danger { color: var(--red); }
.profile-sessions { display: flex; flex-direction: column; }
.profile-session { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.profile-session:first-child { border-top: 0; }
.profile-session-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--ink-3); flex-shrink: 0; }
.profile-session-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.profile-session-txt .muted { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .admin-search { max-width: none; }
  .setting { flex-direction: column; gap: 10px; }
  .setting .switch { align-self: flex-start; }
  .admin-select, .admin-text { width: 100%; min-width: 0; }
  .admin-text[type="number"] { width: 140px; }
  .admin-dl { grid-template-columns: 1fr; gap: 2px; }
  .admin-dl dd { margin-bottom: 8px; }
}
