main.wide { max-width: 1100px; }
header h1 .muted { font-size: 0.9rem; font-weight: 400; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat .n { font-size: 1.8rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat .l { color: var(--muted); font-size: 0.85rem; }
.stat.alert .n { color: #b00020; }

.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--rose-soft); }
td.wrap { white-space: normal; max-width: 360px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.78rem; border: 1px solid var(--line); }
.pill.banned { background: #fdecea; color: #b00020; border-color: #f5c2c0; }
.pill.admin { background: var(--rose-soft); color: var(--rose); border-color: var(--rose); }
.pill.ok { color: #2e7d32; }
.badge { display: inline-block; min-width: 1.4em; padding: 0 6px; border-radius: 999px; background: #b00020; color: #fff; font-size: 0.75rem; }
label.inline { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; margin: 0; }
label.inline input { width: auto; margin: 0; }
#user-search input[name=q] { flex: 3; margin: 0; }
#user-search button { flex: 0 0 auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; }

.report { margin-bottom: 10px; }
.report .meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; }
.report .reason { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; }
.report .actions-row, .drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
button.danger { background: #b00020; }
a.person { color: var(--rose); cursor: pointer; text-decoration: underline; }

#drawer { position: fixed; inset: 0; background: rgba(20, 10, 20, 0.35); display: flex; justify-content: flex-end; z-index: 10; }
#drawer[hidden] { display: none; }
.drawer-inner { width: min(460px, 100%); height: 100%; overflow-y: auto; border-radius: 0; position: relative; }
.drawer-inner .close { position: absolute; top: 12px; right: 12px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 0.9rem; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
