.admin { display: grid; gap: 20px; padding: 24px 0 56px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel h2 { font-size: 17px; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-head h2 { margin: 0 0 14px; }
.invite { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px 16px; align-items: end; }
.invite .wide { grid-column: 1 / -1; }
.invite label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.invite label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.invite input:not([type]), .invite textarea, .invite select { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface-1);
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; width: 100%; }
.invite .form-msg { margin-left: 10px; color: var(--ink-2); }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; color: var(--ink-2); font-weight: 600; }
td.num, th.num { text-align: center; }
.pct { display: inline-block; min-width: 40px; padding: 2px 6px; border-radius: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pct.p0 { color: var(--ink-3); }
.pct.p1 { background: var(--brand-soft); color: var(--brand-deep); }
.pct.p2 { background: #d6f5e8; color: #08694a; }
.pct.old { outline: 1px dashed var(--violet); }
.status { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.status.active { background: #d6f5e8; color: #08694a; }
.status.expired { background: var(--surface-2); color: var(--ink-2); }
.status.revoked { background: #fde2e1; color: #a12a24; }
.small { font-size: 12px; }
.denied { padding: 40px 0; }
td .link { margin-right: 10px; }
