:root { --ink: #1d2433; --muted: #6b7385; --line: #dde1e8; --accent: #2457c5; --danger: #b42318; --bg: #f7f8fa; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, sans-serif; color: var(--ink); background: var(--bg); }
header { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { font-weight: 600; color: var(--ink); text-decoration: none; }
main { max-width: 960px; margin: 24px auto; padding: 0 24px; }
h1 { font-size: 24px; margin: 0 0 8px; }
h2 { font-size: 17px; margin: 24px 0 8px; }
a { color: var(--accent); }
.hint { color: var(--muted); }
.error { padding: 10px 14px; border: 1px solid var(--danger); border-radius: 6px; color: var(--danger); background: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; }
.tabs { display: flex; gap: 16px; margin: 12px 0; }
.tabs a[aria-current] { font-weight: 600; color: var(--ink); text-decoration: none; }
.search input { width: 100%; padding: 8px 10px; margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.badge { font-size: 12px; padding: 1px 6px; border-radius: 4px; background: #e8eefb; color: var(--accent); }
.stack { display: grid; gap: 10px; max-width: 420px; }
.stack label { display: grid; gap: 4px; }
input, select { padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
button, .button { padding: 7px 14px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff; font: inherit; cursor: pointer; text-decoration: none; }
button.danger { background: var(--danger); border-color: var(--danger); }
button.link { padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; }
.actions, .inline, .signout { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.roles { padding-left: 18px; }
.roles form { display: inline; margin-left: 8px; }
.secret code { font-size: 22px; padding: 6px 12px; background: #fff; border: 1px dashed var(--line); }
