/* ProjectSIa: near-black, charcoal and soft white, grounded in the supplied reference. */
:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --band: #111111;
  --line: #292929;
  --line-strong: #3c3c3a;
  --ink: #f2f2ed;
  --gray-80: #d0d0cb;
  --text: #b7b7b2;
  --soft: #90908b;
  --faint: #81817b;
  --cobalt: #edede7;
  --cobalt-press: #d4d4ce;
  --cobalt-bright: #f4f4ee;
  --cobalt-soft: #c9c9c3;
  --cobalt-dust: #656560;
  --cobalt-wash: #1c1c1b;
  --band-ink: #f2f2ed;
  --band-muted: #b7b7b2;
  --band-line: #363635;
  --panel: #131313;
  --panel-line: #353534;
  --panel-muted: #aaa9a3;
  --up: #d0d0ca;
  --down: #b1b1ab;
  --warn: #c5c4bd;
  --vx-shadow-float: 0 12px 32px #00000040;
}
html { background: var(--bg); }
::selection { background: #e5e5df; color: #0b0b0b; }
body.editorial-site {
  background: var(--bg);
  color: var(--ink);
}
.editorial-site .pillPrimary,
.editorial-site .pillInverted,
.editorial-site .editorial-download,
.editorial-site .paper-module__YT0nWa__bannerTag {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #111111;
}
.editorial-site .pillPrimary:hover,
.editorial-site .pillInverted:hover,
.editorial-site .editorial-download:hover {
  background: var(--cobalt-press);
  border-color: var(--cobalt-press);
  color: #111111;
}
.editorial-site .pill:not(.pillPrimary):not(.pillInverted) {
  border-color: var(--line-strong);
  color: var(--ink);
}
.editorial-site .pill:not(.pillPrimary):not(.pillInverted):hover { background: var(--band); }
.editorial-site :where(a, button, summary, input):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.editorial-site button,
.editorial-site input { accent-color: var(--cobalt); }
.editorial-site .Nav-module__UoK1Fa__mark,
.editorial-site .Footer-module__sqcKUa__mark { color: var(--ink); }
.editorial-site .Nav-module__UoK1Fa__sheet { background: var(--bg); color: var(--ink); }
.editorial-site .Nav-module__UoK1Fa__sheetLink { border-color: var(--line); }
.editorial-site .scope-note {
  color: var(--text);
  background: var(--band);
  border-left-color: var(--line-strong);
}
.editorial-site .planned-status,
.editorial-site .rule-kicker,
.editorial-site .safety-rule details summary,
.editorial-site .text-button { color: var(--cobalt); }
.editorial-site .article-contents a,
.editorial-site .heading-anchor,
.editorial-site .heading-copy,
.editorial-site .rule-scope dt,
.editorial-site .mode-selector legend { color: var(--soft); }
.editorial-site .article-contents,
.editorial-site .safety-rule,
.editorial-site .mode-option,
.editorial-site .mode-matrix :where(th, td) { border-color: var(--line); }
.editorial-site .mode-option:has(input:checked) {
  background: var(--cobalt-wash);
  border-color: var(--line-strong);
}
.editorial-site .mode-option small { color: var(--text); }
.editorial-site .mode-option em { color: var(--cobalt); }
.editorial-site .mode-result { background: var(--cobalt-wash); color: var(--ink); }
.editorial-site .mode-result p { color: var(--text); }
.editorial-site .video-toggle {
  background: #e8e8e2;
  border-color: #e8e8e2;
  color: #111111;
}
.editorial-site .responsive-table :where(th, td) { border-color: var(--line); }
.editorial-site .responsive-table td:before { color: var(--soft); }
.editorial-site .docs-module__RdmBMa__body :where(pre, code) { border-color: var(--panel-line); }
.editorial-site .docs-module__RdmBMa__body pre { background: var(--panel); color: var(--ink); }
.editorial-site .not-found .tSub { color: var(--text); }
.editorial-site .releases-module__R8ThZq__regRow[data-latest]::after {
  background: none;
  animation: none;
}
.editorial-site .releases-module__R8ThZq__regLatest { background: var(--ink); color: #111111; }
.editorial-site .docs-module__RdmBMa__clipPlayPill {
  background: var(--ink);
  color: #111111;
}
.editorial-site .docs-module__RdmBMa__clipPlay::before { background: #00000033; }
.editorial-site .docs-module__RdmBMa__clipPlay:hover::before { background: #0000000d; }

/* Supplied ProjectSIa artwork keeps its original black and white appearance. */
.projectsi-brand-icon { display: block; flex: none; width: 30px; height: 34px; object-fit: contain; }
.editorial-site :is(.Nav-module__UoK1Fa__mark,.Footer-module__sqcKUa__mark,.u-footer-brand,.treasury-brand) { display: inline-flex; align-items: center; gap: 12px; }
.treasury-footer > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.projectsi-logo-tile { background: #000; color: #fff; }
.editorial-site .Nav-module__UoK1Fa__right { gap: 18px; }
.editorial-site .Nav-module__UoK1Fa__inner > a[href="/treasury"] { margin-left: 18px; }
.editorial-site .projectsi-logo-tile { height: 200px; display: flex; align-items: center; justify-content: center; }
.projectsi-brand-preview { display: block; width: 108px; height: 122px; object-fit: contain; }
.projectsi-original-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.editorial-site .landing-module___cEqKa__join { background-image: none; }

@media (max-width: 640px) {
  .editorial-site .responsive-table tr { background: var(--bg); border-color: var(--line); }
  .editorial-site .responsive-table td { border-color: var(--line) !important; }
  .editorial-site .responsive-table td:first-child { background: var(--band); }
}
