:root { font-family: ui-sans-serif, system-ui, sans-serif; color: #111; background: #f4f4f5; }
body { max-width: 960px; margin: 2rem auto; padding: 0 1rem; }
h1 { font-size: 1.25rem; margin: 0; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.muted { color: #52525b; font-size: 0.9rem; }
.card { background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; padding: 1rem 1.25rem; margin: 0.75rem 0; }
label { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.75rem 0; }
input { padding: 0.5rem 0.6rem; font-size: 1rem; }
button { padding: 0.5rem 0.9rem; cursor: pointer; }
#search { display: flex; gap: 0.5rem; margin: 1rem 0; }
#search input { flex: 1; }
.fields { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.35rem 0.75rem; margin: 0 0 1rem; font-size: 0.95rem; }
.fields dt { color: #52525b; }
.fields dd { margin: 0; }
.fields .id { font-family: ui-monospace, monospace; font-size: 0.8rem; color: #52525b; }
.expired { color: #b91c1c; font-weight: 600; }
.actions { display: flex; gap: 0.5rem; align-items: center; margin: 0 0 0.75rem; flex-wrap: wrap; }
.actions select { padding: 0.45rem 0.5rem; font-size: 1rem; min-width: 10rem; }
.table-wrap { overflow: auto; background: #fff; border: 1px solid #e4e4e7; border-radius: 8px; }
table.users { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.users th, table.users td { text-align: left; padding: 0.45rem 0.65rem; border-bottom: 1px solid #f4f4f5; }
table.users th { color: #52525b; font-weight: 600; background: #fafafa; position: sticky; top: 0; }
table.users tbody tr { cursor: pointer; }
table.users tbody tr:hover { background: #f4f4f5; }
table.users tbody tr.active { background: #e4e4e7; }
.err { color: #b91c1c; }
.ok { color: #166534; }
