/* Overseer. One stylesheet. Dense, flat, full width: an application, not a brochure. */
:root {
  color-scheme: dark;
  --bg: #0e1015;
  --panel: #12151b;
  --raised: #181c24;
  --hover: #1c212b;
  --line: #1e232d;
  --line-2: #2a303c;
  --text: #e8ebf0;
  --text-2: #a3abb9;
  --text-3: #6b7385;
  --accent: #3987e5;
  --accent-ink: #7fb2f2;
  --accent-wash: rgba(57, 135, 229, 0.13);
  /* Categorical series, in fixed order. Validated for colour-blind separation on --bg. */
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --s5: #d55181; --s6: #0ca30c; --s7: #9085e9; --s8: #e66767;
  /* Status. Always paired with a word or an icon. */
  --good: #2fb36a; --warn: #e0a321; --bad: #e5574f;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: #a9cbf7; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 3px; }
::selection { background: rgba(57, 135, 229, 0.35); }
h1, h2, h3, h4, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
b, strong { font-weight: 600; }

/* ---------- Shell ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(14, 16, 21, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
/* A slow band of colour travelling along the bottom edge of the header. */
.hd::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--s1) 20%, var(--s7) 35%, #2cc5b6 50%, transparent 70%); background-size: 200% 100%; animation: band 9s linear infinite; opacity: 0.75; pointer-events: none; }
/* While the next page is on its way, the band under the header runs faster. */
.busy .hd::after { height: 2px; opacity: 1; animation-duration: 1.1s; }
.hd-top { display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 32px; width: 100%; max-width: 1760px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; flex: none; }
.brand:hover { color: var(--text); }
.logo { width: 30px; height: 30px; overflow: visible; }
.logo .arcs { transform-origin: 16px 16px; animation: turn 14s linear infinite; }
.logo .core { transform-origin: 16px 16px; animation: beat 2.8s ease-in-out infinite; }
.logo .halo { transform-origin: 16px 16px; opacity: 0.35; animation: glow 2.8s ease-in-out infinite; }
.brand:hover .logo .arcs { animation-duration: 1.6s; }
.hd-search { flex: 0 1 380px; margin-left: auto; position: relative; }
.hd-search input[type=search] { height: 36px; padding-left: 36px; background: var(--panel); border-color: var(--line); }
.hd-search svg { position: absolute; left: 11px; top: 10px; width: 16px; height: 16px; color: var(--text-3); pointer-events: none; }
.hd-right { display: flex; align-items: center; gap: 10px; flex: none; }
.hd-right form { margin: 0; }
.hd-right .me { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 500; font-size: 14px; max-width: 180px; }
.hd-right .me span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-nav { display: flex; align-items: stretch; gap: 2px; height: 44px; padding: 0 22px; width: 100%; max-width: 1760px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.hd-nav::-webkit-scrollbar { display: none; }
.hd-nav a { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 14.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; z-index: 0; transition: color 0.15s ease; }
.hd-nav a::before { content: ""; position: absolute; inset: 7px 2px; border-radius: 6px; background: var(--raised); opacity: 0; transform: scale(0.96); transition: opacity 0.15s ease, transform 0.15s ease; z-index: -1; }
.hd-nav a:hover { color: var(--text); }
.hd-nav a:hover::before { opacity: 1; transform: none; }
.hd-nav a.on { color: var(--text); }
.hd-nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: linear-gradient(90deg, var(--s1), var(--s7)); animation: tab-in 0.35s var(--ease) both; }
.hd-nav svg { width: 16px; height: 16px; color: var(--text-3); flex: none; transition: color 0.15s ease; }
.hd-nav a.on svg, .hd-nav a:hover svg { color: var(--accent-ink); }
.hd-nav .sep { width: 1px; background: var(--line); margin: 12px 10px; flex: none; }
.hd-nav .grp { display: flex; align-items: center; font-size: 11.5px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); padding: 0 6px 0 2px; flex: none; }
.main { min-height: calc(100dvh - 105px); display: flex; flex-direction: column; }
.ph { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; padding: 26px 32px 0; }
.ph h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.ph .crumb { color: var(--text-3); font-weight: 500; }
.ph .crumb::after { content: "/"; margin: 0 10px; color: var(--line-2); }
.ph-r { display: flex; align-items: center; gap: 10px; min-width: 0; margin-left: auto; }
/* The server switch. It changes what the whole page is about, so it sits
   beside the title and each server keeps its own colour and letter. */
