/* dadudekc.site — canonical build-log post styles
   SSOT look: /blog/dreamos-swarm-control-plane-ack-loops-20260718/
*/

.prose-swarm p { margin-bottom: 1.15rem; }
.prose-swarm a { color: #28f2c4; text-decoration: underline; text-underline-offset: 3px; }
.prose-swarm ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0 1.25rem; }
.prose-swarm ol { list-style: decimal; padding-left: 1.25rem; margin: 0.75rem 0 1.25rem; }
.prose-swarm li { margin-bottom: 0.4rem; color: rgba(232,246,241,0.75); }
.prose-swarm strong { color: #e8f6f1; font-weight: 600; }
.prose-swarm code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.88em;
  color: #28f2c4;
}

.kpi-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.kpi-cell {
  border: 1px solid rgba(40,242,196,0.18);
  background: rgba(11,16,22,0.85);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
}
.kpi-cell .k {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(232,246,241,0.45);
  text-transform: uppercase;
}
.kpi-cell .v {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 0.35rem;
  color: #e8f6f1;
}
.kpi-cell .v.ok { color: #28f2c4; }
.kpi-cell .v.warn { color: #ffb347; }

.gate-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.gate-table th {
  text-align: left;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232,246,241,0.45);
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(40,242,196,0.2);
}
.gate-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(232,246,241,0.08);
  vertical-align: top;
  color: rgba(232,246,241,0.75);
}
.gate-table tr:last-child td { border-bottom: none; }
.gate-table .owner {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: #39d3ff;
  white-space: nowrap;
}

.pull {
  border-left: 3px solid #28f2c4;
  padding: 0.35rem 0 0.35rem 1.15rem;
  margin: 1.75rem 0;
  font-size: 1.15rem;
  color: rgba(232,246,241,0.88);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1.35;
}
.pull.warn { border-left-color: #ffb347; }

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, rgba(40,242,196,0.35), transparent);
  margin: 0 0 1.25rem;
}
.section-rule.warn {
  background: linear-gradient(90deg, rgba(255,179,71,0.45), transparent);
}

.toc a {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: rgba(232,246,241,0.5);
  padding: 0.35rem 0;
  transition: color 0.15s;
}
.toc a:hover { color: #28f2c4; }
.toc.toc-cols { columns: 1; }
.toc.toc-cols a { break-inside: avoid; }
@media (min-width: 720px) {
  .toc.toc-cols { columns: 2; column-gap: 2rem; }
}

.h3-swarm {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 2rem 0 0.85rem;
  color: #e8f6f1;
}

.roi-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  color: #28f2c4;
  letter-spacing: 0.08em;
}

/* receipt cards (quad closeout posts) */
.receipt-grid { display: grid; gap: 1rem; }
.receipt {
  border: 1px solid rgba(40,242,196,0.18);
  background: rgba(11,16,22,0.82);
  border-radius: 0.9rem;
  padding: 1.25rem;
}
.receipt h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.35rem 0 0.65rem;
}
.receipt .agent {
  font-family: "IBM Plex Mono", monospace;
  color: #28f2c4;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.receipt .gate {
  border-top: 1px solid rgba(232,246,241,0.08);
  margin-top: 1rem;
  padding-top: 0.85rem;
  color: #ffb347;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}
@media (min-width: 720px) {
  .receipt-grid { grid-template-columns: 1fr 1fr; }
}

/* article shell helpers matching the reference post */
.blog-meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #ffb347;
  margin-bottom: 1rem;
  letter-spacing: 0.025em;
}
.blog-deck {
  margin-top: 1.5rem;
  color: rgba(232,246,241,0.55);
  font-size: 1rem;
  line-height: 1.625;
  max-width: 42rem;
  font-family: system-ui, sans-serif;
}
@media (min-width: 640px) {
  .blog-deck { font-size: 1.125rem; }
}
.prose-swarm.blog-body {
  margin-top: 3.5rem;
  font-size: 1.05rem;
  color: rgba(232,246,241,0.78);
  line-height: 1.7;
}

/* disclaimer / notice callout used by compliance essays */
.blog-notice {
  border: 1px solid rgba(255,179,71,0.35);
  background: rgba(255,179,71,0.08);
  border-radius: 0.9rem;
  padding: 1rem 1.15rem;
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(232,246,241,0.78);
}
.blog-notice strong { color: #ffb347; }
