@font-face { font-family: "Montserrat"; src: url("/assets/montserrat.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
:root {
  --bg: #0c0c0e; --surface: #141417; --line: rgba(255, 255, 255, .07); --line-strong: rgba(255, 255, 255, .12);
  --text: #ececef; --body: #d4d4d8; --dim: #a1a1aa; --faint: #71717a; --link: #8ab4f8; --red: #f87171; --amber: #fbbf24;
  --green: #4ade80; --blue: #93c5fd; --purple: #c4b5fd; --radius: 14px;
  --heading: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
/* Keep the watermark in printouts and PDFs: browsers drop background images when printing unless told not to. */
* { box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
html, body { margin: 0; background: var(--bg); color: var(--body); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 { font-family: var(--heading); color: var(--text); margin: 0 0 .6rem; }
h1 { font-size: 1.45rem; } h2 { font-size: 1.05rem; margin-top: 1.4rem; }
main { max-width: 1100px; margin: 0 auto; padding: 1rem 16px 3rem; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .7rem 16px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .5rem; color: var(--text); font-family: var(--heading); font-weight: 800; }
.brand span { color: var(--dim); font-weight: 600; }
.search { flex: 1 1 260px; }
.search input, .big-search input { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; padding: .5rem .75rem; }
.big-search { display: flex; gap: .5rem; margin: .5rem 0 1rem; }
.who { display: flex; align-items: center; gap: .75rem; }
.who form { margin: 0; }
.tier { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--line-strong); }
.tier-management { color: var(--purple); } .tier-admin { color: var(--amber); } .tier-staff { color: var(--blue); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 0 0 1rem; }
.card.narrow { max-width: 560px; margin: 3rem auto; }
.section-toggle { all: unset; cursor: pointer; display: block; width: 100%; font-family: var(--heading); font-weight: 700; color: var(--text); }
.section-toggle::before { content: "▸ "; color: var(--faint); }
.section-toggle[aria-expanded="true"]::before { content: "▾ "; }
.section-body { margin-top: .8rem; overflow-x: auto; }
.who-line { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.pill { display: inline-block; font-size: .8rem; padding: .1rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); margin: 0 .25rem .25rem 0; }
.pill.small { font-size: .7rem; }
.groups { margin: .4rem 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.facts div { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; }
.facts dt { color: var(--faint); font-size: .8rem; } .facts dd { margin: 0; color: var(--text); }
table.list { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.list th { text-align: left; color: var(--faint); font-weight: 600; border-bottom: 1px solid var(--line-strong); padding: .4rem .5rem; }
table.list td { border-bottom: 1px solid var(--line); padding: .45rem .5rem; vertical-align: top; overflow-wrap: anywhere; }
tr.is-active td { background: rgba(248, 113, 113, .06); }
.results { list-style: none; padding: 0; margin: 0; }
.results li { border-top: 1px solid var(--line); } .results a { display: block; padding: .55rem .2rem; }
.muted { color: var(--dim); } .fine { font-size: .82rem; } .small { font-size: .82rem; } .mono { font-family: var(--mono); font-size: .85em; }
.button, button.primary { display: inline-block; font: inherit; cursor: pointer; border-radius: 10px; padding: .5rem 1rem; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .06); color: var(--text); }
.button.primary, button.primary { background: #5865f2; border-color: #5865f2; color: #fff; }
button.link { all: unset; cursor: pointer; color: var(--link); }
button.link.danger { color: var(--red); }
.open-all { text-align: right; margin: 0 0 .4rem; }
.foot { text-align: center; color: var(--faint); font-size: .8rem; padding: 0 16px 2rem; }
code { font-family: var(--mono); background: rgba(255, 255, 255, .06); padding: 0 .3rem; border-radius: 4px; }
@media (max-width: 640px) { .who .me { display: none; } h1 { font-size: 1.2rem; } }
h3 { font-family: var(--heading); color: var(--text); font-size: .95rem; margin: 1.1rem 0 .4rem; }
.nowrap { white-space: nowrap; }
pre.log { white-space: pre-wrap; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; font: .82rem/1.45 var(--mono); max-height: 280px; overflow: auto; }
details.report { border-top: 1px solid var(--line); padding: .45rem 0; } details.report summary { cursor: pointer; }
ul.notes { list-style: none; padding: 0; margin: 0; } ul.notes li { border-top: 1px solid var(--line); padding: .45rem 0; }
.section-search { display: flex; gap: .5rem; margin: 0 0 .7rem; }
.section-search input { flex: 1; font: inherit; color: var(--text); background: rgba(0, 0, 0, .25); border: 1px solid var(--line-strong); border-radius: 8px; padding: .35rem .6rem; }
.section-search button { font: inherit; cursor: pointer; border-radius: 8px; padding: .35rem .8rem; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .06); color: var(--text); }
