/* Admins page (admin.html). Shared tokens from styles.css, so light/dark just work. */
.adm-wrap { max-width: 1280px; margin: 0 auto; padding: 40px 24px 80px; }
.adm-tabs { display: flex; gap: 4px; }
.adm-tab { font: inherit; background: transparent; border: 1px solid transparent; color: var(--muted); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.adm-tab:hover { color: var(--text); background: var(--surface-2); }
.adm-tab.active { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
.adm-msg { min-height: 20px; font-size: 14px; color: var(--ok-ink); margin: -18px 0 14px; }
.adm-msg.bad { color: var(--danger-ink); }
.adm-app { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin-bottom: -4px; }
.adm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.adm-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.adm-card.super { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.adm-card header { display: flex; align-items: center; gap: 8px; }
.adm-card h3 { margin: 0; font-size: 17px; flex: 1; }
.adm-count { font-size: 12px; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 1px 8px; }
.adm-desc { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.adm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px 4px 3px 11px; font-size: 13px; max-width: 100%; }
.adm-chip-mail { color: var(--muted-2); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-remove { font: inherit; border: none; background: transparent; color: var(--muted); cursor: pointer; width: 22px; height: 22px; border-radius: 50%; line-height: 1; font-size: 16px; }
.adm-remove:hover { background: var(--danger-soft); color: var(--danger-ink); }
.adm-none { color: var(--muted-2); font-size: 13px; }
.adm-add { display: flex; gap: 6px; margin-top: auto; }
.adm-add input { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); }
.adm-add input:focus { outline: none; border-color: var(--accent); }
.adm-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.adm-table { border-collapse: collapse; font-size: 13px; width: 100%; }
.adm-table th, .adm-table td { border-bottom: 1px solid var(--border); padding: 8px 10px; text-align: center; }
.adm-table tbody th { text-align: left; white-space: nowrap; font-weight: 400; position: sticky; left: 0; background: var(--surface); }
.adm-table thead th { font-size: 11.5px; color: var(--muted); font-weight: 600; vertical-align: bottom; min-width: 78px; }
.adm-table td { position: relative; }
.adm-table td.implied input { opacity: .35; }
.adm-implied { position: absolute; right: 6px; top: 6px; font-size: 10px; color: var(--muted-2); }
.adm-history { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.adm-history li { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.adm-history li:last-child { border-bottom: none; }
.adm-when { color: var(--muted-2); font-size: 12px; min-width: 150px; }
.adm-act { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-radius: 6px; padding: 1px 6px; }
.adm-act-add { color: var(--ok-ink); background: var(--ok-soft); }
.adm-act-remove { color: var(--danger-ink); background: var(--danger-soft); }
.adm-act-seed { color: var(--muted); background: var(--surface-2); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
@media (max-width: 760px) {
  .adm-wrap { padding: 20px 16px 60px; }
  .adm-tabs { order: 3; width: 100%; }
  .adm-cards { grid-template-columns: 1fr; }
  .intro h1 { font-size: 32px; }
}