.scope { display: flex; align-items: center; gap: 2px; padding: 3px; margin-left: 8px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--panel); border: 1px solid var(--line-2); border-radius: 9px; }
.scope::-webkit-scrollbar { display: none; }
.scope-l { padding: 0 10px 0 11px; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.scope a { position: relative; z-index: 0; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 15px 0 8px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color 0.2s ease; }
/* The highlight is its own layer behind the words, so that when the choice
   changes it can slide from the old option to the new one. */
.scope a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 6px; background: var(--raised); opacity: 0; transform-origin: left center; transition: opacity 0.15s ease; }
.scope a:hover { color: var(--text); }
.scope a:hover::before { opacity: 1; }
.scope a.on { color: #fff; }
.scope a.on::before { opacity: 1; background: var(--accent-wash); box-shadow: inset 0 0 0 1px rgba(57, 135, 229, 0.6); }
/* A server's icon, or a tile with its initial when it has none. */
.sv { display: block; flex: none; width: 24px; height: 24px; border-radius: 30%; object-fit: cover; background: var(--raised); }
i.sv { display: grid; place-items: center; font: 600 12px/1 var(--font); font-style: normal; color: #fff; }
.scope .sv { opacity: 0.7; transition: opacity 0.2s ease, transform 0.3s var(--ease); }
.scope a:hover .sv, .scope a.on .sv { opacity: 1; }
.scope a.on .sv { transform: scale(1.07); }
/* Every server's icon, overlapping, for "all of them". */
.sv-all { display: inline-flex; flex: none; }
.sv-all .sv + .sv { margin-left: -9px; box-shadow: 0 0 0 2px var(--panel); }
.scope a.on .sv-all .sv { transform: none; }
/* The same control, switching between a member's public page and the
   moderator view. The moderator side is amber, like every other warning
   that a page is not public. */
.scope.view a { padding: 0 15px; }
.scope.view a.mod.on { color: #f3cf7a; }
.scope.view a.mod.on::before { background: rgba(224, 163, 33, 0.12); box-shadow: inset 0 0 0 1px rgba(224, 163, 33, 0.5); }
.scope .off { display: flex; align-items: center; height: 38px; padding: 0 15px; font-size: 14.5px; color: var(--text-3); white-space: nowrap; }
.content { padding: 22px 32px 80px; flex: 1; width: 100%; max-width: 1760px; margin: 0 auto; }
.ph { width: 100%; max-width: 1760px; margin: 0 auto; }
.lede { color: var(--text-2); font-size: 15.5px; max-width: 80ch; margin-bottom: 24px; }
.foot { border-top: 1px solid var(--line); padding: 18px 32px; font-size: 13px; color: var(--text-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--text-3); }
.foot a:hover { color: var(--text-2); }

/* ---------- Grid and sections ---------- */
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 40px; align-items: start; }
.s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; }
.s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
.sec { border-top: 1px solid var(--line); padding: 18px 0 30px; min-width: 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.sec-h .meta, .sec-h a { font-size: 13.5px; color: var(--text-3); white-space: nowrap; }
.sec-h a:hover { color: var(--accent-ink); }
.sec > .note-line { font-size: 14px; color: var(--text-3); margin-top: 12px; }
.sec > .lead-line { font-size: 15px; color: var(--text-2); margin-bottom: 16px; }
.sec > .lead-line b { color: var(--text); font-weight: 500; }
.stack > * + * { margin-top: 0; }
.muted { color: var(--text-2); } .faint { color: var(--text-3); }
.small { font-size: 14px; } .tiny { font-size: 12.5px; }
.right { text-align: right; } .nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.empty { color: var(--text-3); font-size: 14px; padding: 6px 0; }
.empty.pad { padding: 40px 20px; }
.gap-t { margin-top: 16px; align-items: center; }
.gap-b { margin: -8px 0 20px; }

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 13px; font: 500 14px/1 var(--font); color: var(--text); background: var(--raised); border: 1px solid var(--line-2); border-radius: 5px; cursor: pointer; white-space: nowrap; transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease; }
.btn:hover { background: var(--hover); border-color: #394152; color: var(--text); }
.btn:active { background: var(--raised); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #4a93ea; border-color: #4a93ea; }
.btn.sm { height: 29px; padding: 0 10px; font-size: 13.5px; }
.btn.quiet { background: none; border-color: transparent; color: var(--text-2); }
.btn.quiet:hover { background: var(--raised); color: var(--text); }
.btn.on { background: var(--accent-wash); border-color: rgba(57, 135, 229, 0.5); color: var(--accent-ink); }
.btn.good:hover { border-color: var(--good); color: var(--good); }
.btn.bad:hover { border-color: var(--bad); color: var(--bad); }
input[type=text], input[type=search], textarea { width: 100%; height: 34px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 11px; font: 14px var(--font); transition: border-color 0.12s ease, box-shadow 0.12s ease; }
textarea { height: auto; min-height: 76px; padding: 8px 10px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(57, 135, 229, 0.2); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 5px; overflow: hidden; max-width: 100%; }
.seg a { height: 32px; display: inline-flex; align-items: center; padding: 0 13px; font-size: 13.5px; font-weight: 500; color: var(--text-2); border-right: 1px solid var(--line-2); white-space: nowrap; }
.seg a:last-child { border-right: 0; }
.seg-l { display: inline-flex; align-items: center; padding: 0 11px; font-size: 13px; color: var(--text-3); border-right: 1px solid var(--line-2); white-space: nowrap; }
.seg a:hover { color: var(--text); background: var(--raised); }
.seg a.on { background: var(--raised); color: var(--text); }
/* How many each choice holds, so nobody opens an empty one to find out. */
.seg-n { margin-left: 7px; font-size: 12.5px; font-weight: 400; font-variant-numeric: tabular-nums; color: var(--text-3); }
.seg a.on .seg-n { color: var(--text-2); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row input { flex: 1; width: auto; min-width: 150px; }
form.inline { display: inline-flex; gap: 6px; margin: 0; flex-wrap: wrap; }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tools form { display: flex; gap: 8px; }
.tools input { width: 260px; }
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .lbl { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field .hint { font-size: 13px; color: var(--text-3); margin-top: 6px; line-height: 1.45; }

.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; font-size: 12.5px; font-weight: 500; line-height: 1; border-radius: 4px; background: var(--raised); color: var(--text-2); white-space: nowrap; vertical-align: middle; }
.tag.info { background: var(--accent-wash); color: var(--accent-ink); }
.tag.good { background: rgba(47, 179, 106, 0.13); color: #55c98a; }
.tag.warn { background: rgba(224, 163, 33, 0.13); color: #e6b548; }
.tag.bad { background: rgba(229, 87, 79, 0.14); color: #ee7d77; }
.tag.line { background: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.tag i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- People ---------- */
.av { border-radius: 50%; background: var(--raised); flex: none; object-fit: cover; }
.who { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-weight: 500; }
.who:hover { color: var(--accent-ink); }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stack-av { display: flex; }
.stack-av .av { box-shadow: 0 0 0 2px var(--bg); margin-left: -6px; }
.stack-av .av:first-child { margin-left: 0; }

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { font-size: 13px; font-weight: 500; color: var(--text-3); text-align: left; padding: 0 12px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 0 12px 0 0; height: 48px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.1s ease; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
tr.me { background: var(--accent-wash); }
tr.me td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; padding-left: 12px; }
td.rank { width: 34px; color: var(--text-3); font-variant-numeric: tabular-nums; padding-left: 8px; }
td.bar { width: 18%; min-width: 90px; }
td.spark { width: 96px; }
.scroll { overflow-x: auto; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; font-size: 13.5px; color: var(--text-3); }
.pager .count b { font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pager .ways { display: flex; gap: 8px; }
[hidden] { display: none !important; }
.up { color: var(--good); } .down { color: var(--bad); }

/* ---------- Figures ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.kpi { padding: 18px 24px 22px 0; min-width: 0; }
.kpi + .kpi { padding-left: 24px; border-left: 1px solid var(--line); }
.kpi .k { font-size: 14px; color: var(--text-2); display: flex; justify-content: space-between; gap: 8px; }
.kpi .v { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 6px; display: flex; align-items: baseline; gap: 10px; }
.kpi .v small { font-size: 14px; font-weight: 400; color: var(--text-3); letter-spacing: 0; }
.kpi .d { font-size: 13.5px; color: var(--text-3); margin-top: 4px; display: flex; align-items: center; gap: 6px; min-height: 19px; }
.kpi .d b { font-weight: 500; }
.kpi svg.spark { margin-top: 12px; width: 100%; height: 30px; }
.kpi.warn .v { color: var(--warn); } .kpi.bad .v { color: var(--bad); }
svg.spark { overflow: visible; }
svg.spark .l { fill: none; stroke: var(--text-3); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
svg.spark .l.now { stroke: var(--accent); }
svg.spark.mini { width: 84px; height: 22px; }

svg.meter { display: block; width: 100%; height: 4px; background: var(--raised); border-radius: 2px; overflow: hidden; }
svg.meter rect { fill: var(--s1); transform-box: fill-box; transform-origin: 0 50%; }
svg.seg-bar { display: block; width: 100%; height: 8px; border-radius: 4px; overflow: hidden; }
svg.seg-bar rect { transform-box: fill-box; transform-origin: 0 50%; }
.f1 { fill: var(--s1); } .f2 { fill: var(--s2); } .f3 { fill: var(--s3); } .f4 { fill: var(--s4); }
.f5 { fill: var(--s5); } .f6 { fill: var(--s6); } .f7 { fill: var(--s7); } .f8 { fill: var(--s8); }
.f-bad { fill: var(--bad); } .f-rest { fill: #343b49; }
.b1 { background: var(--s1); } .b2 { background: var(--s2); } .b3 { background: var(--s3); } .b4 { background: var(--s4); }
.b5 { background: var(--s5); } .b6 { background: var(--s6); } .b7 { background: var(--s7); } .b8 { background: var(--s8); }
.b-bad { background: var(--bad); } .b-rest { background: #343b49; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 24px; margin-top: 14px; font-size: 14px; }
.legend div { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.legend i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.legend b { margin-left: auto; color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); min-width: 0; }
.list li:last-child { border-bottom: 0; }
.list .end { display: flex; align-items: center; gap: 16px; flex: none; }
.list .v { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.list .sub { display: block; font-size: 13px; font-weight: 400; color: var(--text-3); }
.list .l { min-width: 0; display: flex; align-items: center; gap: 10px; }
.bars li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.bars li:first-child { padding-top: 0; }
.bars li:last-child { border-bottom: 0; padding-bottom: 0; }
.bars .line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 7px; min-width: 0; font-size: 14.5px; }
.bars .line > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .n { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; flex: none; }
.chan { font-weight: 500; color: var(--text); }
.chan::before { content: "#"; color: var(--text-3); font-weight: 400; margin-right: 1px; }

.feed li { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--text-2); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.feed li:last-child { border-bottom: 0; }
.feed li b { color: var(--text); font-weight: 500; }
.feed .what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .t { margin-left: auto; font-size: 13px; color: var(--text-3); flex: none; }
.feed li.enter { animation: feed-in 0.45s var(--ease) both; }
.feed li.enter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(57, 135, 229, 0.14), transparent 55%); animation: sweep 0.9s ease-out both; pointer-events: none; }
.feed li.exit { animation: feed-out 0.3s ease-in both; }

/* ---------- Weekly boards ---------- */
/* Whoever leads a board is shown large. The next four sit beneath, and the
   line under each is a bar: how close they are to the lead. */
.board { --tone: var(--s1); }
.board.t2 { --tone: var(--s7); } .board.t3 { --tone: var(--s3); } .board.t4 { --tone: var(--warn); } .board.t5 { --tone: var(--bad); }
.lead { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); box-shadow: inset 2px 0 0 var(--tone); color: var(--text); transition: background 0.15s ease, border-color 0.15s ease; }
.lead:hover { background: var(--raised); border-color: var(--line-2); color: var(--text); }
.lead-av { position: relative; flex: none; }
.lead-av i { position: absolute; right: -5px; bottom: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 2px var(--panel); font: 600 11.5px/1 var(--font); color: #fff; }
.lead:hover .lead-av i { box-shadow: 0 0 0 2px var(--raised); }
.t4 .lead-av i { color: #1a1300; }
.lead-n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lead-n b { font-size: 17px; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-n span { font-size: 13.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.lead-v b { font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.lead-v > span { font-size: 12.5px; color: var(--text-3); }
.ranks { margin-top: 4px; }
.ranks li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 46px; }
.ranks .rk { text-align: center; font-size: 13.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ranks .who { justify-self: start; max-width: 100%; }
.ranks .v { font-size: 13.5px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranks .v b { font-size: 14.5px; font-weight: 500; color: var(--text); }
.ranks svg.meter { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 0; background: var(--line); }
.ranks svg.meter rect { fill: var(--tone); }
.ranks li:last-child svg.meter { background: none; }
.board-note { margin: -8px 0 26px; font-size: 13.5px; color: var(--text-3); }
.board-note a { color: var(--text-2); }
.board-note a:hover { color: var(--accent-ink); }
/* Two members who spent the week arguing, face to face. */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.duo a { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; font-size: 15.5px; font-weight: 600; color: var(--text); }
.duo a:hover { color: var(--accent-ink); }
.duo a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duo .a .av { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--s1); }
.duo .b .av { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--s2); }
.duo .x { display: flex; flex-direction: column; align-items: center; font-size: 12.5px; color: var(--text-3); }
.duo .x b { font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); font-variant-numeric: tabular-nums; }
.duo + svg.seg-bar { height: 6px; border-radius: 3px; margin-top: 12px; }
.duo-foot { display: flex; justify-content: space-between; gap: 12px; margin: 9px 0 6px; font-size: 13.5px; color: var(--text-3); }
.duo-foot span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.duo-foot a { flex: none; }

/* Activity calendar and daily rhythm */
svg.cal { display: block; width: 100%; height: auto; max-width: 600px; }
svg.cal rect { rx: 2px; }
.h0 { fill: #171b23; } .h1 { fill: #14406f; } .h2 { fill: #1c5cab; } .h3 { fill: #3987e5; } .h4 { fill: #86b6ef; }
svg.cal text { font: 8px var(--font); fill: var(--text-3); }
.cal-key { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-3); margin-top: 8px; }
.cal-key i { width: 10px; height: 10px; border-radius: 2px; }
.cal-key .k0 { background: #171b23; } .cal-key .k1 { background: #14406f; } .cal-key .k2 { background: #1c5cab; } .cal-key .k3 { background: #3987e5; } .cal-key .k4 { background: #86b6ef; }
svg.hours { display: block; width: 100%; height: 56px; }
svg.hours rect { fill: #343b49; transform-box: fill-box; transform-origin: 50% 100%; }
svg.hours rect.pk { fill: var(--s1); }
.hours-x { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

/* ---------- Member page ---------- */
.head { display: flex; align-items: center; gap: 18px; padding-bottom: 22px; }
.head h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.head .sub { color: var(--text-3); font-size: 14px; margin-top: 3px; }
.head .tags { margin-top: 9px; }
.head .place { margin-left: auto; text-align: right; flex: none; }
.head .place b { display: block; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.head .place b small { font-size: 14px; font-weight: 400; color: var(--text-3); letter-spacing: 0; }
.head .place span { font-size: 13.5px; color: var(--text-3); }
.about { font-size: 16.5px; color: var(--text); max-width: 86ch; line-height: 1.55; margin: -4px 0 22px; }
.facts li { position: relative; padding: 9px 0 9px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.facts li:last-child { border-bottom: 0; }
.facts li::before { content: ""; position: absolute; left: 0; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.facts b { color: var(--text); font-weight: 500; }

/* Compare */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; padding-bottom: 22px; }
.vs .side-b { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.vs .mid { font-size: 12px; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.vs .p { display: flex; align-items: center; gap: 14px; min-width: 0; }
.vs .p h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.duel td { height: 46px; }
.duel td.a, .duel td.b { width: 38%; }
.duel td.a { text-align: right; padding-right: 14px; } .duel td.b { padding-left: 14px; }
.duel td.m { text-align: center; width: 24%; color: var(--text-2); font-size: 14px; padding: 0; }
.duel .val { font-variant-numeric: tabular-nums; font-size: 15px; }
.duel .win { font-weight: 600; color: var(--text); }
.duel .lose { color: var(--text-3); }
.duel svg.meter { margin-top: 5px; }
.duel td.a svg.meter rect { transform-origin: 100% 50%; }
.duel td.a svg.meter { transform: scaleX(-1); }
.duel td.b svg.meter rect { fill: var(--s2); }

/* ---------- Groups ---------- */
.net-wrap { border: 1px solid var(--line); border-radius: 6px; background: var(--panel); overflow: hidden; }
/* The wheel. Members stand around the rim with their group, and a hairline
   crosses it between two people who talk. Everything is thin and small on
   purpose: it is a diagram to read, not a picture. */
svg.wheel { display: block; width: 100%; height: auto; }
svg.wheel .rim { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 1 5; }
svg.wheel .edge { fill: none; stroke: #9aa5ba; stroke-width: 1; transition: stroke-opacity 0.15s ease, stroke 0.15s ease; }
svg.wheel .arc { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-width 0.15s ease; }
svg.wheel .gname { font: 600 13.5px var(--font); fill: var(--text); stroke: none; }
svg.wheel .grp { cursor: default; }
svg.wheel .grp:hover .arc { stroke-width: 5; }
svg.wheel .hit { fill: transparent; stroke: none; }
svg.wheel .dot { stroke: var(--panel); stroke-width: 1.5; transition: fill-opacity 0.15s ease; }
svg.wheel .name { font: 400 11.5px var(--font); fill: var(--text-2); stroke: none; transition: fill 0.15s ease, fill-opacity 0.15s ease; }
svg.wheel .node { cursor: pointer; }
svg.wheel .node:hover .name { fill: var(--text); }
/* Pointing at a member or a group: their lines turn blue, the rest recede. */
svg.wheel.focus .edge:not(.lit) { stroke-opacity: 0.03 !important; }
svg.wheel.focus .edge.lit { stroke: var(--accent-ink); stroke-opacity: 0.9 !important; }
svg.wheel.focus .node:not(.lit) .name { fill-opacity: 0.3; }
svg.wheel.focus .node:not(.lit) .dot { fill-opacity: 0.3; }
svg.wheel.focus .node.lit .name { fill: var(--text); }
/* The groups, listed beside the wheel, and who each of them talks with. */
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; flex: none; }
.glist li { display: flex; align-items: center; gap: 11px; min-height: 54px; border-bottom: 1px solid var(--line); }
.glist li:last-child { border-bottom: 0; }
.glist .l { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.glist b { font-size: 14.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glist .sub { font-size: 13px; color: var(--text-3); }
table.matrix { font-size: 13.5px; font-variant-numeric: tabular-nums; }
table.matrix .sw { margin-right: 7px; }
table.matrix thead th { padding: 0 10px 9px; font-size: 12.5px; }
table.matrix thead th:first-child { padding-left: 0; }
table.matrix tbody th { padding: 0 14px 0 0; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--text); white-space: nowrap; }
table.matrix tbody tr:last-child th { border-bottom: 0; }
table.matrix td { height: 40px; padding: 0 10px; border-bottom: 2px solid var(--bg); border-left: 2px solid var(--bg); color: var(--text); }
table.matrix tbody tr:hover { background: none; }
.m0 { color: var(--text-3); }
.m1 { background: rgba(57, 135, 229, 0.07); } .m2 { background: rgba(57, 135, 229, 0.15); } .m3 { background: rgba(57, 135, 229, 0.27); }
.m4 { background: rgba(57, 135, 229, 0.42); } .m5 { background: rgba(57, 135, 229, 0.6); }
table.matrix td.self { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.k1 { stroke: var(--s1); fill: var(--s1); } .k2 { stroke: var(--s2); fill: var(--s2); } .k3 { stroke: var(--s3); fill: var(--s3); } .k4 { stroke: var(--s4); fill: var(--s4); }
.k5 { stroke: var(--s5); fill: var(--s5); } .k6 { stroke: var(--s6); fill: var(--s6); } .k7 { stroke: var(--s7); fill: var(--s7); } .k8 { stroke: var(--s8); fill: var(--s8); }
.net-hint { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.pair { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14.5px; font-weight: 500; }
.pair a { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair a:hover { color: var(--accent-ink); }
.pair .x { color: var(--text-3); font-weight: 400; }
/* Circles, compared side by side. Every row shares one grid, so the
   figures line up down the page without being a table. */
.cgrid { --c-cols: minmax(250px, 1.25fr) minmax(320px, 1.9fr) repeat(4, minmax(160px, 1fr)); }
.cgrid.mod { --c-cols: minmax(250px, 1.25fr) minmax(300px, 1.7fr) repeat(4, minmax(150px, 1fr)) minmax(120px, 0.6fr); }
.crow { display: grid; grid-template-columns: var(--c-cols); border-top: 1px solid var(--line); }
.crow > div { min-width: 0; padding: 22px 26px 24px; border-left: 1px solid var(--line); }
.crow > div:first-child { padding-left: 0; border-left: 0; }
.crow > div:last-child { padding-right: 0; }
.crow.chead { border-top: 0; }
.crow.chead > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 0; padding-bottom: 10px; border-left-color: transparent; font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.base { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.base b { font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.base .tk { width: 2px; height: 11px; border-radius: 1px; background: var(--text); }
.c-name { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; line-height: 32px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cdot { width: 12px; height: 12px; border-radius: 50%; flex: none; display: inline-block; -webkit-mask: radial-gradient(circle, transparent 3.2px, #000 3.8px); mask: radial-gradient(circle, transparent 3.2px, #000 3.8px); }
.c-kind { font-size: 14px; color: var(--text-2); margin: 1px 0 14px 22px; }
.c-faces { display: flex; align-items: center; gap: 10px; margin: 0 0 14px 22px; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.c-faces .stack-av .av { margin-left: -7px; }
.c-faces .stack-av .av:first-child { margin-left: 0; }
.c-faces > span:last-child { white-space: nowrap; }
.c-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-left: 22px; font-size: 13.5px; line-height: 22px; color: var(--text-3); }
.c-meta .cdot { width: 9px; height: 9px; margin-left: 2px; -webkit-mask: radial-gradient(circle, transparent 2.2px, #000 2.8px); mask: radial-gradient(circle, transparent 2.2px, #000 2.8px); }
.c-meta .near { color: var(--text-2); }
.c-v { display: flex; align-items: center; gap: 10px; height: 32px; white-space: nowrap; }
.c-v b { font-size: 25px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.c-v small { font-size: 13.5px; color: var(--text-3); align-self: flex-end; padding-bottom: 5px; }
.c-v.none { font-size: 16px; color: var(--text-3); }
.c-mix .c-v b { font-size: 20px; letter-spacing: -0.015em; }
.c-mix .c-v small { padding-bottom: 6px; }
.c-mix svg.seg-bar { height: 10px; border-radius: 3px; margin-top: 14px; }
.legend.tight { grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 6px 28px; margin-top: 16px; font-size: 13px; }
.legend.tight div { color: var(--text-3); min-width: 0; white-space: nowrap; }
.legend.tight b { color: var(--text-2); }
.bullet { position: relative; height: 14px; margin-top: 12px; }
.bullet svg.meter { position: absolute; left: 0; right: 0; top: 4px; height: 6px; border-radius: 3px; }
.bullet svg.tick { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bullet svg.tick line { stroke: var(--text); stroke-width: 2px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bullet svg.tick line.halo { stroke: var(--bg); stroke-width: 6px; stroke-linecap: butt; }
.c-d { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-height: 21px; margin-top: 14px; font-size: 13.5px; color: var(--text-2); }
.c-d b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-d b.good { color: #55c98a; } .c-d b.bad { color: #ee7d77; }
/* ---- Risk level: three steps and the word, never colour alone ---- */
.risk { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 500; white-space: nowrap; color: var(--text-3); }
.risk .rungs { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.9em; }
.risk .rungs i { width: 0.22em; min-width: 3px; border-radius: 1px; background: var(--line-2); }
.risk .rungs i:nth-child(1) { height: 42%; } .risk .rungs i:nth-child(2) { height: 70%; } .risk .rungs i:nth-child(3) { height: 100%; }
.risk.low { color: var(--text-2); } .risk.low .rungs i.on { background: var(--text-2); }
.risk.warn { color: #e6b548; } .risk.warn .rungs i.on { background: var(--warn); }
.risk.bad { color: #ee7d77; } .risk.bad .rungs i.on { background: var(--bad); }
.kpi .v .risk { font-weight: 600; gap: 0.4em; }
.zero { color: #454d5d; }

/* ---- Headline figures on the moderation pages ---- */
.kpis.flush { border-top: 0; margin: -10px 0 10px; }
.kpis.c6 { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 4px; }
.kpis.c6 .kpi { padding: 16px 20px 20px 0; }
.kpis.c6 .kpi + .kpi { padding-left: 20px; }
.kpis.c6 .kpi .k { font-size: 13.5px; }
.kpis.c6 .kpi .v { font-size: 26px; }
.kpis.c6 .kpi .d { font-size: 13px; display: block; line-height: 1.4; }
.kpi .d a { font-weight: 500; }

/* ---- The watchlist: who, how risky, why, what is waiting ---- */
table.watch { table-layout: fixed; min-width: 980px; font-variant-numeric: tabular-nums; }
table.watch th.c-risk { width: 140px; } table.watch th.c-why { width: 40%; } table.watch th.c-n { width: 150px; }
table.watch th.c-t { width: 130px; } table.watch th.c-do { width: 110px; }
table.watch th { vertical-align: bottom; }
table.watch td { height: 62px; }
table.watch td.m { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.watch td.m .who { vertical-align: middle; max-width: 100%; font-size: 15px; }
table.watch td.m .tag { margin-left: 10px; }
table.watch td.why { padding-top: 9px; padding-bottom: 9px; line-height: 1.4; }
table.watch td.why b { display: block; font-size: 14.5px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.watch td.why .by { display: block; margin-top: 1px; font-size: 13px; color: var(--text-3); }
table.watch td.num { font-size: 15.5px; color: var(--text); }
table.watch td.num.hot { color: #ee7d77; font-weight: 600; }
table.watch td.num.zero { color: #454d5d; font-weight: 400; }
table.watch td.num.faint { font-size: 14px; color: var(--text-3); }
table.watch td.do { text-align: right; padding: 0 0 0 12px; }
table.watch td.do form { justify-content: flex-end; }
table.watch tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
details.rules { margin-top: 22px; }
details.rules .facts li { padding: 7px 0 7px 16px; font-size: 14px; line-height: 1.5; color: var(--text-2); position: relative; }
details.rules .facts li::before { content: ""; position: absolute; left: 0; top: 15px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
details.rules .facts b { color: var(--text); font-weight: 500; }

/* ---- A member, as a moderator sees them ---- */
.mtop { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-bottom: 22px; }
.mtop .head { padding-bottom: 0; min-width: 0; }
.actbar { display: flex; align-items: flex-end; gap: 14px 28px; flex-wrap: wrap; }
.actbar-g { display: grid; gap: 7px; margin: 0; }
.actbar-l { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.actbar-b { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.act { height: 36px; padding: 0 15px 0 12px; gap: 8px; }
.btn.act svg { width: 15px; height: 15px; flex: none; color: var(--text-3); transition: color 0.12s ease; }
.btn.act:hover svg { color: var(--text); }
.btn.act.ban { margin-left: 8px; color: #ee7d77; border-color: rgba(229, 87, 79, 0.45); background: rgba(229, 87, 79, 0.07); }
.btn.act.ban svg, .btn.act.ban:hover svg { color: inherit; }
.btn.act.ban:hover { background: rgba(229, 87, 79, 0.16); border-color: var(--bad); color: #f4a39e; }
.seg button { height: 34px; padding: 0 13px; font: 500 13.5px/1 var(--font); color: var(--text-2); background: none; border: 0; border-right: 1px solid var(--line-2); cursor: pointer; white-space: nowrap; transition: background 0.12s ease, color 0.12s ease; }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--text); background: var(--raised); }
.seg button.on { background: var(--accent-wash); color: var(--accent-ink); }
.seg button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.issues li { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.issues li:last-child { border-bottom: 0; }
.issues .what { position: relative; padding-left: 17px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.issues .what::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.issues li.bad .what::before { background: var(--bad); }
.issues .detail { font-size: 14.5px; line-height: 1.5; color: var(--text-2); overflow-wrap: anywhere; }
.issues .said { display: block; margin-bottom: 3px; color: var(--text); }
.issues .said::before { content: "\201C"; color: var(--text-3); }
.issues .said::after { content: "\201D"; color: var(--text-3); }
.issues .by-ai { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); }
.issues .when { font-size: 13px; color: var(--text-3); white-space: nowrap; text-align: right; }
.sec > .hint, .sec form + .hint { font-size: 13px; color: var(--text-3); margin-top: 8px; line-height: 1.45; }
details.more.flat { margin-top: 0; border-top: 0; padding-top: 0; }

/* ---- Before launch: a dialog over an empty outline of the site ----
   The outline is grey shapes only. There is no data in the page at all. */
body.closed { min-height: 100vh; overflow: hidden; }
body.closed::after { content: ""; position: fixed; inset: 0; background: rgba(5, 7, 11, 0.66); }
.ghost { position: fixed; inset: 0; pointer-events: none; user-select: none; }
.ghost i { display: block; height: 10px; border-radius: 3px; background: var(--raised); }
.ghost .w2 { width: 70px; } .ghost .w3 { width: 110px; }
.ghost-top { display: flex; align-items: center; gap: 28px; height: 58px; padding: 0 32px; border-bottom: 1px solid var(--line); }
.ghost-brand { display: inline-flex; align-items: center; gap: 11px; margin-right: 24px; font-weight: 600; font-size: 17px; letter-spacing: -0.015em; color: var(--text-2); }
.ghost-body { max-width: 1760px; margin: 0 auto; padding: 34px 32px; }
.ghost .title { width: 220px; height: 22px; margin-bottom: 30px; }
.ghost-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ghost-row > div { display: grid; gap: 13px; padding: 22px 24px 26px 0; }
.ghost-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.ghost .big { width: 64px; height: 28px; }
.ghost-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.ghost-cols > div { display: grid; gap: 24px; align-content: start; }
.ghost .line { width: 100%; height: 12px; }
.ghost-cols .line:nth-child(odd) { width: 78%; }
.gate { position: fixed; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(470px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 30px 24px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6); }
.gate-mark .logo { width: 44px; height: 44px; }
.gate h1 { margin-top: 18px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.gate p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.gate .gate-pitch { margin-top: 6px; font-size: 16px; color: var(--text); }
.gate-what { margin: 14px 0 16px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 9px; }
.gate-what li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.gate-what li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--bad); }
.gate-what b { color: var(--text); font-weight: 500; }
.gate-no { margin-top: 16px; padding: 11px 13px; border: 1px solid rgba(229, 87, 79, 0.4); border-radius: 6px; background: rgba(229, 87, 79, 0.08); font-size: 14px; line-height: 1.5; color: var(--text-2); }
.gate-no b { display: block; margin-bottom: 2px; font-weight: 600; color: #ee7d77; }
.gate-go { display: flex; width: 100%; height: 40px; margin-top: 22px; font-size: 15px; }
.gate .gate-fine { margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--text-3); }
.hd-closed { margin-left: 4px; flex: none; }

/* ---- The dialog an action opens. The browser shows and hides it. ---- */
.sheet { width: min(470px, calc(100vw - 28px)); padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); color: var(--text); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6); }
.sheet::backdrop { background: rgba(5, 7, 11, 0.68); }
.sheet form { margin: 0; }
.sheet header { display: flex; align-items: center; gap: 11px; padding: 16px 16px 0 18px; }
.sheet h3 { flex: 1; min-width: 0; font-size: 16.5px; font-weight: 600; letter-spacing: -0.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 6px; background: var(--raised); color: var(--text-2); }
.sheet-i svg, .sheet .x svg { width: 15px; height: 15px; }
.sheet-i.ban { background: rgba(229, 87, 79, 0.14); color: #ee7d77; }
.sheet .x { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; padding: 0; border: 0; border-radius: 5px; background: none; color: var(--text-3); cursor: pointer; }
.sheet .x:hover { background: var(--raised); color: var(--text); }
.sheet-what { padding: 10px 18px 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.sheet-f { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px 18px 18px; }
.sheet-f label { display: grid; gap: 6px; min-width: 0; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.sheet-f label.wide, .sheet-f:not(:has(label:not(.wide) + label:not(.wide))) label { grid-column: 1 / -1; }
.sheet-f select { width: 100%; }
.sheet-f small { font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.sheet footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; background: var(--bg); }

.c-s { margin-top: 3px; font-size: 13px; color: var(--text-3); }
.c-wait { grid-column: span 2; display: flex; align-items: center; font-size: 14px; color: var(--text-3); }
.defs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 40px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.defs dt { font-size: 13px; font-weight: 500; color: var(--text-2); }
.defs dd { margin: 3px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }
svg.meter.good rect:first-child { fill: var(--good); }
svg.meter.warn rect:first-child { fill: var(--warn); }
svg.meter.bad rect:first-child { fill: var(--bad); }

/* ---------- Moderation ---------- */
.flag { border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; background: var(--panel); }
.flag + .flag { margin-top: 10px; }
.flag.l3 { box-shadow: inset 2px 0 0 var(--warn); } .flag.l4 { box-shadow: inset 2px 0 0 var(--bad); }
.flag-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-width: 0; }
.flag-top .when { margin-left: auto; font-size: 13px; color: var(--text-3); flex: none; }
/* Out to the message on Discord itself. */
.to-discord { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 500; color: var(--accent-ink); white-space: nowrap; }
.to-discord svg { width: 13px; height: 13px; flex: none; }
.to-discord:hover { color: #a9cbf7; }
.hist .b .m .to-discord { margin-left: 2px; }
.flag blockquote { margin: 10px 0; padding: 9px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow-y: auto; }
.flag .why { font-size: 14.5px; }
.flag .second { font-size: 13.5px; color: var(--text-3); margin-top: 4px; }
.flag-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.flag-foot .meta { font-size: 13px; color: var(--text-3); }
.note { padding: 11px 0; border-bottom: 1px solid var(--line); }
.note:last-child { border-bottom: 0; }
.note .by { font-size: 13px; color: var(--text-3); margin-bottom: 3px; }
.sub-h { font-size: 14px; font-weight: 500; color: var(--text-2); margin: 22px 0 2px; }
b.bad { color: #ee7d77; }
/* Acting on a member. Each button opens its own short form, one at a time. */
select { height: 34px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 9px; font: 14px var(--font); max-width: 100%; }
select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(57, 135, 229, 0.2); }
.btn.primary.bad { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.primary.bad:hover { background: #ea6a63; border-color: #ea6a63; color: #fff; }
.inforce { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; margin-bottom: 14px; border: 1px solid rgba(224, 163, 33, 0.35); border-radius: 6px; background: rgba(224, 163, 33, 0.08); font-size: 14px; color: var(--text-2); }
.inforce b { color: #e6b548; font-weight: 600; }
/* The position a member argues from: a small mark and the word. */
.tag.stance svg, .stance-line svg { width: 14px; height: 14px; flex: none; }
.stance-line { display: inline-flex; align-items: center; gap: 7px; }
.stance-line b { font-weight: 500; }
.sub-note { display: block; margin-top: 2px; font-size: 13px; color: var(--text-3); line-height: 1.45; }
/* A member's record, for a moderator: what matters first, one line each. */
.clear { padding: 4px 0 4px 18px; position: relative; font-size: 15px; color: var(--text-2); }
.clear::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 2px; background: var(--good); }
/* Everything that has happened, newest first: when, what kind, what. */
.hist li { display: grid; grid-template-columns: 76px 168px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hist li:last-child { border-bottom: 0; }
.hist .t { font-size: 13px; color: var(--text-3); line-height: 22px; white-space: nowrap; }
.hist .k { font-size: 13.5px; color: var(--text-2); line-height: 22px; }
.hist .b p { font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.hist .b .q { color: var(--text); }
.hist .b .q::before { content: "\201C"; color: var(--text-3); }
.hist .b .q::after { content: "\201D"; color: var(--text-3); }
.hist .b .m { margin-top: 2px; font-size: 13.5px; color: var(--text-3); }
.hist .b .m b { font-weight: 500; color: var(--text-2); }
.hist .b .m b.good { color: #55c98a; }
.hist form { opacity: 0; transition: opacity 0.15s ease; }
.hist li:hover form, .hist form:focus-within { opacity: 1; }
details.more { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 12px; }
details.more summary { cursor: pointer; font-size: 14px; color: var(--text-2); list-style-position: inside; }
details.more summary:hover { color: var(--text); }
details.more[open] summary { margin-bottom: 16px; }
.gap-s { margin-top: 8px; }
.kv.tight { margin-bottom: 16px; font-size: 14px; }
.kv.tight dt, .kv.tight dd { padding: 7px 0; }
.ai { margin-top: 16px; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.ai b { color: var(--text); font-weight: 500; }
.ai-by { margin-top: 6px; font-size: 13px; color: var(--text-3); line-height: 1.45; }
.note p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0 28px; font-size: 14.5px; }
.kv dt { color: var(--text-2); padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv dd { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: 0; }
.banner { font-size: 13.5px; color: #e6b548; background: rgba(224, 163, 33, 0.08); border: 1px solid rgba(224, 163, 33, 0.22); border-radius: 5px; padding: 8px 12px; margin-bottom: 22px; }

/* ---------- Text and message pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 17px; font-weight: 600; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.prose p { margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 18px; margin-bottom: 10px; }
.prose li { margin-bottom: 5px; }
.solo { max-width: 420px; padding: 64px 0; }
.solo h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.solo p { color: var(--text-2); margin-bottom: 20px; }

/* A band of light turning slowly around a panel's edge. */
.spin { position: relative; border-radius: 8px; padding: 1px; overflow: hidden; isolation: isolate; background: var(--line); }
.spin::before { content: ""; position: absolute; top: 50%; left: 50%; width: 220%; aspect-ratio: 1; translate: -50% -50%; z-index: -1; animation: turn 7s linear infinite;
  background: conic-gradient(from 0deg, transparent 0deg, var(--s1) 30deg, var(--s7) 60deg, transparent 100deg, transparent 180deg, #2cc5b6 210deg, var(--s5) 240deg, transparent 280deg); }
.spin > .spin-in { position: relative; background: var(--panel); border-radius: 7px; }

/* The inspection demo: a channel on the left, what Overseer does on the right. */
.scan-grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.scan-h { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.scan-h .end { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--text-3); display: flex; align-items: center; gap: 7px; }
.scan-chat { border-right: 1px solid var(--line); min-width: 0; }
.scan-body { position: relative; overflow: hidden; padding: 20px 16px 22px; display: flex; flex-direction: column; gap: 19px; }
.msg { display: flex; gap: 11px; }
.msg .ph-av { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.msg .body { flex: 1; min-width: 0; position: relative; }
.msg .nm { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.msg .text { font-size: 14.5px; color: var(--text-2); margin-top: 1px; line-height: 1.45; }
.msg .vt { font-size: 12px; font-weight: 500; padding: 1px 7px; border-radius: 4px; }
.msg .vt.ok { color: #55c98a; background: rgba(47, 179, 106, 0.12); }
.msg .vt.no { color: #ee7d77; background: rgba(229, 87, 79, 0.13); }
.msg .gone { position: absolute; left: 0; top: 23px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.msg .gone b { color: #ee7d77; font-weight: 500; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(57, 135, 229, 0.13)); border-bottom: 1px solid rgba(127, 178, 242, 0.75); box-shadow: 0 6px 18px rgba(57, 135, 229, 0.25); opacity: 0; pointer-events: none; }
.scan-log { min-width: 0; display: flex; flex-direction: column; }
.steps { padding: 14px 16px 6px; flex: 1; }
.steps li { position: relative; padding: 0 0 15px 26px; font-size: 14.5px; color: var(--text); line-height: 1.4; }
.steps li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--s1); box-shadow: 0 0 0 3px rgba(57, 135, 229, 0.18); }
.steps li::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 1px; background: var(--line-2); }
.steps li:last-child::after { display: none; }
.steps li.warn::before { background: var(--warn); box-shadow: 0 0 0 3px rgba(224, 163, 33, 0.18); }
.steps li.stop::before { background: var(--bad); box-shadow: 0 0 0 3px rgba(229, 87, 79, 0.18); }
.steps li.done::before { background: var(--good); box-shadow: 0 0 0 3px rgba(47, 179, 106, 0.18); }
.steps li small { display: block; font-size: 13px; color: var(--text-3); margin-top: 1px; }
.scan-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.scan-foot div { padding: 11px 16px; font-size: 12.5px; color: var(--text-3); }
.scan-foot div + div { border-left: 1px solid var(--line); }
.scan-foot b { display: block; font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
/* With no script, or with motion turned off, the demo rests on its last
   frame: everything checked, the bad message already removed. */
.m2 .text, .m2 .vt { opacity: 0; }
.js .scan .msg, .js .scan .vt, .js .scan .gone, .js .scan .steps li { opacity: 0; }
.js .scan .m2 .text { opacity: 1; }
.scan.in .m1 { animation: sc-msg 12s var(--ease) infinite; }
.scan.in .m2 { animation: sc-msg 12s var(--ease) 0.6s infinite; }
.scan.in .m3 { animation: sc-msg 12s var(--ease) 1.2s infinite; }
.scan.in .m4 { animation: sc-msg 12s var(--ease) 1.8s infinite; }
.scan.in .scanline { animation: sc-sweep 12s ease-in-out infinite; }
.scan.in .m1 .vt, .scan.in .m3 .vt, .scan.in .m4 .vt { animation: sc-on-40 12s ease infinite; }
.scan.in .m2 .vt { animation: sc-tag-bad 12s ease infinite; }
.scan.in .m2 .text { animation: sc-bad 12s ease infinite; }
.scan.in .m2 .gone { animation: sc-on-70 12s var(--ease) infinite; }
.scan.in .steps .st1 { animation: sc-on-22 12s ease infinite; }
.scan.in .steps .st2 { animation: sc-on-40 12s ease infinite; }
.scan.in .steps .st3 { animation: sc-on-50 12s ease infinite; }
.scan.in .steps .st4 { animation: sc-on-60 12s ease infinite; }
.scan.in .steps .st5 { animation: sc-on-70 12s ease infinite; }

/* The two servers, side by side */
.envs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.env { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 22px 24px 20px; min-width: 0; display: flex; flex-direction: column; }
.env-top { display: flex; align-items: center; gap: 12px; }
.env-top h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.env-top .sv { width: 36px; height: 36px; font-size: 15px; }
.env-top .stack-av { margin-left: auto; }
.env .say { font-size: 15.5px; color: var(--text-2); margin: 8px 0 18px; line-height: 1.5; }
.env-nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.env-nums div { padding: 13px 14px 13px 0; min-width: 0; }
.env-nums div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.env-nums b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.env-nums div > span { display: block; font-size: 13px; color: var(--text-3); }
.env h4 { font-size: 13px; font-weight: 500; color: var(--text-3); margin: 18px 0 6px; }
.env .facts li { padding-top: 7px; padding-bottom: 7px; }
.env .facts li::before { top: 15px; }
.env-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--text-3); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 22px; }
.cta b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.cta span { color: var(--text-2); font-size: 14.5px; }

/* ---------- Finding your server ---------- */
/* The prompt a first-time visitor sees at the top of the front page. */
.welcome { display: none; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 22px; border: 1px solid rgba(57, 135, 229, 0.38); border-radius: 6px; background: var(--accent-wash); }
.js .welcome.show { display: flex; animation: step-in 0.4s var(--ease) both; }
.welcome div { flex: 1; min-width: 240px; }
.welcome b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; }
.welcome span { font-size: 14.5px; color: var(--text-2); }
/* The questions. Without script they are a plain list with a button. With
   it, one is shown at a time and the next arrives as soon as one is answered. */
.ob-wrap { padding-top: 4px; }
.ob { max-width: 780px; }
.ob-top { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.ob-bar { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.ob-bar i { height: 4px; border-radius: 2px; background: var(--raised); transition: background 0.3s ease; }
.ob-bar i.now { background: #4a5670; }
.ob-bar i.done { background: var(--accent); }
.ob-count { font-size: 13.5px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ob-step { min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
.ob-step legend { padding: 0; margin-bottom: 14px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.ob-step legend .n { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: var(--text-3); }
.ob-opts { display: grid; gap: 10px; }
.ob-opt { position: relative; display: block; cursor: pointer; }
.ob-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ob-opt .box { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--panel); transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.ob-opt kbd { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--bg); font: 500 12.5px/1 var(--mono); color: var(--text-3); transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.ob-opt .t { display: flex; flex-direction: column; min-width: 0; }
.ob-opt .t b { font-size: 16.5px; font-weight: 600; letter-spacing: -0.005em; }
.ob-opt .t span { font-size: 14.5px; color: var(--text-2); }
.ob-opt:hover .box { border-color: #46506a; background: var(--raised); }
.ob-opt input:checked + .box { border-color: var(--accent); background: var(--accent-wash); box-shadow: inset 0 0 0 1px var(--accent); }
.ob-opt input:checked + .box kbd { background: var(--accent); border-color: var(--accent); color: #fff; }
.ob-opt input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.ob-opt:active .box { transform: scale(0.995); }
.ob-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.ob-foot .ob-send { margin-left: auto; }
.ob-back, .ob-foot .faint, .ob-side { display: none; }
.ob.live .ob-step { display: none; margin-bottom: 32px; }
.ob.live .ob-step.on { display: block; animation: step-in 0.35s var(--ease) both; }
.ob.live .ob-step legend { margin-bottom: 24px; font-size: 32px; letter-spacing: -0.025em; line-height: 1.15; }
.ob.live .ob-step legend .n { display: none; }
.ob.live .ob-opts { gap: 12px; }
.ob.live .ob-opt .box { padding: 22px; }
.ob.live .ob-opt .t b { font-size: 19px; }
.ob.live .ob-opt .t span { font-size: 15px; }
.ob.live .ob-back { display: inline-flex; }
.ob.live .ob-back:disabled { display: none; }
.ob.live .ob-foot .faint { display: inline; }
.ob.live .ob-send { display: none; }
.js .ob-side { display: block; }
/* Beside the questions: which server is ahead, and what has been answered. */
.ob-lane { padding: 13px 0 14px; border-bottom: 1px solid var(--line); }
.ob-lane:first-child { padding-top: 0; }
.ob-lane:last-child { border-bottom: 0; }
.ob-lane .line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.ob-lane b { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: color 0.2s ease; }
.ob-lane.ahead b { color: var(--text); }
.ob-lane .n { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ob-lane svg.meter { height: 6px; border-radius: 3px; }
.ob-lane svg.meter rect { transition: transform 0.45s var(--ease); fill: #4a5468; }
.ob-lane.ahead svg.meter rect { fill: var(--s1); }
.ob-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 1px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-3); transition: color 0.2s ease; }
.ob-list li:last-child { border-bottom: 0; }
.ob-list .k { grid-row: span 2; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 12px; font-variant-numeric: tabular-nums; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.ob-list .a { grid-column: 2; font-size: 13.5px; color: var(--accent-ink); }
.ob-list .a:empty { display: none; }
.ob-list li.now { color: var(--text); }
.ob-list li.now .k { border-color: var(--accent); color: var(--accent-ink); }
.ob-list li.done { color: var(--text-2); cursor: pointer; }
.ob-list li.done .k { background: var(--accent); border-color: var(--accent); color: #fff; }
.ob-list li.done:hover { color: var(--text); }
/* The answer. */
.result-why { margin: -10px 0 20px; font-size: 15.5px; color: var(--text-2); }
.result-go { margin-top: 24px; }
table.lineup td { height: 62px; }
table.lineup b { display: block; font-size: 15px; font-weight: 500; }
table.lineup .sub { display: block; font-size: 13px; font-weight: 400; color: var(--text-3); }
table.lineup td.num { padding-right: 14px; }
table.lineup td.num b { font-size: 16.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-2); }
table.lineup td.win { background: rgba(47, 179, 106, 0.08); box-shadow: inset 0 -2px 0 var(--good); }
table.lineup td.win b { color: #6fd69d; }
.result { padding: 26px 28px; }
.result .eyebrow { font-size: 13.5px; color: var(--text-3); }
.result h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin: 4px 0 20px; }
.fit { display: grid; grid-template-columns: max-content 1fr max-content; gap: 12px 16px; align-items: center; font-size: 15px; }
.fit b { font-weight: 500; }
.fit .pc { font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 14px; }
.fit svg.meter { height: 8px; border-radius: 4px; }
.fit .lose svg.meter rect { fill: #4a5468; }

/* ---------- Motion ---------- */
@keyframes band { from { background-position: 200% 0; } to { background-position: 0 0; } }
/* ---- Moving between pages ----
   The old page fades into the new one. The header is on both, so it is
   kept out of the fade and does not flicker. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; animation-timing-function: ease; }
.hd { view-transition-name: overseer-header; }
::view-transition-group(overseer-header) { animation: none; }
::view-transition-old(overseer-header) { display: none; }
::view-transition-new(overseer-header) { animation: none; }
/* Changing a choice on the page you are on (which server, which tab) is
   not arriving somewhere new, so the entrance does not play again. */
.quiet .rv { transition: none !important; opacity: 1 !important; transform: none !important; }
.quiet .rv:not(:has(.scan)) * { transition-duration: 0.01s !important; transition-delay: 0s !important; animation-duration: 0.01s !important; animation-delay: 0s !important; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes glow { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.22); } }
@keyframes tab-in { from { transform: scaleX(0.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sc-msg { 0% { opacity: 0; transform: translateY(8px); } 5%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes sc-sweep { 0%, 20% { opacity: 0; transform: translateY(-60px); } 24% { opacity: 1; } 42% { opacity: 1; transform: translateY(270px); } 46%, 100% { opacity: 0; transform: translateY(270px); } }
@keyframes sc-on-22 { 0%, 21% { opacity: 0; transform: translateY(4px); } 25%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes sc-on-40 { 0%, 39% { opacity: 0; transform: translateY(4px); } 43%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes sc-on-50 { 0%, 49% { opacity: 0; transform: translateY(4px); } 53%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes sc-on-60 { 0%, 59% { opacity: 0; transform: translateY(4px); } 63%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes sc-on-70 { 0%, 69% { opacity: 0; transform: translateY(4px); } 73%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes sc-tag-bad { 0%, 49% { opacity: 0; } 53%, 68% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes sc-bad { 0%, 49% { opacity: 1; filter: none; color: var(--text-2); } 53%, 68% { opacity: 1; filter: none; color: #ee7d77; } 72%, 100% { opacity: 0; filter: blur(4px); color: #ee7d77; } }
@keyframes feed-in { from { opacity: 0; max-height: 0; min-height: 0; } to { opacity: 1; max-height: 44px; min-height: 40px; } }
@keyframes feed-out { from { opacity: 1; max-height: 44px; } to { opacity: 0; max-height: 0; min-height: 0; } }
@keyframes sweep { from { opacity: 1; transform: translateX(-100%); } 40% { opacity: 1; } to { opacity: 0; transform: translateX(100%); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* Things animate once, as they come into view. Without script they are simply shown. */
.js .rv { opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: 0.05s; } .js .rv.d2 { transition-delay: 0.1s; } .js .rv.d3 { transition-delay: 0.15s; }
.js .rv svg.meter rect, .js .rv svg.seg-bar rect { transform: scaleX(0); }
.js .rv.in svg.meter rect, .js .rv.in svg.seg-bar rect { animation: grow 0.7s var(--ease) 0.15s both; }
.js .rv svg.hours rect { transform: scaleY(0); }
.js .rv.in svg.hours rect { animation: rise 0.6s var(--ease) 0.15s both; }
.js .rv svg.cal rect { opacity: 0; }
.js .rv.in svg.cal rect { animation: fade 0.5s ease both; }
.js .rv.in svg.cal g:nth-child(4n+1) rect { animation-delay: 0.08s; } .js .rv.in svg.cal g:nth-child(4n+2) rect { animation-delay: 0.16s; }
.js .rv.in svg.cal g:nth-child(4n+3) rect { animation-delay: 0.24s; } .js .rv.in svg.cal g:nth-child(4n) rect { animation-delay: 0.32s; }
/* The wheel draws itself: the group arcs sweep round, the names follow
   them, and the lines come last. The animations only fill backwards, so
   once they have played, hover styles take over. */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.js .rv.in svg.wheel .arc { animation: draw 0.9s var(--ease) backwards; }
.js .rv.in svg.wheel .gname { animation: fade 0.5s ease 0.5s backwards; }
.js .rv.in svg.wheel .node { animation: fade 0.4s ease backwards; }
.js .rv.in svg.wheel .edge { animation: fade 0.8s ease 0.55s backwards; }
.js .rv.in svg.wheel .w1 { animation-delay: 0.06s; } .js .rv.in svg.wheel .w2 { animation-delay: 0.12s; } .js .rv.in svg.wheel .w3 { animation-delay: 0.18s; }
.js .rv.in svg.wheel .w4 { animation-delay: 0.24s; } .js .rv.in svg.wheel .w5 { animation-delay: 0.3s; } .js .rv.in svg.wheel .w6 { animation-delay: 0.36s; }
.js .rv.in svg.wheel .w7 { animation-delay: 0.42s; }

/* Six figures abreast need the width. Below it they go three and three. */
@media (max-width: 1400px) {
  .kpis.c6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis.c6 .kpi:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); padding-left: 20px; }
  .kpis.c6 .kpi:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .kpis.c6 .kpi:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 1180px) {
  .cols { gap: 0 28px; }
  /* Circles stack: who they are, what they talk like, then the figures. */
  .cgrid, .cgrid.mod { --c-cols: repeat(4, minmax(0, 1fr)); }
  .crow.chead { display: none; }
  .crow > div.c-id, .crow > div.c-mix { grid-column: 1 / -1; padding: 20px 0 0; border-left: 0; }
  .crow > div.c-cell:not(.c-mix) { padding: 20px 20px 22px 0; border-left: 0; }
  .c-cell::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--text-2); }
  .defs { grid-template-columns: 1fr 1fr; }
  .s3, .s4, .s5, .s6, .s7, .s8 { grid-column: span 12; }
  /* The boards go two abreast before they stack. */
  .cols > .board, .cols > .side { grid-column: span 6; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .hd-top { padding: 0 16px; gap: 12px; height: 54px; }
  .hd-search { display: none; }
  .hd-closed { display: none; }
  .ghost-row { grid-template-columns: 1fr 1fr; }
  .ghost-cols { grid-template-columns: 1fr; }
  .gate { padding: 24px 20px 20px; }
  .hd-right { margin-left: auto; }
  .hd-right .me span { display: none; }
  .hd-nav { padding: 0 8px; }
  .ph { padding: 18px 18px 0; }
  .ph h1 { font-size: 21px; }
  .scope { margin-left: 0; flex-basis: 100%; }
  .hist li { grid-template-columns: 1fr auto; }
  .hist .k { grid-column: 1; grid-row: 1; }
  .hist .t { grid-column: 2; grid-row: 1; }
  .hist .b, .hist form { grid-column: 1 / -1; }
  .hist form { opacity: 1; }
  /* On a phone the wheel keeps a readable size and is swiped sideways. */
  .net-wrap { overflow-x: auto; }
  svg.wheel { min-width: 760px; }
  .sec-h .meta { white-space: normal; text-align: right; }
  .cal-key { flex-wrap: wrap; }
  .cols > .board, .cols > .side { grid-column: span 12; }
  .env-top { flex-wrap: wrap; }
  .scope-l { display: none; }
  .content { padding: 16px 18px 56px; }
  .foot { padding: 14px 18px; }
  .head { flex-wrap: wrap; }
  .head .place { margin-left: 0; text-align: left; flex-basis: 100%; }
  .kpis.c6 { grid-template-columns: 1fr 1fr; }
  .kpis.c6 .kpi:nth-child(n) { border-top: 0; border-left: 1px solid var(--line); padding-left: 16px; }
  .kpis.c6 .kpi:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kpis.c6 .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .btn.act.ban { margin-left: 0; }
  .issues li { grid-template-columns: minmax(0, 1fr) auto; }
  .issues .detail { grid-column: 1 / -1; grid-row: 2; }
  .sheet-f { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; gap: 10px; }
  .vs .side-b { flex-direction: row; text-align: left; justify-content: flex-start; }
  .tools input { width: 100%; }
  .tools form { flex: 1; }
  td.spark, th.spark, td.bar, th.bar { display: none; }
  .envs, .scan-grid { grid-template-columns: 1fr; }
  .ob.live .ob-step legend { font-size: 25px; }
  .ob.live .ob-opt .box { padding: 17px 16px; }
  .cgrid, .cgrid.mod { --c-cols: repeat(2, minmax(0, 1fr)); }
  .defs { grid-template-columns: 1fr; }
  .scan-chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .env-nums { grid-template-columns: 1fr 1fr; }
  .env-nums div:nth-child(3) { border-left: 0; padding-left: 0; }
  .env-nums div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .result h2 { font-size: 24px; }
}
@media (max-width: 640px) {
  /* The header has no room for it. The front page still offers it. */
  .hd-start { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv svg:not(.wheel) *, .js .scan .msg, .js .scan .vt, .js .scan .gone, .js .scan .steps li { opacity: 1 !important; transform: none !important; }
  .js .scan .m2 .text, .js .scan .m2 .vt { opacity: 0 !important; }
}
