:root {
  color-scheme: dark;
  --bg: #101719;
  --surface: #162023;
  --ink: #eef0e9;
  --muted: #a5b3b3;
  --line: #344346;
  --accent: #bdf19e;
  --cyan: #8cd5db;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
select,
input {
  font: inherit;
}
a,
button,
select,
input,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
header,
main,
footer {
  max-width: 1400px;
  margin: auto;
  padding-inline: 56px;
}
header {
  min-height: 112px;
  display: flex;
  gap: 36px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}
.brand-mark {
  border: 1px solid var(--muted);
  font: 22px var(--mono);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -5px;
  padding-right: 5px;
}
.brand-mark span {
  font-size: 17px;
  color: var(--accent);
}
.brand-caption {
  font: 12px/1.4 var(--mono);
  font-weight: 400;
  letter-spacing: 0;
  max-width: 130px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  color: var(--muted);
}
nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  padding: 8px 0;
}
nav a:hover,
nav a[aria-current] {
  color: var(--ink);
  box-shadow: 0 1px var(--accent);
}
.pilot-tag,
.pill {
  border: 1px solid var(--line);
  padding: 5px 9px;
  font: 12px var(--mono);
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 85px 0 72px;
}
.eyebrow {
  font: 12px/1.7 var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.live-tick {
  display: inline-block;
  background: var(--accent);
  height: 7px;
  width: 7px;
  margin-right: 9px;
}
h1 {
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.06;
  letter-spacing: -3px;
  font-weight: 500;
  margin: 0 0 26px;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}
h1 .accent {
  color: var(--accent);
}
.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 30px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.button.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.button:hover {
  border-color: var(--ink);
}
.hero-note {
  font: 12px/1.6 var(--mono);
  color: var(--muted);
  margin: 20px 0 0;
}
.protocol-panel {
  border: 1px solid var(--line);
  background: linear-gradient(130deg, #1b2c2e, var(--bg));
  padding: 26px 28px;
}
.panel-label,
.panel-bottom {
  font: 12px/1.6 var(--mono);
  color: var(--muted);
}
.panel-label {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 25px;
}
.protocol-step {
  display: flex;
  align-items: center;
  gap: 18px;
}
.node-symbol {
  color: var(--accent);
  font-size: 32px;
  width: 34px;
  text-align: center;
}
.protocol-step b {
  font-weight: 500;
  font-size: 18px;
}
.protocol-step small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.protocol-step .mono {
  margin-left: auto;
  color: #8b9fa3;
  font-size: 12px;
}
.connector {
  font: 20px var(--mono);
  color: var(--accent);
  padding: 18px 0 18px 9px;
}
.connector span {
  font-size: 12px;
  color: var(--muted);
  margin-left: 25px;
}
.panel-bottom {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.bracket {
  color: var(--accent);
}
section {
  margin-bottom: 56px;
}
.hero {
  margin-bottom: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-bottom: 24px;
}
h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
}
.section-head h2 {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 0;
}
.index {
  font: 12px var(--mono);
  color: var(--muted);
}
.section-head .eyebrow {
  margin: 0;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  font: 12px/1.7 var(--mono);
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}
.status-line a {
  margin-left: auto;
}
.status-label {
  display: flex;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  color: var(--ink);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.dot.pending {
  background: #b3b19a;
}
.dot.error {
  background: #f1b38e;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.metric {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}
.metric:first-child {
  border: 0;
  padding-left: 0;
}
.metric strong {
  font: 48px/1.2 var(--mono);
  font-weight: 400;
  letter-spacing: -3px;
  margin-bottom: 8px;
}
.metric span {
  font-size: 14px;
  color: var(--muted);
}
.small {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.activity-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--muted);
  font: 12px/1.7 var(--mono);
}
.activity-toolbar label {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
select {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px;
  font-size: 14px;
}
.text-button {
  background: none;
  border: 0;
  color: var(--ink);
  font: 14px var(--mono);
  padding: 8px 0;
  margin-left: auto;
}
.event-row {
  border-top: 1px solid var(--line);
}
.event-row:last-child {
  border-bottom: 1px solid var(--line);
}
.event-row summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 92px 1fr 195px 20px;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  font-size: 14px;
}
.event-row summary::-webkit-details-marker {
  display: none;
}
.event-row time {
  font: 12px var(--mono);
  color: var(--muted);
}
.event-name {
  display: flex;
  gap: 12px;
  align-items: center;
}
.event-name i {
  height: 6px;
  width: 6px;
  background: var(--cyan);
  flex-shrink: 0;
}
.event-name i.retract {
  background: #f1b38e;
}
.event-hash {
  font: 12px var(--mono);
  color: var(--muted);
}
.event-arrow {
  color: var(--accent);
  font-size: 18px;
}
.event-row[open] .event-arrow {
  transform: rotate(90deg);
}
.event-details {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 18px 24px;
  font: 12px/1.8 var(--mono);
  overflow-wrap: anywhere;
}
.event-details dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 6px 20px;
  margin: 0;
}
.event-details dt {
  color: var(--muted);
}
.event-details dd {
  margin: 0;
}
.empty {
  padding: 30px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 14px;
}
.text-link {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}
.pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
}
.pipeline > div {
  position: relative;
  padding: 18px;
  border-right: 1px solid var(--line);
}
.pipeline > div:last-child {
  border: 0;
}
.pipeline > div:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -7px;
  top: 38px;
  background: var(--bg);
  color: var(--accent);
  line-height: 1;
}
.mono {
  font-family: var(--mono);
}
.pipeline .mono {
  color: var(--muted);
  font-size: 12px;
}
.pipeline h3 {
  font-size: 16px;
  font-weight: 400;
  margin: 10px 0 0;
}
.split-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 15px;
}
.split-note strong {
  color: var(--ink);
  font-weight: 500;
}
.quickstart-strip {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  align-items: center;
}
.quickstart-strip p {
  color: var(--muted);
  font-size: 14px;
}
.code {
  position: relative;
  background: #0a1012;
  border: 1px solid var(--line);
  margin: 20px 0;
}
pre {
  overflow-x: auto;
  max-width: 100%;
  padding: 44px 22px 24px;
  margin: 0;
  line-height: 1.9;
  font-size: 13px;
  color: var(--accent);
  tab-size: 2;
}
code {
  font-family: var(--mono);
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
pre code {
  font-size: inherit;
  overflow-wrap: normal;
}
.copy {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 12px var(--mono);
  padding: 3px 8px;
}
.page-intro {
  padding-top: 64px;
  margin-bottom: 40px;
}
.page-intro h1 {
  font-size: clamp(40px, 5vw, 68px);
}
.page-intro .lead {
  max-width: 810px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 70px;
}
.docs-nav {
  position: sticky;
  top: 30px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
.docs-nav a {
  color: var(--muted);
  text-decoration: none;
  font: 12px/1.7 var(--mono);
}
.prose {
  max-width: 900px;
}
.prose section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose h2 {
  font-size: 30px;
}
.prose h3 {
  font-weight: 500;
}
.prose a {
  color: var(--ink);
}
.prose li {
  margin-bottom: 14px;
  padding-left: 5px;
}
.prose code {
  color: var(--ink);
}
.prose pre code {
  color: var(--accent);
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  font-size: 14px;
  width: 100%;
  text-align: left;
}
th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--ink);
  font-weight: 500;
}
td {
  color: var(--muted);
}
.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.surface {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 30px;
}
.flow-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 16px;
}
.flow-list > span {
  padding: 10px;
  width: 100%;
  border: 1px solid var(--line);
}
.flow-list > b {
  color: var(--accent);
  font-weight: 400;
}
.flow-list .blocked {
  color: #f1b38e;
  border-color: #705342;
}
.wide {
  max-width: none;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.about-copy {
  margin: 0 0 80px 22%;
  max-width: 800px;
}
.large-copy {
  font-size: 24px;
  color: var(--ink) !important;
}
.about-copy h2 {
  margin-top: 48px;
}
.blog-index {
  width: min(100%, 1080px);
  min-height: 65vh;
  margin: 0 auto;
  padding: 76px 0 120px;
}
.blog-index h1 {
  margin: 0 0 54px;
}
.blog-list {
  display: grid;
}
.blog-list a {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.blog-list a:first-child {
  border-top: 1px solid var(--line);
}
.blog-list a:hover .blog-list-title,
.blog-list a:focus-visible .blog-list-title {
  color: var(--cyan);
}
.blog-list-index {
  color: var(--accent);
  font: 700 13px/1.4 var(--mono);
  letter-spacing: 0.1em;
}
.blog-list-title {
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  transition: color 160ms ease;
}
.blog-list-arrow {
  color: var(--muted);
  font: 18px/1 var(--mono);
}
.blog-post {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 76px 0 120px;
}
.blog-masthead {
  min-height: 0;
  padding: 0 0 22px;
  margin: 0 0 42px;
  border-bottom: 1px solid var(--line);
}
.blog-masthead .eyebrow {
  margin: 0;
}
.blog-body {
  width: min(100%, 820px);
  margin: 0 auto;
}
.blog-hero {
  width: min(100%, 820px);
  margin: 0 auto 48px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.blog-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.blog-body h1 {
  max-width: 780px;
  margin: 0 0 48px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.blog-body > h1 + p,
.blog-body > h1 + .blog-date + p {
  color: var(--cyan);
  font-size: 23px;
  line-height: 1.45;
  margin-bottom: 38px;
}
.blog-body .blog-date {
  margin-top: -28px;
  color: var(--muted);
  font: 12px/1.5 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.blog-body p,
.blog-body li {
  font-size: 18px;
  line-height: 1.78;
}
.blog-body p {
  margin: 0 0 27px;
}
.blog-body ul,
.blog-body ol {
  margin: 0 0 36px;
  padding-left: 1.35em;
}
.blog-body li {
  padding-left: 0.55em;
  margin-bottom: 14px;
}
.blog-body li::marker {
  color: var(--accent);
  font-family: var(--mono);
}
.blog-body h2 {
  margin: 76px 0 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font: 700 13px/1.4 var(--mono);
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.blog-body a {
  color: var(--cyan);
}
.blog-body blockquote {
  margin: 38px 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--accent);
}
.blog-body blockquote p {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.6;
}
.blog-body blockquote p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font: 12px/1.6 var(--mono);
}
.blog-body p code,
.blog-body li code {
  padding: 0.12em 0.32em;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88em;
}
.blog-code {
  margin: 34px 0;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}
.blog-code code {
  color: var(--ink);
}
.explorer-note {
  border: 1px solid var(--line);
  padding: 20px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
}
.explorer-note summary {
  color: var(--ink);
  cursor: pointer;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
footer .brand {
  font-size: 16px;
  color: var(--ink);
}
footer > div {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
footer a {
  text-decoration: none;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: var(--bg);
  padding: 12px;
  z-index: 2;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1500px) {
  header,
  main,
  footer {
    padding-inline: 32px;
  }
}
@media (max-width: 1050px) {
  header,
  main,
  footer {
    padding-inline: 30px;
  }
  .hero {
    gap: 30px;
    padding-top: 60px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .brand-caption,
  .pilot-tag {
    display: none;
  }
  .protocol-panel {
    padding: 22px;
  }
  .protocol-step small {
    font-size: 12px;
  }
  .docs-layout {
    gap: 35px;
    grid-template-columns: 165px minmax(0, 1fr);
  }
  .event-row summary {
    grid-template-columns: 76px 1fr 150px 16px;
    gap: 12px;
  }
  .event-hash {
    font-size: 12px;
  }
}
@media (max-width: 720px) {
  header,
  main,
  footer {
    padding-inline: 20px;
  }
  header {
    min-height: 100px;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 16px;
  }
  .brand {
    font-size: 20px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  nav {
    gap: 21px;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  nav::-webkit-scrollbar {
    display: none;
  }
  nav a {
    font-size: 13px;
    flex: 0 0 auto;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 32px;
  }
  h1 {
    font-size: 46px;
    letter-spacing: -2px;
  }
  .lead {
    font-size: 16px;
  }
  .blog-post {
    padding: 44px 0 80px;
  }
  .blog-index {
    padding: 44px 0 80px;
  }
  .blog-list a {
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    padding: 22px 0;
  }
  .blog-list-title {
    font-size: 28px;
  }
  .blog-masthead {
    margin-bottom: 30px;
  }
  .blog-hero {
    margin-bottom: 34px;
  }
  .blog-body h1 {
    font-size: 42px;
    margin-bottom: 34px;
  }
  .blog-body .blog-date {
    margin-top: -18px;
  }
  .blog-body > h1 + p {
    font-size: 19px;
  }
  .blog-body p,
  .blog-body li {
    font-size: 17px;
    line-height: 1.7;
  }
  .protocol-panel {
    max-width: none;
  }
  .protocol-step small {
    font-size: 12px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }
  .metric {
    padding: 0 20px;
  }
  .metric:nth-child(3) {
    border: 0;
    padding-left: 0;
  }
  .metric strong {
    font-size: 40px;
  }
  .status-line {
    gap: 8px 16px;
    padding: 12px;
  }
  .status-line a {
    margin-left: 0;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head h2 {
    font-size: 20px;
    gap: 12px;
  }
  .section-head > .eyebrow {
    font-size: 12px;
    text-align: right;
  }
  .section-head .text-link {
    font-size: 12px;
    text-align: right;
  }
  .activity-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .activity-toolbar > span {
    width: 100%;
  }
  .activity-toolbar label {
    margin-left: 0;
  }
  .event-row summary {
    grid-template-columns: 64px 1fr 15px;
    gap: 10px;
  }
  .event-hash {
    grid-column: 2;
    grid-row: 2;
  }
  .event-arrow {
    grid-column: 3;
    grid-row: 1/3;
  }
  .event-row summary {
    padding: 14px 0;
    row-gap: 3px;
  }
  .event-name {
    font-size: 13px;
    gap: 8px;
  }
  .event-details {
    padding: 15px;
  }
  .event-details dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .event-details dd {
    margin-bottom: 10px;
  }
  .pipeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .pipeline > div {
    border-bottom: 1px solid var(--line);
  }
  .pipeline > div:nth-child(3) {
    border-right: 0;
  }
  .pipeline > div:nth-child(3):after {
    display: none;
  }
  .pipeline > div:nth-child(n + 4) {
    border-bottom: 0;
  }
  .split-note,
  .quickstart-strip,
  .architecture-grid,
  .three-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .quickstart-strip {
    padding-top: 30px;
  }
  .quickstart-strip .eyebrow {
    margin-bottom: 12px;
  }
  section {
    margin-bottom: 40px;
  }
  .page-intro {
    padding-top: 40px;
  }
  .page-intro h1 {
    font-size: 43px;
  }
  .docs-layout {
    display: block;
  }
  .docs-nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
    gap: 12px;
  }
  .prose h2 {
    font-size: 26px;
  }
  .about-copy {
    margin-left: 0;
  }
  .large-copy {
    font-size: 21px;
  }
  .surface {
    padding: 20px;
  }
  .flow-list {
    font-size: 14px;
  }
  .pill {
    font-size: 12px;
  }
  .three-col h3 {
    margin-bottom: 8px;
  }
  footer {
    flex-wrap: wrap;
    gap: 14px;
  }
  footer > div {
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.memory-record {
  padding: 2rem 0;
  border-top: 1px solid var(--line, #354044);
  scroll-margin-top: 2rem;
}
.memory-record h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}
.memory-fields {
  display: grid;
  grid-template-columns: minmax(100px, 180px) 1fr;
  gap: 0.65rem 1.5rem;
}
.memory-fields dt {
  text-transform: capitalize;
  color: var(--muted, #9caaa7);
}
.memory-fields dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.memory-record pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 32rem;
  overflow: auto;
  font-size: 0.8rem;
}
.memory-edge {
  line-height: 1.8;
}
@media (max-width: 600px) {
  .memory-fields {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .memory-fields dd {
    margin-bottom: 0.8rem;
  }
  .brand-caption {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .common-expansion > summary i,
  .disclosure-arrow,
  .blog-list-title {
    transition: none;
  }
}

.receipt-spec {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Commons are shown as collaborations first. Graph identifiers remain in the
   nested technical disclosures for people and agents who need them. */
.explore-intro {
  margin-bottom: 54px;
}
.commons-section {
  scroll-margin-top: 24px;
  margin-bottom: 88px;
}
.commons-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 28px;
}
.commons-intro h3 {
  max-width: 720px;
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1px;
}
.commons-intro p {
  color: var(--muted);
  max-width: 760px;
  margin: 0;
}
.commons-intro .commons-trust {
  border-left: 2px solid var(--cyan);
  padding: 4px 0 4px 18px;
  font: 12px/1.75 var(--mono);
}
.commons-search {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  background: #0c1315;
  color: var(--muted);
  padding: 0 18px;
  margin-bottom: 18px;
  font: 12px/1.7 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.commons-search input {
  min-width: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 15px 18px;
  font:
    15px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  text-transform: none;
  letter-spacing: 0;
  outline-offset: -3px;
}
.commons-search input::placeholder {
  color: #728184;
}
.commons-search[hidden],
.commons-more[hidden] {
  display: none;
}
.commons-directory {
  display: grid;
  gap: 18px;
}
.common-card {
  border: 1px solid var(--line);
  background: linear-gradient(
    135deg,
    #182427 0,
    var(--surface) 58%,
    #121b1d 100%
  );
  scroll-margin-top: 24px;
}
.common-card[hidden] {
  display: none;
}
.common-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  padding: 30px 32px 24px;
}
.common-title > p:first-child {
  margin: 0 0 10px;
  color: var(--accent);
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.common-title h3 {
  max-width: 920px;
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.75px;
}
.common-title > p:last-child {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.common-status {
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 260px;
}
.common-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px 22px;
}
.common-share a,
.common-share button,
.shared-project-intro a {
  border: 0;
  background: transparent;
  color: var(--cyan);
  padding: 0;
  font: 11px/1.5 var(--mono);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.common-share > :not(:first-child)::before {
  content: "·";
  display: inline-block;
  margin-right: 10px;
  color: var(--muted);
  text-decoration: none;
}
.shared-project-intro {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: rgba(22, 32, 35, 0.72);
  padding: 24px 28px;
}
.shared-project-intro > p:first-child {
  margin: 0 0 7px;
  color: var(--accent);
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.shared-project-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
}
.shared-project-intro p {
  max-width: 760px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--muted);
  background: #11191b;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-chip.positive {
  border-color: #4d7756;
  color: var(--accent);
  background: #17241a;
}
.status-chip.caution {
  border-color: #705342;
  color: #f1b38e;
  background: #241b17;
}
.common-metrics {
  display: grid;
  grid-template-columns: 0.65fr 1.15fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 32px;
}
.common-metrics > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 22px;
  border-left: 1px solid var(--line);
}
.common-metrics > span:first-child {
  border-left: 0;
  padding-left: 0;
}
.common-metrics strong {
  color: var(--ink);
  font: 14px/1.45 var(--mono);
  font-weight: 500;
}
.common-metrics small {
  color: var(--muted);
  font-size: 11px;
}
.common-expansion > summary,
.contribution-card > summary {
  list-style: none;
  cursor: pointer;
}
.common-expansion > summary::-webkit-details-marker,
.contribution-card > summary::-webkit-details-marker {
  display: none;
}
.common-expansion > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 19px 32px;
  color: var(--accent);
  font: 13px/1.5 var(--mono);
}
.common-expansion > summary > span:nth-child(2) {
  color: var(--muted);
  font-size: 11px;
}
.common-expansion > summary i {
  font-style: normal;
  transition: transform 160ms ease;
}
.common-expansion[open] > summary i {
  transform: rotate(180deg);
}
.common-expanded {
  border-top: 1px solid var(--line);
  background: rgba(8, 14, 15, 0.32);
  padding: 30px 32px 34px;
}
.common-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  padding-bottom: 30px;
}
.common-overview section {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(22, 32, 35, 0.72);
  padding: 22px 24px;
}
.common-overview h4,
.project-people-and-work h4 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 500;
}
.common-overview h5 {
  margin: 24px 0 8px;
  color: var(--muted);
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.common-overview p,
.common-overview li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.common-overview ol,
.common-overview ul {
  margin: 0;
  padding-left: 1.25rem;
}
.common-overview li {
  margin-bottom: 12px;
  padding-left: 5px;
}
.common-overview li strong,
.common-overview li span {
  display: block;
}
.common-overview li strong {
  color: var(--ink);
  margin-bottom: 3px;
  font-weight: 500;
}
.project-activity-slot > p {
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.project-people-and-work {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.project-people > p,
.activity-legend {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.project-people ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.project-people li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.contributor-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid #517074;
  color: var(--cyan);
  font: 10px var(--mono);
}
.project-people li > span:last-child {
  min-width: 0;
}
.project-people strong,
.project-people small {
  display: block;
}
.project-people strong {
  font-size: 13px;
  font-weight: 500;
}
.project-people small {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font: 10px/1.6 var(--mono);
  white-space: nowrap;
}
.contribution-card {
  border-top: 1px solid var(--line);
}
.contribution-card:last-child {
  border-bottom: 1px solid var(--line);
}
.contribution-card > summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 14px;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
}
.contribution-marker {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font: 9px var(--mono);
  text-transform: uppercase;
}
.contribution-copy {
  min-width: 0;
}
.contribution-copy strong,
.contribution-copy small {
  display: block;
}
.contribution-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
.contribution-copy small {
  margin-top: 4px;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
}
.disclosure-arrow {
  color: var(--accent);
  font-size: 18px;
  transition: transform 160ms ease;
}
.contribution-card[open] .disclosure-arrow {
  transform: rotate(90deg);
}
.contribution-body {
  margin: 0 0 18px 42px;
  border-left: 2px solid var(--line);
  padding: 3px 0 4px 18px;
}
.contribution-body > p,
.contribution-detail > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.contribution-readable,
.contribution-connections {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.contribution-readable h5,
.contribution-connections h5 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
}
.contribution-readable h6 {
  margin: 20px 0 5px;
  color: var(--cyan);
  font: 10px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contribution-readable p {
  white-space: pre-wrap;
}
.contribution-readable li,
.contribution-connections li {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.contribution-connections strong,
.contribution-connections span {
  display: block;
}
.contribution-connections strong {
  color: var(--ink);
  font-weight: 500;
}
.contribution-connections span {
  font: 10px/1.6 var(--mono);
}
.technical-details {
  margin-top: 20px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 11px/1.7 var(--mono);
}
.technical-details > summary {
  cursor: pointer;
  color: var(--ink);
  padding: 12px 15px;
}
.technical-details dl {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 7px 16px;
  margin: 0;
  padding: 15px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.technical-details dt {
  color: var(--muted);
}
.technical-details dd {
  margin: 0;
  color: var(--ink);
}
.technical-details > a {
  display: inline-block;
  padding: 0 15px 15px;
  color: var(--accent);
}
.project-technical {
  margin-top: 30px;
}
.commons-more {
  margin-top: 18px;
}
.machine-explorer {
  padding-top: 12px;
}
@media (max-width: 820px) {
  .commons-intro,
  .common-card-top,
  .common-overview,
  .project-people-and-work {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .common-status {
    justify-content: flex-start;
    max-width: none;
  }
  .common-metrics {
    grid-template-columns: 1fr;
  }
  .common-metrics > span,
  .common-metrics > span:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 11px 0;
  }
  .common-metrics > span:first-child {
    border-top: 0;
  }
  .common-expansion > summary {
    grid-template-columns: 1fr auto;
  }
  .common-expansion > summary > span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 600px) {
  .commons-section {
    margin-bottom: 58px;
  }
  .commons-search {
    grid-template-columns: 1fr;
    padding: 10px 14px 0;
  }
  .commons-search input {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-inline: 0;
  }
  .common-card-top {
    padding: 24px 20px 18px;
  }
  .common-share {
    align-items: flex-start;
    flex-direction: column;
    padding: 0 20px 18px;
  }
  .common-share > :not(:first-child)::before {
    display: none;
  }
  .common-metrics {
    margin: 0 20px;
  }
  .common-expansion > summary {
    padding: 17px 20px;
  }
  .common-expanded {
    padding: 22px 20px 26px;
  }
  .common-overview section {
    padding: 18px;
  }
  .contribution-card > summary {
    grid-template-columns: 34px minmax(0, 1fr) 12px;
  }
  .contribution-card > summary .status-chip {
    grid-column: 2;
    width: fit-content;
  }
  .contribution-card > summary .disclosure-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  .contribution-body {
    margin-left: 0;
    padding-left: 13px;
  }
  .technical-details dl {
    grid-template-columns: 1fr;
  }
  .technical-details dd {
    margin-bottom: 8px;
  }
}

.common-access { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 8px 20px; margin: 0; padding: 0 32px 24px; font-size: 13px; }
.common-access dt { color: var(--muted); }
.common-access dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .common-access { padding: 0 20px 20px; grid-template-columns: 1fr; gap: 4px; } .common-access dd { margin-bottom: 8px; } }

/* Public participation views */
.participation-card { padding: 1.25rem 0; border-bottom: 1px solid #c4ccc5; }
#participation-results pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
#task-filter { display: block; width: min(100%, 40rem); margin: .6rem 0 1rem; padding: .75rem; font: inherit; }
#participation-status { min-height: 1.5em; }
